@ckeditor/ckeditor5-revision-history 42.0.0-alpha.5 → 42.0.0-alpha.7

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 _0x95b05b=_0x4046;(function(_0x510c54,_0x37a214){const _0x2917d0=_0x4046,_0x2fdc1e=_0x510c54();while(!![]){try{const _0x4cd4e9=parseInt(_0x2917d0(0x28c))/0x1+parseInt(_0x2917d0(0x243))/0x2+parseInt(_0x2917d0(0x281))/0x3+parseInt(_0x2917d0(0x2f3))/0x4+parseInt(_0x2917d0(0x203))/0x5+parseInt(_0x2917d0(0x21d))/0x6+-parseInt(_0x2917d0(0x2cc))/0x7;if(_0x4cd4e9===_0x37a214)break;else _0x2fdc1e['push'](_0x2fdc1e['shift']());}catch(_0x375c7d){_0x2fdc1e['push'](_0x2fdc1e['shift']());}}}(_0x3ace,0x6e527));import{Users as _0x202e17}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x309ec5,PendingActions as _0x4e5398}from'ckeditor5/src/core.js';import{logWarning as _0x4aa086,uid as _0xfb910e}from'ckeditor5/src/utils.js';function _0x4046(_0x13d455,_0x23da95){const _0x3aceaa=_0x3ace();return _0x4046=function(_0x40462c,_0x31f6f2){_0x40462c=_0x40462c-0x1dc;let _0x44e16c=_0x3aceaa[_0x40462c];return _0x44e16c;},_0x4046(_0x13d455,_0x23da95);}function _0x3ace(){const _0x43961c=['vid','element','_copyMarkers','forEach','data','PendingActions','add','updateRevisions','_applyOperations','resolve','insertions','plugins','_authorId','_handleMoveOperation','_removePendingAction','deletions','define','addRevisionData','_generateTape','_baseIdsRoots','markerToData','getLatestVersion','_findInsertionIndex','_createInitialRevision','revisionHistory.resumeUnsavedRevision','_appendChild','getWalker','changeRootAttribute','getRange','newRange','_continueCurrentRevision','_baseRoots','setRevisionData','finally','max','model','find','attributes','createPositionFromPath','_loadState','type','isReady','_prepareViewToSave','requires','has','createPositionAfter','_fixRange','delete','keepParagraph','initialData','insert','attributesBefore','hasContent','set','isEnabled','_clone','_setAttribute','baseVersion','revision-end','RevisionsRepository','offsetSize','2125314PQKXkX','isAdd','getMovedRangeStart','toView','getRevision','Users','history','_fixPosition','getRootNames','newValue','childCount','408714lDfeTP','createRange','oldRange','_handleMarkerOperation','adapter','_handleInsertOperation','createPositionAt','_getFromVersion','keys','getChild','range','processor','insertion','getAttributes','fromVersion','key','_loadedStateData','elementEnd','position','editor','_getState','toVersion','bind','map','graveyardPosition','splitPosition','getNodeByPath','sort','paragraph','_startingVersion','targetPosition','_touched','getRevisionDocumentData','reverse','_markChanges','marked','stickiness','deletion','size','_lastFrom','diffData','dataDowncast','createRangeIn','path','_fixOperation','root','text','getChildren','_removeMetaData','getTime','markers','_lastTo','rootsAttributes','_source','from','repository','authors','_insertChild','merge','getOperations','_makeRevision','conversion','roots','clone','19854212piHSCR','$text','_revisionDataBuilder','addRevision','$graveyard','default','some','toData','locale','attributesAfter','init','length','_isInit','reinsert','revision-start','collaboration.channelId','_handleOperation','config','_removeRevisionMarkers','string','getAttribute','Initial\x20revision','getOperation','_setConversion','_operations','filter','name','revision','RevisionTracker','pluginName','_bufferedUpdates','editor-initial-data-replaced-with-revision-data','fromEntries','_createCurrentRevision','addRootAttribute','getRoot','getTransformedByOperation','_getBaseVids','insertionPosition','2710900nglwAr','setSource','elementStart','saveRevision','parent','_transformMarkers','getData','creatorId','getAncestors','parse','nodes','vid_end','affectsData','documentFragment','stringify','_makeModelFromViewString','children','move','vid_start','tableCell','shift','_createFromRanges','ready','_handleRootOperation','trim','howMany','_isAttached','NEGATIVE_INFINITY','buildRevisionData','push','_diffRootsAttributes','createRevision','currentRevision','authorsIds','removeRootAttribute','_initialRevisionId','loadState','data-revision-','_loadRevisionData','end','_touchedRoots','document','Empty\x20document','_markers','offset','_handleMergeOperation','_idsRoots','toModel','initial','start','_startingRevisionId','_replaceEditorDataWithRevisionData','source','startsWith','getRevisions','dataToMarker','878940giNhog','_handleSplitOperation','useFillerType','attachChange','getRevisionRootsAttributes','_bufferUpdate','remove','userId','then','addRoot','get','detachRoot','creator','_savedMetaData','sourcePosition','update','marker','_reset','createdAt','getIndex','_calculateMetaData','_addPendingAction','RealTimeCollaborationClient','_cloneOperation','_baseRootsAttributes','_revisionId','4347450rRNklR','_update','upcast','_isPendingUpdate','_pendingAction','afterInit','createPositionBefore','previousPosition','_handleRootAttributeOperation','_diffRoots','_getPreviousFrom','_touchedMarkers','_saveMetaData','getCurrentRevisionId','isEqual','_execute','values','PENDING_ACTION_REVISION_HISTORY','_makeIdsRoot','editing','_getViewJson','version','_processRootBeforeSave','nodeAfter','split','includes','sendBufferedUpdates','for','revision:','reInit','rootName','getUser','_getVidAttributeName','view','slice','item','isAttached','clear','1185910GrSuEI'];_0x3ace=function(){return _0x43961c;};return _0x3ace();}import{Position as _0x5f14a9,Range as _0x5b7e7b,Element as _0x3f0a4c,DocumentFragment as _0x405ee4,ViewText as _0xb15d79,ViewElement as _0x56ebc1,ViewContainerElement as _0x131e84,ViewAttributeElement as _0x5c2759,ViewEmptyElement as _0xbcaf33,ViewRawElement as _0x2f7034,ViewUIElement as _0x3e2fcc,ViewDocumentFragment as _0x135649}from'ckeditor5/src/engine.js';import _0x1c8228 from'./revisionsrepository.js';import{getTranslation as _0x5e7b9}from'./utils/common-translations.js';import{cloneDeep as _0x94b9eb,isEqual as _0x3b83a5}from'lodash-es';const T={'c':_0x131e84,'a':_0x5c2759,'e':_0xbcaf33,'r':_0x2f7034,'u':_0x3e2fcc};export default class l extends _0x309ec5{static get[_0x95b05b(0x2e9)](){const _0x182db8=_0x95b05b;return _0x182db8(0x2e8);}static get[_0x95b05b(0x26f)](){return[_0x202e17,_0x1c8228,_0x4e5398];}constructor(_0x34a9e9){const _0x58877b=_0x95b05b;super(_0x34a9e9),this[_0x58877b(0x290)]=null,this[_0x58877b(0x1eb)]=null,this[_0x58877b(0x2ce)]=new J(this[_0x58877b(0x29f)]),this[_0x58877b(0x1ee)]=this[_0x58877b(0x29f)][_0x58877b(0x2dd)][_0x58877b(0x20d)](_0x58877b(0x2db))||_0x58877b(0x1fb),this[_0x58877b(0x2ea)]=new Map(),this[_0x58877b(0x29c)]=null;const _0x527a65=_0xfb910e();this[_0x58877b(0x2c1)]={'history':this[_0x58877b(0x29f)][_0x58877b(0x267)][_0x58877b(0x1f4)][_0x58877b(0x287)],'getLatestVersion':()=>Promise[_0x58877b(0x24d)](this[_0x58877b(0x29f)][_0x58877b(0x267)][_0x58877b(0x1f4)][_0x58877b(0x232)]),'getCurrentRevisionId':()=>_0x527a65},this[_0x58877b(0x279)](_0x58877b(0x26d),!0x1),this[_0x58877b(0x279)](_0x58877b(0x27a),!0x0),this[_0x58877b(0x279)](_0x58877b(0x220),!0x1),this[_0x58877b(0x29f)][_0x58877b(0x2dd)][_0x58877b(0x254)](_0x58877b(0x25c),!0x0),this[_0x58877b(0x29f)][_0x58877b(0x2c9)][_0x58877b(0x238)](_0x58877b(0x21f))[_0x58877b(0x202)]({'view':_0x58877b(0x2e7)});}[_0x95b05b(0x2d6)](){const _0x200ac8=_0x95b05b;this[_0x200ac8(0x2c3)]=this[_0x200ac8(0x29f)][_0x200ac8(0x24f)][_0x200ac8(0x20d)](_0x200ac8(0x27f)),this[_0x200ac8(0x2e3)](),this[_0x200ac8(0x29f)][_0x200ac8(0x248)]['on'](_0x200ac8(0x1e1),()=>{const _0x29144e=_0x200ac8,_0x11f847=this[_0x29144e(0x2c3)][_0x29144e(0x285)](0x0),_0x12f38f=_0x11f847&&null===_0x11f847[_0x29144e(0x20f)]?_0x11f847:null;if(this[_0x29144e(0x262)]=!!_0x12f38f&&this[_0x29144e(0x29f)][_0x29144e(0x2dd)][_0x29144e(0x20d)](_0x29144e(0x25c)),this[_0x29144e(0x29f)][_0x29144e(0x24f)][_0x29144e(0x270)](_0x29144e(0x219))){const _0x5e1d6b=this[_0x29144e(0x2c1)][_0x29144e(0x22a)](),_0xea3d0d=this[_0x29144e(0x2c3)][_0x29144e(0x285)](_0x5e1d6b);if(_0xea3d0d)this[_0x29144e(0x2a9)]=_0xea3d0d[_0x29144e(0x29a)],this[_0x29144e(0x262)]=!0x1;else{const _0x217223=this[_0x29144e(0x2c1)][_0x29144e(0x287)][_0x29144e(0x2e4)][_0x29144e(0x268)](_0x4172c5=>!_0x4172c5[_0x29144e(0x2d8)]),_0x396445=_0x217223?_0x217223[_0x29144e(0x27d)]:this[_0x29144e(0x2c1)][_0x29144e(0x287)][_0x29144e(0x232)];_0x11f847?(_0x11f847[_0x29144e(0x2a1)]<_0x396445&&_0x11f847[_0x29144e(0x21e)]({'toVersion':_0x396445}),this[_0x29144e(0x262)]?(this[_0x29144e(0x2c1)][_0x29144e(0x22a)]=()=>_0x12f38f['id'],this[_0x29144e(0x2a9)]=_0x12f38f[_0x29144e(0x29a)]):(this[_0x29144e(0x2a9)]=_0x11f847[_0x29144e(0x2a1)],this[_0x29144e(0x262)]=!0x1)):(this[_0x29144e(0x2a9)]=_0x396445,this[_0x29144e(0x262)]=!0x1);}}else _0x12f38f&&(this[_0x29144e(0x29f)][_0x29144e(0x267)][_0x29144e(0x1f4)][_0x29144e(0x287)][_0x29144e(0x232)]=Math[_0x29144e(0x266)](_0x12f38f[_0x29144e(0x2a1)],this[_0x29144e(0x29f)][_0x29144e(0x267)][_0x29144e(0x1f4)][_0x29144e(0x287)][_0x29144e(0x232)]),_0x12f38f[_0x29144e(0x29a)]===_0x12f38f[_0x29144e(0x2a1)]?(0x0!==_0x12f38f[_0x29144e(0x29a)]&&(this[_0x29144e(0x2c1)][_0x29144e(0x22a)]=()=>_0x12f38f['id']),this[_0x29144e(0x262)]=!0x1):this[_0x29144e(0x262)]&&(this[_0x29144e(0x2c1)][_0x29144e(0x22a)]=()=>_0x12f38f['id'],this[_0x29144e(0x2a9)]=_0x12f38f[_0x29144e(0x29a)])),this[_0x29144e(0x262)]||(this[_0x29144e(0x2a9)]=this[_0x29144e(0x29f)][_0x29144e(0x267)][_0x29144e(0x1f4)][_0x29144e(0x232)]);this[_0x29144e(0x2ce)][_0x29144e(0x2d6)](this[_0x29144e(0x2c1)][_0x29144e(0x287)]),this[_0x29144e(0x25b)](this[_0x29144e(0x2a9)]),this[_0x29144e(0x2ed)](this[_0x29144e(0x2a9)]),this[_0x29144e(0x290)]&&this[_0x29144e(0x237)]();}),this[_0x200ac8(0x2a2)](_0x200ac8(0x26d))['to'](this,_0x200ac8(0x220),_0x58cb06=>!_0x58cb06);}async[_0x95b05b(0x222)](){const _0x139890=_0x95b05b;if(this[_0x139890(0x2c3)][_0x139890(0x2d7)]>0x0){const _0x5b9e69=this[_0x139890(0x2c3)][_0x139890(0x285)](0x0),_0xa84089=await this[_0x139890(0x2ac)](_0x5b9e69),_0x4d37d6=await this[_0x139890(0x207)](_0x5b9e69);this[_0x139890(0x1fe)](_0xa84089,_0x4d37d6);}}[_0x95b05b(0x2f4)](_0x5c640d){const _0x1af6d5=_0x95b05b;this[_0x1af6d5(0x2c1)]=_0x5c640d;}async[_0x95b05b(0x212)](){const _0x12a372=_0x95b05b,_0x12dd03=await this[_0x12a372(0x2c1)][_0x12a372(0x259)]();if(_0x12dd03>this[_0x12a372(0x1eb)][_0x12a372(0x2a1)]){await this[_0x12a372(0x26b)]();const _0xf641c1=this[_0x12a372(0x1e7)]({'revision':this[_0x12a372(0x1eb)],'to':_0x12dd03});_0xf641c1[_0x12a372(0x2c4)]=_0xf641c1[_0x12a372(0x1ec)][_0x12a372(0x2a3)](_0x12fb05=>this[_0x12a372(0x29f)][_0x12a372(0x24f)][_0x12a372(0x20d)](_0x12a372(0x286))[_0x12a372(0x23c)](_0x12fb05)),this[_0x12a372(0x1eb)][_0x12a372(0x21e)](_0xf641c1);}}async[_0x95b05b(0x26b)](){const _0x75b687=_0x95b05b;this[_0x75b687(0x262)]&&!this[_0x75b687(0x29c)]&&(await this[_0x75b687(0x1f1)](this[_0x75b687(0x1eb)]),this[_0x75b687(0x2ce)][_0x75b687(0x1ef)](this[_0x75b687(0x1eb)]),this[_0x75b687(0x29c)]={'fromVersion':this[_0x75b687(0x1eb)][_0x75b687(0x29a)],'authors':this[_0x75b687(0x1eb)][_0x75b687(0x2c4)][_0x75b687(0x23f)]()});}async[_0x95b05b(0x2f6)](_0x3c10e6={},_0x5acb3e=null){const _0x4be201=_0x95b05b,_0x42c111=[];await this[_0x4be201(0x26b)](),this[_0x4be201(0x262)]=!0x1,_0x5acb3e>this[_0x4be201(0x1eb)][_0x4be201(0x2a1)]&&(_0x5acb3e=null),null===_0x5acb3e&&(_0x5acb3e=await this[_0x4be201(0x2c1)][_0x4be201(0x259)]());const _0x4ea75f=this[_0x4be201(0x293)](_0x5acb3e),_0x2f4f1f=this[_0x4be201(0x1e7)]({'from':_0x4ea75f,'to':_0x5acb3e});if(this[_0x4be201(0x1eb)][_0x4be201(0x2a1)]<_0x5acb3e){const _0x4cc855=this[_0x4be201(0x1e7)]({'revision':this[_0x4be201(0x1eb)],'from':_0x5acb3e,'to':_0x5acb3e});_0x4cc855[_0x4be201(0x2c4)]=[],_0x4cc855[_0x4be201(0x1ec)]=[],_0x4cc855['id']=this[_0x4be201(0x1eb)]['id'],this[_0x4be201(0x1eb)][_0x4be201(0x21e)](_0x4cc855,!0x0),delete _0x4cc855[_0x4be201(0x2c4)],_0x42c111[_0x4be201(0x1e8)](_0x4cc855);}_0x3c10e6[_0x4be201(0x2fa)]=this[_0x4be201(0x29f)][_0x4be201(0x24f)][_0x4be201(0x20d)](_0x4be201(0x286))['me']['id'],_0x3c10e6[_0x4be201(0x2e6)]=_0x3c10e6[_0x4be201(0x2e6)]||null,_0x3c10e6['id']=_0x3c10e6['id']||_0xfb910e(),_0x3c10e6={..._0x3c10e6,..._0x2f4f1f};const _0x1be486=this[_0x4be201(0x255)](_0x3c10e6);_0x42c111[_0x4be201(0x1e8)](_0x3c10e6);const _0x5f0447=this[_0x4be201(0x2c3)][_0x4be201(0x216)](_0x1be486);if(0x0!==_0x5f0447){const _0x482df2=this[_0x4be201(0x2c3)][_0x4be201(0x285)](_0x5f0447-0x1);if(_0x482df2[_0x4be201(0x29a)]!==_0x5acb3e){const _0x2daf44=this[_0x4be201(0x2ce)][_0x4be201(0x2f9)](_0x5acb3e,_0x482df2[_0x4be201(0x2a1)]),_0x4681c3={'id':_0x482df2['id'],'diffData':_0x2daf44[_0x4be201(0x2b4)],'authorsIds':_0x2daf44[_0x4be201(0x1ec)],'authors':_0x2daf44[_0x4be201(0x1ec)][_0x4be201(0x2a3)](_0x597c0f=>this[_0x4be201(0x29f)][_0x4be201(0x24f)][_0x4be201(0x20d)](_0x4be201(0x286))[_0x4be201(0x23c)](_0x597c0f)),'fromVersion':_0x5acb3e};_0x482df2===this[_0x4be201(0x1eb)]&&(_0x4681c3[_0x4be201(0x215)]=new Date(_0x3c10e6[_0x4be201(0x215)][_0x4be201(0x2bd)]()+0xa)),_0x482df2[_0x4be201(0x21e)](_0x4681c3,!0x0),delete _0x4681c3[_0x4be201(0x2c4)],_0x42c111[_0x4be201(0x1e8)](_0x4681c3);}}if(this[_0x4be201(0x290)]){for(const _0x150a2e of _0x42c111)this[_0x4be201(0x208)](_0x150a2e['id'],_0x150a2e,!0x0);this[_0x4be201(0x237)]();}return _0x1be486;}[_0x95b05b(0x255)](_0x530506){const _0x16de4a=_0x95b05b,_0x2a3d3e=this[_0x16de4a(0x2c3)][_0x16de4a(0x1ea)](_0x530506);return this[_0x16de4a(0x290)]&&_0x2a3d3e['on'](_0x16de4a(0x21e),(_0x23f9d5,_0x28624b,_0x591d2e)=>{const _0x2b1737=_0x16de4a;_0x591d2e||(this[_0x2b1737(0x208)](_0x28624b['id'],_0x28624b,!0x0),this[_0x2b1737(0x237)]());}),this[_0x16de4a(0x2c3)][_0x16de4a(0x2cf)](_0x2a3d3e,this[_0x16de4a(0x25a)](_0x2a3d3e)),_0x2a3d3e;}async[_0x95b05b(0x2ac)](_0x3a2492){const _0x163c01=_0x95b05b;await this[_0x163c01(0x1f1)](_0x3a2492);const _0x293d89={};for(const _0x8f3af0 in _0x3a2492[_0x163c01(0x2b4)]){if(_0x3a2492[_0x163c01(0x2b4)][_0x8f3af0][_0x163c01(0x206)]&&!_0x3a2492[_0x163c01(0x2b4)][_0x8f3af0][_0x163c01(0x206)][_0x163c01(0x241)])continue;const _0x39fd84=this[_0x163c01(0x2de)](JSON[_0x163c01(0x2fc)](_0x3a2492[_0x163c01(0x2b4)][_0x8f3af0][_0x163c01(0x24e)])),_0x2cb987=this[_0x163c01(0x29f)][_0x163c01(0x230)][_0x163c01(0x23e)][_0x163c01(0x1f4)],_0xc5dbac=new _0x135649(_0x2cb987,_0x39fd84[_0x163c01(0x2a3)](_0x5b700c=>B(_0x5b700c,this[_0x163c01(0x29f)])));this[_0x163c01(0x29f)][_0x163c01(0x248)][_0x163c01(0x297)][_0x163c01(0x205)](_0x163c01(0x2af)),_0x293d89[_0x8f3af0]=this[_0x163c01(0x29f)][_0x163c01(0x248)][_0x163c01(0x297)][_0x163c01(0x2d3)](_0xc5dbac),this[_0x163c01(0x29f)][_0x163c01(0x248)][_0x163c01(0x297)][_0x163c01(0x205)](_0x163c01(0x2d1));}return _0x293d89;}async[_0x95b05b(0x207)](_0x495aa8){const _0x4842a3=_0x95b05b;await this[_0x4842a3(0x1f1)](_0x495aa8);const _0x123f3c={};for(const _0x4e2f6c in _0x495aa8[_0x4842a3(0x2b4)])_0x495aa8[_0x4842a3(0x2b4)][_0x4e2f6c][_0x4842a3(0x206)]&&!_0x495aa8[_0x4842a3(0x2b4)][_0x4e2f6c][_0x4842a3(0x206)][_0x4842a3(0x241)]||(_0x123f3c[_0x4e2f6c]=_0x495aa8[_0x4842a3(0x2b4)][_0x4e2f6c][_0x4842a3(0x2d5)]||{});return _0x123f3c;}[_0x95b05b(0x237)](){const _0x3b50b5=_0x95b05b;if(0x0===this[_0x3b50b5(0x2ea)][_0x3b50b5(0x2b2)])return;if(this[_0x3b50b5(0x220)])return;let _0xb4aba2=Array[_0x3b50b5(0x2c2)](this[_0x3b50b5(0x2ea)][_0x3b50b5(0x22d)]());this[_0x3b50b5(0x2ea)][_0x3b50b5(0x242)]();for(let _0x4ba525=0x0;_0x4ba525<_0xb4aba2[_0x3b50b5(0x2d7)];_0x4ba525++){const _0x2e1f54=_0xb4aba2[_0x4ba525];let _0x49d4d5=!0x1;for(const _0xabfc00 of Object[_0x3b50b5(0x294)](_0x2e1f54))void 0x0===_0x2e1f54[_0xabfc00]?delete _0x2e1f54[_0xabfc00]:'id'!==_0xabfc00&&(_0x49d4d5=!0x0);_0x49d4d5||(_0xb4aba2[_0x4ba525]=null);}if(_0xb4aba2=_0xb4aba2[_0x3b50b5(0x2e5)](_0x2760f4=>null!==_0x2760f4),!_0xb4aba2[_0x3b50b5(0x2d7)])return;for(let _0x157d61=0x0;_0x157d61<_0xb4aba2[_0x3b50b5(0x2d7)];_0x157d61++){const _0xbd7fb6=_0xb4aba2[_0x157d61];void 0x0!==_0xbd7fb6[_0x3b50b5(0x29a)]&&void 0x0===_0xbd7fb6[_0x3b50b5(0x2a1)]&&(_0xbd7fb6[_0x3b50b5(0x2a1)]=this[_0x3b50b5(0x2c3)][_0x3b50b5(0x285)](_0xbd7fb6['id'])[_0x3b50b5(0x2a1)]),void 0x0!==_0xbd7fb6[_0x3b50b5(0x2a1)]&&void 0x0===_0xbd7fb6[_0x3b50b5(0x29a)]&&(_0xbd7fb6[_0x3b50b5(0x29a)]=this[_0x3b50b5(0x2c3)][_0x3b50b5(0x285)](_0xbd7fb6['id'])[_0x3b50b5(0x29a)]);}const _0x1ba909=this[_0x3b50b5(0x29f)][_0x3b50b5(0x2dd)][_0x3b50b5(0x20d)](_0x3b50b5(0x2db));this[_0x3b50b5(0x220)]=!0x0,this[_0x3b50b5(0x218)](),this[_0x3b50b5(0x290)][_0x3b50b5(0x24b)](_0xb4aba2,_0x1ba909)[_0x3b50b5(0x265)](()=>{const _0x5cac01=_0x3b50b5;this[_0x5cac01(0x220)]=!0x1;})[_0x3b50b5(0x20b)](_0x5b9f3b=>{const _0x32f5ed=_0x3b50b5;if(_0x5b9f3b){for(const _0x455568 of _0x5b9f3b)this[_0x32f5ed(0x264)]({'id':_0x455568['id'],'createdAt':_0x455568[_0x32f5ed(0x215)]});}this[_0x32f5ed(0x252)](),this[_0x32f5ed(0x237)]();});}[_0x95b05b(0x1fe)](_0x4be077,_0x1934c2){const _0x543756=_0x95b05b;let _0x101809=this[_0x543756(0x29f)][_0x543756(0x2dd)][_0x543756(0x20d)](_0x543756(0x275)),_0x2547fe=this[_0x543756(0x29f)][_0x543756(0x2dd)][_0x543756(0x20d)](_0x543756(0x2c0));if(void 0x0===_0x101809){_0x101809={};for(const _0x19d951 of this[_0x543756(0x29f)][_0x543756(0x267)][_0x543756(0x1f4)][_0x543756(0x289)]())_0x101809[_0x19d951]='';}if(_0x543756(0x2df)==typeof _0x101809&&(_0x101809={'main':_0x101809}),void 0x0===_0x2547fe){_0x2547fe={};for(const _0x5d05e4 of this[_0x543756(0x29f)][_0x543756(0x267)][_0x543756(0x1f4)][_0x543756(0x289)]())_0x2547fe[_0x5d05e4]={};}let _0x3098de=!0x1;const _0xf1494d=Object[_0x543756(0x294)](_0x101809),_0x452f3b=Object[_0x543756(0x294)](_0x4be077);for(const _0x5b983d of _0xf1494d){if(_0x101809[_0x5b983d]!==_0x4be077[_0x5b983d]&&''!==_0x101809[_0x5b983d][_0x543756(0x1e3)]()){_0x3098de=!0x0;break;}if(!_0x3b83a5(_0x2547fe[_0x5b983d],_0x1934c2[_0x5b983d])&&Object[_0x543756(0x294)](_0x2547fe[_0x5b983d])[_0x543756(0x2d7)]>0x0){_0x3098de=!0x0;break;}}_0x3098de||(_0x3098de=_0x452f3b[_0x543756(0x2d2)](_0x49f518=>!this[_0x543756(0x29f)][_0x543756(0x267)][_0x543756(0x1f4)][_0x543756(0x2ef)](_0x49f518))),_0x3098de&&_0x4aa086(_0x543756(0x2eb),{'editorData':_0x101809,'editorRootsAttributes':_0x2547fe,'revisionData':_0x4be077,'revisionRootsAttributes':_0x1934c2}),this[_0x543756(0x29f)][_0x543756(0x2dd)][_0x543756(0x279)](_0x543756(0x275),_0x4be077),this[_0x543756(0x29f)][_0x543756(0x2dd)][_0x543756(0x279)](_0x543756(0x2c0),_0x1934c2);}[_0x95b05b(0x218)](){const _0x3eb320=_0x95b05b;if(!this[_0x3eb320(0x221)]){const _0x447867=this[_0x3eb320(0x29f)][_0x3eb320(0x24f)][_0x3eb320(0x20d)](_0x3eb320(0x249));this[_0x3eb320(0x221)]=_0x447867[_0x3eb320(0x24a)](_0x5e7b9(this[_0x3eb320(0x29f)][_0x3eb320(0x2d4)],_0x3eb320(0x22e)));}}[_0x95b05b(0x252)](){const _0x3b1f29=_0x95b05b;this[_0x3b1f29(0x221)]&&(this[_0x3b1f29(0x29f)][_0x3b1f29(0x24f)][_0x3b1f29(0x20d)](_0x3b1f29(0x249))[_0x3b1f29(0x209)](this[_0x3b1f29(0x221)]),this[_0x3b1f29(0x221)]=null);}[_0x95b05b(0x25a)](_0x41f3a0){const _0x248d34=_0x95b05b,_0x3affde=this[_0x248d34(0x2c3)][_0x248d34(0x201)]();_0x3affde[_0x248d34(0x2ad)]();let _0x5b9693=0x0;for(;_0x5b9693<_0x3affde[_0x248d34(0x2d7)];){const _0x1ccc3c=_0x3affde[_0x5b9693];if(_0x1ccc3c===this[_0x248d34(0x1eb)]){_0x5b9693++;continue;}if(_0x1ccc3c['id']===this[_0x248d34(0x1ee)])break;const _0x1429d2=_0x41f3a0[_0x248d34(0x2a1)]-_0x1ccc3c[_0x248d34(0x2a1)]||_0x41f3a0[_0x248d34(0x29a)]-_0x1ccc3c[_0x248d34(0x29a)];if(_0x1429d2>0x0)break;if(_0x1429d2<0x0)_0x5b9693++;else{if(!_0x41f3a0[_0x248d34(0x20f)]&&_0x1ccc3c[_0x248d34(0x20f)])break;if(_0x1ccc3c[_0x248d34(0x20f)]||!_0x41f3a0[_0x248d34(0x20f)]){if(_0x41f3a0[_0x248d34(0x215)]>_0x1ccc3c[_0x248d34(0x215)])break;_0x5b9693++;}else _0x5b9693++;}}return _0x5b9693;}[_0x95b05b(0x264)](_0xd7dfc8){const _0xd4733f=_0x95b05b,_0x37051a=this[_0xd4733f(0x2c3)][_0xd4733f(0x285)](_0xd7dfc8['id']);if(_0xd7dfc8[_0xd4733f(0x215)]&&(_0xd7dfc8[_0xd4733f(0x215)]=new Date(_0xd7dfc8[_0xd4733f(0x215)])),_0xd7dfc8[_0xd4733f(0x1ec)]){const _0x3ef9ac=this[_0xd4733f(0x29f)][_0xd4733f(0x24f)][_0xd4733f(0x20d)](_0xd4733f(0x286));_0xd7dfc8[_0xd4733f(0x2c4)]=_0xd7dfc8[_0xd4733f(0x1ec)][_0xd4733f(0x2a3)](_0x2797d2=>_0x3ef9ac[_0xd4733f(0x23c)](_0x2797d2));}_0x37051a[_0xd4733f(0x21e)](_0xd7dfc8,!0x0);}[_0x95b05b(0x1e7)]({revision:_0x581ca5=null,from:_0x4ed334=null,to:_0x1b0bb4=null}){const _0x82519=_0x95b05b;_0x4ed334=null!==_0x4ed334?_0x4ed334:_0x581ca5[_0x82519(0x29a)],_0x1b0bb4=null!==_0x1b0bb4?_0x1b0bb4:_0x581ca5[_0x82519(0x2a1)];const _0x109934=this[_0x82519(0x2ce)][_0x82519(0x2f9)](_0x4ed334,_0x1b0bb4),_0x5ea313={'diffData':_0x109934[_0x82519(0x2b4)],'authorsIds':_0x109934[_0x82519(0x1ec)],'fromVersion':_0x4ed334,'toVersion':_0x1b0bb4};if(!_0x581ca5||_0x1b0bb4!==_0x581ca5[_0x82519(0x2a1)]){const _0x701c96=_0x1b0bb4-0x1,_0x3c2b56=this[_0x82519(0x2c1)][_0x82519(0x287)][_0x82519(0x2e2)](_0x701c96);_0x5ea313[_0x82519(0x215)]=_0x3c2b56&&_0x3c2b56[_0x82519(0x215)]||new Date();}if(this[_0x82519(0x29c)]&&_0x4ed334===this[_0x82519(0x29c)][_0x82519(0x29a)]){for(const _0x38f4b7 of this[_0x82519(0x29c)][_0x82519(0x2c4)])_0x5ea313[_0x82519(0x1ec)][_0x82519(0x236)](_0x38f4b7['id'])||_0x5ea313[_0x82519(0x1ec)][_0x82519(0x1e8)](_0x38f4b7['id']);}return _0x5ea313;}[_0x95b05b(0x1f1)](_0x946b68){const _0x3a3874=_0x95b05b;if(!_0x946b68||_0x946b68[_0x3a3874(0x2b4)])return Promise[_0x3a3874(0x24d)]();{const _0x19e954=this[_0x3a3874(0x29f)][_0x3a3874(0x2dd)][_0x3a3874(0x20d)](_0x3a3874(0x2db));return this[_0x3a3874(0x290)][_0x3a3874(0x285)]({'channelId':_0x19e954,'revisionId':_0x946b68['id']})[_0x3a3874(0x20b)](_0x11d093=>{const _0xaef06=_0x3a3874;_0x946b68[_0xaef06(0x2b4)]=_0x11d093[_0xaef06(0x2b4)];});}}[_0x95b05b(0x208)](_0x467015,_0x3ef5f8,_0x3e5105){const _0x36ab44=_0x95b05b;if(this[_0x36ab44(0x2ea)][_0x36ab44(0x270)](_0x467015)){const _0x6b354d=this[_0x36ab44(0x2ea)][_0x36ab44(0x20d)](_0x467015);_0x3ef5f8=_0x3e5105?{..._0x6b354d,..._0x3ef5f8}:{..._0x3ef5f8,..._0x6b354d};}this[_0x36ab44(0x2ea)][_0x36ab44(0x279)](_0x467015,_0x3ef5f8);}[_0x95b05b(0x293)](_0x130b9f){const _0x132434=_0x95b05b,_0x478d8b=this[_0x132434(0x2c3)][_0x132434(0x201)]();_0x478d8b[_0x132434(0x2ad)](),_0x478d8b[_0x132434(0x1df)]();const _0x592f6f=_0x478d8b[_0x132434(0x268)](_0x380049=>_0x380049[_0x132434(0x2a1)]<=_0x130b9f)[_0x132434(0x2a1)];return _0x592f6f<this[_0x132434(0x2a9)]?this[_0x132434(0x2a9)]:_0x592f6f;}[_0x95b05b(0x25b)](_0x20f3ed){const _0x158e88=_0x95b05b,_0x5bff4f=this[_0x158e88(0x2c3)][_0x158e88(0x285)](this[_0x158e88(0x2c3)][_0x158e88(0x2d7)]-0x1);if(_0x5bff4f)this[_0x158e88(0x1ee)]=_0x5bff4f['id'];else{const _0x493c78=!this[_0x158e88(0x29f)][_0x158e88(0x267)][_0x158e88(0x1f4)][_0x158e88(0x2ca)][_0x158e88(0x268)](_0x45f689=>this[_0x158e88(0x29f)][_0x158e88(0x267)][_0x158e88(0x278)](_0x45f689)),_0x5928a4=this[_0x158e88(0x29f)][_0x158e88(0x24f)][_0x158e88(0x20d)](_0x158e88(0x286))['me']['id'],_0x3ca4c1=_0x5e7b9(this[_0x158e88(0x29f)][_0x158e88(0x2d4)],_0x493c78?_0x158e88(0x1f5):_0x158e88(0x2e1));this[_0x158e88(0x2c8)]({'from':_0x20f3ed,'to':_0x20f3ed,'id':this[_0x158e88(0x1ee)],'name':_0x3ca4c1,'creatorId':_0x5928a4});}}[_0x95b05b(0x2ed)](_0xc657a3){const _0x1c509f=_0x95b05b,_0x49771d=this[_0x1c509f(0x2c1)][_0x1c509f(0x22a)]();this[_0x1c509f(0x1eb)]=this[_0x1c509f(0x2c3)][_0x1c509f(0x285)](_0x49771d),this[_0x1c509f(0x1eb)]||(this[_0x1c509f(0x1eb)]=this[_0x1c509f(0x2c8)]({'from':_0xc657a3,'to':_0xc657a3,'id':_0x49771d,'name':'','creatorId':null}));}[_0x95b05b(0x2c8)]({name:_0xfa5306,from:_0x5b362b,to:_0x5e4ac3,creatorId:_0x192daf,id:_0x15cf12}){const _0x3af0b6=_0x95b05b,_0x4373ad=this[_0x3af0b6(0x1e7)]({'from':_0x5b362b,'to':_0x5e4ac3});_0x4373ad[_0x3af0b6(0x2e6)]=_0xfa5306,_0x4373ad[_0x3af0b6(0x2fa)]=_0x192daf,_0x4373ad['id']=_0x15cf12;const _0x4038a5=this[_0x3af0b6(0x255)](_0x4373ad);return this[_0x3af0b6(0x290)]&&this[_0x3af0b6(0x208)](_0x4373ad['id'],_0x4373ad,!0x0),_0x4038a5;}[_0x95b05b(0x2e3)](){const _0xd03c1c=_0x95b05b;this[_0xd03c1c(0x29f)][_0xd03c1c(0x2c9)][_0xd03c1c(0x238)](_0xd03c1c(0x2b5))[_0xd03c1c(0x258)]({'model':_0xd03c1c(0x2e7)});}[_0x95b05b(0x2de)](_0x3221da){const _0x13e1c1=_0x95b05b;return(_0x3221da=_0x3221da[_0x13e1c1(0x2e5)](_0x239c47=>!_0x239c47[_0x13e1c1(0x2e6)]||_0x13e1c1(0x2da)!==_0x239c47[_0x13e1c1(0x2e6)]&&_0x13e1c1(0x27e)!==_0x239c47[_0x13e1c1(0x2e6)]))[_0x13e1c1(0x247)](_0x2b2b83=>{const _0x42864f=_0x13e1c1;_0x42864f(0x2df)!=typeof _0x2b2b83&&(_0x2b2b83[_0x42864f(0x303)]=this[_0x42864f(0x2de)](_0x2b2b83[_0x42864f(0x303)]),_0x2b2b83[_0x42864f(0x269)]=_0x2b2b83[_0x42864f(0x269)][_0x42864f(0x2e5)](_0x2a116a=>!_0x2a116a[0x0][_0x42864f(0x200)](_0x42864f(0x1f0))));}),_0x3221da;}}function B(_0x3d3b28,_0x597457){const _0x4652ab=_0x95b05b,_0x4aec15=_0x597457[_0x4652ab(0x230)][_0x4652ab(0x23e)][_0x4652ab(0x1f4)];if(_0x4652ab(0x2df)==typeof _0x3d3b28)return new _0xb15d79(_0x4aec15,_0x3d3b28);{const _0x26c892=_0x3d3b28[_0x4652ab(0x303)][_0x4652ab(0x2a3)](_0xe4f579=>B(_0xe4f579,_0x597457));return new(T[_0x3d3b28[(_0x4652ab(0x26c))]]||_0x56ebc1)(_0x4aec15,_0x3d3b28[_0x4652ab(0x2e6)],_0x3d3b28[_0x4652ab(0x269)],_0x26c892);}}class J{constructor(_0x4fc45f){const _0xac6236=_0x95b05b;this[_0xac6236(0x29f)]=_0x4fc45f,this[_0xac6236(0x210)]=new Map(),this[_0xac6236(0x2b3)]=-0x1,this[_0xac6236(0x2bf)]=-0x1,this[_0xac6236(0x1f6)]=new Map(),this[_0xac6236(0x226)]=new Map(),this[_0xac6236(0x1e9)]=new Map(),this[_0xac6236(0x263)]=new Map(),this[_0xac6236(0x21b)]=new Map(),this[_0xac6236(0x1f9)]=new Map(),this[_0xac6236(0x257)]=new Map(),this[_0xac6236(0x2ab)]=new Map(),this[_0xac6236(0x228)]=new Map(),this[_0xac6236(0x1f3)]=new Map(),this[_0xac6236(0x21c)]=0x1;}[_0x95b05b(0x2d6)](_0x1a8c25){const _0x5cf997=_0x95b05b;this[_0x5cf997(0x1ff)]=_0x1a8c25;const _0x4f8a4d=new Map(),_0x394e24=new Map(),_0x29d182=this[_0x5cf997(0x29f)][_0x5cf997(0x267)][_0x5cf997(0x1f4)][_0x5cf997(0x2ca)][_0x5cf997(0x2a3)](_0x2d5c5d=>_0x2d5c5d[_0x5cf997(0x23b)]);for(const _0x3c0f28 of _0x29d182){const _0x1bf836=this[_0x5cf997(0x29f)][_0x5cf997(0x267)][_0x5cf997(0x1f4)][_0x5cf997(0x2ef)](_0x3c0f28),_0x274714=q(_0x1bf836);_0x4f8a4d[_0x5cf997(0x279)](_0x3c0f28,_0x274714),_0x394e24[_0x5cf997(0x279)](_0x3c0f28,Object[_0x5cf997(0x2ec)](_0x1bf836[_0x5cf997(0x299)]()));}const _0x98817d=Array[_0x5cf997(0x2c2)](this[_0x5cf997(0x29f)][_0x5cf997(0x267)][_0x5cf997(0x2be)])[_0x5cf997(0x2a3)](_0x548a10=>[_0x548a10[_0x5cf997(0x2e6)],_0x548a10[_0x5cf997(0x260)]()]),_0x530f50=this[_0x5cf997(0x1ff)][_0x5cf997(0x232)];this[_0x5cf997(0x229)](_0x530f50,_0x4f8a4d,_0x98817d,_0x394e24),this[_0x5cf997(0x1fd)]=this[_0x5cf997(0x21c)];const _0x3c8468=new Map(),_0x3b1d4c=new Map();for(const _0x3cd51d of _0x29d182){const _0x1d635b=G(_0x3cd51d);_0x3c8468[_0x5cf997(0x279)](_0x3cd51d,_0x1d635b),_0x3b1d4c[_0x5cf997(0x279)](_0x3cd51d,{});}this[_0x5cf997(0x229)](Number[_0x5cf997(0x1e6)],_0x3c8468,[],_0x3b1d4c);}[_0x95b05b(0x2f9)](_0x1a0f1f,_0x1e97de){const _0x5d3204=_0x95b05b;if(this[_0x5d3204(0x2b3)]===_0x1a0f1f&&this[_0x5d3204(0x2bf)]<=_0x1e97de)this[_0x5d3204(0x210)][_0x5d3204(0x2b2)]>0x1&&this[_0x5d3204(0x2bc)](this[_0x5d3204(0x2bf)]),this[_0x5d3204(0x24c)](this[_0x5d3204(0x2bf)],_0x1e97de,!0x0);else{if(!this[_0x5d3204(0x210)][_0x5d3204(0x270)](_0x1a0f1f)){const _0x3a45d0=this[_0x5d3204(0x227)](_0x1a0f1f);this[_0x5d3204(0x217)](_0x3a45d0,_0x1a0f1f,!0x1);}this[_0x5d3204(0x217)](_0x1a0f1f,_0x1e97de,!0x0);}return this[_0x5d3204(0x2b3)]=_0x1a0f1f,this[_0x5d3204(0x2bf)]=_0x1e97de,this[_0x5d3204(0x2a0)]();}[_0x95b05b(0x1ef)](_0x59f033){const _0x6ce49c=_0x95b05b;this[_0x6ce49c(0x214)](),this[_0x6ce49c(0x2b3)]=_0x59f033[_0x6ce49c(0x29a)],this[_0x6ce49c(0x2bf)]=_0x59f033[_0x6ce49c(0x2a1)];for(const _0x1b7471 in _0x59f033[_0x6ce49c(0x2b4)]){const _0x555ab3=_0x59f033[_0x6ce49c(0x2b4)][_0x1b7471][_0x6ce49c(0x206)],_0x12c54d=_0x94b9eb(_0x59f033[_0x6ce49c(0x2b4)][_0x1b7471][_0x6ce49c(0x277)])||{},_0xf67b0d=this[_0x6ce49c(0x302)](_0x59f033[_0x6ce49c(0x2b4)][_0x1b7471][_0x6ce49c(0x253)]);_0xf67b0d[_0x6ce49c(0x23b)]=_0x1b7471,_0xf67b0d[_0x6ce49c(0x1e5)]=!_0x555ab3||!_0x555ab3[_0x6ce49c(0x241)],_0xf67b0d[_0x6ce49c(0x241)]=()=>_0xf67b0d[_0x6ce49c(0x1e5)],this[_0x6ce49c(0x263)][_0x6ce49c(0x279)](_0x1b7471,_0xf67b0d),this[_0x6ce49c(0x21b)][_0x6ce49c(0x279)](_0x1b7471,_0x12c54d),_0x555ab3&&this[_0x6ce49c(0x1f3)][_0x6ce49c(0x279)](_0x1b7471,_0x555ab3);const _0x278f73=this[_0x6ce49c(0x22f)](_0xf67b0d);this[_0x6ce49c(0x257)][_0x6ce49c(0x279)](_0x1b7471,_0x278f73);for(const [_0x4ea313,_0x1823fe]of _0xf67b0d[_0x6ce49c(0x2be)]){if(!_0x4ea313[_0x6ce49c(0x200)](_0x6ce49c(0x239)))continue;const _0x43b90e=_0x4ea313[_0x6ce49c(0x235)](':')[0x2];for(const _0x2eb611 of _0x1823fe[_0x6ce49c(0x25e)]({'singleCharacters':!0x0})){const _0x516ee0=this[_0x6ce49c(0x23d)](_0x2eb611),_0x5137c3=_0x6ce49c(0x29d)==_0x2eb611[_0x6ce49c(0x26c)]?_0x2eb611[_0x6ce49c(0x224)][_0x6ce49c(0x2b7)][_0x6ce49c(0x23f)](0x0,-0x1):_0x2eb611[_0x6ce49c(0x224)][_0x6ce49c(0x2b7)],_0x5e0af1=_0x278f73[_0x6ce49c(0x2a6)](_0x5137c3)[_0x6ce49c(0x2e0)](_0x516ee0);this[_0x6ce49c(0x2ab)][_0x6ce49c(0x279)](_0x5e0af1,{'userId':_0x43b90e});}}}this[_0x6ce49c(0x1fd)]=this[_0x6ce49c(0x21c)];const _0xfa63ac=[...Array(this[_0x6ce49c(0x21c)])[_0x6ce49c(0x294)]()][_0x6ce49c(0x23f)](0x1)[_0x6ce49c(0x2e5)](_0x2a637a=>!this[_0x6ce49c(0x2ab)][_0x6ce49c(0x270)](_0x2a637a));let _0x2a55ad=0x0;const _0x55947a=new Map();for(const _0x46b7f2 in _0x59f033[_0x6ce49c(0x2b4)]){const _0x597148=_0x59f033[_0x6ce49c(0x2b4)][_0x46b7f2][_0x6ce49c(0x206)],_0x47f05d=_0x94b9eb(_0x59f033[_0x6ce49c(0x2b4)][_0x46b7f2][_0x6ce49c(0x2d5)])||{},_0x437620=this[_0x6ce49c(0x302)](_0x59f033[_0x6ce49c(0x2b4)][_0x46b7f2][_0x6ce49c(0x24e)]);_0x437620[_0x6ce49c(0x23b)]=_0x46b7f2,_0x437620[_0x6ce49c(0x1e5)]=!_0x597148||_0x597148[_0x6ce49c(0x241)],_0x437620[_0x6ce49c(0x241)]=()=>_0x437620[_0x6ce49c(0x1e5)],this[_0x6ce49c(0x226)][_0x6ce49c(0x279)](_0x46b7f2,_0x437620),this[_0x6ce49c(0x1e9)][_0x6ce49c(0x279)](_0x46b7f2,_0x47f05d);const _0x55ac3a=this[_0x6ce49c(0x22f)](_0x437620,Number[_0x6ce49c(0x1e6)]);this[_0x6ce49c(0x1f9)][_0x6ce49c(0x279)](_0x46b7f2,_0x55ac3a),_0x55947a[_0x6ce49c(0x279)](_0x46b7f2,_0x437620[_0x6ce49c(0x241)]()?_0x47f05d:{});for(const [_0x2898c8,_0xf17638]of _0x437620[_0x6ce49c(0x2be)]){if(!_0x2898c8[_0x6ce49c(0x200)](_0x6ce49c(0x239)))continue;const _0x5d0101=_0x2898c8[_0x6ce49c(0x235)](':')[0x2];for(const _0xa6eb02 of _0xf17638[_0x6ce49c(0x25e)]({'singleCharacters':!0x0})){const _0x5143bd=this[_0x6ce49c(0x23d)](_0xa6eb02),_0x5d2d3e=this[_0x6ce49c(0x21c)]++,_0x21eef8=_0x6ce49c(0x29d)==_0xa6eb02[_0x6ce49c(0x26c)]?_0xa6eb02[_0x6ce49c(0x224)][_0x6ce49c(0x2b7)][_0x6ce49c(0x23f)](0x0,-0x1):_0xa6eb02[_0x6ce49c(0x224)][_0x6ce49c(0x2b7)];_0x55ac3a[_0x6ce49c(0x2a6)](_0x21eef8)[_0x6ce49c(0x27c)](_0x5143bd,_0x5d2d3e),this[_0x6ce49c(0x2ab)][_0x6ce49c(0x279)](_0x5d2d3e,{'userId':_0x5d0101});}}for(const _0x4ba389 of this[_0x6ce49c(0x29f)][_0x6ce49c(0x267)][_0x6ce49c(0x2b6)](_0x437620)[_0x6ce49c(0x25e)]({'singleCharacters':!0x0})){const _0x3271b8=this[_0x6ce49c(0x23d)](_0x4ba389),_0x42a085=_0x6ce49c(0x29d)==_0x4ba389[_0x6ce49c(0x26c)]?_0x4ba389[_0x6ce49c(0x224)][_0x6ce49c(0x2b7)][_0x6ce49c(0x23f)](0x0,-0x1):_0x4ba389[_0x6ce49c(0x224)][_0x6ce49c(0x2b7)],_0x275274=_0x55ac3a[_0x6ce49c(0x2a6)](_0x42a085);_0x275274[_0x6ce49c(0x2e0)](_0x3271b8)>0x0||_0x275274[_0x6ce49c(0x27c)](_0x3271b8,_0xfa63ac[_0x2a55ad++]);}for(const [_0x18f8f6,_0x2fa67e]of _0x437620[_0x6ce49c(0x2be)])_0x18f8f6[_0x6ce49c(0x200)](_0x6ce49c(0x239))||this[_0x6ce49c(0x1f6)][_0x6ce49c(0x279)](_0x18f8f6,_0x2fa67e);}const _0x4655d3=G(_0x6ce49c(0x2d0));this[_0x6ce49c(0x263)][_0x6ce49c(0x279)](_0x6ce49c(0x2d0),_0x4655d3),this[_0x6ce49c(0x257)][_0x6ce49c(0x279)](_0x6ce49c(0x2d0),this[_0x6ce49c(0x22f)](_0x4655d3,0x1));const _0x1e8962=G(_0x6ce49c(0x2d0));this[_0x6ce49c(0x226)][_0x6ce49c(0x279)](_0x6ce49c(0x2d0),_0x1e8962),this[_0x6ce49c(0x1f9)][_0x6ce49c(0x279)](_0x6ce49c(0x2d0),this[_0x6ce49c(0x22f)](_0x1e8962,0x1));const _0x4df211=Array[_0x6ce49c(0x2c2)](this[_0x6ce49c(0x226)])[_0x6ce49c(0x2a3)](([_0x2825d7,_0x3edb63])=>[_0x2825d7,q(_0x3edb63)]);this[_0x6ce49c(0x229)](this[_0x6ce49c(0x2bf)],_0x4df211,this[_0x6ce49c(0x1f6)],_0x55947a);}[_0x95b05b(0x302)](_0x1f5fcd){const _0x124d4d=_0x95b05b,_0x1f9928=JSON[_0x124d4d(0x2fc)](_0x1f5fcd),_0x4e0852=this[_0x124d4d(0x29f)][_0x124d4d(0x230)][_0x124d4d(0x23e)][_0x124d4d(0x1f4)],_0x1dd8cf=new _0x135649(_0x4e0852,_0x1f9928[_0x124d4d(0x2a3)](_0x4ae88e=>B(_0x4ae88e,this[_0x124d4d(0x29f)])));return this[_0x124d4d(0x29f)][_0x124d4d(0x248)][_0x124d4d(0x1fa)](_0x1dd8cf);}[_0x95b05b(0x229)](_0x28fc11,_0x1f4c2f,_0x2fc8f2,_0x6f22b9){const _0x26082b=_0x95b05b,_0x5f2a29=new Map(_0x1f4c2f),_0x5455fd=new Map(_0x94b9eb(_0x6f22b9)),_0x4bc4db=new Map();for(const [_0xc7f23c,_0x4a1c7e]of _0x2fc8f2)_0x4bc4db[_0x26082b(0x279)](_0xc7f23c,{'start':_0x4a1c7e[_0x26082b(0x1fc)][_0x26082b(0x2cb)](),'end':_0x4a1c7e[_0x26082b(0x1f2)][_0x26082b(0x2cb)](),'rootName':_0x4a1c7e[_0x26082b(0x2b9)][_0x26082b(0x23b)]});this[_0x26082b(0x210)][_0x26082b(0x279)](_0x28fc11,{'roots':_0x5f2a29,'markers':_0x4bc4db,'rootsAttributes':_0x5455fd});}[_0x95b05b(0x2bc)](_0x454a87){const _0xc804e4=_0x95b05b;this[_0xc804e4(0x210)][_0xc804e4(0x273)](_0x454a87);}[_0x95b05b(0x23a)](){const _0x223a6e=_0x95b05b;this[_0x223a6e(0x214)](),this[_0x223a6e(0x2b3)]=-0x1,this[_0x223a6e(0x2bf)]=-0x1,this[_0x223a6e(0x210)][_0x223a6e(0x242)](),this[_0x223a6e(0x2d6)](this[_0x223a6e(0x1ff)]);}[_0x95b05b(0x214)](){const _0x317584=_0x95b05b;this[_0x317584(0x2ab)][_0x317584(0x242)](),this[_0x317584(0x228)][_0x317584(0x242)](),this[_0x317584(0x1f3)][_0x317584(0x242)](),this[_0x317584(0x226)][_0x317584(0x242)](),this[_0x317584(0x1e9)][_0x317584(0x242)](),this[_0x317584(0x263)][_0x317584(0x242)](),this[_0x317584(0x21b)][_0x317584(0x242)](),this[_0x317584(0x1f9)][_0x317584(0x242)](),this[_0x317584(0x257)][_0x317584(0x242)](),this[_0x317584(0x1f6)][_0x317584(0x242)](),this[_0x317584(0x21c)]=0x1,this[_0x317584(0x1fd)]=this[_0x317584(0x21c)];}[_0x95b05b(0x22f)](_0x18c629,_0x7cdcd2=null){const _0x270fff=_0x95b05b;let _0x4a1f12=null;_0x18c629['is'](_0x270fff(0x300))||(_0x4a1f12=new _0x3f0a4c(_0x18c629[_0x270fff(0x2e6)],{'vid_start':null===_0x7cdcd2?this[_0x270fff(0x21c)]++:_0x7cdcd2++}));const _0x522d3c=[];for(const _0x429376 of _0x18c629[_0x270fff(0x2bb)]())if(_0x429376['is'](_0x270fff(0x245))){_0x522d3c[_0x270fff(0x1e8)](this[_0x270fff(0x22f)](_0x429376,_0x7cdcd2));const _0xd91e31=_0x522d3c[_0x522d3c[_0x270fff(0x2d7)]-0x1];null!==_0x7cdcd2&&(_0x7cdcd2=_0xd91e31['is'](_0x270fff(0x245),_0x270fff(0x2cd))?_0xd91e31[_0x270fff(0x2e0)](_0x270fff(0x244))+0x1:_0xd91e31[_0x270fff(0x2e0)](_0x270fff(0x2fe))+0x1);}else{for(let _0x26b3e2=0x0;_0x26b3e2<_0x429376[_0x270fff(0x280)];_0x26b3e2++)_0x522d3c[_0x270fff(0x1e8)](new _0x3f0a4c(_0x270fff(0x2cd),{'vid':null===_0x7cdcd2?this[_0x270fff(0x21c)]++:_0x7cdcd2++}));}if(_0x18c629['is'](_0x270fff(0x300))){const _0x1147e1=G(_0x18c629[_0x270fff(0x23b)]);return _0x1147e1[_0x270fff(0x2c5)](0x0,_0x522d3c),_0x1147e1;}return _0x4a1f12[_0x270fff(0x27c)](_0x270fff(0x2fe),null===_0x7cdcd2?this[_0x270fff(0x21c)]++:_0x7cdcd2++),_0x4a1f12[_0x270fff(0x2c5)](0x0,_0x522d3c),_0x4a1f12;}[_0x95b05b(0x217)](_0xc9b1ae,_0x528f41,_0x4ad667){const _0x5a2370=_0x95b05b;this[_0x5a2370(0x214)]();const {roots:_0x59ee04,markers:_0x193537,rootsAttributes:_0x279c27}=this[_0x5a2370(0x210)][_0x5a2370(0x20d)](_0xc9b1ae);this[_0x5a2370(0x263)]=new Map(_0x59ee04),this[_0x5a2370(0x21b)]=new Map(_0x94b9eb(_0x279c27));for(const [_0x50570e,_0x413499]of this[_0x5a2370(0x263)])if(_0x5a2370(0x2d0)!==_0x50570e&&(this[_0x5a2370(0x226)][_0x5a2370(0x279)](_0x50570e,q(_0x413499)),this[_0x5a2370(0x1e9)]=new Map(_0x94b9eb(_0x279c27)),_0x4ad667)){const _0x106a87=this[_0x5a2370(0x21c)];this[_0x5a2370(0x1f9)][_0x5a2370(0x279)](_0x50570e,this[_0x5a2370(0x22f)](_0x413499)),this[_0x5a2370(0x257)][_0x5a2370(0x279)](_0x50570e,this[_0x5a2370(0x22f)](_0x413499,_0x106a87));}this[_0x5a2370(0x1fd)]=this[_0x5a2370(0x21c)],this[_0x5a2370(0x226)][_0x5a2370(0x279)](_0x5a2370(0x2d0),q(this[_0x5a2370(0x263)][_0x5a2370(0x20d)](_0x5a2370(0x2d0)))),_0x4ad667&&this[_0x5a2370(0x1f9)][_0x5a2370(0x279)](_0x5a2370(0x2d0),this[_0x5a2370(0x22f)](this[_0x5a2370(0x263)][_0x5a2370(0x20d)](_0x5a2370(0x2d0))));for(const [_0x2cc877,_0x205a42]of _0x193537){const _0x5932f7=this[_0x5a2370(0x263)][_0x5a2370(0x20d)](_0x205a42[_0x5a2370(0x23b)]),_0x1add4c=this[_0x5a2370(0x226)][_0x5a2370(0x20d)](_0x205a42[_0x5a2370(0x23b)]),_0x3493a0=new _0x5b7e7b(this[_0x5a2370(0x288)](_0x205a42[_0x5a2370(0x1fc)],_0x5932f7),this[_0x5a2370(0x288)](_0x205a42[_0x5a2370(0x1f2)],_0x5932f7)),_0x5e0ad3=this[_0x5a2370(0x272)](_0x3493a0,_0x1add4c);_0x5932f7[_0x5a2370(0x2be)][_0x5a2370(0x279)](_0x2cc877,_0x3493a0),this[_0x5a2370(0x1f6)][_0x5a2370(0x279)](_0x2cc877,_0x5e0ad3);}this[_0x5a2370(0x24c)](_0xc9b1ae,_0x528f41,_0x4ad667);}[_0x95b05b(0x24c)](_0x37c4ad,_0x29c8e7,_0x1dd4f4){const _0x24d60b=_0x95b05b;for(const _0x429bb1 of this[_0x24d60b(0x1ff)][_0x24d60b(0x2c7)](_0x37c4ad,_0x29c8e7))this[_0x24d60b(0x2dc)](_0x429bb1,_0x1dd4f4);for(const _0x338921 of this[_0x24d60b(0x226)][_0x24d60b(0x22d)]())_0x338921[_0x24d60b(0x2be)][_0x24d60b(0x242)]();for(const [_0x14f1ba,_0x56437b]of this[_0x24d60b(0x1f6)]){this[_0x24d60b(0x226)][_0x24d60b(0x20d)](_0x56437b[_0x24d60b(0x2b9)][_0x24d60b(0x23b)])[_0x24d60b(0x2be)][_0x24d60b(0x279)](_0x14f1ba,_0x56437b[_0x24d60b(0x2cb)]());}const _0x1bab88=new Map(),_0x57c6d1=new Map();for(const [_0x34c1fc,_0x34947f]of this[_0x24d60b(0x226)])_0x1bab88[_0x24d60b(0x279)](_0x34c1fc,q(_0x34947f)),_0x57c6d1[_0x24d60b(0x279)](_0x34c1fc,this[_0x24d60b(0x1e9)][_0x24d60b(0x20d)](_0x34c1fc));this[_0x24d60b(0x229)](_0x29c8e7,_0x1bab88,this[_0x24d60b(0x1f6)],_0x57c6d1);}[_0x95b05b(0x227)](_0x60f9a2){const _0x32ed28=_0x95b05b,_0x5befc1=Array[_0x32ed28(0x2c2)](this[_0x32ed28(0x210)][_0x32ed28(0x294)]());_0x5befc1[_0x32ed28(0x2a7)]((_0x4c7604,_0x488528)=>_0x4c7604-_0x488528),_0x5befc1[_0x32ed28(0x2ad)]();for(const _0x5603c2 of _0x5befc1)if(_0x5603c2<_0x60f9a2)return _0x5603c2;return Number[_0x32ed28(0x1e6)];}[_0x95b05b(0x246)](_0x57628e,_0x2abf56){const _0x48c4ec=_0x95b05b,_0x13c981=Array[_0x48c4ec(0x2c2)](_0x2abf56[_0x48c4ec(0x2be)])[_0x48c4ec(0x2a3)](([_0x3bd955,_0x200a52])=>[_0x3bd955,this[_0x48c4ec(0x272)](_0x200a52,_0x57628e)]);_0x57628e[_0x48c4ec(0x2be)]=new Map(_0x13c981);}[_0x95b05b(0x2f8)](_0x1e4b98){const _0x39418f=_0x95b05b;for(const _0x32162d of this[_0x39418f(0x1f6)][_0x39418f(0x22d)]()){const _0x54faac=_0x32162d[_0x39418f(0x2f0)](_0x1e4b98),_0x15ebdc=_0x5b7e7b[_0x39418f(0x1e0)](_0x54faac);_0x32162d[_0x39418f(0x1fc)]=_0x15ebdc[_0x39418f(0x1fc)],_0x32162d[_0x39418f(0x1f2)]=_0x15ebdc[_0x39418f(0x1f2)];}}[_0x95b05b(0x2dc)](_0x271351,_0x54242a){const _0x55c2d8=_0x95b05b;if(_0x55c2d8(0x20c)==_0x271351[_0x55c2d8(0x26c)]||_0x55c2d8(0x20e)==_0x271351[_0x55c2d8(0x26c)])return void this[_0x55c2d8(0x1e2)](_0x271351,_0x54242a);if(_0x55c2d8(0x276)==_0x271351[_0x55c2d8(0x26c)]){const _0x22f0db=_0x271351[_0x55c2d8(0x29e)][_0x55c2d8(0x2b9)][_0x55c2d8(0x23b)];this[_0x55c2d8(0x226)][_0x55c2d8(0x270)](_0x22f0db)||(this[_0x55c2d8(0x226)][_0x55c2d8(0x279)](_0x22f0db,G(_0x22f0db,!0x0)),this[_0x55c2d8(0x1e9)][_0x55c2d8(0x279)](_0x22f0db,{}),_0x54242a&&this[_0x55c2d8(0x1f9)][_0x55c2d8(0x279)](_0x22f0db,G(_0x22f0db,!0x0)));}else{if(_0x55c2d8(0x2ee)==_0x271351[_0x55c2d8(0x26c)]||_0x55c2d8(0x1ed)==_0x271351[_0x55c2d8(0x26c)]||_0x55c2d8(0x25f)==_0x271351[_0x55c2d8(0x26c)])return void this[_0x55c2d8(0x225)](_0x271351);}const _0x579c40=this[_0x55c2d8(0x21a)](_0x271351,this[_0x55c2d8(0x226)]);if(_0x55c2d8(0x213)!==_0x271351[_0x55c2d8(0x26c)]&&(_0x579c40[_0x55c2d8(0x22c)](),this[_0x55c2d8(0x2f8)](_0x579c40)),_0x54242a)switch(_0x579c40[_0x55c2d8(0x26c)]){case _0x55c2d8(0x276):this[_0x55c2d8(0x291)](_0x271351);break;case _0x55c2d8(0x1dc):case _0x55c2d8(0x209):case _0x55c2d8(0x2d9):this[_0x55c2d8(0x251)](_0x271351);break;case _0x55c2d8(0x2c6):this[_0x55c2d8(0x1f8)](_0x271351);break;case _0x55c2d8(0x235):this[_0x55c2d8(0x204)](_0x271351);break;case _0x55c2d8(0x213):this[_0x55c2d8(0x28f)](_0x271351);}}[_0x95b05b(0x21a)](_0x447354,_0xcaf33c){const _0x17126e=_0x95b05b,_0x48a610=_0x447354[_0x17126e(0x2cb)]();return _0x48a610[_0x17126e(0x250)]=_0x447354[_0x17126e(0x250)],this[_0x17126e(0x2b8)](_0x48a610,_0xcaf33c),_0x48a610;}[_0x95b05b(0x2f1)](_0x26b2a7){const _0x4dbd00=_0x95b05b;return _0x26b2a7[_0x4dbd00(0x2a3)](_0x54244=>{const _0x743ab7=_0x4dbd00,_0x1f2432=this[_0x743ab7(0x23d)](_0x54244);return Number(_0x54244[_0x743ab7(0x240)][_0x743ab7(0x2e0)](_0x1f2432));});}[_0x95b05b(0x256)](_0x5ab727,_0x328aff){const _0x4d5c4d=_0x95b05b;if(_0x5ab727['is'](_0x4d5c4d(0x245),_0x4d5c4d(0x2cd)))_0x328aff[_0x4d5c4d(0x1e8)]({'item':_0x5ab727,'type':_0x4d5c4d(0x2ba)});else{_0x5ab727['is'](_0x4d5c4d(0x245))&&_0x328aff[_0x4d5c4d(0x1e8)]({'item':_0x5ab727,'type':_0x4d5c4d(0x2f5)});for(const _0x6e4e99 of _0x5ab727[_0x4d5c4d(0x2bb)]())this[_0x4d5c4d(0x256)](_0x6e4e99,_0x328aff);_0x5ab727['is'](_0x4d5c4d(0x245))&&_0x328aff[_0x4d5c4d(0x1e8)]({'item':_0x5ab727,'type':_0x4d5c4d(0x29d)});}return _0x328aff;}[_0x95b05b(0x2a0)](){const _0x17e8fd=_0x95b05b,_0x20587b=new Map(this[_0x17e8fd(0x2ab)]),_0x59e840=new Map(_0x20587b),_0x2e6f04=new Map(),_0x3536aa={'insertions':{},'deletions':{}},_0x3fb649={'insertions':{},'deletions':{}},_0xe85ab9=new Map(),_0x377e76=new Set([...this[_0x17e8fd(0x263)][_0x17e8fd(0x294)](),...this[_0x17e8fd(0x226)][_0x17e8fd(0x294)]()]);_0x377e76[_0x17e8fd(0x273)](_0x17e8fd(0x2d0));for(const _0x16cfb3 of _0x377e76){const _0x15f9fc=this[_0x17e8fd(0x226)][_0x17e8fd(0x20d)](_0x16cfb3)||G(_0x16cfb3,!0x1),_0x52723b=this[_0x17e8fd(0x263)][_0x17e8fd(0x20d)](_0x16cfb3)||G(_0x16cfb3,!0x1);_0x15f9fc[_0x17e8fd(0x241)]()||_0x52723b[_0x17e8fd(0x241)]()?(_0x3536aa[_0x17e8fd(0x24e)][_0x16cfb3]=q(_0x15f9fc),_0x3536aa[_0x17e8fd(0x253)][_0x16cfb3]=q(_0x52723b),this[_0x17e8fd(0x246)](_0x3536aa[_0x17e8fd(0x253)][_0x16cfb3],_0x52723b),this[_0x17e8fd(0x246)](_0x3536aa[_0x17e8fd(0x24e)][_0x16cfb3],_0x15f9fc),_0x3fb649[_0x17e8fd(0x24e)][_0x16cfb3]=this[_0x17e8fd(0x256)](this[_0x17e8fd(0x1f9)][_0x17e8fd(0x20d)](_0x16cfb3),[]),_0x3fb649[_0x17e8fd(0x253)][_0x16cfb3]=this[_0x17e8fd(0x256)](this[_0x17e8fd(0x257)][_0x17e8fd(0x20d)](_0x16cfb3)||G(_0x16cfb3,!0x1),[])):_0x377e76[_0x17e8fd(0x273)](_0x16cfb3);}for(const _0x4bfdbf of _0x377e76){const _0x521376=_0x3fb649[_0x17e8fd(0x24e)][_0x4bfdbf];for(const _0x5c3c84 of _0x521376){const _0x18fbc6=this[_0x17e8fd(0x23d)](_0x5c3c84),_0x173e95=_0x5c3c84[_0x17e8fd(0x240)][_0x17e8fd(0x2e0)](_0x18fbc6);_0x59e840[_0x17e8fd(0x273)](_0x173e95),_0x173e95>=this[_0x17e8fd(0x1fd)]&&_0x2e6f04[_0x17e8fd(0x279)](_0x173e95,_0x20587b[_0x17e8fd(0x20d)](_0x173e95));}}for(const _0x446cf4 of _0x377e76){const _0x1e339c=_0x3fb649[_0x17e8fd(0x24e)][_0x446cf4],_0x4fcaa4=this[_0x17e8fd(0x2f1)](_0x3fb649[_0x17e8fd(0x253)][_0x446cf4]);let _0x23bdc5=0x0;for(const _0x372b54 of _0x1e339c){const _0x1078ec=this[_0x17e8fd(0x23d)](_0x372b54),_0x251ad6=_0x372b54[_0x17e8fd(0x240)][_0x17e8fd(0x2e0)](_0x1078ec);if(!_0x2e6f04[_0x17e8fd(0x270)](_0x251ad6)&&!_0xe85ab9[_0x17e8fd(0x270)](_0x251ad6)){if(_0x59e840[_0x17e8fd(0x270)](_0x251ad6))_0x23bdc5++;else{if(_0x251ad6!=_0x4fcaa4[_0x23bdc5]){const _0x780f8=_0x20587b[_0x17e8fd(0x20d)](_0x251ad6)||_0x20587b[_0x17e8fd(0x20d)](_0x4fcaa4[_0x23bdc5]);for(;_0x251ad6!=_0x4fcaa4[_0x23bdc5];)_0x59e840[_0x17e8fd(0x270)](_0x4fcaa4[_0x23bdc5])||(_0xe85ab9[_0x17e8fd(0x279)](_0x4fcaa4[_0x23bdc5],_0x780f8),_0x20587b[_0x17e8fd(0x279)](_0x4fcaa4[_0x23bdc5],_0x780f8)),_0x23bdc5++;}_0x23bdc5++;}}}}for(const _0x1c014b of _0x377e76){const _0xf0cc4a=_0x3fb649[_0x17e8fd(0x24e)][_0x1c014b];for(const _0x52bdb9 of _0xf0cc4a){const _0x5cbfbe=this[_0x17e8fd(0x23d)](_0x52bdb9),_0x486091=_0x52bdb9[_0x17e8fd(0x240)][_0x17e8fd(0x2e0)](_0x5cbfbe);if(_0xe85ab9[_0x17e8fd(0x270)](_0x486091)){const _0x146769=_0xe85ab9[_0x17e8fd(0x20d)](_0x486091);_0x59e840[_0x17e8fd(0x270)](_0x486091)||_0x59e840[_0x17e8fd(0x279)](_0x486091,{..._0x146769}),_0x2e6f04[_0x17e8fd(0x279)](_0x486091,{..._0x146769});}}}for(const _0x23a423 of _0x59e840[_0x17e8fd(0x294)]())_0x23a423>=this[_0x17e8fd(0x1fd)]&&_0x59e840[_0x17e8fd(0x273)](_0x23a423);const _0x3ccb26=new Map();for(const _0x4b0d9c of _0x377e76){let _0x4b6ccf=_0x3fb649[_0x17e8fd(0x24e)][_0x4b0d9c];for(const _0x4bfe51 of _0x4b6ccf)if(_0x4bfe51[_0x17e8fd(0x240)]['is'](_0x17e8fd(0x245),_0x17e8fd(0x1de))){const _0x573194=this[_0x17e8fd(0x23d)](_0x4bfe51),_0x84f835=_0x4bfe51[_0x17e8fd(0x240)][_0x17e8fd(0x2e0)](_0x573194);if(_0x2e6f04[_0x17e8fd(0x270)](_0x84f835)){const _0x201e91=_0x4bfe51[_0x17e8fd(0x240)][_0x17e8fd(0x2f7)][_0x17e8fd(0x2f7)][_0x17e8fd(0x2e0)](_0x17e8fd(0x1dd)),_0x4adc26=_0x3ccb26[_0x17e8fd(0x20d)](_0x201e91)||new Set();_0x4adc26[_0x17e8fd(0x24a)](_0x2e6f04[_0x17e8fd(0x20d)](_0x84f835)[_0x17e8fd(0x20a)]),_0x3ccb26[_0x17e8fd(0x279)](_0x201e91,_0x4adc26);}}_0x4b6ccf=_0x3fb649[_0x17e8fd(0x253)][_0x4b0d9c];for(const _0x139e11 of _0x4b6ccf)if(_0x139e11[_0x17e8fd(0x240)]['is'](_0x17e8fd(0x245),_0x17e8fd(0x1de))){const _0xa454ba=this[_0x17e8fd(0x23d)](_0x139e11),_0x3700d5=_0x139e11[_0x17e8fd(0x240)][_0x17e8fd(0x2e0)](_0xa454ba);if(_0x59e840[_0x17e8fd(0x270)](_0x3700d5)){const _0x1e1d83=_0x139e11[_0x17e8fd(0x240)][_0x17e8fd(0x2f7)][_0x17e8fd(0x2f7)][_0x17e8fd(0x2e0)](_0x17e8fd(0x1dd)),_0x389efa=_0x3ccb26[_0x17e8fd(0x20d)](_0x1e1d83)||new Set();_0x389efa[_0x17e8fd(0x24a)](_0x59e840[_0x17e8fd(0x20d)](_0x3700d5)[_0x17e8fd(0x20a)]),_0x3ccb26[_0x17e8fd(0x279)](_0x1e1d83,_0x389efa);}}for(const _0x47b9b3 of _0x3ccb26[_0x17e8fd(0x294)]())(_0x2e6f04[_0x17e8fd(0x270)](_0x47b9b3)||_0x59e840[_0x17e8fd(0x270)](_0x47b9b3))&&_0x3ccb26[_0x17e8fd(0x273)](_0x47b9b3);}for(const _0x2bc1fb of _0x377e76){const _0x245fb6=_0x3fb649[_0x17e8fd(0x24e)][_0x2bc1fb];let _0x3c8c9f=null,_0x51b65a=null;for(const _0x338ca7 of _0x245fb6){const _0x8e5cd7=this[_0x17e8fd(0x23d)](_0x338ca7),_0x15e635=_0x338ca7[_0x17e8fd(0x240)][_0x17e8fd(0x2e0)](_0x8e5cd7),_0x3cec9d=_0x3ccb26[_0x17e8fd(0x20d)](_0x15e635);_0x3cec9d&&_0x17e8fd(0x2f5)==_0x338ca7[_0x17e8fd(0x26c)]&&(_0x3c8c9f=Array[_0x17e8fd(0x2c2)](_0x3cec9d)[0x0],_0x51b65a=_0x338ca7[_0x17e8fd(0x240)][_0x17e8fd(0x2e0)](_0x17e8fd(0x2fe))),_0x3c8c9f&&(_0x59e840[_0x17e8fd(0x279)](_0x15e635,{'userId':_0x3c8c9f}),_0x2e6f04[_0x17e8fd(0x279)](_0x15e635,{'userId':_0x3c8c9f})),_0x15e635==_0x51b65a&&(_0x3c8c9f=null,_0x51b65a=null);}}const _0x7c25ed={},_0x13ccc4=new Set();for(const _0x1ded31 of _0x377e76){const _0xa663b4=_0x3536aa[_0x17e8fd(0x253)][_0x1ded31],_0x5ebe32=_0x3536aa[_0x17e8fd(0x24e)][_0x1ded31];for(const {userId:_0x251102}of this[_0x17e8fd(0x228)][_0x17e8fd(0x22d)]())null!==_0x251102&&_0x13ccc4[_0x17e8fd(0x24a)](_0x251102);for(const {userId:_0x1e3a86}of this[_0x17e8fd(0x1f3)][_0x17e8fd(0x22d)]())null!==_0x1e3a86&&_0x13ccc4[_0x17e8fd(0x24a)](_0x1e3a86);this[_0x17e8fd(0x2ae)](_0x5ebe32,_0x3fb649[_0x17e8fd(0x24e)][_0x1ded31],_0x2e6f04,_0x17e8fd(0x298),_0x13ccc4),this[_0x17e8fd(0x2ae)](_0xa663b4,_0x3fb649[_0x17e8fd(0x253)][_0x1ded31],_0x59e840,_0x17e8fd(0x2b1),_0x13ccc4),_0x7c25ed[_0x1ded31]={'insertions':this[_0x17e8fd(0x26e)](_0x5ebe32),'deletions':this[_0x17e8fd(0x26e)](_0xa663b4),'attachChange':this[_0x17e8fd(0x1f3)][_0x17e8fd(0x20d)](_0x1ded31)||null,'attributesBefore':_0x94b9eb(this[_0x17e8fd(0x21b)][_0x17e8fd(0x20d)](_0x1ded31))||{},'attributesAfter':_0x94b9eb(this[_0x17e8fd(0x1e9)][_0x17e8fd(0x20d)](_0x1ded31))};}return{'diffData':_0x7c25ed,'authorsIds':Array[_0x17e8fd(0x2c2)](_0x13ccc4)};}[_0x95b05b(0x233)](_0x32a1a9){const _0x1cfecb=_0x95b05b;for(const [,_0x51279a]of _0x32a1a9[_0x1cfecb(0x2be)]){const _0x9f8b3a=_0x51279a[_0x1cfecb(0x1fc)][_0x1cfecb(0x2fb)]()[_0x1cfecb(0x2e5)](_0x143ba3=>_0x1cfecb(0x1de)==_0x143ba3[_0x1cfecb(0x2e6)]);for(const _0x168cd4 of _0x9f8b3a)0x1==_0x168cd4[_0x1cfecb(0x28b)]&&_0x168cd4[_0x1cfecb(0x295)](0x0)['is'](_0x1cfecb(0x245),_0x1cfecb(0x2a8))&&_0x168cd4[_0x1cfecb(0x295)](0x0)[_0x1cfecb(0x27c)](_0x1cfecb(0x274),!0x0);}}[_0x95b05b(0x26e)](_0x435949){const _0x3e286d=_0x95b05b;this[_0x3e286d(0x233)](_0x435949);const _0x21e4d5=this[_0x3e286d(0x29f)][_0x3e286d(0x248)][_0x3e286d(0x284)](_0x435949,{}),_0xd2586b=Array[_0x3e286d(0x2c2)](_0x21e4d5[_0x3e286d(0x2bb)]())[_0x3e286d(0x2a3)](_0x10dfce=>this[_0x3e286d(0x231)](_0x10dfce));return JSON[_0x3e286d(0x301)](_0xd2586b);}[_0x95b05b(0x231)](_0x36a38b){const _0x388be6=_0x95b05b;if(_0x36a38b['is'](_0x388be6(0x2cd)))return _0x36a38b[_0x388be6(0x248)];{const _0x4d68f0=_0x36a38b;return{'type':Object[_0x388be6(0x294)](T)[_0x388be6(0x268)](_0x287ea7=>_0x36a38b instanceof T[_0x287ea7]),'name':_0x4d68f0[_0x388be6(0x2e6)],'attributes':Array[_0x388be6(0x2c2)](_0x4d68f0[_0x388be6(0x299)]()),'children':Array[_0x388be6(0x2c2)](_0x4d68f0[_0x388be6(0x2bb)]())[_0x388be6(0x2a3)](_0x9e4042=>this[_0x388be6(0x231)](_0x9e4042))};}}[_0x95b05b(0x2ae)](_0xf0ec67,_0x36bf58,_0x15fd69,_0x304aeb,_0x5abb57){const _0x51cb9a=_0x95b05b;let _0x1db16c=null,_0x2edc69=null,_0x4601a2=0x0;const _0x1f357a=this[_0x51cb9a(0x29f)][_0x51cb9a(0x267)];for(let _0x271e66=0x0;_0x271e66<_0x36bf58[_0x51cb9a(0x2d7)];_0x271e66++){const _0x5cddc1=this[_0x51cb9a(0x23d)](_0x36bf58[_0x271e66]),_0x483d46=_0x36bf58[_0x271e66][_0x51cb9a(0x240)][_0x51cb9a(0x2e0)](_0x5cddc1),_0x50b561=_0x15fd69[_0x51cb9a(0x20d)](_0x483d46),_0x5caecd=_0x271e66==_0x36bf58[_0x51cb9a(0x2d7)]-0x1;(!_0x1db16c&&_0x50b561&&(_0x1db16c=_0x50b561,_0x2edc69=_0x36bf58[_0x271e66]),_0x1db16c&&(!_0x50b561||_0x50b561[_0x51cb9a(0x20a)]!=_0x1db16c[_0x51cb9a(0x20a)]))&&(_0x1effd1(_0x50b561,L(_0x2edc69,_0xf0ec67,_0x1f357a),L(_0x36bf58[_0x271e66],_0xf0ec67,_0x1f357a)),_0x1db16c=_0x50b561||null,_0x2edc69=_0x50b561?_0x36bf58[_0x271e66]:null),_0x1db16c&&_0x5caecd&&_0x1effd1(_0x50b561,L(_0x2edc69,_0xf0ec67,_0x1f357a),W(_0x36bf58[_0x271e66],_0xf0ec67,_0x1f357a));}function _0x1effd1(_0x462bda,_0x3fde30,_0x360e92){const _0x4b64a8=_0x51cb9a,_0x29e5a3=_0x1db16c[_0x4b64a8(0x20a)],_0x5cb4bc=_0x4b64a8(0x239)+_0x304aeb+':'+_0x29e5a3+':'+_0x4601a2++,_0x4984fd=_0x1f357a[_0x4b64a8(0x28d)](_0x3fde30,_0x360e92);_0xf0ec67[_0x4b64a8(0x2be)][_0x4b64a8(0x279)](_0x5cb4bc,_0x4984fd),null!==_0x29e5a3&&_0x5abb57[_0x4b64a8(0x24a)](_0x29e5a3);}}[_0x95b05b(0x23d)](_0x4fdeae){const _0x3fd233=_0x95b05b;switch(_0x4fdeae[_0x3fd233(0x26c)]){case _0x3fd233(0x2f5):return _0x3fd233(0x1dd);case _0x3fd233(0x29d):return _0x3fd233(0x2fe);default:return _0x3fd233(0x244);}}[_0x95b05b(0x2b8)](_0x170fc6,_0x226135){const _0x39e733=_0x95b05b;_0x170fc6[_0x39e733(0x27d)]=null;for(const _0x30ac83 in _0x170fc6){const _0x6bb3f0=_0x170fc6[_0x30ac83];if(_0x6bb3f0 instanceof _0x5f14a9){const _0x39abe5=_0x226135[_0x39e733(0x20d)](_0x6bb3f0[_0x39e733(0x2b9)][_0x39e733(0x23b)]);_0x170fc6[_0x30ac83]=this[_0x39e733(0x288)](_0x6bb3f0,_0x39abe5);}if(_0x6bb3f0 instanceof _0x5b7e7b){const _0x4108d4=_0x226135[_0x39e733(0x20d)](_0x6bb3f0[_0x39e733(0x2b9)][_0x39e733(0x23b)]);_0x170fc6[_0x30ac83]=this[_0x39e733(0x272)](_0x6bb3f0,_0x4108d4);}_0x39e733(0x2b9)===_0x30ac83&&(_0x170fc6[_0x39e733(0x2b9)]=_0x226135[_0x39e733(0x20d)](_0x170fc6[_0x39e733(0x2b9)][_0x39e733(0x23b)]));}}[_0x95b05b(0x272)](_0x4dc2c1,_0xd14f5c){const _0x96dadd=_0x95b05b;return this[_0x96dadd(0x29f)][_0x96dadd(0x267)][_0x96dadd(0x28d)](this[_0x96dadd(0x288)](_0x4dc2c1[_0x96dadd(0x1fc)],_0xd14f5c),this[_0x96dadd(0x288)](_0x4dc2c1[_0x96dadd(0x1f2)],_0xd14f5c));}[_0x95b05b(0x288)](_0x579b5e,_0x176f84){const _0x400de3=_0x95b05b;return this[_0x400de3(0x29f)][_0x400de3(0x267)][_0x400de3(0x26a)](_0x176f84,_0x579b5e[_0x400de3(0x2b7)],_0x579b5e[_0x400de3(0x2b0)]);}[_0x95b05b(0x291)](_0xa04f39){const _0x40e3ed=_0x95b05b,_0xd3d0d7=this[_0x40e3ed(0x1f9)][_0x40e3ed(0x20d)](_0xa04f39[_0x40e3ed(0x29e)][_0x40e3ed(0x2b9)][_0x40e3ed(0x23b)]),_0x128e37=this[_0x40e3ed(0x288)](_0xa04f39[_0x40e3ed(0x29e)],_0xd3d0d7),_0x4f18b5=null===_0xa04f39[_0x40e3ed(0x250)]?null:_0xa04f39[_0x40e3ed(0x250)]||this[_0x40e3ed(0x29f)][_0x40e3ed(0x24f)][_0x40e3ed(0x20d)](_0x40e3ed(0x286))['me']['id'],_0x54f9e9=_0x128e37[_0x40e3ed(0x2f7)],_0x45e0e2=this[_0x40e3ed(0x21c)],_0x4d9bb9=[];for(const _0x1c9165 of _0xa04f39[_0x40e3ed(0x2fd)])if(_0x1c9165['is'](_0x40e3ed(0x245)))_0x4d9bb9[_0x40e3ed(0x1e8)](this[_0x40e3ed(0x22f)](_0x1c9165));else{for(let _0x301a98=0x0;_0x301a98<_0x1c9165[_0x40e3ed(0x280)];_0x301a98++)_0x4d9bb9[_0x40e3ed(0x1e8)](new _0x3f0a4c(_0x40e3ed(0x2cd),{'vid':this[_0x40e3ed(0x21c)]++}));}const _0x2af436=this[_0x40e3ed(0x21c)];for(let _0x4bbd33=_0x45e0e2;_0x4bbd33<_0x2af436;_0x4bbd33++)this[_0x40e3ed(0x2ab)][_0x40e3ed(0x279)](_0x4bbd33,{'userId':_0x4f18b5});_0x54f9e9[_0x40e3ed(0x2c5)](_0x128e37[_0x40e3ed(0x1f7)],_0x4d9bb9);}[_0x95b05b(0x251)](_0x24f18e){const _0x385e91=_0x95b05b;(_0x24f18e=this[_0x385e91(0x21a)](_0x24f18e,this[_0x385e91(0x1f9)]))[_0x385e91(0x22c)]();const _0x565fc3=null===_0x24f18e[_0x385e91(0x250)]?null:_0x24f18e[_0x385e91(0x250)]||this[_0x385e91(0x29f)][_0x385e91(0x24f)][_0x385e91(0x20d)](_0x385e91(0x286))['me']['id'],_0xab57fe=_0x24f18e[_0x385e91(0x283)](),_0x117007=_0xab57fe[_0x385e91(0x2f7)],_0x20f148=_0xab57fe[_0x385e91(0x1f7)];!function _0x2f614f(_0x213791,_0x51582f,_0x525e3d,_0x41c391){const _0x39a8ae=_0x385e91;for(let _0x15e9d7=_0x525e3d;_0x15e9d7<_0x41c391;_0x15e9d7++){const _0x12203f=_0x51582f[_0x39a8ae(0x295)](_0x15e9d7);_0x12203f['is'](_0x39a8ae(0x245),_0x39a8ae(0x2cd))?_0x213791[_0x39a8ae(0x279)](_0x12203f[_0x39a8ae(0x2e0)](_0x39a8ae(0x244)),{'userId':_0x565fc3}):(_0x213791[_0x39a8ae(0x279)](_0x12203f[_0x39a8ae(0x2e0)](_0x39a8ae(0x1dd)),{'userId':_0x565fc3}),_0x2f614f(_0x213791,_0x12203f,0x0,_0x12203f[_0x39a8ae(0x28b)]),_0x213791[_0x39a8ae(0x279)](_0x12203f[_0x39a8ae(0x2e0)](_0x39a8ae(0x2fe)),{'userId':_0x565fc3}));}}(this[_0x385e91(0x2ab)],_0x117007,_0x20f148,_0x20f148+_0x24f18e[_0x385e91(0x1e4)]);}[_0x95b05b(0x1f8)](_0x57453e){const _0x5445d0=_0x95b05b,_0x5e40bf=null===(_0x57453e=this[_0x5445d0(0x21a)](_0x57453e,this[_0x5445d0(0x1f9)]))[_0x5445d0(0x250)]?null:_0x57453e[_0x5445d0(0x250)]||this[_0x5445d0(0x29f)][_0x5445d0(0x24f)][_0x5445d0(0x20d)](_0x5445d0(0x286))['me']['id'],_0x5f15ec=_0x57453e[_0x5445d0(0x2aa)][_0x5445d0(0x2f7)],_0x206b9d=_0x57453e[_0x5445d0(0x211)][_0x5445d0(0x2f7)],_0xccd3d9=_0x5f15ec[_0x5445d0(0x2e0)](_0x5445d0(0x2fe)),_0x28e042=_0x206b9d[_0x5445d0(0x2e0)](_0x5445d0(0x1dd));_0x5f15ec[_0x5445d0(0x27c)](_0x5445d0(0x2fe),_0x206b9d[_0x5445d0(0x2e0)](_0x5445d0(0x2fe))),_0x206b9d[_0x5445d0(0x27c)](_0x5445d0(0x2fe),_0xccd3d9),this[_0x5445d0(0x2ab)][_0x5445d0(0x279)](_0x28e042,{'userId':_0x5e40bf}),this[_0x5445d0(0x2ab)][_0x5445d0(0x279)](_0xccd3d9,{'userId':_0x5e40bf}),_0x57453e[_0x5445d0(0x22c)]();}[_0x95b05b(0x204)](_0x20faeb){const _0x34df93=_0x95b05b,_0x157b7f=null===(_0x20faeb=this[_0x34df93(0x21a)](_0x20faeb,this[_0x34df93(0x1f9)]))[_0x34df93(0x250)]?null:_0x20faeb[_0x34df93(0x250)]||this[_0x34df93(0x29f)][_0x34df93(0x24f)][_0x34df93(0x20d)](_0x34df93(0x286))['me']['id'],_0x2c2379=_0x20faeb[_0x34df93(0x2a4)],_0x12949e=_0x20faeb[_0x34df93(0x2a5)][_0x34df93(0x2f7)];_0x20faeb[_0x34df93(0x22c)]();const _0x32e860=_0x12949e[_0x34df93(0x2e0)](_0x34df93(0x2fe)),_0x5f1884=_0x20faeb[_0x34df93(0x2f2)][_0x34df93(0x234)];if(_0x2c2379){const _0x17e47f=_0x5f1884[_0x34df93(0x2e0)](_0x34df93(0x2fe)),_0x4ddda9=_0x12949e[_0x34df93(0x2e0)](_0x34df93(0x2fe));_0x12949e[_0x34df93(0x27c)](_0x34df93(0x2fe),_0x17e47f),_0x5f1884[_0x34df93(0x27c)](_0x34df93(0x2fe),_0x4ddda9),this[_0x34df93(0x2ab)][_0x34df93(0x279)](_0x12949e[_0x34df93(0x2e0)](_0x34df93(0x2fe)),{'userId':_0x157b7f}),this[_0x34df93(0x2ab)][_0x34df93(0x279)](_0x5f1884[_0x34df93(0x2e0)](_0x34df93(0x1dd)),{'userId':_0x157b7f});}else{const _0x206291=this[_0x34df93(0x21c)]++,_0x1a87a8=this[_0x34df93(0x21c)]++;_0x12949e[_0x34df93(0x27c)](_0x34df93(0x2fe),_0x206291),_0x5f1884[_0x34df93(0x27c)](_0x34df93(0x1dd),_0x1a87a8),_0x5f1884[_0x34df93(0x27c)](_0x34df93(0x2fe),_0x32e860),this[_0x34df93(0x2ab)][_0x34df93(0x279)](_0x206291,{'userId':_0x157b7f}),this[_0x34df93(0x2ab)][_0x34df93(0x279)](_0x1a87a8,{'userId':_0x157b7f});}}[_0x95b05b(0x28f)](_0x1a128b){const _0x227555=_0x95b05b;if(!_0x1a128b[_0x227555(0x2ff)])return;const _0x48b2cf=(_0x1a128b=this[_0x227555(0x21a)](_0x1a128b,this[_0x227555(0x226)]))[_0x227555(0x28e)]?_0x1a128b[_0x227555(0x28e)][_0x227555(0x2b9)]:null,_0x2f3fe0=_0x1a128b[_0x227555(0x261)]?_0x1a128b[_0x227555(0x261)][_0x227555(0x2b9)]:null;_0x48b2cf&&this[_0x227555(0x1f6)][_0x227555(0x273)](_0x1a128b[_0x227555(0x2e6)]),_0x2f3fe0&&this[_0x227555(0x1f6)][_0x227555(0x279)](_0x1a128b[_0x227555(0x2e6)],_0x1a128b[_0x227555(0x261)][_0x227555(0x2cb)]());const _0x181677=null===_0x1a128b[_0x227555(0x250)]?null:_0x1a128b[_0x227555(0x250)]||this[_0x227555(0x29f)][_0x227555(0x24f)][_0x227555(0x20d)](_0x227555(0x286))['me']['id'],_0x1bdac9=_0x1a128b[_0x227555(0x2e6)];if(!this[_0x227555(0x228)][_0x227555(0x270)](_0x1bdac9))return void this[_0x227555(0x228)][_0x227555(0x279)](_0x1bdac9,{'range':_0x1a128b[_0x227555(0x28e)],'userId':_0x181677});const _0x1e780e=this[_0x227555(0x228)][_0x227555(0x20d)](_0x1bdac9),_0x49b917=_0x1e780e[_0x227555(0x296)],_0x3c3f61=_0x1a128b[_0x227555(0x261)];null==_0x49b917&&null==_0x3c3f61||_0x49b917&&_0x3c3f61&&_0x49b917[_0x227555(0x22b)](_0x3c3f61)?this[_0x227555(0x228)][_0x227555(0x273)](_0x1a128b[_0x227555(0x2e6)]):_0x1e780e[_0x227555(0x20a)]=_0x181677;}[_0x95b05b(0x1e2)](_0x2bbe0b,_0xedf854){const _0x470e67=_0x95b05b;this[_0x470e67(0x226)][_0x470e67(0x270)](_0x2bbe0b[_0x470e67(0x23b)])?this[_0x470e67(0x226)][_0x470e67(0x20d)](_0x2bbe0b[_0x470e67(0x23b)])[_0x470e67(0x1e5)]=_0x2bbe0b[_0x470e67(0x282)]:(this[_0x470e67(0x226)][_0x470e67(0x279)](_0x2bbe0b[_0x470e67(0x23b)],G(_0x2bbe0b[_0x470e67(0x23b)],!0x0)),this[_0x470e67(0x1e9)][_0x470e67(0x279)](_0x2bbe0b[_0x470e67(0x23b)],{}),_0xedf854&&this[_0x470e67(0x1f9)][_0x470e67(0x279)](_0x2bbe0b[_0x470e67(0x23b)],G(_0x2bbe0b[_0x470e67(0x23b)],!0x0)));const _0x326357=null===_0x2bbe0b[_0x470e67(0x250)]?null:_0x2bbe0b[_0x470e67(0x250)]||this[_0x470e67(0x29f)][_0x470e67(0x24f)][_0x470e67(0x20d)](_0x470e67(0x286))['me']['id'],_0x56ea89=this[_0x470e67(0x1f3)][_0x470e67(0x20d)](_0x2bbe0b[_0x470e67(0x23b)]);_0x56ea89&&_0x56ea89[_0x470e67(0x20a)]===_0x326357?this[_0x470e67(0x1f3)][_0x470e67(0x273)](_0x2bbe0b[_0x470e67(0x23b)]):this[_0x470e67(0x1f3)][_0x470e67(0x279)](_0x2bbe0b[_0x470e67(0x23b)],{'userId':_0x326357,'isAttached':_0x2bbe0b[_0x470e67(0x282)]});}[_0x95b05b(0x225)](_0x2658d9){const _0x4fb68a=_0x95b05b,_0x3fb374=this[_0x4fb68a(0x1e9)][_0x4fb68a(0x20d)](_0x2658d9[_0x4fb68a(0x2b9)][_0x4fb68a(0x23b)]);null===_0x2658d9[_0x4fb68a(0x28a)]?delete _0x3fb374[_0x2658d9[_0x4fb68a(0x29b)]]:_0x3fb374[_0x2658d9[_0x4fb68a(0x29b)]]=_0x2658d9[_0x4fb68a(0x28a)];}}function q(_0x558b7e){const _0x2c2163=_0x95b05b,_0x282d80=G(_0x558b7e[_0x2c2163(0x23b)],_0x558b7e[_0x2c2163(0x241)]());for(const _0xfd3ab2 of _0x558b7e[_0x2c2163(0x2bb)]()){const _0x590ce6=_0xfd3ab2[_0x2c2163(0x27b)](!0x0);_0x282d80[_0x2c2163(0x25d)](_0x590ce6);}return _0x282d80;}function G(_0x57aa4e,_0x2a3059=!0x0){const _0x46cf29=_0x95b05b,_0x349cdb=new _0x405ee4();return _0x349cdb[_0x46cf29(0x23b)]=_0x57aa4e,_0x349cdb[_0x46cf29(0x1e5)]=_0x2a3059,_0x349cdb[_0x46cf29(0x241)]=()=>_0x349cdb[_0x46cf29(0x1e5)],_0x349cdb;}function L(_0x51edb5,_0x3964d0,_0x12fc32){const _0x516198=_0x95b05b,_0x5c855f=_0x516198(0x29d)==_0x51edb5[_0x516198(0x26c)]?_0x12fc32[_0x516198(0x292)](_0x51edb5[_0x516198(0x240)],_0x516198(0x1f2)):_0x12fc32[_0x516198(0x223)](_0x51edb5[_0x516198(0x240)]);return _0x12fc32[_0x516198(0x26a)](_0x3964d0,_0x5c855f[_0x516198(0x2b7)],_0x5c855f[_0x516198(0x2b0)]);}function W(_0x2f0e00,_0x19e00f,_0xa2e7e2){const _0x3010ba=_0x95b05b,_0x4d4406=_0x3010ba(0x2f5)==_0x2f0e00[_0x3010ba(0x26c)]?_0xa2e7e2[_0x3010ba(0x292)](_0x2f0e00[_0x3010ba(0x240)],0x0):_0xa2e7e2[_0x3010ba(0x271)](_0x2f0e00[_0x3010ba(0x240)]);return _0xa2e7e2[_0x3010ba(0x26a)](_0x19e00f,_0x4d4406[_0x3010ba(0x2b7)],_0x4d4406[_0x3010ba(0x2b0)]);}
@@ -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(