@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240626.1 → 0.0.0-nightly-20240627.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/zh-cn.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/lang/translations/fa.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- 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 _0x27b10a=_0x5b51;(function(_0x4a4f58,_0x5c4893){const _0x346e30=_0x5b51,_0x5ab940=_0x4a4f58();while(!![]){try{const _0x3357ed=parseInt(_0x346e30(0xfc))/0x1*(-parseInt(_0x346e30(0x19a))/0x2)+-parseInt(_0x346e30(0x143))/0x3+parseInt(_0x346e30(0x1dc))/0x4+-parseInt(_0x346e30(0x196))/0x5+-parseInt(_0x346e30(0xd6))/0x6*(parseInt(_0x346e30(0x197))/0x7)+-parseInt(_0x346e30(0xe2))/0x8+-parseInt(_0x346e30(0x1a5))/0x9*(-parseInt(_0x346e30(0x111))/0xa);if(_0x3357ed===_0x5c4893)break;else _0x5ab940['push'](_0x5ab940['shift']());}catch(_0x47f09d){_0x5ab940['push'](_0x5ab940['shift']());}}}(_0x1240,0x75593));import{Users as _0x4a0cad}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x27c665,PendingActions as _0x578d45}from'ckeditor5/src/core.js';import{logWarning as _0x2fef56,uid as _0x39fa63}from'ckeditor5/src/utils.js';import{Position as _0x724727,Range as _0x27210b,Element as _0x184b2f,DocumentFragment as _0x1984ba,ViewText as _0x1019a0,ViewElement as _0x1e270c,ViewContainerElement as _0x149712,ViewAttributeElement as _0x5f4cde,ViewEmptyElement as _0x37d661,ViewRawElement as _0x2fec85,ViewUIElement as _0x403a2a,ViewDocumentFragment as _0xf8f6c6}from'ckeditor5/src/engine.js';import _0x355eb3 from'./revisionsrepository.js';import{getTranslation as _0x2829c9}from'./utils/common-translations.js';import{cloneDeep as _0x519237,isEqual as _0x5b9906}from'lodash-es';const T={'c':_0x149712,'a':_0x5f4cde,'e':_0x37d661,'r':_0x2fec85,'u':_0x403a2a};function _0x1240(){const _0x5be236=['reInit','deletions','initialData','getData','_isAttached','userId','map','resolve','marked','updateRevisions','_fixOperation','_savedMetaData','89010RdPOXP','clone','getLatestVersion','_handleMoveOperation','update','paragraph','parent','config','version','then','buildRevisionData','_makeModelFromViewString','2306936zsxUrK','_replaceEditorDataWithRevisionData','howMany','pluginName','string','_transformMarkers','_applyOperations','getRootNames','some','PendingActions','NEGATIVE_INFINITY','deletion','document','keys','getAncestors','newRange','stickiness','dataDowncast','_loadRevisionData','creator','addRootAttribute','element','getMovedRangeStart','nodes','data','getRoot','44ugfuKu','range','detachRoot','_operations','_cloneOperation','_setConversion','createPositionBefore','ready','_addPendingAction','stringify','merge','finally','adapter','from','_createInitialRevision','_baseRootsAttributes','_bufferedUpdates','addRoot','_markChanges','_removeMetaData','bind','33270610LHDyxP','revision','conversion','_insertChild','_isPendingUpdate','rootsAttributes','revisionHistory.resumeUnsavedRevision','fromEntries','getChildren','addRevision','Initial\x20revision','parse','_handleMarkerOperation','length','afterInit','shift','marker','for','locale','model','_touched','toData','useFillerType','getRevision','$graveyard','$text','elementStart','isAttached','newValue','splitPosition','authorsIds','_handleSplitOperation','has','Empty\x20document','_fixPosition','_appendChild','targetPosition','getIndex','getChild','_continueCurrentRevision','createPositionAfter','size','attributesBefore','_handleInsertOperation','key','set','revision:','offsetSize','isEqual','_diffRootsAttributes','2746968cXGNBu','_touchedMarkers','_loadedStateData','repository','createPositionFromPath','clear','affectsData','childCount','find','_update','_makeIdsRoot','_removePendingAction','_pendingAction','data-revision-','authors','roots','editor','_revisionDataBuilder','_removeRevisionMarkers','insertionPosition','slice','split','attributesAfter','getCurrentRevisionId','_generateTape','_lastFrom','insert','requires','_setAttribute','createRangeIn','_startingRevisionId','_handleOperation','_calculateMetaData','upcast','_lastTo','includes','type','_fixRange','editor-initial-data-replaced-with-revision-data','_handleMergeOperation','initial','sort','attachChange','_loadState','_getFromVersion','collaboration.channelId','forEach','values','_makeRevision','baseVersion','_copyMarkers','isEnabled','_source','end','_createCurrentRevision','_getBaseVids','dataToMarker','currentRevision','saveRevision','RevisionsRepository','_touchedRoots','removeRootAttribute','insertion','_baseIdsRoots','elementEnd','getTransformedByOperation','children','root','sourcePosition','attributes','previousPosition','_startingVersion','_authorId','start','_clone','text','offset','RealTimeCollaborationClient','loadState','delete','init','_getVidAttributeName','getRange','1967830ZSomBh','448SgfXOn','_isInit','_createFromRanges','26104PenbLv','_diffRoots','view','getOperations','_getPreviousFrom','documentFragment','revision-end','_revisionId','getRevisionDocumentData','addRevisionData','toVersion','9qDMobp','path','_handleRootOperation','vid','Users','RevisionTracker','getWalker','insertions','nodeAfter','getUser','rootName','_handleRootAttributeOperation','vid_start','_processRootBeforeSave','name','add','default','toModel','oldRange','createRevision','_baseRoots','filter','position','_idsRoots','graveyardPosition','isReady','remove','_findInsertionIndex','_execute','getTime','_markers','createdAt','setRevisionData','_reset','getAttributes','toView','define','sendBufferedUpdates','getAttribute','diffData','plugins','item','markerToData','getRevisions','reverse','processor','_getState','editing','max','keepParagraph','revision-start','setSource','_prepareViewToSave','get','reinsert','1099660RMxuGP','_bufferUpdate','_getViewJson','getOperation','createPositionAt','creatorId','source','fromVersion','history','hasContent','tableCell','createRange','_initialRevisionId','getNodeByPath','getRevisionRootsAttributes','changeRootAttribute','startsWith','trim','move','markers','PENDING_ACTION_REVISION_HISTORY','vid_end','push','_saveMetaData','isAdd'];_0x1240=function(){return _0x5be236;};return _0x1240();}export default class l extends _0x27c665{static get[_0x27b10a(0xe5)](){const _0x2f0b57=_0x27b10a;return _0x2f0b57(0x1aa);}static get[_0x27b10a(0x15e)](){return[_0x4a0cad,_0x355eb3,_0x578d45];}constructor(_0xb1dc3){const _0x1dd38f=_0x27b10a;super(_0xb1dc3),this[_0x1dd38f(0x108)]=null,this[_0x1dd38f(0x17c)]=null,this[_0x1dd38f(0x154)]=new J(this[_0x1dd38f(0x153)]),this[_0x1dd38f(0xbd)]=this[_0x1dd38f(0x153)][_0x1dd38f(0xdd)][_0x1dd38f(0x1da)](_0x1dd38f(0x170))||_0x1dd38f(0x16b),this[_0x1dd38f(0x10c)]=new Map(),this[_0x1dd38f(0x145)]=null;const _0x48676d=_0x39fa63();this[_0x1dd38f(0x177)]={'history':this[_0x1dd38f(0x153)][_0x1dd38f(0x124)][_0x1dd38f(0xee)][_0x1dd38f(0xb9)],'getLatestVersion':()=>Promise[_0x1dd38f(0xd1)](this[_0x1dd38f(0x153)][_0x1dd38f(0x124)][_0x1dd38f(0xee)][_0x1dd38f(0xde)]),'getCurrentRevisionId':()=>_0x48676d},this[_0x1dd38f(0x13e)](_0x1dd38f(0x1be),!0x1),this[_0x1dd38f(0x13e)](_0x1dd38f(0x176),!0x0),this[_0x1dd38f(0x13e)](_0x1dd38f(0x115),!0x1),this[_0x1dd38f(0x153)][_0x1dd38f(0xdd)][_0x1dd38f(0x1c9)](_0x1dd38f(0x117),!0x0),this[_0x1dd38f(0x153)][_0x1dd38f(0x113)][_0x1dd38f(0x122)](_0x1dd38f(0x164))[_0x1dd38f(0x17b)]({'view':_0x1dd38f(0x112)});}[_0x27b10a(0x193)](){const _0x186121=_0x27b10a;this[_0x186121(0x146)]=this[_0x186121(0x153)][_0x186121(0x1cd)][_0x186121(0x1da)](_0x186121(0x17e)),this[_0x186121(0x101)](),this[_0x186121(0x153)][_0x186121(0xfa)]['on'](_0x186121(0x103),()=>{const _0x36658a=_0x186121,_0x40f576=this[_0x36658a(0x146)][_0x36658a(0x128)](0x0),_0x5bfd9b=_0x40f576&&null===_0x40f576[_0x36658a(0xf5)]?_0x40f576:null;if(this[_0x36658a(0x138)]=!!_0x5bfd9b&&this[_0x36658a(0x153)][_0x36658a(0xdd)][_0x36658a(0x1da)](_0x36658a(0x117)),this[_0x36658a(0x153)][_0x36658a(0x1cd)][_0x36658a(0x131)](_0x36658a(0x190))){const _0x5a8f8a=this[_0x36658a(0x177)][_0x36658a(0x15a)](),_0x280f2f=this[_0x36658a(0x146)][_0x36658a(0x128)](_0x5a8f8a);if(_0x280f2f)this[_0x36658a(0x18a)]=_0x280f2f[_0x36658a(0xb8)],this[_0x36658a(0x138)]=!0x1;else{const _0x13d5ef=this[_0x36658a(0x177)][_0x36658a(0xb9)][_0x36658a(0xff)][_0x36658a(0x14b)](_0x1f713f=>!_0x1f713f[_0x36658a(0x198)]),_0xbb38d3=_0x13d5ef?_0x13d5ef[_0x36658a(0x174)]:this[_0x36658a(0x177)][_0x36658a(0xb9)][_0x36658a(0xde)];_0x40f576?(_0x40f576[_0x36658a(0x1a4)]<_0xbb38d3&&_0x40f576[_0x36658a(0x14c)]({'toVersion':_0xbb38d3}),this[_0x36658a(0x138)]?(this[_0x36658a(0x177)][_0x36658a(0x15a)]=()=>_0x5bfd9b['id'],this[_0x36658a(0x18a)]=_0x5bfd9b[_0x36658a(0xb8)]):(this[_0x36658a(0x18a)]=_0x40f576[_0x36658a(0x1a4)],this[_0x36658a(0x138)]=!0x1)):(this[_0x36658a(0x18a)]=_0xbb38d3,this[_0x36658a(0x138)]=!0x1);}}else _0x5bfd9b&&(this[_0x36658a(0x153)][_0x36658a(0x124)][_0x36658a(0xee)][_0x36658a(0xb9)][_0x36658a(0xde)]=Math[_0x36658a(0x1d5)](_0x5bfd9b[_0x36658a(0x1a4)],this[_0x36658a(0x153)][_0x36658a(0x124)][_0x36658a(0xee)][_0x36658a(0xb9)][_0x36658a(0xde)]),_0x5bfd9b[_0x36658a(0xb8)]===_0x5bfd9b[_0x36658a(0x1a4)]?(0x0!==_0x5bfd9b[_0x36658a(0xb8)]&&(this[_0x36658a(0x177)][_0x36658a(0x15a)]=()=>_0x5bfd9b['id']),this[_0x36658a(0x138)]=!0x1):this[_0x36658a(0x138)]&&(this[_0x36658a(0x177)][_0x36658a(0x15a)]=()=>_0x5bfd9b['id'],this[_0x36658a(0x18a)]=_0x5bfd9b[_0x36658a(0xb8)])),this[_0x36658a(0x138)]||(this[_0x36658a(0x18a)]=this[_0x36658a(0x153)][_0x36658a(0x124)][_0x36658a(0xee)][_0x36658a(0xde)]);this[_0x36658a(0x154)][_0x36658a(0x193)](this[_0x36658a(0x177)][_0x36658a(0xb9)]),this[_0x36658a(0x10a)](this[_0x36658a(0x18a)]),this[_0x36658a(0x179)](this[_0x36658a(0x18a)]),this[_0x36658a(0x108)]&&this[_0x36658a(0x1ca)]();}),this[_0x186121(0x110)](_0x186121(0x1be))['to'](this,_0x186121(0x115),_0x33570f=>!_0x33570f);}async[_0x27b10a(0x11f)](){const _0x26b787=_0x27b10a;if(this[_0x26b787(0x146)][_0x26b787(0x11e)]>0x0){const _0x39a085=this[_0x26b787(0x146)][_0x26b787(0x128)](0x0),_0x7e7c4c=await this[_0x26b787(0x1a2)](_0x39a085),_0x27868e=await this[_0x26b787(0xbf)](_0x39a085);this[_0x26b787(0xe3)](_0x7e7c4c,_0x27868e);}}[_0x27b10a(0x1d8)](_0x5b769c){const _0x5dca4f=_0x27b10a;this[_0x5dca4f(0x177)]=_0x5b769c;}async[_0x27b10a(0xda)](){const _0x556e9c=_0x27b10a,_0x16233f=await this[_0x556e9c(0x177)][_0x556e9c(0xd8)]();if(_0x16233f>this[_0x556e9c(0x17c)][_0x556e9c(0x1a4)]){await this[_0x556e9c(0x16e)]();const _0x139762=this[_0x556e9c(0xe0)]({'revision':this[_0x556e9c(0x17c)],'to':_0x16233f});_0x139762[_0x556e9c(0x151)]=_0x139762[_0x556e9c(0x12f)][_0x556e9c(0xd0)](_0x365b2e=>this[_0x556e9c(0x153)][_0x556e9c(0x1cd)][_0x556e9c(0x1da)](_0x556e9c(0x1a9))[_0x556e9c(0x1ae)](_0x365b2e)),this[_0x556e9c(0x17c)][_0x556e9c(0x14c)](_0x139762);}}async[_0x27b10a(0x16e)](){const _0x1c73f1=_0x27b10a;this[_0x1c73f1(0x138)]&&!this[_0x1c73f1(0x145)]&&(await this[_0x1c73f1(0xf4)](this[_0x1c73f1(0x17c)]),this[_0x1c73f1(0x154)][_0x1c73f1(0x191)](this[_0x1c73f1(0x17c)]),this[_0x1c73f1(0x145)]={'fromVersion':this[_0x1c73f1(0x17c)][_0x1c73f1(0xb8)],'authors':this[_0x1c73f1(0x17c)][_0x1c73f1(0x151)][_0x1c73f1(0x157)]()});}async[_0x27b10a(0x17d)](_0x316651={},_0x4f7ddb=null){const _0x18578a=_0x27b10a,_0x4569af=[];await this[_0x18578a(0x16e)](),this[_0x18578a(0x138)]=!0x1,_0x4f7ddb>this[_0x18578a(0x17c)][_0x18578a(0x1a4)]&&(_0x4f7ddb=null),null===_0x4f7ddb&&(_0x4f7ddb=await this[_0x18578a(0x177)][_0x18578a(0xd8)]());const _0x505e5d=this[_0x18578a(0x16f)](_0x4f7ddb),_0x3ccf21=this[_0x18578a(0xe0)]({'from':_0x505e5d,'to':_0x4f7ddb});if(this[_0x18578a(0x17c)][_0x18578a(0x1a4)]<_0x4f7ddb){const _0x31fbcf=this[_0x18578a(0xe0)]({'revision':this[_0x18578a(0x17c)],'from':_0x4f7ddb,'to':_0x4f7ddb});_0x31fbcf[_0x18578a(0x151)]=[],_0x31fbcf[_0x18578a(0x12f)]=[],_0x31fbcf['id']=this[_0x18578a(0x17c)]['id'],this[_0x18578a(0x17c)][_0x18578a(0x14c)](_0x31fbcf,!0x0),delete _0x31fbcf[_0x18578a(0x151)],_0x4569af[_0x18578a(0xc7)](_0x31fbcf);}_0x316651[_0x18578a(0xb6)]=this[_0x18578a(0x153)][_0x18578a(0x1cd)][_0x18578a(0x1da)](_0x18578a(0x1a9))['me']['id'],_0x316651[_0x18578a(0x1b3)]=_0x316651[_0x18578a(0x1b3)]||null,_0x316651['id']=_0x316651['id']||_0x39fa63(),_0x316651={..._0x316651,..._0x3ccf21};const _0x30289f=this[_0x18578a(0x1a3)](_0x316651);_0x4569af[_0x18578a(0xc7)](_0x316651);const _0x58e045=this[_0x18578a(0x146)][_0x18578a(0x136)](_0x30289f);if(0x0!==_0x58e045){const _0x434979=this[_0x18578a(0x146)][_0x18578a(0x128)](_0x58e045-0x1);if(_0x434979[_0x18578a(0xb8)]!==_0x4f7ddb){const _0x51771c=this[_0x18578a(0x154)][_0x18578a(0xcd)](_0x4f7ddb,_0x434979[_0x18578a(0x1a4)]),_0x53a2f5={'id':_0x434979['id'],'diffData':_0x51771c[_0x18578a(0x1cc)],'authorsIds':_0x51771c[_0x18578a(0x12f)],'authors':_0x51771c[_0x18578a(0x12f)][_0x18578a(0xd0)](_0xb6c01c=>this[_0x18578a(0x153)][_0x18578a(0x1cd)][_0x18578a(0x1da)](_0x18578a(0x1a9))[_0x18578a(0x1ae)](_0xb6c01c)),'fromVersion':_0x4f7ddb};_0x434979===this[_0x18578a(0x17c)]&&(_0x53a2f5[_0x18578a(0x1c4)]=new Date(_0x316651[_0x18578a(0x1c4)][_0x18578a(0x1c2)]()+0xa)),_0x434979[_0x18578a(0x14c)](_0x53a2f5,!0x0),delete _0x53a2f5[_0x18578a(0x151)],_0x4569af[_0x18578a(0xc7)](_0x53a2f5);}}if(this[_0x18578a(0x108)]){for(const _0xdb97aa of _0x4569af)this[_0x18578a(0x1dd)](_0xdb97aa['id'],_0xdb97aa,!0x0);this[_0x18578a(0x1ca)]();}return _0x30289f;}[_0x27b10a(0x1a3)](_0x1ce4d0){const _0x4f5d8a=_0x27b10a,_0x1850ab=this[_0x4f5d8a(0x146)][_0x4f5d8a(0x1b8)](_0x1ce4d0);return this[_0x4f5d8a(0x108)]&&_0x1850ab['on'](_0x4f5d8a(0x14c),(_0x50644c,_0x1ef04c,_0x47befb)=>{const _0x4de7fa=_0x4f5d8a;_0x47befb||(this[_0x4de7fa(0x1dd)](_0x1ef04c['id'],_0x1ef04c,!0x0),this[_0x4de7fa(0x1ca)]());}),this[_0x4f5d8a(0x146)][_0x4f5d8a(0x11a)](_0x1850ab,this[_0x4f5d8a(0x1c0)](_0x1850ab)),_0x1850ab;}async[_0x27b10a(0x1a2)](_0x34c232){const _0x5d1501=_0x27b10a;await this[_0x5d1501(0xf4)](_0x34c232);const _0x420a95={};for(const _0x483259 in _0x34c232[_0x5d1501(0x1cc)]){if(_0x34c232[_0x5d1501(0x1cc)][_0x483259][_0x5d1501(0x16d)]&&!_0x34c232[_0x5d1501(0x1cc)][_0x483259][_0x5d1501(0x16d)][_0x5d1501(0x12c)])continue;const _0x44dfc8=this[_0x5d1501(0x155)](JSON[_0x5d1501(0x11c)](_0x34c232[_0x5d1501(0x1cc)][_0x483259][_0x5d1501(0x1ac)])),_0x5bc130=this[_0x5d1501(0x153)][_0x5d1501(0x1d4)][_0x5d1501(0x19c)][_0x5d1501(0xee)],_0x2cacb8=new _0xf8f6c6(_0x5bc130,_0x44dfc8[_0x5d1501(0xd0)](_0x29cfa9=>B(_0x29cfa9,this[_0x5d1501(0x153)])));this[_0x5d1501(0x153)][_0x5d1501(0xfa)][_0x5d1501(0x1d2)][_0x5d1501(0x127)](_0x5d1501(0xd2)),_0x420a95[_0x483259]=this[_0x5d1501(0x153)][_0x5d1501(0xfa)][_0x5d1501(0x1d2)][_0x5d1501(0x126)](_0x2cacb8),this[_0x5d1501(0x153)][_0x5d1501(0xfa)][_0x5d1501(0x1d2)][_0x5d1501(0x127)](_0x5d1501(0x1b5));}return _0x420a95;}async[_0x27b10a(0xbf)](_0x45856c){const _0x381025=_0x27b10a;await this[_0x381025(0xf4)](_0x45856c);const _0x238fb6={};for(const _0x2d9fd7 in _0x45856c[_0x381025(0x1cc)])_0x45856c[_0x381025(0x1cc)][_0x2d9fd7][_0x381025(0x16d)]&&!_0x45856c[_0x381025(0x1cc)][_0x2d9fd7][_0x381025(0x16d)][_0x381025(0x12c)]||(_0x238fb6[_0x2d9fd7]=_0x45856c[_0x381025(0x1cc)][_0x2d9fd7][_0x381025(0x159)]||{});return _0x238fb6;}[_0x27b10a(0x1ca)](){const _0x4bde4a=_0x27b10a;if(0x0===this[_0x4bde4a(0x10c)][_0x4bde4a(0x13a)])return;if(this[_0x4bde4a(0x115)])return;let _0x22fff3=Array[_0x4bde4a(0x109)](this[_0x4bde4a(0x10c)][_0x4bde4a(0x172)]());this[_0x4bde4a(0x10c)][_0x4bde4a(0x148)]();for(let _0x5d9d08=0x0;_0x5d9d08<_0x22fff3[_0x4bde4a(0x11e)];_0x5d9d08++){const _0x5de83e=_0x22fff3[_0x5d9d08];let _0x5e7d70=!0x1;for(const _0x17877a of Object[_0x4bde4a(0xef)](_0x5de83e))void 0x0===_0x5de83e[_0x17877a]?delete _0x5de83e[_0x17877a]:'id'!==_0x17877a&&(_0x5e7d70=!0x0);_0x5e7d70||(_0x22fff3[_0x5d9d08]=null);}if(_0x22fff3=_0x22fff3[_0x4bde4a(0x1ba)](_0x3be4f3=>null!==_0x3be4f3),!_0x22fff3[_0x4bde4a(0x11e)])return;for(let _0x21b126=0x0;_0x21b126<_0x22fff3[_0x4bde4a(0x11e)];_0x21b126++){const _0xc19c17=_0x22fff3[_0x21b126];void 0x0!==_0xc19c17[_0x4bde4a(0xb8)]&&void 0x0===_0xc19c17[_0x4bde4a(0x1a4)]&&(_0xc19c17[_0x4bde4a(0x1a4)]=this[_0x4bde4a(0x146)][_0x4bde4a(0x128)](_0xc19c17['id'])[_0x4bde4a(0x1a4)]),void 0x0!==_0xc19c17[_0x4bde4a(0x1a4)]&&void 0x0===_0xc19c17[_0x4bde4a(0xb8)]&&(_0xc19c17[_0x4bde4a(0xb8)]=this[_0x4bde4a(0x146)][_0x4bde4a(0x128)](_0xc19c17['id'])[_0x4bde4a(0xb8)]);}const _0x58a08e=this[_0x4bde4a(0x153)][_0x4bde4a(0xdd)][_0x4bde4a(0x1da)](_0x4bde4a(0x170));this[_0x4bde4a(0x115)]=!0x0,this[_0x4bde4a(0x104)](),this[_0x4bde4a(0x108)][_0x4bde4a(0xd3)](_0x22fff3,_0x58a08e)[_0x4bde4a(0x107)](()=>{const _0x387c50=_0x4bde4a;this[_0x387c50(0x115)]=!0x1;})[_0x4bde4a(0xdf)](_0x2dabeb=>{const _0x1a457c=_0x4bde4a;if(_0x2dabeb){for(const _0x127925 of _0x2dabeb)this[_0x1a457c(0x1c5)]({'id':_0x127925['id'],'createdAt':_0x127925[_0x1a457c(0x1c4)]});}this[_0x1a457c(0x14e)](),this[_0x1a457c(0x1ca)]();});}[_0x27b10a(0xe3)](_0x5a648a,_0x4d269f){const _0x567e56=_0x27b10a;let _0x41cc96=this[_0x567e56(0x153)][_0x567e56(0xdd)][_0x567e56(0x1da)](_0x567e56(0xcc)),_0x35a0e5=this[_0x567e56(0x153)][_0x567e56(0xdd)][_0x567e56(0x1da)](_0x567e56(0x116));if(void 0x0===_0x41cc96){_0x41cc96={};for(const _0x23f9ef of this[_0x567e56(0x153)][_0x567e56(0x124)][_0x567e56(0xee)][_0x567e56(0xe9)]())_0x41cc96[_0x23f9ef]='';}if(_0x567e56(0xe6)==typeof _0x41cc96&&(_0x41cc96={'main':_0x41cc96}),void 0x0===_0x35a0e5){_0x35a0e5={};for(const _0x599fb1 of this[_0x567e56(0x153)][_0x567e56(0x124)][_0x567e56(0xee)][_0x567e56(0xe9)]())_0x35a0e5[_0x599fb1]={};}let _0x748871=!0x1;const _0x44303c=Object[_0x567e56(0xef)](_0x41cc96),_0x176ee8=Object[_0x567e56(0xef)](_0x5a648a);for(const _0x46c39d of _0x44303c){if(_0x41cc96[_0x46c39d]!==_0x5a648a[_0x46c39d]&&''!==_0x41cc96[_0x46c39d][_0x567e56(0xc2)]()){_0x748871=!0x0;break;}if(!_0x5b9906(_0x35a0e5[_0x46c39d],_0x4d269f[_0x46c39d])&&Object[_0x567e56(0xef)](_0x35a0e5[_0x46c39d])[_0x567e56(0x11e)]>0x0){_0x748871=!0x0;break;}}_0x748871||(_0x748871=_0x176ee8[_0x567e56(0xea)](_0x2503ca=>!this[_0x567e56(0x153)][_0x567e56(0x124)][_0x567e56(0xee)][_0x567e56(0xfb)](_0x2503ca))),_0x748871&&_0x2fef56(_0x567e56(0x169),{'editorData':_0x41cc96,'editorRootsAttributes':_0x35a0e5,'revisionData':_0x5a648a,'revisionRootsAttributes':_0x4d269f}),this[_0x567e56(0x153)][_0x567e56(0xdd)][_0x567e56(0x13e)](_0x567e56(0xcc),_0x5a648a),this[_0x567e56(0x153)][_0x567e56(0xdd)][_0x567e56(0x13e)](_0x567e56(0x116),_0x4d269f);}[_0x27b10a(0x104)](){const _0xab9afe=_0x27b10a;if(!this[_0xab9afe(0x14f)]){const _0xc7bd03=this[_0xab9afe(0x153)][_0xab9afe(0x1cd)][_0xab9afe(0x1da)](_0xab9afe(0xeb));this[_0xab9afe(0x14f)]=_0xc7bd03[_0xab9afe(0x1b4)](_0x2829c9(this[_0xab9afe(0x153)][_0xab9afe(0x123)],_0xab9afe(0xc5)));}}[_0x27b10a(0x14e)](){const _0x2a5045=_0x27b10a;this[_0x2a5045(0x14f)]&&(this[_0x2a5045(0x153)][_0x2a5045(0x1cd)][_0x2a5045(0x1da)](_0x2a5045(0xeb))[_0x2a5045(0x1bf)](this[_0x2a5045(0x14f)]),this[_0x2a5045(0x14f)]=null);}[_0x27b10a(0x1c0)](_0x1e6c0d){const _0x38a972=_0x27b10a,_0x409da4=this[_0x38a972(0x146)][_0x38a972(0x1d0)]();_0x409da4[_0x38a972(0x1d1)]();let _0x1088ef=0x0;for(;_0x1088ef<_0x409da4[_0x38a972(0x11e)];){const _0x27773d=_0x409da4[_0x1088ef];if(_0x27773d===this[_0x38a972(0x17c)]){_0x1088ef++;continue;}if(_0x27773d['id']===this[_0x38a972(0xbd)])break;const _0x5b6b6d=_0x1e6c0d[_0x38a972(0x1a4)]-_0x27773d[_0x38a972(0x1a4)]||_0x1e6c0d[_0x38a972(0xb8)]-_0x27773d[_0x38a972(0xb8)];if(_0x5b6b6d>0x0)break;if(_0x5b6b6d<0x0)_0x1088ef++;else{if(!_0x1e6c0d[_0x38a972(0xf5)]&&_0x27773d[_0x38a972(0xf5)])break;if(_0x27773d[_0x38a972(0xf5)]||!_0x1e6c0d[_0x38a972(0xf5)]){if(_0x1e6c0d[_0x38a972(0x1c4)]>_0x27773d[_0x38a972(0x1c4)])break;_0x1088ef++;}else _0x1088ef++;}}return _0x1088ef;}[_0x27b10a(0x1c5)](_0x5ba0cd){const _0x185965=_0x27b10a,_0x2ee8ab=this[_0x185965(0x146)][_0x185965(0x128)](_0x5ba0cd['id']);if(_0x5ba0cd[_0x185965(0x1c4)]&&(_0x5ba0cd[_0x185965(0x1c4)]=new Date(_0x5ba0cd[_0x185965(0x1c4)])),_0x5ba0cd[_0x185965(0x12f)]){const _0x135461=this[_0x185965(0x153)][_0x185965(0x1cd)][_0x185965(0x1da)](_0x185965(0x1a9));_0x5ba0cd[_0x185965(0x151)]=_0x5ba0cd[_0x185965(0x12f)][_0x185965(0xd0)](_0x32f038=>_0x135461[_0x185965(0x1ae)](_0x32f038));}_0x2ee8ab[_0x185965(0x14c)](_0x5ba0cd,!0x0);}[_0x27b10a(0xe0)]({revision:_0x36cddc=null,from:_0x33238b=null,to:_0x5755b9=null}){const _0x2b6b97=_0x27b10a;_0x33238b=null!==_0x33238b?_0x33238b:_0x36cddc[_0x2b6b97(0xb8)],_0x5755b9=null!==_0x5755b9?_0x5755b9:_0x36cddc[_0x2b6b97(0x1a4)];const _0x3dd0cb=this[_0x2b6b97(0x154)][_0x2b6b97(0xcd)](_0x33238b,_0x5755b9),_0x1f7827={'diffData':_0x3dd0cb[_0x2b6b97(0x1cc)],'authorsIds':_0x3dd0cb[_0x2b6b97(0x12f)],'fromVersion':_0x33238b,'toVersion':_0x5755b9};if(!_0x36cddc||_0x5755b9!==_0x36cddc[_0x2b6b97(0x1a4)]){const _0x24a4ac=_0x5755b9-0x1,_0x27f59e=this[_0x2b6b97(0x177)][_0x2b6b97(0xb9)][_0x2b6b97(0xb4)](_0x24a4ac);_0x1f7827[_0x2b6b97(0x1c4)]=_0x27f59e&&_0x27f59e[_0x2b6b97(0x1c4)]||new Date();}if(this[_0x2b6b97(0x145)]&&_0x33238b===this[_0x2b6b97(0x145)][_0x2b6b97(0xb8)]){for(const _0x4cf12d of this[_0x2b6b97(0x145)][_0x2b6b97(0x151)])_0x1f7827[_0x2b6b97(0x12f)][_0x2b6b97(0x166)](_0x4cf12d['id'])||_0x1f7827[_0x2b6b97(0x12f)][_0x2b6b97(0xc7)](_0x4cf12d['id']);}return _0x1f7827;}[_0x27b10a(0xf4)](_0x5d8705){const _0xedcabf=_0x27b10a;if(!_0x5d8705||_0x5d8705[_0xedcabf(0x1cc)])return Promise[_0xedcabf(0xd1)]();{const _0x43ab89=this[_0xedcabf(0x153)][_0xedcabf(0xdd)][_0xedcabf(0x1da)](_0xedcabf(0x170));return this[_0xedcabf(0x108)][_0xedcabf(0x128)]({'channelId':_0x43ab89,'revisionId':_0x5d8705['id']})[_0xedcabf(0xdf)](_0x6a424a=>{const _0x10d4c2=_0xedcabf;_0x5d8705[_0x10d4c2(0x1cc)]=_0x6a424a[_0x10d4c2(0x1cc)];});}}[_0x27b10a(0x1dd)](_0x4d239d,_0x2123c6,_0x5bf8f1){const _0x22ab81=_0x27b10a;if(this[_0x22ab81(0x10c)][_0x22ab81(0x131)](_0x4d239d)){const _0x40d429=this[_0x22ab81(0x10c)][_0x22ab81(0x1da)](_0x4d239d);_0x2123c6=_0x5bf8f1?{..._0x40d429,..._0x2123c6}:{..._0x2123c6,..._0x40d429};}this[_0x22ab81(0x10c)][_0x22ab81(0x13e)](_0x4d239d,_0x2123c6);}[_0x27b10a(0x16f)](_0x4d8019){const _0x2b4817=_0x27b10a,_0x4bd027=this[_0x2b4817(0x146)][_0x2b4817(0x1d0)]();_0x4bd027[_0x2b4817(0x1d1)](),_0x4bd027[_0x2b4817(0x120)]();const _0x5a99fe=_0x4bd027[_0x2b4817(0x14b)](_0x2dccb7=>_0x2dccb7[_0x2b4817(0x1a4)]<=_0x4d8019)[_0x2b4817(0x1a4)];return _0x5a99fe<this[_0x2b4817(0x18a)]?this[_0x2b4817(0x18a)]:_0x5a99fe;}[_0x27b10a(0x10a)](_0x582c56){const _0x5c3125=_0x27b10a,_0x17ef02=this[_0x5c3125(0x146)][_0x5c3125(0x128)](this[_0x5c3125(0x146)][_0x5c3125(0x11e)]-0x1);if(_0x17ef02)this[_0x5c3125(0xbd)]=_0x17ef02['id'];else{const _0x3fe60a=!this[_0x5c3125(0x153)][_0x5c3125(0x124)][_0x5c3125(0xee)][_0x5c3125(0x152)][_0x5c3125(0x14b)](_0x1a32d5=>this[_0x5c3125(0x153)][_0x5c3125(0x124)][_0x5c3125(0xba)](_0x1a32d5)),_0x5f58a3=this[_0x5c3125(0x153)][_0x5c3125(0x1cd)][_0x5c3125(0x1da)](_0x5c3125(0x1a9))['me']['id'],_0x26d693=_0x2829c9(this[_0x5c3125(0x153)][_0x5c3125(0x123)],_0x3fe60a?_0x5c3125(0x132):_0x5c3125(0x11b));this[_0x5c3125(0x173)]({'from':_0x582c56,'to':_0x582c56,'id':this[_0x5c3125(0xbd)],'name':_0x26d693,'creatorId':_0x5f58a3});}}[_0x27b10a(0x179)](_0xcfb177){const _0x8b6edd=_0x27b10a,_0x373082=this[_0x8b6edd(0x177)][_0x8b6edd(0x15a)]();this[_0x8b6edd(0x17c)]=this[_0x8b6edd(0x146)][_0x8b6edd(0x128)](_0x373082),this[_0x8b6edd(0x17c)]||(this[_0x8b6edd(0x17c)]=this[_0x8b6edd(0x173)]({'from':_0xcfb177,'to':_0xcfb177,'id':_0x373082,'name':'','creatorId':null}));}[_0x27b10a(0x173)]({name:_0x1b1056,from:_0x471458,to:_0x4f296c,creatorId:_0x24606a,id:_0x113cd1}){const _0x11f9f9=_0x27b10a,_0x34644b=this[_0x11f9f9(0xe0)]({'from':_0x471458,'to':_0x4f296c});_0x34644b[_0x11f9f9(0x1b3)]=_0x1b1056,_0x34644b[_0x11f9f9(0xb6)]=_0x24606a,_0x34644b['id']=_0x113cd1;const _0x3a1957=this[_0x11f9f9(0x1a3)](_0x34644b);return this[_0x11f9f9(0x108)]&&this[_0x11f9f9(0x1dd)](_0x34644b['id'],_0x34644b,!0x0),_0x3a1957;}[_0x27b10a(0x101)](){const _0xa77472=_0x27b10a;this[_0xa77472(0x153)][_0xa77472(0x113)][_0xa77472(0x122)](_0xa77472(0xf3))[_0xa77472(0x1cf)]({'model':_0xa77472(0x112)});}[_0x27b10a(0x155)](_0xb55824){const _0x2beab8=_0x27b10a;return(_0xb55824=_0xb55824[_0x2beab8(0x1ba)](_0x2a7c61=>!_0x2a7c61[_0x2beab8(0x1b3)]||_0x2beab8(0x1d7)!==_0x2a7c61[_0x2beab8(0x1b3)]&&_0x2beab8(0x1a0)!==_0x2a7c61[_0x2beab8(0x1b3)]))[_0x2beab8(0x171)](_0x7f29c6=>{const _0x18af04=_0x2beab8;_0x18af04(0xe6)!=typeof _0x7f29c6&&(_0x7f29c6[_0x18af04(0x185)]=this[_0x18af04(0x155)](_0x7f29c6[_0x18af04(0x185)]),_0x7f29c6[_0x18af04(0x188)]=_0x7f29c6[_0x18af04(0x188)][_0x18af04(0x1ba)](_0x334141=>!_0x334141[0x0][_0x18af04(0xc1)](_0x18af04(0x150))));}),_0xb55824;}}function B(_0x3d88cd,_0x29fd90){const _0xb4d313=_0x27b10a,_0x468756=_0x29fd90[_0xb4d313(0x1d4)][_0xb4d313(0x19c)][_0xb4d313(0xee)];if(_0xb4d313(0xe6)==typeof _0x3d88cd)return new _0x1019a0(_0x468756,_0x3d88cd);{const _0x226df1=_0x3d88cd[_0xb4d313(0x185)][_0xb4d313(0xd0)](_0x1a577d=>B(_0x1a577d,_0x29fd90));return new(T[_0x3d88cd[(_0xb4d313(0x167))]]||_0x1e270c)(_0x468756,_0x3d88cd[_0xb4d313(0x1b3)],_0x3d88cd[_0xb4d313(0x188)],_0x226df1);}}class J{constructor(_0x4e3b75){const _0x3e5460=_0x27b10a;this[_0x3e5460(0x153)]=_0x4e3b75,this[_0x3e5460(0xd5)]=new Map(),this[_0x3e5460(0x15c)]=-0x1,this[_0x3e5460(0x165)]=-0x1,this[_0x3e5460(0x1c3)]=new Map(),this[_0x3e5460(0x19b)]=new Map(),this[_0x3e5460(0x142)]=new Map(),this[_0x3e5460(0x1b9)]=new Map(),this[_0x3e5460(0x10b)]=new Map(),this[_0x3e5460(0x1bc)]=new Map(),this[_0x3e5460(0x182)]=new Map(),this[_0x3e5460(0x125)]=new Map(),this[_0x3e5460(0x144)]=new Map(),this[_0x3e5460(0x17f)]=new Map(),this[_0x3e5460(0x1a1)]=0x1;}[_0x27b10a(0x193)](_0x388419){const _0x361d22=_0x27b10a;this[_0x361d22(0xb7)]=_0x388419;const _0x16bc31=new Map(),_0x37e1b1=new Map(),_0x2cde6c=this[_0x361d22(0x153)][_0x361d22(0x124)][_0x361d22(0xee)][_0x361d22(0x152)][_0x361d22(0xd0)](_0x2694d8=>_0x2694d8[_0x361d22(0x1af)]);for(const _0x33f88a of _0x2cde6c){const _0x50c294=this[_0x361d22(0x153)][_0x361d22(0x124)][_0x361d22(0xee)][_0x361d22(0xfb)](_0x33f88a),_0x539d55=q(_0x50c294);_0x16bc31[_0x361d22(0x13e)](_0x33f88a,_0x539d55),_0x37e1b1[_0x361d22(0x13e)](_0x33f88a,Object[_0x361d22(0x118)](_0x50c294[_0x361d22(0x1c7)]()));}const _0x4ccea3=Array[_0x361d22(0x109)](this[_0x361d22(0x153)][_0x361d22(0x124)][_0x361d22(0xc4)])[_0x361d22(0xd0)](_0x53eefc=>[_0x53eefc[_0x361d22(0x1b3)],_0x53eefc[_0x361d22(0x195)]()]),_0x47fb83=this[_0x361d22(0xb7)][_0x361d22(0xde)];this[_0x361d22(0xc8)](_0x47fb83,_0x16bc31,_0x4ccea3,_0x37e1b1),this[_0x361d22(0x161)]=this[_0x361d22(0x1a1)];const _0x53e2ff=new Map(),_0x4f29a5=new Map();for(const _0xdca369 of _0x2cde6c){const _0x30f739=G(_0xdca369);_0x53e2ff[_0x361d22(0x13e)](_0xdca369,_0x30f739),_0x4f29a5[_0x361d22(0x13e)](_0xdca369,{});}this[_0x361d22(0xc8)](Number[_0x361d22(0xec)],_0x53e2ff,[],_0x4f29a5);}[_0x27b10a(0xcd)](_0x4bd7ce,_0x28265a){const _0x32a248=_0x27b10a;if(this[_0x32a248(0x15c)]===_0x4bd7ce&&this[_0x32a248(0x165)]<=_0x28265a)this[_0x32a248(0xd5)][_0x32a248(0x13a)]>0x1&&this[_0x32a248(0x10f)](this[_0x32a248(0x165)]),this[_0x32a248(0xe8)](this[_0x32a248(0x165)],_0x28265a,!0x0);else{if(!this[_0x32a248(0xd5)][_0x32a248(0x131)](_0x4bd7ce)){const _0x2e7d40=this[_0x32a248(0x19e)](_0x4bd7ce);this[_0x32a248(0x163)](_0x2e7d40,_0x4bd7ce,!0x1);}this[_0x32a248(0x163)](_0x4bd7ce,_0x28265a,!0x0);}return this[_0x32a248(0x15c)]=_0x4bd7ce,this[_0x32a248(0x165)]=_0x28265a,this[_0x32a248(0x1d3)]();}[_0x27b10a(0x191)](_0x5a3a6e){const _0x9c962a=_0x27b10a;this[_0x9c962a(0x1c6)](),this[_0x9c962a(0x15c)]=_0x5a3a6e[_0x9c962a(0xb8)],this[_0x9c962a(0x165)]=_0x5a3a6e[_0x9c962a(0x1a4)];for(const _0x1df6dd in _0x5a3a6e[_0x9c962a(0x1cc)]){const _0x4258f0=_0x5a3a6e[_0x9c962a(0x1cc)][_0x1df6dd][_0x9c962a(0x16d)],_0x132f1b=_0x519237(_0x5a3a6e[_0x9c962a(0x1cc)][_0x1df6dd][_0x9c962a(0x13b)])||{},_0x4cd810=this[_0x9c962a(0xe1)](_0x5a3a6e[_0x9c962a(0x1cc)][_0x1df6dd][_0x9c962a(0xcb)]);_0x4cd810[_0x9c962a(0x1af)]=_0x1df6dd,_0x4cd810[_0x9c962a(0xce)]=!_0x4258f0||!_0x4258f0[_0x9c962a(0x12c)],_0x4cd810[_0x9c962a(0x12c)]=()=>_0x4cd810[_0x9c962a(0xce)],this[_0x9c962a(0x1b9)][_0x9c962a(0x13e)](_0x1df6dd,_0x4cd810),this[_0x9c962a(0x10b)][_0x9c962a(0x13e)](_0x1df6dd,_0x132f1b),_0x4258f0&&this[_0x9c962a(0x17f)][_0x9c962a(0x13e)](_0x1df6dd,_0x4258f0);const _0x3daee6=this[_0x9c962a(0x14d)](_0x4cd810);this[_0x9c962a(0x182)][_0x9c962a(0x13e)](_0x1df6dd,_0x3daee6);for(const [_0x25f5de,_0x34b60c]of _0x4cd810[_0x9c962a(0xc4)]){if(!_0x25f5de[_0x9c962a(0xc1)](_0x9c962a(0x13f)))continue;const _0x79bdda=_0x25f5de[_0x9c962a(0x158)](':')[0x2];for(const _0xf0263 of _0x34b60c[_0x9c962a(0x1ab)]({'singleCharacters':!0x0})){const _0x48a234=this[_0x9c962a(0x194)](_0xf0263),_0x436bd6=_0x9c962a(0x183)==_0xf0263[_0x9c962a(0x167)]?_0xf0263[_0x9c962a(0x189)][_0x9c962a(0x1a6)][_0x9c962a(0x157)](0x0,-0x1):_0xf0263[_0x9c962a(0x189)][_0x9c962a(0x1a6)],_0x1d564f=_0x3daee6[_0x9c962a(0xbe)](_0x436bd6)[_0x9c962a(0x1cb)](_0x48a234);this[_0x9c962a(0x125)][_0x9c962a(0x13e)](_0x1d564f,{'userId':_0x79bdda});}}}this[_0x9c962a(0x161)]=this[_0x9c962a(0x1a1)];const _0x9bd336=[...Array(this[_0x9c962a(0x1a1)])[_0x9c962a(0xef)]()][_0x9c962a(0x157)](0x1)[_0x9c962a(0x1ba)](_0x15546c=>!this[_0x9c962a(0x125)][_0x9c962a(0x131)](_0x15546c));let _0x592c0d=0x0;const _0xd880e9=new Map();for(const _0x1a62cd in _0x5a3a6e[_0x9c962a(0x1cc)]){const _0xd42196=_0x5a3a6e[_0x9c962a(0x1cc)][_0x1a62cd][_0x9c962a(0x16d)],_0x230623=_0x519237(_0x5a3a6e[_0x9c962a(0x1cc)][_0x1a62cd][_0x9c962a(0x159)])||{},_0x5c0471=this[_0x9c962a(0xe1)](_0x5a3a6e[_0x9c962a(0x1cc)][_0x1a62cd][_0x9c962a(0x1ac)]);_0x5c0471[_0x9c962a(0x1af)]=_0x1a62cd,_0x5c0471[_0x9c962a(0xce)]=!_0xd42196||_0xd42196[_0x9c962a(0x12c)],_0x5c0471[_0x9c962a(0x12c)]=()=>_0x5c0471[_0x9c962a(0xce)],this[_0x9c962a(0x19b)][_0x9c962a(0x13e)](_0x1a62cd,_0x5c0471),this[_0x9c962a(0x142)][_0x9c962a(0x13e)](_0x1a62cd,_0x230623);const _0x3e8761=this[_0x9c962a(0x14d)](_0x5c0471,Number[_0x9c962a(0xec)]);this[_0x9c962a(0x1bc)][_0x9c962a(0x13e)](_0x1a62cd,_0x3e8761),_0xd880e9[_0x9c962a(0x13e)](_0x1a62cd,_0x5c0471[_0x9c962a(0x12c)]()?_0x230623:{});for(const [_0x5c7e00,_0x125724]of _0x5c0471[_0x9c962a(0xc4)]){if(!_0x5c7e00[_0x9c962a(0xc1)](_0x9c962a(0x13f)))continue;const _0x244042=_0x5c7e00[_0x9c962a(0x158)](':')[0x2];for(const _0x394a9c of _0x125724[_0x9c962a(0x1ab)]({'singleCharacters':!0x0})){const _0x427ed3=this[_0x9c962a(0x194)](_0x394a9c),_0x22756e=this[_0x9c962a(0x1a1)]++,_0x228812=_0x9c962a(0x183)==_0x394a9c[_0x9c962a(0x167)]?_0x394a9c[_0x9c962a(0x189)][_0x9c962a(0x1a6)][_0x9c962a(0x157)](0x0,-0x1):_0x394a9c[_0x9c962a(0x189)][_0x9c962a(0x1a6)];_0x3e8761[_0x9c962a(0xbe)](_0x228812)[_0x9c962a(0x15f)](_0x427ed3,_0x22756e),this[_0x9c962a(0x125)][_0x9c962a(0x13e)](_0x22756e,{'userId':_0x244042});}}for(const _0xbc3316 of this[_0x9c962a(0x153)][_0x9c962a(0x124)][_0x9c962a(0x160)](_0x5c0471)[_0x9c962a(0x1ab)]({'singleCharacters':!0x0})){const _0x34c00b=this[_0x9c962a(0x194)](_0xbc3316),_0x3f12d8=_0x9c962a(0x183)==_0xbc3316[_0x9c962a(0x167)]?_0xbc3316[_0x9c962a(0x189)][_0x9c962a(0x1a6)][_0x9c962a(0x157)](0x0,-0x1):_0xbc3316[_0x9c962a(0x189)][_0x9c962a(0x1a6)],_0x1d7eba=_0x3e8761[_0x9c962a(0xbe)](_0x3f12d8);_0x1d7eba[_0x9c962a(0x1cb)](_0x34c00b)>0x0||_0x1d7eba[_0x9c962a(0x15f)](_0x34c00b,_0x9bd336[_0x592c0d++]);}for(const [_0x954147,_0x5b3e9a]of _0x5c0471[_0x9c962a(0xc4)])_0x954147[_0x9c962a(0xc1)](_0x9c962a(0x13f))||this[_0x9c962a(0x1c3)][_0x9c962a(0x13e)](_0x954147,_0x5b3e9a);}const _0x4b3e56=G(_0x9c962a(0x129));this[_0x9c962a(0x1b9)][_0x9c962a(0x13e)](_0x9c962a(0x129),_0x4b3e56),this[_0x9c962a(0x182)][_0x9c962a(0x13e)](_0x9c962a(0x129),this[_0x9c962a(0x14d)](_0x4b3e56,0x1));const _0x2f72e0=G(_0x9c962a(0x129));this[_0x9c962a(0x19b)][_0x9c962a(0x13e)](_0x9c962a(0x129),_0x2f72e0),this[_0x9c962a(0x1bc)][_0x9c962a(0x13e)](_0x9c962a(0x129),this[_0x9c962a(0x14d)](_0x2f72e0,0x1));const _0x485b0e=Array[_0x9c962a(0x109)](this[_0x9c962a(0x19b)])[_0x9c962a(0xd0)](([_0x36fd59,_0x135543])=>[_0x36fd59,q(_0x135543)]);this[_0x9c962a(0xc8)](this[_0x9c962a(0x165)],_0x485b0e,this[_0x9c962a(0x1c3)],_0xd880e9);}[_0x27b10a(0xe1)](_0x29cd4d){const _0x5c05d3=_0x27b10a,_0x1bc9b4=JSON[_0x5c05d3(0x11c)](_0x29cd4d),_0x5c341b=this[_0x5c05d3(0x153)][_0x5c05d3(0x1d4)][_0x5c05d3(0x19c)][_0x5c05d3(0xee)],_0x357e4a=new _0xf8f6c6(_0x5c341b,_0x1bc9b4[_0x5c05d3(0xd0)](_0x28ea66=>B(_0x28ea66,this[_0x5c05d3(0x153)])));return this[_0x5c05d3(0x153)][_0x5c05d3(0xfa)][_0x5c05d3(0x1b6)](_0x357e4a);}[_0x27b10a(0xc8)](_0x4c5c07,_0xc7d706,_0x59ed26,_0x5a9536){const _0x4880a3=_0x27b10a,_0x53232b=new Map(_0xc7d706),_0x4ea8f2=new Map(_0x519237(_0x5a9536)),_0x433c13=new Map();for(const [_0x555034,_0x4c306e]of _0x59ed26)_0x433c13[_0x4880a3(0x13e)](_0x555034,{'start':_0x4c306e[_0x4880a3(0x18c)][_0x4880a3(0xd7)](),'end':_0x4c306e[_0x4880a3(0x178)][_0x4880a3(0xd7)](),'rootName':_0x4c306e[_0x4880a3(0x186)][_0x4880a3(0x1af)]});this[_0x4880a3(0xd5)][_0x4880a3(0x13e)](_0x4c5c07,{'roots':_0x53232b,'markers':_0x433c13,'rootsAttributes':_0x4ea8f2});}[_0x27b10a(0x10f)](_0x4c8637){const _0x728580=_0x27b10a;this[_0x728580(0xd5)][_0x728580(0x192)](_0x4c8637);}[_0x27b10a(0xca)](){const _0x1748fd=_0x27b10a;this[_0x1748fd(0x1c6)](),this[_0x1748fd(0x15c)]=-0x1,this[_0x1748fd(0x165)]=-0x1,this[_0x1748fd(0xd5)][_0x1748fd(0x148)](),this[_0x1748fd(0x193)](this[_0x1748fd(0xb7)]);}[_0x27b10a(0x1c6)](){const _0x76f577=_0x27b10a;this[_0x76f577(0x125)][_0x76f577(0x148)](),this[_0x76f577(0x144)][_0x76f577(0x148)](),this[_0x76f577(0x17f)][_0x76f577(0x148)](),this[_0x76f577(0x19b)][_0x76f577(0x148)](),this[_0x76f577(0x142)][_0x76f577(0x148)](),this[_0x76f577(0x1b9)][_0x76f577(0x148)](),this[_0x76f577(0x10b)][_0x76f577(0x148)](),this[_0x76f577(0x1bc)][_0x76f577(0x148)](),this[_0x76f577(0x182)][_0x76f577(0x148)](),this[_0x76f577(0x1c3)][_0x76f577(0x148)](),this[_0x76f577(0x1a1)]=0x1,this[_0x76f577(0x161)]=this[_0x76f577(0x1a1)];}[_0x27b10a(0x14d)](_0x25c426,_0x4b3396=null){const _0x325d33=_0x27b10a;let _0x4652bc=null;_0x25c426['is'](_0x325d33(0x19f))||(_0x4652bc=new _0x184b2f(_0x25c426[_0x325d33(0x1b3)],{'vid_start':null===_0x4b3396?this[_0x325d33(0x1a1)]++:_0x4b3396++}));const _0x474bfe=[];for(const _0x1f1d53 of _0x25c426[_0x325d33(0x119)]())if(_0x1f1d53['is'](_0x325d33(0xf7))){_0x474bfe[_0x325d33(0xc7)](this[_0x325d33(0x14d)](_0x1f1d53,_0x4b3396));const _0x29544e=_0x474bfe[_0x474bfe[_0x325d33(0x11e)]-0x1];null!==_0x4b3396&&(_0x4b3396=_0x29544e['is'](_0x325d33(0xf7),_0x325d33(0x12a))?_0x29544e[_0x325d33(0x1cb)](_0x325d33(0x1a8))+0x1:_0x29544e[_0x325d33(0x1cb)](_0x325d33(0xc6))+0x1);}else{for(let _0x4761ef=0x0;_0x4761ef<_0x1f1d53[_0x325d33(0x140)];_0x4761ef++)_0x474bfe[_0x325d33(0xc7)](new _0x184b2f(_0x325d33(0x12a),{'vid':null===_0x4b3396?this[_0x325d33(0x1a1)]++:_0x4b3396++}));}if(_0x25c426['is'](_0x325d33(0x19f))){const _0x176445=G(_0x25c426[_0x325d33(0x1af)]);return _0x176445[_0x325d33(0x114)](0x0,_0x474bfe),_0x176445;}return _0x4652bc[_0x325d33(0x15f)](_0x325d33(0xc6),null===_0x4b3396?this[_0x325d33(0x1a1)]++:_0x4b3396++),_0x4652bc[_0x325d33(0x114)](0x0,_0x474bfe),_0x4652bc;}[_0x27b10a(0x163)](_0x30bf77,_0x19714a,_0x5506e9){const _0x20322c=_0x27b10a;this[_0x20322c(0x1c6)]();const {roots:_0x2b0dd7,markers:_0x156b37,rootsAttributes:_0x4d3d46}=this[_0x20322c(0xd5)][_0x20322c(0x1da)](_0x30bf77);this[_0x20322c(0x1b9)]=new Map(_0x2b0dd7),this[_0x20322c(0x10b)]=new Map(_0x519237(_0x4d3d46));for(const [_0x505846,_0x101410]of this[_0x20322c(0x1b9)])if(_0x20322c(0x129)!==_0x505846&&(this[_0x20322c(0x19b)][_0x20322c(0x13e)](_0x505846,q(_0x101410)),this[_0x20322c(0x142)]=new Map(_0x519237(_0x4d3d46)),_0x5506e9)){const _0x39f3d8=this[_0x20322c(0x1a1)];this[_0x20322c(0x1bc)][_0x20322c(0x13e)](_0x505846,this[_0x20322c(0x14d)](_0x101410)),this[_0x20322c(0x182)][_0x20322c(0x13e)](_0x505846,this[_0x20322c(0x14d)](_0x101410,_0x39f3d8));}this[_0x20322c(0x161)]=this[_0x20322c(0x1a1)],this[_0x20322c(0x19b)][_0x20322c(0x13e)](_0x20322c(0x129),q(this[_0x20322c(0x1b9)][_0x20322c(0x1da)](_0x20322c(0x129)))),_0x5506e9&&this[_0x20322c(0x1bc)][_0x20322c(0x13e)](_0x20322c(0x129),this[_0x20322c(0x14d)](this[_0x20322c(0x1b9)][_0x20322c(0x1da)](_0x20322c(0x129))));for(const [_0x4b0629,_0x5ccf97]of _0x156b37){const _0x14c65f=this[_0x20322c(0x1b9)][_0x20322c(0x1da)](_0x5ccf97[_0x20322c(0x1af)]),_0x3c98c6=this[_0x20322c(0x19b)][_0x20322c(0x1da)](_0x5ccf97[_0x20322c(0x1af)]),_0x4d61b2=new _0x27210b(this[_0x20322c(0x133)](_0x5ccf97[_0x20322c(0x18c)],_0x14c65f),this[_0x20322c(0x133)](_0x5ccf97[_0x20322c(0x178)],_0x14c65f)),_0xc2179f=this[_0x20322c(0x168)](_0x4d61b2,_0x3c98c6);_0x14c65f[_0x20322c(0xc4)][_0x20322c(0x13e)](_0x4b0629,_0x4d61b2),this[_0x20322c(0x1c3)][_0x20322c(0x13e)](_0x4b0629,_0xc2179f);}this[_0x20322c(0xe8)](_0x30bf77,_0x19714a,_0x5506e9);}[_0x27b10a(0xe8)](_0x2b3022,_0x469710,_0x273e71){const _0x4768eb=_0x27b10a;for(const _0x1754bd of this[_0x4768eb(0xb7)][_0x4768eb(0x19d)](_0x2b3022,_0x469710))this[_0x4768eb(0x162)](_0x1754bd,_0x273e71);for(const _0x2f09cb of this[_0x4768eb(0x19b)][_0x4768eb(0x172)]())_0x2f09cb[_0x4768eb(0xc4)][_0x4768eb(0x148)]();for(const [_0x53fce4,_0x43c9e0]of this[_0x4768eb(0x1c3)]){this[_0x4768eb(0x19b)][_0x4768eb(0x1da)](_0x43c9e0[_0x4768eb(0x186)][_0x4768eb(0x1af)])[_0x4768eb(0xc4)][_0x4768eb(0x13e)](_0x53fce4,_0x43c9e0[_0x4768eb(0xd7)]());}const _0x116d9b=new Map(),_0x6a269f=new Map();for(const [_0x1d9f06,_0x1798de]of this[_0x4768eb(0x19b)])_0x116d9b[_0x4768eb(0x13e)](_0x1d9f06,q(_0x1798de)),_0x6a269f[_0x4768eb(0x13e)](_0x1d9f06,this[_0x4768eb(0x142)][_0x4768eb(0x1da)](_0x1d9f06));this[_0x4768eb(0xc8)](_0x469710,_0x116d9b,this[_0x4768eb(0x1c3)],_0x6a269f);}[_0x27b10a(0x19e)](_0x323417){const _0x4842e2=_0x27b10a,_0x4f1680=Array[_0x4842e2(0x109)](this[_0x4842e2(0xd5)][_0x4842e2(0xef)]());_0x4f1680[_0x4842e2(0x16c)]((_0x10664c,_0x113952)=>_0x10664c-_0x113952),_0x4f1680[_0x4842e2(0x1d1)]();for(const _0x589102 of _0x4f1680)if(_0x589102<_0x323417)return _0x589102;return Number[_0x4842e2(0xec)];}[_0x27b10a(0x175)](_0x52a8df,_0x5ea17d){const _0x574b9b=_0x27b10a,_0x4f5ac2=Array[_0x574b9b(0x109)](_0x5ea17d[_0x574b9b(0xc4)])[_0x574b9b(0xd0)](([_0xb4123b,_0x4a7d8a])=>[_0xb4123b,this[_0x574b9b(0x168)](_0x4a7d8a,_0x52a8df)]);_0x52a8df[_0x574b9b(0xc4)]=new Map(_0x4f5ac2);}[_0x27b10a(0xe7)](_0x126931){const _0x3e1325=_0x27b10a;for(const _0x50951b of this[_0x3e1325(0x1c3)][_0x3e1325(0x172)]()){const _0x48d106=_0x50951b[_0x3e1325(0x184)](_0x126931),_0x2cae1e=_0x27210b[_0x3e1325(0x199)](_0x48d106);_0x50951b[_0x3e1325(0x18c)]=_0x2cae1e[_0x3e1325(0x18c)],_0x50951b[_0x3e1325(0x178)]=_0x2cae1e[_0x3e1325(0x178)];}}[_0x27b10a(0x162)](_0x3bc9b3,_0x56d0a9){const _0x640b16=_0x27b10a;if(_0x640b16(0x10d)==_0x3bc9b3[_0x640b16(0x167)]||_0x640b16(0xfe)==_0x3bc9b3[_0x640b16(0x167)])return void this[_0x640b16(0x1a7)](_0x3bc9b3,_0x56d0a9);if(_0x640b16(0x15d)==_0x3bc9b3[_0x640b16(0x167)]){const _0x2aa2e8=_0x3bc9b3[_0x640b16(0x1bb)][_0x640b16(0x186)][_0x640b16(0x1af)];this[_0x640b16(0x19b)][_0x640b16(0x131)](_0x2aa2e8)||(this[_0x640b16(0x19b)][_0x640b16(0x13e)](_0x2aa2e8,G(_0x2aa2e8,!0x0)),this[_0x640b16(0x142)][_0x640b16(0x13e)](_0x2aa2e8,{}),_0x56d0a9&&this[_0x640b16(0x1bc)][_0x640b16(0x13e)](_0x2aa2e8,G(_0x2aa2e8,!0x0)));}else{if(_0x640b16(0xf6)==_0x3bc9b3[_0x640b16(0x167)]||_0x640b16(0x180)==_0x3bc9b3[_0x640b16(0x167)]||_0x640b16(0xc0)==_0x3bc9b3[_0x640b16(0x167)])return void this[_0x640b16(0x1b0)](_0x3bc9b3);}const _0x2357f7=this[_0x640b16(0x100)](_0x3bc9b3,this[_0x640b16(0x19b)]);if(_0x640b16(0x121)!==_0x3bc9b3[_0x640b16(0x167)]&&(_0x2357f7[_0x640b16(0x1c1)](),this[_0x640b16(0xe7)](_0x2357f7)),_0x56d0a9)switch(_0x2357f7[_0x640b16(0x167)]){case _0x640b16(0x15d):this[_0x640b16(0x13c)](_0x3bc9b3);break;case _0x640b16(0xc3):case _0x640b16(0x1bf):case _0x640b16(0x1db):this[_0x640b16(0xd9)](_0x3bc9b3);break;case _0x640b16(0x106):this[_0x640b16(0x16a)](_0x3bc9b3);break;case _0x640b16(0x158):this[_0x640b16(0x130)](_0x3bc9b3);break;case _0x640b16(0x121):this[_0x640b16(0x11d)](_0x3bc9b3);}}[_0x27b10a(0x100)](_0x5c67a2,_0x7f9879){const _0x5a9c9e=_0x27b10a,_0x35e94c=_0x5c67a2[_0x5a9c9e(0xd7)]();return _0x35e94c[_0x5a9c9e(0x18b)]=_0x5c67a2[_0x5a9c9e(0x18b)],this[_0x5a9c9e(0xd4)](_0x35e94c,_0x7f9879),_0x35e94c;}[_0x27b10a(0x17a)](_0xea7689){const _0x3f2d76=_0x27b10a;return _0xea7689[_0x3f2d76(0xd0)](_0x2f49f9=>{const _0x1e97df=_0x3f2d76,_0x5b4c11=this[_0x1e97df(0x194)](_0x2f49f9);return Number(_0x2f49f9[_0x1e97df(0x1ce)][_0x1e97df(0x1cb)](_0x5b4c11));});}[_0x27b10a(0x15b)](_0x54ffad,_0x40cc29){const _0x329fb3=_0x27b10a;if(_0x54ffad['is'](_0x329fb3(0xf7),_0x329fb3(0x12a)))_0x40cc29[_0x329fb3(0xc7)]({'item':_0x54ffad,'type':_0x329fb3(0x18e)});else{_0x54ffad['is'](_0x329fb3(0xf7))&&_0x40cc29[_0x329fb3(0xc7)]({'item':_0x54ffad,'type':_0x329fb3(0x12b)});for(const _0x5652d5 of _0x54ffad[_0x329fb3(0x119)]())this[_0x329fb3(0x15b)](_0x5652d5,_0x40cc29);_0x54ffad['is'](_0x329fb3(0xf7))&&_0x40cc29[_0x329fb3(0xc7)]({'item':_0x54ffad,'type':_0x329fb3(0x183)});}return _0x40cc29;}[_0x27b10a(0x1d3)](){const _0x409403=_0x27b10a,_0x175ddf=new Map(this[_0x409403(0x125)]),_0x5130a3=new Map(_0x175ddf),_0x36ce60=new Map(),_0x57a136={'insertions':{},'deletions':{}},_0x3f9a56={'insertions':{},'deletions':{}},_0x2074e2=new Map(),_0xb367d2=new Set([...this[_0x409403(0x1b9)][_0x409403(0xef)](),...this[_0x409403(0x19b)][_0x409403(0xef)]()]);_0xb367d2[_0x409403(0x192)](_0x409403(0x129));for(const _0x43671e of _0xb367d2){const _0x5e01ef=this[_0x409403(0x19b)][_0x409403(0x1da)](_0x43671e)||G(_0x43671e,!0x1),_0x449a18=this[_0x409403(0x1b9)][_0x409403(0x1da)](_0x43671e)||G(_0x43671e,!0x1);_0x5e01ef[_0x409403(0x12c)]()||_0x449a18[_0x409403(0x12c)]()?(_0x57a136[_0x409403(0x1ac)][_0x43671e]=q(_0x5e01ef),_0x57a136[_0x409403(0xcb)][_0x43671e]=q(_0x449a18),this[_0x409403(0x175)](_0x57a136[_0x409403(0xcb)][_0x43671e],_0x449a18),this[_0x409403(0x175)](_0x57a136[_0x409403(0x1ac)][_0x43671e],_0x5e01ef),_0x3f9a56[_0x409403(0x1ac)][_0x43671e]=this[_0x409403(0x15b)](this[_0x409403(0x1bc)][_0x409403(0x1da)](_0x43671e),[]),_0x3f9a56[_0x409403(0xcb)][_0x43671e]=this[_0x409403(0x15b)](this[_0x409403(0x182)][_0x409403(0x1da)](_0x43671e)||G(_0x43671e,!0x1),[])):_0xb367d2[_0x409403(0x192)](_0x43671e);}for(const _0xdff740 of _0xb367d2){const _0xc8cf5f=_0x3f9a56[_0x409403(0x1ac)][_0xdff740];for(const _0x465c3e of _0xc8cf5f){const _0x3d5d7d=this[_0x409403(0x194)](_0x465c3e),_0x399457=_0x465c3e[_0x409403(0x1ce)][_0x409403(0x1cb)](_0x3d5d7d);_0x5130a3[_0x409403(0x192)](_0x399457),_0x399457>=this[_0x409403(0x161)]&&_0x36ce60[_0x409403(0x13e)](_0x399457,_0x175ddf[_0x409403(0x1da)](_0x399457));}}for(const _0x8c972b of _0xb367d2){const _0xab2e9=_0x3f9a56[_0x409403(0x1ac)][_0x8c972b],_0x3d307c=this[_0x409403(0x17a)](_0x3f9a56[_0x409403(0xcb)][_0x8c972b]);let _0xce3959=0x0;for(const _0x4554cf of _0xab2e9){const _0x5bf8bd=this[_0x409403(0x194)](_0x4554cf),_0x52ac22=_0x4554cf[_0x409403(0x1ce)][_0x409403(0x1cb)](_0x5bf8bd);if(!_0x36ce60[_0x409403(0x131)](_0x52ac22)&&!_0x2074e2[_0x409403(0x131)](_0x52ac22)){if(_0x5130a3[_0x409403(0x131)](_0x52ac22))_0xce3959++;else{if(_0x52ac22!=_0x3d307c[_0xce3959]){const _0x26291a=_0x175ddf[_0x409403(0x1da)](_0x52ac22)||_0x175ddf[_0x409403(0x1da)](_0x3d307c[_0xce3959]);for(;_0x52ac22!=_0x3d307c[_0xce3959];)_0x5130a3[_0x409403(0x131)](_0x3d307c[_0xce3959])||(_0x2074e2[_0x409403(0x13e)](_0x3d307c[_0xce3959],_0x26291a),_0x175ddf[_0x409403(0x13e)](_0x3d307c[_0xce3959],_0x26291a)),_0xce3959++;}_0xce3959++;}}}}for(const _0x51ded8 of _0xb367d2){const _0x237219=_0x3f9a56[_0x409403(0x1ac)][_0x51ded8];for(const _0x2dfc2c of _0x237219){const _0x5cb836=this[_0x409403(0x194)](_0x2dfc2c),_0x11ee6d=_0x2dfc2c[_0x409403(0x1ce)][_0x409403(0x1cb)](_0x5cb836);if(_0x2074e2[_0x409403(0x131)](_0x11ee6d)){const _0xe9f922=_0x2074e2[_0x409403(0x1da)](_0x11ee6d);_0x5130a3[_0x409403(0x131)](_0x11ee6d)||_0x5130a3[_0x409403(0x13e)](_0x11ee6d,{..._0xe9f922}),_0x36ce60[_0x409403(0x13e)](_0x11ee6d,{..._0xe9f922});}}}for(const _0x5e4083 of _0x5130a3[_0x409403(0xef)]())_0x5e4083>=this[_0x409403(0x161)]&&_0x5130a3[_0x409403(0x192)](_0x5e4083);const _0x484893=new Map();for(const _0x3cc100 of _0xb367d2){let _0x501ca2=_0x3f9a56[_0x409403(0x1ac)][_0x3cc100];for(const _0x46f1ba of _0x501ca2)if(_0x46f1ba[_0x409403(0x1ce)]['is'](_0x409403(0xf7),_0x409403(0xbb))){const _0x2901c5=this[_0x409403(0x194)](_0x46f1ba),_0x1fab36=_0x46f1ba[_0x409403(0x1ce)][_0x409403(0x1cb)](_0x2901c5);if(_0x36ce60[_0x409403(0x131)](_0x1fab36)){const _0x2e29d7=_0x46f1ba[_0x409403(0x1ce)][_0x409403(0xdc)][_0x409403(0xdc)][_0x409403(0x1cb)](_0x409403(0x1b1)),_0x244fd7=_0x484893[_0x409403(0x1da)](_0x2e29d7)||new Set();_0x244fd7[_0x409403(0x1b4)](_0x36ce60[_0x409403(0x1da)](_0x1fab36)[_0x409403(0xcf)]),_0x484893[_0x409403(0x13e)](_0x2e29d7,_0x244fd7);}}_0x501ca2=_0x3f9a56[_0x409403(0xcb)][_0x3cc100];for(const _0x3cc15d of _0x501ca2)if(_0x3cc15d[_0x409403(0x1ce)]['is'](_0x409403(0xf7),_0x409403(0xbb))){const _0xef452a=this[_0x409403(0x194)](_0x3cc15d),_0x3d368c=_0x3cc15d[_0x409403(0x1ce)][_0x409403(0x1cb)](_0xef452a);if(_0x5130a3[_0x409403(0x131)](_0x3d368c)){const _0x53210f=_0x3cc15d[_0x409403(0x1ce)][_0x409403(0xdc)][_0x409403(0xdc)][_0x409403(0x1cb)](_0x409403(0x1b1)),_0x1481c6=_0x484893[_0x409403(0x1da)](_0x53210f)||new Set();_0x1481c6[_0x409403(0x1b4)](_0x5130a3[_0x409403(0x1da)](_0x3d368c)[_0x409403(0xcf)]),_0x484893[_0x409403(0x13e)](_0x53210f,_0x1481c6);}}for(const _0x3af15a of _0x484893[_0x409403(0xef)]())(_0x36ce60[_0x409403(0x131)](_0x3af15a)||_0x5130a3[_0x409403(0x131)](_0x3af15a))&&_0x484893[_0x409403(0x192)](_0x3af15a);}for(const _0x21ad0e of _0xb367d2){const _0x500402=_0x3f9a56[_0x409403(0x1ac)][_0x21ad0e];let _0x51b978=null,_0x250679=null;for(const _0x1ad16d of _0x500402){const _0x592644=this[_0x409403(0x194)](_0x1ad16d),_0x1617b3=_0x1ad16d[_0x409403(0x1ce)][_0x409403(0x1cb)](_0x592644),_0x3614b1=_0x484893[_0x409403(0x1da)](_0x1617b3);_0x3614b1&&_0x409403(0x12b)==_0x1ad16d[_0x409403(0x167)]&&(_0x51b978=Array[_0x409403(0x109)](_0x3614b1)[0x0],_0x250679=_0x1ad16d[_0x409403(0x1ce)][_0x409403(0x1cb)](_0x409403(0xc6))),_0x51b978&&(_0x5130a3[_0x409403(0x13e)](_0x1617b3,{'userId':_0x51b978}),_0x36ce60[_0x409403(0x13e)](_0x1617b3,{'userId':_0x51b978})),_0x1617b3==_0x250679&&(_0x51b978=null,_0x250679=null);}}const _0x1703ef={},_0x20ebd0=new Set();for(const _0x45ee8d of _0xb367d2){const _0x3713b1=_0x57a136[_0x409403(0xcb)][_0x45ee8d],_0x5eb132=_0x57a136[_0x409403(0x1ac)][_0x45ee8d];for(const {userId:_0x59d4bc}of this[_0x409403(0x144)][_0x409403(0x172)]())null!==_0x59d4bc&&_0x20ebd0[_0x409403(0x1b4)](_0x59d4bc);for(const {userId:_0x1b1129}of this[_0x409403(0x17f)][_0x409403(0x172)]())null!==_0x1b1129&&_0x20ebd0[_0x409403(0x1b4)](_0x1b1129);this[_0x409403(0x10e)](_0x5eb132,_0x3f9a56[_0x409403(0x1ac)][_0x45ee8d],_0x36ce60,_0x409403(0x181),_0x20ebd0),this[_0x409403(0x10e)](_0x3713b1,_0x3f9a56[_0x409403(0xcb)][_0x45ee8d],_0x5130a3,_0x409403(0xed),_0x20ebd0),_0x1703ef[_0x45ee8d]={'insertions':this[_0x409403(0x1d9)](_0x5eb132),'deletions':this[_0x409403(0x1d9)](_0x3713b1),'attachChange':this[_0x409403(0x17f)][_0x409403(0x1da)](_0x45ee8d)||null,'attributesBefore':_0x519237(this[_0x409403(0x10b)][_0x409403(0x1da)](_0x45ee8d))||{},'attributesAfter':_0x519237(this[_0x409403(0x142)][_0x409403(0x1da)](_0x45ee8d))};}return{'diffData':_0x1703ef,'authorsIds':Array[_0x409403(0x109)](_0x20ebd0)};}[_0x27b10a(0x1b2)](_0x1d7430){const _0x932244=_0x27b10a;for(const [,_0x375020]of _0x1d7430[_0x932244(0xc4)]){const _0x372ad7=_0x375020[_0x932244(0x18c)][_0x932244(0xf0)]()[_0x932244(0x1ba)](_0x2ae031=>_0x932244(0xbb)==_0x2ae031[_0x932244(0x1b3)]);for(const _0x68aace of _0x372ad7)0x1==_0x68aace[_0x932244(0x14a)]&&_0x68aace[_0x932244(0x137)](0x0)['is'](_0x932244(0xf7),_0x932244(0xdb))&&_0x68aace[_0x932244(0x137)](0x0)[_0x932244(0x15f)](_0x932244(0x1d6),!0x0);}}[_0x27b10a(0x1d9)](_0x37ba9b){const _0xec2693=_0x27b10a;this[_0xec2693(0x1b2)](_0x37ba9b);const _0x55f653=this[_0xec2693(0x153)][_0xec2693(0xfa)][_0xec2693(0x1c8)](_0x37ba9b,{}),_0x5a5593=Array[_0xec2693(0x109)](_0x55f653[_0xec2693(0x119)]())[_0xec2693(0xd0)](_0x23a0f8=>this[_0xec2693(0x1de)](_0x23a0f8));return JSON[_0xec2693(0x105)](_0x5a5593);}[_0x27b10a(0x1de)](_0x56cdcf){const _0xd3e02a=_0x27b10a;if(_0x56cdcf['is'](_0xd3e02a(0x12a)))return _0x56cdcf[_0xd3e02a(0xfa)];{const _0x306214=_0x56cdcf;return{'type':Object[_0xd3e02a(0xef)](T)[_0xd3e02a(0x14b)](_0x54f055=>_0x56cdcf instanceof T[_0x54f055]),'name':_0x306214[_0xd3e02a(0x1b3)],'attributes':Array[_0xd3e02a(0x109)](_0x306214[_0xd3e02a(0x1c7)]()),'children':Array[_0xd3e02a(0x109)](_0x306214[_0xd3e02a(0x119)]())[_0xd3e02a(0xd0)](_0x3751e5=>this[_0xd3e02a(0x1de)](_0x3751e5))};}}[_0x27b10a(0x10e)](_0x138d12,_0x5a8b8f,_0x331195,_0x8e6687,_0x594b0b){const _0x2d2623=_0x27b10a;let _0x40b014=null,_0x40868b=null,_0x1cdf0a=0x0;const _0x54885c=this[_0x2d2623(0x153)][_0x2d2623(0x124)];for(let _0x496ece=0x0;_0x496ece<_0x5a8b8f[_0x2d2623(0x11e)];_0x496ece++){const _0x10c301=this[_0x2d2623(0x194)](_0x5a8b8f[_0x496ece]),_0xf6a50a=_0x5a8b8f[_0x496ece][_0x2d2623(0x1ce)][_0x2d2623(0x1cb)](_0x10c301),_0x5422ff=_0x331195[_0x2d2623(0x1da)](_0xf6a50a),_0x43ed25=_0x496ece==_0x5a8b8f[_0x2d2623(0x11e)]-0x1;(!_0x40b014&&_0x5422ff&&(_0x40b014=_0x5422ff,_0x40868b=_0x5a8b8f[_0x496ece]),_0x40b014&&(!_0x5422ff||_0x5422ff[_0x2d2623(0xcf)]!=_0x40b014[_0x2d2623(0xcf)]))&&(_0x4876e3(_0x5422ff,L(_0x40868b,_0x138d12,_0x54885c),L(_0x5a8b8f[_0x496ece],_0x138d12,_0x54885c)),_0x40b014=_0x5422ff||null,_0x40868b=_0x5422ff?_0x5a8b8f[_0x496ece]:null),_0x40b014&&_0x43ed25&&_0x4876e3(_0x5422ff,L(_0x40868b,_0x138d12,_0x54885c),W(_0x5a8b8f[_0x496ece],_0x138d12,_0x54885c));}function _0x4876e3(_0x1626d0,_0x3602b8,_0x119670){const _0x47339a=_0x2d2623,_0x4f7131=_0x40b014[_0x47339a(0xcf)],_0x22ca4f=_0x47339a(0x13f)+_0x8e6687+':'+_0x4f7131+':'+_0x1cdf0a++,_0x415a78=_0x54885c[_0x47339a(0xbc)](_0x3602b8,_0x119670);_0x138d12[_0x47339a(0xc4)][_0x47339a(0x13e)](_0x22ca4f,_0x415a78),null!==_0x4f7131&&_0x594b0b[_0x47339a(0x1b4)](_0x4f7131);}}[_0x27b10a(0x194)](_0x4c8518){const _0x48f187=_0x27b10a;switch(_0x4c8518[_0x48f187(0x167)]){case _0x48f187(0x12b):return _0x48f187(0x1b1);case _0x48f187(0x183):return _0x48f187(0xc6);default:return _0x48f187(0x1a8);}}[_0x27b10a(0xd4)](_0x438f55,_0x27fcdf){const _0x3fdf3c=_0x27b10a;_0x438f55[_0x3fdf3c(0x174)]=null;for(const _0x3846fa in _0x438f55){const _0x103efc=_0x438f55[_0x3846fa];if(_0x103efc instanceof _0x724727){const _0x4d2f43=_0x27fcdf[_0x3fdf3c(0x1da)](_0x103efc[_0x3fdf3c(0x186)][_0x3fdf3c(0x1af)]);_0x438f55[_0x3846fa]=this[_0x3fdf3c(0x133)](_0x103efc,_0x4d2f43);}if(_0x103efc instanceof _0x27210b){const _0x364013=_0x27fcdf[_0x3fdf3c(0x1da)](_0x103efc[_0x3fdf3c(0x186)][_0x3fdf3c(0x1af)]);_0x438f55[_0x3846fa]=this[_0x3fdf3c(0x168)](_0x103efc,_0x364013);}_0x3fdf3c(0x186)===_0x3846fa&&(_0x438f55[_0x3fdf3c(0x186)]=_0x27fcdf[_0x3fdf3c(0x1da)](_0x438f55[_0x3fdf3c(0x186)][_0x3fdf3c(0x1af)]));}}[_0x27b10a(0x168)](_0x222888,_0x3e0f67){const _0x599b29=_0x27b10a;return this[_0x599b29(0x153)][_0x599b29(0x124)][_0x599b29(0xbc)](this[_0x599b29(0x133)](_0x222888[_0x599b29(0x18c)],_0x3e0f67),this[_0x599b29(0x133)](_0x222888[_0x599b29(0x178)],_0x3e0f67));}[_0x27b10a(0x133)](_0x41ec17,_0x17848e){const _0x16f7a0=_0x27b10a;return this[_0x16f7a0(0x153)][_0x16f7a0(0x124)][_0x16f7a0(0x147)](_0x17848e,_0x41ec17[_0x16f7a0(0x1a6)],_0x41ec17[_0x16f7a0(0xf2)]);}[_0x27b10a(0x13c)](_0x13b368){const _0x24c7bc=_0x27b10a,_0x2efe0b=this[_0x24c7bc(0x1bc)][_0x24c7bc(0x1da)](_0x13b368[_0x24c7bc(0x1bb)][_0x24c7bc(0x186)][_0x24c7bc(0x1af)]),_0x550aa6=this[_0x24c7bc(0x133)](_0x13b368[_0x24c7bc(0x1bb)],_0x2efe0b),_0x203ec8=null===_0x13b368[_0x24c7bc(0x18b)]?null:_0x13b368[_0x24c7bc(0x18b)]||this[_0x24c7bc(0x153)][_0x24c7bc(0x1cd)][_0x24c7bc(0x1da)](_0x24c7bc(0x1a9))['me']['id'],_0x5d4da9=_0x550aa6[_0x24c7bc(0xdc)],_0x22d2b9=this[_0x24c7bc(0x1a1)],_0x2fb2ca=[];for(const _0x37f28b of _0x13b368[_0x24c7bc(0xf9)])if(_0x37f28b['is'](_0x24c7bc(0xf7)))_0x2fb2ca[_0x24c7bc(0xc7)](this[_0x24c7bc(0x14d)](_0x37f28b));else{for(let _0x510355=0x0;_0x510355<_0x37f28b[_0x24c7bc(0x140)];_0x510355++)_0x2fb2ca[_0x24c7bc(0xc7)](new _0x184b2f(_0x24c7bc(0x12a),{'vid':this[_0x24c7bc(0x1a1)]++}));}const _0x490744=this[_0x24c7bc(0x1a1)];for(let _0x485311=_0x22d2b9;_0x485311<_0x490744;_0x485311++)this[_0x24c7bc(0x125)][_0x24c7bc(0x13e)](_0x485311,{'userId':_0x203ec8});_0x5d4da9[_0x24c7bc(0x114)](_0x550aa6[_0x24c7bc(0x18f)],_0x2fb2ca);}[_0x27b10a(0xd9)](_0xacdde5){const _0x372611=_0x27b10a;(_0xacdde5=this[_0x372611(0x100)](_0xacdde5,this[_0x372611(0x1bc)]))[_0x372611(0x1c1)]();const _0x36fc74=null===_0xacdde5[_0x372611(0x18b)]?null:_0xacdde5[_0x372611(0x18b)]||this[_0x372611(0x153)][_0x372611(0x1cd)][_0x372611(0x1da)](_0x372611(0x1a9))['me']['id'],_0x5cd5f6=_0xacdde5[_0x372611(0xf8)](),_0x29c6c5=_0x5cd5f6[_0x372611(0xdc)],_0x13e4fd=_0x5cd5f6[_0x372611(0x18f)];!function _0x252912(_0x35d366,_0x55528f,_0x311af4,_0x2e430e){const _0x33af38=_0x372611;for(let _0x5cbc33=_0x311af4;_0x5cbc33<_0x2e430e;_0x5cbc33++){const _0x5a2097=_0x55528f[_0x33af38(0x137)](_0x5cbc33);_0x5a2097['is'](_0x33af38(0xf7),_0x33af38(0x12a))?_0x35d366[_0x33af38(0x13e)](_0x5a2097[_0x33af38(0x1cb)](_0x33af38(0x1a8)),{'userId':_0x36fc74}):(_0x35d366[_0x33af38(0x13e)](_0x5a2097[_0x33af38(0x1cb)](_0x33af38(0x1b1)),{'userId':_0x36fc74}),_0x252912(_0x35d366,_0x5a2097,0x0,_0x5a2097[_0x33af38(0x14a)]),_0x35d366[_0x33af38(0x13e)](_0x5a2097[_0x33af38(0x1cb)](_0x33af38(0xc6)),{'userId':_0x36fc74}));}}(this[_0x372611(0x125)],_0x29c6c5,_0x13e4fd,_0x13e4fd+_0xacdde5[_0x372611(0xe4)]);}[_0x27b10a(0x16a)](_0x5ccc0a){const _0x3b3187=_0x27b10a,_0x43231b=null===(_0x5ccc0a=this[_0x3b3187(0x100)](_0x5ccc0a,this[_0x3b3187(0x1bc)]))[_0x3b3187(0x18b)]?null:_0x5ccc0a[_0x3b3187(0x18b)]||this[_0x3b3187(0x153)][_0x3b3187(0x1cd)][_0x3b3187(0x1da)](_0x3b3187(0x1a9))['me']['id'],_0x18c5ef=_0x5ccc0a[_0x3b3187(0x135)][_0x3b3187(0xdc)],_0x40998e=_0x5ccc0a[_0x3b3187(0x187)][_0x3b3187(0xdc)],_0x2eee2c=_0x18c5ef[_0x3b3187(0x1cb)](_0x3b3187(0xc6)),_0x14c46e=_0x40998e[_0x3b3187(0x1cb)](_0x3b3187(0x1b1));_0x18c5ef[_0x3b3187(0x15f)](_0x3b3187(0xc6),_0x40998e[_0x3b3187(0x1cb)](_0x3b3187(0xc6))),_0x40998e[_0x3b3187(0x15f)](_0x3b3187(0xc6),_0x2eee2c),this[_0x3b3187(0x125)][_0x3b3187(0x13e)](_0x14c46e,{'userId':_0x43231b}),this[_0x3b3187(0x125)][_0x3b3187(0x13e)](_0x2eee2c,{'userId':_0x43231b}),_0x5ccc0a[_0x3b3187(0x1c1)]();}[_0x27b10a(0x130)](_0x395494){const _0x27502b=_0x27b10a,_0xadf8c3=null===(_0x395494=this[_0x27502b(0x100)](_0x395494,this[_0x27502b(0x1bc)]))[_0x27502b(0x18b)]?null:_0x395494[_0x27502b(0x18b)]||this[_0x27502b(0x153)][_0x27502b(0x1cd)][_0x27502b(0x1da)](_0x27502b(0x1a9))['me']['id'],_0x2fb787=_0x395494[_0x27502b(0x1bd)],_0x4a4e61=_0x395494[_0x27502b(0x12e)][_0x27502b(0xdc)];_0x395494[_0x27502b(0x1c1)]();const _0x29f83e=_0x4a4e61[_0x27502b(0x1cb)](_0x27502b(0xc6)),_0x4bdec2=_0x395494[_0x27502b(0x156)][_0x27502b(0x1ad)];if(_0x2fb787){const _0x1d4e51=_0x4bdec2[_0x27502b(0x1cb)](_0x27502b(0xc6)),_0x2b446b=_0x4a4e61[_0x27502b(0x1cb)](_0x27502b(0xc6));_0x4a4e61[_0x27502b(0x15f)](_0x27502b(0xc6),_0x1d4e51),_0x4bdec2[_0x27502b(0x15f)](_0x27502b(0xc6),_0x2b446b),this[_0x27502b(0x125)][_0x27502b(0x13e)](_0x4a4e61[_0x27502b(0x1cb)](_0x27502b(0xc6)),{'userId':_0xadf8c3}),this[_0x27502b(0x125)][_0x27502b(0x13e)](_0x4bdec2[_0x27502b(0x1cb)](_0x27502b(0x1b1)),{'userId':_0xadf8c3});}else{const _0x29f39c=this[_0x27502b(0x1a1)]++,_0x52e8a3=this[_0x27502b(0x1a1)]++;_0x4a4e61[_0x27502b(0x15f)](_0x27502b(0xc6),_0x29f39c),_0x4bdec2[_0x27502b(0x15f)](_0x27502b(0x1b1),_0x52e8a3),_0x4bdec2[_0x27502b(0x15f)](_0x27502b(0xc6),_0x29f83e),this[_0x27502b(0x125)][_0x27502b(0x13e)](_0x29f39c,{'userId':_0xadf8c3}),this[_0x27502b(0x125)][_0x27502b(0x13e)](_0x52e8a3,{'userId':_0xadf8c3});}}[_0x27b10a(0x11d)](_0x463831){const _0x150a38=_0x27b10a;if(!_0x463831[_0x150a38(0x149)])return;const _0x4f1c81=(_0x463831=this[_0x150a38(0x100)](_0x463831,this[_0x150a38(0x19b)]))[_0x150a38(0x1b7)]?_0x463831[_0x150a38(0x1b7)][_0x150a38(0x186)]:null,_0x30591b=_0x463831[_0x150a38(0xf1)]?_0x463831[_0x150a38(0xf1)][_0x150a38(0x186)]:null;_0x4f1c81&&this[_0x150a38(0x1c3)][_0x150a38(0x192)](_0x463831[_0x150a38(0x1b3)]),_0x30591b&&this[_0x150a38(0x1c3)][_0x150a38(0x13e)](_0x463831[_0x150a38(0x1b3)],_0x463831[_0x150a38(0xf1)][_0x150a38(0xd7)]());const _0x344228=null===_0x463831[_0x150a38(0x18b)]?null:_0x463831[_0x150a38(0x18b)]||this[_0x150a38(0x153)][_0x150a38(0x1cd)][_0x150a38(0x1da)](_0x150a38(0x1a9))['me']['id'],_0x184cff=_0x463831[_0x150a38(0x1b3)];if(!this[_0x150a38(0x144)][_0x150a38(0x131)](_0x184cff))return void this[_0x150a38(0x144)][_0x150a38(0x13e)](_0x184cff,{'range':_0x463831[_0x150a38(0x1b7)],'userId':_0x344228});const _0x453d18=this[_0x150a38(0x144)][_0x150a38(0x1da)](_0x184cff),_0x445a8d=_0x453d18[_0x150a38(0xfd)],_0x5c0083=_0x463831[_0x150a38(0xf1)];null==_0x445a8d&&null==_0x5c0083||_0x445a8d&&_0x5c0083&&_0x445a8d[_0x150a38(0x141)](_0x5c0083)?this[_0x150a38(0x144)][_0x150a38(0x192)](_0x463831[_0x150a38(0x1b3)]):_0x453d18[_0x150a38(0xcf)]=_0x344228;}[_0x27b10a(0x1a7)](_0x178fc2,_0x2dc349){const _0x34ed2d=_0x27b10a;this[_0x34ed2d(0x19b)][_0x34ed2d(0x131)](_0x178fc2[_0x34ed2d(0x1af)])?this[_0x34ed2d(0x19b)][_0x34ed2d(0x1da)](_0x178fc2[_0x34ed2d(0x1af)])[_0x34ed2d(0xce)]=_0x178fc2[_0x34ed2d(0xc9)]:(this[_0x34ed2d(0x19b)][_0x34ed2d(0x13e)](_0x178fc2[_0x34ed2d(0x1af)],G(_0x178fc2[_0x34ed2d(0x1af)],!0x0)),this[_0x34ed2d(0x142)][_0x34ed2d(0x13e)](_0x178fc2[_0x34ed2d(0x1af)],{}),_0x2dc349&&this[_0x34ed2d(0x1bc)][_0x34ed2d(0x13e)](_0x178fc2[_0x34ed2d(0x1af)],G(_0x178fc2[_0x34ed2d(0x1af)],!0x0)));const _0x49e64c=null===_0x178fc2[_0x34ed2d(0x18b)]?null:_0x178fc2[_0x34ed2d(0x18b)]||this[_0x34ed2d(0x153)][_0x34ed2d(0x1cd)][_0x34ed2d(0x1da)](_0x34ed2d(0x1a9))['me']['id'],_0x2fc71e=this[_0x34ed2d(0x17f)][_0x34ed2d(0x1da)](_0x178fc2[_0x34ed2d(0x1af)]);_0x2fc71e&&_0x2fc71e[_0x34ed2d(0xcf)]===_0x49e64c?this[_0x34ed2d(0x17f)][_0x34ed2d(0x192)](_0x178fc2[_0x34ed2d(0x1af)]):this[_0x34ed2d(0x17f)][_0x34ed2d(0x13e)](_0x178fc2[_0x34ed2d(0x1af)],{'userId':_0x49e64c,'isAttached':_0x178fc2[_0x34ed2d(0xc9)]});}[_0x27b10a(0x1b0)](_0x47386b){const _0x5a06d3=_0x27b10a,_0x3bc570=this[_0x5a06d3(0x142)][_0x5a06d3(0x1da)](_0x47386b[_0x5a06d3(0x186)][_0x5a06d3(0x1af)]);null===_0x47386b[_0x5a06d3(0x12d)]?delete _0x3bc570[_0x47386b[_0x5a06d3(0x13d)]]:_0x3bc570[_0x47386b[_0x5a06d3(0x13d)]]=_0x47386b[_0x5a06d3(0x12d)];}}function _0x5b51(_0x4ebc30,_0x46ec51){const _0x124073=_0x1240();return _0x5b51=function(_0x5b5162,_0x1c04ff){_0x5b5162=_0x5b5162-0xb4;let _0x19a64f=_0x124073[_0x5b5162];return _0x19a64f;},_0x5b51(_0x4ebc30,_0x46ec51);}function q(_0x1d5a7d){const _0x517717=_0x27b10a,_0x1733cc=G(_0x1d5a7d[_0x517717(0x1af)],_0x1d5a7d[_0x517717(0x12c)]());for(const _0x5b9b18 of _0x1d5a7d[_0x517717(0x119)]()){const _0x1da93d=_0x5b9b18[_0x517717(0x18d)](!0x0);_0x1733cc[_0x517717(0x134)](_0x1da93d);}return _0x1733cc;}function G(_0x5e3645,_0xc9b117=!0x0){const _0x885ae2=_0x27b10a,_0x1c8db5=new _0x1984ba();return _0x1c8db5[_0x885ae2(0x1af)]=_0x5e3645,_0x1c8db5[_0x885ae2(0xce)]=_0xc9b117,_0x1c8db5[_0x885ae2(0x12c)]=()=>_0x1c8db5[_0x885ae2(0xce)],_0x1c8db5;}function L(_0x40396a,_0x19c19e,_0x1d6f9e){const _0x301b96=_0x27b10a,_0x10306c=_0x301b96(0x183)==_0x40396a[_0x301b96(0x167)]?_0x1d6f9e[_0x301b96(0xb5)](_0x40396a[_0x301b96(0x1ce)],_0x301b96(0x178)):_0x1d6f9e[_0x301b96(0x102)](_0x40396a[_0x301b96(0x1ce)]);return _0x1d6f9e[_0x301b96(0x147)](_0x19c19e,_0x10306c[_0x301b96(0x1a6)],_0x10306c[_0x301b96(0xf2)]);}function W(_0x2473f1,_0x127610,_0x5a6f1c){const _0x4e5067=_0x27b10a,_0x359066=_0x4e5067(0x12b)==_0x2473f1[_0x4e5067(0x167)]?_0x5a6f1c[_0x4e5067(0xb5)](_0x2473f1[_0x4e5067(0x1ce)],0x0):_0x5a6f1c[_0x4e5067(0x139)](_0x2473f1[_0x4e5067(0x1ce)]);return _0x5a6f1c[_0x4e5067(0x147)](_0x127610,_0x359066[_0x4e5067(0x1a6)],_0x359066[_0x4e5067(0xf2)]);}
|
|
23
|
+
const _0x47aec1=_0xe2b3;(function(_0x374b57,_0x4321d4){const _0x53a952=_0xe2b3,_0x48a13d=_0x374b57();while(!![]){try{const _0x13a873=-parseInt(_0x53a952(0x1e0))/0x1*(parseInt(_0x53a952(0x232))/0x2)+-parseInt(_0x53a952(0x2dc))/0x3*(parseInt(_0x53a952(0x25e))/0x4)+-parseInt(_0x53a952(0x20f))/0x5*(parseInt(_0x53a952(0x1e1))/0x6)+-parseInt(_0x53a952(0x29c))/0x7+parseInt(_0x53a952(0x2a4))/0x8*(parseInt(_0x53a952(0x224))/0x9)+-parseInt(_0x53a952(0x1cd))/0xa*(parseInt(_0x53a952(0x2b4))/0xb)+parseInt(_0x53a952(0x208))/0xc;if(_0x13a873===_0x4321d4)break;else _0x48a13d['push'](_0x48a13d['shift']());}catch(_0x130c3e){_0x48a13d['push'](_0x48a13d['shift']());}}}(_0x3d24,0x7e829));import{Users as _0x126567}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3d24(){const _0x5f76e8=['deletion','_insertChild','_fixRange','_removeMetaData','_saveMetaData','dataDowncast','_prepareViewToSave','tableCell','663160QKXiGE','forEach','offsetSize','reinsert','view','getTransformedByOperation','getRevisionDocumentData','source','resolve','attributes','_fixPosition','_bufferUpdate','_setAttribute','_getState','define','_applyOperations','attributesBefore','_markChanges','getAttribute','_appendChild','addRoot','_lastTo','targetPosition','_createCurrentRevision','rootName','config','previousPosition','dataToMarker','attachChange','_startingRevisionId','parent','setSource','creatorId','splitPosition','set','from','toModel','markers','history','_handleInsertOperation','size','getTime','plugins','_generateTape','_isPendingUpdate','getRevision','document','getOperation','loadState','isAdd','attributesAfter','_createInitialRevision','_diffRootsAttributes','includes','Users','getMovedRangeStart','keys','some','stickiness','roots','_transformMarkers','editor','2539320AesEgi','RevisionsRepository','detachRoot','getOperations','_processRootBeforeSave','_makeIdsRoot','createPositionFromPath','_getFromVersion','16OyLNlO','getWalker','default','init','split','addRevision','revision','updateRevisions','_handleMarkerOperation','_isAttached','marker','text','model','PendingActions','requires','affectsData','8256061gZZNOm','_touchedMarkers','_savedMetaData','_getPreviousFrom','nodeAfter','_loadRevisionData','_baseRoots','values','getRange','_operations','PENDING_ACTION_REVISION_HISTORY','buildRevisionData','_fixOperation','slice','delete','conversion','element','then','addRevisionData','find','getUser','revision:','start','oldRange','getAncestors','afterInit','_handleSplitOperation','revision-start','$text','_getViewJson','getRevisions','reInit','position','isAttached','vid_start','nodes','_authorId','hasContent','pluginName','merge','9hBzzkh','filter','getLatestVersion','_clone','isEnabled','saveRevision','_handleMoveOperation','_findInsertionIndex','parse','documentFragment','deletions','_markers','collaboration.channelId','children','key','fromEntries','finally','_handleRootAttributeOperation','_reset','getRoot','move','isEqual','repository','createRevision','initial','_lastFrom','_baseRootsAttributes','type','version','getIndex','10hjoFov','getChildren','getNodeByPath','initialData','childCount','_bufferedUpdates','_source','addRootAttribute','shift','_diffRoots','RealTimeCollaborationClient','data-revision-','_cloneOperation','startsWith','userId','_update','root','useFillerType','getData','616579XlnIBm','6438FFgelw','authorsIds','_getVidAttributeName','adapter','createPositionAt','get','_continueCurrentRevision','clear','toData','getRevisionRootsAttributes','insertionPosition','_getBaseVids','for','update','stringify','editing','_copyMarkers','elementStart','has','upcast','getAttributes','revision-end','item','range','rootsAttributes','newValue','processor','_removePendingAction','_removeRevisionMarkers','_baseIdsRoots','length','_idsRoots','reverse','_revisionDataBuilder','_pendingAction','sourcePosition','NEGATIVE_INFINITY','remove','_makeModelFromViewString','22777260UUxJJN','_touched','_calculateMetaData','RevisionTracker','paragraph','isReady','createPositionBefore','440NEbweT','end','toView','$graveyard','data','string','setRevisionData','sendBufferedUpdates','fromVersion','creator','_initialRevisionId','_startingVersion','insertion','_loadState','ready','newRange','trim','_addPendingAction','_handleRootOperation','_makeRevision','revisionHistory.resumeUnsavedRevision','4237938liVkBT','diffData','_createFromRanges','howMany','elementEnd','_setConversion','path','createRange','_handleOperation','_isInit','max','bind','getChild','vid','2OjyPnx','changeRootAttribute','Empty\x20document','_loadedStateData','insertions','clone','locale','keepParagraph','_handleMergeOperation','removeRootAttribute','currentRevision','baseVersion','vid_end','sort','marked','createRangeIn','createPositionAfter','_execute','Initial\x20revision','add','map','graveyardPosition','getCurrentRevisionId','_replaceEditorDataWithRevisionData','authors','_touchedRoots','_revisionId','createdAt','insert','name','offset','toVersion','editor-initial-data-replaced-with-revision-data','markerToData','getRootNames','push'];_0x3d24=function(){return _0x5f76e8;};return _0x3d24();}import{Plugin as _0x40765f,PendingActions as _0x692368}from'ckeditor5/src/core.js';import{logWarning as _0x40722f,uid as _0x5a811d}from'ckeditor5/src/utils.js';import{Position as _0x361f2f,Range as _0x5ab204,Element as _0x512062,DocumentFragment as _0x425490,ViewText as _0x382e47,ViewElement as _0x39a8e5,ViewContainerElement as _0x1d95e9,ViewAttributeElement as _0x55c4d6,ViewEmptyElement as _0x36280a,ViewRawElement as _0x20b779,ViewUIElement as _0x466176,ViewDocumentFragment as _0x4f0aea}from'ckeditor5/src/engine.js';import _0x37fe1e from'./revisionsrepository.js';import{getTranslation as _0x3c11c7}from'./utils/common-translations.js';import{cloneDeep as _0x200b98,isEqual as _0x4c2679}from'lodash-es';const T={'c':_0x1d95e9,'a':_0x55c4d6,'e':_0x36280a,'r':_0x20b779,'u':_0x466176};export default class l extends _0x40765f{static get[_0x47aec1(0x2da)](){const _0x2210d7=_0x47aec1;return _0x2210d7(0x20b);}static get[_0x47aec1(0x2b2)](){return[_0x126567,_0x37fe1e,_0x692368];}constructor(_0x3114ba){const _0xabe49e=_0x47aec1;super(_0x3114ba),this[_0xabe49e(0x1e4)]=null,this[_0xabe49e(0x23c)]=null,this[_0xabe49e(0x202)]=new J(this[_0xabe49e(0x29b)]),this[_0xabe49e(0x219)]=this[_0xabe49e(0x29b)][_0xabe49e(0x277)][_0xabe49e(0x1e6)](_0xabe49e(0x2e8))||_0xabe49e(0x1c7),this[_0xabe49e(0x1d2)]=new Map(),this[_0xabe49e(0x235)]=null;const _0x3d5ee9=_0x5a811d();this[_0xabe49e(0x1d3)]={'history':this[_0xabe49e(0x29b)][_0xabe49e(0x2b0)][_0xabe49e(0x28c)][_0xabe49e(0x284)],'getLatestVersion':()=>Promise[_0xabe49e(0x266)](this[_0xabe49e(0x29b)][_0xabe49e(0x2b0)][_0xabe49e(0x28c)][_0xabe49e(0x1cb)]),'getCurrentRevisionId':()=>_0x3d5ee9},this[_0xabe49e(0x280)](_0xabe49e(0x20d),!0x1),this[_0xabe49e(0x280)](_0xabe49e(0x2e0),!0x0),this[_0xabe49e(0x280)](_0xabe49e(0x28a),!0x1),this[_0xabe49e(0x29b)][_0xabe49e(0x277)][_0xabe49e(0x26c)](_0xabe49e(0x223),!0x0),this[_0xabe49e(0x29b)][_0xabe49e(0x2c3)][_0xabe49e(0x1ed)](_0xabe49e(0x1f4))[_0xabe49e(0x279)]({'view':_0xabe49e(0x2aa)});}[_0x47aec1(0x2a7)](){const _0xf7258f=_0x47aec1;this[_0xf7258f(0x1c5)]=this[_0xf7258f(0x29b)][_0xf7258f(0x288)][_0xf7258f(0x1e6)](_0xf7258f(0x29d)),this[_0xf7258f(0x229)](),this[_0xf7258f(0x29b)][_0xf7258f(0x213)]['on'](_0xf7258f(0x21d),()=>{const _0x46024c=_0xf7258f,_0x43288d=this[_0x46024c(0x1c5)][_0x46024c(0x28b)](0x0),_0x52dcef=_0x43288d&&null===_0x43288d[_0x46024c(0x218)]?_0x43288d:null;if(this[_0x46024c(0x1e7)]=!!_0x52dcef&&this[_0x46024c(0x29b)][_0x46024c(0x277)][_0x46024c(0x1e6)](_0x46024c(0x223)),this[_0x46024c(0x29b)][_0x46024c(0x288)][_0x46024c(0x1f3)](_0x46024c(0x1d7))){const _0x27a46b=this[_0x46024c(0x1d3)][_0x46024c(0x248)](),_0x26954f=this[_0x46024c(0x1c5)][_0x46024c(0x28b)](_0x27a46b);if(_0x26954f)this[_0x46024c(0x21a)]=_0x26954f[_0x46024c(0x217)],this[_0x46024c(0x1e7)]=!0x1;else{const _0x3e6616=this[_0x46024c(0x1d3)][_0x46024c(0x284)][_0x46024c(0x2bd)][_0x46024c(0x2c7)](_0x1e8d5e=>!_0x1e8d5e[_0x46024c(0x22d)]),_0xa97dca=_0x3e6616?_0x3e6616[_0x46024c(0x23d)]:this[_0x46024c(0x1d3)][_0x46024c(0x284)][_0x46024c(0x1cb)];_0x43288d?(_0x43288d[_0x46024c(0x251)]<_0xa97dca&&_0x43288d[_0x46024c(0x1dc)]({'toVersion':_0xa97dca}),this[_0x46024c(0x1e7)]?(this[_0x46024c(0x1d3)][_0x46024c(0x248)]=()=>_0x52dcef['id'],this[_0x46024c(0x21a)]=_0x52dcef[_0x46024c(0x217)]):(this[_0x46024c(0x21a)]=_0x43288d[_0x46024c(0x251)],this[_0x46024c(0x1e7)]=!0x1)):(this[_0x46024c(0x21a)]=_0xa97dca,this[_0x46024c(0x1e7)]=!0x1);}}else _0x52dcef&&(this[_0x46024c(0x29b)][_0x46024c(0x2b0)][_0x46024c(0x28c)][_0x46024c(0x284)][_0x46024c(0x1cb)]=Math[_0x46024c(0x22e)](_0x52dcef[_0x46024c(0x251)],this[_0x46024c(0x29b)][_0x46024c(0x2b0)][_0x46024c(0x28c)][_0x46024c(0x284)][_0x46024c(0x1cb)]),_0x52dcef[_0x46024c(0x217)]===_0x52dcef[_0x46024c(0x251)]?(0x0!==_0x52dcef[_0x46024c(0x217)]&&(this[_0x46024c(0x1d3)][_0x46024c(0x248)]=()=>_0x52dcef['id']),this[_0x46024c(0x1e7)]=!0x1):this[_0x46024c(0x1e7)]&&(this[_0x46024c(0x1d3)][_0x46024c(0x248)]=()=>_0x52dcef['id'],this[_0x46024c(0x21a)]=_0x52dcef[_0x46024c(0x217)])),this[_0x46024c(0x1e7)]||(this[_0x46024c(0x21a)]=this[_0x46024c(0x29b)][_0x46024c(0x2b0)][_0x46024c(0x28c)][_0x46024c(0x1cb)]);this[_0x46024c(0x202)][_0x46024c(0x2a7)](this[_0x46024c(0x1d3)][_0x46024c(0x284)]),this[_0x46024c(0x291)](this[_0x46024c(0x21a)]),this[_0x46024c(0x275)](this[_0x46024c(0x21a)]),this[_0x46024c(0x1e4)]&&this[_0x46024c(0x216)]();}),this[_0xf7258f(0x22f)](_0xf7258f(0x20d))['to'](this,_0xf7258f(0x28a),_0xcf7b8b=>!_0xcf7b8b);}async[_0x47aec1(0x2cd)](){const _0x175008=_0x47aec1;if(this[_0x175008(0x1c5)][_0x175008(0x1ff)]>0x0){const _0x27d069=this[_0x175008(0x1c5)][_0x175008(0x28b)](0x0),_0x377cec=await this[_0x175008(0x264)](_0x27d069),_0x101203=await this[_0x175008(0x1ea)](_0x27d069);this[_0x175008(0x249)](_0x377cec,_0x101203);}}[_0x47aec1(0x27d)](_0x180363){const _0x33becc=_0x47aec1;this[_0x33becc(0x1d3)]=_0x180363;}async[_0x47aec1(0x1ee)](){const _0x367bc2=_0x47aec1,_0x524541=await this[_0x367bc2(0x1d3)][_0x367bc2(0x2de)]();if(_0x524541>this[_0x367bc2(0x23c)][_0x367bc2(0x251)]){await this[_0x367bc2(0x21c)]();const _0x31203d=this[_0x367bc2(0x2bf)]({'revision':this[_0x367bc2(0x23c)],'to':_0x524541});_0x31203d[_0x367bc2(0x24a)]=_0x31203d[_0x367bc2(0x1e2)][_0x367bc2(0x246)](_0x262f8d=>this[_0x367bc2(0x29b)][_0x367bc2(0x288)][_0x367bc2(0x1e6)](_0x367bc2(0x294))[_0x367bc2(0x2c8)](_0x262f8d)),this[_0x367bc2(0x23c)][_0x367bc2(0x1dc)](_0x31203d);}}async[_0x47aec1(0x21c)](){const _0x419a64=_0x47aec1;this[_0x419a64(0x1e7)]&&!this[_0x419a64(0x235)]&&(await this[_0x419a64(0x2b9)](this[_0x419a64(0x23c)]),this[_0x419a64(0x202)][_0x419a64(0x28e)](this[_0x419a64(0x23c)]),this[_0x419a64(0x235)]={'fromVersion':this[_0x419a64(0x23c)][_0x419a64(0x217)],'authors':this[_0x419a64(0x23c)][_0x419a64(0x24a)][_0x419a64(0x2c1)]()});}async[_0x47aec1(0x2e1)](_0x179ee9={},_0x12907f=null){const _0x374437=_0x47aec1,_0x1f736f=[];await this[_0x374437(0x21c)](),this[_0x374437(0x1e7)]=!0x1,_0x12907f>this[_0x374437(0x23c)][_0x374437(0x251)]&&(_0x12907f=null),null===_0x12907f&&(_0x12907f=await this[_0x374437(0x1d3)][_0x374437(0x2de)]());const _0x22bc74=this[_0x374437(0x2a3)](_0x12907f),_0x9b70c8=this[_0x374437(0x2bf)]({'from':_0x22bc74,'to':_0x12907f});if(this[_0x374437(0x23c)][_0x374437(0x251)]<_0x12907f){const _0x54db49=this[_0x374437(0x2bf)]({'revision':this[_0x374437(0x23c)],'from':_0x12907f,'to':_0x12907f});_0x54db49[_0x374437(0x24a)]=[],_0x54db49[_0x374437(0x1e2)]=[],_0x54db49['id']=this[_0x374437(0x23c)]['id'],this[_0x374437(0x23c)][_0x374437(0x1dc)](_0x54db49,!0x0),delete _0x54db49[_0x374437(0x24a)],_0x1f736f[_0x374437(0x255)](_0x54db49);}_0x179ee9[_0x374437(0x27e)]=this[_0x374437(0x29b)][_0x374437(0x288)][_0x374437(0x1e6)](_0x374437(0x294))['me']['id'],_0x179ee9[_0x374437(0x24f)]=_0x179ee9[_0x374437(0x24f)]||null,_0x179ee9['id']=_0x179ee9['id']||_0x5a811d(),_0x179ee9={..._0x179ee9,..._0x9b70c8};const _0x3c3ac7=this[_0x374437(0x2c6)](_0x179ee9);_0x1f736f[_0x374437(0x255)](_0x179ee9);const _0x4b6cca=this[_0x374437(0x1c5)][_0x374437(0x1cc)](_0x3c3ac7);if(0x0!==_0x4b6cca){const _0x25ce36=this[_0x374437(0x1c5)][_0x374437(0x28b)](_0x4b6cca-0x1);if(_0x25ce36[_0x374437(0x217)]!==_0x12907f){const _0x107073=this[_0x374437(0x202)][_0x374437(0x1df)](_0x12907f,_0x25ce36[_0x374437(0x251)]),_0x269897={'id':_0x25ce36['id'],'diffData':_0x107073[_0x374437(0x225)],'authorsIds':_0x107073[_0x374437(0x1e2)],'authors':_0x107073[_0x374437(0x1e2)][_0x374437(0x246)](_0x57abdb=>this[_0x374437(0x29b)][_0x374437(0x288)][_0x374437(0x1e6)](_0x374437(0x294))[_0x374437(0x2c8)](_0x57abdb)),'fromVersion':_0x12907f};_0x25ce36===this[_0x374437(0x23c)]&&(_0x269897[_0x374437(0x24d)]=new Date(_0x179ee9[_0x374437(0x24d)][_0x374437(0x287)]()+0xa)),_0x25ce36[_0x374437(0x1dc)](_0x269897,!0x0),delete _0x269897[_0x374437(0x24a)],_0x1f736f[_0x374437(0x255)](_0x269897);}}if(this[_0x374437(0x1e4)]){for(const _0x38952d of _0x1f736f)this[_0x374437(0x269)](_0x38952d['id'],_0x38952d,!0x0);this[_0x374437(0x216)]();}return _0x3c3ac7;}[_0x47aec1(0x2c6)](_0x593f4a){const _0x393262=_0x47aec1,_0xa46dbd=this[_0x393262(0x1c5)][_0x393262(0x1c6)](_0x593f4a);return this[_0x393262(0x1e4)]&&_0xa46dbd['on'](_0x393262(0x1dc),(_0x2674fe,_0x2e163f,_0x189dc9)=>{const _0x43fba6=_0x393262;_0x189dc9||(this[_0x43fba6(0x269)](_0x2e163f['id'],_0x2e163f,!0x0),this[_0x43fba6(0x216)]());}),this[_0x393262(0x1c5)][_0x393262(0x2a9)](_0xa46dbd,this[_0x393262(0x2e3)](_0xa46dbd)),_0xa46dbd;}async[_0x47aec1(0x264)](_0x12b751){const _0xa6ba3f=_0x47aec1;await this[_0xa6ba3f(0x2b9)](_0x12b751);const _0x1b9417={};for(const _0x3d0dcc in _0x12b751[_0xa6ba3f(0x225)]){if(_0x12b751[_0xa6ba3f(0x225)][_0x3d0dcc][_0xa6ba3f(0x27a)]&&!_0x12b751[_0xa6ba3f(0x225)][_0x3d0dcc][_0xa6ba3f(0x27a)][_0xa6ba3f(0x2d5)])continue;const _0x4c4e1d=this[_0xa6ba3f(0x1fd)](JSON[_0xa6ba3f(0x2e4)](_0x12b751[_0xa6ba3f(0x225)][_0x3d0dcc][_0xa6ba3f(0x236)])),_0xf43eb4=this[_0xa6ba3f(0x29b)][_0xa6ba3f(0x1f0)][_0xa6ba3f(0x262)][_0xa6ba3f(0x28c)],_0x109437=new _0x4f0aea(_0xf43eb4,_0x4c4e1d[_0xa6ba3f(0x246)](_0x47505b=>B(_0x47505b,this[_0xa6ba3f(0x29b)])));this[_0xa6ba3f(0x29b)][_0xa6ba3f(0x213)][_0xa6ba3f(0x1fb)][_0xa6ba3f(0x1de)](_0xa6ba3f(0x240)),_0x1b9417[_0x3d0dcc]=this[_0xa6ba3f(0x29b)][_0xa6ba3f(0x213)][_0xa6ba3f(0x1fb)][_0xa6ba3f(0x1e9)](_0x109437),this[_0xa6ba3f(0x29b)][_0xa6ba3f(0x213)][_0xa6ba3f(0x1fb)][_0xa6ba3f(0x1de)](_0xa6ba3f(0x2a6));}return _0x1b9417;}async[_0x47aec1(0x1ea)](_0x2a21dc){const _0x5209ed=_0x47aec1;await this[_0x5209ed(0x2b9)](_0x2a21dc);const _0x49e7c2={};for(const _0x42005a in _0x2a21dc[_0x5209ed(0x225)])_0x2a21dc[_0x5209ed(0x225)][_0x42005a][_0x5209ed(0x27a)]&&!_0x2a21dc[_0x5209ed(0x225)][_0x42005a][_0x5209ed(0x27a)][_0x5209ed(0x2d5)]||(_0x49e7c2[_0x42005a]=_0x2a21dc[_0x5209ed(0x225)][_0x42005a][_0x5209ed(0x290)]||{});return _0x49e7c2;}[_0x47aec1(0x216)](){const _0x67714e=_0x47aec1;if(0x0===this[_0x67714e(0x1d2)][_0x67714e(0x286)])return;if(this[_0x67714e(0x28a)])return;let _0x448f9b=Array[_0x67714e(0x281)](this[_0x67714e(0x1d2)][_0x67714e(0x2bb)]());this[_0x67714e(0x1d2)][_0x67714e(0x1e8)]();for(let _0x1c0ade=0x0;_0x1c0ade<_0x448f9b[_0x67714e(0x1ff)];_0x1c0ade++){const _0xa6fa3c=_0x448f9b[_0x1c0ade];let _0x2e021f=!0x1;for(const _0x3ef4a8 of Object[_0x67714e(0x296)](_0xa6fa3c))void 0x0===_0xa6fa3c[_0x3ef4a8]?delete _0xa6fa3c[_0x3ef4a8]:'id'!==_0x3ef4a8&&(_0x2e021f=!0x0);_0x2e021f||(_0x448f9b[_0x1c0ade]=null);}if(_0x448f9b=_0x448f9b[_0x67714e(0x2dd)](_0x5f0ea3=>null!==_0x5f0ea3),!_0x448f9b[_0x67714e(0x1ff)])return;for(let _0x16f45a=0x0;_0x16f45a<_0x448f9b[_0x67714e(0x1ff)];_0x16f45a++){const _0x53e96d=_0x448f9b[_0x16f45a];void 0x0!==_0x53e96d[_0x67714e(0x217)]&&void 0x0===_0x53e96d[_0x67714e(0x251)]&&(_0x53e96d[_0x67714e(0x251)]=this[_0x67714e(0x1c5)][_0x67714e(0x28b)](_0x53e96d['id'])[_0x67714e(0x251)]),void 0x0!==_0x53e96d[_0x67714e(0x251)]&&void 0x0===_0x53e96d[_0x67714e(0x217)]&&(_0x53e96d[_0x67714e(0x217)]=this[_0x67714e(0x1c5)][_0x67714e(0x28b)](_0x53e96d['id'])[_0x67714e(0x217)]);}const _0x5d135d=this[_0x67714e(0x29b)][_0x67714e(0x277)][_0x67714e(0x1e6)](_0x67714e(0x2e8));this[_0x67714e(0x28a)]=!0x0,this[_0x67714e(0x220)](),this[_0x67714e(0x1e4)][_0x67714e(0x2ab)](_0x448f9b,_0x5d135d)[_0x67714e(0x2ec)](()=>{const _0x39b541=_0x67714e;this[_0x39b541(0x28a)]=!0x1;})[_0x67714e(0x2c5)](_0x847176=>{const _0x3ae4a2=_0x67714e;if(_0x847176){for(const _0x6bbcb8 of _0x847176)this[_0x3ae4a2(0x215)]({'id':_0x6bbcb8['id'],'createdAt':_0x6bbcb8[_0x3ae4a2(0x24d)]});}this[_0x3ae4a2(0x1fc)](),this[_0x3ae4a2(0x216)]();});}[_0x47aec1(0x249)](_0x22ce05,_0x1676dd){const _0x2f67aa=_0x47aec1;let _0x66c8bc=this[_0x2f67aa(0x29b)][_0x2f67aa(0x277)][_0x2f67aa(0x1e6)](_0x2f67aa(0x1d0)),_0xbeb028=this[_0x2f67aa(0x29b)][_0x2f67aa(0x277)][_0x2f67aa(0x1e6)](_0x2f67aa(0x1f9));if(void 0x0===_0x66c8bc){_0x66c8bc={};for(const _0x4428b9 of this[_0x2f67aa(0x29b)][_0x2f67aa(0x2b0)][_0x2f67aa(0x28c)][_0x2f67aa(0x254)]())_0x66c8bc[_0x4428b9]='';}if(_0x2f67aa(0x214)==typeof _0x66c8bc&&(_0x66c8bc={'main':_0x66c8bc}),void 0x0===_0xbeb028){_0xbeb028={};for(const _0x25b11a of this[_0x2f67aa(0x29b)][_0x2f67aa(0x2b0)][_0x2f67aa(0x28c)][_0x2f67aa(0x254)]())_0xbeb028[_0x25b11a]={};}let _0x158ca0=!0x1;const _0x57adb2=Object[_0x2f67aa(0x296)](_0x66c8bc),_0x3acb71=Object[_0x2f67aa(0x296)](_0x22ce05);for(const _0x4f5f8b of _0x57adb2){if(_0x66c8bc[_0x4f5f8b]!==_0x22ce05[_0x4f5f8b]&&''!==_0x66c8bc[_0x4f5f8b][_0x2f67aa(0x21f)]()){_0x158ca0=!0x0;break;}if(!_0x4c2679(_0xbeb028[_0x4f5f8b],_0x1676dd[_0x4f5f8b])&&Object[_0x2f67aa(0x296)](_0xbeb028[_0x4f5f8b])[_0x2f67aa(0x1ff)]>0x0){_0x158ca0=!0x0;break;}}_0x158ca0||(_0x158ca0=_0x3acb71[_0x2f67aa(0x297)](_0x4d3386=>!this[_0x2f67aa(0x29b)][_0x2f67aa(0x2b0)][_0x2f67aa(0x28c)][_0x2f67aa(0x2ef)](_0x4d3386))),_0x158ca0&&_0x40722f(_0x2f67aa(0x252),{'editorData':_0x66c8bc,'editorRootsAttributes':_0xbeb028,'revisionData':_0x22ce05,'revisionRootsAttributes':_0x1676dd}),this[_0x2f67aa(0x29b)][_0x2f67aa(0x277)][_0x2f67aa(0x280)](_0x2f67aa(0x1d0),_0x22ce05),this[_0x2f67aa(0x29b)][_0x2f67aa(0x277)][_0x2f67aa(0x280)](_0x2f67aa(0x1f9),_0x1676dd);}[_0x47aec1(0x220)](){const _0x32aafc=_0x47aec1;if(!this[_0x32aafc(0x203)]){const _0x42ba86=this[_0x32aafc(0x29b)][_0x32aafc(0x288)][_0x32aafc(0x1e6)](_0x32aafc(0x2b1));this[_0x32aafc(0x203)]=_0x42ba86[_0x32aafc(0x245)](_0x3c11c7(this[_0x32aafc(0x29b)][_0x32aafc(0x238)],_0x32aafc(0x2be)));}}[_0x47aec1(0x1fc)](){const _0x4e791e=_0x47aec1;this[_0x4e791e(0x203)]&&(this[_0x4e791e(0x29b)][_0x4e791e(0x288)][_0x4e791e(0x1e6)](_0x4e791e(0x2b1))[_0x4e791e(0x206)](this[_0x4e791e(0x203)]),this[_0x4e791e(0x203)]=null);}[_0x47aec1(0x2e3)](_0x461dfa){const _0x1ab7c3=_0x47aec1,_0x20ec49=this[_0x1ab7c3(0x1c5)][_0x1ab7c3(0x2d2)]();_0x20ec49[_0x1ab7c3(0x201)]();let _0x251445=0x0;for(;_0x251445<_0x20ec49[_0x1ab7c3(0x1ff)];){const _0x5cda48=_0x20ec49[_0x251445];if(_0x5cda48===this[_0x1ab7c3(0x23c)]){_0x251445++;continue;}if(_0x5cda48['id']===this[_0x1ab7c3(0x219)])break;const _0x2ea438=_0x461dfa[_0x1ab7c3(0x251)]-_0x5cda48[_0x1ab7c3(0x251)]||_0x461dfa[_0x1ab7c3(0x217)]-_0x5cda48[_0x1ab7c3(0x217)];if(_0x2ea438>0x0)break;if(_0x2ea438<0x0)_0x251445++;else{if(!_0x461dfa[_0x1ab7c3(0x218)]&&_0x5cda48[_0x1ab7c3(0x218)])break;if(_0x5cda48[_0x1ab7c3(0x218)]||!_0x461dfa[_0x1ab7c3(0x218)]){if(_0x461dfa[_0x1ab7c3(0x24d)]>_0x5cda48[_0x1ab7c3(0x24d)])break;_0x251445++;}else _0x251445++;}}return _0x251445;}[_0x47aec1(0x215)](_0x5bb284){const _0x26fca4=_0x47aec1,_0x21f361=this[_0x26fca4(0x1c5)][_0x26fca4(0x28b)](_0x5bb284['id']);if(_0x5bb284[_0x26fca4(0x24d)]&&(_0x5bb284[_0x26fca4(0x24d)]=new Date(_0x5bb284[_0x26fca4(0x24d)])),_0x5bb284[_0x26fca4(0x1e2)]){const _0x430cbf=this[_0x26fca4(0x29b)][_0x26fca4(0x288)][_0x26fca4(0x1e6)](_0x26fca4(0x294));_0x5bb284[_0x26fca4(0x24a)]=_0x5bb284[_0x26fca4(0x1e2)][_0x26fca4(0x246)](_0x396fee=>_0x430cbf[_0x26fca4(0x2c8)](_0x396fee));}_0x21f361[_0x26fca4(0x1dc)](_0x5bb284,!0x0);}[_0x47aec1(0x2bf)]({revision:_0x39d72a=null,from:_0x4325bb=null,to:_0x1e629f=null}){const _0x59e9a6=_0x47aec1;_0x4325bb=null!==_0x4325bb?_0x4325bb:_0x39d72a[_0x59e9a6(0x217)],_0x1e629f=null!==_0x1e629f?_0x1e629f:_0x39d72a[_0x59e9a6(0x251)];const _0x4665ed=this[_0x59e9a6(0x202)][_0x59e9a6(0x1df)](_0x4325bb,_0x1e629f),_0x3e65ce={'diffData':_0x4665ed[_0x59e9a6(0x225)],'authorsIds':_0x4665ed[_0x59e9a6(0x1e2)],'fromVersion':_0x4325bb,'toVersion':_0x1e629f};if(!_0x39d72a||_0x1e629f!==_0x39d72a[_0x59e9a6(0x251)]){const _0x3f309f=_0x1e629f-0x1,_0x3dd3cc=this[_0x59e9a6(0x1d3)][_0x59e9a6(0x284)][_0x59e9a6(0x28d)](_0x3f309f);_0x3e65ce[_0x59e9a6(0x24d)]=_0x3dd3cc&&_0x3dd3cc[_0x59e9a6(0x24d)]||new Date();}if(this[_0x59e9a6(0x235)]&&_0x4325bb===this[_0x59e9a6(0x235)][_0x59e9a6(0x217)]){for(const _0x3e1f42 of this[_0x59e9a6(0x235)][_0x59e9a6(0x24a)])_0x3e65ce[_0x59e9a6(0x1e2)][_0x59e9a6(0x293)](_0x3e1f42['id'])||_0x3e65ce[_0x59e9a6(0x1e2)][_0x59e9a6(0x255)](_0x3e1f42['id']);}return _0x3e65ce;}[_0x47aec1(0x2b9)](_0x21d5d1){const _0x1ec95e=_0x47aec1;if(!_0x21d5d1||_0x21d5d1[_0x1ec95e(0x225)])return Promise[_0x1ec95e(0x266)]();{const _0x32c531=this[_0x1ec95e(0x29b)][_0x1ec95e(0x277)][_0x1ec95e(0x1e6)](_0x1ec95e(0x2e8));return this[_0x1ec95e(0x1e4)][_0x1ec95e(0x28b)]({'channelId':_0x32c531,'revisionId':_0x21d5d1['id']})[_0x1ec95e(0x2c5)](_0x251219=>{const _0x51091f=_0x1ec95e;_0x21d5d1[_0x51091f(0x225)]=_0x251219[_0x51091f(0x225)];});}}[_0x47aec1(0x269)](_0x55b495,_0x2b33bd,_0x2f866f){const _0x48ae2a=_0x47aec1;if(this[_0x48ae2a(0x1d2)][_0x48ae2a(0x1f3)](_0x55b495)){const _0x43db8c=this[_0x48ae2a(0x1d2)][_0x48ae2a(0x1e6)](_0x55b495);_0x2b33bd=_0x2f866f?{..._0x43db8c,..._0x2b33bd}:{..._0x2b33bd,..._0x43db8c};}this[_0x48ae2a(0x1d2)][_0x48ae2a(0x280)](_0x55b495,_0x2b33bd);}[_0x47aec1(0x2a3)](_0x332999){const _0x19f698=_0x47aec1,_0x30c213=this[_0x19f698(0x1c5)][_0x19f698(0x2d2)]();_0x30c213[_0x19f698(0x201)](),_0x30c213[_0x19f698(0x1d5)]();const _0x2ae1dd=_0x30c213[_0x19f698(0x2c7)](_0x206382=>_0x206382[_0x19f698(0x251)]<=_0x332999)[_0x19f698(0x251)];return _0x2ae1dd<this[_0x19f698(0x21a)]?this[_0x19f698(0x21a)]:_0x2ae1dd;}[_0x47aec1(0x291)](_0x91701){const _0x3b15c8=_0x47aec1,_0x56a63d=this[_0x3b15c8(0x1c5)][_0x3b15c8(0x28b)](this[_0x3b15c8(0x1c5)][_0x3b15c8(0x1ff)]-0x1);if(_0x56a63d)this[_0x3b15c8(0x219)]=_0x56a63d['id'];else{const _0x3a8eef=!this[_0x3b15c8(0x29b)][_0x3b15c8(0x2b0)][_0x3b15c8(0x28c)][_0x3b15c8(0x299)][_0x3b15c8(0x2c7)](_0x4a66c7=>this[_0x3b15c8(0x29b)][_0x3b15c8(0x2b0)][_0x3b15c8(0x2d9)](_0x4a66c7)),_0x24700a=this[_0x3b15c8(0x29b)][_0x3b15c8(0x288)][_0x3b15c8(0x1e6)](_0x3b15c8(0x294))['me']['id'],_0x2976e4=_0x3c11c7(this[_0x3b15c8(0x29b)][_0x3b15c8(0x238)],_0x3a8eef?_0x3b15c8(0x234):_0x3b15c8(0x244));this[_0x3b15c8(0x222)]({'from':_0x91701,'to':_0x91701,'id':this[_0x3b15c8(0x219)],'name':_0x2976e4,'creatorId':_0x24700a});}}[_0x47aec1(0x275)](_0x21c5b4){const _0xaba070=_0x47aec1,_0x3fa95b=this[_0xaba070(0x1d3)][_0xaba070(0x248)]();this[_0xaba070(0x23c)]=this[_0xaba070(0x1c5)][_0xaba070(0x28b)](_0x3fa95b),this[_0xaba070(0x23c)]||(this[_0xaba070(0x23c)]=this[_0xaba070(0x222)]({'from':_0x21c5b4,'to':_0x21c5b4,'id':_0x3fa95b,'name':'','creatorId':null}));}[_0x47aec1(0x222)]({name:_0x48615b,from:_0x196db2,to:_0x50c51f,creatorId:_0x370ad8,id:_0x3285a1}){const _0xb0765c=_0x47aec1,_0xe663ee=this[_0xb0765c(0x2bf)]({'from':_0x196db2,'to':_0x50c51f});_0xe663ee[_0xb0765c(0x24f)]=_0x48615b,_0xe663ee[_0xb0765c(0x27e)]=_0x370ad8,_0xe663ee['id']=_0x3285a1;const _0x5d8ef9=this[_0xb0765c(0x2c6)](_0xe663ee);return this[_0xb0765c(0x1e4)]&&this[_0xb0765c(0x269)](_0xe663ee['id'],_0xe663ee,!0x0),_0x5d8ef9;}[_0x47aec1(0x229)](){const _0x263a55=_0x47aec1;this[_0x263a55(0x29b)][_0x263a55(0x2c3)][_0x263a55(0x1ed)](_0x263a55(0x25b))[_0x263a55(0x253)]({'model':_0x263a55(0x2aa)});}[_0x47aec1(0x1fd)](_0xf987ab){const _0x4ac528=_0x47aec1;return(_0xf987ab=_0xf987ab[_0x4ac528(0x2dd)](_0x5b3858=>!_0x5b3858[_0x4ac528(0x24f)]||_0x4ac528(0x2cf)!==_0x5b3858[_0x4ac528(0x24f)]&&_0x4ac528(0x1f6)!==_0x5b3858[_0x4ac528(0x24f)]))[_0x4ac528(0x25f)](_0x282eda=>{const _0x2b6a67=_0x4ac528;_0x2b6a67(0x214)!=typeof _0x282eda&&(_0x282eda[_0x2b6a67(0x2e9)]=this[_0x2b6a67(0x1fd)](_0x282eda[_0x2b6a67(0x2e9)]),_0x282eda[_0x2b6a67(0x267)]=_0x282eda[_0x2b6a67(0x267)][_0x2b6a67(0x2dd)](_0x3e7e30=>!_0x3e7e30[0x0][_0x2b6a67(0x1da)](_0x2b6a67(0x1d8))));}),_0xf987ab;}}function B(_0x1773f9,_0x57a5fb){const _0x4f1ae4=_0x47aec1,_0x4efcca=_0x57a5fb[_0x4f1ae4(0x1f0)][_0x4f1ae4(0x262)][_0x4f1ae4(0x28c)];if(_0x4f1ae4(0x214)==typeof _0x1773f9)return new _0x382e47(_0x4efcca,_0x1773f9);{const _0x593a05=_0x1773f9[_0x4f1ae4(0x2e9)][_0x4f1ae4(0x246)](_0x448c36=>B(_0x448c36,_0x57a5fb));return new(T[_0x1773f9[(_0x4f1ae4(0x1ca))]]||_0x39a8e5)(_0x4efcca,_0x1773f9[_0x4f1ae4(0x24f)],_0x1773f9[_0x4f1ae4(0x267)],_0x593a05);}}class J{constructor(_0x552e55){const _0x329864=_0x47aec1;this[_0x329864(0x29b)]=_0x552e55,this[_0x329864(0x2b6)]=new Map(),this[_0x329864(0x1c8)]=-0x1,this[_0x329864(0x273)]=-0x1,this[_0x329864(0x2e7)]=new Map(),this[_0x329864(0x1d6)]=new Map(),this[_0x329864(0x292)]=new Map(),this[_0x329864(0x2ba)]=new Map(),this[_0x329864(0x1c9)]=new Map(),this[_0x329864(0x200)]=new Map(),this[_0x329864(0x1fe)]=new Map(),this[_0x329864(0x209)]=new Map(),this[_0x329864(0x2b5)]=new Map(),this[_0x329864(0x24b)]=new Map(),this[_0x329864(0x24c)]=0x1;}[_0x47aec1(0x2a7)](_0x2aa117){const _0x113e96=_0x47aec1;this[_0x113e96(0x265)]=_0x2aa117;const _0x1a9a8a=new Map(),_0x2abf6b=new Map(),_0x1ad0aa=this[_0x113e96(0x29b)][_0x113e96(0x2b0)][_0x113e96(0x28c)][_0x113e96(0x299)][_0x113e96(0x246)](_0x48e663=>_0x48e663[_0x113e96(0x276)]);for(const _0x781b74 of _0x1ad0aa){const _0x209203=this[_0x113e96(0x29b)][_0x113e96(0x2b0)][_0x113e96(0x28c)][_0x113e96(0x2ef)](_0x781b74),_0xb25575=q(_0x209203);_0x1a9a8a[_0x113e96(0x280)](_0x781b74,_0xb25575),_0x2abf6b[_0x113e96(0x280)](_0x781b74,Object[_0x113e96(0x2eb)](_0x209203[_0x113e96(0x1f5)]()));}const _0x55d6a9=Array[_0x113e96(0x281)](this[_0x113e96(0x29b)][_0x113e96(0x2b0)][_0x113e96(0x283)])[_0x113e96(0x246)](_0x5e6600=>[_0x5e6600[_0x113e96(0x24f)],_0x5e6600[_0x113e96(0x2bc)]()]),_0x3e494d=this[_0x113e96(0x265)][_0x113e96(0x1cb)];this[_0x113e96(0x25a)](_0x3e494d,_0x1a9a8a,_0x55d6a9,_0x2abf6b),this[_0x113e96(0x27b)]=this[_0x113e96(0x24c)];const _0x418ca2=new Map(),_0x416bee=new Map();for(const _0x371b0b of _0x1ad0aa){const _0x4908bf=G(_0x371b0b);_0x418ca2[_0x113e96(0x280)](_0x371b0b,_0x4908bf),_0x416bee[_0x113e96(0x280)](_0x371b0b,{});}this[_0x113e96(0x25a)](Number[_0x113e96(0x205)],_0x418ca2,[],_0x416bee);}[_0x47aec1(0x1df)](_0x4f090b,_0x434b44){const _0x394d27=_0x47aec1;if(this[_0x394d27(0x1c8)]===_0x4f090b&&this[_0x394d27(0x273)]<=_0x434b44)this[_0x394d27(0x2b6)][_0x394d27(0x286)]>0x1&&this[_0x394d27(0x259)](this[_0x394d27(0x273)]),this[_0x394d27(0x26d)](this[_0x394d27(0x273)],_0x434b44,!0x0);else{if(!this[_0x394d27(0x2b6)][_0x394d27(0x1f3)](_0x4f090b)){const _0x4993f9=this[_0x394d27(0x2b7)](_0x4f090b);this[_0x394d27(0x20a)](_0x4993f9,_0x4f090b,!0x1);}this[_0x394d27(0x20a)](_0x4f090b,_0x434b44,!0x0);}return this[_0x394d27(0x1c8)]=_0x4f090b,this[_0x394d27(0x273)]=_0x434b44,this[_0x394d27(0x26b)]();}[_0x47aec1(0x28e)](_0x4279bc){const _0x6e9940=_0x47aec1;this[_0x6e9940(0x2ee)](),this[_0x6e9940(0x1c8)]=_0x4279bc[_0x6e9940(0x217)],this[_0x6e9940(0x273)]=_0x4279bc[_0x6e9940(0x251)];for(const _0x4c9ee3 in _0x4279bc[_0x6e9940(0x225)]){const _0x77961d=_0x4279bc[_0x6e9940(0x225)][_0x4c9ee3][_0x6e9940(0x27a)],_0x391147=_0x200b98(_0x4279bc[_0x6e9940(0x225)][_0x4c9ee3][_0x6e9940(0x26e)])||{},_0x3d8c62=this[_0x6e9940(0x207)](_0x4279bc[_0x6e9940(0x225)][_0x4c9ee3][_0x6e9940(0x2e6)]);_0x3d8c62[_0x6e9940(0x276)]=_0x4c9ee3,_0x3d8c62[_0x6e9940(0x2ad)]=!_0x77961d||!_0x77961d[_0x6e9940(0x2d5)],_0x3d8c62[_0x6e9940(0x2d5)]=()=>_0x3d8c62[_0x6e9940(0x2ad)],this[_0x6e9940(0x2ba)][_0x6e9940(0x280)](_0x4c9ee3,_0x3d8c62),this[_0x6e9940(0x1c9)][_0x6e9940(0x280)](_0x4c9ee3,_0x391147),_0x77961d&&this[_0x6e9940(0x24b)][_0x6e9940(0x280)](_0x4c9ee3,_0x77961d);const _0x496147=this[_0x6e9940(0x2a1)](_0x3d8c62);this[_0x6e9940(0x1fe)][_0x6e9940(0x280)](_0x4c9ee3,_0x496147);for(const [_0x279cf6,_0x2c5b96]of _0x3d8c62[_0x6e9940(0x283)]){if(!_0x279cf6[_0x6e9940(0x1da)](_0x6e9940(0x2c9)))continue;const _0xf44cef=_0x279cf6[_0x6e9940(0x2a8)](':')[0x2];for(const _0x3bbabd of _0x2c5b96[_0x6e9940(0x2a5)]({'singleCharacters':!0x0})){const _0x196bf3=this[_0x6e9940(0x1e3)](_0x3bbabd),_0x59ab15=_0x6e9940(0x228)==_0x3bbabd[_0x6e9940(0x1ca)]?_0x3bbabd[_0x6e9940(0x278)][_0x6e9940(0x22a)][_0x6e9940(0x2c1)](0x0,-0x1):_0x3bbabd[_0x6e9940(0x278)][_0x6e9940(0x22a)],_0x1dffb6=_0x496147[_0x6e9940(0x1cf)](_0x59ab15)[_0x6e9940(0x270)](_0x196bf3);this[_0x6e9940(0x209)][_0x6e9940(0x280)](_0x1dffb6,{'userId':_0xf44cef});}}}this[_0x6e9940(0x27b)]=this[_0x6e9940(0x24c)];const _0x20e8a7=[...Array(this[_0x6e9940(0x24c)])[_0x6e9940(0x296)]()][_0x6e9940(0x2c1)](0x1)[_0x6e9940(0x2dd)](_0xbe0f2a=>!this[_0x6e9940(0x209)][_0x6e9940(0x1f3)](_0xbe0f2a));let _0x166e3c=0x0;const _0x456365=new Map();for(const _0x3720c7 in _0x4279bc[_0x6e9940(0x225)]){const _0x24412c=_0x4279bc[_0x6e9940(0x225)][_0x3720c7][_0x6e9940(0x27a)],_0x6e2655=_0x200b98(_0x4279bc[_0x6e9940(0x225)][_0x3720c7][_0x6e9940(0x290)])||{},_0x301c64=this[_0x6e9940(0x207)](_0x4279bc[_0x6e9940(0x225)][_0x3720c7][_0x6e9940(0x236)]);_0x301c64[_0x6e9940(0x276)]=_0x3720c7,_0x301c64[_0x6e9940(0x2ad)]=!_0x24412c||_0x24412c[_0x6e9940(0x2d5)],_0x301c64[_0x6e9940(0x2d5)]=()=>_0x301c64[_0x6e9940(0x2ad)],this[_0x6e9940(0x1d6)][_0x6e9940(0x280)](_0x3720c7,_0x301c64),this[_0x6e9940(0x292)][_0x6e9940(0x280)](_0x3720c7,_0x6e2655);const _0x345803=this[_0x6e9940(0x2a1)](_0x301c64,Number[_0x6e9940(0x205)]);this[_0x6e9940(0x200)][_0x6e9940(0x280)](_0x3720c7,_0x345803),_0x456365[_0x6e9940(0x280)](_0x3720c7,_0x301c64[_0x6e9940(0x2d5)]()?_0x6e2655:{});for(const [_0x4cede9,_0x321a66]of _0x301c64[_0x6e9940(0x283)]){if(!_0x4cede9[_0x6e9940(0x1da)](_0x6e9940(0x2c9)))continue;const _0x549490=_0x4cede9[_0x6e9940(0x2a8)](':')[0x2];for(const _0xb0bd7e of _0x321a66[_0x6e9940(0x2a5)]({'singleCharacters':!0x0})){const _0x413718=this[_0x6e9940(0x1e3)](_0xb0bd7e),_0x46d2e8=this[_0x6e9940(0x24c)]++,_0x492b65=_0x6e9940(0x228)==_0xb0bd7e[_0x6e9940(0x1ca)]?_0xb0bd7e[_0x6e9940(0x278)][_0x6e9940(0x22a)][_0x6e9940(0x2c1)](0x0,-0x1):_0xb0bd7e[_0x6e9940(0x278)][_0x6e9940(0x22a)];_0x345803[_0x6e9940(0x1cf)](_0x492b65)[_0x6e9940(0x26a)](_0x413718,_0x46d2e8),this[_0x6e9940(0x209)][_0x6e9940(0x280)](_0x46d2e8,{'userId':_0x549490});}}for(const _0x324c27 of this[_0x6e9940(0x29b)][_0x6e9940(0x2b0)][_0x6e9940(0x241)](_0x301c64)[_0x6e9940(0x2a5)]({'singleCharacters':!0x0})){const _0x2c08df=this[_0x6e9940(0x1e3)](_0x324c27),_0x4503c3=_0x6e9940(0x228)==_0x324c27[_0x6e9940(0x1ca)]?_0x324c27[_0x6e9940(0x278)][_0x6e9940(0x22a)][_0x6e9940(0x2c1)](0x0,-0x1):_0x324c27[_0x6e9940(0x278)][_0x6e9940(0x22a)],_0x85618f=_0x345803[_0x6e9940(0x1cf)](_0x4503c3);_0x85618f[_0x6e9940(0x270)](_0x2c08df)>0x0||_0x85618f[_0x6e9940(0x26a)](_0x2c08df,_0x20e8a7[_0x166e3c++]);}for(const [_0x44615b,_0x46606e]of _0x301c64[_0x6e9940(0x283)])_0x44615b[_0x6e9940(0x1da)](_0x6e9940(0x2c9))||this[_0x6e9940(0x2e7)][_0x6e9940(0x280)](_0x44615b,_0x46606e);}const _0x157b27=G(_0x6e9940(0x212));this[_0x6e9940(0x2ba)][_0x6e9940(0x280)](_0x6e9940(0x212),_0x157b27),this[_0x6e9940(0x1fe)][_0x6e9940(0x280)](_0x6e9940(0x212),this[_0x6e9940(0x2a1)](_0x157b27,0x1));const _0x3f20be=G(_0x6e9940(0x212));this[_0x6e9940(0x1d6)][_0x6e9940(0x280)](_0x6e9940(0x212),_0x3f20be),this[_0x6e9940(0x200)][_0x6e9940(0x280)](_0x6e9940(0x212),this[_0x6e9940(0x2a1)](_0x3f20be,0x1));const _0x5736e2=Array[_0x6e9940(0x281)](this[_0x6e9940(0x1d6)])[_0x6e9940(0x246)](([_0x2fe17d,_0x39f577])=>[_0x2fe17d,q(_0x39f577)]);this[_0x6e9940(0x25a)](this[_0x6e9940(0x273)],_0x5736e2,this[_0x6e9940(0x2e7)],_0x456365);}[_0x47aec1(0x207)](_0x2c8b46){const _0x3223be=_0x47aec1,_0x1ba8fa=JSON[_0x3223be(0x2e4)](_0x2c8b46),_0x34c0be=this[_0x3223be(0x29b)][_0x3223be(0x1f0)][_0x3223be(0x262)][_0x3223be(0x28c)],_0x5ec271=new _0x4f0aea(_0x34c0be,_0x1ba8fa[_0x3223be(0x246)](_0x559ad0=>B(_0x559ad0,this[_0x3223be(0x29b)])));return this[_0x3223be(0x29b)][_0x3223be(0x213)][_0x3223be(0x282)](_0x5ec271);}[_0x47aec1(0x25a)](_0x1084d8,_0x5a38e3,_0x3ecb31,_0xbc2d36){const _0x354428=_0x47aec1,_0x5e43c4=new Map(_0x5a38e3),_0x1a02a4=new Map(_0x200b98(_0xbc2d36)),_0x2a9f72=new Map();for(const [_0x14b2fe,_0x49b85f]of _0x3ecb31)_0x2a9f72[_0x354428(0x280)](_0x14b2fe,{'start':_0x49b85f[_0x354428(0x2ca)][_0x354428(0x237)](),'end':_0x49b85f[_0x354428(0x210)][_0x354428(0x237)](),'rootName':_0x49b85f[_0x354428(0x1dd)][_0x354428(0x276)]});this[_0x354428(0x2b6)][_0x354428(0x280)](_0x1084d8,{'roots':_0x5e43c4,'markers':_0x2a9f72,'rootsAttributes':_0x1a02a4});}[_0x47aec1(0x259)](_0x178041){const _0x340ef6=_0x47aec1;this[_0x340ef6(0x2b6)][_0x340ef6(0x2c2)](_0x178041);}[_0x47aec1(0x2d3)](){const _0x21ea39=_0x47aec1;this[_0x21ea39(0x2ee)](),this[_0x21ea39(0x1c8)]=-0x1,this[_0x21ea39(0x273)]=-0x1,this[_0x21ea39(0x2b6)][_0x21ea39(0x1e8)](),this[_0x21ea39(0x2a7)](this[_0x21ea39(0x265)]);}[_0x47aec1(0x2ee)](){const _0xdfb5e6=_0x47aec1;this[_0xdfb5e6(0x209)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x2b5)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x24b)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x1d6)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x292)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x2ba)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x1c9)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x200)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x1fe)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x2e7)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x24c)]=0x1,this[_0xdfb5e6(0x27b)]=this[_0xdfb5e6(0x24c)];}[_0x47aec1(0x2a1)](_0x5b59ce,_0x243282=null){const _0x5853c7=_0x47aec1;let _0x41f98f=null;_0x5b59ce['is'](_0x5853c7(0x2e5))||(_0x41f98f=new _0x512062(_0x5b59ce[_0x5853c7(0x24f)],{'vid_start':null===_0x243282?this[_0x5853c7(0x24c)]++:_0x243282++}));const _0x3395d0=[];for(const _0x37c487 of _0x5b59ce[_0x5853c7(0x1ce)]())if(_0x37c487['is'](_0x5853c7(0x2c4))){_0x3395d0[_0x5853c7(0x255)](this[_0x5853c7(0x2a1)](_0x37c487,_0x243282));const _0x27a928=_0x3395d0[_0x3395d0[_0x5853c7(0x1ff)]-0x1];null!==_0x243282&&(_0x243282=_0x27a928['is'](_0x5853c7(0x2c4),_0x5853c7(0x2d0))?_0x27a928[_0x5853c7(0x270)](_0x5853c7(0x231))+0x1:_0x27a928[_0x5853c7(0x270)](_0x5853c7(0x23e))+0x1);}else{for(let _0x2362ca=0x0;_0x2362ca<_0x37c487[_0x5853c7(0x260)];_0x2362ca++)_0x3395d0[_0x5853c7(0x255)](new _0x512062(_0x5853c7(0x2d0),{'vid':null===_0x243282?this[_0x5853c7(0x24c)]++:_0x243282++}));}if(_0x5b59ce['is'](_0x5853c7(0x2e5))){const _0x825c3e=G(_0x5b59ce[_0x5853c7(0x276)]);return _0x825c3e[_0x5853c7(0x257)](0x0,_0x3395d0),_0x825c3e;}return _0x41f98f[_0x5853c7(0x26a)](_0x5853c7(0x23e),null===_0x243282?this[_0x5853c7(0x24c)]++:_0x243282++),_0x41f98f[_0x5853c7(0x257)](0x0,_0x3395d0),_0x41f98f;}[_0x47aec1(0x20a)](_0x52a310,_0x51ef6c,_0x5b3f52){const _0x4f08a5=_0x47aec1;this[_0x4f08a5(0x2ee)]();const {roots:_0x3e8228,markers:_0x200fd0,rootsAttributes:_0x26a272}=this[_0x4f08a5(0x2b6)][_0x4f08a5(0x1e6)](_0x52a310);this[_0x4f08a5(0x2ba)]=new Map(_0x3e8228),this[_0x4f08a5(0x1c9)]=new Map(_0x200b98(_0x26a272));for(const [_0x426f7e,_0x4a71c3]of this[_0x4f08a5(0x2ba)])if(_0x4f08a5(0x212)!==_0x426f7e&&(this[_0x4f08a5(0x1d6)][_0x4f08a5(0x280)](_0x426f7e,q(_0x4a71c3)),this[_0x4f08a5(0x292)]=new Map(_0x200b98(_0x26a272)),_0x5b3f52)){const _0x403dd1=this[_0x4f08a5(0x24c)];this[_0x4f08a5(0x200)][_0x4f08a5(0x280)](_0x426f7e,this[_0x4f08a5(0x2a1)](_0x4a71c3)),this[_0x4f08a5(0x1fe)][_0x4f08a5(0x280)](_0x426f7e,this[_0x4f08a5(0x2a1)](_0x4a71c3,_0x403dd1));}this[_0x4f08a5(0x27b)]=this[_0x4f08a5(0x24c)],this[_0x4f08a5(0x1d6)][_0x4f08a5(0x280)](_0x4f08a5(0x212),q(this[_0x4f08a5(0x2ba)][_0x4f08a5(0x1e6)](_0x4f08a5(0x212)))),_0x5b3f52&&this[_0x4f08a5(0x200)][_0x4f08a5(0x280)](_0x4f08a5(0x212),this[_0x4f08a5(0x2a1)](this[_0x4f08a5(0x2ba)][_0x4f08a5(0x1e6)](_0x4f08a5(0x212))));for(const [_0x8f37d,_0x54041a]of _0x200fd0){const _0x1f96c2=this[_0x4f08a5(0x2ba)][_0x4f08a5(0x1e6)](_0x54041a[_0x4f08a5(0x276)]),_0x67ac69=this[_0x4f08a5(0x1d6)][_0x4f08a5(0x1e6)](_0x54041a[_0x4f08a5(0x276)]),_0xf3726b=new _0x5ab204(this[_0x4f08a5(0x268)](_0x54041a[_0x4f08a5(0x2ca)],_0x1f96c2),this[_0x4f08a5(0x268)](_0x54041a[_0x4f08a5(0x210)],_0x1f96c2)),_0x467d5e=this[_0x4f08a5(0x258)](_0xf3726b,_0x67ac69);_0x1f96c2[_0x4f08a5(0x283)][_0x4f08a5(0x280)](_0x8f37d,_0xf3726b),this[_0x4f08a5(0x2e7)][_0x4f08a5(0x280)](_0x8f37d,_0x467d5e);}this[_0x4f08a5(0x26d)](_0x52a310,_0x51ef6c,_0x5b3f52);}[_0x47aec1(0x26d)](_0x32f4f9,_0x2ac806,_0x50d870){const _0x4b518a=_0x47aec1;for(const _0x1e7e37 of this[_0x4b518a(0x265)][_0x4b518a(0x29f)](_0x32f4f9,_0x2ac806))this[_0x4b518a(0x22c)](_0x1e7e37,_0x50d870);for(const _0x5953b5 of this[_0x4b518a(0x1d6)][_0x4b518a(0x2bb)]())_0x5953b5[_0x4b518a(0x283)][_0x4b518a(0x1e8)]();for(const [_0x596a9f,_0x3eb262]of this[_0x4b518a(0x2e7)]){this[_0x4b518a(0x1d6)][_0x4b518a(0x1e6)](_0x3eb262[_0x4b518a(0x1dd)][_0x4b518a(0x276)])[_0x4b518a(0x283)][_0x4b518a(0x280)](_0x596a9f,_0x3eb262[_0x4b518a(0x237)]());}const _0x527b71=new Map(),_0x30f41a=new Map();for(const [_0x3d2721,_0x241fe8]of this[_0x4b518a(0x1d6)])_0x527b71[_0x4b518a(0x280)](_0x3d2721,q(_0x241fe8)),_0x30f41a[_0x4b518a(0x280)](_0x3d2721,this[_0x4b518a(0x292)][_0x4b518a(0x1e6)](_0x3d2721));this[_0x4b518a(0x25a)](_0x2ac806,_0x527b71,this[_0x4b518a(0x2e7)],_0x30f41a);}[_0x47aec1(0x2b7)](_0x4b9c74){const _0x170dfc=_0x47aec1,_0x286375=Array[_0x170dfc(0x281)](this[_0x170dfc(0x2b6)][_0x170dfc(0x296)]());_0x286375[_0x170dfc(0x23f)]((_0x2f478c,_0x3a5362)=>_0x2f478c-_0x3a5362),_0x286375[_0x170dfc(0x201)]();for(const _0x11ce0d of _0x286375)if(_0x11ce0d<_0x4b9c74)return _0x11ce0d;return Number[_0x170dfc(0x205)];}[_0x47aec1(0x1f1)](_0x494bf1,_0x36c074){const _0x213672=_0x47aec1,_0x53fcd1=Array[_0x213672(0x281)](_0x36c074[_0x213672(0x283)])[_0x213672(0x246)](([_0xccd889,_0x197a02])=>[_0xccd889,this[_0x213672(0x258)](_0x197a02,_0x494bf1)]);_0x494bf1[_0x213672(0x283)]=new Map(_0x53fcd1);}[_0x47aec1(0x29a)](_0x10dd5e){const _0x1cad5c=_0x47aec1;for(const _0x3059a1 of this[_0x1cad5c(0x2e7)][_0x1cad5c(0x2bb)]()){const _0x4bc1da=_0x3059a1[_0x1cad5c(0x263)](_0x10dd5e),_0xb3d26b=_0x5ab204[_0x1cad5c(0x226)](_0x4bc1da);_0x3059a1[_0x1cad5c(0x2ca)]=_0xb3d26b[_0x1cad5c(0x2ca)],_0x3059a1[_0x1cad5c(0x210)]=_0xb3d26b[_0x1cad5c(0x210)];}}[_0x47aec1(0x22c)](_0x18d7b4,_0x417125){const _0x2f33dc=_0x47aec1;if(_0x2f33dc(0x272)==_0x18d7b4[_0x2f33dc(0x1ca)]||_0x2f33dc(0x29e)==_0x18d7b4[_0x2f33dc(0x1ca)])return void this[_0x2f33dc(0x221)](_0x18d7b4,_0x417125);if(_0x2f33dc(0x24e)==_0x18d7b4[_0x2f33dc(0x1ca)]){const _0x5c90cf=_0x18d7b4[_0x2f33dc(0x2d4)][_0x2f33dc(0x1dd)][_0x2f33dc(0x276)];this[_0x2f33dc(0x1d6)][_0x2f33dc(0x1f3)](_0x5c90cf)||(this[_0x2f33dc(0x1d6)][_0x2f33dc(0x280)](_0x5c90cf,G(_0x5c90cf,!0x0)),this[_0x2f33dc(0x292)][_0x2f33dc(0x280)](_0x5c90cf,{}),_0x417125&&this[_0x2f33dc(0x200)][_0x2f33dc(0x280)](_0x5c90cf,G(_0x5c90cf,!0x0)));}else{if(_0x2f33dc(0x1d4)==_0x18d7b4[_0x2f33dc(0x1ca)]||_0x2f33dc(0x23b)==_0x18d7b4[_0x2f33dc(0x1ca)]||_0x2f33dc(0x233)==_0x18d7b4[_0x2f33dc(0x1ca)])return void this[_0x2f33dc(0x2ed)](_0x18d7b4);}const _0x130918=this[_0x2f33dc(0x1d9)](_0x18d7b4,this[_0x2f33dc(0x1d6)]);if(_0x2f33dc(0x2ae)!==_0x18d7b4[_0x2f33dc(0x1ca)]&&(_0x130918[_0x2f33dc(0x243)](),this[_0x2f33dc(0x29a)](_0x130918)),_0x417125)switch(_0x130918[_0x2f33dc(0x1ca)]){case _0x2f33dc(0x24e):this[_0x2f33dc(0x285)](_0x18d7b4);break;case _0x2f33dc(0x1c3):case _0x2f33dc(0x206):case _0x2f33dc(0x261):this[_0x2f33dc(0x2e2)](_0x18d7b4);break;case _0x2f33dc(0x2db):this[_0x2f33dc(0x23a)](_0x18d7b4);break;case _0x2f33dc(0x2a8):this[_0x2f33dc(0x2ce)](_0x18d7b4);break;case _0x2f33dc(0x2ae):this[_0x2f33dc(0x2ac)](_0x18d7b4);}}[_0x47aec1(0x1d9)](_0x5936fc,_0x591c00){const _0x1af38c=_0x47aec1,_0x24fc70=_0x5936fc[_0x1af38c(0x237)]();return _0x24fc70[_0x1af38c(0x2d8)]=_0x5936fc[_0x1af38c(0x2d8)],this[_0x1af38c(0x2c0)](_0x24fc70,_0x591c00),_0x24fc70;}[_0x47aec1(0x1ec)](_0x285c14){const _0x1ddf4f=_0x47aec1;return _0x285c14[_0x1ddf4f(0x246)](_0x27e218=>{const _0x45eaaf=_0x1ddf4f,_0x4d6206=this[_0x45eaaf(0x1e3)](_0x27e218);return Number(_0x27e218[_0x45eaaf(0x1f7)][_0x45eaaf(0x270)](_0x4d6206));});}[_0x47aec1(0x289)](_0x4ad9ec,_0x10316f){const _0x1cf2e2=_0x47aec1;if(_0x4ad9ec['is'](_0x1cf2e2(0x2c4),_0x1cf2e2(0x2d0)))_0x10316f[_0x1cf2e2(0x255)]({'item':_0x4ad9ec,'type':_0x1cf2e2(0x2af)});else{_0x4ad9ec['is'](_0x1cf2e2(0x2c4))&&_0x10316f[_0x1cf2e2(0x255)]({'item':_0x4ad9ec,'type':_0x1cf2e2(0x1f2)});for(const _0x2124f4 of _0x4ad9ec[_0x1cf2e2(0x1ce)]())this[_0x1cf2e2(0x289)](_0x2124f4,_0x10316f);_0x4ad9ec['is'](_0x1cf2e2(0x2c4))&&_0x10316f[_0x1cf2e2(0x255)]({'item':_0x4ad9ec,'type':_0x1cf2e2(0x228)});}return _0x10316f;}[_0x47aec1(0x26b)](){const _0x43995f=_0x47aec1,_0x26add5=new Map(this[_0x43995f(0x209)]),_0x42c3fe=new Map(_0x26add5),_0x15cabf=new Map(),_0x72aa47={'insertions':{},'deletions':{}},_0x2e6415={'insertions':{},'deletions':{}},_0x3d559d=new Map(),_0x4d9650=new Set([...this[_0x43995f(0x2ba)][_0x43995f(0x296)](),...this[_0x43995f(0x1d6)][_0x43995f(0x296)]()]);_0x4d9650[_0x43995f(0x2c2)](_0x43995f(0x212));for(const _0x531c9a of _0x4d9650){const _0xae0d5a=this[_0x43995f(0x1d6)][_0x43995f(0x1e6)](_0x531c9a)||G(_0x531c9a,!0x1),_0x56c03c=this[_0x43995f(0x2ba)][_0x43995f(0x1e6)](_0x531c9a)||G(_0x531c9a,!0x1);_0xae0d5a[_0x43995f(0x2d5)]()||_0x56c03c[_0x43995f(0x2d5)]()?(_0x72aa47[_0x43995f(0x236)][_0x531c9a]=q(_0xae0d5a),_0x72aa47[_0x43995f(0x2e6)][_0x531c9a]=q(_0x56c03c),this[_0x43995f(0x1f1)](_0x72aa47[_0x43995f(0x2e6)][_0x531c9a],_0x56c03c),this[_0x43995f(0x1f1)](_0x72aa47[_0x43995f(0x236)][_0x531c9a],_0xae0d5a),_0x2e6415[_0x43995f(0x236)][_0x531c9a]=this[_0x43995f(0x289)](this[_0x43995f(0x200)][_0x43995f(0x1e6)](_0x531c9a),[]),_0x2e6415[_0x43995f(0x2e6)][_0x531c9a]=this[_0x43995f(0x289)](this[_0x43995f(0x1fe)][_0x43995f(0x1e6)](_0x531c9a)||G(_0x531c9a,!0x1),[])):_0x4d9650[_0x43995f(0x2c2)](_0x531c9a);}for(const _0x504e00 of _0x4d9650){const _0x324804=_0x2e6415[_0x43995f(0x236)][_0x504e00];for(const _0x362159 of _0x324804){const _0x4f7375=this[_0x43995f(0x1e3)](_0x362159),_0x412c3e=_0x362159[_0x43995f(0x1f7)][_0x43995f(0x270)](_0x4f7375);_0x42c3fe[_0x43995f(0x2c2)](_0x412c3e),_0x412c3e>=this[_0x43995f(0x27b)]&&_0x15cabf[_0x43995f(0x280)](_0x412c3e,_0x26add5[_0x43995f(0x1e6)](_0x412c3e));}}for(const _0x20f41a of _0x4d9650){const _0x37adc1=_0x2e6415[_0x43995f(0x236)][_0x20f41a],_0x6000a4=this[_0x43995f(0x1ec)](_0x2e6415[_0x43995f(0x2e6)][_0x20f41a]);let _0x5a3a92=0x0;for(const _0x1f0a2a of _0x37adc1){const _0x4f830d=this[_0x43995f(0x1e3)](_0x1f0a2a),_0x18feea=_0x1f0a2a[_0x43995f(0x1f7)][_0x43995f(0x270)](_0x4f830d);if(!_0x15cabf[_0x43995f(0x1f3)](_0x18feea)&&!_0x3d559d[_0x43995f(0x1f3)](_0x18feea)){if(_0x42c3fe[_0x43995f(0x1f3)](_0x18feea))_0x5a3a92++;else{if(_0x18feea!=_0x6000a4[_0x5a3a92]){const _0x36fd2c=_0x26add5[_0x43995f(0x1e6)](_0x18feea)||_0x26add5[_0x43995f(0x1e6)](_0x6000a4[_0x5a3a92]);for(;_0x18feea!=_0x6000a4[_0x5a3a92];)_0x42c3fe[_0x43995f(0x1f3)](_0x6000a4[_0x5a3a92])||(_0x3d559d[_0x43995f(0x280)](_0x6000a4[_0x5a3a92],_0x36fd2c),_0x26add5[_0x43995f(0x280)](_0x6000a4[_0x5a3a92],_0x36fd2c)),_0x5a3a92++;}_0x5a3a92++;}}}}for(const _0x570885 of _0x4d9650){const _0x444b9b=_0x2e6415[_0x43995f(0x236)][_0x570885];for(const _0x329e76 of _0x444b9b){const _0xf69e9=this[_0x43995f(0x1e3)](_0x329e76),_0x582d6b=_0x329e76[_0x43995f(0x1f7)][_0x43995f(0x270)](_0xf69e9);if(_0x3d559d[_0x43995f(0x1f3)](_0x582d6b)){const _0x3151c5=_0x3d559d[_0x43995f(0x1e6)](_0x582d6b);_0x42c3fe[_0x43995f(0x1f3)](_0x582d6b)||_0x42c3fe[_0x43995f(0x280)](_0x582d6b,{..._0x3151c5}),_0x15cabf[_0x43995f(0x280)](_0x582d6b,{..._0x3151c5});}}}for(const _0x2b78eb of _0x42c3fe[_0x43995f(0x296)]())_0x2b78eb>=this[_0x43995f(0x27b)]&&_0x42c3fe[_0x43995f(0x2c2)](_0x2b78eb);const _0x3d0fbf=new Map();for(const _0x3f7dac of _0x4d9650){let _0x3b1500=_0x2e6415[_0x43995f(0x236)][_0x3f7dac];for(const _0x22f079 of _0x3b1500)if(_0x22f079[_0x43995f(0x1f7)]['is'](_0x43995f(0x2c4),_0x43995f(0x25d))){const _0x3a037c=this[_0x43995f(0x1e3)](_0x22f079),_0xab7249=_0x22f079[_0x43995f(0x1f7)][_0x43995f(0x270)](_0x3a037c);if(_0x15cabf[_0x43995f(0x1f3)](_0xab7249)){const _0x4e69a3=_0x22f079[_0x43995f(0x1f7)][_0x43995f(0x27c)][_0x43995f(0x27c)][_0x43995f(0x270)](_0x43995f(0x2d6)),_0x278ae8=_0x3d0fbf[_0x43995f(0x1e6)](_0x4e69a3)||new Set();_0x278ae8[_0x43995f(0x245)](_0x15cabf[_0x43995f(0x1e6)](_0xab7249)[_0x43995f(0x1db)]),_0x3d0fbf[_0x43995f(0x280)](_0x4e69a3,_0x278ae8);}}_0x3b1500=_0x2e6415[_0x43995f(0x2e6)][_0x3f7dac];for(const _0x3b580a of _0x3b1500)if(_0x3b580a[_0x43995f(0x1f7)]['is'](_0x43995f(0x2c4),_0x43995f(0x25d))){const _0x37d2ed=this[_0x43995f(0x1e3)](_0x3b580a),_0x5d90a5=_0x3b580a[_0x43995f(0x1f7)][_0x43995f(0x270)](_0x37d2ed);if(_0x42c3fe[_0x43995f(0x1f3)](_0x5d90a5)){const _0x20adaa=_0x3b580a[_0x43995f(0x1f7)][_0x43995f(0x27c)][_0x43995f(0x27c)][_0x43995f(0x270)](_0x43995f(0x2d6)),_0x4aa7d8=_0x3d0fbf[_0x43995f(0x1e6)](_0x20adaa)||new Set();_0x4aa7d8[_0x43995f(0x245)](_0x42c3fe[_0x43995f(0x1e6)](_0x5d90a5)[_0x43995f(0x1db)]),_0x3d0fbf[_0x43995f(0x280)](_0x20adaa,_0x4aa7d8);}}for(const _0x53d499 of _0x3d0fbf[_0x43995f(0x296)]())(_0x15cabf[_0x43995f(0x1f3)](_0x53d499)||_0x42c3fe[_0x43995f(0x1f3)](_0x53d499))&&_0x3d0fbf[_0x43995f(0x2c2)](_0x53d499);}for(const _0xd8ef40 of _0x4d9650){const _0x5a6c14=_0x2e6415[_0x43995f(0x236)][_0xd8ef40];let _0xceec6e=null,_0x874c7f=null;for(const _0x171927 of _0x5a6c14){const _0x4a5426=this[_0x43995f(0x1e3)](_0x171927),_0x382212=_0x171927[_0x43995f(0x1f7)][_0x43995f(0x270)](_0x4a5426),_0x5c27c0=_0x3d0fbf[_0x43995f(0x1e6)](_0x382212);_0x5c27c0&&_0x43995f(0x1f2)==_0x171927[_0x43995f(0x1ca)]&&(_0xceec6e=Array[_0x43995f(0x281)](_0x5c27c0)[0x0],_0x874c7f=_0x171927[_0x43995f(0x1f7)][_0x43995f(0x270)](_0x43995f(0x23e))),_0xceec6e&&(_0x42c3fe[_0x43995f(0x280)](_0x382212,{'userId':_0xceec6e}),_0x15cabf[_0x43995f(0x280)](_0x382212,{'userId':_0xceec6e})),_0x382212==_0x874c7f&&(_0xceec6e=null,_0x874c7f=null);}}const _0x1f1bae={},_0x599a5b=new Set();for(const _0x5d9ed3 of _0x4d9650){const _0x4c4c1d=_0x72aa47[_0x43995f(0x2e6)][_0x5d9ed3],_0x3cc840=_0x72aa47[_0x43995f(0x236)][_0x5d9ed3];for(const {userId:_0x1e84af}of this[_0x43995f(0x2b5)][_0x43995f(0x2bb)]())null!==_0x1e84af&&_0x599a5b[_0x43995f(0x245)](_0x1e84af);for(const {userId:_0x29a8be}of this[_0x43995f(0x24b)][_0x43995f(0x2bb)]())null!==_0x29a8be&&_0x599a5b[_0x43995f(0x245)](_0x29a8be);this[_0x43995f(0x26f)](_0x3cc840,_0x2e6415[_0x43995f(0x236)][_0x5d9ed3],_0x15cabf,_0x43995f(0x21b),_0x599a5b),this[_0x43995f(0x26f)](_0x4c4c1d,_0x2e6415[_0x43995f(0x2e6)][_0x5d9ed3],_0x42c3fe,_0x43995f(0x256),_0x599a5b),_0x1f1bae[_0x5d9ed3]={'insertions':this[_0x43995f(0x25c)](_0x3cc840),'deletions':this[_0x43995f(0x25c)](_0x4c4c1d),'attachChange':this[_0x43995f(0x24b)][_0x43995f(0x1e6)](_0x5d9ed3)||null,'attributesBefore':_0x200b98(this[_0x43995f(0x1c9)][_0x43995f(0x1e6)](_0x5d9ed3))||{},'attributesAfter':_0x200b98(this[_0x43995f(0x292)][_0x43995f(0x1e6)](_0x5d9ed3))};}return{'diffData':_0x1f1bae,'authorsIds':Array[_0x43995f(0x281)](_0x599a5b)};}[_0x47aec1(0x2a0)](_0x3c1661){const _0x463aec=_0x47aec1;for(const [,_0x467c38]of _0x3c1661[_0x463aec(0x283)]){const _0x1f5843=_0x467c38[_0x463aec(0x2ca)][_0x463aec(0x2cc)]()[_0x463aec(0x2dd)](_0x16418c=>_0x463aec(0x25d)==_0x16418c[_0x463aec(0x24f)]);for(const _0x3f08b2 of _0x1f5843)0x1==_0x3f08b2[_0x463aec(0x1d1)]&&_0x3f08b2[_0x463aec(0x230)](0x0)['is'](_0x463aec(0x2c4),_0x463aec(0x20c))&&_0x3f08b2[_0x463aec(0x230)](0x0)[_0x463aec(0x26a)](_0x463aec(0x239),!0x0);}}[_0x47aec1(0x25c)](_0x3e4572){const _0xa5977a=_0x47aec1;this[_0xa5977a(0x2a0)](_0x3e4572);const _0x2ca79a=this[_0xa5977a(0x29b)][_0xa5977a(0x213)][_0xa5977a(0x211)](_0x3e4572,{}),_0x44ac5a=Array[_0xa5977a(0x281)](_0x2ca79a[_0xa5977a(0x1ce)]())[_0xa5977a(0x246)](_0x38968f=>this[_0xa5977a(0x2d1)](_0x38968f));return JSON[_0xa5977a(0x1ef)](_0x44ac5a);}[_0x47aec1(0x2d1)](_0x45f17e){const _0x3a9a32=_0x47aec1;if(_0x45f17e['is'](_0x3a9a32(0x2d0)))return _0x45f17e[_0x3a9a32(0x213)];{const _0x4ac56b=_0x45f17e;return{'type':Object[_0x3a9a32(0x296)](T)[_0x3a9a32(0x2c7)](_0x1f30cb=>_0x45f17e instanceof T[_0x1f30cb]),'name':_0x4ac56b[_0x3a9a32(0x24f)],'attributes':Array[_0x3a9a32(0x281)](_0x4ac56b[_0x3a9a32(0x1f5)]()),'children':Array[_0x3a9a32(0x281)](_0x4ac56b[_0x3a9a32(0x1ce)]())[_0x3a9a32(0x246)](_0x894a92=>this[_0x3a9a32(0x2d1)](_0x894a92))};}}[_0x47aec1(0x26f)](_0x14909a,_0x54cc9f,_0x5d31e4,_0x33ddf4,_0x4259ce){const _0x53dc89=_0x47aec1;let _0x3cdf1b=null,_0x1656f7=null,_0x18700d=0x0;const _0x21ea6c=this[_0x53dc89(0x29b)][_0x53dc89(0x2b0)];for(let _0x5b9029=0x0;_0x5b9029<_0x54cc9f[_0x53dc89(0x1ff)];_0x5b9029++){const _0x3778f8=this[_0x53dc89(0x1e3)](_0x54cc9f[_0x5b9029]),_0x541102=_0x54cc9f[_0x5b9029][_0x53dc89(0x1f7)][_0x53dc89(0x270)](_0x3778f8),_0x5e48a5=_0x5d31e4[_0x53dc89(0x1e6)](_0x541102),_0xb0d7ff=_0x5b9029==_0x54cc9f[_0x53dc89(0x1ff)]-0x1;(!_0x3cdf1b&&_0x5e48a5&&(_0x3cdf1b=_0x5e48a5,_0x1656f7=_0x54cc9f[_0x5b9029]),_0x3cdf1b&&(!_0x5e48a5||_0x5e48a5[_0x53dc89(0x1db)]!=_0x3cdf1b[_0x53dc89(0x1db)]))&&(_0x1286a5(_0x5e48a5,L(_0x1656f7,_0x14909a,_0x21ea6c),L(_0x54cc9f[_0x5b9029],_0x14909a,_0x21ea6c)),_0x3cdf1b=_0x5e48a5||null,_0x1656f7=_0x5e48a5?_0x54cc9f[_0x5b9029]:null),_0x3cdf1b&&_0xb0d7ff&&_0x1286a5(_0x5e48a5,L(_0x1656f7,_0x14909a,_0x21ea6c),W(_0x54cc9f[_0x5b9029],_0x14909a,_0x21ea6c));}function _0x1286a5(_0x5877f6,_0x2f9cae,_0x1c02c8){const _0x560beb=_0x53dc89,_0x3dc7a9=_0x3cdf1b[_0x560beb(0x1db)],_0x9d8851=_0x560beb(0x2c9)+_0x33ddf4+':'+_0x3dc7a9+':'+_0x18700d++,_0x48988f=_0x21ea6c[_0x560beb(0x22b)](_0x2f9cae,_0x1c02c8);_0x14909a[_0x560beb(0x283)][_0x560beb(0x280)](_0x9d8851,_0x48988f),null!==_0x3dc7a9&&_0x4259ce[_0x560beb(0x245)](_0x3dc7a9);}}[_0x47aec1(0x1e3)](_0x364d0c){const _0x16d567=_0x47aec1;switch(_0x364d0c[_0x16d567(0x1ca)]){case _0x16d567(0x1f2):return _0x16d567(0x2d6);case _0x16d567(0x228):return _0x16d567(0x23e);default:return _0x16d567(0x231);}}[_0x47aec1(0x2c0)](_0x51ec23,_0x1ad1b7){const _0x387d01=_0x47aec1;_0x51ec23[_0x387d01(0x23d)]=null;for(const _0x535a5d in _0x51ec23){const _0x8909b=_0x51ec23[_0x535a5d];if(_0x8909b instanceof _0x361f2f){const _0x207168=_0x1ad1b7[_0x387d01(0x1e6)](_0x8909b[_0x387d01(0x1dd)][_0x387d01(0x276)]);_0x51ec23[_0x535a5d]=this[_0x387d01(0x268)](_0x8909b,_0x207168);}if(_0x8909b instanceof _0x5ab204){const _0xdb6492=_0x1ad1b7[_0x387d01(0x1e6)](_0x8909b[_0x387d01(0x1dd)][_0x387d01(0x276)]);_0x51ec23[_0x535a5d]=this[_0x387d01(0x258)](_0x8909b,_0xdb6492);}_0x387d01(0x1dd)===_0x535a5d&&(_0x51ec23[_0x387d01(0x1dd)]=_0x1ad1b7[_0x387d01(0x1e6)](_0x51ec23[_0x387d01(0x1dd)][_0x387d01(0x276)]));}}[_0x47aec1(0x258)](_0x10191d,_0x100a75){const _0x408f00=_0x47aec1;return this[_0x408f00(0x29b)][_0x408f00(0x2b0)][_0x408f00(0x22b)](this[_0x408f00(0x268)](_0x10191d[_0x408f00(0x2ca)],_0x100a75),this[_0x408f00(0x268)](_0x10191d[_0x408f00(0x210)],_0x100a75));}[_0x47aec1(0x268)](_0x4ff392,_0x27604e){const _0x2e8e26=_0x47aec1;return this[_0x2e8e26(0x29b)][_0x2e8e26(0x2b0)][_0x2e8e26(0x2a2)](_0x27604e,_0x4ff392[_0x2e8e26(0x22a)],_0x4ff392[_0x2e8e26(0x298)]);}[_0x47aec1(0x285)](_0x29fc74){const _0x57eccf=_0x47aec1,_0x3cf596=this[_0x57eccf(0x200)][_0x57eccf(0x1e6)](_0x29fc74[_0x57eccf(0x2d4)][_0x57eccf(0x1dd)][_0x57eccf(0x276)]),_0xa95e6c=this[_0x57eccf(0x268)](_0x29fc74[_0x57eccf(0x2d4)],_0x3cf596),_0x19260=null===_0x29fc74[_0x57eccf(0x2d8)]?null:_0x29fc74[_0x57eccf(0x2d8)]||this[_0x57eccf(0x29b)][_0x57eccf(0x288)][_0x57eccf(0x1e6)](_0x57eccf(0x294))['me']['id'],_0x86aaac=_0xa95e6c[_0x57eccf(0x27c)],_0x7875bd=this[_0x57eccf(0x24c)],_0x5dfbff=[];for(const _0x1bb841 of _0x29fc74[_0x57eccf(0x2d7)])if(_0x1bb841['is'](_0x57eccf(0x2c4)))_0x5dfbff[_0x57eccf(0x255)](this[_0x57eccf(0x2a1)](_0x1bb841));else{for(let _0x337944=0x0;_0x337944<_0x1bb841[_0x57eccf(0x260)];_0x337944++)_0x5dfbff[_0x57eccf(0x255)](new _0x512062(_0x57eccf(0x2d0),{'vid':this[_0x57eccf(0x24c)]++}));}const _0x20777f=this[_0x57eccf(0x24c)];for(let _0x1dd9bf=_0x7875bd;_0x1dd9bf<_0x20777f;_0x1dd9bf++)this[_0x57eccf(0x209)][_0x57eccf(0x280)](_0x1dd9bf,{'userId':_0x19260});_0x86aaac[_0x57eccf(0x257)](_0xa95e6c[_0x57eccf(0x250)],_0x5dfbff);}[_0x47aec1(0x2e2)](_0x17d48c){const _0x5286c5=_0x47aec1;(_0x17d48c=this[_0x5286c5(0x1d9)](_0x17d48c,this[_0x5286c5(0x200)]))[_0x5286c5(0x243)]();const _0x10e797=null===_0x17d48c[_0x5286c5(0x2d8)]?null:_0x17d48c[_0x5286c5(0x2d8)]||this[_0x5286c5(0x29b)][_0x5286c5(0x288)][_0x5286c5(0x1e6)](_0x5286c5(0x294))['me']['id'],_0x1bbd43=_0x17d48c[_0x5286c5(0x295)](),_0x4daaf4=_0x1bbd43[_0x5286c5(0x27c)],_0x178ba1=_0x1bbd43[_0x5286c5(0x250)];!function _0x285465(_0x32d970,_0x41fbd3,_0x2701d1,_0x35f525){const _0x4f2e9b=_0x5286c5;for(let _0x2a0efd=_0x2701d1;_0x2a0efd<_0x35f525;_0x2a0efd++){const _0xeb8562=_0x41fbd3[_0x4f2e9b(0x230)](_0x2a0efd);_0xeb8562['is'](_0x4f2e9b(0x2c4),_0x4f2e9b(0x2d0))?_0x32d970[_0x4f2e9b(0x280)](_0xeb8562[_0x4f2e9b(0x270)](_0x4f2e9b(0x231)),{'userId':_0x10e797}):(_0x32d970[_0x4f2e9b(0x280)](_0xeb8562[_0x4f2e9b(0x270)](_0x4f2e9b(0x2d6)),{'userId':_0x10e797}),_0x285465(_0x32d970,_0xeb8562,0x0,_0xeb8562[_0x4f2e9b(0x1d1)]),_0x32d970[_0x4f2e9b(0x280)](_0xeb8562[_0x4f2e9b(0x270)](_0x4f2e9b(0x23e)),{'userId':_0x10e797}));}}(this[_0x5286c5(0x209)],_0x4daaf4,_0x178ba1,_0x178ba1+_0x17d48c[_0x5286c5(0x227)]);}[_0x47aec1(0x23a)](_0x98e5f6){const _0x514f7b=_0x47aec1,_0xa32a69=null===(_0x98e5f6=this[_0x514f7b(0x1d9)](_0x98e5f6,this[_0x514f7b(0x200)]))[_0x514f7b(0x2d8)]?null:_0x98e5f6[_0x514f7b(0x2d8)]||this[_0x514f7b(0x29b)][_0x514f7b(0x288)][_0x514f7b(0x1e6)](_0x514f7b(0x294))['me']['id'],_0x29ab75=_0x98e5f6[_0x514f7b(0x274)][_0x514f7b(0x27c)],_0x885e30=_0x98e5f6[_0x514f7b(0x204)][_0x514f7b(0x27c)],_0x1b187d=_0x29ab75[_0x514f7b(0x270)](_0x514f7b(0x23e)),_0x493a12=_0x885e30[_0x514f7b(0x270)](_0x514f7b(0x2d6));_0x29ab75[_0x514f7b(0x26a)](_0x514f7b(0x23e),_0x885e30[_0x514f7b(0x270)](_0x514f7b(0x23e))),_0x885e30[_0x514f7b(0x26a)](_0x514f7b(0x23e),_0x1b187d),this[_0x514f7b(0x209)][_0x514f7b(0x280)](_0x493a12,{'userId':_0xa32a69}),this[_0x514f7b(0x209)][_0x514f7b(0x280)](_0x1b187d,{'userId':_0xa32a69}),_0x98e5f6[_0x514f7b(0x243)]();}[_0x47aec1(0x2ce)](_0x4f121a){const _0x1f3872=_0x47aec1,_0x9edd99=null===(_0x4f121a=this[_0x1f3872(0x1d9)](_0x4f121a,this[_0x1f3872(0x200)]))[_0x1f3872(0x2d8)]?null:_0x4f121a[_0x1f3872(0x2d8)]||this[_0x1f3872(0x29b)][_0x1f3872(0x288)][_0x1f3872(0x1e6)](_0x1f3872(0x294))['me']['id'],_0x24dfab=_0x4f121a[_0x1f3872(0x247)],_0x121eb4=_0x4f121a[_0x1f3872(0x27f)][_0x1f3872(0x27c)];_0x4f121a[_0x1f3872(0x243)]();const _0x465772=_0x121eb4[_0x1f3872(0x270)](_0x1f3872(0x23e)),_0x5b0446=_0x4f121a[_0x1f3872(0x1eb)][_0x1f3872(0x2b8)];if(_0x24dfab){const _0xfdfdee=_0x5b0446[_0x1f3872(0x270)](_0x1f3872(0x23e)),_0x1e2696=_0x121eb4[_0x1f3872(0x270)](_0x1f3872(0x23e));_0x121eb4[_0x1f3872(0x26a)](_0x1f3872(0x23e),_0xfdfdee),_0x5b0446[_0x1f3872(0x26a)](_0x1f3872(0x23e),_0x1e2696),this[_0x1f3872(0x209)][_0x1f3872(0x280)](_0x121eb4[_0x1f3872(0x270)](_0x1f3872(0x23e)),{'userId':_0x9edd99}),this[_0x1f3872(0x209)][_0x1f3872(0x280)](_0x5b0446[_0x1f3872(0x270)](_0x1f3872(0x2d6)),{'userId':_0x9edd99});}else{const _0x20b243=this[_0x1f3872(0x24c)]++,_0x55b8b8=this[_0x1f3872(0x24c)]++;_0x121eb4[_0x1f3872(0x26a)](_0x1f3872(0x23e),_0x20b243),_0x5b0446[_0x1f3872(0x26a)](_0x1f3872(0x2d6),_0x55b8b8),_0x5b0446[_0x1f3872(0x26a)](_0x1f3872(0x23e),_0x465772),this[_0x1f3872(0x209)][_0x1f3872(0x280)](_0x20b243,{'userId':_0x9edd99}),this[_0x1f3872(0x209)][_0x1f3872(0x280)](_0x55b8b8,{'userId':_0x9edd99});}}[_0x47aec1(0x2ac)](_0x44c01d){const _0x21c767=_0x47aec1;if(!_0x44c01d[_0x21c767(0x2b3)])return;const _0x22256b=(_0x44c01d=this[_0x21c767(0x1d9)](_0x44c01d,this[_0x21c767(0x1d6)]))[_0x21c767(0x2cb)]?_0x44c01d[_0x21c767(0x2cb)][_0x21c767(0x1dd)]:null,_0x351839=_0x44c01d[_0x21c767(0x21e)]?_0x44c01d[_0x21c767(0x21e)][_0x21c767(0x1dd)]:null;_0x22256b&&this[_0x21c767(0x2e7)][_0x21c767(0x2c2)](_0x44c01d[_0x21c767(0x24f)]),_0x351839&&this[_0x21c767(0x2e7)][_0x21c767(0x280)](_0x44c01d[_0x21c767(0x24f)],_0x44c01d[_0x21c767(0x21e)][_0x21c767(0x237)]());const _0x2da873=null===_0x44c01d[_0x21c767(0x2d8)]?null:_0x44c01d[_0x21c767(0x2d8)]||this[_0x21c767(0x29b)][_0x21c767(0x288)][_0x21c767(0x1e6)](_0x21c767(0x294))['me']['id'],_0x167e69=_0x44c01d[_0x21c767(0x24f)];if(!this[_0x21c767(0x2b5)][_0x21c767(0x1f3)](_0x167e69))return void this[_0x21c767(0x2b5)][_0x21c767(0x280)](_0x167e69,{'range':_0x44c01d[_0x21c767(0x2cb)],'userId':_0x2da873});const _0x3108df=this[_0x21c767(0x2b5)][_0x21c767(0x1e6)](_0x167e69),_0x3717ed=_0x3108df[_0x21c767(0x1f8)],_0x5cdcc1=_0x44c01d[_0x21c767(0x21e)];null==_0x3717ed&&null==_0x5cdcc1||_0x3717ed&&_0x5cdcc1&&_0x3717ed[_0x21c767(0x1c4)](_0x5cdcc1)?this[_0x21c767(0x2b5)][_0x21c767(0x2c2)](_0x44c01d[_0x21c767(0x24f)]):_0x3108df[_0x21c767(0x1db)]=_0x2da873;}[_0x47aec1(0x221)](_0x47f80d,_0x43f4bf){const _0x8bd87b=_0x47aec1;this[_0x8bd87b(0x1d6)][_0x8bd87b(0x1f3)](_0x47f80d[_0x8bd87b(0x276)])?this[_0x8bd87b(0x1d6)][_0x8bd87b(0x1e6)](_0x47f80d[_0x8bd87b(0x276)])[_0x8bd87b(0x2ad)]=_0x47f80d[_0x8bd87b(0x28f)]:(this[_0x8bd87b(0x1d6)][_0x8bd87b(0x280)](_0x47f80d[_0x8bd87b(0x276)],G(_0x47f80d[_0x8bd87b(0x276)],!0x0)),this[_0x8bd87b(0x292)][_0x8bd87b(0x280)](_0x47f80d[_0x8bd87b(0x276)],{}),_0x43f4bf&&this[_0x8bd87b(0x200)][_0x8bd87b(0x280)](_0x47f80d[_0x8bd87b(0x276)],G(_0x47f80d[_0x8bd87b(0x276)],!0x0)));const _0x3b7ad9=null===_0x47f80d[_0x8bd87b(0x2d8)]?null:_0x47f80d[_0x8bd87b(0x2d8)]||this[_0x8bd87b(0x29b)][_0x8bd87b(0x288)][_0x8bd87b(0x1e6)](_0x8bd87b(0x294))['me']['id'],_0x2556bf=this[_0x8bd87b(0x24b)][_0x8bd87b(0x1e6)](_0x47f80d[_0x8bd87b(0x276)]);_0x2556bf&&_0x2556bf[_0x8bd87b(0x1db)]===_0x3b7ad9?this[_0x8bd87b(0x24b)][_0x8bd87b(0x2c2)](_0x47f80d[_0x8bd87b(0x276)]):this[_0x8bd87b(0x24b)][_0x8bd87b(0x280)](_0x47f80d[_0x8bd87b(0x276)],{'userId':_0x3b7ad9,'isAttached':_0x47f80d[_0x8bd87b(0x28f)]});}[_0x47aec1(0x2ed)](_0x13e7d1){const _0x48360e=_0x47aec1,_0x503242=this[_0x48360e(0x292)][_0x48360e(0x1e6)](_0x13e7d1[_0x48360e(0x1dd)][_0x48360e(0x276)]);null===_0x13e7d1[_0x48360e(0x1fa)]?delete _0x503242[_0x13e7d1[_0x48360e(0x2ea)]]:_0x503242[_0x13e7d1[_0x48360e(0x2ea)]]=_0x13e7d1[_0x48360e(0x1fa)];}}function q(_0x1c8bf3){const _0x18daf7=_0x47aec1,_0x20046e=G(_0x1c8bf3[_0x18daf7(0x276)],_0x1c8bf3[_0x18daf7(0x2d5)]());for(const _0x3e4d4a of _0x1c8bf3[_0x18daf7(0x1ce)]()){const _0x14d567=_0x3e4d4a[_0x18daf7(0x2df)](!0x0);_0x20046e[_0x18daf7(0x271)](_0x14d567);}return _0x20046e;}function G(_0x540372,_0x572c26=!0x0){const _0x1fbfb2=_0x47aec1,_0x1c109d=new _0x425490();return _0x1c109d[_0x1fbfb2(0x276)]=_0x540372,_0x1c109d[_0x1fbfb2(0x2ad)]=_0x572c26,_0x1c109d[_0x1fbfb2(0x2d5)]=()=>_0x1c109d[_0x1fbfb2(0x2ad)],_0x1c109d;}function _0xe2b3(_0x237e1f,_0x16949d){const _0x3d243b=_0x3d24();return _0xe2b3=function(_0xe2b3d7,_0x457a29){_0xe2b3d7=_0xe2b3d7-0x1c3;let _0x4d161b=_0x3d243b[_0xe2b3d7];return _0x4d161b;},_0xe2b3(_0x237e1f,_0x16949d);}function L(_0x309373,_0x2ded1c,_0x210d73){const _0x91aa69=_0x47aec1,_0x5c231a=_0x91aa69(0x228)==_0x309373[_0x91aa69(0x1ca)]?_0x210d73[_0x91aa69(0x1e5)](_0x309373[_0x91aa69(0x1f7)],_0x91aa69(0x210)):_0x210d73[_0x91aa69(0x20e)](_0x309373[_0x91aa69(0x1f7)]);return _0x210d73[_0x91aa69(0x2a2)](_0x2ded1c,_0x5c231a[_0x91aa69(0x22a)],_0x5c231a[_0x91aa69(0x298)]);}function W(_0xb8ac2,_0xaade67,_0x5075e8){const _0x339271=_0x47aec1,_0x2595b0=_0x339271(0x1f2)==_0xb8ac2[_0x339271(0x1ca)]?_0x5075e8[_0x339271(0x1e5)](_0xb8ac2[_0x339271(0x1f7)],0x0):_0x5075e8[_0x339271(0x242)](_0xb8ac2[_0x339271(0x1f7)]);return _0x5075e8[_0x339271(0x2a2)](_0xaade67,_0x2595b0[_0x339271(0x22a)],_0x2595b0[_0x339271(0x298)]);}
|
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(
|