@ckeditor/ckeditor5-revision-history 42.0.0-alpha.2 → 42.0.0-alpha.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +1 -1
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +1 -1
  29. package/dist/translations/en-gb.js +1 -1
  30. package/dist/translations/en-gb.umd.js +1 -1
  31. package/dist/translations/en.umd.js +1 -1
  32. package/dist/translations/es-co.js +1 -1
  33. package/dist/translations/es-co.umd.js +1 -1
  34. package/dist/translations/es.js +1 -1
  35. package/dist/translations/es.umd.js +1 -1
  36. package/dist/translations/et.js +1 -1
  37. package/dist/translations/et.umd.js +1 -1
  38. package/dist/translations/fa.js +1 -1
  39. package/dist/translations/fa.umd.js +1 -1
  40. package/dist/translations/fi.js +1 -1
  41. package/dist/translations/fi.umd.js +1 -1
  42. package/dist/translations/fr.js +1 -1
  43. package/dist/translations/fr.umd.js +1 -1
  44. package/dist/translations/gl.js +1 -1
  45. package/dist/translations/gl.umd.js +1 -1
  46. package/dist/translations/he.js +1 -1
  47. package/dist/translations/he.umd.js +1 -1
  48. package/dist/translations/hi.js +1 -1
  49. package/dist/translations/hi.umd.js +1 -1
  50. package/dist/translations/hr.js +1 -1
  51. package/dist/translations/hr.umd.js +1 -1
  52. package/dist/translations/hu.js +1 -1
  53. package/dist/translations/hu.umd.js +1 -1
  54. package/dist/translations/id.js +1 -1
  55. package/dist/translations/id.umd.js +1 -1
  56. package/dist/translations/it.js +1 -1
  57. package/dist/translations/it.umd.js +1 -1
  58. package/dist/translations/ja.js +1 -1
  59. package/dist/translations/ja.umd.js +1 -1
  60. package/dist/translations/jv.js +1 -1
  61. package/dist/translations/jv.umd.js +1 -1
  62. package/dist/translations/ko.js +1 -1
  63. package/dist/translations/ko.umd.js +1 -1
  64. package/dist/translations/ku.js +1 -1
  65. package/dist/translations/ku.umd.js +1 -1
  66. package/dist/translations/lt.js +1 -1
  67. package/dist/translations/lt.umd.js +1 -1
  68. package/dist/translations/lv.js +1 -1
  69. package/dist/translations/lv.umd.js +1 -1
  70. package/dist/translations/ms.js +1 -1
  71. package/dist/translations/ms.umd.js +1 -1
  72. package/dist/translations/ne.js +1 -1
  73. package/dist/translations/ne.umd.js +1 -1
  74. package/dist/translations/nl.js +1 -1
  75. package/dist/translations/nl.umd.js +1 -1
  76. package/dist/translations/no.js +1 -1
  77. package/dist/translations/no.umd.js +1 -1
  78. package/dist/translations/pl.js +1 -1
  79. package/dist/translations/pl.umd.js +1 -1
  80. package/dist/translations/pt-br.js +1 -1
  81. package/dist/translations/pt-br.umd.js +1 -1
  82. package/dist/translations/pt.js +1 -1
  83. package/dist/translations/pt.umd.js +1 -1
  84. package/dist/translations/ro.js +1 -1
  85. package/dist/translations/ro.umd.js +1 -1
  86. package/dist/translations/ru.js +1 -1
  87. package/dist/translations/ru.umd.js +1 -1
  88. package/dist/translations/sk.js +1 -1
  89. package/dist/translations/sk.umd.js +1 -1
  90. package/dist/translations/sr-latn.js +1 -1
  91. package/dist/translations/sr-latn.umd.js +1 -1
  92. package/dist/translations/sr.js +1 -1
  93. package/dist/translations/sr.umd.js +1 -1
  94. package/dist/translations/sv.js +1 -1
  95. package/dist/translations/sv.umd.js +1 -1
  96. package/dist/translations/th.js +1 -1
  97. package/dist/translations/th.umd.js +1 -1
  98. package/dist/translations/ti.js +1 -1
  99. package/dist/translations/ti.umd.js +1 -1
  100. package/dist/translations/tk.js +1 -1
  101. package/dist/translations/tk.umd.js +1 -1
  102. package/dist/translations/tr.js +1 -1
  103. package/dist/translations/tr.umd.js +1 -1
  104. package/dist/translations/tt.js +1 -1
  105. package/dist/translations/tt.umd.js +1 -1
  106. package/dist/translations/ug.js +1 -1
  107. package/dist/translations/ug.umd.js +1 -1
  108. package/dist/translations/uk.js +1 -1
  109. package/dist/translations/uk.umd.js +1 -1
  110. package/dist/translations/ur.js +1 -1
  111. package/dist/translations/ur.umd.js +1 -1
  112. package/dist/translations/vi.js +1 -1
  113. package/dist/translations/vi.umd.js +1 -1
  114. package/dist/translations/zh-cn.js +1 -1
  115. package/dist/translations/zh-cn.umd.js +1 -1
  116. package/dist/translations/zh.js +1 -1
  117. package/dist/translations/zh.umd.js +1 -1
  118. package/dist/types/revisiontracker.d.ts +6 -1
  119. package/dist/types/revisionviewer.d.ts +82 -0
  120. package/dist/types/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
  121. package/dist/types/ui/revision/revisionauthorview.d.ts +9 -0
  122. package/dist/types/ui/revision/revisionnameview.d.ts +25 -0
  123. package/dist/types/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
  124. package/package.json +5 -5
  125. package/src/changeitem.js +2 -2
  126. package/src/editor/revisionviewereditor.js +2 -2
  127. package/src/editor/revisionviewereditorui.js +1 -1
  128. package/src/editor/revisionviewereditoruiview.js +1 -1
  129. package/src/index.js +1 -1
  130. package/src/revision.js +2 -2
  131. package/src/revisiondiff.js +1 -1
  132. package/src/revisionhistory.js +1 -1
  133. package/src/revisionsrepository.js +1 -1
  134. package/src/revisiontracker.d.ts +6 -1
  135. package/src/revisiontracker.js +1 -1
  136. package/src/revisionviewer.d.ts +82 -0
  137. package/src/revisionviewer.js +1 -1
  138. package/src/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
  139. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  140. package/src/ui/revision/revisionauthorview.d.ts +9 -0
  141. package/src/ui/revision/revisionauthorview.js +1 -1
  142. package/src/ui/revision/revisionnameview.d.ts +25 -0
  143. package/src/ui/revision/revisionnameview.js +1 -1
  144. package/src/ui/revision/revisionview.js +2 -2
  145. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  146. package/src/ui/revision/subrevisionview.js +1 -1
  147. package/src/ui/revision/utils.js +1 -1
  148. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  149. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  150. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  151. package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
  152. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  153. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  154. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  155. package/src/ui/revisionssidebar/utils.js +1 -1
  156. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  157. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  158. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  159. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  160. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x87c52a=_0x4b6d;(function(_0x41b320,_0x169ff8){const _0x2d433d=_0x4b6d,_0x4050e9=_0x41b320();while(!![]){try{const _0x5376fa=parseInt(_0x2d433d(0x1d8))/0x1*(-parseInt(_0x2d433d(0x1d5))/0x2)+parseInt(_0x2d433d(0xeb))/0x3+parseInt(_0x2d433d(0x1a7))/0x4*(-parseInt(_0x2d433d(0x1cd))/0x5)+-parseInt(_0x2d433d(0x1ae))/0x6*(-parseInt(_0x2d433d(0x138))/0x7)+-parseInt(_0x2d433d(0xe1))/0x8*(parseInt(_0x2d433d(0x11e))/0x9)+-parseInt(_0x2d433d(0x108))/0xa*(parseInt(_0x2d433d(0x169))/0xb)+parseInt(_0x2d433d(0x12c))/0xc*(parseInt(_0x2d433d(0x1c2))/0xd);if(_0x5376fa===_0x169ff8)break;else _0x4050e9['push'](_0x4050e9['shift']());}catch(_0x4cc84c){_0x4050e9['push'](_0x4050e9['shift']());}}}(_0x4dc7,0x448a8));import{Users as _0x84a68c}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x4ee04b,PendingActions as _0x2baaa6}from'ckeditor5/src/core.js';import{logWarning as _0x2f7e38,uid as _0xb5a8f6}from'ckeditor5/src/utils.js';import{Position as _0x5804af,Range as _0x3dd683,Element as _0x208d06,DocumentFragment as _0x434055,ViewText as _0x128f31,ViewElement as _0x3c52f4,ViewContainerElement as _0x2c5780,ViewAttributeElement as _0x51e954,ViewEmptyElement as _0x3fb33b,ViewRawElement as _0x5c5460,ViewUIElement as _0x9b2a1d,ViewDocumentFragment as _0x424408}from'ckeditor5/src/engine.js';import _0x4a03ab from'./revisionsrepository.js';function _0x4b6d(_0x5abb3a,_0x26b190){const _0x4dc7e9=_0x4dc7();return _0x4b6d=function(_0x4b6d17,_0x4b978d){_0x4b6d17=_0x4b6d17-0xd4;let _0x150fdf=_0x4dc7e9[_0x4b6d17];return _0x150fdf;},_0x4b6d(_0x5abb3a,_0x26b190);}import{getTranslation as _0x372d26}from'./utils/common-translations.js';function _0x4dc7(){const _0x54d063=['offsetSize','rootsAttributes','_touchedMarkers','_reset','_getVidAttributeName','clear','type','_bufferUpdate','diffData','update','getAttribute','_fixRange','useFillerType','_setAttribute','attachChange','isAdd','createPositionAt','currentRevision','version','source','_initialRevisionId','authorsIds','from','adapter','vid','tableCell','_handleSplitOperation','getTime','RevisionsRepository','_handleRootAttributeOperation','_diffRoots','childCount','getIndex','path','rootName','add','marker','shift','_getState','NEGATIVE_INFINITY','newRange','_isAttached','config','4127519TIzdaH','isReady','_bufferedUpdates','_removeMetaData','graveyardPosition','name','_copyMarkers','pluginName','document','marked','item','default','split','previousPosition','insertion','then','updateRevisions','getData','toView','values','getRevision','resolve','paragraph','push','$text','requires','fromVersion','stringify','_startingRevisionId','insertions','set','nodeAfter','position','_addPendingAction','locale','getAttributes','_makeModelFromViewString','createRevision','length','createPositionAfter','createPositionFromPath','_baseRoots','_processRootBeforeSave','_touchedRoots','buildRevisionData','sendBufferedUpdates','attributesAfter','ready','isAttached','revision-end','newValue','parent','userId','getNodeByPath','repository','elementStart','getLatestVersion','_markChanges','offset','creatorId','addRevisionData','conversion','4wikRXD','range','move','getRevisionRootsAttributes','children','_getPreviousFrom','addRevision','2654838AlAKIk','getTransformedByOperation','roots','_handleInsertOperation','_getBaseVids','_findInsertionIndex','includes','end','plugins','vid_end','_createCurrentRevision','revision-start','parse','data-revision-','createRange','insert','sort','getChild','saveRevision','toModel','10004397tSdcmp','addRootAttribute','_handleMergeOperation','revision:','loadState','documentFragment','_startingVersion','reverse','_isInit','initial','_touched','1064815QyDcwN','_applyOperations','_markers','authors','_revisionId','define','string','view','773554wBSwmZ','editing','_setConversion','1QCDgla','revisionHistory.resumeUnsavedRevision','_isPendingUpdate','trim','getAncestors','sourcePosition','isEnabled','_lastTo','creator','RevisionTracker','key','hasContent','getOperation','howMany','text','dataDowncast','_transformMarkers','setSource','_fixOperation','splitPosition','delete','_revisionDataBuilder','_getViewJson','get','initialData','Users','vid_start','keys','getRoot','baseVersion','bind','root','getMovedRangeStart','collaboration.channelId','reinsert','_removeRevisionMarkers','_loadState','insertionPosition','filter','getCurrentRevisionId','finally','_lastFrom','createdAt','_cloneOperation','RealTimeCollaborationClient','deletion','dataToMarker','_handleOperation','_createFromRanges','_appendChild','model','attributesBefore','afterInit','attributes','_generateTape','32wLPruJ','toVersion','some','_createInitialRevision','_handleMoveOperation','_savedMetaData','_loadRevisionData','$graveyard','_pendingAction','removeRootAttribute','158217QKqCjO','fromEntries','_replaceEditorDataWithRevisionData','_diffRootsAttributes','upcast','_operations','Initial\x20revision','keepParagraph','_clone','for','editor','getChildren','max','affectsData','_authorId','_execute','revision','_source','_saveMetaData','getRevisions','getOperations','targetPosition','changeRootAttribute','slice','createRangeIn','merge','getRange','getUser','elementEnd','10qRLQfA','_calculateMetaData','_idsRoots','element','forEach','reInit','processor','stickiness','_fixPosition','_makeRevision','isEqual','_insertChild','getWalker','deletions','getRootNames','_update','addRoot','PENDING_ACTION_REVISION_HISTORY','find','Empty\x20document','clone','_handleMarkerOperation','20403oFnELm','PendingActions','remove','_handleRootOperation','_removePendingAction','init','_makeIdsRoot','has','_continueCurrentRevision','history','detachRoot','oldRange','startsWith','data','12TPekBb','_loadedStateData','nodes','size','markers','markerToData','_getFromVersion','toData','createPositionBefore','_baseIdsRoots','start','map','7DVyjYY','_baseRootsAttributes','setRevisionData','editor-initial-data-replaced-with-revision-data','getRevisionDocumentData','_prepareViewToSave'];_0x4dc7=function(){return _0x54d063;};return _0x4dc7();}import{cloneDeep as _0x222622,isEqual as _0x42921a}from'lodash-es';const T={'c':_0x2c5780,'a':_0x51e954,'e':_0x3fb33b,'r':_0x5c5460,'u':_0x9b2a1d};export default class l extends _0x4ee04b{static get[_0x87c52a(0x170)](){const _0x577e72=_0x87c52a;return _0x577e72(0x1e1);}static get[_0x87c52a(0x182)](){return[_0x84a68c,_0x4a03ab,_0x2baaa6];}constructor(_0x47de54){const _0x562939=_0x87c52a;super(_0x47de54),this[_0x562939(0x155)]=null,this[_0x562939(0x14f)]=null,this[_0x562939(0x1ed)]=new J(this[_0x562939(0xf5)]),this[_0x562939(0x152)]=this[_0x562939(0xf5)][_0x562939(0x168)][_0x562939(0x1ef)](_0x562939(0x1f9))||_0x562939(0x1cb),this[_0x562939(0x16b)]=new Map(),this[_0x562939(0x12d)]=null;const _0x2ce878=_0xb5a8f6();this[_0x562939(0xfc)]={'history':this[_0x562939(0xf5)][_0x562939(0xdc)][_0x562939(0x171)][_0x562939(0x127)],'getLatestVersion':()=>Promise[_0x562939(0x17e)](this[_0x562939(0xf5)][_0x562939(0xdc)][_0x562939(0x171)][_0x562939(0x150)]),'getCurrentRevisionId':()=>_0x2ce878},this[_0x562939(0x187)](_0x562939(0x16a),!0x1),this[_0x562939(0x187)](_0x562939(0x1de),!0x0),this[_0x562939(0x187)](_0x562939(0x1da),!0x1),this[_0x562939(0xf5)][_0x562939(0x168)][_0x562939(0x1d2)](_0x562939(0x1d9),!0x0),this[_0x562939(0xf5)][_0x562939(0x1a6)][_0x562939(0xf4)](_0x562939(0xef))[_0x562939(0xd8)]({'view':_0x562939(0xfb)});}[_0x87c52a(0x123)](){const _0x49cf54=_0x87c52a;this[_0x49cf54(0x19f)]=this[_0x49cf54(0xf5)][_0x49cf54(0x1b6)][_0x49cf54(0x1ef)](_0x49cf54(0x15a)),this[_0x49cf54(0x1d7)](),this[_0x49cf54(0xf5)][_0x49cf54(0x12b)]['on'](_0x49cf54(0x198),()=>{const _0x2373e2=_0x49cf54,_0x423e9e=this[_0x2373e2(0x19f)][_0x2373e2(0x17d)](0x0),_0xa3e047=_0x423e9e&&null===_0x423e9e[_0x2373e2(0x1e0)]?_0x423e9e:null;if(this[_0x2373e2(0x126)]=!!_0xa3e047&&this[_0x2373e2(0xf5)][_0x2373e2(0x168)][_0x2373e2(0x1ef)](_0x2373e2(0x1d9)),this[_0x2373e2(0xf5)][_0x2373e2(0x1b6)][_0x2373e2(0x125)](_0x2373e2(0xd6))){const _0x5e1dbb=this[_0x2373e2(0xfc)][_0x2373e2(0x1ff)](),_0x2fd7c9=this[_0x2373e2(0x19f)][_0x2373e2(0x17d)](_0x5e1dbb);if(_0x2fd7c9)this[_0x2373e2(0x1c8)]=_0x2fd7c9[_0x2373e2(0x183)],this[_0x2373e2(0x126)]=!0x1;else{const _0x4f3cc6=this[_0x2373e2(0xfc)][_0x2373e2(0x127)][_0x2373e2(0xf0)][_0x2373e2(0x11a)](_0x76ea7c=>!_0x76ea7c[_0x2373e2(0x1ca)]),_0x9c46d1=_0x4f3cc6?_0x4f3cc6[_0x2373e2(0x1f5)]:this[_0x2373e2(0xfc)][_0x2373e2(0x127)][_0x2373e2(0x150)];_0x423e9e?(_0x423e9e[_0x2373e2(0xe2)]<_0x9c46d1&&_0x423e9e[_0x2373e2(0x117)]({'toVersion':_0x9c46d1}),this[_0x2373e2(0x126)]?(this[_0x2373e2(0xfc)][_0x2373e2(0x1ff)]=()=>_0xa3e047['id'],this[_0x2373e2(0x1c8)]=_0xa3e047[_0x2373e2(0x183)]):(this[_0x2373e2(0x1c8)]=_0x423e9e[_0x2373e2(0xe2)],this[_0x2373e2(0x126)]=!0x1)):(this[_0x2373e2(0x1c8)]=_0x9c46d1,this[_0x2373e2(0x126)]=!0x1);}}else _0xa3e047&&(this[_0x2373e2(0xf5)][_0x2373e2(0xdc)][_0x2373e2(0x171)][_0x2373e2(0x127)][_0x2373e2(0x150)]=Math[_0x2373e2(0xf7)](_0xa3e047[_0x2373e2(0xe2)],this[_0x2373e2(0xf5)][_0x2373e2(0xdc)][_0x2373e2(0x171)][_0x2373e2(0x127)][_0x2373e2(0x150)]),_0xa3e047[_0x2373e2(0x183)]===_0xa3e047[_0x2373e2(0xe2)]?(0x0!==_0xa3e047[_0x2373e2(0x183)]&&(this[_0x2373e2(0xfc)][_0x2373e2(0x1ff)]=()=>_0xa3e047['id']),this[_0x2373e2(0x126)]=!0x1):this[_0x2373e2(0x126)]&&(this[_0x2373e2(0xfc)][_0x2373e2(0x1ff)]=()=>_0xa3e047['id'],this[_0x2373e2(0x1c8)]=_0xa3e047[_0x2373e2(0x183)])),this[_0x2373e2(0x126)]||(this[_0x2373e2(0x1c8)]=this[_0x2373e2(0xf5)][_0x2373e2(0xdc)][_0x2373e2(0x171)][_0x2373e2(0x150)]);this[_0x2373e2(0x1ed)][_0x2373e2(0x123)](this[_0x2373e2(0xfc)][_0x2373e2(0x127)]),this[_0x2373e2(0xe4)](this[_0x2373e2(0x1c8)]),this[_0x2373e2(0x1b8)](this[_0x2373e2(0x1c8)]),this[_0x2373e2(0x155)]&&this[_0x2373e2(0x196)]();}),this[_0x49cf54(0x1f6)](_0x49cf54(0x16a))['to'](this,_0x49cf54(0x1da),_0x5badfc=>!_0x5badfc);}async[_0x87c52a(0xde)](){const _0x27ddbd=_0x87c52a;if(this[_0x27ddbd(0x19f)][_0x27ddbd(0x18f)]>0x0){const _0x4d3824=this[_0x27ddbd(0x19f)][_0x27ddbd(0x17d)](0x0),_0x3e60cf=await this[_0x27ddbd(0x13c)](_0x4d3824),_0x3e1aa6=await this[_0x27ddbd(0x1aa)](_0x4d3824);this[_0x27ddbd(0xed)](_0x3e60cf,_0x3e1aa6);}}[_0x87c52a(0x1e9)](_0x5958fa){const _0x5c7c5f=_0x87c52a;this[_0x5c7c5f(0xfc)]=_0x5958fa;}async[_0x87c52a(0x147)](){const _0x32705d=_0x87c52a,_0xdcefd7=await this[_0x32705d(0xfc)][_0x32705d(0x1a1)]();if(_0xdcefd7>this[_0x32705d(0x14f)][_0x32705d(0xe2)]){await this[_0x32705d(0x1fc)]();const _0x4eac26=this[_0x32705d(0x195)]({'revision':this[_0x32705d(0x14f)],'to':_0xdcefd7});_0x4eac26[_0x32705d(0x1d0)]=_0x4eac26[_0x32705d(0x153)][_0x32705d(0x137)](_0x4785b1=>this[_0x32705d(0xf5)][_0x32705d(0x1b6)][_0x32705d(0x1ef)](_0x32705d(0x1f1))[_0x32705d(0x106)](_0x4785b1)),this[_0x32705d(0x14f)][_0x32705d(0x117)](_0x4eac26);}}async[_0x87c52a(0x1fc)](){const _0x359516=_0x87c52a;this[_0x359516(0x126)]&&!this[_0x359516(0x12d)]&&(await this[_0x359516(0xe7)](this[_0x359516(0x14f)]),this[_0x359516(0x1ed)][_0x359516(0x1c6)](this[_0x359516(0x14f)]),this[_0x359516(0x12d)]={'fromVersion':this[_0x359516(0x14f)][_0x359516(0x183)],'authors':this[_0x359516(0x14f)][_0x359516(0x1d0)][_0x359516(0x102)]()});}async[_0x87c52a(0x1c0)](_0x21a16b={},_0x2fbee2=null){const _0x3cf589=_0x87c52a,_0x184f04=[];await this[_0x3cf589(0x1fc)](),this[_0x3cf589(0x126)]=!0x1,_0x2fbee2>this[_0x3cf589(0x14f)][_0x3cf589(0xe2)]&&(_0x2fbee2=null),null===_0x2fbee2&&(_0x2fbee2=await this[_0x3cf589(0xfc)][_0x3cf589(0x1a1)]());const _0x387163=this[_0x3cf589(0x132)](_0x2fbee2),_0x4bca0a=this[_0x3cf589(0x195)]({'from':_0x387163,'to':_0x2fbee2});if(this[_0x3cf589(0x14f)][_0x3cf589(0xe2)]<_0x2fbee2){const _0x3e5e63=this[_0x3cf589(0x195)]({'revision':this[_0x3cf589(0x14f)],'from':_0x2fbee2,'to':_0x2fbee2});_0x3e5e63[_0x3cf589(0x1d0)]=[],_0x3e5e63[_0x3cf589(0x153)]=[],_0x3e5e63['id']=this[_0x3cf589(0x14f)]['id'],this[_0x3cf589(0x14f)][_0x3cf589(0x117)](_0x3e5e63,!0x0),delete _0x3e5e63[_0x3cf589(0x1d0)],_0x184f04[_0x3cf589(0x180)](_0x3e5e63);}_0x21a16b[_0x3cf589(0x1a4)]=this[_0x3cf589(0xf5)][_0x3cf589(0x1b6)][_0x3cf589(0x1ef)](_0x3cf589(0x1f1))['me']['id'],_0x21a16b[_0x3cf589(0x16e)]=_0x21a16b[_0x3cf589(0x16e)]||null,_0x21a16b['id']=_0x21a16b['id']||_0xb5a8f6(),_0x21a16b={..._0x21a16b,..._0x4bca0a};const _0x44b9cd=this[_0x3cf589(0x1a5)](_0x21a16b);_0x184f04[_0x3cf589(0x180)](_0x21a16b);const _0x3c74c1=this[_0x3cf589(0x19f)][_0x3cf589(0x15e)](_0x44b9cd);if(0x0!==_0x3c74c1){const _0x5d83a4=this[_0x3cf589(0x19f)][_0x3cf589(0x17d)](_0x3c74c1-0x1);if(_0x5d83a4[_0x3cf589(0x183)]!==_0x2fbee2){const _0x38050f=this[_0x3cf589(0x1ed)][_0x3cf589(0x17a)](_0x2fbee2,_0x5d83a4[_0x3cf589(0xe2)]),_0x4a6136={'id':_0x5d83a4['id'],'diffData':_0x38050f[_0x3cf589(0x146)],'authorsIds':_0x38050f[_0x3cf589(0x153)],'authors':_0x38050f[_0x3cf589(0x153)][_0x3cf589(0x137)](_0x175ae4=>this[_0x3cf589(0xf5)][_0x3cf589(0x1b6)][_0x3cf589(0x1ef)](_0x3cf589(0x1f1))[_0x3cf589(0x106)](_0x175ae4)),'fromVersion':_0x2fbee2};_0x5d83a4===this[_0x3cf589(0x14f)]&&(_0x4a6136[_0x3cf589(0xd4)]=new Date(_0x21a16b[_0x3cf589(0xd4)][_0x3cf589(0x159)]()+0xa)),_0x5d83a4[_0x3cf589(0x117)](_0x4a6136,!0x0),delete _0x4a6136[_0x3cf589(0x1d0)],_0x184f04[_0x3cf589(0x180)](_0x4a6136);}}if(this[_0x3cf589(0x155)]){for(const _0x2c8bb9 of _0x184f04)this[_0x3cf589(0x145)](_0x2c8bb9['id'],_0x2c8bb9,!0x0);this[_0x3cf589(0x196)]();}return _0x44b9cd;}[_0x87c52a(0x1a5)](_0x1a4c1b){const _0x38e14f=_0x87c52a,_0x4e3b7c=this[_0x38e14f(0x19f)][_0x38e14f(0x18e)](_0x1a4c1b);return this[_0x38e14f(0x155)]&&_0x4e3b7c['on'](_0x38e14f(0x117),(_0x3f593e,_0x34a129,_0x43310c)=>{const _0x1960b2=_0x38e14f;_0x43310c||(this[_0x1960b2(0x145)](_0x34a129['id'],_0x34a129,!0x0),this[_0x1960b2(0x196)]());}),this[_0x38e14f(0x19f)][_0x38e14f(0x1ad)](_0x4e3b7c,this[_0x38e14f(0x1b3)](_0x4e3b7c)),_0x4e3b7c;}async[_0x87c52a(0x13c)](_0x4f0512){const _0x57a714=_0x87c52a;await this[_0x57a714(0xe7)](_0x4f0512);const _0x42ebbd={};for(const _0x2bb173 in _0x4f0512[_0x57a714(0x146)]){if(_0x4f0512[_0x57a714(0x146)][_0x2bb173][_0x57a714(0x14c)]&&!_0x4f0512[_0x57a714(0x146)][_0x2bb173][_0x57a714(0x14c)][_0x57a714(0x199)])continue;const _0x4cf457=this[_0x57a714(0x1fb)](JSON[_0x57a714(0x1ba)](_0x4f0512[_0x57a714(0x146)][_0x2bb173][_0x57a714(0x186)])),_0x2687d8=this[_0x57a714(0xf5)][_0x57a714(0x1d6)][_0x57a714(0x1d4)][_0x57a714(0x171)],_0x53ee5a=new _0x424408(_0x2687d8,_0x4cf457[_0x57a714(0x137)](_0x54aab3=>B(_0x54aab3,this[_0x57a714(0xf5)])));this[_0x57a714(0xf5)][_0x57a714(0x12b)][_0x57a714(0x10e)][_0x57a714(0x14a)](_0x57a714(0x172)),_0x42ebbd[_0x2bb173]=this[_0x57a714(0xf5)][_0x57a714(0x12b)][_0x57a714(0x10e)][_0x57a714(0x133)](_0x53ee5a),this[_0x57a714(0xf5)][_0x57a714(0x12b)][_0x57a714(0x10e)][_0x57a714(0x14a)](_0x57a714(0x174));}return _0x42ebbd;}async[_0x87c52a(0x1aa)](_0x5cc2a5){const _0x4a3a27=_0x87c52a;await this[_0x4a3a27(0xe7)](_0x5cc2a5);const _0x44cbbe={};for(const _0x20dbf9 in _0x5cc2a5[_0x4a3a27(0x146)])_0x5cc2a5[_0x4a3a27(0x146)][_0x20dbf9][_0x4a3a27(0x14c)]&&!_0x5cc2a5[_0x4a3a27(0x146)][_0x20dbf9][_0x4a3a27(0x14c)][_0x4a3a27(0x199)]||(_0x44cbbe[_0x20dbf9]=_0x5cc2a5[_0x4a3a27(0x146)][_0x20dbf9][_0x4a3a27(0x197)]||{});return _0x44cbbe;}[_0x87c52a(0x196)](){const _0x53c098=_0x87c52a;if(0x0===this[_0x53c098(0x16b)][_0x53c098(0x12f)])return;if(this[_0x53c098(0x1da)])return;let _0x413656=Array[_0x53c098(0x154)](this[_0x53c098(0x16b)][_0x53c098(0x17c)]());this[_0x53c098(0x16b)][_0x53c098(0x143)]();for(let _0x4328ed=0x0;_0x4328ed<_0x413656[_0x53c098(0x18f)];_0x4328ed++){const _0x11ac8d=_0x413656[_0x4328ed];let _0xf2f435=!0x1;for(const _0x511540 of Object[_0x53c098(0x1f3)](_0x11ac8d))void 0x0===_0x11ac8d[_0x511540]?delete _0x11ac8d[_0x511540]:'id'!==_0x511540&&(_0xf2f435=!0x0);_0xf2f435||(_0x413656[_0x4328ed]=null);}if(_0x413656=_0x413656[_0x53c098(0x1fe)](_0x3b68f7=>null!==_0x3b68f7),!_0x413656[_0x53c098(0x18f)])return;for(let _0x1319db=0x0;_0x1319db<_0x413656[_0x53c098(0x18f)];_0x1319db++){const _0x87b279=_0x413656[_0x1319db];void 0x0!==_0x87b279[_0x53c098(0x183)]&&void 0x0===_0x87b279[_0x53c098(0xe2)]&&(_0x87b279[_0x53c098(0xe2)]=this[_0x53c098(0x19f)][_0x53c098(0x17d)](_0x87b279['id'])[_0x53c098(0xe2)]),void 0x0!==_0x87b279[_0x53c098(0xe2)]&&void 0x0===_0x87b279[_0x53c098(0x183)]&&(_0x87b279[_0x53c098(0x183)]=this[_0x53c098(0x19f)][_0x53c098(0x17d)](_0x87b279['id'])[_0x53c098(0x183)]);}const _0x3d88df=this[_0x53c098(0xf5)][_0x53c098(0x168)][_0x53c098(0x1ef)](_0x53c098(0x1f9));this[_0x53c098(0x1da)]=!0x0,this[_0x53c098(0x18a)](),this[_0x53c098(0x155)][_0x53c098(0x179)](_0x413656,_0x3d88df)[_0x53c098(0x200)](()=>{const _0x4f637a=_0x53c098;this[_0x4f637a(0x1da)]=!0x1;})[_0x53c098(0x178)](_0x28f6fd=>{const _0x403ac5=_0x53c098;if(_0x28f6fd){for(const _0x43a164 of _0x28f6fd)this[_0x403ac5(0x13a)]({'id':_0x43a164['id'],'createdAt':_0x43a164[_0x403ac5(0xd4)]});}this[_0x403ac5(0x122)](),this[_0x403ac5(0x196)]();});}[_0x87c52a(0xed)](_0x204f8e,_0x4cb2e2){const _0x24b946=_0x87c52a;let _0x530ee3=this[_0x24b946(0xf5)][_0x24b946(0x168)][_0x24b946(0x1ef)](_0x24b946(0x1f0)),_0xb95adb=this[_0x24b946(0xf5)][_0x24b946(0x168)][_0x24b946(0x1ef)](_0x24b946(0x13f));if(void 0x0===_0x530ee3){_0x530ee3={};for(const _0x2f3472 of this[_0x24b946(0xf5)][_0x24b946(0xdc)][_0x24b946(0x171)][_0x24b946(0x116)]())_0x530ee3[_0x2f3472]='';}if(_0x24b946(0x1d3)==typeof _0x530ee3&&(_0x530ee3={'main':_0x530ee3}),void 0x0===_0xb95adb){_0xb95adb={};for(const _0x85ae70 of this[_0x24b946(0xf5)][_0x24b946(0xdc)][_0x24b946(0x171)][_0x24b946(0x116)]())_0xb95adb[_0x85ae70]={};}let _0x1a55a6=!0x1;const _0x59423c=Object[_0x24b946(0x1f3)](_0x530ee3),_0x46e853=Object[_0x24b946(0x1f3)](_0x204f8e);for(const _0x5c6838 of _0x59423c){if(_0x530ee3[_0x5c6838]!==_0x204f8e[_0x5c6838]&&''!==_0x530ee3[_0x5c6838][_0x24b946(0x1db)]()){_0x1a55a6=!0x0;break;}if(!_0x42921a(_0xb95adb[_0x5c6838],_0x4cb2e2[_0x5c6838])&&Object[_0x24b946(0x1f3)](_0xb95adb[_0x5c6838])[_0x24b946(0x18f)]>0x0){_0x1a55a6=!0x0;break;}}_0x1a55a6||(_0x1a55a6=_0x46e853[_0x24b946(0xe3)](_0x5099e9=>!this[_0x24b946(0xf5)][_0x24b946(0xdc)][_0x24b946(0x171)][_0x24b946(0x1f4)](_0x5099e9))),_0x1a55a6&&_0x2f7e38(_0x24b946(0x13b),{'editorData':_0x530ee3,'editorRootsAttributes':_0xb95adb,'revisionData':_0x204f8e,'revisionRootsAttributes':_0x4cb2e2}),this[_0x24b946(0xf5)][_0x24b946(0x168)][_0x24b946(0x187)](_0x24b946(0x1f0),_0x204f8e),this[_0x24b946(0xf5)][_0x24b946(0x168)][_0x24b946(0x187)](_0x24b946(0x13f),_0x4cb2e2);}[_0x87c52a(0x18a)](){const _0x3a19f1=_0x87c52a;if(!this[_0x3a19f1(0xe9)]){const _0x128d48=this[_0x3a19f1(0xf5)][_0x3a19f1(0x1b6)][_0x3a19f1(0x1ef)](_0x3a19f1(0x11f));this[_0x3a19f1(0xe9)]=_0x128d48[_0x3a19f1(0x161)](_0x372d26(this[_0x3a19f1(0xf5)][_0x3a19f1(0x18b)],_0x3a19f1(0x119)));}}[_0x87c52a(0x122)](){const _0x49572b=_0x87c52a;this[_0x49572b(0xe9)]&&(this[_0x49572b(0xf5)][_0x49572b(0x1b6)][_0x49572b(0x1ef)](_0x49572b(0x11f))[_0x49572b(0x120)](this[_0x49572b(0xe9)]),this[_0x49572b(0xe9)]=null);}[_0x87c52a(0x1b3)](_0xb0f6fa){const _0x4c5882=_0x87c52a,_0x9e083f=this[_0x4c5882(0x19f)][_0x4c5882(0xfe)]();_0x9e083f[_0x4c5882(0x1c9)]();let _0x20dd2f=0x0;for(;_0x20dd2f<_0x9e083f[_0x4c5882(0x18f)];){const _0x51605f=_0x9e083f[_0x20dd2f];if(_0x51605f===this[_0x4c5882(0x14f)]){_0x20dd2f++;continue;}if(_0x51605f['id']===this[_0x4c5882(0x152)])break;const _0x14aaf4=_0xb0f6fa[_0x4c5882(0xe2)]-_0x51605f[_0x4c5882(0xe2)]||_0xb0f6fa[_0x4c5882(0x183)]-_0x51605f[_0x4c5882(0x183)];if(_0x14aaf4>0x0)break;if(_0x14aaf4<0x0)_0x20dd2f++;else{if(!_0xb0f6fa[_0x4c5882(0x1e0)]&&_0x51605f[_0x4c5882(0x1e0)])break;if(_0x51605f[_0x4c5882(0x1e0)]||!_0xb0f6fa[_0x4c5882(0x1e0)]){if(_0xb0f6fa[_0x4c5882(0xd4)]>_0x51605f[_0x4c5882(0xd4)])break;_0x20dd2f++;}else _0x20dd2f++;}}return _0x20dd2f;}[_0x87c52a(0x13a)](_0x1453a3){const _0x1c3b45=_0x87c52a,_0x5e9ed9=this[_0x1c3b45(0x19f)][_0x1c3b45(0x17d)](_0x1453a3['id']);if(_0x1453a3[_0x1c3b45(0xd4)]&&(_0x1453a3[_0x1c3b45(0xd4)]=new Date(_0x1453a3[_0x1c3b45(0xd4)])),_0x1453a3[_0x1c3b45(0x153)]){const _0x53e226=this[_0x1c3b45(0xf5)][_0x1c3b45(0x1b6)][_0x1c3b45(0x1ef)](_0x1c3b45(0x1f1));_0x1453a3[_0x1c3b45(0x1d0)]=_0x1453a3[_0x1c3b45(0x153)][_0x1c3b45(0x137)](_0x3053bc=>_0x53e226[_0x1c3b45(0x106)](_0x3053bc));}_0x5e9ed9[_0x1c3b45(0x117)](_0x1453a3,!0x0);}[_0x87c52a(0x195)]({revision:_0x5e8201=null,from:_0x230f32=null,to:_0x55a44e=null}){const _0x37fc25=_0x87c52a;_0x230f32=null!==_0x230f32?_0x230f32:_0x5e8201[_0x37fc25(0x183)],_0x55a44e=null!==_0x55a44e?_0x55a44e:_0x5e8201[_0x37fc25(0xe2)];const _0x203f5c=this[_0x37fc25(0x1ed)][_0x37fc25(0x17a)](_0x230f32,_0x55a44e),_0x515a0b={'diffData':_0x203f5c[_0x37fc25(0x146)],'authorsIds':_0x203f5c[_0x37fc25(0x153)],'fromVersion':_0x230f32,'toVersion':_0x55a44e};if(!_0x5e8201||_0x55a44e!==_0x5e8201[_0x37fc25(0xe2)]){const _0x572696=_0x55a44e-0x1,_0x2efa1a=this[_0x37fc25(0xfc)][_0x37fc25(0x127)][_0x37fc25(0x1e4)](_0x572696);_0x515a0b[_0x37fc25(0xd4)]=_0x2efa1a&&_0x2efa1a[_0x37fc25(0xd4)]||new Date();}if(this[_0x37fc25(0x12d)]&&_0x230f32===this[_0x37fc25(0x12d)][_0x37fc25(0x183)]){for(const _0x307074 of this[_0x37fc25(0x12d)][_0x37fc25(0x1d0)])_0x515a0b[_0x37fc25(0x153)][_0x37fc25(0x1b4)](_0x307074['id'])||_0x515a0b[_0x37fc25(0x153)][_0x37fc25(0x180)](_0x307074['id']);}return _0x515a0b;}[_0x87c52a(0xe7)](_0xdb0303){const _0x3f4350=_0x87c52a;if(!_0xdb0303||_0xdb0303[_0x3f4350(0x146)])return Promise[_0x3f4350(0x17e)]();{const _0x5c078f=this[_0x3f4350(0xf5)][_0x3f4350(0x168)][_0x3f4350(0x1ef)](_0x3f4350(0x1f9));return this[_0x3f4350(0x155)][_0x3f4350(0x17d)]({'channelId':_0x5c078f,'revisionId':_0xdb0303['id']})[_0x3f4350(0x178)](_0x2271ef=>{const _0x4cd555=_0x3f4350;_0xdb0303[_0x4cd555(0x146)]=_0x2271ef[_0x4cd555(0x146)];});}}[_0x87c52a(0x145)](_0x45bb8f,_0x2263b6,_0x56a434){const _0x2b9904=_0x87c52a;if(this[_0x2b9904(0x16b)][_0x2b9904(0x125)](_0x45bb8f)){const _0x28928e=this[_0x2b9904(0x16b)][_0x2b9904(0x1ef)](_0x45bb8f);_0x2263b6=_0x56a434?{..._0x28928e,..._0x2263b6}:{..._0x2263b6,..._0x28928e};}this[_0x2b9904(0x16b)][_0x2b9904(0x187)](_0x45bb8f,_0x2263b6);}[_0x87c52a(0x132)](_0x4e41d2){const _0x1f0e6f=_0x87c52a,_0x544209=this[_0x1f0e6f(0x19f)][_0x1f0e6f(0xfe)]();_0x544209[_0x1f0e6f(0x1c9)](),_0x544209[_0x1f0e6f(0x163)]();const _0x133bfe=_0x544209[_0x1f0e6f(0x11a)](_0xd13626=>_0xd13626[_0x1f0e6f(0xe2)]<=_0x4e41d2)[_0x1f0e6f(0xe2)];return _0x133bfe<this[_0x1f0e6f(0x1c8)]?this[_0x1f0e6f(0x1c8)]:_0x133bfe;}[_0x87c52a(0xe4)](_0x57c9ec){const _0x43cf75=_0x87c52a,_0x2ba48a=this[_0x43cf75(0x19f)][_0x43cf75(0x17d)](this[_0x43cf75(0x19f)][_0x43cf75(0x18f)]-0x1);if(_0x2ba48a)this[_0x43cf75(0x152)]=_0x2ba48a['id'];else{const _0x8a0cc6=!this[_0x43cf75(0xf5)][_0x43cf75(0xdc)][_0x43cf75(0x171)][_0x43cf75(0x1b0)][_0x43cf75(0x11a)](_0x2f58ab=>this[_0x43cf75(0xf5)][_0x43cf75(0xdc)][_0x43cf75(0x1e3)](_0x2f58ab)),_0x424a1a=this[_0x43cf75(0xf5)][_0x43cf75(0x1b6)][_0x43cf75(0x1ef)](_0x43cf75(0x1f1))['me']['id'],_0x56a8ea=_0x372d26(this[_0x43cf75(0xf5)][_0x43cf75(0x18b)],_0x8a0cc6?_0x43cf75(0x11b):_0x43cf75(0xf1));this[_0x43cf75(0x111)]({'from':_0x57c9ec,'to':_0x57c9ec,'id':this[_0x43cf75(0x152)],'name':_0x56a8ea,'creatorId':_0x424a1a});}}[_0x87c52a(0x1b8)](_0x2cd690){const _0x4fdb4d=_0x87c52a,_0x1d3bf7=this[_0x4fdb4d(0xfc)][_0x4fdb4d(0x1ff)]();this[_0x4fdb4d(0x14f)]=this[_0x4fdb4d(0x19f)][_0x4fdb4d(0x17d)](_0x1d3bf7),this[_0x4fdb4d(0x14f)]||(this[_0x4fdb4d(0x14f)]=this[_0x4fdb4d(0x111)]({'from':_0x2cd690,'to':_0x2cd690,'id':_0x1d3bf7,'name':'','creatorId':null}));}[_0x87c52a(0x111)]({name:_0x19214b,from:_0x2cc34c,to:_0x12c264,creatorId:_0x5d0008,id:_0x532019}){const _0x17efcf=_0x87c52a,_0x541963=this[_0x17efcf(0x195)]({'from':_0x2cc34c,'to':_0x12c264});_0x541963[_0x17efcf(0x16e)]=_0x19214b,_0x541963[_0x17efcf(0x1a4)]=_0x5d0008,_0x541963['id']=_0x532019;const _0x215ce2=this[_0x17efcf(0x1a5)](_0x541963);return this[_0x17efcf(0x155)]&&this[_0x17efcf(0x145)](_0x541963['id'],_0x541963,!0x0),_0x215ce2;}[_0x87c52a(0x1d7)](){const _0x3bbabc=_0x87c52a;this[_0x3bbabc(0xf5)][_0x3bbabc(0x1a6)][_0x3bbabc(0xf4)](_0x3bbabc(0x1e7))[_0x3bbabc(0x131)]({'model':_0x3bbabc(0xfb)});}[_0x87c52a(0x1fb)](_0x3006a4){const _0x2e510e=_0x87c52a;return(_0x3006a4=_0x3006a4[_0x2e510e(0x1fe)](_0x408bae=>!_0x408bae[_0x2e510e(0x16e)]||_0x2e510e(0x1b9)!==_0x408bae[_0x2e510e(0x16e)]&&_0x2e510e(0x19a)!==_0x408bae[_0x2e510e(0x16e)]))[_0x2e510e(0x10c)](_0x3e79e4=>{const _0x4935ee=_0x2e510e;_0x4935ee(0x1d3)!=typeof _0x3e79e4&&(_0x3e79e4[_0x4935ee(0x1ab)]=this[_0x4935ee(0x1fb)](_0x3e79e4[_0x4935ee(0x1ab)]),_0x3e79e4[_0x4935ee(0xdf)]=_0x3e79e4[_0x4935ee(0xdf)][_0x4935ee(0x1fe)](_0x2e82e7=>!_0x2e82e7[0x0][_0x4935ee(0x12a)](_0x4935ee(0x1bb))));}),_0x3006a4;}}function B(_0x13ce98,_0x332af6){const _0x38b43c=_0x87c52a,_0x39f082=_0x332af6[_0x38b43c(0x1d6)][_0x38b43c(0x1d4)][_0x38b43c(0x171)];if(_0x38b43c(0x1d3)==typeof _0x13ce98)return new _0x128f31(_0x39f082,_0x13ce98);{const _0x501a7e=_0x13ce98[_0x38b43c(0x1ab)][_0x38b43c(0x137)](_0x1f904d=>B(_0x1f904d,_0x332af6));return new(T[_0x13ce98[(_0x38b43c(0x144))]]||_0x3c52f4)(_0x39f082,_0x13ce98[_0x38b43c(0x16e)],_0x13ce98[_0x38b43c(0xdf)],_0x501a7e);}}class J{constructor(_0x2b34b8){const _0x3b99be=_0x87c52a;this[_0x3b99be(0xf5)]=_0x2b34b8,this[_0x3b99be(0xe6)]=new Map(),this[_0x3b99be(0x201)]=-0x1,this[_0x3b99be(0x1df)]=-0x1,this[_0x3b99be(0x1cf)]=new Map(),this[_0x3b99be(0x15c)]=new Map(),this[_0x3b99be(0xee)]=new Map(),this[_0x3b99be(0x192)]=new Map(),this[_0x3b99be(0x139)]=new Map(),this[_0x3b99be(0x10a)]=new Map(),this[_0x3b99be(0x135)]=new Map(),this[_0x3b99be(0x1cc)]=new Map(),this[_0x3b99be(0x140)]=new Map(),this[_0x3b99be(0x194)]=new Map(),this[_0x3b99be(0x1d1)]=0x1;}[_0x87c52a(0x123)](_0x35fff7){const _0x23f0e6=_0x87c52a;this[_0x23f0e6(0x151)]=_0x35fff7;const _0x107019=new Map(),_0x12d4d3=new Map(),_0x212333=this[_0x23f0e6(0xf5)][_0x23f0e6(0xdc)][_0x23f0e6(0x171)][_0x23f0e6(0x1b0)][_0x23f0e6(0x137)](_0x4de1a6=>_0x4de1a6[_0x23f0e6(0x160)]);for(const _0x4a5006 of _0x212333){const _0x5bd9d9=this[_0x23f0e6(0xf5)][_0x23f0e6(0xdc)][_0x23f0e6(0x171)][_0x23f0e6(0x1f4)](_0x4a5006),_0x5d7052=q(_0x5bd9d9);_0x107019[_0x23f0e6(0x187)](_0x4a5006,_0x5d7052),_0x12d4d3[_0x23f0e6(0x187)](_0x4a5006,Object[_0x23f0e6(0xec)](_0x5bd9d9[_0x23f0e6(0x18c)]()));}const _0x3a96b0=Array[_0x23f0e6(0x154)](this[_0x23f0e6(0xf5)][_0x23f0e6(0xdc)][_0x23f0e6(0x130)])[_0x23f0e6(0x137)](_0x34b849=>[_0x34b849[_0x23f0e6(0x16e)],_0x34b849[_0x23f0e6(0x105)]()]),_0x5c3c83=this[_0x23f0e6(0x151)][_0x23f0e6(0x150)];this[_0x23f0e6(0xfd)](_0x5c3c83,_0x107019,_0x3a96b0,_0x12d4d3),this[_0x23f0e6(0x185)]=this[_0x23f0e6(0x1d1)];const _0x48417a=new Map(),_0x2eec3f=new Map();for(const _0x57f12a of _0x212333){const _0x43f9e0=G(_0x57f12a);_0x48417a[_0x23f0e6(0x187)](_0x57f12a,_0x43f9e0),_0x2eec3f[_0x23f0e6(0x187)](_0x57f12a,{});}this[_0x23f0e6(0xfd)](Number[_0x23f0e6(0x165)],_0x48417a,[],_0x2eec3f);}[_0x87c52a(0x17a)](_0x19ad07,_0x4e7781){const _0x4f9754=_0x87c52a;if(this[_0x4f9754(0x201)]===_0x19ad07&&this[_0x4f9754(0x1df)]<=_0x4e7781)this[_0x4f9754(0xe6)][_0x4f9754(0x12f)]>0x1&&this[_0x4f9754(0x16c)](this[_0x4f9754(0x1df)]),this[_0x4f9754(0x1ce)](this[_0x4f9754(0x1df)],_0x4e7781,!0x0);else{if(!this[_0x4f9754(0xe6)][_0x4f9754(0x125)](_0x19ad07)){const _0x46b135=this[_0x4f9754(0x1ac)](_0x19ad07);this[_0x4f9754(0x109)](_0x46b135,_0x19ad07,!0x1);}this[_0x4f9754(0x109)](_0x19ad07,_0x4e7781,!0x0);}return this[_0x4f9754(0x201)]=_0x19ad07,this[_0x4f9754(0x1df)]=_0x4e7781,this[_0x4f9754(0x164)]();}[_0x87c52a(0x1c6)](_0x1f3256){const _0x3f3310=_0x87c52a;this[_0x3f3310(0x141)](),this[_0x3f3310(0x201)]=_0x1f3256[_0x3f3310(0x183)],this[_0x3f3310(0x1df)]=_0x1f3256[_0x3f3310(0xe2)];for(const _0x20a59b in _0x1f3256[_0x3f3310(0x146)]){const _0x3f8f3b=_0x1f3256[_0x3f3310(0x146)][_0x20a59b][_0x3f3310(0x14c)],_0x254349=_0x222622(_0x1f3256[_0x3f3310(0x146)][_0x20a59b][_0x3f3310(0xdd)])||{},_0x1f8e3c=this[_0x3f3310(0x18d)](_0x1f3256[_0x3f3310(0x146)][_0x20a59b][_0x3f3310(0x115)]);_0x1f8e3c[_0x3f3310(0x160)]=_0x20a59b,_0x1f8e3c[_0x3f3310(0x167)]=!_0x3f8f3b||!_0x3f8f3b[_0x3f3310(0x199)],_0x1f8e3c[_0x3f3310(0x199)]=()=>_0x1f8e3c[_0x3f3310(0x167)],this[_0x3f3310(0x192)][_0x3f3310(0x187)](_0x20a59b,_0x1f8e3c),this[_0x3f3310(0x139)][_0x3f3310(0x187)](_0x20a59b,_0x254349),_0x3f8f3b&&this[_0x3f3310(0x194)][_0x3f3310(0x187)](_0x20a59b,_0x3f8f3b);const _0x241721=this[_0x3f3310(0x124)](_0x1f8e3c);this[_0x3f3310(0x135)][_0x3f3310(0x187)](_0x20a59b,_0x241721);for(const [_0x5c2ed6,_0x1b8411]of _0x1f8e3c[_0x3f3310(0x130)]){if(!_0x5c2ed6[_0x3f3310(0x12a)](_0x3f3310(0x1c5)))continue;const _0x17dd9f=_0x5c2ed6[_0x3f3310(0x175)](':')[0x2];for(const _0x25c917 of _0x1b8411[_0x3f3310(0x114)]({'singleCharacters':!0x0})){const _0x198fc7=this[_0x3f3310(0x142)](_0x25c917),_0x32abe8=_0x3f3310(0x107)==_0x25c917[_0x3f3310(0x144)]?_0x25c917[_0x3f3310(0x176)][_0x3f3310(0x15f)][_0x3f3310(0x102)](0x0,-0x1):_0x25c917[_0x3f3310(0x176)][_0x3f3310(0x15f)],_0x2022fd=_0x241721[_0x3f3310(0x19e)](_0x32abe8)[_0x3f3310(0x148)](_0x198fc7);this[_0x3f3310(0x1cc)][_0x3f3310(0x187)](_0x2022fd,{'userId':_0x17dd9f});}}}this[_0x3f3310(0x185)]=this[_0x3f3310(0x1d1)];const _0x1047d0=[...Array(this[_0x3f3310(0x1d1)])[_0x3f3310(0x1f3)]()][_0x3f3310(0x102)](0x1)[_0x3f3310(0x1fe)](_0x24d7cb=>!this[_0x3f3310(0x1cc)][_0x3f3310(0x125)](_0x24d7cb));let _0x483943=0x0;const _0x1bfd69=new Map();for(const _0x494c7d in _0x1f3256[_0x3f3310(0x146)]){const _0x4b365c=_0x1f3256[_0x3f3310(0x146)][_0x494c7d][_0x3f3310(0x14c)],_0x417976=_0x222622(_0x1f3256[_0x3f3310(0x146)][_0x494c7d][_0x3f3310(0x197)])||{},_0x3285fd=this[_0x3f3310(0x18d)](_0x1f3256[_0x3f3310(0x146)][_0x494c7d][_0x3f3310(0x186)]);_0x3285fd[_0x3f3310(0x160)]=_0x494c7d,_0x3285fd[_0x3f3310(0x167)]=!_0x4b365c||_0x4b365c[_0x3f3310(0x199)],_0x3285fd[_0x3f3310(0x199)]=()=>_0x3285fd[_0x3f3310(0x167)],this[_0x3f3310(0x15c)][_0x3f3310(0x187)](_0x494c7d,_0x3285fd),this[_0x3f3310(0xee)][_0x3f3310(0x187)](_0x494c7d,_0x417976);const _0x107f68=this[_0x3f3310(0x124)](_0x3285fd,Number[_0x3f3310(0x165)]);this[_0x3f3310(0x10a)][_0x3f3310(0x187)](_0x494c7d,_0x107f68),_0x1bfd69[_0x3f3310(0x187)](_0x494c7d,_0x3285fd[_0x3f3310(0x199)]()?_0x417976:{});for(const [_0x5c6cc2,_0x26936d]of _0x3285fd[_0x3f3310(0x130)]){if(!_0x5c6cc2[_0x3f3310(0x12a)](_0x3f3310(0x1c5)))continue;const _0x4fc1da=_0x5c6cc2[_0x3f3310(0x175)](':')[0x2];for(const _0x58b1fc of _0x26936d[_0x3f3310(0x114)]({'singleCharacters':!0x0})){const _0x2d6fa2=this[_0x3f3310(0x142)](_0x58b1fc),_0x44e008=this[_0x3f3310(0x1d1)]++,_0x293a2b=_0x3f3310(0x107)==_0x58b1fc[_0x3f3310(0x144)]?_0x58b1fc[_0x3f3310(0x176)][_0x3f3310(0x15f)][_0x3f3310(0x102)](0x0,-0x1):_0x58b1fc[_0x3f3310(0x176)][_0x3f3310(0x15f)];_0x107f68[_0x3f3310(0x19e)](_0x293a2b)[_0x3f3310(0x14b)](_0x2d6fa2,_0x44e008),this[_0x3f3310(0x1cc)][_0x3f3310(0x187)](_0x44e008,{'userId':_0x4fc1da});}}for(const _0x2c57c1 of this[_0x3f3310(0xf5)][_0x3f3310(0xdc)][_0x3f3310(0x103)](_0x3285fd)[_0x3f3310(0x114)]({'singleCharacters':!0x0})){const _0x133e6e=this[_0x3f3310(0x142)](_0x2c57c1),_0x103bf6=_0x3f3310(0x107)==_0x2c57c1[_0x3f3310(0x144)]?_0x2c57c1[_0x3f3310(0x176)][_0x3f3310(0x15f)][_0x3f3310(0x102)](0x0,-0x1):_0x2c57c1[_0x3f3310(0x176)][_0x3f3310(0x15f)],_0x3b24db=_0x107f68[_0x3f3310(0x19e)](_0x103bf6);_0x3b24db[_0x3f3310(0x148)](_0x133e6e)>0x0||_0x3b24db[_0x3f3310(0x14b)](_0x133e6e,_0x1047d0[_0x483943++]);}for(const [_0x21f01,_0x4e4bad]of _0x3285fd[_0x3f3310(0x130)])_0x21f01[_0x3f3310(0x12a)](_0x3f3310(0x1c5))||this[_0x3f3310(0x1cf)][_0x3f3310(0x187)](_0x21f01,_0x4e4bad);}const _0xd44951=G(_0x3f3310(0xe8));this[_0x3f3310(0x192)][_0x3f3310(0x187)](_0x3f3310(0xe8),_0xd44951),this[_0x3f3310(0x135)][_0x3f3310(0x187)](_0x3f3310(0xe8),this[_0x3f3310(0x124)](_0xd44951,0x1));const _0xcaf479=G(_0x3f3310(0xe8));this[_0x3f3310(0x15c)][_0x3f3310(0x187)](_0x3f3310(0xe8),_0xcaf479),this[_0x3f3310(0x10a)][_0x3f3310(0x187)](_0x3f3310(0xe8),this[_0x3f3310(0x124)](_0xcaf479,0x1));const _0x4efb52=Array[_0x3f3310(0x154)](this[_0x3f3310(0x15c)])[_0x3f3310(0x137)](([_0x9d930d,_0x460a0c])=>[_0x9d930d,q(_0x460a0c)]);this[_0x3f3310(0xfd)](this[_0x3f3310(0x1df)],_0x4efb52,this[_0x3f3310(0x1cf)],_0x1bfd69);}[_0x87c52a(0x18d)](_0x6cdbb1){const _0x357840=_0x87c52a,_0x169551=JSON[_0x357840(0x1ba)](_0x6cdbb1),_0x56bfc3=this[_0x357840(0xf5)][_0x357840(0x1d6)][_0x357840(0x1d4)][_0x357840(0x171)],_0x5b8438=new _0x424408(_0x56bfc3,_0x169551[_0x357840(0x137)](_0x43ed0f=>B(_0x43ed0f,this[_0x357840(0xf5)])));return this[_0x357840(0xf5)][_0x357840(0x12b)][_0x357840(0x1c1)](_0x5b8438);}[_0x87c52a(0xfd)](_0x56a710,_0x261af3,_0x17ba9c,_0x420fa5){const _0x69c399=_0x87c52a,_0x4b9b1c=new Map(_0x261af3),_0x25cd52=new Map(_0x222622(_0x420fa5)),_0x590262=new Map();for(const [_0x486c9e,_0xd210fa]of _0x17ba9c)_0x590262[_0x69c399(0x187)](_0x486c9e,{'start':_0xd210fa[_0x69c399(0x136)][_0x69c399(0x11c)](),'end':_0xd210fa[_0x69c399(0x1b5)][_0x69c399(0x11c)](),'rootName':_0xd210fa[_0x69c399(0x1f7)][_0x69c399(0x160)]});this[_0x69c399(0xe6)][_0x69c399(0x187)](_0x56a710,{'roots':_0x4b9b1c,'markers':_0x590262,'rootsAttributes':_0x25cd52});}[_0x87c52a(0x16c)](_0x14e6c1){const _0x465f11=_0x87c52a;this[_0x465f11(0xe6)][_0x465f11(0x1ec)](_0x14e6c1);}[_0x87c52a(0x10d)](){const _0x1bd959=_0x87c52a;this[_0x1bd959(0x141)](),this[_0x1bd959(0x201)]=-0x1,this[_0x1bd959(0x1df)]=-0x1,this[_0x1bd959(0xe6)][_0x1bd959(0x143)](),this[_0x1bd959(0x123)](this[_0x1bd959(0x151)]);}[_0x87c52a(0x141)](){const _0x4070e5=_0x87c52a;this[_0x4070e5(0x1cc)][_0x4070e5(0x143)](),this[_0x4070e5(0x140)][_0x4070e5(0x143)](),this[_0x4070e5(0x194)][_0x4070e5(0x143)](),this[_0x4070e5(0x15c)][_0x4070e5(0x143)](),this[_0x4070e5(0xee)][_0x4070e5(0x143)](),this[_0x4070e5(0x192)][_0x4070e5(0x143)](),this[_0x4070e5(0x139)][_0x4070e5(0x143)](),this[_0x4070e5(0x10a)][_0x4070e5(0x143)](),this[_0x4070e5(0x135)][_0x4070e5(0x143)](),this[_0x4070e5(0x1cf)][_0x4070e5(0x143)](),this[_0x4070e5(0x1d1)]=0x1,this[_0x4070e5(0x185)]=this[_0x4070e5(0x1d1)];}[_0x87c52a(0x124)](_0x57fcc0,_0x275cd1=null){const _0x3b5e66=_0x87c52a;let _0x585dd5=null;_0x57fcc0['is'](_0x3b5e66(0x1c7))||(_0x585dd5=new _0x208d06(_0x57fcc0[_0x3b5e66(0x16e)],{'vid_start':null===_0x275cd1?this[_0x3b5e66(0x1d1)]++:_0x275cd1++}));const _0x4e6462=[];for(const _0x4df899 of _0x57fcc0[_0x3b5e66(0xf6)]())if(_0x4df899['is'](_0x3b5e66(0x10b))){_0x4e6462[_0x3b5e66(0x180)](this[_0x3b5e66(0x124)](_0x4df899,_0x275cd1));const _0x309ffd=_0x4e6462[_0x4e6462[_0x3b5e66(0x18f)]-0x1];null!==_0x275cd1&&(_0x275cd1=_0x309ffd['is'](_0x3b5e66(0x10b),_0x3b5e66(0x181))?_0x309ffd[_0x3b5e66(0x148)](_0x3b5e66(0x156))+0x1:_0x309ffd[_0x3b5e66(0x148)](_0x3b5e66(0x1b7))+0x1);}else{for(let _0x117b4f=0x0;_0x117b4f<_0x4df899[_0x3b5e66(0x13e)];_0x117b4f++)_0x4e6462[_0x3b5e66(0x180)](new _0x208d06(_0x3b5e66(0x181),{'vid':null===_0x275cd1?this[_0x3b5e66(0x1d1)]++:_0x275cd1++}));}if(_0x57fcc0['is'](_0x3b5e66(0x1c7))){const _0x467790=G(_0x57fcc0[_0x3b5e66(0x160)]);return _0x467790[_0x3b5e66(0x113)](0x0,_0x4e6462),_0x467790;}return _0x585dd5[_0x3b5e66(0x14b)](_0x3b5e66(0x1b7),null===_0x275cd1?this[_0x3b5e66(0x1d1)]++:_0x275cd1++),_0x585dd5[_0x3b5e66(0x113)](0x0,_0x4e6462),_0x585dd5;}[_0x87c52a(0x109)](_0x499ef5,_0xe8681f,_0x104ea9){const _0x74fae1=_0x87c52a;this[_0x74fae1(0x141)]();const {roots:_0x7b67fe,markers:_0x1044c4,rootsAttributes:_0x4c8483}=this[_0x74fae1(0xe6)][_0x74fae1(0x1ef)](_0x499ef5);this[_0x74fae1(0x192)]=new Map(_0x7b67fe),this[_0x74fae1(0x139)]=new Map(_0x222622(_0x4c8483));for(const [_0x517124,_0x48596f]of this[_0x74fae1(0x192)])if(_0x74fae1(0xe8)!==_0x517124&&(this[_0x74fae1(0x15c)][_0x74fae1(0x187)](_0x517124,q(_0x48596f)),this[_0x74fae1(0xee)]=new Map(_0x222622(_0x4c8483)),_0x104ea9)){const _0x1c80e1=this[_0x74fae1(0x1d1)];this[_0x74fae1(0x10a)][_0x74fae1(0x187)](_0x517124,this[_0x74fae1(0x124)](_0x48596f)),this[_0x74fae1(0x135)][_0x74fae1(0x187)](_0x517124,this[_0x74fae1(0x124)](_0x48596f,_0x1c80e1));}this[_0x74fae1(0x185)]=this[_0x74fae1(0x1d1)],this[_0x74fae1(0x15c)][_0x74fae1(0x187)](_0x74fae1(0xe8),q(this[_0x74fae1(0x192)][_0x74fae1(0x1ef)](_0x74fae1(0xe8)))),_0x104ea9&&this[_0x74fae1(0x10a)][_0x74fae1(0x187)](_0x74fae1(0xe8),this[_0x74fae1(0x124)](this[_0x74fae1(0x192)][_0x74fae1(0x1ef)](_0x74fae1(0xe8))));for(const [_0x19ed73,_0x4f4424]of _0x1044c4){const _0x5b418f=this[_0x74fae1(0x192)][_0x74fae1(0x1ef)](_0x4f4424[_0x74fae1(0x160)]),_0x464e90=this[_0x74fae1(0x15c)][_0x74fae1(0x1ef)](_0x4f4424[_0x74fae1(0x160)]),_0x5402b6=new _0x3dd683(this[_0x74fae1(0x110)](_0x4f4424[_0x74fae1(0x136)],_0x5b418f),this[_0x74fae1(0x110)](_0x4f4424[_0x74fae1(0x1b5)],_0x5b418f)),_0x55a461=this[_0x74fae1(0x149)](_0x5402b6,_0x464e90);_0x5b418f[_0x74fae1(0x130)][_0x74fae1(0x187)](_0x19ed73,_0x5402b6),this[_0x74fae1(0x1cf)][_0x74fae1(0x187)](_0x19ed73,_0x55a461);}this[_0x74fae1(0x1ce)](_0x499ef5,_0xe8681f,_0x104ea9);}[_0x87c52a(0x1ce)](_0x4c316c,_0x1c3377,_0x5247b0){const _0x3034c6=_0x87c52a;for(const _0x47e0fc of this[_0x3034c6(0x151)][_0x3034c6(0xff)](_0x4c316c,_0x1c3377))this[_0x3034c6(0xd9)](_0x47e0fc,_0x5247b0);for(const _0x5f3299 of this[_0x3034c6(0x15c)][_0x3034c6(0x17c)]())_0x5f3299[_0x3034c6(0x130)][_0x3034c6(0x143)]();for(const [_0x961c19,_0xb14d2]of this[_0x3034c6(0x1cf)]){this[_0x3034c6(0x15c)][_0x3034c6(0x1ef)](_0xb14d2[_0x3034c6(0x1f7)][_0x3034c6(0x160)])[_0x3034c6(0x130)][_0x3034c6(0x187)](_0x961c19,_0xb14d2[_0x3034c6(0x11c)]());}const _0x31d1ff=new Map(),_0x2b719d=new Map();for(const [_0x259d3f,_0x5eb097]of this[_0x3034c6(0x15c)])_0x31d1ff[_0x3034c6(0x187)](_0x259d3f,q(_0x5eb097)),_0x2b719d[_0x3034c6(0x187)](_0x259d3f,this[_0x3034c6(0xee)][_0x3034c6(0x1ef)](_0x259d3f));this[_0x3034c6(0xfd)](_0x1c3377,_0x31d1ff,this[_0x3034c6(0x1cf)],_0x2b719d);}[_0x87c52a(0x1ac)](_0x28d67a){const _0x3cedff=_0x87c52a,_0x3e3a4b=Array[_0x3cedff(0x154)](this[_0x3cedff(0xe6)][_0x3cedff(0x1f3)]());_0x3e3a4b[_0x3cedff(0x1be)]((_0x6aac89,_0x3115b1)=>_0x6aac89-_0x3115b1),_0x3e3a4b[_0x3cedff(0x1c9)]();for(const _0x5579c2 of _0x3e3a4b)if(_0x5579c2<_0x28d67a)return _0x5579c2;return Number[_0x3cedff(0x165)];}[_0x87c52a(0x16f)](_0x42dea3,_0x3effc4){const _0x9a42f8=_0x87c52a,_0x2699fa=Array[_0x9a42f8(0x154)](_0x3effc4[_0x9a42f8(0x130)])[_0x9a42f8(0x137)](([_0x4b7c91,_0x334f05])=>[_0x4b7c91,this[_0x9a42f8(0x149)](_0x334f05,_0x42dea3)]);_0x42dea3[_0x9a42f8(0x130)]=new Map(_0x2699fa);}[_0x87c52a(0x1e8)](_0x1d8d2b){const _0x41707a=_0x87c52a;for(const _0x16b698 of this[_0x41707a(0x1cf)][_0x41707a(0x17c)]()){const _0x2eb943=_0x16b698[_0x41707a(0x1af)](_0x1d8d2b),_0x52e23f=_0x3dd683[_0x41707a(0xda)](_0x2eb943);_0x16b698[_0x41707a(0x136)]=_0x52e23f[_0x41707a(0x136)],_0x16b698[_0x41707a(0x1b5)]=_0x52e23f[_0x41707a(0x1b5)];}}[_0x87c52a(0xd9)](_0x10ae59,_0x53f0d5){const _0x4d3690=_0x87c52a;if(_0x4d3690(0x118)==_0x10ae59[_0x4d3690(0x144)]||_0x4d3690(0x128)==_0x10ae59[_0x4d3690(0x144)])return void this[_0x4d3690(0x121)](_0x10ae59,_0x53f0d5);if(_0x4d3690(0x1bd)==_0x10ae59[_0x4d3690(0x144)]){const _0x245cae=_0x10ae59[_0x4d3690(0x189)][_0x4d3690(0x1f7)][_0x4d3690(0x160)];this[_0x4d3690(0x15c)][_0x4d3690(0x125)](_0x245cae)||(this[_0x4d3690(0x15c)][_0x4d3690(0x187)](_0x245cae,G(_0x245cae,!0x0)),this[_0x4d3690(0xee)][_0x4d3690(0x187)](_0x245cae,{}),_0x53f0d5&&this[_0x4d3690(0x10a)][_0x4d3690(0x187)](_0x245cae,G(_0x245cae,!0x0)));}else{if(_0x4d3690(0x1c3)==_0x10ae59[_0x4d3690(0x144)]||_0x4d3690(0xea)==_0x10ae59[_0x4d3690(0x144)]||_0x4d3690(0x101)==_0x10ae59[_0x4d3690(0x144)])return void this[_0x4d3690(0x15b)](_0x10ae59);}const _0x3809d9=this[_0x4d3690(0xd5)](_0x10ae59,this[_0x4d3690(0x15c)]);if(_0x4d3690(0x162)!==_0x10ae59[_0x4d3690(0x144)]&&(_0x3809d9[_0x4d3690(0xfa)](),this[_0x4d3690(0x1e8)](_0x3809d9)),_0x53f0d5)switch(_0x3809d9[_0x4d3690(0x144)]){case _0x4d3690(0x1bd):this[_0x4d3690(0x1b1)](_0x10ae59);break;case _0x4d3690(0x1a9):case _0x4d3690(0x120):case _0x4d3690(0x1fa):this[_0x4d3690(0xe5)](_0x10ae59);break;case _0x4d3690(0x104):this[_0x4d3690(0x1c4)](_0x10ae59);break;case _0x4d3690(0x175):this[_0x4d3690(0x158)](_0x10ae59);break;case _0x4d3690(0x162):this[_0x4d3690(0x11d)](_0x10ae59);}}[_0x87c52a(0xd5)](_0x53b0b0,_0x1d2a7b){const _0x3678f0=_0x87c52a,_0x30ad26=_0x53b0b0[_0x3678f0(0x11c)]();return _0x30ad26[_0x3678f0(0xf9)]=_0x53b0b0[_0x3678f0(0xf9)],this[_0x3678f0(0x1ea)](_0x30ad26,_0x1d2a7b),_0x30ad26;}[_0x87c52a(0x1b2)](_0x29a0d6){const _0x5ee8c4=_0x87c52a;return _0x29a0d6[_0x5ee8c4(0x137)](_0x24f73c=>{const _0x469f6f=_0x5ee8c4,_0x485899=this[_0x469f6f(0x142)](_0x24f73c);return Number(_0x24f73c[_0x469f6f(0x173)][_0x469f6f(0x148)](_0x485899));});}[_0x87c52a(0xe0)](_0x37d2e4,_0x28caa5){const _0x324508=_0x87c52a;if(_0x37d2e4['is'](_0x324508(0x10b),_0x324508(0x181)))_0x28caa5[_0x324508(0x180)]({'item':_0x37d2e4,'type':_0x324508(0x1e6)});else{_0x37d2e4['is'](_0x324508(0x10b))&&_0x28caa5[_0x324508(0x180)]({'item':_0x37d2e4,'type':_0x324508(0x1a0)});for(const _0x236939 of _0x37d2e4[_0x324508(0xf6)]())this[_0x324508(0xe0)](_0x236939,_0x28caa5);_0x37d2e4['is'](_0x324508(0x10b))&&_0x28caa5[_0x324508(0x180)]({'item':_0x37d2e4,'type':_0x324508(0x107)});}return _0x28caa5;}[_0x87c52a(0x164)](){const _0x105536=_0x87c52a,_0x4d78f0=new Map(this[_0x105536(0x1cc)]),_0x11f26c=new Map(_0x4d78f0),_0x4a913c=new Map(),_0x4a0618={'insertions':{},'deletions':{}},_0x35a99f={'insertions':{},'deletions':{}},_0x5968cc=new Map(),_0x241ccb=new Set([...this[_0x105536(0x192)][_0x105536(0x1f3)](),...this[_0x105536(0x15c)][_0x105536(0x1f3)]()]);_0x241ccb[_0x105536(0x1ec)](_0x105536(0xe8));for(const _0x573580 of _0x241ccb){const _0x4a3d3f=this[_0x105536(0x15c)][_0x105536(0x1ef)](_0x573580)||G(_0x573580,!0x1),_0x2c5e76=this[_0x105536(0x192)][_0x105536(0x1ef)](_0x573580)||G(_0x573580,!0x1);_0x4a3d3f[_0x105536(0x199)]()||_0x2c5e76[_0x105536(0x199)]()?(_0x4a0618[_0x105536(0x186)][_0x573580]=q(_0x4a3d3f),_0x4a0618[_0x105536(0x115)][_0x573580]=q(_0x2c5e76),this[_0x105536(0x16f)](_0x4a0618[_0x105536(0x115)][_0x573580],_0x2c5e76),this[_0x105536(0x16f)](_0x4a0618[_0x105536(0x186)][_0x573580],_0x4a3d3f),_0x35a99f[_0x105536(0x186)][_0x573580]=this[_0x105536(0xe0)](this[_0x105536(0x10a)][_0x105536(0x1ef)](_0x573580),[]),_0x35a99f[_0x105536(0x115)][_0x573580]=this[_0x105536(0xe0)](this[_0x105536(0x135)][_0x105536(0x1ef)](_0x573580)||G(_0x573580,!0x1),[])):_0x241ccb[_0x105536(0x1ec)](_0x573580);}for(const _0x24be87 of _0x241ccb){const _0x3b5e4b=_0x35a99f[_0x105536(0x186)][_0x24be87];for(const _0x175188 of _0x3b5e4b){const _0x579bd0=this[_0x105536(0x142)](_0x175188),_0x9d36f3=_0x175188[_0x105536(0x173)][_0x105536(0x148)](_0x579bd0);_0x11f26c[_0x105536(0x1ec)](_0x9d36f3),_0x9d36f3>=this[_0x105536(0x185)]&&_0x4a913c[_0x105536(0x187)](_0x9d36f3,_0x4d78f0[_0x105536(0x1ef)](_0x9d36f3));}}for(const _0x4d4279 of _0x241ccb){const _0x649779=_0x35a99f[_0x105536(0x186)][_0x4d4279],_0x19deaa=this[_0x105536(0x1b2)](_0x35a99f[_0x105536(0x115)][_0x4d4279]);let _0x2fed55=0x0;for(const _0x5dec8e of _0x649779){const _0x2b6697=this[_0x105536(0x142)](_0x5dec8e),_0xcb1a2d=_0x5dec8e[_0x105536(0x173)][_0x105536(0x148)](_0x2b6697);if(!_0x4a913c[_0x105536(0x125)](_0xcb1a2d)&&!_0x5968cc[_0x105536(0x125)](_0xcb1a2d)){if(_0x11f26c[_0x105536(0x125)](_0xcb1a2d))_0x2fed55++;else{if(_0xcb1a2d!=_0x19deaa[_0x2fed55]){const _0x1c0463=_0x4d78f0[_0x105536(0x1ef)](_0xcb1a2d)||_0x4d78f0[_0x105536(0x1ef)](_0x19deaa[_0x2fed55]);for(;_0xcb1a2d!=_0x19deaa[_0x2fed55];)_0x11f26c[_0x105536(0x125)](_0x19deaa[_0x2fed55])||(_0x5968cc[_0x105536(0x187)](_0x19deaa[_0x2fed55],_0x1c0463),_0x4d78f0[_0x105536(0x187)](_0x19deaa[_0x2fed55],_0x1c0463)),_0x2fed55++;}_0x2fed55++;}}}}for(const _0x201658 of _0x241ccb){const _0x5de5e4=_0x35a99f[_0x105536(0x186)][_0x201658];for(const _0x3239e0 of _0x5de5e4){const _0x22929d=this[_0x105536(0x142)](_0x3239e0),_0x3058a7=_0x3239e0[_0x105536(0x173)][_0x105536(0x148)](_0x22929d);if(_0x5968cc[_0x105536(0x125)](_0x3058a7)){const _0x1ab14a=_0x5968cc[_0x105536(0x1ef)](_0x3058a7);_0x11f26c[_0x105536(0x125)](_0x3058a7)||_0x11f26c[_0x105536(0x187)](_0x3058a7,{..._0x1ab14a}),_0x4a913c[_0x105536(0x187)](_0x3058a7,{..._0x1ab14a});}}}for(const _0x342cbb of _0x11f26c[_0x105536(0x1f3)]())_0x342cbb>=this[_0x105536(0x185)]&&_0x11f26c[_0x105536(0x1ec)](_0x342cbb);const _0x1aec81=new Map();for(const _0x2ab582 of _0x241ccb){let _0x58503c=_0x35a99f[_0x105536(0x186)][_0x2ab582];for(const _0x473863 of _0x58503c)if(_0x473863[_0x105536(0x173)]['is'](_0x105536(0x10b),_0x105536(0x157))){const _0xa70a58=this[_0x105536(0x142)](_0x473863),_0x430934=_0x473863[_0x105536(0x173)][_0x105536(0x148)](_0xa70a58);if(_0x4a913c[_0x105536(0x125)](_0x430934)){const _0x1a28b3=_0x473863[_0x105536(0x173)][_0x105536(0x19c)][_0x105536(0x19c)][_0x105536(0x148)](_0x105536(0x1f2)),_0x55d0fc=_0x1aec81[_0x105536(0x1ef)](_0x1a28b3)||new Set();_0x55d0fc[_0x105536(0x161)](_0x4a913c[_0x105536(0x1ef)](_0x430934)[_0x105536(0x19d)]),_0x1aec81[_0x105536(0x187)](_0x1a28b3,_0x55d0fc);}}_0x58503c=_0x35a99f[_0x105536(0x115)][_0x2ab582];for(const _0x1dd853 of _0x58503c)if(_0x1dd853[_0x105536(0x173)]['is'](_0x105536(0x10b),_0x105536(0x157))){const _0x4ae114=this[_0x105536(0x142)](_0x1dd853),_0x398cef=_0x1dd853[_0x105536(0x173)][_0x105536(0x148)](_0x4ae114);if(_0x11f26c[_0x105536(0x125)](_0x398cef)){const _0x289f36=_0x1dd853[_0x105536(0x173)][_0x105536(0x19c)][_0x105536(0x19c)][_0x105536(0x148)](_0x105536(0x1f2)),_0x1a0f49=_0x1aec81[_0x105536(0x1ef)](_0x289f36)||new Set();_0x1a0f49[_0x105536(0x161)](_0x11f26c[_0x105536(0x1ef)](_0x398cef)[_0x105536(0x19d)]),_0x1aec81[_0x105536(0x187)](_0x289f36,_0x1a0f49);}}for(const _0x2e478b of _0x1aec81[_0x105536(0x1f3)]())(_0x4a913c[_0x105536(0x125)](_0x2e478b)||_0x11f26c[_0x105536(0x125)](_0x2e478b))&&_0x1aec81[_0x105536(0x1ec)](_0x2e478b);}for(const _0x334f56 of _0x241ccb){const _0x4a1daa=_0x35a99f[_0x105536(0x186)][_0x334f56];let _0x3b319d=null,_0x1f7922=null;for(const _0x3b4d3f of _0x4a1daa){const _0x3a5143=this[_0x105536(0x142)](_0x3b4d3f),_0x177ea8=_0x3b4d3f[_0x105536(0x173)][_0x105536(0x148)](_0x3a5143),_0x54dc0b=_0x1aec81[_0x105536(0x1ef)](_0x177ea8);_0x54dc0b&&_0x105536(0x1a0)==_0x3b4d3f[_0x105536(0x144)]&&(_0x3b319d=Array[_0x105536(0x154)](_0x54dc0b)[0x0],_0x1f7922=_0x3b4d3f[_0x105536(0x173)][_0x105536(0x148)](_0x105536(0x1b7))),_0x3b319d&&(_0x11f26c[_0x105536(0x187)](_0x177ea8,{'userId':_0x3b319d}),_0x4a913c[_0x105536(0x187)](_0x177ea8,{'userId':_0x3b319d})),_0x177ea8==_0x1f7922&&(_0x3b319d=null,_0x1f7922=null);}}const _0x377e20={},_0x5e4037=new Set();for(const _0x15e0b8 of _0x241ccb){const _0x36c7a8=_0x4a0618[_0x105536(0x115)][_0x15e0b8],_0x47f102=_0x4a0618[_0x105536(0x186)][_0x15e0b8];for(const {userId:_0x18bef3}of this[_0x105536(0x140)][_0x105536(0x17c)]())null!==_0x18bef3&&_0x5e4037[_0x105536(0x161)](_0x18bef3);for(const {userId:_0x487806}of this[_0x105536(0x194)][_0x105536(0x17c)]())null!==_0x487806&&_0x5e4037[_0x105536(0x161)](_0x487806);this[_0x105536(0x1a2)](_0x47f102,_0x35a99f[_0x105536(0x186)][_0x15e0b8],_0x4a913c,_0x105536(0x177),_0x5e4037),this[_0x105536(0x1a2)](_0x36c7a8,_0x35a99f[_0x105536(0x115)][_0x15e0b8],_0x11f26c,_0x105536(0xd7),_0x5e4037),_0x377e20[_0x15e0b8]={'insertions':this[_0x105536(0x13d)](_0x47f102),'deletions':this[_0x105536(0x13d)](_0x36c7a8),'attachChange':this[_0x105536(0x194)][_0x105536(0x1ef)](_0x15e0b8)||null,'attributesBefore':_0x222622(this[_0x105536(0x139)][_0x105536(0x1ef)](_0x15e0b8))||{},'attributesAfter':_0x222622(this[_0x105536(0xee)][_0x105536(0x1ef)](_0x15e0b8))};}return{'diffData':_0x377e20,'authorsIds':Array[_0x105536(0x154)](_0x5e4037)};}[_0x87c52a(0x193)](_0xf88582){const _0x21afc0=_0x87c52a;for(const [,_0x3f61e0]of _0xf88582[_0x21afc0(0x130)]){const _0x33c48c=_0x3f61e0[_0x21afc0(0x136)][_0x21afc0(0x1dc)]()[_0x21afc0(0x1fe)](_0xdd237e=>_0x21afc0(0x157)==_0xdd237e[_0x21afc0(0x16e)]);for(const _0x22d324 of _0x33c48c)0x1==_0x22d324[_0x21afc0(0x15d)]&&_0x22d324[_0x21afc0(0x1bf)](0x0)['is'](_0x21afc0(0x10b),_0x21afc0(0x17f))&&_0x22d324[_0x21afc0(0x1bf)](0x0)[_0x21afc0(0x14b)](_0x21afc0(0xf2),!0x0);}}[_0x87c52a(0x13d)](_0x88e875){const _0x32a043=_0x87c52a;this[_0x32a043(0x193)](_0x88e875);const _0x3fe0d1=this[_0x32a043(0xf5)][_0x32a043(0x12b)][_0x32a043(0x17b)](_0x88e875,{}),_0x1fd4c3=Array[_0x32a043(0x154)](_0x3fe0d1[_0x32a043(0xf6)]())[_0x32a043(0x137)](_0x1c80e2=>this[_0x32a043(0x1ee)](_0x1c80e2));return JSON[_0x32a043(0x184)](_0x1fd4c3);}[_0x87c52a(0x1ee)](_0x4da227){const _0x4044eb=_0x87c52a;if(_0x4da227['is'](_0x4044eb(0x181)))return _0x4da227[_0x4044eb(0x12b)];{const _0x357161=_0x4da227;return{'type':Object[_0x4044eb(0x1f3)](T)[_0x4044eb(0x11a)](_0x3ef235=>_0x4da227 instanceof T[_0x3ef235]),'name':_0x357161[_0x4044eb(0x16e)],'attributes':Array[_0x4044eb(0x154)](_0x357161[_0x4044eb(0x18c)]()),'children':Array[_0x4044eb(0x154)](_0x357161[_0x4044eb(0xf6)]())[_0x4044eb(0x137)](_0x4f9ce3=>this[_0x4044eb(0x1ee)](_0x4f9ce3))};}}[_0x87c52a(0x1a2)](_0x1f4fdc,_0x5625ef,_0xbd2a8b,_0x950704,_0x14a8a0){const _0x201c8d=_0x87c52a;let _0x239733=null,_0x2b5fe6=null,_0x3fbf6c=0x0;const _0x3d0f19=this[_0x201c8d(0xf5)][_0x201c8d(0xdc)];for(let _0x32154c=0x0;_0x32154c<_0x5625ef[_0x201c8d(0x18f)];_0x32154c++){const _0x10148d=this[_0x201c8d(0x142)](_0x5625ef[_0x32154c]),_0x5a23b3=_0x5625ef[_0x32154c][_0x201c8d(0x173)][_0x201c8d(0x148)](_0x10148d),_0x36cdf5=_0xbd2a8b[_0x201c8d(0x1ef)](_0x5a23b3),_0xa31265=_0x32154c==_0x5625ef[_0x201c8d(0x18f)]-0x1;(!_0x239733&&_0x36cdf5&&(_0x239733=_0x36cdf5,_0x2b5fe6=_0x5625ef[_0x32154c]),_0x239733&&(!_0x36cdf5||_0x36cdf5[_0x201c8d(0x19d)]!=_0x239733[_0x201c8d(0x19d)]))&&(_0x3b852c(_0x36cdf5,L(_0x2b5fe6,_0x1f4fdc,_0x3d0f19),L(_0x5625ef[_0x32154c],_0x1f4fdc,_0x3d0f19)),_0x239733=_0x36cdf5||null,_0x2b5fe6=_0x36cdf5?_0x5625ef[_0x32154c]:null),_0x239733&&_0xa31265&&_0x3b852c(_0x36cdf5,L(_0x2b5fe6,_0x1f4fdc,_0x3d0f19),W(_0x5625ef[_0x32154c],_0x1f4fdc,_0x3d0f19));}function _0x3b852c(_0x25b976,_0xa0c397,_0x11de37){const _0x30dd65=_0x201c8d,_0x89af4d=_0x239733[_0x30dd65(0x19d)],_0x3c2421=_0x30dd65(0x1c5)+_0x950704+':'+_0x89af4d+':'+_0x3fbf6c++,_0x43eee0=_0x3d0f19[_0x30dd65(0x1bc)](_0xa0c397,_0x11de37);_0x1f4fdc[_0x30dd65(0x130)][_0x30dd65(0x187)](_0x3c2421,_0x43eee0),null!==_0x89af4d&&_0x14a8a0[_0x30dd65(0x161)](_0x89af4d);}}[_0x87c52a(0x142)](_0x55bfcb){const _0xc45397=_0x87c52a;switch(_0x55bfcb[_0xc45397(0x144)]){case _0xc45397(0x1a0):return _0xc45397(0x1f2);case _0xc45397(0x107):return _0xc45397(0x1b7);default:return _0xc45397(0x156);}}[_0x87c52a(0x1ea)](_0x38f9f2,_0xeffcf8){const _0x42d15b=_0x87c52a;_0x38f9f2[_0x42d15b(0x1f5)]=null;for(const _0x4fb656 in _0x38f9f2){const _0x48a3da=_0x38f9f2[_0x4fb656];if(_0x48a3da instanceof _0x5804af){const _0x3d1251=_0xeffcf8[_0x42d15b(0x1ef)](_0x48a3da[_0x42d15b(0x1f7)][_0x42d15b(0x160)]);_0x38f9f2[_0x4fb656]=this[_0x42d15b(0x110)](_0x48a3da,_0x3d1251);}if(_0x48a3da instanceof _0x3dd683){const _0x34aa32=_0xeffcf8[_0x42d15b(0x1ef)](_0x48a3da[_0x42d15b(0x1f7)][_0x42d15b(0x160)]);_0x38f9f2[_0x4fb656]=this[_0x42d15b(0x149)](_0x48a3da,_0x34aa32);}_0x42d15b(0x1f7)===_0x4fb656&&(_0x38f9f2[_0x42d15b(0x1f7)]=_0xeffcf8[_0x42d15b(0x1ef)](_0x38f9f2[_0x42d15b(0x1f7)][_0x42d15b(0x160)]));}}[_0x87c52a(0x149)](_0x4c4a6c,_0x6c8725){const _0x11ea47=_0x87c52a;return this[_0x11ea47(0xf5)][_0x11ea47(0xdc)][_0x11ea47(0x1bc)](this[_0x11ea47(0x110)](_0x4c4a6c[_0x11ea47(0x136)],_0x6c8725),this[_0x11ea47(0x110)](_0x4c4a6c[_0x11ea47(0x1b5)],_0x6c8725));}[_0x87c52a(0x110)](_0x1dff87,_0x22987e){const _0x1847e8=_0x87c52a;return this[_0x1847e8(0xf5)][_0x1847e8(0xdc)][_0x1847e8(0x191)](_0x22987e,_0x1dff87[_0x1847e8(0x15f)],_0x1dff87[_0x1847e8(0x10f)]);}[_0x87c52a(0x1b1)](_0x15e35d){const _0x218322=_0x87c52a,_0x7984b2=this[_0x218322(0x10a)][_0x218322(0x1ef)](_0x15e35d[_0x218322(0x189)][_0x218322(0x1f7)][_0x218322(0x160)]),_0x3dc09d=this[_0x218322(0x110)](_0x15e35d[_0x218322(0x189)],_0x7984b2),_0x341b8f=null===_0x15e35d[_0x218322(0xf9)]?null:_0x15e35d[_0x218322(0xf9)]||this[_0x218322(0xf5)][_0x218322(0x1b6)][_0x218322(0x1ef)](_0x218322(0x1f1))['me']['id'],_0x20e349=_0x3dc09d[_0x218322(0x19c)],_0x3cffbf=this[_0x218322(0x1d1)],_0x4e7e6d=[];for(const _0x10f94c of _0x15e35d[_0x218322(0x12e)])if(_0x10f94c['is'](_0x218322(0x10b)))_0x4e7e6d[_0x218322(0x180)](this[_0x218322(0x124)](_0x10f94c));else{for(let _0x287534=0x0;_0x287534<_0x10f94c[_0x218322(0x13e)];_0x287534++)_0x4e7e6d[_0x218322(0x180)](new _0x208d06(_0x218322(0x181),{'vid':this[_0x218322(0x1d1)]++}));}const _0x1dddfb=this[_0x218322(0x1d1)];for(let _0x89040f=_0x3cffbf;_0x89040f<_0x1dddfb;_0x89040f++)this[_0x218322(0x1cc)][_0x218322(0x187)](_0x89040f,{'userId':_0x341b8f});_0x20e349[_0x218322(0x113)](_0x3dc09d[_0x218322(0x1a3)],_0x4e7e6d);}[_0x87c52a(0xe5)](_0x5ab6e8){const _0x469bf0=_0x87c52a;(_0x5ab6e8=this[_0x469bf0(0xd5)](_0x5ab6e8,this[_0x469bf0(0x10a)]))[_0x469bf0(0xfa)]();const _0xf80a54=null===_0x5ab6e8[_0x469bf0(0xf9)]?null:_0x5ab6e8[_0x469bf0(0xf9)]||this[_0x469bf0(0xf5)][_0x469bf0(0x1b6)][_0x469bf0(0x1ef)](_0x469bf0(0x1f1))['me']['id'],_0x36e49f=_0x5ab6e8[_0x469bf0(0x1f8)](),_0x56500c=_0x36e49f[_0x469bf0(0x19c)],_0x4c2f50=_0x36e49f[_0x469bf0(0x1a3)];!function _0x13136c(_0x89f9f0,_0x19ec35,_0x4136e3,_0x1a5a62){const _0x4eef3b=_0x469bf0;for(let _0x2ca740=_0x4136e3;_0x2ca740<_0x1a5a62;_0x2ca740++){const _0x33ca41=_0x19ec35[_0x4eef3b(0x1bf)](_0x2ca740);_0x33ca41['is'](_0x4eef3b(0x10b),_0x4eef3b(0x181))?_0x89f9f0[_0x4eef3b(0x187)](_0x33ca41[_0x4eef3b(0x148)](_0x4eef3b(0x156)),{'userId':_0xf80a54}):(_0x89f9f0[_0x4eef3b(0x187)](_0x33ca41[_0x4eef3b(0x148)](_0x4eef3b(0x1f2)),{'userId':_0xf80a54}),_0x13136c(_0x89f9f0,_0x33ca41,0x0,_0x33ca41[_0x4eef3b(0x15d)]),_0x89f9f0[_0x4eef3b(0x187)](_0x33ca41[_0x4eef3b(0x148)](_0x4eef3b(0x1b7)),{'userId':_0xf80a54}));}}(this[_0x469bf0(0x1cc)],_0x56500c,_0x4c2f50,_0x4c2f50+_0x5ab6e8[_0x469bf0(0x1e5)]);}[_0x87c52a(0x1c4)](_0x41e01c){const _0x456aae=_0x87c52a,_0xfa6fca=null===(_0x41e01c=this[_0x456aae(0xd5)](_0x41e01c,this[_0x456aae(0x10a)]))[_0x456aae(0xf9)]?null:_0x41e01c[_0x456aae(0xf9)]||this[_0x456aae(0xf5)][_0x456aae(0x1b6)][_0x456aae(0x1ef)](_0x456aae(0x1f1))['me']['id'],_0x36ce25=_0x41e01c[_0x456aae(0x100)][_0x456aae(0x19c)],_0x3db4df=_0x41e01c[_0x456aae(0x1dd)][_0x456aae(0x19c)],_0x3ff9d4=_0x36ce25[_0x456aae(0x148)](_0x456aae(0x1b7)),_0x4ddb22=_0x3db4df[_0x456aae(0x148)](_0x456aae(0x1f2));_0x36ce25[_0x456aae(0x14b)](_0x456aae(0x1b7),_0x3db4df[_0x456aae(0x148)](_0x456aae(0x1b7))),_0x3db4df[_0x456aae(0x14b)](_0x456aae(0x1b7),_0x3ff9d4),this[_0x456aae(0x1cc)][_0x456aae(0x187)](_0x4ddb22,{'userId':_0xfa6fca}),this[_0x456aae(0x1cc)][_0x456aae(0x187)](_0x3ff9d4,{'userId':_0xfa6fca}),_0x41e01c[_0x456aae(0xfa)]();}[_0x87c52a(0x158)](_0x1d5f86){const _0xb21d81=_0x87c52a,_0x4a5086=null===(_0x1d5f86=this[_0xb21d81(0xd5)](_0x1d5f86,this[_0xb21d81(0x10a)]))[_0xb21d81(0xf9)]?null:_0x1d5f86[_0xb21d81(0xf9)]||this[_0xb21d81(0xf5)][_0xb21d81(0x1b6)][_0xb21d81(0x1ef)](_0xb21d81(0x1f1))['me']['id'],_0x2db296=_0x1d5f86[_0xb21d81(0x16d)],_0x42ffa2=_0x1d5f86[_0xb21d81(0x1eb)][_0xb21d81(0x19c)];_0x1d5f86[_0xb21d81(0xfa)]();const _0x23d53c=_0x42ffa2[_0xb21d81(0x148)](_0xb21d81(0x1b7)),_0x316b4f=_0x1d5f86[_0xb21d81(0x1fd)][_0xb21d81(0x188)];if(_0x2db296){const _0x2ff421=_0x316b4f[_0xb21d81(0x148)](_0xb21d81(0x1b7)),_0x113d0e=_0x42ffa2[_0xb21d81(0x148)](_0xb21d81(0x1b7));_0x42ffa2[_0xb21d81(0x14b)](_0xb21d81(0x1b7),_0x2ff421),_0x316b4f[_0xb21d81(0x14b)](_0xb21d81(0x1b7),_0x113d0e),this[_0xb21d81(0x1cc)][_0xb21d81(0x187)](_0x42ffa2[_0xb21d81(0x148)](_0xb21d81(0x1b7)),{'userId':_0x4a5086}),this[_0xb21d81(0x1cc)][_0xb21d81(0x187)](_0x316b4f[_0xb21d81(0x148)](_0xb21d81(0x1f2)),{'userId':_0x4a5086});}else{const _0x4ca317=this[_0xb21d81(0x1d1)]++,_0x20861d=this[_0xb21d81(0x1d1)]++;_0x42ffa2[_0xb21d81(0x14b)](_0xb21d81(0x1b7),_0x4ca317),_0x316b4f[_0xb21d81(0x14b)](_0xb21d81(0x1f2),_0x20861d),_0x316b4f[_0xb21d81(0x14b)](_0xb21d81(0x1b7),_0x23d53c),this[_0xb21d81(0x1cc)][_0xb21d81(0x187)](_0x4ca317,{'userId':_0x4a5086}),this[_0xb21d81(0x1cc)][_0xb21d81(0x187)](_0x20861d,{'userId':_0x4a5086});}}[_0x87c52a(0x11d)](_0x45a9ed){const _0x443608=_0x87c52a;if(!_0x45a9ed[_0x443608(0xf8)])return;const _0x14840f=(_0x45a9ed=this[_0x443608(0xd5)](_0x45a9ed,this[_0x443608(0x15c)]))[_0x443608(0x129)]?_0x45a9ed[_0x443608(0x129)][_0x443608(0x1f7)]:null,_0x2ada50=_0x45a9ed[_0x443608(0x166)]?_0x45a9ed[_0x443608(0x166)][_0x443608(0x1f7)]:null;_0x14840f&&this[_0x443608(0x1cf)][_0x443608(0x1ec)](_0x45a9ed[_0x443608(0x16e)]),_0x2ada50&&this[_0x443608(0x1cf)][_0x443608(0x187)](_0x45a9ed[_0x443608(0x16e)],_0x45a9ed[_0x443608(0x166)][_0x443608(0x11c)]());const _0x10ad1d=null===_0x45a9ed[_0x443608(0xf9)]?null:_0x45a9ed[_0x443608(0xf9)]||this[_0x443608(0xf5)][_0x443608(0x1b6)][_0x443608(0x1ef)](_0x443608(0x1f1))['me']['id'],_0x16a6c0=_0x45a9ed[_0x443608(0x16e)];if(!this[_0x443608(0x140)][_0x443608(0x125)](_0x16a6c0))return void this[_0x443608(0x140)][_0x443608(0x187)](_0x16a6c0,{'range':_0x45a9ed[_0x443608(0x129)],'userId':_0x10ad1d});const _0x38df94=this[_0x443608(0x140)][_0x443608(0x1ef)](_0x16a6c0),_0x197a7=_0x38df94[_0x443608(0x1a8)],_0x15e9e4=_0x45a9ed[_0x443608(0x166)];null==_0x197a7&&null==_0x15e9e4||_0x197a7&&_0x15e9e4&&_0x197a7[_0x443608(0x112)](_0x15e9e4)?this[_0x443608(0x140)][_0x443608(0x1ec)](_0x45a9ed[_0x443608(0x16e)]):_0x38df94[_0x443608(0x19d)]=_0x10ad1d;}[_0x87c52a(0x121)](_0x5c476e,_0x28b83f){const _0x26296e=_0x87c52a;this[_0x26296e(0x15c)][_0x26296e(0x125)](_0x5c476e[_0x26296e(0x160)])?this[_0x26296e(0x15c)][_0x26296e(0x1ef)](_0x5c476e[_0x26296e(0x160)])[_0x26296e(0x167)]=_0x5c476e[_0x26296e(0x14d)]:(this[_0x26296e(0x15c)][_0x26296e(0x187)](_0x5c476e[_0x26296e(0x160)],G(_0x5c476e[_0x26296e(0x160)],!0x0)),this[_0x26296e(0xee)][_0x26296e(0x187)](_0x5c476e[_0x26296e(0x160)],{}),_0x28b83f&&this[_0x26296e(0x10a)][_0x26296e(0x187)](_0x5c476e[_0x26296e(0x160)],G(_0x5c476e[_0x26296e(0x160)],!0x0)));const _0x558bc6=null===_0x5c476e[_0x26296e(0xf9)]?null:_0x5c476e[_0x26296e(0xf9)]||this[_0x26296e(0xf5)][_0x26296e(0x1b6)][_0x26296e(0x1ef)](_0x26296e(0x1f1))['me']['id'],_0x3b5a57=this[_0x26296e(0x194)][_0x26296e(0x1ef)](_0x5c476e[_0x26296e(0x160)]);_0x3b5a57&&_0x3b5a57[_0x26296e(0x19d)]===_0x558bc6?this[_0x26296e(0x194)][_0x26296e(0x1ec)](_0x5c476e[_0x26296e(0x160)]):this[_0x26296e(0x194)][_0x26296e(0x187)](_0x5c476e[_0x26296e(0x160)],{'userId':_0x558bc6,'isAttached':_0x5c476e[_0x26296e(0x14d)]});}[_0x87c52a(0x15b)](_0x41fea7){const _0x35d51b=_0x87c52a,_0x11bc66=this[_0x35d51b(0xee)][_0x35d51b(0x1ef)](_0x41fea7[_0x35d51b(0x1f7)][_0x35d51b(0x160)]);null===_0x41fea7[_0x35d51b(0x19b)]?delete _0x11bc66[_0x41fea7[_0x35d51b(0x1e2)]]:_0x11bc66[_0x41fea7[_0x35d51b(0x1e2)]]=_0x41fea7[_0x35d51b(0x19b)];}}function q(_0x249e39){const _0x129a80=_0x87c52a,_0x21f274=G(_0x249e39[_0x129a80(0x160)],_0x249e39[_0x129a80(0x199)]());for(const _0x547351 of _0x249e39[_0x129a80(0xf6)]()){const _0x2f86f7=_0x547351[_0x129a80(0xf3)](!0x0);_0x21f274[_0x129a80(0xdb)](_0x2f86f7);}return _0x21f274;}function G(_0x1536ae,_0x56979c=!0x0){const _0x308d51=_0x87c52a,_0x9e8aff=new _0x434055();return _0x9e8aff[_0x308d51(0x160)]=_0x1536ae,_0x9e8aff[_0x308d51(0x167)]=_0x56979c,_0x9e8aff[_0x308d51(0x199)]=()=>_0x9e8aff[_0x308d51(0x167)],_0x9e8aff;}function L(_0x4320d0,_0xe03e60,_0x583a0f){const _0x30a649=_0x87c52a,_0x64dd2c=_0x30a649(0x107)==_0x4320d0[_0x30a649(0x144)]?_0x583a0f[_0x30a649(0x14e)](_0x4320d0[_0x30a649(0x173)],_0x30a649(0x1b5)):_0x583a0f[_0x30a649(0x134)](_0x4320d0[_0x30a649(0x173)]);return _0x583a0f[_0x30a649(0x191)](_0xe03e60,_0x64dd2c[_0x30a649(0x15f)],_0x64dd2c[_0x30a649(0x10f)]);}function W(_0x54dd76,_0x1ee626,_0x1100b8){const _0x1cc330=_0x87c52a,_0x395a28=_0x1cc330(0x1a0)==_0x54dd76[_0x1cc330(0x144)]?_0x1100b8[_0x1cc330(0x14e)](_0x54dd76[_0x1cc330(0x173)],0x0):_0x1100b8[_0x1cc330(0x190)](_0x54dd76[_0x1cc330(0x173)]);return _0x1100b8[_0x1cc330(0x191)](_0x1ee626,_0x395a28[_0x1cc330(0x15f)],_0x395a28[_0x1cc330(0x10f)]);}
23
+ const _0x330815=_0x198c;(function(_0x1ba9a9,_0xa0465f){const _0x3d6bc9=_0x198c,_0x4fcd09=_0x1ba9a9();while(!![]){try{const _0x1cbd92=parseInt(_0x3d6bc9(0x1b6))/0x1+-parseInt(_0x3d6bc9(0x178))/0x2+parseInt(_0x3d6bc9(0x16c))/0x3+-parseInt(_0x3d6bc9(0x1f5))/0x4*(-parseInt(_0x3d6bc9(0xeb))/0x5)+-parseInt(_0x3d6bc9(0x16a))/0x6+parseInt(_0x3d6bc9(0xe8))/0x7+-parseInt(_0x3d6bc9(0x1b5))/0x8;if(_0x1cbd92===_0xa0465f)break;else _0x4fcd09['push'](_0x4fcd09['shift']());}catch(_0x498f4b){_0x4fcd09['push'](_0x4fcd09['shift']());}}}(_0xd5f1,0x9585d));import{Users as _0x1a8ff8}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x58344d,PendingActions as _0x149de2}from'ckeditor5/src/core.js';import{logWarning as _0x4eca4e,uid as _0x59479b}from'ckeditor5/src/utils.js';function _0x198c(_0x2ff974,_0x33d282){const _0xd5f1b3=_0xd5f1();return _0x198c=function(_0x198c97,_0x5a0cf2){_0x198c97=_0x198c97-0xe1;let _0x4dde01=_0xd5f1b3[_0x198c97];return _0x4dde01;},_0x198c(_0x2ff974,_0x33d282);}import{Position as _0x3a1e60,Range as _0x4bdd1f,Element as _0x370d02,DocumentFragment as _0x528650,ViewText as _0x213139,ViewElement as _0x182e1d,ViewContainerElement as _0x54099b,ViewAttributeElement as _0x3c8543,ViewEmptyElement as _0xb7a7ec,ViewRawElement as _0x25d39d,ViewUIElement as _0x1a6f4e,ViewDocumentFragment as _0x242f41}from'ckeditor5/src/engine.js';import _0xfcebf from'./revisionsrepository.js';import{getTranslation as _0x316d42}from'./utils/common-translations.js';function _0xd5f1(){const _0x333caa=['getWalker','offset','howMany','171248kWNIkC','map','conversion','6098770JznTkM','getOperation','RevisionsRepository','_isInit','getRevisionDocumentData','clone','_authorId','_loadedStateData','getCurrentRevisionId','_makeRevision','getRoot','addRoot','_makeIdsRoot','processor','roots','children','find','isAttached','diffData','elementEnd','finally','_handleMarkerOperation','_findInsertionIndex','range','vid_start','repository','some','key','ready','createPositionAfter','childCount','_bufferUpdate','fromEntries','paragraph','keys','forEach','authorsIds','createRange','_handleMoveOperation','getRange','_revisionId','_startingVersion','merge','requires','getUser','tableCell','createRevision','for','isReady','Users','getMovedRangeStart','_diffRoots','_isPendingUpdate','markerToData','startsWith','dataToMarker','data-revision-','createPositionFromPath','_lastTo','oldRange','setRevisionData','filter','addRevision','then','_loadState','getTime','$graveyard','editor-initial-data-replaced-with-revision-data','_getState','creatorId','plugins','initialData','bind','dataDowncast','add','_handleOperation','has','keepParagraph','NEGATIVE_INFINITY','remove','get','move','_fixRange','getLatestVersion','history','default','_applyOperations','length','getChildren','getIndex','_reset','addRevisionData','rootsAttributes','source','_pendingAction','data','targetPosition','_fixOperation','_idsRoots','_handleRootOperation','useFillerType','_processRootBeforeSave','name','detachRoot','getRootNames','updateRevisions','nodes','start','shift','delete','changeRootAttribute','root','Initial\x20revision','_initialRevisionId','_handleInsertOperation','vid','_getBaseVids','getData','markers','toView','sort','_insertChild','baseVersion','graveyardPosition','_fixPosition','_diffRootsAttributes','saveRevision','1473276YgTnVu','_createCurrentRevision','3113049txYphq','RealTimeCollaborationClient','addRootAttribute','version','_replaceEditorDataWithRevisionData','isEqual','_getVidAttributeName','toData','createdAt','createPositionAt','_addPendingAction','_saveMetaData','2446032FnxiGp','newRange','sendBufferedUpdates','_setConversion','revision-start','reverse','insertionPosition','_baseRootsAttributes','_handleMergeOperation','adapter','reInit','loadState','element','path','_removePendingAction','creator','getTransformedByOperation','values','item','rootName','document','_bufferedUpdates','sourcePosition','_removeMetaData','_transformMarkers','_loadRevisionData','init','_createFromRanges','previousPosition','_markChanges','PENDING_ACTION_REVISION_HISTORY','affectsData','$text','_revisionDataBuilder','currentRevision','getChild','config','getAttribute','documentFragment','_operations','marked','RevisionTracker','_startingRevisionId','max','resolve','_handleSplitOperation','view','authors','_source','_baseRoots','revision:','_getPreviousFrom','getRevisionRootsAttributes','attributesBefore','position','insert','revisionHistory.resumeUnsavedRevision','slice','Empty\x20document','_execute','upcast','11220280lpXeBy','1201641fZBDtU','update','marker','trim','reinsert','_appendChild','_makeModelFromViewString','toVersion','clear','editor','nodeAfter','initial','string','stringify','revision-end','model','getRevision','createRangeIn','offsetSize','buildRevisionData','stickiness','_copyMarkers','vid_end','_cloneOperation','set','setSource','elementStart','hasContent','attributesAfter','editing','toModel','_touched','isAdd','_createInitialRevision','revision','_savedMetaData','locale','_touchedRoots','getAncestors','_continueCurrentRevision','_lastFrom','parse','getRevisions','PendingActions','deletions','end','newValue','size','_prepareViewToSave','_getViewJson','pluginName','_setAttribute','split','getOperations','getAttributes','_handleRootAttributeOperation','push','_touchedMarkers','insertions','define','from','parent','isEnabled','4PEOnWy','_markers','_baseIdsRoots','_clone','type','collaboration.channelId','_getFromVersion','insertion','_update','fromVersion','userId','_calculateMetaData','_isAttached','text','createPositionBefore','_generateTape','deletion','_removeRevisionMarkers','includes','removeRootAttribute','attachChange','afterInit','getNodeByPath','attributes','splitPosition'];_0xd5f1=function(){return _0x333caa;};return _0xd5f1();}import{cloneDeep as _0x2763f7,isEqual as _0x5c6e98}from'lodash-es';const T={'c':_0x54099b,'a':_0x3c8543,'e':_0xb7a7ec,'r':_0x25d39d,'u':_0x1a6f4e};export default class l extends _0x58344d{static get[_0x330815(0x1e8)](){const _0x3dcb85=_0x330815;return _0x3dcb85(0x1a1);}static get[_0x330815(0x116)](){return[_0x1a8ff8,_0xfcebf,_0x149de2];}constructor(_0x1a7bdb){const _0x556d0b=_0x330815;super(_0x1a7bdb),this[_0x556d0b(0x181)]=null,this[_0x556d0b(0x19a)]=null,this[_0x556d0b(0x199)]=new J(this[_0x556d0b(0x1bf)]),this[_0x556d0b(0x15c)]=this[_0x556d0b(0x1bf)][_0x556d0b(0x19c)][_0x556d0b(0x13b)](_0x556d0b(0x1fa))||_0x556d0b(0x1c1),this[_0x556d0b(0x18d)]=new Map(),this[_0x556d0b(0xf2)]=null;const _0x1c629b=_0x59479b();this[_0x556d0b(0x1a8)]={'history':this[_0x556d0b(0x1bf)][_0x556d0b(0x1c5)][_0x556d0b(0x18c)][_0x556d0b(0x13f)],'getLatestVersion':()=>Promise[_0x556d0b(0x1a4)](this[_0x556d0b(0x1bf)][_0x556d0b(0x1c5)][_0x556d0b(0x18c)][_0x556d0b(0x16f)]),'getCurrentRevisionId':()=>_0x1c629b},this[_0x556d0b(0x1ce)](_0x556d0b(0x11b),!0x1),this[_0x556d0b(0x1ce)](_0x556d0b(0x1f4),!0x0),this[_0x556d0b(0x1ce)](_0x556d0b(0x11f),!0x1),this[_0x556d0b(0x1bf)][_0x556d0b(0x19c)][_0x556d0b(0x1f1)](_0x556d0b(0x1b0),!0x0),this[_0x556d0b(0x1bf)][_0x556d0b(0xea)][_0x556d0b(0x11a)](_0x556d0b(0x1b4))[_0x556d0b(0x122)]({'view':_0x556d0b(0x1d8)});}[_0x330815(0x192)](){const _0x3cd302=_0x330815;this[_0x3cd302(0x104)]=this[_0x3cd302(0x1bf)][_0x3cd302(0x131)][_0x3cd302(0x13b)](_0x3cd302(0xed)),this[_0x3cd302(0x17b)](),this[_0x3cd302(0x1bf)][_0x3cd302(0x14a)]['on'](_0x3cd302(0x107),()=>{const _0x232320=_0x3cd302,_0x406ce9=this[_0x232320(0x104)][_0x232320(0x1c6)](0x0),_0xe64b7f=_0x406ce9&&null===_0x406ce9[_0x232320(0x187)]?_0x406ce9:null;if(this[_0x232320(0x1dd)]=!!_0xe64b7f&&this[_0x232320(0x1bf)][_0x232320(0x19c)][_0x232320(0x13b)](_0x232320(0x1b0)),this[_0x232320(0x1bf)][_0x232320(0x131)][_0x232320(0x137)](_0x232320(0x16d))){const _0x5bf6aa=this[_0x232320(0x1a8)][_0x232320(0xf3)](),_0x2ec940=this[_0x232320(0x104)][_0x232320(0x1c6)](_0x5bf6aa);if(_0x2ec940)this[_0x232320(0x114)]=_0x2ec940[_0x232320(0x1fe)],this[_0x232320(0x1dd)]=!0x1;else{const _0x28b917=this[_0x232320(0x1a8)][_0x232320(0x13f)][_0x232320(0x19f)][_0x232320(0xfb)](_0x3cbba2=>!_0x3cbba2[_0x232320(0xee)]),_0x564e92=_0x28b917?_0x28b917[_0x232320(0x165)]:this[_0x232320(0x1a8)][_0x232320(0x13f)][_0x232320(0x16f)];_0x406ce9?(_0x406ce9[_0x232320(0x1bd)]<_0x564e92&&_0x406ce9[_0x232320(0x1fd)]({'toVersion':_0x564e92}),this[_0x232320(0x1dd)]?(this[_0x232320(0x1a8)][_0x232320(0xf3)]=()=>_0xe64b7f['id'],this[_0x232320(0x114)]=_0xe64b7f[_0x232320(0x1fe)]):(this[_0x232320(0x114)]=_0x406ce9[_0x232320(0x1bd)],this[_0x232320(0x1dd)]=!0x1)):(this[_0x232320(0x114)]=_0x564e92,this[_0x232320(0x1dd)]=!0x1);}}else _0xe64b7f&&(this[_0x232320(0x1bf)][_0x232320(0x1c5)][_0x232320(0x18c)][_0x232320(0x13f)][_0x232320(0x16f)]=Math[_0x232320(0x1a3)](_0xe64b7f[_0x232320(0x1bd)],this[_0x232320(0x1bf)][_0x232320(0x1c5)][_0x232320(0x18c)][_0x232320(0x13f)][_0x232320(0x16f)]),_0xe64b7f[_0x232320(0x1fe)]===_0xe64b7f[_0x232320(0x1bd)]?(0x0!==_0xe64b7f[_0x232320(0x1fe)]&&(this[_0x232320(0x1a8)][_0x232320(0xf3)]=()=>_0xe64b7f['id']),this[_0x232320(0x1dd)]=!0x1):this[_0x232320(0x1dd)]&&(this[_0x232320(0x1a8)][_0x232320(0xf3)]=()=>_0xe64b7f['id'],this[_0x232320(0x114)]=_0xe64b7f[_0x232320(0x1fe)])),this[_0x232320(0x1dd)]||(this[_0x232320(0x114)]=this[_0x232320(0x1bf)][_0x232320(0x1c5)][_0x232320(0x18c)][_0x232320(0x16f)]);this[_0x232320(0x199)][_0x232320(0x192)](this[_0x232320(0x1a8)][_0x232320(0x13f)]),this[_0x232320(0x1d7)](this[_0x232320(0x114)]),this[_0x232320(0x16b)](this[_0x232320(0x114)]),this[_0x232320(0x181)]&&this[_0x232320(0x17a)]();}),this[_0x3cd302(0x133)](_0x3cd302(0x11b))['to'](this,_0x3cd302(0x11f),_0x438681=>!_0x438681);}async[_0x330815(0xe1)](){const _0x5f33f2=_0x330815;if(this[_0x5f33f2(0x104)][_0x5f33f2(0x142)]>0x0){const _0x3868ca=this[_0x5f33f2(0x104)][_0x5f33f2(0x1c6)](0x0),_0x7a9244=await this[_0x5f33f2(0xef)](_0x3868ca),_0x273701=await this[_0x5f33f2(0x1ac)](_0x3868ca);this[_0x5f33f2(0x170)](_0x7a9244,_0x273701);}}[_0x330815(0x1cf)](_0x21ab85){const _0x4c2278=_0x330815;this[_0x4c2278(0x1a8)]=_0x21ab85;}async[_0x330815(0x1b7)](){const _0x3914d7=_0x330815,_0x31bf4e=await this[_0x3914d7(0x1a8)][_0x3914d7(0x13e)]();if(_0x31bf4e>this[_0x3914d7(0x19a)][_0x3914d7(0x1bd)]){await this[_0x3914d7(0x12b)]();const _0x2f5438=this[_0x3914d7(0x1c9)]({'revision':this[_0x3914d7(0x19a)],'to':_0x31bf4e});_0x2f5438[_0x3914d7(0x1a7)]=_0x2f5438[_0x3914d7(0x10f)][_0x3914d7(0xe9)](_0x1a71c8=>this[_0x3914d7(0x1bf)][_0x3914d7(0x131)][_0x3914d7(0x13b)](_0x3914d7(0x11c))[_0x3914d7(0x117)](_0x1a71c8)),this[_0x3914d7(0x19a)][_0x3914d7(0x1fd)](_0x2f5438);}}async[_0x330815(0x12b)](){const _0x593677=_0x330815;this[_0x593677(0x1dd)]&&!this[_0x593677(0xf2)]&&(await this[_0x593677(0x191)](this[_0x593677(0x19a)]),this[_0x593677(0x199)][_0x593677(0x183)](this[_0x593677(0x19a)]),this[_0x593677(0xf2)]={'fromVersion':this[_0x593677(0x19a)][_0x593677(0x1fe)],'authors':this[_0x593677(0x19a)][_0x593677(0x1a7)][_0x593677(0x1b1)]()});}async[_0x330815(0x169)](_0x680d82={},_0x1fd969=null){const _0x2f0553=_0x330815,_0x4e7ddf=[];await this[_0x2f0553(0x12b)](),this[_0x2f0553(0x1dd)]=!0x1,_0x1fd969>this[_0x2f0553(0x19a)][_0x2f0553(0x1bd)]&&(_0x1fd969=null),null===_0x1fd969&&(_0x1fd969=await this[_0x2f0553(0x1a8)][_0x2f0553(0x13e)]());const _0x19e062=this[_0x2f0553(0x1fb)](_0x1fd969),_0x317fa0=this[_0x2f0553(0x1c9)]({'from':_0x19e062,'to':_0x1fd969});if(this[_0x2f0553(0x19a)][_0x2f0553(0x1bd)]<_0x1fd969){const _0x9809f2=this[_0x2f0553(0x1c9)]({'revision':this[_0x2f0553(0x19a)],'from':_0x1fd969,'to':_0x1fd969});_0x9809f2[_0x2f0553(0x1a7)]=[],_0x9809f2[_0x2f0553(0x10f)]=[],_0x9809f2['id']=this[_0x2f0553(0x19a)]['id'],this[_0x2f0553(0x19a)][_0x2f0553(0x1fd)](_0x9809f2,!0x0),delete _0x9809f2[_0x2f0553(0x1a7)],_0x4e7ddf[_0x2f0553(0x1ee)](_0x9809f2);}_0x680d82[_0x2f0553(0x130)]=this[_0x2f0553(0x1bf)][_0x2f0553(0x131)][_0x2f0553(0x13b)](_0x2f0553(0x11c))['me']['id'],_0x680d82[_0x2f0553(0x151)]=_0x680d82[_0x2f0553(0x151)]||null,_0x680d82['id']=_0x680d82['id']||_0x59479b(),_0x680d82={..._0x680d82,..._0x317fa0};const _0x43b2ef=this[_0x2f0553(0x146)](_0x680d82);_0x4e7ddf[_0x2f0553(0x1ee)](_0x680d82);const _0x7cb3aa=this[_0x2f0553(0x104)][_0x2f0553(0x144)](_0x43b2ef);if(0x0!==_0x7cb3aa){const _0x950b87=this[_0x2f0553(0x104)][_0x2f0553(0x1c6)](_0x7cb3aa-0x1);if(_0x950b87[_0x2f0553(0x1fe)]!==_0x1fd969){const _0x917227=this[_0x2f0553(0x199)][_0x2f0553(0x160)](_0x1fd969,_0x950b87[_0x2f0553(0x1bd)]),_0x294093={'id':_0x950b87['id'],'diffData':_0x917227[_0x2f0553(0xfd)],'authorsIds':_0x917227[_0x2f0553(0x10f)],'authors':_0x917227[_0x2f0553(0x10f)][_0x2f0553(0xe9)](_0x439758=>this[_0x2f0553(0x1bf)][_0x2f0553(0x131)][_0x2f0553(0x13b)](_0x2f0553(0x11c))[_0x2f0553(0x117)](_0x439758)),'fromVersion':_0x1fd969};_0x950b87===this[_0x2f0553(0x19a)]&&(_0x294093[_0x2f0553(0x174)]=new Date(_0x680d82[_0x2f0553(0x174)][_0x2f0553(0x12c)]()+0xa)),_0x950b87[_0x2f0553(0x1fd)](_0x294093,!0x0),delete _0x294093[_0x2f0553(0x1a7)],_0x4e7ddf[_0x2f0553(0x1ee)](_0x294093);}}if(this[_0x2f0553(0x181)]){for(const _0x5369bb of _0x4e7ddf)this[_0x2f0553(0x10a)](_0x5369bb['id'],_0x5369bb,!0x0);this[_0x2f0553(0x17a)]();}return _0x43b2ef;}[_0x330815(0x146)](_0x27a2a1){const _0x240264=_0x330815,_0x3fd2e6=this[_0x240264(0x104)][_0x240264(0x119)](_0x27a2a1);return this[_0x240264(0x181)]&&_0x3fd2e6['on'](_0x240264(0x1fd),(_0x4cee92,_0x473c52,_0x50b8e7)=>{const _0x3daf0a=_0x240264;_0x50b8e7||(this[_0x3daf0a(0x10a)](_0x473c52['id'],_0x473c52,!0x0),this[_0x3daf0a(0x17a)]());}),this[_0x240264(0x104)][_0x240264(0x129)](_0x3fd2e6,this[_0x240264(0x101)](_0x3fd2e6)),_0x3fd2e6;}async[_0x330815(0xef)](_0x230c9e){const _0x4400be=_0x330815;await this[_0x4400be(0x191)](_0x230c9e);const _0x496f3f={};for(const _0x5260be in _0x230c9e[_0x4400be(0xfd)]){if(_0x230c9e[_0x4400be(0xfd)][_0x5260be][_0x4400be(0x209)]&&!_0x230c9e[_0x4400be(0xfd)][_0x5260be][_0x4400be(0x209)][_0x4400be(0xfc)])continue;const _0x3aa5da=this[_0x4400be(0x206)](JSON[_0x4400be(0x1df)](_0x230c9e[_0x4400be(0xfd)][_0x5260be][_0x4400be(0x1f0)])),_0x28e1cd=this[_0x4400be(0x1bf)][_0x4400be(0x1d3)][_0x4400be(0x1a6)][_0x4400be(0x18c)],_0x531965=new _0x242f41(_0x28e1cd,_0x3aa5da[_0x4400be(0xe9)](_0x4a9a04=>B(_0x4a9a04,this[_0x4400be(0x1bf)])));this[_0x4400be(0x1bf)][_0x4400be(0x14a)][_0x4400be(0xf8)][_0x4400be(0x14f)](_0x4400be(0x1a0)),_0x496f3f[_0x5260be]=this[_0x4400be(0x1bf)][_0x4400be(0x14a)][_0x4400be(0xf8)][_0x4400be(0x173)](_0x531965),this[_0x4400be(0x1bf)][_0x4400be(0x14a)][_0x4400be(0xf8)][_0x4400be(0x14f)](_0x4400be(0x140));}return _0x496f3f;}async[_0x330815(0x1ac)](_0x45f296){const _0x123264=_0x330815;await this[_0x123264(0x191)](_0x45f296);const _0x17eb20={};for(const _0x2b1173 in _0x45f296[_0x123264(0xfd)])_0x45f296[_0x123264(0xfd)][_0x2b1173][_0x123264(0x209)]&&!_0x45f296[_0x123264(0xfd)][_0x2b1173][_0x123264(0x209)][_0x123264(0xfc)]||(_0x17eb20[_0x2b1173]=_0x45f296[_0x123264(0xfd)][_0x2b1173][_0x123264(0x1d2)]||{});return _0x17eb20;}[_0x330815(0x17a)](){const _0x2f9051=_0x330815;if(0x0===this[_0x2f9051(0x18d)][_0x2f9051(0x1e5)])return;if(this[_0x2f9051(0x11f)])return;let _0x3ef823=Array[_0x2f9051(0x1f2)](this[_0x2f9051(0x18d)][_0x2f9051(0x189)]());this[_0x2f9051(0x18d)][_0x2f9051(0x1be)]();for(let _0x15bf11=0x0;_0x15bf11<_0x3ef823[_0x2f9051(0x142)];_0x15bf11++){const _0x29cad1=_0x3ef823[_0x15bf11];let _0x2ecfe9=!0x1;for(const _0x4a7890 of Object[_0x2f9051(0x10d)](_0x29cad1))void 0x0===_0x29cad1[_0x4a7890]?delete _0x29cad1[_0x4a7890]:'id'!==_0x4a7890&&(_0x2ecfe9=!0x0);_0x2ecfe9||(_0x3ef823[_0x15bf11]=null);}if(_0x3ef823=_0x3ef823[_0x2f9051(0x128)](_0x550421=>null!==_0x550421),!_0x3ef823[_0x2f9051(0x142)])return;for(let _0x20f20a=0x0;_0x20f20a<_0x3ef823[_0x2f9051(0x142)];_0x20f20a++){const _0x2b63ac=_0x3ef823[_0x20f20a];void 0x0!==_0x2b63ac[_0x2f9051(0x1fe)]&&void 0x0===_0x2b63ac[_0x2f9051(0x1bd)]&&(_0x2b63ac[_0x2f9051(0x1bd)]=this[_0x2f9051(0x104)][_0x2f9051(0x1c6)](_0x2b63ac['id'])[_0x2f9051(0x1bd)]),void 0x0!==_0x2b63ac[_0x2f9051(0x1bd)]&&void 0x0===_0x2b63ac[_0x2f9051(0x1fe)]&&(_0x2b63ac[_0x2f9051(0x1fe)]=this[_0x2f9051(0x104)][_0x2f9051(0x1c6)](_0x2b63ac['id'])[_0x2f9051(0x1fe)]);}const _0x335c8d=this[_0x2f9051(0x1bf)][_0x2f9051(0x19c)][_0x2f9051(0x13b)](_0x2f9051(0x1fa));this[_0x2f9051(0x11f)]=!0x0,this[_0x2f9051(0x176)](),this[_0x2f9051(0x181)][_0x2f9051(0x154)](_0x3ef823,_0x335c8d)[_0x2f9051(0xff)](()=>{const _0x2fae32=_0x2f9051;this[_0x2fae32(0x11f)]=!0x1;})[_0x2f9051(0x12a)](_0x5b8d41=>{const _0x4412d3=_0x2f9051;if(_0x5b8d41){for(const _0x2eba1e of _0x5b8d41)this[_0x4412d3(0x127)]({'id':_0x2eba1e['id'],'createdAt':_0x2eba1e[_0x4412d3(0x174)]});}this[_0x4412d3(0x186)](),this[_0x4412d3(0x17a)]();});}[_0x330815(0x170)](_0x5df16e,_0xef1a3a){const _0x1a190c=_0x330815;let _0x4c12af=this[_0x1a190c(0x1bf)][_0x1a190c(0x19c)][_0x1a190c(0x13b)](_0x1a190c(0x132)),_0x1a881a=this[_0x1a190c(0x1bf)][_0x1a190c(0x19c)][_0x1a190c(0x13b)](_0x1a190c(0x147));if(void 0x0===_0x4c12af){_0x4c12af={};for(const _0x27f676 of this[_0x1a190c(0x1bf)][_0x1a190c(0x1c5)][_0x1a190c(0x18c)][_0x1a190c(0x153)]())_0x4c12af[_0x27f676]='';}if(_0x1a190c(0x1c2)==typeof _0x4c12af&&(_0x4c12af={'main':_0x4c12af}),void 0x0===_0x1a881a){_0x1a881a={};for(const _0x52b1f9 of this[_0x1a190c(0x1bf)][_0x1a190c(0x1c5)][_0x1a190c(0x18c)][_0x1a190c(0x153)]())_0x1a881a[_0x52b1f9]={};}let _0x371bf8=!0x1;const _0x1e76e3=Object[_0x1a190c(0x10d)](_0x4c12af),_0x511009=Object[_0x1a190c(0x10d)](_0x5df16e);for(const _0x5e8d21 of _0x1e76e3){if(_0x4c12af[_0x5e8d21]!==_0x5df16e[_0x5e8d21]&&''!==_0x4c12af[_0x5e8d21][_0x1a190c(0x1b9)]()){_0x371bf8=!0x0;break;}if(!_0x5c6e98(_0x1a881a[_0x5e8d21],_0xef1a3a[_0x5e8d21])&&Object[_0x1a190c(0x10d)](_0x1a881a[_0x5e8d21])[_0x1a190c(0x142)]>0x0){_0x371bf8=!0x0;break;}}_0x371bf8||(_0x371bf8=_0x511009[_0x1a190c(0x105)](_0x5366b7=>!this[_0x1a190c(0x1bf)][_0x1a190c(0x1c5)][_0x1a190c(0x18c)][_0x1a190c(0xf5)](_0x5366b7))),_0x371bf8&&_0x4eca4e(_0x1a190c(0x12e),{'editorData':_0x4c12af,'editorRootsAttributes':_0x1a881a,'revisionData':_0x5df16e,'revisionRootsAttributes':_0xef1a3a}),this[_0x1a190c(0x1bf)][_0x1a190c(0x19c)][_0x1a190c(0x1ce)](_0x1a190c(0x132),_0x5df16e),this[_0x1a190c(0x1bf)][_0x1a190c(0x19c)][_0x1a190c(0x1ce)](_0x1a190c(0x147),_0xef1a3a);}[_0x330815(0x176)](){const _0x4c1d58=_0x330815;if(!this[_0x4c1d58(0x149)]){const _0x50b864=this[_0x4c1d58(0x1bf)][_0x4c1d58(0x131)][_0x4c1d58(0x13b)](_0x4c1d58(0x1e1));this[_0x4c1d58(0x149)]=_0x50b864[_0x4c1d58(0x135)](_0x316d42(this[_0x4c1d58(0x1bf)][_0x4c1d58(0x1da)],_0x4c1d58(0x196)));}}[_0x330815(0x186)](){const _0x28d5e7=_0x330815;this[_0x28d5e7(0x149)]&&(this[_0x28d5e7(0x1bf)][_0x28d5e7(0x131)][_0x28d5e7(0x13b)](_0x28d5e7(0x1e1))[_0x28d5e7(0x13a)](this[_0x28d5e7(0x149)]),this[_0x28d5e7(0x149)]=null);}[_0x330815(0x101)](_0x4f3d28){const _0x5578d0=_0x330815,_0x1a70f5=this[_0x5578d0(0x104)][_0x5578d0(0x1e0)]();_0x1a70f5[_0x5578d0(0x17d)]();let _0x170aeb=0x0;for(;_0x170aeb<_0x1a70f5[_0x5578d0(0x142)];){const _0x5ff7c2=_0x1a70f5[_0x170aeb];if(_0x5ff7c2===this[_0x5578d0(0x19a)]){_0x170aeb++;continue;}if(_0x5ff7c2['id']===this[_0x5578d0(0x15c)])break;const _0x1d1d83=_0x4f3d28[_0x5578d0(0x1bd)]-_0x5ff7c2[_0x5578d0(0x1bd)]||_0x4f3d28[_0x5578d0(0x1fe)]-_0x5ff7c2[_0x5578d0(0x1fe)];if(_0x1d1d83>0x0)break;if(_0x1d1d83<0x0)_0x170aeb++;else{if(!_0x4f3d28[_0x5578d0(0x187)]&&_0x5ff7c2[_0x5578d0(0x187)])break;if(_0x5ff7c2[_0x5578d0(0x187)]||!_0x4f3d28[_0x5578d0(0x187)]){if(_0x4f3d28[_0x5578d0(0x174)]>_0x5ff7c2[_0x5578d0(0x174)])break;_0x170aeb++;}else _0x170aeb++;}}return _0x170aeb;}[_0x330815(0x127)](_0x2dfc44){const _0x457671=_0x330815,_0x139568=this[_0x457671(0x104)][_0x457671(0x1c6)](_0x2dfc44['id']);if(_0x2dfc44[_0x457671(0x174)]&&(_0x2dfc44[_0x457671(0x174)]=new Date(_0x2dfc44[_0x457671(0x174)])),_0x2dfc44[_0x457671(0x10f)]){const _0x1cd6df=this[_0x457671(0x1bf)][_0x457671(0x131)][_0x457671(0x13b)](_0x457671(0x11c));_0x2dfc44[_0x457671(0x1a7)]=_0x2dfc44[_0x457671(0x10f)][_0x457671(0xe9)](_0x236787=>_0x1cd6df[_0x457671(0x117)](_0x236787));}_0x139568[_0x457671(0x1fd)](_0x2dfc44,!0x0);}[_0x330815(0x1c9)]({revision:_0x2e1bc0=null,from:_0x2c00cc=null,to:_0x145120=null}){const _0x2808f3=_0x330815;_0x2c00cc=null!==_0x2c00cc?_0x2c00cc:_0x2e1bc0[_0x2808f3(0x1fe)],_0x145120=null!==_0x145120?_0x145120:_0x2e1bc0[_0x2808f3(0x1bd)];const _0x4dbeda=this[_0x2808f3(0x199)][_0x2808f3(0x160)](_0x2c00cc,_0x145120),_0x3c94a2={'diffData':_0x4dbeda[_0x2808f3(0xfd)],'authorsIds':_0x4dbeda[_0x2808f3(0x10f)],'fromVersion':_0x2c00cc,'toVersion':_0x145120};if(!_0x2e1bc0||_0x145120!==_0x2e1bc0[_0x2808f3(0x1bd)]){const _0x4b9928=_0x145120-0x1,_0x5c3e1d=this[_0x2808f3(0x1a8)][_0x2808f3(0x13f)][_0x2808f3(0xec)](_0x4b9928);_0x3c94a2[_0x2808f3(0x174)]=_0x5c3e1d&&_0x5c3e1d[_0x2808f3(0x174)]||new Date();}if(this[_0x2808f3(0xf2)]&&_0x2c00cc===this[_0x2808f3(0xf2)][_0x2808f3(0x1fe)]){for(const _0x24ecf1 of this[_0x2808f3(0xf2)][_0x2808f3(0x1a7)])_0x3c94a2[_0x2808f3(0x10f)][_0x2808f3(0x207)](_0x24ecf1['id'])||_0x3c94a2[_0x2808f3(0x10f)][_0x2808f3(0x1ee)](_0x24ecf1['id']);}return _0x3c94a2;}[_0x330815(0x191)](_0x22472f){const _0x48100a=_0x330815;if(!_0x22472f||_0x22472f[_0x48100a(0xfd)])return Promise[_0x48100a(0x1a4)]();{const _0x2683b5=this[_0x48100a(0x1bf)][_0x48100a(0x19c)][_0x48100a(0x13b)](_0x48100a(0x1fa));return this[_0x48100a(0x181)][_0x48100a(0x1c6)]({'channelId':_0x2683b5,'revisionId':_0x22472f['id']})[_0x48100a(0x12a)](_0x4f6827=>{const _0x6c4b56=_0x48100a;_0x22472f[_0x6c4b56(0xfd)]=_0x4f6827[_0x6c4b56(0xfd)];});}}[_0x330815(0x10a)](_0x2c89e8,_0x41c2a0,_0x1e9b5c){const _0x418207=_0x330815;if(this[_0x418207(0x18d)][_0x418207(0x137)](_0x2c89e8)){const _0x5a8a57=this[_0x418207(0x18d)][_0x418207(0x13b)](_0x2c89e8);_0x41c2a0=_0x1e9b5c?{..._0x5a8a57,..._0x41c2a0}:{..._0x41c2a0,..._0x5a8a57};}this[_0x418207(0x18d)][_0x418207(0x1ce)](_0x2c89e8,_0x41c2a0);}[_0x330815(0x1fb)](_0x299b01){const _0x25a07e=_0x330815,_0x28ca0c=this[_0x25a07e(0x104)][_0x25a07e(0x1e0)]();_0x28ca0c[_0x25a07e(0x17d)](),_0x28ca0c[_0x25a07e(0x157)]();const _0x196080=_0x28ca0c[_0x25a07e(0xfb)](_0x5e5a77=>_0x5e5a77[_0x25a07e(0x1bd)]<=_0x299b01)[_0x25a07e(0x1bd)];return _0x196080<this[_0x25a07e(0x114)]?this[_0x25a07e(0x114)]:_0x196080;}[_0x330815(0x1d7)](_0xfce963){const _0x269f89=_0x330815,_0x1fb4bc=this[_0x269f89(0x104)][_0x269f89(0x1c6)](this[_0x269f89(0x104)][_0x269f89(0x142)]-0x1);if(_0x1fb4bc)this[_0x269f89(0x15c)]=_0x1fb4bc['id'];else{const _0x3a6b10=!this[_0x269f89(0x1bf)][_0x269f89(0x1c5)][_0x269f89(0x18c)][_0x269f89(0xf9)][_0x269f89(0xfb)](_0x5987c1=>this[_0x269f89(0x1bf)][_0x269f89(0x1c5)][_0x269f89(0x1d1)](_0x5987c1)),_0x3e1c41=this[_0x269f89(0x1bf)][_0x269f89(0x131)][_0x269f89(0x13b)](_0x269f89(0x11c))['me']['id'],_0x25a319=_0x316d42(this[_0x269f89(0x1bf)][_0x269f89(0x1da)],_0x3a6b10?_0x269f89(0x1b2):_0x269f89(0x15b));this[_0x269f89(0xf4)]({'from':_0xfce963,'to':_0xfce963,'id':this[_0x269f89(0x15c)],'name':_0x25a319,'creatorId':_0x3e1c41});}}[_0x330815(0x16b)](_0x5b8e31){const _0x20f334=_0x330815,_0x3c2c63=this[_0x20f334(0x1a8)][_0x20f334(0xf3)]();this[_0x20f334(0x19a)]=this[_0x20f334(0x104)][_0x20f334(0x1c6)](_0x3c2c63),this[_0x20f334(0x19a)]||(this[_0x20f334(0x19a)]=this[_0x20f334(0xf4)]({'from':_0x5b8e31,'to':_0x5b8e31,'id':_0x3c2c63,'name':'','creatorId':null}));}[_0x330815(0xf4)]({name:_0x178790,from:_0x36bc8e,to:_0x40ed8a,creatorId:_0x27bb6b,id:_0x2c0127}){const _0x125d2a=_0x330815,_0x5eccd0=this[_0x125d2a(0x1c9)]({'from':_0x36bc8e,'to':_0x40ed8a});_0x5eccd0[_0x125d2a(0x151)]=_0x178790,_0x5eccd0[_0x125d2a(0x130)]=_0x27bb6b,_0x5eccd0['id']=_0x2c0127;const _0x17da7c=this[_0x125d2a(0x146)](_0x5eccd0);return this[_0x125d2a(0x181)]&&this[_0x125d2a(0x10a)](_0x5eccd0['id'],_0x5eccd0,!0x0),_0x17da7c;}[_0x330815(0x17b)](){const _0x25ea62=_0x330815;this[_0x25ea62(0x1bf)][_0x25ea62(0xea)][_0x25ea62(0x11a)](_0x25ea62(0x134))[_0x25ea62(0x120)]({'model':_0x25ea62(0x1d8)});}[_0x330815(0x206)](_0x9e9b30){const _0x5e14fe=_0x330815;return(_0x9e9b30=_0x9e9b30[_0x5e14fe(0x128)](_0x277e13=>!_0x277e13[_0x5e14fe(0x151)]||_0x5e14fe(0x17c)!==_0x277e13[_0x5e14fe(0x151)]&&_0x5e14fe(0x1c4)!==_0x277e13[_0x5e14fe(0x151)]))[_0x5e14fe(0x10e)](_0x5871f9=>{const _0x3d09ff=_0x5e14fe;_0x3d09ff(0x1c2)!=typeof _0x5871f9&&(_0x5871f9[_0x3d09ff(0xfa)]=this[_0x3d09ff(0x206)](_0x5871f9[_0x3d09ff(0xfa)]),_0x5871f9[_0x3d09ff(0xe3)]=_0x5871f9[_0x3d09ff(0xe3)][_0x3d09ff(0x128)](_0x1f7106=>!_0x1f7106[0x0][_0x3d09ff(0x121)](_0x3d09ff(0x123))));}),_0x9e9b30;}}function B(_0x10ac41,_0xe3daed){const _0xd8680e=_0x330815,_0x3662f7=_0xe3daed[_0xd8680e(0x1d3)][_0xd8680e(0x1a6)][_0xd8680e(0x18c)];if(_0xd8680e(0x1c2)==typeof _0x10ac41)return new _0x213139(_0x3662f7,_0x10ac41);{const _0x6d578f=_0x10ac41[_0xd8680e(0xfa)][_0xd8680e(0xe9)](_0x102561=>B(_0x102561,_0xe3daed));return new(T[_0x10ac41[(_0xd8680e(0x1f9))]]||_0x182e1d)(_0x3662f7,_0x10ac41[_0xd8680e(0x151)],_0x10ac41[_0xd8680e(0xe3)],_0x6d578f);}}class J{constructor(_0x1a2a27){const _0x35d46f=_0x330815;this[_0x35d46f(0x1bf)]=_0x1a2a27,this[_0x35d46f(0x1d9)]=new Map(),this[_0x35d46f(0x1de)]=-0x1,this[_0x35d46f(0x125)]=-0x1,this[_0x35d46f(0x1f6)]=new Map(),this[_0x35d46f(0x11e)]=new Map(),this[_0x35d46f(0x168)]=new Map(),this[_0x35d46f(0x1a9)]=new Map(),this[_0x35d46f(0x17f)]=new Map(),this[_0x35d46f(0x14d)]=new Map(),this[_0x35d46f(0x1f7)]=new Map(),this[_0x35d46f(0x1d5)]=new Map(),this[_0x35d46f(0x1ef)]=new Map(),this[_0x35d46f(0x1db)]=new Map(),this[_0x35d46f(0x113)]=0x1;}[_0x330815(0x192)](_0x3ea7dd){const _0x2b0f70=_0x330815;this[_0x2b0f70(0x148)]=_0x3ea7dd;const _0x46ea22=new Map(),_0x29ef37=new Map(),_0x7ffc76=this[_0x2b0f70(0x1bf)][_0x2b0f70(0x1c5)][_0x2b0f70(0x18c)][_0x2b0f70(0xf9)][_0x2b0f70(0xe9)](_0x4ea7c7=>_0x4ea7c7[_0x2b0f70(0x18b)]);for(const _0xdbc60b of _0x7ffc76){const _0x1068d6=this[_0x2b0f70(0x1bf)][_0x2b0f70(0x1c5)][_0x2b0f70(0x18c)][_0x2b0f70(0xf5)](_0xdbc60b),_0x4bd315=q(_0x1068d6);_0x46ea22[_0x2b0f70(0x1ce)](_0xdbc60b,_0x4bd315),_0x29ef37[_0x2b0f70(0x1ce)](_0xdbc60b,Object[_0x2b0f70(0x10b)](_0x1068d6[_0x2b0f70(0x1ec)]()));}const _0x2c4f26=Array[_0x2b0f70(0x1f2)](this[_0x2b0f70(0x1bf)][_0x2b0f70(0x1c5)][_0x2b0f70(0x161)])[_0x2b0f70(0xe9)](_0x171ae0=>[_0x171ae0[_0x2b0f70(0x151)],_0x171ae0[_0x2b0f70(0x112)]()]),_0x2d2574=this[_0x2b0f70(0x148)][_0x2b0f70(0x16f)];this[_0x2b0f70(0x177)](_0x2d2574,_0x46ea22,_0x2c4f26,_0x29ef37),this[_0x2b0f70(0x1a2)]=this[_0x2b0f70(0x113)];const _0x12bd25=new Map(),_0x3fd135=new Map();for(const _0x360c0a of _0x7ffc76){const _0x107a21=G(_0x360c0a);_0x12bd25[_0x2b0f70(0x1ce)](_0x360c0a,_0x107a21),_0x3fd135[_0x2b0f70(0x1ce)](_0x360c0a,{});}this[_0x2b0f70(0x177)](Number[_0x2b0f70(0x139)],_0x12bd25,[],_0x3fd135);}[_0x330815(0x160)](_0x92f18f,_0x3e14c7){const _0x33dc69=_0x330815;if(this[_0x33dc69(0x1de)]===_0x92f18f&&this[_0x33dc69(0x125)]<=_0x3e14c7)this[_0x33dc69(0x1d9)][_0x33dc69(0x1e5)]>0x1&&this[_0x33dc69(0x18f)](this[_0x33dc69(0x125)]),this[_0x33dc69(0x141)](this[_0x33dc69(0x125)],_0x3e14c7,!0x0);else{if(!this[_0x33dc69(0x1d9)][_0x33dc69(0x137)](_0x92f18f)){const _0xdf0ada=this[_0x33dc69(0x1ab)](_0x92f18f);this[_0x33dc69(0x200)](_0xdf0ada,_0x92f18f,!0x1);}this[_0x33dc69(0x200)](_0x92f18f,_0x3e14c7,!0x0);}return this[_0x33dc69(0x1de)]=_0x92f18f,this[_0x33dc69(0x125)]=_0x3e14c7,this[_0x33dc69(0x12f)]();}[_0x330815(0x183)](_0x8c6d9f){const _0x19544c=_0x330815;this[_0x19544c(0x145)](),this[_0x19544c(0x1de)]=_0x8c6d9f[_0x19544c(0x1fe)],this[_0x19544c(0x125)]=_0x8c6d9f[_0x19544c(0x1bd)];for(const _0x4b7280 in _0x8c6d9f[_0x19544c(0xfd)]){const _0x19e26b=_0x8c6d9f[_0x19544c(0xfd)][_0x4b7280][_0x19544c(0x209)],_0x535ed9=_0x2763f7(_0x8c6d9f[_0x19544c(0xfd)][_0x4b7280][_0x19544c(0x1ad)])||{},_0x354b03=this[_0x19544c(0x1bc)](_0x8c6d9f[_0x19544c(0xfd)][_0x4b7280][_0x19544c(0x1e2)]);_0x354b03[_0x19544c(0x18b)]=_0x4b7280,_0x354b03[_0x19544c(0x201)]=!_0x19e26b||!_0x19e26b[_0x19544c(0xfc)],_0x354b03[_0x19544c(0xfc)]=()=>_0x354b03[_0x19544c(0x201)],this[_0x19544c(0x1a9)][_0x19544c(0x1ce)](_0x4b7280,_0x354b03),this[_0x19544c(0x17f)][_0x19544c(0x1ce)](_0x4b7280,_0x535ed9),_0x19e26b&&this[_0x19544c(0x1db)][_0x19544c(0x1ce)](_0x4b7280,_0x19e26b);const _0x34e64b=this[_0x19544c(0xf7)](_0x354b03);this[_0x19544c(0x1f7)][_0x19544c(0x1ce)](_0x4b7280,_0x34e64b);for(const [_0x5c765,_0x29a3ef]of _0x354b03[_0x19544c(0x161)]){if(!_0x5c765[_0x19544c(0x121)](_0x19544c(0x1aa)))continue;const _0x138629=_0x5c765[_0x19544c(0x1ea)](':')[0x2];for(const _0x48883f of _0x29a3ef[_0x19544c(0xe5)]({'singleCharacters':!0x0})){const _0x33664c=this[_0x19544c(0x172)](_0x48883f),_0x254563=_0x19544c(0xfe)==_0x48883f[_0x19544c(0x1f9)]?_0x48883f[_0x19544c(0x194)][_0x19544c(0x185)][_0x19544c(0x1b1)](0x0,-0x1):_0x48883f[_0x19544c(0x194)][_0x19544c(0x185)],_0x2bc433=_0x34e64b[_0x19544c(0xe2)](_0x254563)[_0x19544c(0x19d)](_0x33664c);this[_0x19544c(0x1d5)][_0x19544c(0x1ce)](_0x2bc433,{'userId':_0x138629});}}}this[_0x19544c(0x1a2)]=this[_0x19544c(0x113)];const _0x320f76=[...Array(this[_0x19544c(0x113)])[_0x19544c(0x10d)]()][_0x19544c(0x1b1)](0x1)[_0x19544c(0x128)](_0x26fd66=>!this[_0x19544c(0x1d5)][_0x19544c(0x137)](_0x26fd66));let _0x2be325=0x0;const _0x592886=new Map();for(const _0x2756eb in _0x8c6d9f[_0x19544c(0xfd)]){const _0x21d1b9=_0x8c6d9f[_0x19544c(0xfd)][_0x2756eb][_0x19544c(0x209)],_0x198d20=_0x2763f7(_0x8c6d9f[_0x19544c(0xfd)][_0x2756eb][_0x19544c(0x1d2)])||{},_0xa94207=this[_0x19544c(0x1bc)](_0x8c6d9f[_0x19544c(0xfd)][_0x2756eb][_0x19544c(0x1f0)]);_0xa94207[_0x19544c(0x18b)]=_0x2756eb,_0xa94207[_0x19544c(0x201)]=!_0x21d1b9||_0x21d1b9[_0x19544c(0xfc)],_0xa94207[_0x19544c(0xfc)]=()=>_0xa94207[_0x19544c(0x201)],this[_0x19544c(0x11e)][_0x19544c(0x1ce)](_0x2756eb,_0xa94207),this[_0x19544c(0x168)][_0x19544c(0x1ce)](_0x2756eb,_0x198d20);const _0x58fef4=this[_0x19544c(0xf7)](_0xa94207,Number[_0x19544c(0x139)]);this[_0x19544c(0x14d)][_0x19544c(0x1ce)](_0x2756eb,_0x58fef4),_0x592886[_0x19544c(0x1ce)](_0x2756eb,_0xa94207[_0x19544c(0xfc)]()?_0x198d20:{});for(const [_0x578712,_0xc32aed]of _0xa94207[_0x19544c(0x161)]){if(!_0x578712[_0x19544c(0x121)](_0x19544c(0x1aa)))continue;const _0x5791ae=_0x578712[_0x19544c(0x1ea)](':')[0x2];for(const _0xb823b8 of _0xc32aed[_0x19544c(0xe5)]({'singleCharacters':!0x0})){const _0x1f71fb=this[_0x19544c(0x172)](_0xb823b8),_0xb04764=this[_0x19544c(0x113)]++,_0x3a02aa=_0x19544c(0xfe)==_0xb823b8[_0x19544c(0x1f9)]?_0xb823b8[_0x19544c(0x194)][_0x19544c(0x185)][_0x19544c(0x1b1)](0x0,-0x1):_0xb823b8[_0x19544c(0x194)][_0x19544c(0x185)];_0x58fef4[_0x19544c(0xe2)](_0x3a02aa)[_0x19544c(0x1e9)](_0x1f71fb,_0xb04764),this[_0x19544c(0x1d5)][_0x19544c(0x1ce)](_0xb04764,{'userId':_0x5791ae});}}for(const _0x3e4d15 of this[_0x19544c(0x1bf)][_0x19544c(0x1c5)][_0x19544c(0x1c7)](_0xa94207)[_0x19544c(0xe5)]({'singleCharacters':!0x0})){const _0xe279db=this[_0x19544c(0x172)](_0x3e4d15),_0x242477=_0x19544c(0xfe)==_0x3e4d15[_0x19544c(0x1f9)]?_0x3e4d15[_0x19544c(0x194)][_0x19544c(0x185)][_0x19544c(0x1b1)](0x0,-0x1):_0x3e4d15[_0x19544c(0x194)][_0x19544c(0x185)],_0x2b7190=_0x58fef4[_0x19544c(0xe2)](_0x242477);_0x2b7190[_0x19544c(0x19d)](_0xe279db)>0x0||_0x2b7190[_0x19544c(0x1e9)](_0xe279db,_0x320f76[_0x2be325++]);}for(const [_0x354265,_0x4bda5d]of _0xa94207[_0x19544c(0x161)])_0x354265[_0x19544c(0x121)](_0x19544c(0x1aa))||this[_0x19544c(0x1f6)][_0x19544c(0x1ce)](_0x354265,_0x4bda5d);}const _0x4ca4ab=G(_0x19544c(0x12d));this[_0x19544c(0x1a9)][_0x19544c(0x1ce)](_0x19544c(0x12d),_0x4ca4ab),this[_0x19544c(0x1f7)][_0x19544c(0x1ce)](_0x19544c(0x12d),this[_0x19544c(0xf7)](_0x4ca4ab,0x1));const _0x3496a3=G(_0x19544c(0x12d));this[_0x19544c(0x11e)][_0x19544c(0x1ce)](_0x19544c(0x12d),_0x3496a3),this[_0x19544c(0x14d)][_0x19544c(0x1ce)](_0x19544c(0x12d),this[_0x19544c(0xf7)](_0x3496a3,0x1));const _0x5f394c=Array[_0x19544c(0x1f2)](this[_0x19544c(0x11e)])[_0x19544c(0xe9)](([_0x51173d,_0xbdedda])=>[_0x51173d,q(_0xbdedda)]);this[_0x19544c(0x177)](this[_0x19544c(0x125)],_0x5f394c,this[_0x19544c(0x1f6)],_0x592886);}[_0x330815(0x1bc)](_0x59b23a){const _0x4a82f8=_0x330815,_0x48e452=JSON[_0x4a82f8(0x1df)](_0x59b23a),_0x4e1501=this[_0x4a82f8(0x1bf)][_0x4a82f8(0x1d3)][_0x4a82f8(0x1a6)][_0x4a82f8(0x18c)],_0x2bd490=new _0x242f41(_0x4e1501,_0x48e452[_0x4a82f8(0xe9)](_0x39d63c=>B(_0x39d63c,this[_0x4a82f8(0x1bf)])));return this[_0x4a82f8(0x1bf)][_0x4a82f8(0x14a)][_0x4a82f8(0x1d4)](_0x2bd490);}[_0x330815(0x177)](_0x12f953,_0x348d4f,_0x90ef43,_0x2c7971){const _0x3badc2=_0x330815,_0x872789=new Map(_0x348d4f),_0x298418=new Map(_0x2763f7(_0x2c7971)),_0x334c74=new Map();for(const [_0x1823d1,_0x31e662]of _0x90ef43)_0x334c74[_0x3badc2(0x1ce)](_0x1823d1,{'start':_0x31e662[_0x3badc2(0x156)][_0x3badc2(0xf0)](),'end':_0x31e662[_0x3badc2(0x1e3)][_0x3badc2(0xf0)](),'rootName':_0x31e662[_0x3badc2(0x15a)][_0x3badc2(0x18b)]});this[_0x3badc2(0x1d9)][_0x3badc2(0x1ce)](_0x12f953,{'roots':_0x872789,'markers':_0x334c74,'rootsAttributes':_0x298418});}[_0x330815(0x18f)](_0x58834b){const _0x1a382a=_0x330815;this[_0x1a382a(0x1d9)][_0x1a382a(0x158)](_0x58834b);}[_0x330815(0x182)](){const _0x2cac58=_0x330815;this[_0x2cac58(0x145)](),this[_0x2cac58(0x1de)]=-0x1,this[_0x2cac58(0x125)]=-0x1,this[_0x2cac58(0x1d9)][_0x2cac58(0x1be)](),this[_0x2cac58(0x192)](this[_0x2cac58(0x148)]);}[_0x330815(0x145)](){const _0x1c2076=_0x330815;this[_0x1c2076(0x1d5)][_0x1c2076(0x1be)](),this[_0x1c2076(0x1ef)][_0x1c2076(0x1be)](),this[_0x1c2076(0x1db)][_0x1c2076(0x1be)](),this[_0x1c2076(0x11e)][_0x1c2076(0x1be)](),this[_0x1c2076(0x168)][_0x1c2076(0x1be)](),this[_0x1c2076(0x1a9)][_0x1c2076(0x1be)](),this[_0x1c2076(0x17f)][_0x1c2076(0x1be)](),this[_0x1c2076(0x14d)][_0x1c2076(0x1be)](),this[_0x1c2076(0x1f7)][_0x1c2076(0x1be)](),this[_0x1c2076(0x1f6)][_0x1c2076(0x1be)](),this[_0x1c2076(0x113)]=0x1,this[_0x1c2076(0x1a2)]=this[_0x1c2076(0x113)];}[_0x330815(0xf7)](_0x1a0108,_0x3a12c4=null){const _0x4acbb9=_0x330815;let _0x28a349=null;_0x1a0108['is'](_0x4acbb9(0x19e))||(_0x28a349=new _0x370d02(_0x1a0108[_0x4acbb9(0x151)],{'vid_start':null===_0x3a12c4?this[_0x4acbb9(0x113)]++:_0x3a12c4++}));const _0x2f0477=[];for(const _0x57ea61 of _0x1a0108[_0x4acbb9(0x143)]())if(_0x57ea61['is'](_0x4acbb9(0x184))){_0x2f0477[_0x4acbb9(0x1ee)](this[_0x4acbb9(0xf7)](_0x57ea61,_0x3a12c4));const _0x3b0e6c=_0x2f0477[_0x2f0477[_0x4acbb9(0x142)]-0x1];null!==_0x3a12c4&&(_0x3a12c4=_0x3b0e6c['is'](_0x4acbb9(0x184),_0x4acbb9(0x198))?_0x3b0e6c[_0x4acbb9(0x19d)](_0x4acbb9(0x15e))+0x1:_0x3b0e6c[_0x4acbb9(0x19d)](_0x4acbb9(0x1cc))+0x1);}else{for(let _0x1f6984=0x0;_0x1f6984<_0x57ea61[_0x4acbb9(0x1c8)];_0x1f6984++)_0x2f0477[_0x4acbb9(0x1ee)](new _0x370d02(_0x4acbb9(0x198),{'vid':null===_0x3a12c4?this[_0x4acbb9(0x113)]++:_0x3a12c4++}));}if(_0x1a0108['is'](_0x4acbb9(0x19e))){const _0x4b93e8=G(_0x1a0108[_0x4acbb9(0x18b)]);return _0x4b93e8[_0x4acbb9(0x164)](0x0,_0x2f0477),_0x4b93e8;}return _0x28a349[_0x4acbb9(0x1e9)](_0x4acbb9(0x1cc),null===_0x3a12c4?this[_0x4acbb9(0x113)]++:_0x3a12c4++),_0x28a349[_0x4acbb9(0x164)](0x0,_0x2f0477),_0x28a349;}[_0x330815(0x200)](_0x5d7804,_0x143c76,_0x56e671){const _0x5604cd=_0x330815;this[_0x5604cd(0x145)]();const {roots:_0x5b1a20,markers:_0x7de00d,rootsAttributes:_0x5e8266}=this[_0x5604cd(0x1d9)][_0x5604cd(0x13b)](_0x5d7804);this[_0x5604cd(0x1a9)]=new Map(_0x5b1a20),this[_0x5604cd(0x17f)]=new Map(_0x2763f7(_0x5e8266));for(const [_0x557810,_0x2fd12f]of this[_0x5604cd(0x1a9)])if(_0x5604cd(0x12d)!==_0x557810&&(this[_0x5604cd(0x11e)][_0x5604cd(0x1ce)](_0x557810,q(_0x2fd12f)),this[_0x5604cd(0x168)]=new Map(_0x2763f7(_0x5e8266)),_0x56e671)){const _0x4ad2b3=this[_0x5604cd(0x113)];this[_0x5604cd(0x14d)][_0x5604cd(0x1ce)](_0x557810,this[_0x5604cd(0xf7)](_0x2fd12f)),this[_0x5604cd(0x1f7)][_0x5604cd(0x1ce)](_0x557810,this[_0x5604cd(0xf7)](_0x2fd12f,_0x4ad2b3));}this[_0x5604cd(0x1a2)]=this[_0x5604cd(0x113)],this[_0x5604cd(0x11e)][_0x5604cd(0x1ce)](_0x5604cd(0x12d),q(this[_0x5604cd(0x1a9)][_0x5604cd(0x13b)](_0x5604cd(0x12d)))),_0x56e671&&this[_0x5604cd(0x14d)][_0x5604cd(0x1ce)](_0x5604cd(0x12d),this[_0x5604cd(0xf7)](this[_0x5604cd(0x1a9)][_0x5604cd(0x13b)](_0x5604cd(0x12d))));for(const [_0x4fdb75,_0x5b539c]of _0x7de00d){const _0x370443=this[_0x5604cd(0x1a9)][_0x5604cd(0x13b)](_0x5b539c[_0x5604cd(0x18b)]),_0x306b04=this[_0x5604cd(0x11e)][_0x5604cd(0x13b)](_0x5b539c[_0x5604cd(0x18b)]),_0xd451e6=new _0x4bdd1f(this[_0x5604cd(0x167)](_0x5b539c[_0x5604cd(0x156)],_0x370443),this[_0x5604cd(0x167)](_0x5b539c[_0x5604cd(0x1e3)],_0x370443)),_0x440d3a=this[_0x5604cd(0x13d)](_0xd451e6,_0x306b04);_0x370443[_0x5604cd(0x161)][_0x5604cd(0x1ce)](_0x4fdb75,_0xd451e6),this[_0x5604cd(0x1f6)][_0x5604cd(0x1ce)](_0x4fdb75,_0x440d3a);}this[_0x5604cd(0x141)](_0x5d7804,_0x143c76,_0x56e671);}[_0x330815(0x141)](_0xd4eb36,_0x1b34ee,_0x458b1b){const _0xdcaa9f=_0x330815;for(const _0x3437cf of this[_0xdcaa9f(0x148)][_0xdcaa9f(0x1eb)](_0xd4eb36,_0x1b34ee))this[_0xdcaa9f(0x136)](_0x3437cf,_0x458b1b);for(const _0x31bec9 of this[_0xdcaa9f(0x11e)][_0xdcaa9f(0x189)]())_0x31bec9[_0xdcaa9f(0x161)][_0xdcaa9f(0x1be)]();for(const [_0x491bb0,_0x247ff0]of this[_0xdcaa9f(0x1f6)]){this[_0xdcaa9f(0x11e)][_0xdcaa9f(0x13b)](_0x247ff0[_0xdcaa9f(0x15a)][_0xdcaa9f(0x18b)])[_0xdcaa9f(0x161)][_0xdcaa9f(0x1ce)](_0x491bb0,_0x247ff0[_0xdcaa9f(0xf0)]());}const _0x3421c4=new Map(),_0x55127a=new Map();for(const [_0xf162a7,_0x1cffe9]of this[_0xdcaa9f(0x11e)])_0x3421c4[_0xdcaa9f(0x1ce)](_0xf162a7,q(_0x1cffe9)),_0x55127a[_0xdcaa9f(0x1ce)](_0xf162a7,this[_0xdcaa9f(0x168)][_0xdcaa9f(0x13b)](_0xf162a7));this[_0xdcaa9f(0x177)](_0x1b34ee,_0x3421c4,this[_0xdcaa9f(0x1f6)],_0x55127a);}[_0x330815(0x1ab)](_0x1baaed){const _0x501062=_0x330815,_0x7143cb=Array[_0x501062(0x1f2)](this[_0x501062(0x1d9)][_0x501062(0x10d)]());_0x7143cb[_0x501062(0x163)]((_0x1400d4,_0x1c17a6)=>_0x1400d4-_0x1c17a6),_0x7143cb[_0x501062(0x17d)]();for(const _0x14b81c of _0x7143cb)if(_0x14b81c<_0x1baaed)return _0x14b81c;return Number[_0x501062(0x139)];}[_0x330815(0x1cb)](_0x333f31,_0x444608){const _0x403c47=_0x330815,_0x9a98e1=Array[_0x403c47(0x1f2)](_0x444608[_0x403c47(0x161)])[_0x403c47(0xe9)](([_0x562b0c,_0x21b9be])=>[_0x562b0c,this[_0x403c47(0x13d)](_0x21b9be,_0x333f31)]);_0x333f31[_0x403c47(0x161)]=new Map(_0x9a98e1);}[_0x330815(0x190)](_0x444506){const _0x5893de=_0x330815;for(const _0x3da127 of this[_0x5893de(0x1f6)][_0x5893de(0x189)]()){const _0x811d=_0x3da127[_0x5893de(0x188)](_0x444506),_0x495b74=_0x4bdd1f[_0x5893de(0x193)](_0x811d);_0x3da127[_0x5893de(0x156)]=_0x495b74[_0x5893de(0x156)],_0x3da127[_0x5893de(0x1e3)]=_0x495b74[_0x5893de(0x1e3)];}}[_0x330815(0x136)](_0x3e1dec,_0x35554c){const _0x4c4dda=_0x330815;if(_0x4c4dda(0xf6)==_0x3e1dec[_0x4c4dda(0x1f9)]||_0x4c4dda(0x152)==_0x3e1dec[_0x4c4dda(0x1f9)])return void this[_0x4c4dda(0x14e)](_0x3e1dec,_0x35554c);if(_0x4c4dda(0x1af)==_0x3e1dec[_0x4c4dda(0x1f9)]){const _0xdb029f=_0x3e1dec[_0x4c4dda(0x1ae)][_0x4c4dda(0x15a)][_0x4c4dda(0x18b)];this[_0x4c4dda(0x11e)][_0x4c4dda(0x137)](_0xdb029f)||(this[_0x4c4dda(0x11e)][_0x4c4dda(0x1ce)](_0xdb029f,G(_0xdb029f,!0x0)),this[_0x4c4dda(0x168)][_0x4c4dda(0x1ce)](_0xdb029f,{}),_0x35554c&&this[_0x4c4dda(0x14d)][_0x4c4dda(0x1ce)](_0xdb029f,G(_0xdb029f,!0x0)));}else{if(_0x4c4dda(0x16e)==_0x3e1dec[_0x4c4dda(0x1f9)]||_0x4c4dda(0x208)==_0x3e1dec[_0x4c4dda(0x1f9)]||_0x4c4dda(0x159)==_0x3e1dec[_0x4c4dda(0x1f9)])return void this[_0x4c4dda(0x1ed)](_0x3e1dec);}const _0x45aeed=this[_0x4c4dda(0x1cd)](_0x3e1dec,this[_0x4c4dda(0x11e)]);if(_0x4c4dda(0x1b8)!==_0x3e1dec[_0x4c4dda(0x1f9)]&&(_0x45aeed[_0x4c4dda(0x1b3)](),this[_0x4c4dda(0x190)](_0x45aeed)),_0x35554c)switch(_0x45aeed[_0x4c4dda(0x1f9)]){case _0x4c4dda(0x1af):this[_0x4c4dda(0x15d)](_0x3e1dec);break;case _0x4c4dda(0x13c):case _0x4c4dda(0x13a):case _0x4c4dda(0x1ba):this[_0x4c4dda(0x111)](_0x3e1dec);break;case _0x4c4dda(0x115):this[_0x4c4dda(0x180)](_0x3e1dec);break;case _0x4c4dda(0x1ea):this[_0x4c4dda(0x1a5)](_0x3e1dec);break;case _0x4c4dda(0x1b8):this[_0x4c4dda(0x100)](_0x3e1dec);}}[_0x330815(0x1cd)](_0x44bab6,_0x3a82c1){const _0x11dcf9=_0x330815,_0x3ce985=_0x44bab6[_0x11dcf9(0xf0)]();return _0x3ce985[_0x11dcf9(0xf1)]=_0x44bab6[_0x11dcf9(0xf1)],this[_0x11dcf9(0x14c)](_0x3ce985,_0x3a82c1),_0x3ce985;}[_0x330815(0x15f)](_0x3759f2){const _0x4f4ea1=_0x330815;return _0x3759f2[_0x4f4ea1(0xe9)](_0x4cc9d2=>{const _0x3f4da4=_0x4f4ea1,_0x15953c=this[_0x3f4da4(0x172)](_0x4cc9d2);return Number(_0x4cc9d2[_0x3f4da4(0x18a)][_0x3f4da4(0x19d)](_0x15953c));});}[_0x330815(0x204)](_0x2c8b42,_0x29c368){const _0x4b3aaf=_0x330815;if(_0x2c8b42['is'](_0x4b3aaf(0x184),_0x4b3aaf(0x198)))_0x29c368[_0x4b3aaf(0x1ee)]({'item':_0x2c8b42,'type':_0x4b3aaf(0x202)});else{_0x2c8b42['is'](_0x4b3aaf(0x184))&&_0x29c368[_0x4b3aaf(0x1ee)]({'item':_0x2c8b42,'type':_0x4b3aaf(0x1d0)});for(const _0xf07c17 of _0x2c8b42[_0x4b3aaf(0x143)]())this[_0x4b3aaf(0x204)](_0xf07c17,_0x29c368);_0x2c8b42['is'](_0x4b3aaf(0x184))&&_0x29c368[_0x4b3aaf(0x1ee)]({'item':_0x2c8b42,'type':_0x4b3aaf(0xfe)});}return _0x29c368;}[_0x330815(0x12f)](){const _0x5c98f0=_0x330815,_0x150315=new Map(this[_0x5c98f0(0x1d5)]),_0x252d5e=new Map(_0x150315),_0x98fe7b=new Map(),_0x33a5e8={'insertions':{},'deletions':{}},_0x250a35={'insertions':{},'deletions':{}},_0x59f129=new Map(),_0x16d8d5=new Set([...this[_0x5c98f0(0x1a9)][_0x5c98f0(0x10d)](),...this[_0x5c98f0(0x11e)][_0x5c98f0(0x10d)]()]);_0x16d8d5[_0x5c98f0(0x158)](_0x5c98f0(0x12d));for(const _0x5c5d81 of _0x16d8d5){const _0x26f8d1=this[_0x5c98f0(0x11e)][_0x5c98f0(0x13b)](_0x5c5d81)||G(_0x5c5d81,!0x1),_0x428a42=this[_0x5c98f0(0x1a9)][_0x5c98f0(0x13b)](_0x5c5d81)||G(_0x5c5d81,!0x1);_0x26f8d1[_0x5c98f0(0xfc)]()||_0x428a42[_0x5c98f0(0xfc)]()?(_0x33a5e8[_0x5c98f0(0x1f0)][_0x5c5d81]=q(_0x26f8d1),_0x33a5e8[_0x5c98f0(0x1e2)][_0x5c5d81]=q(_0x428a42),this[_0x5c98f0(0x1cb)](_0x33a5e8[_0x5c98f0(0x1e2)][_0x5c5d81],_0x428a42),this[_0x5c98f0(0x1cb)](_0x33a5e8[_0x5c98f0(0x1f0)][_0x5c5d81],_0x26f8d1),_0x250a35[_0x5c98f0(0x1f0)][_0x5c5d81]=this[_0x5c98f0(0x204)](this[_0x5c98f0(0x14d)][_0x5c98f0(0x13b)](_0x5c5d81),[]),_0x250a35[_0x5c98f0(0x1e2)][_0x5c5d81]=this[_0x5c98f0(0x204)](this[_0x5c98f0(0x1f7)][_0x5c98f0(0x13b)](_0x5c5d81)||G(_0x5c5d81,!0x1),[])):_0x16d8d5[_0x5c98f0(0x158)](_0x5c5d81);}for(const _0x2e8628 of _0x16d8d5){const _0x190914=_0x250a35[_0x5c98f0(0x1f0)][_0x2e8628];for(const _0x15fcaa of _0x190914){const _0x236e76=this[_0x5c98f0(0x172)](_0x15fcaa),_0x2793f0=_0x15fcaa[_0x5c98f0(0x18a)][_0x5c98f0(0x19d)](_0x236e76);_0x252d5e[_0x5c98f0(0x158)](_0x2793f0),_0x2793f0>=this[_0x5c98f0(0x1a2)]&&_0x98fe7b[_0x5c98f0(0x1ce)](_0x2793f0,_0x150315[_0x5c98f0(0x13b)](_0x2793f0));}}for(const _0x564353 of _0x16d8d5){const _0x11ad5e=_0x250a35[_0x5c98f0(0x1f0)][_0x564353],_0x517923=this[_0x5c98f0(0x15f)](_0x250a35[_0x5c98f0(0x1e2)][_0x564353]);let _0x18fff0=0x0;for(const _0x2fc773 of _0x11ad5e){const _0x28ff96=this[_0x5c98f0(0x172)](_0x2fc773),_0x2c1b3e=_0x2fc773[_0x5c98f0(0x18a)][_0x5c98f0(0x19d)](_0x28ff96);if(!_0x98fe7b[_0x5c98f0(0x137)](_0x2c1b3e)&&!_0x59f129[_0x5c98f0(0x137)](_0x2c1b3e)){if(_0x252d5e[_0x5c98f0(0x137)](_0x2c1b3e))_0x18fff0++;else{if(_0x2c1b3e!=_0x517923[_0x18fff0]){const _0x5cedc7=_0x150315[_0x5c98f0(0x13b)](_0x2c1b3e)||_0x150315[_0x5c98f0(0x13b)](_0x517923[_0x18fff0]);for(;_0x2c1b3e!=_0x517923[_0x18fff0];)_0x252d5e[_0x5c98f0(0x137)](_0x517923[_0x18fff0])||(_0x59f129[_0x5c98f0(0x1ce)](_0x517923[_0x18fff0],_0x5cedc7),_0x150315[_0x5c98f0(0x1ce)](_0x517923[_0x18fff0],_0x5cedc7)),_0x18fff0++;}_0x18fff0++;}}}}for(const _0x505395 of _0x16d8d5){const _0x1fdc7c=_0x250a35[_0x5c98f0(0x1f0)][_0x505395];for(const _0x30e155 of _0x1fdc7c){const _0x557ca0=this[_0x5c98f0(0x172)](_0x30e155),_0x1c539d=_0x30e155[_0x5c98f0(0x18a)][_0x5c98f0(0x19d)](_0x557ca0);if(_0x59f129[_0x5c98f0(0x137)](_0x1c539d)){const _0x557485=_0x59f129[_0x5c98f0(0x13b)](_0x1c539d);_0x252d5e[_0x5c98f0(0x137)](_0x1c539d)||_0x252d5e[_0x5c98f0(0x1ce)](_0x1c539d,{..._0x557485}),_0x98fe7b[_0x5c98f0(0x1ce)](_0x1c539d,{..._0x557485});}}}for(const _0x5d82d2 of _0x252d5e[_0x5c98f0(0x10d)]())_0x5d82d2>=this[_0x5c98f0(0x1a2)]&&_0x252d5e[_0x5c98f0(0x158)](_0x5d82d2);const _0x4a2782=new Map();for(const _0x1e4687 of _0x16d8d5){let _0x29fedd=_0x250a35[_0x5c98f0(0x1f0)][_0x1e4687];for(const _0x47e6de of _0x29fedd)if(_0x47e6de[_0x5c98f0(0x18a)]['is'](_0x5c98f0(0x184),_0x5c98f0(0x118))){const _0x379d9b=this[_0x5c98f0(0x172)](_0x47e6de),_0x4d3197=_0x47e6de[_0x5c98f0(0x18a)][_0x5c98f0(0x19d)](_0x379d9b);if(_0x98fe7b[_0x5c98f0(0x137)](_0x4d3197)){const _0x203378=_0x47e6de[_0x5c98f0(0x18a)][_0x5c98f0(0x1f3)][_0x5c98f0(0x1f3)][_0x5c98f0(0x19d)](_0x5c98f0(0x103)),_0x288750=_0x4a2782[_0x5c98f0(0x13b)](_0x203378)||new Set();_0x288750[_0x5c98f0(0x135)](_0x98fe7b[_0x5c98f0(0x13b)](_0x4d3197)[_0x5c98f0(0x1ff)]),_0x4a2782[_0x5c98f0(0x1ce)](_0x203378,_0x288750);}}_0x29fedd=_0x250a35[_0x5c98f0(0x1e2)][_0x1e4687];for(const _0x153a65 of _0x29fedd)if(_0x153a65[_0x5c98f0(0x18a)]['is'](_0x5c98f0(0x184),_0x5c98f0(0x118))){const _0x499f18=this[_0x5c98f0(0x172)](_0x153a65),_0x53c823=_0x153a65[_0x5c98f0(0x18a)][_0x5c98f0(0x19d)](_0x499f18);if(_0x252d5e[_0x5c98f0(0x137)](_0x53c823)){const _0x1f56b1=_0x153a65[_0x5c98f0(0x18a)][_0x5c98f0(0x1f3)][_0x5c98f0(0x1f3)][_0x5c98f0(0x19d)](_0x5c98f0(0x103)),_0x5035db=_0x4a2782[_0x5c98f0(0x13b)](_0x1f56b1)||new Set();_0x5035db[_0x5c98f0(0x135)](_0x252d5e[_0x5c98f0(0x13b)](_0x53c823)[_0x5c98f0(0x1ff)]),_0x4a2782[_0x5c98f0(0x1ce)](_0x1f56b1,_0x5035db);}}for(const _0x117a0 of _0x4a2782[_0x5c98f0(0x10d)]())(_0x98fe7b[_0x5c98f0(0x137)](_0x117a0)||_0x252d5e[_0x5c98f0(0x137)](_0x117a0))&&_0x4a2782[_0x5c98f0(0x158)](_0x117a0);}for(const _0x7154ed of _0x16d8d5){const _0x5504ac=_0x250a35[_0x5c98f0(0x1f0)][_0x7154ed];let _0x2510a0=null,_0x51f13a=null;for(const _0x2d3c4d of _0x5504ac){const _0x5fe26=this[_0x5c98f0(0x172)](_0x2d3c4d),_0x135698=_0x2d3c4d[_0x5c98f0(0x18a)][_0x5c98f0(0x19d)](_0x5fe26),_0x272ece=_0x4a2782[_0x5c98f0(0x13b)](_0x135698);_0x272ece&&_0x5c98f0(0x1d0)==_0x2d3c4d[_0x5c98f0(0x1f9)]&&(_0x2510a0=Array[_0x5c98f0(0x1f2)](_0x272ece)[0x0],_0x51f13a=_0x2d3c4d[_0x5c98f0(0x18a)][_0x5c98f0(0x19d)](_0x5c98f0(0x1cc))),_0x2510a0&&(_0x252d5e[_0x5c98f0(0x1ce)](_0x135698,{'userId':_0x2510a0}),_0x98fe7b[_0x5c98f0(0x1ce)](_0x135698,{'userId':_0x2510a0})),_0x135698==_0x51f13a&&(_0x2510a0=null,_0x51f13a=null);}}const _0x57c74e={},_0x3decdd=new Set();for(const _0x3e2eb3 of _0x16d8d5){const _0x22ef2e=_0x33a5e8[_0x5c98f0(0x1e2)][_0x3e2eb3],_0x3461a5=_0x33a5e8[_0x5c98f0(0x1f0)][_0x3e2eb3];for(const {userId:_0xc5e5ed}of this[_0x5c98f0(0x1ef)][_0x5c98f0(0x189)]())null!==_0xc5e5ed&&_0x3decdd[_0x5c98f0(0x135)](_0xc5e5ed);for(const {userId:_0x39dd23}of this[_0x5c98f0(0x1db)][_0x5c98f0(0x189)]())null!==_0x39dd23&&_0x3decdd[_0x5c98f0(0x135)](_0x39dd23);this[_0x5c98f0(0x195)](_0x3461a5,_0x250a35[_0x5c98f0(0x1f0)][_0x3e2eb3],_0x98fe7b,_0x5c98f0(0x1fc),_0x3decdd),this[_0x5c98f0(0x195)](_0x22ef2e,_0x250a35[_0x5c98f0(0x1e2)][_0x3e2eb3],_0x252d5e,_0x5c98f0(0x205),_0x3decdd),_0x57c74e[_0x3e2eb3]={'insertions':this[_0x5c98f0(0x1e6)](_0x3461a5),'deletions':this[_0x5c98f0(0x1e6)](_0x22ef2e),'attachChange':this[_0x5c98f0(0x1db)][_0x5c98f0(0x13b)](_0x3e2eb3)||null,'attributesBefore':_0x2763f7(this[_0x5c98f0(0x17f)][_0x5c98f0(0x13b)](_0x3e2eb3))||{},'attributesAfter':_0x2763f7(this[_0x5c98f0(0x168)][_0x5c98f0(0x13b)](_0x3e2eb3))};}return{'diffData':_0x57c74e,'authorsIds':Array[_0x5c98f0(0x1f2)](_0x3decdd)};}[_0x330815(0x150)](_0x1f7ec8){const _0x18c7dd=_0x330815;for(const [,_0x3dcfad]of _0x1f7ec8[_0x18c7dd(0x161)]){const _0x27f7a6=_0x3dcfad[_0x18c7dd(0x156)][_0x18c7dd(0x1dc)]()[_0x18c7dd(0x128)](_0x1c42c8=>_0x18c7dd(0x118)==_0x1c42c8[_0x18c7dd(0x151)]);for(const _0x419e69 of _0x27f7a6)0x1==_0x419e69[_0x18c7dd(0x109)]&&_0x419e69[_0x18c7dd(0x19b)](0x0)['is'](_0x18c7dd(0x184),_0x18c7dd(0x10c))&&_0x419e69[_0x18c7dd(0x19b)](0x0)[_0x18c7dd(0x1e9)](_0x18c7dd(0x138),!0x0);}}[_0x330815(0x1e6)](_0xc63f42){const _0x38efaf=_0x330815;this[_0x38efaf(0x150)](_0xc63f42);const _0x4ffbfd=this[_0x38efaf(0x1bf)][_0x38efaf(0x14a)][_0x38efaf(0x162)](_0xc63f42,{}),_0x467a58=Array[_0x38efaf(0x1f2)](_0x4ffbfd[_0x38efaf(0x143)]())[_0x38efaf(0xe9)](_0x1839f7=>this[_0x38efaf(0x1e7)](_0x1839f7));return JSON[_0x38efaf(0x1c3)](_0x467a58);}[_0x330815(0x1e7)](_0x2867bb){const _0x3d50a6=_0x330815;if(_0x2867bb['is'](_0x3d50a6(0x198)))return _0x2867bb[_0x3d50a6(0x14a)];{const _0x11836a=_0x2867bb;return{'type':Object[_0x3d50a6(0x10d)](T)[_0x3d50a6(0xfb)](_0x4f5a6d=>_0x2867bb instanceof T[_0x4f5a6d]),'name':_0x11836a[_0x3d50a6(0x151)],'attributes':Array[_0x3d50a6(0x1f2)](_0x11836a[_0x3d50a6(0x1ec)]()),'children':Array[_0x3d50a6(0x1f2)](_0x11836a[_0x3d50a6(0x143)]())[_0x3d50a6(0xe9)](_0x33cccc=>this[_0x3d50a6(0x1e7)](_0x33cccc))};}}[_0x330815(0x195)](_0xff74f3,_0x22e306,_0x21d754,_0x2f4c80,_0x1be1f9){const _0xe32af4=_0x330815;let _0xbb1e6a=null,_0x3e571c=null,_0x5ac84e=0x0;const _0x217573=this[_0xe32af4(0x1bf)][_0xe32af4(0x1c5)];for(let _0x503fde=0x0;_0x503fde<_0x22e306[_0xe32af4(0x142)];_0x503fde++){const _0x5601d1=this[_0xe32af4(0x172)](_0x22e306[_0x503fde]),_0x446e53=_0x22e306[_0x503fde][_0xe32af4(0x18a)][_0xe32af4(0x19d)](_0x5601d1),_0x2557b4=_0x21d754[_0xe32af4(0x13b)](_0x446e53),_0x5ffef5=_0x503fde==_0x22e306[_0xe32af4(0x142)]-0x1;(!_0xbb1e6a&&_0x2557b4&&(_0xbb1e6a=_0x2557b4,_0x3e571c=_0x22e306[_0x503fde]),_0xbb1e6a&&(!_0x2557b4||_0x2557b4[_0xe32af4(0x1ff)]!=_0xbb1e6a[_0xe32af4(0x1ff)]))&&(_0x3a740f(_0x2557b4,L(_0x3e571c,_0xff74f3,_0x217573),L(_0x22e306[_0x503fde],_0xff74f3,_0x217573)),_0xbb1e6a=_0x2557b4||null,_0x3e571c=_0x2557b4?_0x22e306[_0x503fde]:null),_0xbb1e6a&&_0x5ffef5&&_0x3a740f(_0x2557b4,L(_0x3e571c,_0xff74f3,_0x217573),W(_0x22e306[_0x503fde],_0xff74f3,_0x217573));}function _0x3a740f(_0x35d4a6,_0x264f95,_0x40cbfd){const _0x1802e4=_0xe32af4,_0x36ac24=_0xbb1e6a[_0x1802e4(0x1ff)],_0x2365f4=_0x1802e4(0x1aa)+_0x2f4c80+':'+_0x36ac24+':'+_0x5ac84e++,_0x2a6c9e=_0x217573[_0x1802e4(0x110)](_0x264f95,_0x40cbfd);_0xff74f3[_0x1802e4(0x161)][_0x1802e4(0x1ce)](_0x2365f4,_0x2a6c9e),null!==_0x36ac24&&_0x1be1f9[_0x1802e4(0x135)](_0x36ac24);}}[_0x330815(0x172)](_0x3a7ba0){const _0x2279d4=_0x330815;switch(_0x3a7ba0[_0x2279d4(0x1f9)]){case _0x2279d4(0x1d0):return _0x2279d4(0x103);case _0x2279d4(0xfe):return _0x2279d4(0x1cc);default:return _0x2279d4(0x15e);}}[_0x330815(0x14c)](_0x129679,_0x3835ad){const _0x1209e6=_0x330815;_0x129679[_0x1209e6(0x165)]=null;for(const _0x4ee018 in _0x129679){const _0x3ec4a1=_0x129679[_0x4ee018];if(_0x3ec4a1 instanceof _0x3a1e60){const _0x5ee5a9=_0x3835ad[_0x1209e6(0x13b)](_0x3ec4a1[_0x1209e6(0x15a)][_0x1209e6(0x18b)]);_0x129679[_0x4ee018]=this[_0x1209e6(0x167)](_0x3ec4a1,_0x5ee5a9);}if(_0x3ec4a1 instanceof _0x4bdd1f){const _0x1790b5=_0x3835ad[_0x1209e6(0x13b)](_0x3ec4a1[_0x1209e6(0x15a)][_0x1209e6(0x18b)]);_0x129679[_0x4ee018]=this[_0x1209e6(0x13d)](_0x3ec4a1,_0x1790b5);}_0x1209e6(0x15a)===_0x4ee018&&(_0x129679[_0x1209e6(0x15a)]=_0x3835ad[_0x1209e6(0x13b)](_0x129679[_0x1209e6(0x15a)][_0x1209e6(0x18b)]));}}[_0x330815(0x13d)](_0x5ffd8,_0x58eb67){const _0x508387=_0x330815;return this[_0x508387(0x1bf)][_0x508387(0x1c5)][_0x508387(0x110)](this[_0x508387(0x167)](_0x5ffd8[_0x508387(0x156)],_0x58eb67),this[_0x508387(0x167)](_0x5ffd8[_0x508387(0x1e3)],_0x58eb67));}[_0x330815(0x167)](_0x147426,_0xf6d4f8){const _0x5040f2=_0x330815;return this[_0x5040f2(0x1bf)][_0x5040f2(0x1c5)][_0x5040f2(0x124)](_0xf6d4f8,_0x147426[_0x5040f2(0x185)],_0x147426[_0x5040f2(0x1ca)]);}[_0x330815(0x15d)](_0x2c2fb3){const _0x551fec=_0x330815,_0x4b5efa=this[_0x551fec(0x14d)][_0x551fec(0x13b)](_0x2c2fb3[_0x551fec(0x1ae)][_0x551fec(0x15a)][_0x551fec(0x18b)]),_0x2ec573=this[_0x551fec(0x167)](_0x2c2fb3[_0x551fec(0x1ae)],_0x4b5efa),_0x20f39e=null===_0x2c2fb3[_0x551fec(0xf1)]?null:_0x2c2fb3[_0x551fec(0xf1)]||this[_0x551fec(0x1bf)][_0x551fec(0x131)][_0x551fec(0x13b)](_0x551fec(0x11c))['me']['id'],_0x151431=_0x2ec573[_0x551fec(0x1f3)],_0x242adc=this[_0x551fec(0x113)],_0x478876=[];for(const _0x5d31e8 of _0x2c2fb3[_0x551fec(0x155)])if(_0x5d31e8['is'](_0x551fec(0x184)))_0x478876[_0x551fec(0x1ee)](this[_0x551fec(0xf7)](_0x5d31e8));else{for(let _0x3e704b=0x0;_0x3e704b<_0x5d31e8[_0x551fec(0x1c8)];_0x3e704b++)_0x478876[_0x551fec(0x1ee)](new _0x370d02(_0x551fec(0x198),{'vid':this[_0x551fec(0x113)]++}));}const _0x5e65ab=this[_0x551fec(0x113)];for(let _0x2ed2fe=_0x242adc;_0x2ed2fe<_0x5e65ab;_0x2ed2fe++)this[_0x551fec(0x1d5)][_0x551fec(0x1ce)](_0x2ed2fe,{'userId':_0x20f39e});_0x151431[_0x551fec(0x164)](_0x2ec573[_0x551fec(0xe6)],_0x478876);}[_0x330815(0x111)](_0x46e3a6){const _0xbe1462=_0x330815;(_0x46e3a6=this[_0xbe1462(0x1cd)](_0x46e3a6,this[_0xbe1462(0x14d)]))[_0xbe1462(0x1b3)]();const _0x418a8c=null===_0x46e3a6[_0xbe1462(0xf1)]?null:_0x46e3a6[_0xbe1462(0xf1)]||this[_0xbe1462(0x1bf)][_0xbe1462(0x131)][_0xbe1462(0x13b)](_0xbe1462(0x11c))['me']['id'],_0x46eec4=_0x46e3a6[_0xbe1462(0x11d)](),_0x52a3e5=_0x46eec4[_0xbe1462(0x1f3)],_0x3b933a=_0x46eec4[_0xbe1462(0xe6)];!function _0xab3f85(_0x2a6976,_0x18285d,_0x464668,_0x48df05){const _0x250d50=_0xbe1462;for(let _0x25c9a1=_0x464668;_0x25c9a1<_0x48df05;_0x25c9a1++){const _0x14e7db=_0x18285d[_0x250d50(0x19b)](_0x25c9a1);_0x14e7db['is'](_0x250d50(0x184),_0x250d50(0x198))?_0x2a6976[_0x250d50(0x1ce)](_0x14e7db[_0x250d50(0x19d)](_0x250d50(0x15e)),{'userId':_0x418a8c}):(_0x2a6976[_0x250d50(0x1ce)](_0x14e7db[_0x250d50(0x19d)](_0x250d50(0x103)),{'userId':_0x418a8c}),_0xab3f85(_0x2a6976,_0x14e7db,0x0,_0x14e7db[_0x250d50(0x109)]),_0x2a6976[_0x250d50(0x1ce)](_0x14e7db[_0x250d50(0x19d)](_0x250d50(0x1cc)),{'userId':_0x418a8c}));}}(this[_0xbe1462(0x1d5)],_0x52a3e5,_0x3b933a,_0x3b933a+_0x46e3a6[_0xbe1462(0xe7)]);}[_0x330815(0x180)](_0x11dd10){const _0x54b594=_0x330815,_0x367175=null===(_0x11dd10=this[_0x54b594(0x1cd)](_0x11dd10,this[_0x54b594(0x14d)]))[_0x54b594(0xf1)]?null:_0x11dd10[_0x54b594(0xf1)]||this[_0x54b594(0x1bf)][_0x54b594(0x131)][_0x54b594(0x13b)](_0x54b594(0x11c))['me']['id'],_0x138e5d=_0x11dd10[_0x54b594(0x14b)][_0x54b594(0x1f3)],_0x303e05=_0x11dd10[_0x54b594(0x18e)][_0x54b594(0x1f3)],_0x2d1ee7=_0x138e5d[_0x54b594(0x19d)](_0x54b594(0x1cc)),_0x56aaf3=_0x303e05[_0x54b594(0x19d)](_0x54b594(0x103));_0x138e5d[_0x54b594(0x1e9)](_0x54b594(0x1cc),_0x303e05[_0x54b594(0x19d)](_0x54b594(0x1cc))),_0x303e05[_0x54b594(0x1e9)](_0x54b594(0x1cc),_0x2d1ee7),this[_0x54b594(0x1d5)][_0x54b594(0x1ce)](_0x56aaf3,{'userId':_0x367175}),this[_0x54b594(0x1d5)][_0x54b594(0x1ce)](_0x2d1ee7,{'userId':_0x367175}),_0x11dd10[_0x54b594(0x1b3)]();}[_0x330815(0x1a5)](_0x48f762){const _0x4fc00c=_0x330815,_0x5f478d=null===(_0x48f762=this[_0x4fc00c(0x1cd)](_0x48f762,this[_0x4fc00c(0x14d)]))[_0x4fc00c(0xf1)]?null:_0x48f762[_0x4fc00c(0xf1)]||this[_0x4fc00c(0x1bf)][_0x4fc00c(0x131)][_0x4fc00c(0x13b)](_0x4fc00c(0x11c))['me']['id'],_0x3fd5ae=_0x48f762[_0x4fc00c(0x166)],_0x4e47a1=_0x48f762[_0x4fc00c(0xe4)][_0x4fc00c(0x1f3)];_0x48f762[_0x4fc00c(0x1b3)]();const _0x30e572=_0x4e47a1[_0x4fc00c(0x19d)](_0x4fc00c(0x1cc)),_0x5bbe25=_0x48f762[_0x4fc00c(0x17e)][_0x4fc00c(0x1c0)];if(_0x3fd5ae){const _0x458cec=_0x5bbe25[_0x4fc00c(0x19d)](_0x4fc00c(0x1cc)),_0x1c449e=_0x4e47a1[_0x4fc00c(0x19d)](_0x4fc00c(0x1cc));_0x4e47a1[_0x4fc00c(0x1e9)](_0x4fc00c(0x1cc),_0x458cec),_0x5bbe25[_0x4fc00c(0x1e9)](_0x4fc00c(0x1cc),_0x1c449e),this[_0x4fc00c(0x1d5)][_0x4fc00c(0x1ce)](_0x4e47a1[_0x4fc00c(0x19d)](_0x4fc00c(0x1cc)),{'userId':_0x5f478d}),this[_0x4fc00c(0x1d5)][_0x4fc00c(0x1ce)](_0x5bbe25[_0x4fc00c(0x19d)](_0x4fc00c(0x103)),{'userId':_0x5f478d});}else{const _0x3b371a=this[_0x4fc00c(0x113)]++,_0x3b011b=this[_0x4fc00c(0x113)]++;_0x4e47a1[_0x4fc00c(0x1e9)](_0x4fc00c(0x1cc),_0x3b371a),_0x5bbe25[_0x4fc00c(0x1e9)](_0x4fc00c(0x103),_0x3b011b),_0x5bbe25[_0x4fc00c(0x1e9)](_0x4fc00c(0x1cc),_0x30e572),this[_0x4fc00c(0x1d5)][_0x4fc00c(0x1ce)](_0x3b371a,{'userId':_0x5f478d}),this[_0x4fc00c(0x1d5)][_0x4fc00c(0x1ce)](_0x3b011b,{'userId':_0x5f478d});}}[_0x330815(0x100)](_0x3e8b01){const _0x112d38=_0x330815;if(!_0x3e8b01[_0x112d38(0x197)])return;const _0x2c01e9=(_0x3e8b01=this[_0x112d38(0x1cd)](_0x3e8b01,this[_0x112d38(0x11e)]))[_0x112d38(0x126)]?_0x3e8b01[_0x112d38(0x126)][_0x112d38(0x15a)]:null,_0x221d0a=_0x3e8b01[_0x112d38(0x179)]?_0x3e8b01[_0x112d38(0x179)][_0x112d38(0x15a)]:null;_0x2c01e9&&this[_0x112d38(0x1f6)][_0x112d38(0x158)](_0x3e8b01[_0x112d38(0x151)]),_0x221d0a&&this[_0x112d38(0x1f6)][_0x112d38(0x1ce)](_0x3e8b01[_0x112d38(0x151)],_0x3e8b01[_0x112d38(0x179)][_0x112d38(0xf0)]());const _0x33cf16=null===_0x3e8b01[_0x112d38(0xf1)]?null:_0x3e8b01[_0x112d38(0xf1)]||this[_0x112d38(0x1bf)][_0x112d38(0x131)][_0x112d38(0x13b)](_0x112d38(0x11c))['me']['id'],_0x4f36f9=_0x3e8b01[_0x112d38(0x151)];if(!this[_0x112d38(0x1ef)][_0x112d38(0x137)](_0x4f36f9))return void this[_0x112d38(0x1ef)][_0x112d38(0x1ce)](_0x4f36f9,{'range':_0x3e8b01[_0x112d38(0x126)],'userId':_0x33cf16});const _0x209ab6=this[_0x112d38(0x1ef)][_0x112d38(0x13b)](_0x4f36f9),_0xffbdb3=_0x209ab6[_0x112d38(0x102)],_0x33f194=_0x3e8b01[_0x112d38(0x179)];null==_0xffbdb3&&null==_0x33f194||_0xffbdb3&&_0x33f194&&_0xffbdb3[_0x112d38(0x171)](_0x33f194)?this[_0x112d38(0x1ef)][_0x112d38(0x158)](_0x3e8b01[_0x112d38(0x151)]):_0x209ab6[_0x112d38(0x1ff)]=_0x33cf16;}[_0x330815(0x14e)](_0x5be529,_0x2e25ac){const _0x1eea25=_0x330815;this[_0x1eea25(0x11e)][_0x1eea25(0x137)](_0x5be529[_0x1eea25(0x18b)])?this[_0x1eea25(0x11e)][_0x1eea25(0x13b)](_0x5be529[_0x1eea25(0x18b)])[_0x1eea25(0x201)]=_0x5be529[_0x1eea25(0x1d6)]:(this[_0x1eea25(0x11e)][_0x1eea25(0x1ce)](_0x5be529[_0x1eea25(0x18b)],G(_0x5be529[_0x1eea25(0x18b)],!0x0)),this[_0x1eea25(0x168)][_0x1eea25(0x1ce)](_0x5be529[_0x1eea25(0x18b)],{}),_0x2e25ac&&this[_0x1eea25(0x14d)][_0x1eea25(0x1ce)](_0x5be529[_0x1eea25(0x18b)],G(_0x5be529[_0x1eea25(0x18b)],!0x0)));const _0x1b8035=null===_0x5be529[_0x1eea25(0xf1)]?null:_0x5be529[_0x1eea25(0xf1)]||this[_0x1eea25(0x1bf)][_0x1eea25(0x131)][_0x1eea25(0x13b)](_0x1eea25(0x11c))['me']['id'],_0x5667ed=this[_0x1eea25(0x1db)][_0x1eea25(0x13b)](_0x5be529[_0x1eea25(0x18b)]);_0x5667ed&&_0x5667ed[_0x1eea25(0x1ff)]===_0x1b8035?this[_0x1eea25(0x1db)][_0x1eea25(0x158)](_0x5be529[_0x1eea25(0x18b)]):this[_0x1eea25(0x1db)][_0x1eea25(0x1ce)](_0x5be529[_0x1eea25(0x18b)],{'userId':_0x1b8035,'isAttached':_0x5be529[_0x1eea25(0x1d6)]});}[_0x330815(0x1ed)](_0x1b7218){const _0x449ff2=_0x330815,_0x4da2dc=this[_0x449ff2(0x168)][_0x449ff2(0x13b)](_0x1b7218[_0x449ff2(0x15a)][_0x449ff2(0x18b)]);null===_0x1b7218[_0x449ff2(0x1e4)]?delete _0x4da2dc[_0x1b7218[_0x449ff2(0x106)]]:_0x4da2dc[_0x1b7218[_0x449ff2(0x106)]]=_0x1b7218[_0x449ff2(0x1e4)];}}function q(_0x5cda6e){const _0x5d49ac=_0x330815,_0x2736e0=G(_0x5cda6e[_0x5d49ac(0x18b)],_0x5cda6e[_0x5d49ac(0xfc)]());for(const _0x402845 of _0x5cda6e[_0x5d49ac(0x143)]()){const _0xbdb069=_0x402845[_0x5d49ac(0x1f8)](!0x0);_0x2736e0[_0x5d49ac(0x1bb)](_0xbdb069);}return _0x2736e0;}function G(_0x5b7356,_0x2a8c51=!0x0){const _0x271bcd=_0x330815,_0x67f0f5=new _0x528650();return _0x67f0f5[_0x271bcd(0x18b)]=_0x5b7356,_0x67f0f5[_0x271bcd(0x201)]=_0x2a8c51,_0x67f0f5[_0x271bcd(0xfc)]=()=>_0x67f0f5[_0x271bcd(0x201)],_0x67f0f5;}function L(_0x5482f2,_0x1efee5,_0x32e7fe){const _0x2acc0e=_0x330815,_0x3a36c7=_0x2acc0e(0xfe)==_0x5482f2[_0x2acc0e(0x1f9)]?_0x32e7fe[_0x2acc0e(0x175)](_0x5482f2[_0x2acc0e(0x18a)],_0x2acc0e(0x1e3)):_0x32e7fe[_0x2acc0e(0x203)](_0x5482f2[_0x2acc0e(0x18a)]);return _0x32e7fe[_0x2acc0e(0x124)](_0x1efee5,_0x3a36c7[_0x2acc0e(0x185)],_0x3a36c7[_0x2acc0e(0x1ca)]);}function W(_0x28a557,_0x4a8fff,_0x1d8792){const _0x65828b=_0x330815,_0x230100=_0x65828b(0x1d0)==_0x28a557[_0x65828b(0x1f9)]?_0x1d8792[_0x65828b(0x175)](_0x28a557[_0x65828b(0x18a)],0x0):_0x1d8792[_0x65828b(0x108)](_0x28a557[_0x65828b(0x18a)]);return _0x1d8792[_0x65828b(0x124)](_0x4a8fff,_0x230100[_0x65828b(0x185)],_0x230100[_0x65828b(0x1ca)]);}
@@ -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(