@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240626.1 → 0.0.0-nightly-20240628.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/build/revision-history.js +1 -1
  2. package/build/translations/fa.js +1 -1
  3. package/build/translations/he.js +1 -1
  4. package/build/translations/ko.js +1 -1
  5. package/build/translations/nl.js +1 -1
  6. package/build/translations/tk.js +1 -1
  7. package/build/translations/ur.js +1 -1
  8. package/build/translations/zh-cn.js +1 -1
  9. package/dist/index.js +6 -6
  10. package/dist/translations/af.js +1 -1
  11. package/dist/translations/af.umd.js +1 -1
  12. package/dist/translations/ar.js +1 -1
  13. package/dist/translations/ar.umd.js +1 -1
  14. package/dist/translations/az.js +1 -1
  15. package/dist/translations/az.umd.js +1 -1
  16. package/dist/translations/bg.js +1 -1
  17. package/dist/translations/bg.umd.js +1 -1
  18. package/dist/translations/bn.js +1 -1
  19. package/dist/translations/bn.umd.js +1 -1
  20. package/dist/translations/bs.js +1 -1
  21. package/dist/translations/bs.umd.js +1 -1
  22. package/dist/translations/ca.js +1 -1
  23. package/dist/translations/ca.umd.js +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.js +1 -1
  27. package/dist/translations/da.umd.js +1 -1
  28. package/dist/translations/de-ch.js +1 -1
  29. package/dist/translations/de-ch.umd.js +1 -1
  30. package/dist/translations/de.js +1 -1
  31. package/dist/translations/de.umd.js +1 -1
  32. package/dist/translations/el.js +1 -1
  33. package/dist/translations/el.umd.js +1 -1
  34. package/dist/translations/en-au.js +1 -1
  35. package/dist/translations/en-au.umd.js +1 -1
  36. package/dist/translations/en-gb.js +1 -1
  37. package/dist/translations/en-gb.umd.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/he.js +1 -1
  54. package/dist/translations/he.umd.js +1 -1
  55. package/dist/translations/hi.js +1 -1
  56. package/dist/translations/hi.umd.js +1 -1
  57. package/dist/translations/hr.js +1 -1
  58. package/dist/translations/hr.umd.js +1 -1
  59. package/dist/translations/hu.js +1 -1
  60. package/dist/translations/hu.umd.js +1 -1
  61. package/dist/translations/id.js +1 -1
  62. package/dist/translations/id.umd.js +1 -1
  63. package/dist/translations/it.js +1 -1
  64. package/dist/translations/it.umd.js +1 -1
  65. package/dist/translations/ja.js +1 -1
  66. package/dist/translations/ja.umd.js +1 -1
  67. package/dist/translations/jv.js +1 -1
  68. package/dist/translations/jv.umd.js +1 -1
  69. package/dist/translations/ko.js +1 -1
  70. package/dist/translations/ko.umd.js +1 -1
  71. package/dist/translations/ku.js +1 -1
  72. package/dist/translations/ku.umd.js +1 -1
  73. package/dist/translations/lt.js +1 -1
  74. package/dist/translations/lt.umd.js +1 -1
  75. package/dist/translations/lv.js +1 -1
  76. package/dist/translations/lv.umd.js +1 -1
  77. package/dist/translations/ms.js +1 -1
  78. package/dist/translations/ms.umd.js +1 -1
  79. package/dist/translations/ne.js +1 -1
  80. package/dist/translations/ne.umd.js +1 -1
  81. package/dist/translations/nl.js +1 -1
  82. package/dist/translations/nl.umd.js +1 -1
  83. package/dist/translations/no.js +1 -1
  84. package/dist/translations/no.umd.js +1 -1
  85. package/dist/translations/pl.js +1 -1
  86. package/dist/translations/pl.umd.js +1 -1
  87. package/dist/translations/pt-br.js +1 -1
  88. package/dist/translations/pt-br.umd.js +1 -1
  89. package/dist/translations/pt.js +1 -1
  90. package/dist/translations/pt.umd.js +1 -1
  91. package/dist/translations/ro.js +1 -1
  92. package/dist/translations/ro.umd.js +1 -1
  93. package/dist/translations/ru.js +1 -1
  94. package/dist/translations/ru.umd.js +1 -1
  95. package/dist/translations/sk.js +1 -1
  96. package/dist/translations/sk.umd.js +1 -1
  97. package/dist/translations/sr-latn.js +1 -1
  98. package/dist/translations/sr-latn.umd.js +1 -1
  99. package/dist/translations/sr.js +1 -1
  100. package/dist/translations/sr.umd.js +1 -1
  101. package/dist/translations/sv.js +1 -1
  102. package/dist/translations/sv.umd.js +1 -1
  103. package/dist/translations/th.js +1 -1
  104. package/dist/translations/th.umd.js +1 -1
  105. package/dist/translations/ti.js +1 -1
  106. package/dist/translations/ti.umd.js +1 -1
  107. package/dist/translations/tk.js +1 -1
  108. package/dist/translations/tk.umd.js +1 -1
  109. package/dist/translations/tr.js +1 -1
  110. package/dist/translations/tr.umd.js +1 -1
  111. package/dist/translations/tt.js +1 -1
  112. package/dist/translations/tt.umd.js +1 -1
  113. package/dist/translations/ug.js +1 -1
  114. package/dist/translations/ug.umd.js +1 -1
  115. package/dist/translations/uk.js +1 -1
  116. package/dist/translations/uk.umd.js +1 -1
  117. package/dist/translations/ur.js +1 -1
  118. package/dist/translations/ur.umd.js +1 -1
  119. package/dist/translations/vi.js +1 -1
  120. package/dist/translations/vi.umd.js +1 -1
  121. package/dist/translations/zh-cn.js +1 -1
  122. package/dist/translations/zh-cn.umd.js +1 -1
  123. package/dist/translations/zh.js +1 -1
  124. package/dist/translations/zh.umd.js +1 -1
  125. package/dist/types/revisiontracker.d.ts +6 -1
  126. package/dist/types/revisionviewer.d.ts +82 -0
  127. package/dist/types/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
  128. package/dist/types/ui/revision/revisionauthorview.d.ts +9 -0
  129. package/dist/types/ui/revision/revisionnameview.d.ts +25 -0
  130. package/dist/types/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
  131. package/lang/translations/fa.po +1 -1
  132. package/lang/translations/he.po +1 -1
  133. package/lang/translations/ko.po +1 -1
  134. package/lang/translations/nl.po +1 -1
  135. package/lang/translations/tk.po +1 -1
  136. package/lang/translations/ur.po +1 -1
  137. package/lang/translations/zh-cn.po +1 -1
  138. package/package.json +5 -5
  139. package/src/changeitem.js +2 -2
  140. package/src/editor/revisionviewereditor.js +2 -2
  141. package/src/editor/revisionviewereditorui.js +1 -1
  142. package/src/editor/revisionviewereditoruiview.js +1 -1
  143. package/src/index.js +1 -1
  144. package/src/revision.js +2 -2
  145. package/src/revisiondiff.js +1 -1
  146. package/src/revisionhistory.js +1 -1
  147. package/src/revisionsrepository.js +1 -1
  148. package/src/revisiontracker.d.ts +6 -1
  149. package/src/revisiontracker.js +1 -1
  150. package/src/revisionviewer.d.ts +82 -0
  151. package/src/revisionviewer.js +1 -1
  152. package/src/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
  153. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  154. package/src/ui/revision/revisionauthorview.d.ts +9 -0
  155. package/src/ui/revision/revisionauthorview.js +1 -1
  156. package/src/ui/revision/revisionnameview.d.ts +25 -0
  157. package/src/ui/revision/revisionnameview.js +1 -1
  158. package/src/ui/revision/revisionview.js +2 -2
  159. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  160. package/src/ui/revision/subrevisionview.js +1 -1
  161. package/src/ui/revision/utils.js +1 -1
  162. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  163. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  164. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  165. package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
  166. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  167. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  168. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  169. package/src/ui/revisionssidebar/utils.js +1 -1
  170. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  171. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  172. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  173. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  174. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27b10a=_0x5b51;(function(_0x4a4f58,_0x5c4893){const _0x346e30=_0x5b51,_0x5ab940=_0x4a4f58();while(!![]){try{const _0x3357ed=parseInt(_0x346e30(0xfc))/0x1*(-parseInt(_0x346e30(0x19a))/0x2)+-parseInt(_0x346e30(0x143))/0x3+parseInt(_0x346e30(0x1dc))/0x4+-parseInt(_0x346e30(0x196))/0x5+-parseInt(_0x346e30(0xd6))/0x6*(parseInt(_0x346e30(0x197))/0x7)+-parseInt(_0x346e30(0xe2))/0x8+-parseInt(_0x346e30(0x1a5))/0x9*(-parseInt(_0x346e30(0x111))/0xa);if(_0x3357ed===_0x5c4893)break;else _0x5ab940['push'](_0x5ab940['shift']());}catch(_0x47f09d){_0x5ab940['push'](_0x5ab940['shift']());}}}(_0x1240,0x75593));import{Users as _0x4a0cad}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x27c665,PendingActions as _0x578d45}from'ckeditor5/src/core.js';import{logWarning as _0x2fef56,uid as _0x39fa63}from'ckeditor5/src/utils.js';import{Position as _0x724727,Range as _0x27210b,Element as _0x184b2f,DocumentFragment as _0x1984ba,ViewText as _0x1019a0,ViewElement as _0x1e270c,ViewContainerElement as _0x149712,ViewAttributeElement as _0x5f4cde,ViewEmptyElement as _0x37d661,ViewRawElement as _0x2fec85,ViewUIElement as _0x403a2a,ViewDocumentFragment as _0xf8f6c6}from'ckeditor5/src/engine.js';import _0x355eb3 from'./revisionsrepository.js';import{getTranslation as _0x2829c9}from'./utils/common-translations.js';import{cloneDeep as _0x519237,isEqual as _0x5b9906}from'lodash-es';const T={'c':_0x149712,'a':_0x5f4cde,'e':_0x37d661,'r':_0x2fec85,'u':_0x403a2a};function _0x1240(){const _0x5be236=['reInit','deletions','initialData','getData','_isAttached','userId','map','resolve','marked','updateRevisions','_fixOperation','_savedMetaData','89010RdPOXP','clone','getLatestVersion','_handleMoveOperation','update','paragraph','parent','config','version','then','buildRevisionData','_makeModelFromViewString','2306936zsxUrK','_replaceEditorDataWithRevisionData','howMany','pluginName','string','_transformMarkers','_applyOperations','getRootNames','some','PendingActions','NEGATIVE_INFINITY','deletion','document','keys','getAncestors','newRange','stickiness','dataDowncast','_loadRevisionData','creator','addRootAttribute','element','getMovedRangeStart','nodes','data','getRoot','44ugfuKu','range','detachRoot','_operations','_cloneOperation','_setConversion','createPositionBefore','ready','_addPendingAction','stringify','merge','finally','adapter','from','_createInitialRevision','_baseRootsAttributes','_bufferedUpdates','addRoot','_markChanges','_removeMetaData','bind','33270610LHDyxP','revision','conversion','_insertChild','_isPendingUpdate','rootsAttributes','revisionHistory.resumeUnsavedRevision','fromEntries','getChildren','addRevision','Initial\x20revision','parse','_handleMarkerOperation','length','afterInit','shift','marker','for','locale','model','_touched','toData','useFillerType','getRevision','$graveyard','$text','elementStart','isAttached','newValue','splitPosition','authorsIds','_handleSplitOperation','has','Empty\x20document','_fixPosition','_appendChild','targetPosition','getIndex','getChild','_continueCurrentRevision','createPositionAfter','size','attributesBefore','_handleInsertOperation','key','set','revision:','offsetSize','isEqual','_diffRootsAttributes','2746968cXGNBu','_touchedMarkers','_loadedStateData','repository','createPositionFromPath','clear','affectsData','childCount','find','_update','_makeIdsRoot','_removePendingAction','_pendingAction','data-revision-','authors','roots','editor','_revisionDataBuilder','_removeRevisionMarkers','insertionPosition','slice','split','attributesAfter','getCurrentRevisionId','_generateTape','_lastFrom','insert','requires','_setAttribute','createRangeIn','_startingRevisionId','_handleOperation','_calculateMetaData','upcast','_lastTo','includes','type','_fixRange','editor-initial-data-replaced-with-revision-data','_handleMergeOperation','initial','sort','attachChange','_loadState','_getFromVersion','collaboration.channelId','forEach','values','_makeRevision','baseVersion','_copyMarkers','isEnabled','_source','end','_createCurrentRevision','_getBaseVids','dataToMarker','currentRevision','saveRevision','RevisionsRepository','_touchedRoots','removeRootAttribute','insertion','_baseIdsRoots','elementEnd','getTransformedByOperation','children','root','sourcePosition','attributes','previousPosition','_startingVersion','_authorId','start','_clone','text','offset','RealTimeCollaborationClient','loadState','delete','init','_getVidAttributeName','getRange','1967830ZSomBh','448SgfXOn','_isInit','_createFromRanges','26104PenbLv','_diffRoots','view','getOperations','_getPreviousFrom','documentFragment','revision-end','_revisionId','getRevisionDocumentData','addRevisionData','toVersion','9qDMobp','path','_handleRootOperation','vid','Users','RevisionTracker','getWalker','insertions','nodeAfter','getUser','rootName','_handleRootAttributeOperation','vid_start','_processRootBeforeSave','name','add','default','toModel','oldRange','createRevision','_baseRoots','filter','position','_idsRoots','graveyardPosition','isReady','remove','_findInsertionIndex','_execute','getTime','_markers','createdAt','setRevisionData','_reset','getAttributes','toView','define','sendBufferedUpdates','getAttribute','diffData','plugins','item','markerToData','getRevisions','reverse','processor','_getState','editing','max','keepParagraph','revision-start','setSource','_prepareViewToSave','get','reinsert','1099660RMxuGP','_bufferUpdate','_getViewJson','getOperation','createPositionAt','creatorId','source','fromVersion','history','hasContent','tableCell','createRange','_initialRevisionId','getNodeByPath','getRevisionRootsAttributes','changeRootAttribute','startsWith','trim','move','markers','PENDING_ACTION_REVISION_HISTORY','vid_end','push','_saveMetaData','isAdd'];_0x1240=function(){return _0x5be236;};return _0x1240();}export default class l extends _0x27c665{static get[_0x27b10a(0xe5)](){const _0x2f0b57=_0x27b10a;return _0x2f0b57(0x1aa);}static get[_0x27b10a(0x15e)](){return[_0x4a0cad,_0x355eb3,_0x578d45];}constructor(_0xb1dc3){const _0x1dd38f=_0x27b10a;super(_0xb1dc3),this[_0x1dd38f(0x108)]=null,this[_0x1dd38f(0x17c)]=null,this[_0x1dd38f(0x154)]=new J(this[_0x1dd38f(0x153)]),this[_0x1dd38f(0xbd)]=this[_0x1dd38f(0x153)][_0x1dd38f(0xdd)][_0x1dd38f(0x1da)](_0x1dd38f(0x170))||_0x1dd38f(0x16b),this[_0x1dd38f(0x10c)]=new Map(),this[_0x1dd38f(0x145)]=null;const _0x48676d=_0x39fa63();this[_0x1dd38f(0x177)]={'history':this[_0x1dd38f(0x153)][_0x1dd38f(0x124)][_0x1dd38f(0xee)][_0x1dd38f(0xb9)],'getLatestVersion':()=>Promise[_0x1dd38f(0xd1)](this[_0x1dd38f(0x153)][_0x1dd38f(0x124)][_0x1dd38f(0xee)][_0x1dd38f(0xde)]),'getCurrentRevisionId':()=>_0x48676d},this[_0x1dd38f(0x13e)](_0x1dd38f(0x1be),!0x1),this[_0x1dd38f(0x13e)](_0x1dd38f(0x176),!0x0),this[_0x1dd38f(0x13e)](_0x1dd38f(0x115),!0x1),this[_0x1dd38f(0x153)][_0x1dd38f(0xdd)][_0x1dd38f(0x1c9)](_0x1dd38f(0x117),!0x0),this[_0x1dd38f(0x153)][_0x1dd38f(0x113)][_0x1dd38f(0x122)](_0x1dd38f(0x164))[_0x1dd38f(0x17b)]({'view':_0x1dd38f(0x112)});}[_0x27b10a(0x193)](){const _0x186121=_0x27b10a;this[_0x186121(0x146)]=this[_0x186121(0x153)][_0x186121(0x1cd)][_0x186121(0x1da)](_0x186121(0x17e)),this[_0x186121(0x101)](),this[_0x186121(0x153)][_0x186121(0xfa)]['on'](_0x186121(0x103),()=>{const _0x36658a=_0x186121,_0x40f576=this[_0x36658a(0x146)][_0x36658a(0x128)](0x0),_0x5bfd9b=_0x40f576&&null===_0x40f576[_0x36658a(0xf5)]?_0x40f576:null;if(this[_0x36658a(0x138)]=!!_0x5bfd9b&&this[_0x36658a(0x153)][_0x36658a(0xdd)][_0x36658a(0x1da)](_0x36658a(0x117)),this[_0x36658a(0x153)][_0x36658a(0x1cd)][_0x36658a(0x131)](_0x36658a(0x190))){const _0x5a8f8a=this[_0x36658a(0x177)][_0x36658a(0x15a)](),_0x280f2f=this[_0x36658a(0x146)][_0x36658a(0x128)](_0x5a8f8a);if(_0x280f2f)this[_0x36658a(0x18a)]=_0x280f2f[_0x36658a(0xb8)],this[_0x36658a(0x138)]=!0x1;else{const _0x13d5ef=this[_0x36658a(0x177)][_0x36658a(0xb9)][_0x36658a(0xff)][_0x36658a(0x14b)](_0x1f713f=>!_0x1f713f[_0x36658a(0x198)]),_0xbb38d3=_0x13d5ef?_0x13d5ef[_0x36658a(0x174)]:this[_0x36658a(0x177)][_0x36658a(0xb9)][_0x36658a(0xde)];_0x40f576?(_0x40f576[_0x36658a(0x1a4)]<_0xbb38d3&&_0x40f576[_0x36658a(0x14c)]({'toVersion':_0xbb38d3}),this[_0x36658a(0x138)]?(this[_0x36658a(0x177)][_0x36658a(0x15a)]=()=>_0x5bfd9b['id'],this[_0x36658a(0x18a)]=_0x5bfd9b[_0x36658a(0xb8)]):(this[_0x36658a(0x18a)]=_0x40f576[_0x36658a(0x1a4)],this[_0x36658a(0x138)]=!0x1)):(this[_0x36658a(0x18a)]=_0xbb38d3,this[_0x36658a(0x138)]=!0x1);}}else _0x5bfd9b&&(this[_0x36658a(0x153)][_0x36658a(0x124)][_0x36658a(0xee)][_0x36658a(0xb9)][_0x36658a(0xde)]=Math[_0x36658a(0x1d5)](_0x5bfd9b[_0x36658a(0x1a4)],this[_0x36658a(0x153)][_0x36658a(0x124)][_0x36658a(0xee)][_0x36658a(0xb9)][_0x36658a(0xde)]),_0x5bfd9b[_0x36658a(0xb8)]===_0x5bfd9b[_0x36658a(0x1a4)]?(0x0!==_0x5bfd9b[_0x36658a(0xb8)]&&(this[_0x36658a(0x177)][_0x36658a(0x15a)]=()=>_0x5bfd9b['id']),this[_0x36658a(0x138)]=!0x1):this[_0x36658a(0x138)]&&(this[_0x36658a(0x177)][_0x36658a(0x15a)]=()=>_0x5bfd9b['id'],this[_0x36658a(0x18a)]=_0x5bfd9b[_0x36658a(0xb8)])),this[_0x36658a(0x138)]||(this[_0x36658a(0x18a)]=this[_0x36658a(0x153)][_0x36658a(0x124)][_0x36658a(0xee)][_0x36658a(0xde)]);this[_0x36658a(0x154)][_0x36658a(0x193)](this[_0x36658a(0x177)][_0x36658a(0xb9)]),this[_0x36658a(0x10a)](this[_0x36658a(0x18a)]),this[_0x36658a(0x179)](this[_0x36658a(0x18a)]),this[_0x36658a(0x108)]&&this[_0x36658a(0x1ca)]();}),this[_0x186121(0x110)](_0x186121(0x1be))['to'](this,_0x186121(0x115),_0x33570f=>!_0x33570f);}async[_0x27b10a(0x11f)](){const _0x26b787=_0x27b10a;if(this[_0x26b787(0x146)][_0x26b787(0x11e)]>0x0){const _0x39a085=this[_0x26b787(0x146)][_0x26b787(0x128)](0x0),_0x7e7c4c=await this[_0x26b787(0x1a2)](_0x39a085),_0x27868e=await this[_0x26b787(0xbf)](_0x39a085);this[_0x26b787(0xe3)](_0x7e7c4c,_0x27868e);}}[_0x27b10a(0x1d8)](_0x5b769c){const _0x5dca4f=_0x27b10a;this[_0x5dca4f(0x177)]=_0x5b769c;}async[_0x27b10a(0xda)](){const _0x556e9c=_0x27b10a,_0x16233f=await this[_0x556e9c(0x177)][_0x556e9c(0xd8)]();if(_0x16233f>this[_0x556e9c(0x17c)][_0x556e9c(0x1a4)]){await this[_0x556e9c(0x16e)]();const _0x139762=this[_0x556e9c(0xe0)]({'revision':this[_0x556e9c(0x17c)],'to':_0x16233f});_0x139762[_0x556e9c(0x151)]=_0x139762[_0x556e9c(0x12f)][_0x556e9c(0xd0)](_0x365b2e=>this[_0x556e9c(0x153)][_0x556e9c(0x1cd)][_0x556e9c(0x1da)](_0x556e9c(0x1a9))[_0x556e9c(0x1ae)](_0x365b2e)),this[_0x556e9c(0x17c)][_0x556e9c(0x14c)](_0x139762);}}async[_0x27b10a(0x16e)](){const _0x1c73f1=_0x27b10a;this[_0x1c73f1(0x138)]&&!this[_0x1c73f1(0x145)]&&(await this[_0x1c73f1(0xf4)](this[_0x1c73f1(0x17c)]),this[_0x1c73f1(0x154)][_0x1c73f1(0x191)](this[_0x1c73f1(0x17c)]),this[_0x1c73f1(0x145)]={'fromVersion':this[_0x1c73f1(0x17c)][_0x1c73f1(0xb8)],'authors':this[_0x1c73f1(0x17c)][_0x1c73f1(0x151)][_0x1c73f1(0x157)]()});}async[_0x27b10a(0x17d)](_0x316651={},_0x4f7ddb=null){const _0x18578a=_0x27b10a,_0x4569af=[];await this[_0x18578a(0x16e)](),this[_0x18578a(0x138)]=!0x1,_0x4f7ddb>this[_0x18578a(0x17c)][_0x18578a(0x1a4)]&&(_0x4f7ddb=null),null===_0x4f7ddb&&(_0x4f7ddb=await this[_0x18578a(0x177)][_0x18578a(0xd8)]());const _0x505e5d=this[_0x18578a(0x16f)](_0x4f7ddb),_0x3ccf21=this[_0x18578a(0xe0)]({'from':_0x505e5d,'to':_0x4f7ddb});if(this[_0x18578a(0x17c)][_0x18578a(0x1a4)]<_0x4f7ddb){const _0x31fbcf=this[_0x18578a(0xe0)]({'revision':this[_0x18578a(0x17c)],'from':_0x4f7ddb,'to':_0x4f7ddb});_0x31fbcf[_0x18578a(0x151)]=[],_0x31fbcf[_0x18578a(0x12f)]=[],_0x31fbcf['id']=this[_0x18578a(0x17c)]['id'],this[_0x18578a(0x17c)][_0x18578a(0x14c)](_0x31fbcf,!0x0),delete _0x31fbcf[_0x18578a(0x151)],_0x4569af[_0x18578a(0xc7)](_0x31fbcf);}_0x316651[_0x18578a(0xb6)]=this[_0x18578a(0x153)][_0x18578a(0x1cd)][_0x18578a(0x1da)](_0x18578a(0x1a9))['me']['id'],_0x316651[_0x18578a(0x1b3)]=_0x316651[_0x18578a(0x1b3)]||null,_0x316651['id']=_0x316651['id']||_0x39fa63(),_0x316651={..._0x316651,..._0x3ccf21};const _0x30289f=this[_0x18578a(0x1a3)](_0x316651);_0x4569af[_0x18578a(0xc7)](_0x316651);const _0x58e045=this[_0x18578a(0x146)][_0x18578a(0x136)](_0x30289f);if(0x0!==_0x58e045){const _0x434979=this[_0x18578a(0x146)][_0x18578a(0x128)](_0x58e045-0x1);if(_0x434979[_0x18578a(0xb8)]!==_0x4f7ddb){const _0x51771c=this[_0x18578a(0x154)][_0x18578a(0xcd)](_0x4f7ddb,_0x434979[_0x18578a(0x1a4)]),_0x53a2f5={'id':_0x434979['id'],'diffData':_0x51771c[_0x18578a(0x1cc)],'authorsIds':_0x51771c[_0x18578a(0x12f)],'authors':_0x51771c[_0x18578a(0x12f)][_0x18578a(0xd0)](_0xb6c01c=>this[_0x18578a(0x153)][_0x18578a(0x1cd)][_0x18578a(0x1da)](_0x18578a(0x1a9))[_0x18578a(0x1ae)](_0xb6c01c)),'fromVersion':_0x4f7ddb};_0x434979===this[_0x18578a(0x17c)]&&(_0x53a2f5[_0x18578a(0x1c4)]=new Date(_0x316651[_0x18578a(0x1c4)][_0x18578a(0x1c2)]()+0xa)),_0x434979[_0x18578a(0x14c)](_0x53a2f5,!0x0),delete _0x53a2f5[_0x18578a(0x151)],_0x4569af[_0x18578a(0xc7)](_0x53a2f5);}}if(this[_0x18578a(0x108)]){for(const _0xdb97aa of _0x4569af)this[_0x18578a(0x1dd)](_0xdb97aa['id'],_0xdb97aa,!0x0);this[_0x18578a(0x1ca)]();}return _0x30289f;}[_0x27b10a(0x1a3)](_0x1ce4d0){const _0x4f5d8a=_0x27b10a,_0x1850ab=this[_0x4f5d8a(0x146)][_0x4f5d8a(0x1b8)](_0x1ce4d0);return this[_0x4f5d8a(0x108)]&&_0x1850ab['on'](_0x4f5d8a(0x14c),(_0x50644c,_0x1ef04c,_0x47befb)=>{const _0x4de7fa=_0x4f5d8a;_0x47befb||(this[_0x4de7fa(0x1dd)](_0x1ef04c['id'],_0x1ef04c,!0x0),this[_0x4de7fa(0x1ca)]());}),this[_0x4f5d8a(0x146)][_0x4f5d8a(0x11a)](_0x1850ab,this[_0x4f5d8a(0x1c0)](_0x1850ab)),_0x1850ab;}async[_0x27b10a(0x1a2)](_0x34c232){const _0x5d1501=_0x27b10a;await this[_0x5d1501(0xf4)](_0x34c232);const _0x420a95={};for(const _0x483259 in _0x34c232[_0x5d1501(0x1cc)]){if(_0x34c232[_0x5d1501(0x1cc)][_0x483259][_0x5d1501(0x16d)]&&!_0x34c232[_0x5d1501(0x1cc)][_0x483259][_0x5d1501(0x16d)][_0x5d1501(0x12c)])continue;const _0x44dfc8=this[_0x5d1501(0x155)](JSON[_0x5d1501(0x11c)](_0x34c232[_0x5d1501(0x1cc)][_0x483259][_0x5d1501(0x1ac)])),_0x5bc130=this[_0x5d1501(0x153)][_0x5d1501(0x1d4)][_0x5d1501(0x19c)][_0x5d1501(0xee)],_0x2cacb8=new _0xf8f6c6(_0x5bc130,_0x44dfc8[_0x5d1501(0xd0)](_0x29cfa9=>B(_0x29cfa9,this[_0x5d1501(0x153)])));this[_0x5d1501(0x153)][_0x5d1501(0xfa)][_0x5d1501(0x1d2)][_0x5d1501(0x127)](_0x5d1501(0xd2)),_0x420a95[_0x483259]=this[_0x5d1501(0x153)][_0x5d1501(0xfa)][_0x5d1501(0x1d2)][_0x5d1501(0x126)](_0x2cacb8),this[_0x5d1501(0x153)][_0x5d1501(0xfa)][_0x5d1501(0x1d2)][_0x5d1501(0x127)](_0x5d1501(0x1b5));}return _0x420a95;}async[_0x27b10a(0xbf)](_0x45856c){const _0x381025=_0x27b10a;await this[_0x381025(0xf4)](_0x45856c);const _0x238fb6={};for(const _0x2d9fd7 in _0x45856c[_0x381025(0x1cc)])_0x45856c[_0x381025(0x1cc)][_0x2d9fd7][_0x381025(0x16d)]&&!_0x45856c[_0x381025(0x1cc)][_0x2d9fd7][_0x381025(0x16d)][_0x381025(0x12c)]||(_0x238fb6[_0x2d9fd7]=_0x45856c[_0x381025(0x1cc)][_0x2d9fd7][_0x381025(0x159)]||{});return _0x238fb6;}[_0x27b10a(0x1ca)](){const _0x4bde4a=_0x27b10a;if(0x0===this[_0x4bde4a(0x10c)][_0x4bde4a(0x13a)])return;if(this[_0x4bde4a(0x115)])return;let _0x22fff3=Array[_0x4bde4a(0x109)](this[_0x4bde4a(0x10c)][_0x4bde4a(0x172)]());this[_0x4bde4a(0x10c)][_0x4bde4a(0x148)]();for(let _0x5d9d08=0x0;_0x5d9d08<_0x22fff3[_0x4bde4a(0x11e)];_0x5d9d08++){const _0x5de83e=_0x22fff3[_0x5d9d08];let _0x5e7d70=!0x1;for(const _0x17877a of Object[_0x4bde4a(0xef)](_0x5de83e))void 0x0===_0x5de83e[_0x17877a]?delete _0x5de83e[_0x17877a]:'id'!==_0x17877a&&(_0x5e7d70=!0x0);_0x5e7d70||(_0x22fff3[_0x5d9d08]=null);}if(_0x22fff3=_0x22fff3[_0x4bde4a(0x1ba)](_0x3be4f3=>null!==_0x3be4f3),!_0x22fff3[_0x4bde4a(0x11e)])return;for(let _0x21b126=0x0;_0x21b126<_0x22fff3[_0x4bde4a(0x11e)];_0x21b126++){const _0xc19c17=_0x22fff3[_0x21b126];void 0x0!==_0xc19c17[_0x4bde4a(0xb8)]&&void 0x0===_0xc19c17[_0x4bde4a(0x1a4)]&&(_0xc19c17[_0x4bde4a(0x1a4)]=this[_0x4bde4a(0x146)][_0x4bde4a(0x128)](_0xc19c17['id'])[_0x4bde4a(0x1a4)]),void 0x0!==_0xc19c17[_0x4bde4a(0x1a4)]&&void 0x0===_0xc19c17[_0x4bde4a(0xb8)]&&(_0xc19c17[_0x4bde4a(0xb8)]=this[_0x4bde4a(0x146)][_0x4bde4a(0x128)](_0xc19c17['id'])[_0x4bde4a(0xb8)]);}const _0x58a08e=this[_0x4bde4a(0x153)][_0x4bde4a(0xdd)][_0x4bde4a(0x1da)](_0x4bde4a(0x170));this[_0x4bde4a(0x115)]=!0x0,this[_0x4bde4a(0x104)](),this[_0x4bde4a(0x108)][_0x4bde4a(0xd3)](_0x22fff3,_0x58a08e)[_0x4bde4a(0x107)](()=>{const _0x387c50=_0x4bde4a;this[_0x387c50(0x115)]=!0x1;})[_0x4bde4a(0xdf)](_0x2dabeb=>{const _0x1a457c=_0x4bde4a;if(_0x2dabeb){for(const _0x127925 of _0x2dabeb)this[_0x1a457c(0x1c5)]({'id':_0x127925['id'],'createdAt':_0x127925[_0x1a457c(0x1c4)]});}this[_0x1a457c(0x14e)](),this[_0x1a457c(0x1ca)]();});}[_0x27b10a(0xe3)](_0x5a648a,_0x4d269f){const _0x567e56=_0x27b10a;let _0x41cc96=this[_0x567e56(0x153)][_0x567e56(0xdd)][_0x567e56(0x1da)](_0x567e56(0xcc)),_0x35a0e5=this[_0x567e56(0x153)][_0x567e56(0xdd)][_0x567e56(0x1da)](_0x567e56(0x116));if(void 0x0===_0x41cc96){_0x41cc96={};for(const _0x23f9ef of this[_0x567e56(0x153)][_0x567e56(0x124)][_0x567e56(0xee)][_0x567e56(0xe9)]())_0x41cc96[_0x23f9ef]='';}if(_0x567e56(0xe6)==typeof _0x41cc96&&(_0x41cc96={'main':_0x41cc96}),void 0x0===_0x35a0e5){_0x35a0e5={};for(const _0x599fb1 of this[_0x567e56(0x153)][_0x567e56(0x124)][_0x567e56(0xee)][_0x567e56(0xe9)]())_0x35a0e5[_0x599fb1]={};}let _0x748871=!0x1;const _0x44303c=Object[_0x567e56(0xef)](_0x41cc96),_0x176ee8=Object[_0x567e56(0xef)](_0x5a648a);for(const _0x46c39d of _0x44303c){if(_0x41cc96[_0x46c39d]!==_0x5a648a[_0x46c39d]&&''!==_0x41cc96[_0x46c39d][_0x567e56(0xc2)]()){_0x748871=!0x0;break;}if(!_0x5b9906(_0x35a0e5[_0x46c39d],_0x4d269f[_0x46c39d])&&Object[_0x567e56(0xef)](_0x35a0e5[_0x46c39d])[_0x567e56(0x11e)]>0x0){_0x748871=!0x0;break;}}_0x748871||(_0x748871=_0x176ee8[_0x567e56(0xea)](_0x2503ca=>!this[_0x567e56(0x153)][_0x567e56(0x124)][_0x567e56(0xee)][_0x567e56(0xfb)](_0x2503ca))),_0x748871&&_0x2fef56(_0x567e56(0x169),{'editorData':_0x41cc96,'editorRootsAttributes':_0x35a0e5,'revisionData':_0x5a648a,'revisionRootsAttributes':_0x4d269f}),this[_0x567e56(0x153)][_0x567e56(0xdd)][_0x567e56(0x13e)](_0x567e56(0xcc),_0x5a648a),this[_0x567e56(0x153)][_0x567e56(0xdd)][_0x567e56(0x13e)](_0x567e56(0x116),_0x4d269f);}[_0x27b10a(0x104)](){const _0xab9afe=_0x27b10a;if(!this[_0xab9afe(0x14f)]){const _0xc7bd03=this[_0xab9afe(0x153)][_0xab9afe(0x1cd)][_0xab9afe(0x1da)](_0xab9afe(0xeb));this[_0xab9afe(0x14f)]=_0xc7bd03[_0xab9afe(0x1b4)](_0x2829c9(this[_0xab9afe(0x153)][_0xab9afe(0x123)],_0xab9afe(0xc5)));}}[_0x27b10a(0x14e)](){const _0x2a5045=_0x27b10a;this[_0x2a5045(0x14f)]&&(this[_0x2a5045(0x153)][_0x2a5045(0x1cd)][_0x2a5045(0x1da)](_0x2a5045(0xeb))[_0x2a5045(0x1bf)](this[_0x2a5045(0x14f)]),this[_0x2a5045(0x14f)]=null);}[_0x27b10a(0x1c0)](_0x1e6c0d){const _0x38a972=_0x27b10a,_0x409da4=this[_0x38a972(0x146)][_0x38a972(0x1d0)]();_0x409da4[_0x38a972(0x1d1)]();let _0x1088ef=0x0;for(;_0x1088ef<_0x409da4[_0x38a972(0x11e)];){const _0x27773d=_0x409da4[_0x1088ef];if(_0x27773d===this[_0x38a972(0x17c)]){_0x1088ef++;continue;}if(_0x27773d['id']===this[_0x38a972(0xbd)])break;const _0x5b6b6d=_0x1e6c0d[_0x38a972(0x1a4)]-_0x27773d[_0x38a972(0x1a4)]||_0x1e6c0d[_0x38a972(0xb8)]-_0x27773d[_0x38a972(0xb8)];if(_0x5b6b6d>0x0)break;if(_0x5b6b6d<0x0)_0x1088ef++;else{if(!_0x1e6c0d[_0x38a972(0xf5)]&&_0x27773d[_0x38a972(0xf5)])break;if(_0x27773d[_0x38a972(0xf5)]||!_0x1e6c0d[_0x38a972(0xf5)]){if(_0x1e6c0d[_0x38a972(0x1c4)]>_0x27773d[_0x38a972(0x1c4)])break;_0x1088ef++;}else _0x1088ef++;}}return _0x1088ef;}[_0x27b10a(0x1c5)](_0x5ba0cd){const _0x185965=_0x27b10a,_0x2ee8ab=this[_0x185965(0x146)][_0x185965(0x128)](_0x5ba0cd['id']);if(_0x5ba0cd[_0x185965(0x1c4)]&&(_0x5ba0cd[_0x185965(0x1c4)]=new Date(_0x5ba0cd[_0x185965(0x1c4)])),_0x5ba0cd[_0x185965(0x12f)]){const _0x135461=this[_0x185965(0x153)][_0x185965(0x1cd)][_0x185965(0x1da)](_0x185965(0x1a9));_0x5ba0cd[_0x185965(0x151)]=_0x5ba0cd[_0x185965(0x12f)][_0x185965(0xd0)](_0x32f038=>_0x135461[_0x185965(0x1ae)](_0x32f038));}_0x2ee8ab[_0x185965(0x14c)](_0x5ba0cd,!0x0);}[_0x27b10a(0xe0)]({revision:_0x36cddc=null,from:_0x33238b=null,to:_0x5755b9=null}){const _0x2b6b97=_0x27b10a;_0x33238b=null!==_0x33238b?_0x33238b:_0x36cddc[_0x2b6b97(0xb8)],_0x5755b9=null!==_0x5755b9?_0x5755b9:_0x36cddc[_0x2b6b97(0x1a4)];const _0x3dd0cb=this[_0x2b6b97(0x154)][_0x2b6b97(0xcd)](_0x33238b,_0x5755b9),_0x1f7827={'diffData':_0x3dd0cb[_0x2b6b97(0x1cc)],'authorsIds':_0x3dd0cb[_0x2b6b97(0x12f)],'fromVersion':_0x33238b,'toVersion':_0x5755b9};if(!_0x36cddc||_0x5755b9!==_0x36cddc[_0x2b6b97(0x1a4)]){const _0x24a4ac=_0x5755b9-0x1,_0x27f59e=this[_0x2b6b97(0x177)][_0x2b6b97(0xb9)][_0x2b6b97(0xb4)](_0x24a4ac);_0x1f7827[_0x2b6b97(0x1c4)]=_0x27f59e&&_0x27f59e[_0x2b6b97(0x1c4)]||new Date();}if(this[_0x2b6b97(0x145)]&&_0x33238b===this[_0x2b6b97(0x145)][_0x2b6b97(0xb8)]){for(const _0x4cf12d of this[_0x2b6b97(0x145)][_0x2b6b97(0x151)])_0x1f7827[_0x2b6b97(0x12f)][_0x2b6b97(0x166)](_0x4cf12d['id'])||_0x1f7827[_0x2b6b97(0x12f)][_0x2b6b97(0xc7)](_0x4cf12d['id']);}return _0x1f7827;}[_0x27b10a(0xf4)](_0x5d8705){const _0xedcabf=_0x27b10a;if(!_0x5d8705||_0x5d8705[_0xedcabf(0x1cc)])return Promise[_0xedcabf(0xd1)]();{const _0x43ab89=this[_0xedcabf(0x153)][_0xedcabf(0xdd)][_0xedcabf(0x1da)](_0xedcabf(0x170));return this[_0xedcabf(0x108)][_0xedcabf(0x128)]({'channelId':_0x43ab89,'revisionId':_0x5d8705['id']})[_0xedcabf(0xdf)](_0x6a424a=>{const _0x10d4c2=_0xedcabf;_0x5d8705[_0x10d4c2(0x1cc)]=_0x6a424a[_0x10d4c2(0x1cc)];});}}[_0x27b10a(0x1dd)](_0x4d239d,_0x2123c6,_0x5bf8f1){const _0x22ab81=_0x27b10a;if(this[_0x22ab81(0x10c)][_0x22ab81(0x131)](_0x4d239d)){const _0x40d429=this[_0x22ab81(0x10c)][_0x22ab81(0x1da)](_0x4d239d);_0x2123c6=_0x5bf8f1?{..._0x40d429,..._0x2123c6}:{..._0x2123c6,..._0x40d429};}this[_0x22ab81(0x10c)][_0x22ab81(0x13e)](_0x4d239d,_0x2123c6);}[_0x27b10a(0x16f)](_0x4d8019){const _0x2b4817=_0x27b10a,_0x4bd027=this[_0x2b4817(0x146)][_0x2b4817(0x1d0)]();_0x4bd027[_0x2b4817(0x1d1)](),_0x4bd027[_0x2b4817(0x120)]();const _0x5a99fe=_0x4bd027[_0x2b4817(0x14b)](_0x2dccb7=>_0x2dccb7[_0x2b4817(0x1a4)]<=_0x4d8019)[_0x2b4817(0x1a4)];return _0x5a99fe<this[_0x2b4817(0x18a)]?this[_0x2b4817(0x18a)]:_0x5a99fe;}[_0x27b10a(0x10a)](_0x582c56){const _0x5c3125=_0x27b10a,_0x17ef02=this[_0x5c3125(0x146)][_0x5c3125(0x128)](this[_0x5c3125(0x146)][_0x5c3125(0x11e)]-0x1);if(_0x17ef02)this[_0x5c3125(0xbd)]=_0x17ef02['id'];else{const _0x3fe60a=!this[_0x5c3125(0x153)][_0x5c3125(0x124)][_0x5c3125(0xee)][_0x5c3125(0x152)][_0x5c3125(0x14b)](_0x1a32d5=>this[_0x5c3125(0x153)][_0x5c3125(0x124)][_0x5c3125(0xba)](_0x1a32d5)),_0x5f58a3=this[_0x5c3125(0x153)][_0x5c3125(0x1cd)][_0x5c3125(0x1da)](_0x5c3125(0x1a9))['me']['id'],_0x26d693=_0x2829c9(this[_0x5c3125(0x153)][_0x5c3125(0x123)],_0x3fe60a?_0x5c3125(0x132):_0x5c3125(0x11b));this[_0x5c3125(0x173)]({'from':_0x582c56,'to':_0x582c56,'id':this[_0x5c3125(0xbd)],'name':_0x26d693,'creatorId':_0x5f58a3});}}[_0x27b10a(0x179)](_0xcfb177){const _0x8b6edd=_0x27b10a,_0x373082=this[_0x8b6edd(0x177)][_0x8b6edd(0x15a)]();this[_0x8b6edd(0x17c)]=this[_0x8b6edd(0x146)][_0x8b6edd(0x128)](_0x373082),this[_0x8b6edd(0x17c)]||(this[_0x8b6edd(0x17c)]=this[_0x8b6edd(0x173)]({'from':_0xcfb177,'to':_0xcfb177,'id':_0x373082,'name':'','creatorId':null}));}[_0x27b10a(0x173)]({name:_0x1b1056,from:_0x471458,to:_0x4f296c,creatorId:_0x24606a,id:_0x113cd1}){const _0x11f9f9=_0x27b10a,_0x34644b=this[_0x11f9f9(0xe0)]({'from':_0x471458,'to':_0x4f296c});_0x34644b[_0x11f9f9(0x1b3)]=_0x1b1056,_0x34644b[_0x11f9f9(0xb6)]=_0x24606a,_0x34644b['id']=_0x113cd1;const _0x3a1957=this[_0x11f9f9(0x1a3)](_0x34644b);return this[_0x11f9f9(0x108)]&&this[_0x11f9f9(0x1dd)](_0x34644b['id'],_0x34644b,!0x0),_0x3a1957;}[_0x27b10a(0x101)](){const _0xa77472=_0x27b10a;this[_0xa77472(0x153)][_0xa77472(0x113)][_0xa77472(0x122)](_0xa77472(0xf3))[_0xa77472(0x1cf)]({'model':_0xa77472(0x112)});}[_0x27b10a(0x155)](_0xb55824){const _0x2beab8=_0x27b10a;return(_0xb55824=_0xb55824[_0x2beab8(0x1ba)](_0x2a7c61=>!_0x2a7c61[_0x2beab8(0x1b3)]||_0x2beab8(0x1d7)!==_0x2a7c61[_0x2beab8(0x1b3)]&&_0x2beab8(0x1a0)!==_0x2a7c61[_0x2beab8(0x1b3)]))[_0x2beab8(0x171)](_0x7f29c6=>{const _0x18af04=_0x2beab8;_0x18af04(0xe6)!=typeof _0x7f29c6&&(_0x7f29c6[_0x18af04(0x185)]=this[_0x18af04(0x155)](_0x7f29c6[_0x18af04(0x185)]),_0x7f29c6[_0x18af04(0x188)]=_0x7f29c6[_0x18af04(0x188)][_0x18af04(0x1ba)](_0x334141=>!_0x334141[0x0][_0x18af04(0xc1)](_0x18af04(0x150))));}),_0xb55824;}}function B(_0x3d88cd,_0x29fd90){const _0xb4d313=_0x27b10a,_0x468756=_0x29fd90[_0xb4d313(0x1d4)][_0xb4d313(0x19c)][_0xb4d313(0xee)];if(_0xb4d313(0xe6)==typeof _0x3d88cd)return new _0x1019a0(_0x468756,_0x3d88cd);{const _0x226df1=_0x3d88cd[_0xb4d313(0x185)][_0xb4d313(0xd0)](_0x1a577d=>B(_0x1a577d,_0x29fd90));return new(T[_0x3d88cd[(_0xb4d313(0x167))]]||_0x1e270c)(_0x468756,_0x3d88cd[_0xb4d313(0x1b3)],_0x3d88cd[_0xb4d313(0x188)],_0x226df1);}}class J{constructor(_0x4e3b75){const _0x3e5460=_0x27b10a;this[_0x3e5460(0x153)]=_0x4e3b75,this[_0x3e5460(0xd5)]=new Map(),this[_0x3e5460(0x15c)]=-0x1,this[_0x3e5460(0x165)]=-0x1,this[_0x3e5460(0x1c3)]=new Map(),this[_0x3e5460(0x19b)]=new Map(),this[_0x3e5460(0x142)]=new Map(),this[_0x3e5460(0x1b9)]=new Map(),this[_0x3e5460(0x10b)]=new Map(),this[_0x3e5460(0x1bc)]=new Map(),this[_0x3e5460(0x182)]=new Map(),this[_0x3e5460(0x125)]=new Map(),this[_0x3e5460(0x144)]=new Map(),this[_0x3e5460(0x17f)]=new Map(),this[_0x3e5460(0x1a1)]=0x1;}[_0x27b10a(0x193)](_0x388419){const _0x361d22=_0x27b10a;this[_0x361d22(0xb7)]=_0x388419;const _0x16bc31=new Map(),_0x37e1b1=new Map(),_0x2cde6c=this[_0x361d22(0x153)][_0x361d22(0x124)][_0x361d22(0xee)][_0x361d22(0x152)][_0x361d22(0xd0)](_0x2694d8=>_0x2694d8[_0x361d22(0x1af)]);for(const _0x33f88a of _0x2cde6c){const _0x50c294=this[_0x361d22(0x153)][_0x361d22(0x124)][_0x361d22(0xee)][_0x361d22(0xfb)](_0x33f88a),_0x539d55=q(_0x50c294);_0x16bc31[_0x361d22(0x13e)](_0x33f88a,_0x539d55),_0x37e1b1[_0x361d22(0x13e)](_0x33f88a,Object[_0x361d22(0x118)](_0x50c294[_0x361d22(0x1c7)]()));}const _0x4ccea3=Array[_0x361d22(0x109)](this[_0x361d22(0x153)][_0x361d22(0x124)][_0x361d22(0xc4)])[_0x361d22(0xd0)](_0x53eefc=>[_0x53eefc[_0x361d22(0x1b3)],_0x53eefc[_0x361d22(0x195)]()]),_0x47fb83=this[_0x361d22(0xb7)][_0x361d22(0xde)];this[_0x361d22(0xc8)](_0x47fb83,_0x16bc31,_0x4ccea3,_0x37e1b1),this[_0x361d22(0x161)]=this[_0x361d22(0x1a1)];const _0x53e2ff=new Map(),_0x4f29a5=new Map();for(const _0xdca369 of _0x2cde6c){const _0x30f739=G(_0xdca369);_0x53e2ff[_0x361d22(0x13e)](_0xdca369,_0x30f739),_0x4f29a5[_0x361d22(0x13e)](_0xdca369,{});}this[_0x361d22(0xc8)](Number[_0x361d22(0xec)],_0x53e2ff,[],_0x4f29a5);}[_0x27b10a(0xcd)](_0x4bd7ce,_0x28265a){const _0x32a248=_0x27b10a;if(this[_0x32a248(0x15c)]===_0x4bd7ce&&this[_0x32a248(0x165)]<=_0x28265a)this[_0x32a248(0xd5)][_0x32a248(0x13a)]>0x1&&this[_0x32a248(0x10f)](this[_0x32a248(0x165)]),this[_0x32a248(0xe8)](this[_0x32a248(0x165)],_0x28265a,!0x0);else{if(!this[_0x32a248(0xd5)][_0x32a248(0x131)](_0x4bd7ce)){const _0x2e7d40=this[_0x32a248(0x19e)](_0x4bd7ce);this[_0x32a248(0x163)](_0x2e7d40,_0x4bd7ce,!0x1);}this[_0x32a248(0x163)](_0x4bd7ce,_0x28265a,!0x0);}return this[_0x32a248(0x15c)]=_0x4bd7ce,this[_0x32a248(0x165)]=_0x28265a,this[_0x32a248(0x1d3)]();}[_0x27b10a(0x191)](_0x5a3a6e){const _0x9c962a=_0x27b10a;this[_0x9c962a(0x1c6)](),this[_0x9c962a(0x15c)]=_0x5a3a6e[_0x9c962a(0xb8)],this[_0x9c962a(0x165)]=_0x5a3a6e[_0x9c962a(0x1a4)];for(const _0x1df6dd in _0x5a3a6e[_0x9c962a(0x1cc)]){const _0x4258f0=_0x5a3a6e[_0x9c962a(0x1cc)][_0x1df6dd][_0x9c962a(0x16d)],_0x132f1b=_0x519237(_0x5a3a6e[_0x9c962a(0x1cc)][_0x1df6dd][_0x9c962a(0x13b)])||{},_0x4cd810=this[_0x9c962a(0xe1)](_0x5a3a6e[_0x9c962a(0x1cc)][_0x1df6dd][_0x9c962a(0xcb)]);_0x4cd810[_0x9c962a(0x1af)]=_0x1df6dd,_0x4cd810[_0x9c962a(0xce)]=!_0x4258f0||!_0x4258f0[_0x9c962a(0x12c)],_0x4cd810[_0x9c962a(0x12c)]=()=>_0x4cd810[_0x9c962a(0xce)],this[_0x9c962a(0x1b9)][_0x9c962a(0x13e)](_0x1df6dd,_0x4cd810),this[_0x9c962a(0x10b)][_0x9c962a(0x13e)](_0x1df6dd,_0x132f1b),_0x4258f0&&this[_0x9c962a(0x17f)][_0x9c962a(0x13e)](_0x1df6dd,_0x4258f0);const _0x3daee6=this[_0x9c962a(0x14d)](_0x4cd810);this[_0x9c962a(0x182)][_0x9c962a(0x13e)](_0x1df6dd,_0x3daee6);for(const [_0x25f5de,_0x34b60c]of _0x4cd810[_0x9c962a(0xc4)]){if(!_0x25f5de[_0x9c962a(0xc1)](_0x9c962a(0x13f)))continue;const _0x79bdda=_0x25f5de[_0x9c962a(0x158)](':')[0x2];for(const _0xf0263 of _0x34b60c[_0x9c962a(0x1ab)]({'singleCharacters':!0x0})){const _0x48a234=this[_0x9c962a(0x194)](_0xf0263),_0x436bd6=_0x9c962a(0x183)==_0xf0263[_0x9c962a(0x167)]?_0xf0263[_0x9c962a(0x189)][_0x9c962a(0x1a6)][_0x9c962a(0x157)](0x0,-0x1):_0xf0263[_0x9c962a(0x189)][_0x9c962a(0x1a6)],_0x1d564f=_0x3daee6[_0x9c962a(0xbe)](_0x436bd6)[_0x9c962a(0x1cb)](_0x48a234);this[_0x9c962a(0x125)][_0x9c962a(0x13e)](_0x1d564f,{'userId':_0x79bdda});}}}this[_0x9c962a(0x161)]=this[_0x9c962a(0x1a1)];const _0x9bd336=[...Array(this[_0x9c962a(0x1a1)])[_0x9c962a(0xef)]()][_0x9c962a(0x157)](0x1)[_0x9c962a(0x1ba)](_0x15546c=>!this[_0x9c962a(0x125)][_0x9c962a(0x131)](_0x15546c));let _0x592c0d=0x0;const _0xd880e9=new Map();for(const _0x1a62cd in _0x5a3a6e[_0x9c962a(0x1cc)]){const _0xd42196=_0x5a3a6e[_0x9c962a(0x1cc)][_0x1a62cd][_0x9c962a(0x16d)],_0x230623=_0x519237(_0x5a3a6e[_0x9c962a(0x1cc)][_0x1a62cd][_0x9c962a(0x159)])||{},_0x5c0471=this[_0x9c962a(0xe1)](_0x5a3a6e[_0x9c962a(0x1cc)][_0x1a62cd][_0x9c962a(0x1ac)]);_0x5c0471[_0x9c962a(0x1af)]=_0x1a62cd,_0x5c0471[_0x9c962a(0xce)]=!_0xd42196||_0xd42196[_0x9c962a(0x12c)],_0x5c0471[_0x9c962a(0x12c)]=()=>_0x5c0471[_0x9c962a(0xce)],this[_0x9c962a(0x19b)][_0x9c962a(0x13e)](_0x1a62cd,_0x5c0471),this[_0x9c962a(0x142)][_0x9c962a(0x13e)](_0x1a62cd,_0x230623);const _0x3e8761=this[_0x9c962a(0x14d)](_0x5c0471,Number[_0x9c962a(0xec)]);this[_0x9c962a(0x1bc)][_0x9c962a(0x13e)](_0x1a62cd,_0x3e8761),_0xd880e9[_0x9c962a(0x13e)](_0x1a62cd,_0x5c0471[_0x9c962a(0x12c)]()?_0x230623:{});for(const [_0x5c7e00,_0x125724]of _0x5c0471[_0x9c962a(0xc4)]){if(!_0x5c7e00[_0x9c962a(0xc1)](_0x9c962a(0x13f)))continue;const _0x244042=_0x5c7e00[_0x9c962a(0x158)](':')[0x2];for(const _0x394a9c of _0x125724[_0x9c962a(0x1ab)]({'singleCharacters':!0x0})){const _0x427ed3=this[_0x9c962a(0x194)](_0x394a9c),_0x22756e=this[_0x9c962a(0x1a1)]++,_0x228812=_0x9c962a(0x183)==_0x394a9c[_0x9c962a(0x167)]?_0x394a9c[_0x9c962a(0x189)][_0x9c962a(0x1a6)][_0x9c962a(0x157)](0x0,-0x1):_0x394a9c[_0x9c962a(0x189)][_0x9c962a(0x1a6)];_0x3e8761[_0x9c962a(0xbe)](_0x228812)[_0x9c962a(0x15f)](_0x427ed3,_0x22756e),this[_0x9c962a(0x125)][_0x9c962a(0x13e)](_0x22756e,{'userId':_0x244042});}}for(const _0xbc3316 of this[_0x9c962a(0x153)][_0x9c962a(0x124)][_0x9c962a(0x160)](_0x5c0471)[_0x9c962a(0x1ab)]({'singleCharacters':!0x0})){const _0x34c00b=this[_0x9c962a(0x194)](_0xbc3316),_0x3f12d8=_0x9c962a(0x183)==_0xbc3316[_0x9c962a(0x167)]?_0xbc3316[_0x9c962a(0x189)][_0x9c962a(0x1a6)][_0x9c962a(0x157)](0x0,-0x1):_0xbc3316[_0x9c962a(0x189)][_0x9c962a(0x1a6)],_0x1d7eba=_0x3e8761[_0x9c962a(0xbe)](_0x3f12d8);_0x1d7eba[_0x9c962a(0x1cb)](_0x34c00b)>0x0||_0x1d7eba[_0x9c962a(0x15f)](_0x34c00b,_0x9bd336[_0x592c0d++]);}for(const [_0x954147,_0x5b3e9a]of _0x5c0471[_0x9c962a(0xc4)])_0x954147[_0x9c962a(0xc1)](_0x9c962a(0x13f))||this[_0x9c962a(0x1c3)][_0x9c962a(0x13e)](_0x954147,_0x5b3e9a);}const _0x4b3e56=G(_0x9c962a(0x129));this[_0x9c962a(0x1b9)][_0x9c962a(0x13e)](_0x9c962a(0x129),_0x4b3e56),this[_0x9c962a(0x182)][_0x9c962a(0x13e)](_0x9c962a(0x129),this[_0x9c962a(0x14d)](_0x4b3e56,0x1));const _0x2f72e0=G(_0x9c962a(0x129));this[_0x9c962a(0x19b)][_0x9c962a(0x13e)](_0x9c962a(0x129),_0x2f72e0),this[_0x9c962a(0x1bc)][_0x9c962a(0x13e)](_0x9c962a(0x129),this[_0x9c962a(0x14d)](_0x2f72e0,0x1));const _0x485b0e=Array[_0x9c962a(0x109)](this[_0x9c962a(0x19b)])[_0x9c962a(0xd0)](([_0x36fd59,_0x135543])=>[_0x36fd59,q(_0x135543)]);this[_0x9c962a(0xc8)](this[_0x9c962a(0x165)],_0x485b0e,this[_0x9c962a(0x1c3)],_0xd880e9);}[_0x27b10a(0xe1)](_0x29cd4d){const _0x5c05d3=_0x27b10a,_0x1bc9b4=JSON[_0x5c05d3(0x11c)](_0x29cd4d),_0x5c341b=this[_0x5c05d3(0x153)][_0x5c05d3(0x1d4)][_0x5c05d3(0x19c)][_0x5c05d3(0xee)],_0x357e4a=new _0xf8f6c6(_0x5c341b,_0x1bc9b4[_0x5c05d3(0xd0)](_0x28ea66=>B(_0x28ea66,this[_0x5c05d3(0x153)])));return this[_0x5c05d3(0x153)][_0x5c05d3(0xfa)][_0x5c05d3(0x1b6)](_0x357e4a);}[_0x27b10a(0xc8)](_0x4c5c07,_0xc7d706,_0x59ed26,_0x5a9536){const _0x4880a3=_0x27b10a,_0x53232b=new Map(_0xc7d706),_0x4ea8f2=new Map(_0x519237(_0x5a9536)),_0x433c13=new Map();for(const [_0x555034,_0x4c306e]of _0x59ed26)_0x433c13[_0x4880a3(0x13e)](_0x555034,{'start':_0x4c306e[_0x4880a3(0x18c)][_0x4880a3(0xd7)](),'end':_0x4c306e[_0x4880a3(0x178)][_0x4880a3(0xd7)](),'rootName':_0x4c306e[_0x4880a3(0x186)][_0x4880a3(0x1af)]});this[_0x4880a3(0xd5)][_0x4880a3(0x13e)](_0x4c5c07,{'roots':_0x53232b,'markers':_0x433c13,'rootsAttributes':_0x4ea8f2});}[_0x27b10a(0x10f)](_0x4c8637){const _0x728580=_0x27b10a;this[_0x728580(0xd5)][_0x728580(0x192)](_0x4c8637);}[_0x27b10a(0xca)](){const _0x1748fd=_0x27b10a;this[_0x1748fd(0x1c6)](),this[_0x1748fd(0x15c)]=-0x1,this[_0x1748fd(0x165)]=-0x1,this[_0x1748fd(0xd5)][_0x1748fd(0x148)](),this[_0x1748fd(0x193)](this[_0x1748fd(0xb7)]);}[_0x27b10a(0x1c6)](){const _0x76f577=_0x27b10a;this[_0x76f577(0x125)][_0x76f577(0x148)](),this[_0x76f577(0x144)][_0x76f577(0x148)](),this[_0x76f577(0x17f)][_0x76f577(0x148)](),this[_0x76f577(0x19b)][_0x76f577(0x148)](),this[_0x76f577(0x142)][_0x76f577(0x148)](),this[_0x76f577(0x1b9)][_0x76f577(0x148)](),this[_0x76f577(0x10b)][_0x76f577(0x148)](),this[_0x76f577(0x1bc)][_0x76f577(0x148)](),this[_0x76f577(0x182)][_0x76f577(0x148)](),this[_0x76f577(0x1c3)][_0x76f577(0x148)](),this[_0x76f577(0x1a1)]=0x1,this[_0x76f577(0x161)]=this[_0x76f577(0x1a1)];}[_0x27b10a(0x14d)](_0x25c426,_0x4b3396=null){const _0x325d33=_0x27b10a;let _0x4652bc=null;_0x25c426['is'](_0x325d33(0x19f))||(_0x4652bc=new _0x184b2f(_0x25c426[_0x325d33(0x1b3)],{'vid_start':null===_0x4b3396?this[_0x325d33(0x1a1)]++:_0x4b3396++}));const _0x474bfe=[];for(const _0x1f1d53 of _0x25c426[_0x325d33(0x119)]())if(_0x1f1d53['is'](_0x325d33(0xf7))){_0x474bfe[_0x325d33(0xc7)](this[_0x325d33(0x14d)](_0x1f1d53,_0x4b3396));const _0x29544e=_0x474bfe[_0x474bfe[_0x325d33(0x11e)]-0x1];null!==_0x4b3396&&(_0x4b3396=_0x29544e['is'](_0x325d33(0xf7),_0x325d33(0x12a))?_0x29544e[_0x325d33(0x1cb)](_0x325d33(0x1a8))+0x1:_0x29544e[_0x325d33(0x1cb)](_0x325d33(0xc6))+0x1);}else{for(let _0x4761ef=0x0;_0x4761ef<_0x1f1d53[_0x325d33(0x140)];_0x4761ef++)_0x474bfe[_0x325d33(0xc7)](new _0x184b2f(_0x325d33(0x12a),{'vid':null===_0x4b3396?this[_0x325d33(0x1a1)]++:_0x4b3396++}));}if(_0x25c426['is'](_0x325d33(0x19f))){const _0x176445=G(_0x25c426[_0x325d33(0x1af)]);return _0x176445[_0x325d33(0x114)](0x0,_0x474bfe),_0x176445;}return _0x4652bc[_0x325d33(0x15f)](_0x325d33(0xc6),null===_0x4b3396?this[_0x325d33(0x1a1)]++:_0x4b3396++),_0x4652bc[_0x325d33(0x114)](0x0,_0x474bfe),_0x4652bc;}[_0x27b10a(0x163)](_0x30bf77,_0x19714a,_0x5506e9){const _0x20322c=_0x27b10a;this[_0x20322c(0x1c6)]();const {roots:_0x2b0dd7,markers:_0x156b37,rootsAttributes:_0x4d3d46}=this[_0x20322c(0xd5)][_0x20322c(0x1da)](_0x30bf77);this[_0x20322c(0x1b9)]=new Map(_0x2b0dd7),this[_0x20322c(0x10b)]=new Map(_0x519237(_0x4d3d46));for(const [_0x505846,_0x101410]of this[_0x20322c(0x1b9)])if(_0x20322c(0x129)!==_0x505846&&(this[_0x20322c(0x19b)][_0x20322c(0x13e)](_0x505846,q(_0x101410)),this[_0x20322c(0x142)]=new Map(_0x519237(_0x4d3d46)),_0x5506e9)){const _0x39f3d8=this[_0x20322c(0x1a1)];this[_0x20322c(0x1bc)][_0x20322c(0x13e)](_0x505846,this[_0x20322c(0x14d)](_0x101410)),this[_0x20322c(0x182)][_0x20322c(0x13e)](_0x505846,this[_0x20322c(0x14d)](_0x101410,_0x39f3d8));}this[_0x20322c(0x161)]=this[_0x20322c(0x1a1)],this[_0x20322c(0x19b)][_0x20322c(0x13e)](_0x20322c(0x129),q(this[_0x20322c(0x1b9)][_0x20322c(0x1da)](_0x20322c(0x129)))),_0x5506e9&&this[_0x20322c(0x1bc)][_0x20322c(0x13e)](_0x20322c(0x129),this[_0x20322c(0x14d)](this[_0x20322c(0x1b9)][_0x20322c(0x1da)](_0x20322c(0x129))));for(const [_0x4b0629,_0x5ccf97]of _0x156b37){const _0x14c65f=this[_0x20322c(0x1b9)][_0x20322c(0x1da)](_0x5ccf97[_0x20322c(0x1af)]),_0x3c98c6=this[_0x20322c(0x19b)][_0x20322c(0x1da)](_0x5ccf97[_0x20322c(0x1af)]),_0x4d61b2=new _0x27210b(this[_0x20322c(0x133)](_0x5ccf97[_0x20322c(0x18c)],_0x14c65f),this[_0x20322c(0x133)](_0x5ccf97[_0x20322c(0x178)],_0x14c65f)),_0xc2179f=this[_0x20322c(0x168)](_0x4d61b2,_0x3c98c6);_0x14c65f[_0x20322c(0xc4)][_0x20322c(0x13e)](_0x4b0629,_0x4d61b2),this[_0x20322c(0x1c3)][_0x20322c(0x13e)](_0x4b0629,_0xc2179f);}this[_0x20322c(0xe8)](_0x30bf77,_0x19714a,_0x5506e9);}[_0x27b10a(0xe8)](_0x2b3022,_0x469710,_0x273e71){const _0x4768eb=_0x27b10a;for(const _0x1754bd of this[_0x4768eb(0xb7)][_0x4768eb(0x19d)](_0x2b3022,_0x469710))this[_0x4768eb(0x162)](_0x1754bd,_0x273e71);for(const _0x2f09cb of this[_0x4768eb(0x19b)][_0x4768eb(0x172)]())_0x2f09cb[_0x4768eb(0xc4)][_0x4768eb(0x148)]();for(const [_0x53fce4,_0x43c9e0]of this[_0x4768eb(0x1c3)]){this[_0x4768eb(0x19b)][_0x4768eb(0x1da)](_0x43c9e0[_0x4768eb(0x186)][_0x4768eb(0x1af)])[_0x4768eb(0xc4)][_0x4768eb(0x13e)](_0x53fce4,_0x43c9e0[_0x4768eb(0xd7)]());}const _0x116d9b=new Map(),_0x6a269f=new Map();for(const [_0x1d9f06,_0x1798de]of this[_0x4768eb(0x19b)])_0x116d9b[_0x4768eb(0x13e)](_0x1d9f06,q(_0x1798de)),_0x6a269f[_0x4768eb(0x13e)](_0x1d9f06,this[_0x4768eb(0x142)][_0x4768eb(0x1da)](_0x1d9f06));this[_0x4768eb(0xc8)](_0x469710,_0x116d9b,this[_0x4768eb(0x1c3)],_0x6a269f);}[_0x27b10a(0x19e)](_0x323417){const _0x4842e2=_0x27b10a,_0x4f1680=Array[_0x4842e2(0x109)](this[_0x4842e2(0xd5)][_0x4842e2(0xef)]());_0x4f1680[_0x4842e2(0x16c)]((_0x10664c,_0x113952)=>_0x10664c-_0x113952),_0x4f1680[_0x4842e2(0x1d1)]();for(const _0x589102 of _0x4f1680)if(_0x589102<_0x323417)return _0x589102;return Number[_0x4842e2(0xec)];}[_0x27b10a(0x175)](_0x52a8df,_0x5ea17d){const _0x574b9b=_0x27b10a,_0x4f5ac2=Array[_0x574b9b(0x109)](_0x5ea17d[_0x574b9b(0xc4)])[_0x574b9b(0xd0)](([_0xb4123b,_0x4a7d8a])=>[_0xb4123b,this[_0x574b9b(0x168)](_0x4a7d8a,_0x52a8df)]);_0x52a8df[_0x574b9b(0xc4)]=new Map(_0x4f5ac2);}[_0x27b10a(0xe7)](_0x126931){const _0x3e1325=_0x27b10a;for(const _0x50951b of this[_0x3e1325(0x1c3)][_0x3e1325(0x172)]()){const _0x48d106=_0x50951b[_0x3e1325(0x184)](_0x126931),_0x2cae1e=_0x27210b[_0x3e1325(0x199)](_0x48d106);_0x50951b[_0x3e1325(0x18c)]=_0x2cae1e[_0x3e1325(0x18c)],_0x50951b[_0x3e1325(0x178)]=_0x2cae1e[_0x3e1325(0x178)];}}[_0x27b10a(0x162)](_0x3bc9b3,_0x56d0a9){const _0x640b16=_0x27b10a;if(_0x640b16(0x10d)==_0x3bc9b3[_0x640b16(0x167)]||_0x640b16(0xfe)==_0x3bc9b3[_0x640b16(0x167)])return void this[_0x640b16(0x1a7)](_0x3bc9b3,_0x56d0a9);if(_0x640b16(0x15d)==_0x3bc9b3[_0x640b16(0x167)]){const _0x2aa2e8=_0x3bc9b3[_0x640b16(0x1bb)][_0x640b16(0x186)][_0x640b16(0x1af)];this[_0x640b16(0x19b)][_0x640b16(0x131)](_0x2aa2e8)||(this[_0x640b16(0x19b)][_0x640b16(0x13e)](_0x2aa2e8,G(_0x2aa2e8,!0x0)),this[_0x640b16(0x142)][_0x640b16(0x13e)](_0x2aa2e8,{}),_0x56d0a9&&this[_0x640b16(0x1bc)][_0x640b16(0x13e)](_0x2aa2e8,G(_0x2aa2e8,!0x0)));}else{if(_0x640b16(0xf6)==_0x3bc9b3[_0x640b16(0x167)]||_0x640b16(0x180)==_0x3bc9b3[_0x640b16(0x167)]||_0x640b16(0xc0)==_0x3bc9b3[_0x640b16(0x167)])return void this[_0x640b16(0x1b0)](_0x3bc9b3);}const _0x2357f7=this[_0x640b16(0x100)](_0x3bc9b3,this[_0x640b16(0x19b)]);if(_0x640b16(0x121)!==_0x3bc9b3[_0x640b16(0x167)]&&(_0x2357f7[_0x640b16(0x1c1)](),this[_0x640b16(0xe7)](_0x2357f7)),_0x56d0a9)switch(_0x2357f7[_0x640b16(0x167)]){case _0x640b16(0x15d):this[_0x640b16(0x13c)](_0x3bc9b3);break;case _0x640b16(0xc3):case _0x640b16(0x1bf):case _0x640b16(0x1db):this[_0x640b16(0xd9)](_0x3bc9b3);break;case _0x640b16(0x106):this[_0x640b16(0x16a)](_0x3bc9b3);break;case _0x640b16(0x158):this[_0x640b16(0x130)](_0x3bc9b3);break;case _0x640b16(0x121):this[_0x640b16(0x11d)](_0x3bc9b3);}}[_0x27b10a(0x100)](_0x5c67a2,_0x7f9879){const _0x5a9c9e=_0x27b10a,_0x35e94c=_0x5c67a2[_0x5a9c9e(0xd7)]();return _0x35e94c[_0x5a9c9e(0x18b)]=_0x5c67a2[_0x5a9c9e(0x18b)],this[_0x5a9c9e(0xd4)](_0x35e94c,_0x7f9879),_0x35e94c;}[_0x27b10a(0x17a)](_0xea7689){const _0x3f2d76=_0x27b10a;return _0xea7689[_0x3f2d76(0xd0)](_0x2f49f9=>{const _0x1e97df=_0x3f2d76,_0x5b4c11=this[_0x1e97df(0x194)](_0x2f49f9);return Number(_0x2f49f9[_0x1e97df(0x1ce)][_0x1e97df(0x1cb)](_0x5b4c11));});}[_0x27b10a(0x15b)](_0x54ffad,_0x40cc29){const _0x329fb3=_0x27b10a;if(_0x54ffad['is'](_0x329fb3(0xf7),_0x329fb3(0x12a)))_0x40cc29[_0x329fb3(0xc7)]({'item':_0x54ffad,'type':_0x329fb3(0x18e)});else{_0x54ffad['is'](_0x329fb3(0xf7))&&_0x40cc29[_0x329fb3(0xc7)]({'item':_0x54ffad,'type':_0x329fb3(0x12b)});for(const _0x5652d5 of _0x54ffad[_0x329fb3(0x119)]())this[_0x329fb3(0x15b)](_0x5652d5,_0x40cc29);_0x54ffad['is'](_0x329fb3(0xf7))&&_0x40cc29[_0x329fb3(0xc7)]({'item':_0x54ffad,'type':_0x329fb3(0x183)});}return _0x40cc29;}[_0x27b10a(0x1d3)](){const _0x409403=_0x27b10a,_0x175ddf=new Map(this[_0x409403(0x125)]),_0x5130a3=new Map(_0x175ddf),_0x36ce60=new Map(),_0x57a136={'insertions':{},'deletions':{}},_0x3f9a56={'insertions':{},'deletions':{}},_0x2074e2=new Map(),_0xb367d2=new Set([...this[_0x409403(0x1b9)][_0x409403(0xef)](),...this[_0x409403(0x19b)][_0x409403(0xef)]()]);_0xb367d2[_0x409403(0x192)](_0x409403(0x129));for(const _0x43671e of _0xb367d2){const _0x5e01ef=this[_0x409403(0x19b)][_0x409403(0x1da)](_0x43671e)||G(_0x43671e,!0x1),_0x449a18=this[_0x409403(0x1b9)][_0x409403(0x1da)](_0x43671e)||G(_0x43671e,!0x1);_0x5e01ef[_0x409403(0x12c)]()||_0x449a18[_0x409403(0x12c)]()?(_0x57a136[_0x409403(0x1ac)][_0x43671e]=q(_0x5e01ef),_0x57a136[_0x409403(0xcb)][_0x43671e]=q(_0x449a18),this[_0x409403(0x175)](_0x57a136[_0x409403(0xcb)][_0x43671e],_0x449a18),this[_0x409403(0x175)](_0x57a136[_0x409403(0x1ac)][_0x43671e],_0x5e01ef),_0x3f9a56[_0x409403(0x1ac)][_0x43671e]=this[_0x409403(0x15b)](this[_0x409403(0x1bc)][_0x409403(0x1da)](_0x43671e),[]),_0x3f9a56[_0x409403(0xcb)][_0x43671e]=this[_0x409403(0x15b)](this[_0x409403(0x182)][_0x409403(0x1da)](_0x43671e)||G(_0x43671e,!0x1),[])):_0xb367d2[_0x409403(0x192)](_0x43671e);}for(const _0xdff740 of _0xb367d2){const _0xc8cf5f=_0x3f9a56[_0x409403(0x1ac)][_0xdff740];for(const _0x465c3e of _0xc8cf5f){const _0x3d5d7d=this[_0x409403(0x194)](_0x465c3e),_0x399457=_0x465c3e[_0x409403(0x1ce)][_0x409403(0x1cb)](_0x3d5d7d);_0x5130a3[_0x409403(0x192)](_0x399457),_0x399457>=this[_0x409403(0x161)]&&_0x36ce60[_0x409403(0x13e)](_0x399457,_0x175ddf[_0x409403(0x1da)](_0x399457));}}for(const _0x8c972b of _0xb367d2){const _0xab2e9=_0x3f9a56[_0x409403(0x1ac)][_0x8c972b],_0x3d307c=this[_0x409403(0x17a)](_0x3f9a56[_0x409403(0xcb)][_0x8c972b]);let _0xce3959=0x0;for(const _0x4554cf of _0xab2e9){const _0x5bf8bd=this[_0x409403(0x194)](_0x4554cf),_0x52ac22=_0x4554cf[_0x409403(0x1ce)][_0x409403(0x1cb)](_0x5bf8bd);if(!_0x36ce60[_0x409403(0x131)](_0x52ac22)&&!_0x2074e2[_0x409403(0x131)](_0x52ac22)){if(_0x5130a3[_0x409403(0x131)](_0x52ac22))_0xce3959++;else{if(_0x52ac22!=_0x3d307c[_0xce3959]){const _0x26291a=_0x175ddf[_0x409403(0x1da)](_0x52ac22)||_0x175ddf[_0x409403(0x1da)](_0x3d307c[_0xce3959]);for(;_0x52ac22!=_0x3d307c[_0xce3959];)_0x5130a3[_0x409403(0x131)](_0x3d307c[_0xce3959])||(_0x2074e2[_0x409403(0x13e)](_0x3d307c[_0xce3959],_0x26291a),_0x175ddf[_0x409403(0x13e)](_0x3d307c[_0xce3959],_0x26291a)),_0xce3959++;}_0xce3959++;}}}}for(const _0x51ded8 of _0xb367d2){const _0x237219=_0x3f9a56[_0x409403(0x1ac)][_0x51ded8];for(const _0x2dfc2c of _0x237219){const _0x5cb836=this[_0x409403(0x194)](_0x2dfc2c),_0x11ee6d=_0x2dfc2c[_0x409403(0x1ce)][_0x409403(0x1cb)](_0x5cb836);if(_0x2074e2[_0x409403(0x131)](_0x11ee6d)){const _0xe9f922=_0x2074e2[_0x409403(0x1da)](_0x11ee6d);_0x5130a3[_0x409403(0x131)](_0x11ee6d)||_0x5130a3[_0x409403(0x13e)](_0x11ee6d,{..._0xe9f922}),_0x36ce60[_0x409403(0x13e)](_0x11ee6d,{..._0xe9f922});}}}for(const _0x5e4083 of _0x5130a3[_0x409403(0xef)]())_0x5e4083>=this[_0x409403(0x161)]&&_0x5130a3[_0x409403(0x192)](_0x5e4083);const _0x484893=new Map();for(const _0x3cc100 of _0xb367d2){let _0x501ca2=_0x3f9a56[_0x409403(0x1ac)][_0x3cc100];for(const _0x46f1ba of _0x501ca2)if(_0x46f1ba[_0x409403(0x1ce)]['is'](_0x409403(0xf7),_0x409403(0xbb))){const _0x2901c5=this[_0x409403(0x194)](_0x46f1ba),_0x1fab36=_0x46f1ba[_0x409403(0x1ce)][_0x409403(0x1cb)](_0x2901c5);if(_0x36ce60[_0x409403(0x131)](_0x1fab36)){const _0x2e29d7=_0x46f1ba[_0x409403(0x1ce)][_0x409403(0xdc)][_0x409403(0xdc)][_0x409403(0x1cb)](_0x409403(0x1b1)),_0x244fd7=_0x484893[_0x409403(0x1da)](_0x2e29d7)||new Set();_0x244fd7[_0x409403(0x1b4)](_0x36ce60[_0x409403(0x1da)](_0x1fab36)[_0x409403(0xcf)]),_0x484893[_0x409403(0x13e)](_0x2e29d7,_0x244fd7);}}_0x501ca2=_0x3f9a56[_0x409403(0xcb)][_0x3cc100];for(const _0x3cc15d of _0x501ca2)if(_0x3cc15d[_0x409403(0x1ce)]['is'](_0x409403(0xf7),_0x409403(0xbb))){const _0xef452a=this[_0x409403(0x194)](_0x3cc15d),_0x3d368c=_0x3cc15d[_0x409403(0x1ce)][_0x409403(0x1cb)](_0xef452a);if(_0x5130a3[_0x409403(0x131)](_0x3d368c)){const _0x53210f=_0x3cc15d[_0x409403(0x1ce)][_0x409403(0xdc)][_0x409403(0xdc)][_0x409403(0x1cb)](_0x409403(0x1b1)),_0x1481c6=_0x484893[_0x409403(0x1da)](_0x53210f)||new Set();_0x1481c6[_0x409403(0x1b4)](_0x5130a3[_0x409403(0x1da)](_0x3d368c)[_0x409403(0xcf)]),_0x484893[_0x409403(0x13e)](_0x53210f,_0x1481c6);}}for(const _0x3af15a of _0x484893[_0x409403(0xef)]())(_0x36ce60[_0x409403(0x131)](_0x3af15a)||_0x5130a3[_0x409403(0x131)](_0x3af15a))&&_0x484893[_0x409403(0x192)](_0x3af15a);}for(const _0x21ad0e of _0xb367d2){const _0x500402=_0x3f9a56[_0x409403(0x1ac)][_0x21ad0e];let _0x51b978=null,_0x250679=null;for(const _0x1ad16d of _0x500402){const _0x592644=this[_0x409403(0x194)](_0x1ad16d),_0x1617b3=_0x1ad16d[_0x409403(0x1ce)][_0x409403(0x1cb)](_0x592644),_0x3614b1=_0x484893[_0x409403(0x1da)](_0x1617b3);_0x3614b1&&_0x409403(0x12b)==_0x1ad16d[_0x409403(0x167)]&&(_0x51b978=Array[_0x409403(0x109)](_0x3614b1)[0x0],_0x250679=_0x1ad16d[_0x409403(0x1ce)][_0x409403(0x1cb)](_0x409403(0xc6))),_0x51b978&&(_0x5130a3[_0x409403(0x13e)](_0x1617b3,{'userId':_0x51b978}),_0x36ce60[_0x409403(0x13e)](_0x1617b3,{'userId':_0x51b978})),_0x1617b3==_0x250679&&(_0x51b978=null,_0x250679=null);}}const _0x1703ef={},_0x20ebd0=new Set();for(const _0x45ee8d of _0xb367d2){const _0x3713b1=_0x57a136[_0x409403(0xcb)][_0x45ee8d],_0x5eb132=_0x57a136[_0x409403(0x1ac)][_0x45ee8d];for(const {userId:_0x59d4bc}of this[_0x409403(0x144)][_0x409403(0x172)]())null!==_0x59d4bc&&_0x20ebd0[_0x409403(0x1b4)](_0x59d4bc);for(const {userId:_0x1b1129}of this[_0x409403(0x17f)][_0x409403(0x172)]())null!==_0x1b1129&&_0x20ebd0[_0x409403(0x1b4)](_0x1b1129);this[_0x409403(0x10e)](_0x5eb132,_0x3f9a56[_0x409403(0x1ac)][_0x45ee8d],_0x36ce60,_0x409403(0x181),_0x20ebd0),this[_0x409403(0x10e)](_0x3713b1,_0x3f9a56[_0x409403(0xcb)][_0x45ee8d],_0x5130a3,_0x409403(0xed),_0x20ebd0),_0x1703ef[_0x45ee8d]={'insertions':this[_0x409403(0x1d9)](_0x5eb132),'deletions':this[_0x409403(0x1d9)](_0x3713b1),'attachChange':this[_0x409403(0x17f)][_0x409403(0x1da)](_0x45ee8d)||null,'attributesBefore':_0x519237(this[_0x409403(0x10b)][_0x409403(0x1da)](_0x45ee8d))||{},'attributesAfter':_0x519237(this[_0x409403(0x142)][_0x409403(0x1da)](_0x45ee8d))};}return{'diffData':_0x1703ef,'authorsIds':Array[_0x409403(0x109)](_0x20ebd0)};}[_0x27b10a(0x1b2)](_0x1d7430){const _0x932244=_0x27b10a;for(const [,_0x375020]of _0x1d7430[_0x932244(0xc4)]){const _0x372ad7=_0x375020[_0x932244(0x18c)][_0x932244(0xf0)]()[_0x932244(0x1ba)](_0x2ae031=>_0x932244(0xbb)==_0x2ae031[_0x932244(0x1b3)]);for(const _0x68aace of _0x372ad7)0x1==_0x68aace[_0x932244(0x14a)]&&_0x68aace[_0x932244(0x137)](0x0)['is'](_0x932244(0xf7),_0x932244(0xdb))&&_0x68aace[_0x932244(0x137)](0x0)[_0x932244(0x15f)](_0x932244(0x1d6),!0x0);}}[_0x27b10a(0x1d9)](_0x37ba9b){const _0xec2693=_0x27b10a;this[_0xec2693(0x1b2)](_0x37ba9b);const _0x55f653=this[_0xec2693(0x153)][_0xec2693(0xfa)][_0xec2693(0x1c8)](_0x37ba9b,{}),_0x5a5593=Array[_0xec2693(0x109)](_0x55f653[_0xec2693(0x119)]())[_0xec2693(0xd0)](_0x23a0f8=>this[_0xec2693(0x1de)](_0x23a0f8));return JSON[_0xec2693(0x105)](_0x5a5593);}[_0x27b10a(0x1de)](_0x56cdcf){const _0xd3e02a=_0x27b10a;if(_0x56cdcf['is'](_0xd3e02a(0x12a)))return _0x56cdcf[_0xd3e02a(0xfa)];{const _0x306214=_0x56cdcf;return{'type':Object[_0xd3e02a(0xef)](T)[_0xd3e02a(0x14b)](_0x54f055=>_0x56cdcf instanceof T[_0x54f055]),'name':_0x306214[_0xd3e02a(0x1b3)],'attributes':Array[_0xd3e02a(0x109)](_0x306214[_0xd3e02a(0x1c7)]()),'children':Array[_0xd3e02a(0x109)](_0x306214[_0xd3e02a(0x119)]())[_0xd3e02a(0xd0)](_0x3751e5=>this[_0xd3e02a(0x1de)](_0x3751e5))};}}[_0x27b10a(0x10e)](_0x138d12,_0x5a8b8f,_0x331195,_0x8e6687,_0x594b0b){const _0x2d2623=_0x27b10a;let _0x40b014=null,_0x40868b=null,_0x1cdf0a=0x0;const _0x54885c=this[_0x2d2623(0x153)][_0x2d2623(0x124)];for(let _0x496ece=0x0;_0x496ece<_0x5a8b8f[_0x2d2623(0x11e)];_0x496ece++){const _0x10c301=this[_0x2d2623(0x194)](_0x5a8b8f[_0x496ece]),_0xf6a50a=_0x5a8b8f[_0x496ece][_0x2d2623(0x1ce)][_0x2d2623(0x1cb)](_0x10c301),_0x5422ff=_0x331195[_0x2d2623(0x1da)](_0xf6a50a),_0x43ed25=_0x496ece==_0x5a8b8f[_0x2d2623(0x11e)]-0x1;(!_0x40b014&&_0x5422ff&&(_0x40b014=_0x5422ff,_0x40868b=_0x5a8b8f[_0x496ece]),_0x40b014&&(!_0x5422ff||_0x5422ff[_0x2d2623(0xcf)]!=_0x40b014[_0x2d2623(0xcf)]))&&(_0x4876e3(_0x5422ff,L(_0x40868b,_0x138d12,_0x54885c),L(_0x5a8b8f[_0x496ece],_0x138d12,_0x54885c)),_0x40b014=_0x5422ff||null,_0x40868b=_0x5422ff?_0x5a8b8f[_0x496ece]:null),_0x40b014&&_0x43ed25&&_0x4876e3(_0x5422ff,L(_0x40868b,_0x138d12,_0x54885c),W(_0x5a8b8f[_0x496ece],_0x138d12,_0x54885c));}function _0x4876e3(_0x1626d0,_0x3602b8,_0x119670){const _0x47339a=_0x2d2623,_0x4f7131=_0x40b014[_0x47339a(0xcf)],_0x22ca4f=_0x47339a(0x13f)+_0x8e6687+':'+_0x4f7131+':'+_0x1cdf0a++,_0x415a78=_0x54885c[_0x47339a(0xbc)](_0x3602b8,_0x119670);_0x138d12[_0x47339a(0xc4)][_0x47339a(0x13e)](_0x22ca4f,_0x415a78),null!==_0x4f7131&&_0x594b0b[_0x47339a(0x1b4)](_0x4f7131);}}[_0x27b10a(0x194)](_0x4c8518){const _0x48f187=_0x27b10a;switch(_0x4c8518[_0x48f187(0x167)]){case _0x48f187(0x12b):return _0x48f187(0x1b1);case _0x48f187(0x183):return _0x48f187(0xc6);default:return _0x48f187(0x1a8);}}[_0x27b10a(0xd4)](_0x438f55,_0x27fcdf){const _0x3fdf3c=_0x27b10a;_0x438f55[_0x3fdf3c(0x174)]=null;for(const _0x3846fa in _0x438f55){const _0x103efc=_0x438f55[_0x3846fa];if(_0x103efc instanceof _0x724727){const _0x4d2f43=_0x27fcdf[_0x3fdf3c(0x1da)](_0x103efc[_0x3fdf3c(0x186)][_0x3fdf3c(0x1af)]);_0x438f55[_0x3846fa]=this[_0x3fdf3c(0x133)](_0x103efc,_0x4d2f43);}if(_0x103efc instanceof _0x27210b){const _0x364013=_0x27fcdf[_0x3fdf3c(0x1da)](_0x103efc[_0x3fdf3c(0x186)][_0x3fdf3c(0x1af)]);_0x438f55[_0x3846fa]=this[_0x3fdf3c(0x168)](_0x103efc,_0x364013);}_0x3fdf3c(0x186)===_0x3846fa&&(_0x438f55[_0x3fdf3c(0x186)]=_0x27fcdf[_0x3fdf3c(0x1da)](_0x438f55[_0x3fdf3c(0x186)][_0x3fdf3c(0x1af)]));}}[_0x27b10a(0x168)](_0x222888,_0x3e0f67){const _0x599b29=_0x27b10a;return this[_0x599b29(0x153)][_0x599b29(0x124)][_0x599b29(0xbc)](this[_0x599b29(0x133)](_0x222888[_0x599b29(0x18c)],_0x3e0f67),this[_0x599b29(0x133)](_0x222888[_0x599b29(0x178)],_0x3e0f67));}[_0x27b10a(0x133)](_0x41ec17,_0x17848e){const _0x16f7a0=_0x27b10a;return this[_0x16f7a0(0x153)][_0x16f7a0(0x124)][_0x16f7a0(0x147)](_0x17848e,_0x41ec17[_0x16f7a0(0x1a6)],_0x41ec17[_0x16f7a0(0xf2)]);}[_0x27b10a(0x13c)](_0x13b368){const _0x24c7bc=_0x27b10a,_0x2efe0b=this[_0x24c7bc(0x1bc)][_0x24c7bc(0x1da)](_0x13b368[_0x24c7bc(0x1bb)][_0x24c7bc(0x186)][_0x24c7bc(0x1af)]),_0x550aa6=this[_0x24c7bc(0x133)](_0x13b368[_0x24c7bc(0x1bb)],_0x2efe0b),_0x203ec8=null===_0x13b368[_0x24c7bc(0x18b)]?null:_0x13b368[_0x24c7bc(0x18b)]||this[_0x24c7bc(0x153)][_0x24c7bc(0x1cd)][_0x24c7bc(0x1da)](_0x24c7bc(0x1a9))['me']['id'],_0x5d4da9=_0x550aa6[_0x24c7bc(0xdc)],_0x22d2b9=this[_0x24c7bc(0x1a1)],_0x2fb2ca=[];for(const _0x37f28b of _0x13b368[_0x24c7bc(0xf9)])if(_0x37f28b['is'](_0x24c7bc(0xf7)))_0x2fb2ca[_0x24c7bc(0xc7)](this[_0x24c7bc(0x14d)](_0x37f28b));else{for(let _0x510355=0x0;_0x510355<_0x37f28b[_0x24c7bc(0x140)];_0x510355++)_0x2fb2ca[_0x24c7bc(0xc7)](new _0x184b2f(_0x24c7bc(0x12a),{'vid':this[_0x24c7bc(0x1a1)]++}));}const _0x490744=this[_0x24c7bc(0x1a1)];for(let _0x485311=_0x22d2b9;_0x485311<_0x490744;_0x485311++)this[_0x24c7bc(0x125)][_0x24c7bc(0x13e)](_0x485311,{'userId':_0x203ec8});_0x5d4da9[_0x24c7bc(0x114)](_0x550aa6[_0x24c7bc(0x18f)],_0x2fb2ca);}[_0x27b10a(0xd9)](_0xacdde5){const _0x372611=_0x27b10a;(_0xacdde5=this[_0x372611(0x100)](_0xacdde5,this[_0x372611(0x1bc)]))[_0x372611(0x1c1)]();const _0x36fc74=null===_0xacdde5[_0x372611(0x18b)]?null:_0xacdde5[_0x372611(0x18b)]||this[_0x372611(0x153)][_0x372611(0x1cd)][_0x372611(0x1da)](_0x372611(0x1a9))['me']['id'],_0x5cd5f6=_0xacdde5[_0x372611(0xf8)](),_0x29c6c5=_0x5cd5f6[_0x372611(0xdc)],_0x13e4fd=_0x5cd5f6[_0x372611(0x18f)];!function _0x252912(_0x35d366,_0x55528f,_0x311af4,_0x2e430e){const _0x33af38=_0x372611;for(let _0x5cbc33=_0x311af4;_0x5cbc33<_0x2e430e;_0x5cbc33++){const _0x5a2097=_0x55528f[_0x33af38(0x137)](_0x5cbc33);_0x5a2097['is'](_0x33af38(0xf7),_0x33af38(0x12a))?_0x35d366[_0x33af38(0x13e)](_0x5a2097[_0x33af38(0x1cb)](_0x33af38(0x1a8)),{'userId':_0x36fc74}):(_0x35d366[_0x33af38(0x13e)](_0x5a2097[_0x33af38(0x1cb)](_0x33af38(0x1b1)),{'userId':_0x36fc74}),_0x252912(_0x35d366,_0x5a2097,0x0,_0x5a2097[_0x33af38(0x14a)]),_0x35d366[_0x33af38(0x13e)](_0x5a2097[_0x33af38(0x1cb)](_0x33af38(0xc6)),{'userId':_0x36fc74}));}}(this[_0x372611(0x125)],_0x29c6c5,_0x13e4fd,_0x13e4fd+_0xacdde5[_0x372611(0xe4)]);}[_0x27b10a(0x16a)](_0x5ccc0a){const _0x3b3187=_0x27b10a,_0x43231b=null===(_0x5ccc0a=this[_0x3b3187(0x100)](_0x5ccc0a,this[_0x3b3187(0x1bc)]))[_0x3b3187(0x18b)]?null:_0x5ccc0a[_0x3b3187(0x18b)]||this[_0x3b3187(0x153)][_0x3b3187(0x1cd)][_0x3b3187(0x1da)](_0x3b3187(0x1a9))['me']['id'],_0x18c5ef=_0x5ccc0a[_0x3b3187(0x135)][_0x3b3187(0xdc)],_0x40998e=_0x5ccc0a[_0x3b3187(0x187)][_0x3b3187(0xdc)],_0x2eee2c=_0x18c5ef[_0x3b3187(0x1cb)](_0x3b3187(0xc6)),_0x14c46e=_0x40998e[_0x3b3187(0x1cb)](_0x3b3187(0x1b1));_0x18c5ef[_0x3b3187(0x15f)](_0x3b3187(0xc6),_0x40998e[_0x3b3187(0x1cb)](_0x3b3187(0xc6))),_0x40998e[_0x3b3187(0x15f)](_0x3b3187(0xc6),_0x2eee2c),this[_0x3b3187(0x125)][_0x3b3187(0x13e)](_0x14c46e,{'userId':_0x43231b}),this[_0x3b3187(0x125)][_0x3b3187(0x13e)](_0x2eee2c,{'userId':_0x43231b}),_0x5ccc0a[_0x3b3187(0x1c1)]();}[_0x27b10a(0x130)](_0x395494){const _0x27502b=_0x27b10a,_0xadf8c3=null===(_0x395494=this[_0x27502b(0x100)](_0x395494,this[_0x27502b(0x1bc)]))[_0x27502b(0x18b)]?null:_0x395494[_0x27502b(0x18b)]||this[_0x27502b(0x153)][_0x27502b(0x1cd)][_0x27502b(0x1da)](_0x27502b(0x1a9))['me']['id'],_0x2fb787=_0x395494[_0x27502b(0x1bd)],_0x4a4e61=_0x395494[_0x27502b(0x12e)][_0x27502b(0xdc)];_0x395494[_0x27502b(0x1c1)]();const _0x29f83e=_0x4a4e61[_0x27502b(0x1cb)](_0x27502b(0xc6)),_0x4bdec2=_0x395494[_0x27502b(0x156)][_0x27502b(0x1ad)];if(_0x2fb787){const _0x1d4e51=_0x4bdec2[_0x27502b(0x1cb)](_0x27502b(0xc6)),_0x2b446b=_0x4a4e61[_0x27502b(0x1cb)](_0x27502b(0xc6));_0x4a4e61[_0x27502b(0x15f)](_0x27502b(0xc6),_0x1d4e51),_0x4bdec2[_0x27502b(0x15f)](_0x27502b(0xc6),_0x2b446b),this[_0x27502b(0x125)][_0x27502b(0x13e)](_0x4a4e61[_0x27502b(0x1cb)](_0x27502b(0xc6)),{'userId':_0xadf8c3}),this[_0x27502b(0x125)][_0x27502b(0x13e)](_0x4bdec2[_0x27502b(0x1cb)](_0x27502b(0x1b1)),{'userId':_0xadf8c3});}else{const _0x29f39c=this[_0x27502b(0x1a1)]++,_0x52e8a3=this[_0x27502b(0x1a1)]++;_0x4a4e61[_0x27502b(0x15f)](_0x27502b(0xc6),_0x29f39c),_0x4bdec2[_0x27502b(0x15f)](_0x27502b(0x1b1),_0x52e8a3),_0x4bdec2[_0x27502b(0x15f)](_0x27502b(0xc6),_0x29f83e),this[_0x27502b(0x125)][_0x27502b(0x13e)](_0x29f39c,{'userId':_0xadf8c3}),this[_0x27502b(0x125)][_0x27502b(0x13e)](_0x52e8a3,{'userId':_0xadf8c3});}}[_0x27b10a(0x11d)](_0x463831){const _0x150a38=_0x27b10a;if(!_0x463831[_0x150a38(0x149)])return;const _0x4f1c81=(_0x463831=this[_0x150a38(0x100)](_0x463831,this[_0x150a38(0x19b)]))[_0x150a38(0x1b7)]?_0x463831[_0x150a38(0x1b7)][_0x150a38(0x186)]:null,_0x30591b=_0x463831[_0x150a38(0xf1)]?_0x463831[_0x150a38(0xf1)][_0x150a38(0x186)]:null;_0x4f1c81&&this[_0x150a38(0x1c3)][_0x150a38(0x192)](_0x463831[_0x150a38(0x1b3)]),_0x30591b&&this[_0x150a38(0x1c3)][_0x150a38(0x13e)](_0x463831[_0x150a38(0x1b3)],_0x463831[_0x150a38(0xf1)][_0x150a38(0xd7)]());const _0x344228=null===_0x463831[_0x150a38(0x18b)]?null:_0x463831[_0x150a38(0x18b)]||this[_0x150a38(0x153)][_0x150a38(0x1cd)][_0x150a38(0x1da)](_0x150a38(0x1a9))['me']['id'],_0x184cff=_0x463831[_0x150a38(0x1b3)];if(!this[_0x150a38(0x144)][_0x150a38(0x131)](_0x184cff))return void this[_0x150a38(0x144)][_0x150a38(0x13e)](_0x184cff,{'range':_0x463831[_0x150a38(0x1b7)],'userId':_0x344228});const _0x453d18=this[_0x150a38(0x144)][_0x150a38(0x1da)](_0x184cff),_0x445a8d=_0x453d18[_0x150a38(0xfd)],_0x5c0083=_0x463831[_0x150a38(0xf1)];null==_0x445a8d&&null==_0x5c0083||_0x445a8d&&_0x5c0083&&_0x445a8d[_0x150a38(0x141)](_0x5c0083)?this[_0x150a38(0x144)][_0x150a38(0x192)](_0x463831[_0x150a38(0x1b3)]):_0x453d18[_0x150a38(0xcf)]=_0x344228;}[_0x27b10a(0x1a7)](_0x178fc2,_0x2dc349){const _0x34ed2d=_0x27b10a;this[_0x34ed2d(0x19b)][_0x34ed2d(0x131)](_0x178fc2[_0x34ed2d(0x1af)])?this[_0x34ed2d(0x19b)][_0x34ed2d(0x1da)](_0x178fc2[_0x34ed2d(0x1af)])[_0x34ed2d(0xce)]=_0x178fc2[_0x34ed2d(0xc9)]:(this[_0x34ed2d(0x19b)][_0x34ed2d(0x13e)](_0x178fc2[_0x34ed2d(0x1af)],G(_0x178fc2[_0x34ed2d(0x1af)],!0x0)),this[_0x34ed2d(0x142)][_0x34ed2d(0x13e)](_0x178fc2[_0x34ed2d(0x1af)],{}),_0x2dc349&&this[_0x34ed2d(0x1bc)][_0x34ed2d(0x13e)](_0x178fc2[_0x34ed2d(0x1af)],G(_0x178fc2[_0x34ed2d(0x1af)],!0x0)));const _0x49e64c=null===_0x178fc2[_0x34ed2d(0x18b)]?null:_0x178fc2[_0x34ed2d(0x18b)]||this[_0x34ed2d(0x153)][_0x34ed2d(0x1cd)][_0x34ed2d(0x1da)](_0x34ed2d(0x1a9))['me']['id'],_0x2fc71e=this[_0x34ed2d(0x17f)][_0x34ed2d(0x1da)](_0x178fc2[_0x34ed2d(0x1af)]);_0x2fc71e&&_0x2fc71e[_0x34ed2d(0xcf)]===_0x49e64c?this[_0x34ed2d(0x17f)][_0x34ed2d(0x192)](_0x178fc2[_0x34ed2d(0x1af)]):this[_0x34ed2d(0x17f)][_0x34ed2d(0x13e)](_0x178fc2[_0x34ed2d(0x1af)],{'userId':_0x49e64c,'isAttached':_0x178fc2[_0x34ed2d(0xc9)]});}[_0x27b10a(0x1b0)](_0x47386b){const _0x5a06d3=_0x27b10a,_0x3bc570=this[_0x5a06d3(0x142)][_0x5a06d3(0x1da)](_0x47386b[_0x5a06d3(0x186)][_0x5a06d3(0x1af)]);null===_0x47386b[_0x5a06d3(0x12d)]?delete _0x3bc570[_0x47386b[_0x5a06d3(0x13d)]]:_0x3bc570[_0x47386b[_0x5a06d3(0x13d)]]=_0x47386b[_0x5a06d3(0x12d)];}}function _0x5b51(_0x4ebc30,_0x46ec51){const _0x124073=_0x1240();return _0x5b51=function(_0x5b5162,_0x1c04ff){_0x5b5162=_0x5b5162-0xb4;let _0x19a64f=_0x124073[_0x5b5162];return _0x19a64f;},_0x5b51(_0x4ebc30,_0x46ec51);}function q(_0x1d5a7d){const _0x517717=_0x27b10a,_0x1733cc=G(_0x1d5a7d[_0x517717(0x1af)],_0x1d5a7d[_0x517717(0x12c)]());for(const _0x5b9b18 of _0x1d5a7d[_0x517717(0x119)]()){const _0x1da93d=_0x5b9b18[_0x517717(0x18d)](!0x0);_0x1733cc[_0x517717(0x134)](_0x1da93d);}return _0x1733cc;}function G(_0x5e3645,_0xc9b117=!0x0){const _0x885ae2=_0x27b10a,_0x1c8db5=new _0x1984ba();return _0x1c8db5[_0x885ae2(0x1af)]=_0x5e3645,_0x1c8db5[_0x885ae2(0xce)]=_0xc9b117,_0x1c8db5[_0x885ae2(0x12c)]=()=>_0x1c8db5[_0x885ae2(0xce)],_0x1c8db5;}function L(_0x40396a,_0x19c19e,_0x1d6f9e){const _0x301b96=_0x27b10a,_0x10306c=_0x301b96(0x183)==_0x40396a[_0x301b96(0x167)]?_0x1d6f9e[_0x301b96(0xb5)](_0x40396a[_0x301b96(0x1ce)],_0x301b96(0x178)):_0x1d6f9e[_0x301b96(0x102)](_0x40396a[_0x301b96(0x1ce)]);return _0x1d6f9e[_0x301b96(0x147)](_0x19c19e,_0x10306c[_0x301b96(0x1a6)],_0x10306c[_0x301b96(0xf2)]);}function W(_0x2473f1,_0x127610,_0x5a6f1c){const _0x4e5067=_0x27b10a,_0x359066=_0x4e5067(0x12b)==_0x2473f1[_0x4e5067(0x167)]?_0x5a6f1c[_0x4e5067(0xb5)](_0x2473f1[_0x4e5067(0x1ce)],0x0):_0x5a6f1c[_0x4e5067(0x139)](_0x2473f1[_0x4e5067(0x1ce)]);return _0x5a6f1c[_0x4e5067(0x147)](_0x127610,_0x359066[_0x4e5067(0x1a6)],_0x359066[_0x4e5067(0xf2)]);}
23
+ const _0x345477=_0x45cd;(function(_0x28603d,_0x33eb23){const _0x4f0a73=_0x45cd,_0x2af52b=_0x28603d();while(!![]){try{const _0x2a1276=parseInt(_0x4f0a73(0x25c))/0x1+parseInt(_0x4f0a73(0x1a7))/0x2+parseInt(_0x4f0a73(0x29e))/0x3*(parseInt(_0x4f0a73(0x1e2))/0x4)+-parseInt(_0x4f0a73(0x231))/0x5+-parseInt(_0x4f0a73(0x215))/0x6*(parseInt(_0x4f0a73(0x17b))/0x7)+parseInt(_0x4f0a73(0x1a3))/0x8+-parseInt(_0x4f0a73(0x244))/0x9;if(_0x2a1276===_0x33eb23)break;else _0x2af52b['push'](_0x2af52b['shift']());}catch(_0xf2e459){_0x2af52b['push'](_0x2af52b['shift']());}}}(_0x6148,0x7a1d6));import{Users as _0x598feb}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x38e653,PendingActions as _0x56f144}from'ckeditor5/src/core.js';import{logWarning as _0x291482,uid as _0x302ba7}from'ckeditor5/src/utils.js';import{Position as _0x360a2b,Range as _0x2654f0,Element as _0xc1dcbe,DocumentFragment as _0x3bd79a,ViewText as _0xfa0cf2,ViewElement as _0xba312c,ViewContainerElement as _0xee1038,ViewAttributeElement as _0x563f00,ViewEmptyElement as _0x2240dc,ViewRawElement as _0x11746c,ViewUIElement as _0x548442,ViewDocumentFragment as _0x3d807c}from'ckeditor5/src/engine.js';import _0x1124e1 from'./revisionsrepository.js';import{getTranslation as _0x5cd64f}from'./utils/common-translations.js';import{cloneDeep as _0x344437,isEqual as _0x582df5}from'lodash-es';const T={'c':_0xee1038,'a':_0x563f00,'e':_0x2240dc,'r':_0x11746c,'u':_0x548442};export default class l extends _0x38e653{static get[_0x345477(0x232)](){const _0x1d626f=_0x345477;return _0x1d626f(0x23f);}static get[_0x345477(0x29a)](){return[_0x598feb,_0x1124e1,_0x56f144];}constructor(_0x5a6e30){const _0x3b2806=_0x345477;super(_0x5a6e30),this[_0x3b2806(0x275)]=null,this[_0x3b2806(0x19e)]=null,this[_0x3b2806(0x28e)]=new J(this[_0x3b2806(0x260)]),this[_0x3b2806(0x1f5)]=this[_0x3b2806(0x260)][_0x3b2806(0x1d1)][_0x3b2806(0x257)](_0x3b2806(0x242))||_0x3b2806(0x1b7),this[_0x3b2806(0x1bf)]=new Map(),this[_0x3b2806(0x1bb)]=null;const _0x7a709a=_0x302ba7();this[_0x3b2806(0x282)]={'history':this[_0x3b2806(0x260)][_0x3b2806(0x269)][_0x3b2806(0x1a9)][_0x3b2806(0x1bd)],'getLatestVersion':()=>Promise[_0x3b2806(0x297)](this[_0x3b2806(0x260)][_0x3b2806(0x269)][_0x3b2806(0x1a9)][_0x3b2806(0x238)]),'getCurrentRevisionId':()=>_0x7a709a},this[_0x3b2806(0x24c)](_0x3b2806(0x181),!0x1),this[_0x3b2806(0x24c)](_0x3b2806(0x239),!0x0),this[_0x3b2806(0x24c)](_0x3b2806(0x280),!0x1),this[_0x3b2806(0x260)][_0x3b2806(0x1d1)][_0x3b2806(0x184)](_0x3b2806(0x206),!0x0),this[_0x3b2806(0x260)][_0x3b2806(0x1e0)][_0x3b2806(0x18d)](_0x3b2806(0x252))[_0x3b2806(0x17e)]({'view':_0x3b2806(0x220)});}[_0x345477(0x186)](){const _0x4f2231=_0x345477;this[_0x4f2231(0x1af)]=this[_0x4f2231(0x260)][_0x4f2231(0x268)][_0x4f2231(0x257)](_0x4f2231(0x1c4)),this[_0x4f2231(0x1ab)](),this[_0x4f2231(0x260)][_0x4f2231(0x21a)]['on'](_0x4f2231(0x185),()=>{const _0x2100d9=_0x4f2231,_0x3779f9=this[_0x2100d9(0x1af)][_0x2100d9(0x236)](0x0),_0x2b285b=_0x3779f9&&null===_0x3779f9[_0x2100d9(0x258)]?_0x3779f9:null;if(this[_0x2100d9(0x240)]=!!_0x2b285b&&this[_0x2100d9(0x260)][_0x2100d9(0x1d1)][_0x2100d9(0x257)](_0x2100d9(0x206)),this[_0x2100d9(0x260)][_0x2100d9(0x268)][_0x2100d9(0x1b4)](_0x2100d9(0x2a3))){const _0x2ed771=this[_0x2100d9(0x282)][_0x2100d9(0x1ff)](),_0xe54444=this[_0x2100d9(0x1af)][_0x2100d9(0x236)](_0x2ed771);if(_0xe54444)this[_0x2100d9(0x18f)]=_0xe54444[_0x2100d9(0x1ce)],this[_0x2100d9(0x240)]=!0x1;else{const _0x4ca717=this[_0x2100d9(0x282)][_0x2100d9(0x1bd)][_0x2100d9(0x272)][_0x2100d9(0x180)](_0x568cb4=>!_0x568cb4[_0x2100d9(0x1d5)]),_0x6bf85e=_0x4ca717?_0x4ca717[_0x2100d9(0x24b)]:this[_0x2100d9(0x282)][_0x2100d9(0x1bd)][_0x2100d9(0x238)];_0x3779f9?(_0x3779f9[_0x2100d9(0x284)]<_0x6bf85e&&_0x3779f9[_0x2100d9(0x20c)]({'toVersion':_0x6bf85e}),this[_0x2100d9(0x240)]?(this[_0x2100d9(0x282)][_0x2100d9(0x1ff)]=()=>_0x2b285b['id'],this[_0x2100d9(0x18f)]=_0x2b285b[_0x2100d9(0x1ce)]):(this[_0x2100d9(0x18f)]=_0x3779f9[_0x2100d9(0x284)],this[_0x2100d9(0x240)]=!0x1)):(this[_0x2100d9(0x18f)]=_0x6bf85e,this[_0x2100d9(0x240)]=!0x1);}}else _0x2b285b&&(this[_0x2100d9(0x260)][_0x2100d9(0x269)][_0x2100d9(0x1a9)][_0x2100d9(0x1bd)][_0x2100d9(0x238)]=Math[_0x2100d9(0x261)](_0x2b285b[_0x2100d9(0x284)],this[_0x2100d9(0x260)][_0x2100d9(0x269)][_0x2100d9(0x1a9)][_0x2100d9(0x1bd)][_0x2100d9(0x238)]),_0x2b285b[_0x2100d9(0x1ce)]===_0x2b285b[_0x2100d9(0x284)]?(0x0!==_0x2b285b[_0x2100d9(0x1ce)]&&(this[_0x2100d9(0x282)][_0x2100d9(0x1ff)]=()=>_0x2b285b['id']),this[_0x2100d9(0x240)]=!0x1):this[_0x2100d9(0x240)]&&(this[_0x2100d9(0x282)][_0x2100d9(0x1ff)]=()=>_0x2b285b['id'],this[_0x2100d9(0x18f)]=_0x2b285b[_0x2100d9(0x1ce)])),this[_0x2100d9(0x240)]||(this[_0x2100d9(0x18f)]=this[_0x2100d9(0x260)][_0x2100d9(0x269)][_0x2100d9(0x1a9)][_0x2100d9(0x238)]);this[_0x2100d9(0x28e)][_0x2100d9(0x186)](this[_0x2100d9(0x282)][_0x2100d9(0x1bd)]),this[_0x2100d9(0x22a)](this[_0x2100d9(0x18f)]),this[_0x2100d9(0x26e)](this[_0x2100d9(0x18f)]),this[_0x2100d9(0x275)]&&this[_0x2100d9(0x212)]();}),this[_0x4f2231(0x248)](_0x4f2231(0x181))['to'](this,_0x4f2231(0x280),_0xeec5a5=>!_0xeec5a5);}async[_0x345477(0x1c8)](){const _0x8aacb7=_0x345477;if(this[_0x8aacb7(0x1af)][_0x8aacb7(0x188)]>0x0){const _0xbcab4a=this[_0x8aacb7(0x1af)][_0x8aacb7(0x236)](0x0),_0x3782b5=await this[_0x8aacb7(0x263)](_0xbcab4a),_0xe6cf66=await this[_0x8aacb7(0x286)](_0xbcab4a);this[_0x8aacb7(0x1e9)](_0x3782b5,_0xe6cf66);}}[_0x345477(0x237)](_0x49262c){const _0x1c78f2=_0x345477;this[_0x1c78f2(0x282)]=_0x49262c;}async[_0x345477(0x233)](){const _0x10eba0=_0x345477,_0x1f8292=await this[_0x10eba0(0x282)][_0x10eba0(0x1fd)]();if(_0x1f8292>this[_0x10eba0(0x19e)][_0x10eba0(0x284)]){await this[_0x10eba0(0x21e)]();const _0x40b452=this[_0x10eba0(0x278)]({'revision':this[_0x10eba0(0x19e)],'to':_0x1f8292});_0x40b452[_0x10eba0(0x28d)]=_0x40b452[_0x10eba0(0x1e5)][_0x10eba0(0x216)](_0x4f54a1=>this[_0x10eba0(0x260)][_0x10eba0(0x268)][_0x10eba0(0x257)](_0x10eba0(0x1d2))[_0x10eba0(0x19c)](_0x4f54a1)),this[_0x10eba0(0x19e)][_0x10eba0(0x20c)](_0x40b452);}}async[_0x345477(0x21e)](){const _0x4a5508=_0x345477;this[_0x4a5508(0x240)]&&!this[_0x4a5508(0x1bb)]&&(await this[_0x4a5508(0x1e1)](this[_0x4a5508(0x19e)]),this[_0x4a5508(0x28e)][_0x4a5508(0x1dc)](this[_0x4a5508(0x19e)]),this[_0x4a5508(0x1bb)]={'fromVersion':this[_0x4a5508(0x19e)][_0x4a5508(0x1ce)],'authors':this[_0x4a5508(0x19e)][_0x4a5508(0x28d)][_0x4a5508(0x230)]()});}async[_0x345477(0x1cb)](_0x3a868a={},_0x430633=null){const _0x347447=_0x345477,_0x36e09d=[];await this[_0x347447(0x21e)](),this[_0x347447(0x240)]=!0x1,_0x430633>this[_0x347447(0x19e)][_0x347447(0x284)]&&(_0x430633=null),null===_0x430633&&(_0x430633=await this[_0x347447(0x282)][_0x347447(0x1fd)]());const _0xd2adf=this[_0x347447(0x28a)](_0x430633),_0x1314c6=this[_0x347447(0x278)]({'from':_0xd2adf,'to':_0x430633});if(this[_0x347447(0x19e)][_0x347447(0x284)]<_0x430633){const _0x448893=this[_0x347447(0x278)]({'revision':this[_0x347447(0x19e)],'from':_0x430633,'to':_0x430633});_0x448893[_0x347447(0x28d)]=[],_0x448893[_0x347447(0x1e5)]=[],_0x448893['id']=this[_0x347447(0x19e)]['id'],this[_0x347447(0x19e)][_0x347447(0x20c)](_0x448893,!0x0),delete _0x448893[_0x347447(0x28d)],_0x36e09d[_0x347447(0x182)](_0x448893);}_0x3a868a[_0x347447(0x1fc)]=this[_0x347447(0x260)][_0x347447(0x268)][_0x347447(0x257)](_0x347447(0x1d2))['me']['id'],_0x3a868a[_0x347447(0x1a1)]=_0x3a868a[_0x347447(0x1a1)]||null,_0x3a868a['id']=_0x3a868a['id']||_0x302ba7(),_0x3a868a={..._0x3a868a,..._0x1314c6};const _0x7215ca=this[_0x347447(0x20a)](_0x3a868a);_0x36e09d[_0x347447(0x182)](_0x3a868a);const _0x2f0723=this[_0x347447(0x1af)][_0x347447(0x1f2)](_0x7215ca);if(0x0!==_0x2f0723){const _0x44c6d6=this[_0x347447(0x1af)][_0x347447(0x236)](_0x2f0723-0x1);if(_0x44c6d6[_0x347447(0x1ce)]!==_0x430633){const _0x5eba65=this[_0x347447(0x28e)][_0x347447(0x245)](_0x430633,_0x44c6d6[_0x347447(0x284)]),_0x58ee91={'id':_0x44c6d6['id'],'diffData':_0x5eba65[_0x347447(0x243)],'authorsIds':_0x5eba65[_0x347447(0x1e5)],'authors':_0x5eba65[_0x347447(0x1e5)][_0x347447(0x216)](_0x269a45=>this[_0x347447(0x260)][_0x347447(0x268)][_0x347447(0x257)](_0x347447(0x1d2))[_0x347447(0x19c)](_0x269a45)),'fromVersion':_0x430633};_0x44c6d6===this[_0x347447(0x19e)]&&(_0x58ee91[_0x347447(0x28f)]=new Date(_0x3a868a[_0x347447(0x28f)][_0x347447(0x1cd)]()+0xa)),_0x44c6d6[_0x347447(0x20c)](_0x58ee91,!0x0),delete _0x58ee91[_0x347447(0x28d)],_0x36e09d[_0x347447(0x182)](_0x58ee91);}}if(this[_0x347447(0x275)]){for(const _0x54fd9f of _0x36e09d)this[_0x347447(0x29b)](_0x54fd9f['id'],_0x54fd9f,!0x0);this[_0x347447(0x212)]();}return _0x7215ca;}[_0x345477(0x20a)](_0x4411b7){const _0x23d2ff=_0x345477,_0x12bfc7=this[_0x23d2ff(0x1af)][_0x23d2ff(0x1c1)](_0x4411b7);return this[_0x23d2ff(0x275)]&&_0x12bfc7['on'](_0x23d2ff(0x20c),(_0x3173ea,_0x23839a,_0x5d682b)=>{const _0x1382bb=_0x23d2ff;_0x5d682b||(this[_0x1382bb(0x29b)](_0x23839a['id'],_0x23839a,!0x0),this[_0x1382bb(0x212)]());}),this[_0x23d2ff(0x1af)][_0x23d2ff(0x22d)](_0x12bfc7,this[_0x23d2ff(0x24e)](_0x12bfc7)),_0x12bfc7;}async[_0x345477(0x263)](_0x1d1a05){const _0x218a64=_0x345477;await this[_0x218a64(0x1e1)](_0x1d1a05);const _0x199673={};for(const _0x210b17 in _0x1d1a05[_0x218a64(0x243)]){if(_0x1d1a05[_0x218a64(0x243)][_0x210b17][_0x218a64(0x29d)]&&!_0x1d1a05[_0x218a64(0x243)][_0x210b17][_0x218a64(0x29d)][_0x218a64(0x228)])continue;const _0x7fa33c=this[_0x218a64(0x1df)](JSON[_0x218a64(0x276)](_0x1d1a05[_0x218a64(0x243)][_0x210b17][_0x218a64(0x1d3)])),_0x38f2e8=this[_0x218a64(0x260)][_0x218a64(0x1c3)][_0x218a64(0x1b3)][_0x218a64(0x1a9)],_0x255700=new _0x3d807c(_0x38f2e8,_0x7fa33c[_0x218a64(0x216)](_0x3b495e=>B(_0x3b495e,this[_0x218a64(0x260)])));this[_0x218a64(0x260)][_0x218a64(0x21a)][_0x218a64(0x223)][_0x218a64(0x1c2)](_0x218a64(0x20b)),_0x199673[_0x210b17]=this[_0x218a64(0x260)][_0x218a64(0x21a)][_0x218a64(0x223)][_0x218a64(0x1a4)](_0x255700),this[_0x218a64(0x260)][_0x218a64(0x21a)][_0x218a64(0x223)][_0x218a64(0x1c2)](_0x218a64(0x219));}return _0x199673;}async[_0x345477(0x286)](_0x438e9a){const _0xabf1e=_0x345477;await this[_0xabf1e(0x1e1)](_0x438e9a);const _0x50c29a={};for(const _0x11c60a in _0x438e9a[_0xabf1e(0x243)])_0x438e9a[_0xabf1e(0x243)][_0x11c60a][_0xabf1e(0x29d)]&&!_0x438e9a[_0xabf1e(0x243)][_0x11c60a][_0xabf1e(0x29d)][_0xabf1e(0x228)]||(_0x50c29a[_0x11c60a]=_0x438e9a[_0xabf1e(0x243)][_0x11c60a][_0xabf1e(0x209)]||{});return _0x50c29a;}[_0x345477(0x212)](){const _0x57fed3=_0x345477;if(0x0===this[_0x57fed3(0x1bf)][_0x57fed3(0x25d)])return;if(this[_0x57fed3(0x280)])return;let _0x44a785=Array[_0x57fed3(0x1a6)](this[_0x57fed3(0x1bf)][_0x57fed3(0x224)]());this[_0x57fed3(0x1bf)][_0x57fed3(0x1b5)]();for(let _0x59f455=0x0;_0x59f455<_0x44a785[_0x57fed3(0x188)];_0x59f455++){const _0x219c23=_0x44a785[_0x59f455];let _0x4aba57=!0x1;for(const _0x3d1d03 of Object[_0x57fed3(0x289)](_0x219c23))void 0x0===_0x219c23[_0x3d1d03]?delete _0x219c23[_0x3d1d03]:'id'!==_0x3d1d03&&(_0x4aba57=!0x0);_0x4aba57||(_0x44a785[_0x59f455]=null);}if(_0x44a785=_0x44a785[_0x57fed3(0x1ca)](_0x7a66d2=>null!==_0x7a66d2),!_0x44a785[_0x57fed3(0x188)])return;for(let _0x207305=0x0;_0x207305<_0x44a785[_0x57fed3(0x188)];_0x207305++){const _0x114cf9=_0x44a785[_0x207305];void 0x0!==_0x114cf9[_0x57fed3(0x1ce)]&&void 0x0===_0x114cf9[_0x57fed3(0x284)]&&(_0x114cf9[_0x57fed3(0x284)]=this[_0x57fed3(0x1af)][_0x57fed3(0x236)](_0x114cf9['id'])[_0x57fed3(0x284)]),void 0x0!==_0x114cf9[_0x57fed3(0x284)]&&void 0x0===_0x114cf9[_0x57fed3(0x1ce)]&&(_0x114cf9[_0x57fed3(0x1ce)]=this[_0x57fed3(0x1af)][_0x57fed3(0x236)](_0x114cf9['id'])[_0x57fed3(0x1ce)]);}const _0x2c6b6c=this[_0x57fed3(0x260)][_0x57fed3(0x1d1)][_0x57fed3(0x257)](_0x57fed3(0x242));this[_0x57fed3(0x280)]=!0x0,this[_0x57fed3(0x251)](),this[_0x57fed3(0x275)][_0x57fed3(0x274)](_0x44a785,_0x2c6b6c)[_0x57fed3(0x2a0)](()=>{const _0x1c982e=_0x57fed3;this[_0x1c982e(0x280)]=!0x1;})[_0x57fed3(0x1f8)](_0x1cd48f=>{const _0x191835=_0x57fed3;if(_0x1cd48f){for(const _0x47d322 of _0x1cd48f)this[_0x191835(0x198)]({'id':_0x47d322['id'],'createdAt':_0x47d322[_0x191835(0x28f)]});}this[_0x191835(0x204)](),this[_0x191835(0x212)]();});}[_0x345477(0x1e9)](_0x2ad2b2,_0x328463){const _0x4d7ddc=_0x345477;let _0x2b8d4f=this[_0x4d7ddc(0x260)][_0x4d7ddc(0x1d1)][_0x4d7ddc(0x257)](_0x4d7ddc(0x241)),_0x3711e0=this[_0x4d7ddc(0x260)][_0x4d7ddc(0x1d1)][_0x4d7ddc(0x257)](_0x4d7ddc(0x1b9));if(void 0x0===_0x2b8d4f){_0x2b8d4f={};for(const _0x186185 of this[_0x4d7ddc(0x260)][_0x4d7ddc(0x269)][_0x4d7ddc(0x1a9)][_0x4d7ddc(0x1b1)]())_0x2b8d4f[_0x186185]='';}if(_0x4d7ddc(0x195)==typeof _0x2b8d4f&&(_0x2b8d4f={'main':_0x2b8d4f}),void 0x0===_0x3711e0){_0x3711e0={};for(const _0x128f2d of this[_0x4d7ddc(0x260)][_0x4d7ddc(0x269)][_0x4d7ddc(0x1a9)][_0x4d7ddc(0x1b1)]())_0x3711e0[_0x128f2d]={};}let _0x408feb=!0x1;const _0x3e2e30=Object[_0x4d7ddc(0x289)](_0x2b8d4f),_0x35c9a1=Object[_0x4d7ddc(0x289)](_0x2ad2b2);for(const _0xff0814 of _0x3e2e30){if(_0x2b8d4f[_0xff0814]!==_0x2ad2b2[_0xff0814]&&''!==_0x2b8d4f[_0xff0814][_0x4d7ddc(0x250)]()){_0x408feb=!0x0;break;}if(!_0x582df5(_0x3711e0[_0xff0814],_0x328463[_0xff0814])&&Object[_0x4d7ddc(0x289)](_0x3711e0[_0xff0814])[_0x4d7ddc(0x188)]>0x0){_0x408feb=!0x0;break;}}_0x408feb||(_0x408feb=_0x35c9a1[_0x4d7ddc(0x290)](_0xa5c287=>!this[_0x4d7ddc(0x260)][_0x4d7ddc(0x269)][_0x4d7ddc(0x1a9)][_0x4d7ddc(0x187)](_0xa5c287))),_0x408feb&&_0x291482(_0x4d7ddc(0x1f9),{'editorData':_0x2b8d4f,'editorRootsAttributes':_0x3711e0,'revisionData':_0x2ad2b2,'revisionRootsAttributes':_0x328463}),this[_0x4d7ddc(0x260)][_0x4d7ddc(0x1d1)][_0x4d7ddc(0x24c)](_0x4d7ddc(0x241),_0x2ad2b2),this[_0x4d7ddc(0x260)][_0x4d7ddc(0x1d1)][_0x4d7ddc(0x24c)](_0x4d7ddc(0x1b9),_0x328463);}[_0x345477(0x251)](){const _0xfd0eda=_0x345477;if(!this[_0xfd0eda(0x265)]){const _0x54f09c=this[_0xfd0eda(0x260)][_0xfd0eda(0x268)][_0xfd0eda(0x257)](_0xfd0eda(0x1f7));this[_0xfd0eda(0x265)]=_0x54f09c[_0xfd0eda(0x262)](_0x5cd64f(this[_0xfd0eda(0x260)][_0xfd0eda(0x277)],_0xfd0eda(0x1a0)));}}[_0x345477(0x204)](){const _0xe52b70=_0x345477;this[_0xe52b70(0x265)]&&(this[_0xe52b70(0x260)][_0xe52b70(0x268)][_0xe52b70(0x257)](_0xe52b70(0x1f7))[_0xe52b70(0x27b)](this[_0xe52b70(0x265)]),this[_0xe52b70(0x265)]=null);}[_0x345477(0x24e)](_0x494f28){const _0x145a06=_0x345477,_0x671d9=this[_0x145a06(0x1af)][_0x145a06(0x1cc)]();_0x671d9[_0x145a06(0x1a8)]();let _0x5dbbef=0x0;for(;_0x5dbbef<_0x671d9[_0x145a06(0x188)];){const _0x35c7bf=_0x671d9[_0x5dbbef];if(_0x35c7bf===this[_0x145a06(0x19e)]){_0x5dbbef++;continue;}if(_0x35c7bf['id']===this[_0x145a06(0x1f5)])break;const _0x5c455b=_0x494f28[_0x145a06(0x284)]-_0x35c7bf[_0x145a06(0x284)]||_0x494f28[_0x145a06(0x1ce)]-_0x35c7bf[_0x145a06(0x1ce)];if(_0x5c455b>0x0)break;if(_0x5c455b<0x0)_0x5dbbef++;else{if(!_0x494f28[_0x145a06(0x258)]&&_0x35c7bf[_0x145a06(0x258)])break;if(_0x35c7bf[_0x145a06(0x258)]||!_0x494f28[_0x145a06(0x258)]){if(_0x494f28[_0x145a06(0x28f)]>_0x35c7bf[_0x145a06(0x28f)])break;_0x5dbbef++;}else _0x5dbbef++;}}return _0x5dbbef;}[_0x345477(0x198)](_0x4d50e0){const _0x39edf6=_0x345477,_0x2537d4=this[_0x39edf6(0x1af)][_0x39edf6(0x236)](_0x4d50e0['id']);if(_0x4d50e0[_0x39edf6(0x28f)]&&(_0x4d50e0[_0x39edf6(0x28f)]=new Date(_0x4d50e0[_0x39edf6(0x28f)])),_0x4d50e0[_0x39edf6(0x1e5)]){const _0x3c224d=this[_0x39edf6(0x260)][_0x39edf6(0x268)][_0x39edf6(0x257)](_0x39edf6(0x1d2));_0x4d50e0[_0x39edf6(0x28d)]=_0x4d50e0[_0x39edf6(0x1e5)][_0x39edf6(0x216)](_0x581288=>_0x3c224d[_0x39edf6(0x19c)](_0x581288));}_0x2537d4[_0x39edf6(0x20c)](_0x4d50e0,!0x0);}[_0x345477(0x278)]({revision:_0x4f5aea=null,from:_0x19c474=null,to:_0x300a79=null}){const _0x4f8d60=_0x345477;_0x19c474=null!==_0x19c474?_0x19c474:_0x4f5aea[_0x4f8d60(0x1ce)],_0x300a79=null!==_0x300a79?_0x300a79:_0x4f5aea[_0x4f8d60(0x284)];const _0x2f5979=this[_0x4f8d60(0x28e)][_0x4f8d60(0x245)](_0x19c474,_0x300a79),_0x1a019c={'diffData':_0x2f5979[_0x4f8d60(0x243)],'authorsIds':_0x2f5979[_0x4f8d60(0x1e5)],'fromVersion':_0x19c474,'toVersion':_0x300a79};if(!_0x4f5aea||_0x300a79!==_0x4f5aea[_0x4f8d60(0x284)]){const _0x1f6eab=_0x300a79-0x1,_0x97b3a4=this[_0x4f8d60(0x282)][_0x4f8d60(0x1bd)][_0x4f8d60(0x1d8)](_0x1f6eab);_0x1a019c[_0x4f8d60(0x28f)]=_0x97b3a4&&_0x97b3a4[_0x4f8d60(0x28f)]||new Date();}if(this[_0x4f8d60(0x1bb)]&&_0x19c474===this[_0x4f8d60(0x1bb)][_0x4f8d60(0x1ce)]){for(const _0x514ea8 of this[_0x4f8d60(0x1bb)][_0x4f8d60(0x28d)])_0x1a019c[_0x4f8d60(0x1e5)][_0x4f8d60(0x227)](_0x514ea8['id'])||_0x1a019c[_0x4f8d60(0x1e5)][_0x4f8d60(0x182)](_0x514ea8['id']);}return _0x1a019c;}[_0x345477(0x1e1)](_0x1f07ee){const _0x5a1b20=_0x345477;if(!_0x1f07ee||_0x1f07ee[_0x5a1b20(0x243)])return Promise[_0x5a1b20(0x297)]();{const _0x1b2025=this[_0x5a1b20(0x260)][_0x5a1b20(0x1d1)][_0x5a1b20(0x257)](_0x5a1b20(0x242));return this[_0x5a1b20(0x275)][_0x5a1b20(0x236)]({'channelId':_0x1b2025,'revisionId':_0x1f07ee['id']})[_0x5a1b20(0x1f8)](_0x444078=>{const _0x4a9b31=_0x5a1b20;_0x1f07ee[_0x4a9b31(0x243)]=_0x444078[_0x4a9b31(0x243)];});}}[_0x345477(0x29b)](_0x226c6a,_0x4e7514,_0x1dfa28){const _0x19ef61=_0x345477;if(this[_0x19ef61(0x1bf)][_0x19ef61(0x1b4)](_0x226c6a)){const _0x238cdd=this[_0x19ef61(0x1bf)][_0x19ef61(0x257)](_0x226c6a);_0x4e7514=_0x1dfa28?{..._0x238cdd,..._0x4e7514}:{..._0x4e7514,..._0x238cdd};}this[_0x19ef61(0x1bf)][_0x19ef61(0x24c)](_0x226c6a,_0x4e7514);}[_0x345477(0x28a)](_0x3d23e5){const _0x16490e=_0x345477,_0x36b197=this[_0x16490e(0x1af)][_0x16490e(0x1cc)]();_0x36b197[_0x16490e(0x1a8)](),_0x36b197[_0x16490e(0x1d6)]();const _0x16eb42=_0x36b197[_0x16490e(0x180)](_0x317461=>_0x317461[_0x16490e(0x284)]<=_0x3d23e5)[_0x16490e(0x284)];return _0x16eb42<this[_0x16490e(0x18f)]?this[_0x16490e(0x18f)]:_0x16eb42;}[_0x345477(0x22a)](_0x20d8aa){const _0x188983=_0x345477,_0xafd425=this[_0x188983(0x1af)][_0x188983(0x236)](this[_0x188983(0x1af)][_0x188983(0x188)]-0x1);if(_0xafd425)this[_0x188983(0x1f5)]=_0xafd425['id'];else{const _0x272b38=!this[_0x188983(0x260)][_0x188983(0x269)][_0x188983(0x1a9)][_0x188983(0x1c6)][_0x188983(0x180)](_0x4f0bc2=>this[_0x188983(0x260)][_0x188983(0x269)][_0x188983(0x1e6)](_0x4f0bc2)),_0x389130=this[_0x188983(0x260)][_0x188983(0x268)][_0x188983(0x257)](_0x188983(0x1d2))['me']['id'],_0x3029b0=_0x5cd64f(this[_0x188983(0x260)][_0x188983(0x277)],_0x272b38?_0x188983(0x27f):_0x188983(0x27e));this[_0x188983(0x1ec)]({'from':_0x20d8aa,'to':_0x20d8aa,'id':this[_0x188983(0x1f5)],'name':_0x3029b0,'creatorId':_0x389130});}}[_0x345477(0x26e)](_0x102a3f){const _0x11b756=_0x345477,_0x1e8ab7=this[_0x11b756(0x282)][_0x11b756(0x1ff)]();this[_0x11b756(0x19e)]=this[_0x11b756(0x1af)][_0x11b756(0x236)](_0x1e8ab7),this[_0x11b756(0x19e)]||(this[_0x11b756(0x19e)]=this[_0x11b756(0x1ec)]({'from':_0x102a3f,'to':_0x102a3f,'id':_0x1e8ab7,'name':'','creatorId':null}));}[_0x345477(0x1ec)]({name:_0x5b8bfd,from:_0x36ac64,to:_0x81d61a,creatorId:_0x16532d,id:_0x340270}){const _0x482a27=_0x345477,_0xbbca16=this[_0x482a27(0x278)]({'from':_0x36ac64,'to':_0x81d61a});_0xbbca16[_0x482a27(0x1a1)]=_0x5b8bfd,_0xbbca16[_0x482a27(0x1fc)]=_0x16532d,_0xbbca16['id']=_0x340270;const _0x3d0ef0=this[_0x482a27(0x20a)](_0xbbca16);return this[_0x482a27(0x275)]&&this[_0x482a27(0x29b)](_0xbbca16['id'],_0xbbca16,!0x0),_0x3d0ef0;}[_0x345477(0x1ab)](){const _0x3b8e56=_0x345477;this[_0x3b8e56(0x260)][_0x3b8e56(0x1e0)][_0x3b8e56(0x18d)](_0x3b8e56(0x201))[_0x3b8e56(0x214)]({'model':_0x3b8e56(0x220)});}[_0x345477(0x1df)](_0x3b090f){const _0xb150ab=_0x345477;return(_0x3b090f=_0x3b090f[_0xb150ab(0x1ca)](_0x32cea0=>!_0x32cea0[_0xb150ab(0x1a1)]||_0xb150ab(0x29c)!==_0x32cea0[_0xb150ab(0x1a1)]&&_0xb150ab(0x217)!==_0x32cea0[_0xb150ab(0x1a1)]))[_0xb150ab(0x283)](_0x2d1c8c=>{const _0x5b2d8f=_0xb150ab;_0x5b2d8f(0x195)!=typeof _0x2d1c8c&&(_0x2d1c8c[_0x5b2d8f(0x279)]=this[_0x5b2d8f(0x1df)](_0x2d1c8c[_0x5b2d8f(0x279)]),_0x2d1c8c[_0x5b2d8f(0x287)]=_0x2d1c8c[_0x5b2d8f(0x287)][_0x5b2d8f(0x1ca)](_0x49966f=>!_0x49966f[0x0][_0x5b2d8f(0x18a)](_0x5b2d8f(0x192))));}),_0x3b090f;}}function B(_0x5da5dc,_0x1bb983){const _0x61a412=_0x345477,_0x264cc5=_0x1bb983[_0x61a412(0x1c3)][_0x61a412(0x1b3)][_0x61a412(0x1a9)];if(_0x61a412(0x195)==typeof _0x5da5dc)return new _0xfa0cf2(_0x264cc5,_0x5da5dc);{const _0x6f5a33=_0x5da5dc[_0x61a412(0x279)][_0x61a412(0x216)](_0x311d67=>B(_0x311d67,_0x1bb983));return new(T[_0x5da5dc[(_0x61a412(0x1cf))]]||_0xba312c)(_0x264cc5,_0x5da5dc[_0x61a412(0x1a1)],_0x5da5dc[_0x61a412(0x287)],_0x6f5a33);}}function _0x45cd(_0x205744,_0x4ab653){const _0x614802=_0x6148();return _0x45cd=function(_0x45cd71,_0x42336f){_0x45cd71=_0x45cd71-0x17a;let _0xdd987a=_0x614802[_0x45cd71];return _0xdd987a;},_0x45cd(_0x205744,_0x4ab653);}class J{constructor(_0x5a016c){const _0x59de24=_0x345477;this[_0x59de24(0x260)]=_0x5a016c,this[_0x59de24(0x1fb)]=new Map(),this[_0x59de24(0x200)]=-0x1,this[_0x59de24(0x197)]=-0x1,this[_0x59de24(0x1c0)]=new Map(),this[_0x59de24(0x1d4)]=new Map(),this[_0x59de24(0x1a5)]=new Map(),this[_0x59de24(0x20d)]=new Map(),this[_0x59de24(0x1ef)]=new Map(),this[_0x59de24(0x22f)]=new Map(),this[_0x59de24(0x1e7)]=new Map(),this[_0x59de24(0x18e)]=new Map(),this[_0x59de24(0x267)]=new Map(),this[_0x59de24(0x1d0)]=new Map(),this[_0x59de24(0x1dd)]=0x1;}[_0x345477(0x186)](_0xe03d4e){const _0x2c25f4=_0x345477;this[_0x2c25f4(0x190)]=_0xe03d4e;const _0x1c29d0=new Map(),_0x4a07b0=new Map(),_0x5450fe=this[_0x2c25f4(0x260)][_0x2c25f4(0x269)][_0x2c25f4(0x1a9)][_0x2c25f4(0x1c6)][_0x2c25f4(0x216)](_0x253ef3=>_0x253ef3[_0x2c25f4(0x23e)]);for(const _0x384993 of _0x5450fe){const _0x14708b=this[_0x2c25f4(0x260)][_0x2c25f4(0x269)][_0x2c25f4(0x1a9)][_0x2c25f4(0x187)](_0x384993),_0x4b144a=q(_0x14708b);_0x1c29d0[_0x2c25f4(0x24c)](_0x384993,_0x4b144a),_0x4a07b0[_0x2c25f4(0x24c)](_0x384993,Object[_0x2c25f4(0x27a)](_0x14708b[_0x2c25f4(0x253)]()));}const _0xe212f4=Array[_0x2c25f4(0x1a6)](this[_0x2c25f4(0x260)][_0x2c25f4(0x269)][_0x2c25f4(0x25a)])[_0x2c25f4(0x216)](_0x2b6dfe=>[_0x2b6dfe[_0x2c25f4(0x1a1)],_0x2b6dfe[_0x2c25f4(0x17f)]()]),_0x301c16=this[_0x2c25f4(0x190)][_0x2c25f4(0x238)];this[_0x2c25f4(0x1e3)](_0x301c16,_0x1c29d0,_0xe212f4,_0x4a07b0),this[_0x2c25f4(0x22b)]=this[_0x2c25f4(0x1dd)];const _0x1844d9=new Map(),_0x12929e=new Map();for(const _0x19de85 of _0x5450fe){const _0x3bf52c=G(_0x19de85);_0x1844d9[_0x2c25f4(0x24c)](_0x19de85,_0x3bf52c),_0x12929e[_0x2c25f4(0x24c)](_0x19de85,{});}this[_0x2c25f4(0x1e3)](Number[_0x2c25f4(0x213)],_0x1844d9,[],_0x12929e);}[_0x345477(0x245)](_0x1e67ee,_0x575615){const _0x1f063c=_0x345477;if(this[_0x1f063c(0x200)]===_0x1e67ee&&this[_0x1f063c(0x197)]<=_0x575615)this[_0x1f063c(0x1fb)][_0x1f063c(0x25d)]>0x1&&this[_0x1f063c(0x193)](this[_0x1f063c(0x197)]),this[_0x1f063c(0x211)](this[_0x1f063c(0x197)],_0x575615,!0x0);else{if(!this[_0x1f063c(0x1fb)][_0x1f063c(0x1b4)](_0x1e67ee)){const _0x286832=this[_0x1f063c(0x259)](_0x1e67ee);this[_0x1f063c(0x291)](_0x286832,_0x1e67ee,!0x1);}this[_0x1f063c(0x291)](_0x1e67ee,_0x575615,!0x0);}return this[_0x1f063c(0x200)]=_0x1e67ee,this[_0x1f063c(0x197)]=_0x575615,this[_0x1f063c(0x205)]();}[_0x345477(0x1dc)](_0x261efe){const _0x3fee93=_0x345477;this[_0x3fee93(0x191)](),this[_0x3fee93(0x200)]=_0x261efe[_0x3fee93(0x1ce)],this[_0x3fee93(0x197)]=_0x261efe[_0x3fee93(0x284)];for(const _0xc8ac6 in _0x261efe[_0x3fee93(0x243)]){const _0x31f29c=_0x261efe[_0x3fee93(0x243)][_0xc8ac6][_0x3fee93(0x29d)],_0x23e2f4=_0x344437(_0x261efe[_0x3fee93(0x243)][_0xc8ac6][_0x3fee93(0x2a2)])||{},_0x280b66=this[_0x3fee93(0x1ea)](_0x261efe[_0x3fee93(0x243)][_0xc8ac6][_0x3fee93(0x229)]);_0x280b66[_0x3fee93(0x23e)]=_0xc8ac6,_0x280b66[_0x3fee93(0x25e)]=!_0x31f29c||!_0x31f29c[_0x3fee93(0x228)],_0x280b66[_0x3fee93(0x228)]=()=>_0x280b66[_0x3fee93(0x25e)],this[_0x3fee93(0x20d)][_0x3fee93(0x24c)](_0xc8ac6,_0x280b66),this[_0x3fee93(0x1ef)][_0x3fee93(0x24c)](_0xc8ac6,_0x23e2f4),_0x31f29c&&this[_0x3fee93(0x1d0)][_0x3fee93(0x24c)](_0xc8ac6,_0x31f29c);const _0x55283a=this[_0x3fee93(0x28b)](_0x280b66);this[_0x3fee93(0x1e7)][_0x3fee93(0x24c)](_0xc8ac6,_0x55283a);for(const [_0x4af3ac,_0x3cf910]of _0x280b66[_0x3fee93(0x25a)]){if(!_0x4af3ac[_0x3fee93(0x18a)](_0x3fee93(0x23c)))continue;const _0x2a2d75=_0x4af3ac[_0x3fee93(0x288)](':')[0x2];for(const _0x6ce456 of _0x3cf910[_0x3fee93(0x1a2)]({'singleCharacters':!0x0})){const _0x2c12ea=this[_0x3fee93(0x26b)](_0x6ce456),_0x989d0f=_0x3fee93(0x183)==_0x6ce456[_0x3fee93(0x1cf)]?_0x6ce456[_0x3fee93(0x1ba)][_0x3fee93(0x256)][_0x3fee93(0x230)](0x0,-0x1):_0x6ce456[_0x3fee93(0x1ba)][_0x3fee93(0x256)],_0x4e9812=_0x55283a[_0x3fee93(0x1e4)](_0x989d0f)[_0x3fee93(0x202)](_0x2c12ea);this[_0x3fee93(0x18e)][_0x3fee93(0x24c)](_0x4e9812,{'userId':_0x2a2d75});}}}this[_0x3fee93(0x22b)]=this[_0x3fee93(0x1dd)];const _0x19e765=[...Array(this[_0x3fee93(0x1dd)])[_0x3fee93(0x289)]()][_0x3fee93(0x230)](0x1)[_0x3fee93(0x1ca)](_0x258a6b=>!this[_0x3fee93(0x18e)][_0x3fee93(0x1b4)](_0x258a6b));let _0x206075=0x0;const _0x176474=new Map();for(const _0x262590 in _0x261efe[_0x3fee93(0x243)]){const _0x1db94f=_0x261efe[_0x3fee93(0x243)][_0x262590][_0x3fee93(0x29d)],_0x1489be=_0x344437(_0x261efe[_0x3fee93(0x243)][_0x262590][_0x3fee93(0x209)])||{},_0x5514a0=this[_0x3fee93(0x1ea)](_0x261efe[_0x3fee93(0x243)][_0x262590][_0x3fee93(0x1d3)]);_0x5514a0[_0x3fee93(0x23e)]=_0x262590,_0x5514a0[_0x3fee93(0x25e)]=!_0x1db94f||_0x1db94f[_0x3fee93(0x228)],_0x5514a0[_0x3fee93(0x228)]=()=>_0x5514a0[_0x3fee93(0x25e)],this[_0x3fee93(0x1d4)][_0x3fee93(0x24c)](_0x262590,_0x5514a0),this[_0x3fee93(0x1a5)][_0x3fee93(0x24c)](_0x262590,_0x1489be);const _0x257d67=this[_0x3fee93(0x28b)](_0x5514a0,Number[_0x3fee93(0x213)]);this[_0x3fee93(0x22f)][_0x3fee93(0x24c)](_0x262590,_0x257d67),_0x176474[_0x3fee93(0x24c)](_0x262590,_0x5514a0[_0x3fee93(0x228)]()?_0x1489be:{});for(const [_0x487bd7,_0x240144]of _0x5514a0[_0x3fee93(0x25a)]){if(!_0x487bd7[_0x3fee93(0x18a)](_0x3fee93(0x23c)))continue;const _0x2e403c=_0x487bd7[_0x3fee93(0x288)](':')[0x2];for(const _0x5c957d of _0x240144[_0x3fee93(0x1a2)]({'singleCharacters':!0x0})){const _0x2f1d67=this[_0x3fee93(0x26b)](_0x5c957d),_0x3df36e=this[_0x3fee93(0x1dd)]++,_0x130aae=_0x3fee93(0x183)==_0x5c957d[_0x3fee93(0x1cf)]?_0x5c957d[_0x3fee93(0x1ba)][_0x3fee93(0x256)][_0x3fee93(0x230)](0x0,-0x1):_0x5c957d[_0x3fee93(0x1ba)][_0x3fee93(0x256)];_0x257d67[_0x3fee93(0x1e4)](_0x130aae)[_0x3fee93(0x17c)](_0x2f1d67,_0x3df36e),this[_0x3fee93(0x18e)][_0x3fee93(0x24c)](_0x3df36e,{'userId':_0x2e403c});}}for(const _0x3ef947 of this[_0x3fee93(0x260)][_0x3fee93(0x269)][_0x3fee93(0x23b)](_0x5514a0)[_0x3fee93(0x1a2)]({'singleCharacters':!0x0})){const _0x32edb7=this[_0x3fee93(0x26b)](_0x3ef947),_0x46eefd=_0x3fee93(0x183)==_0x3ef947[_0x3fee93(0x1cf)]?_0x3ef947[_0x3fee93(0x1ba)][_0x3fee93(0x256)][_0x3fee93(0x230)](0x0,-0x1):_0x3ef947[_0x3fee93(0x1ba)][_0x3fee93(0x256)],_0xd614c2=_0x257d67[_0x3fee93(0x1e4)](_0x46eefd);_0xd614c2[_0x3fee93(0x202)](_0x32edb7)>0x0||_0xd614c2[_0x3fee93(0x17c)](_0x32edb7,_0x19e765[_0x206075++]);}for(const [_0x5cf3b3,_0x399c91]of _0x5514a0[_0x3fee93(0x25a)])_0x5cf3b3[_0x3fee93(0x18a)](_0x3fee93(0x23c))||this[_0x3fee93(0x1c0)][_0x3fee93(0x24c)](_0x5cf3b3,_0x399c91);}const _0x24db9e=G(_0x3fee93(0x1f3));this[_0x3fee93(0x20d)][_0x3fee93(0x24c)](_0x3fee93(0x1f3),_0x24db9e),this[_0x3fee93(0x1e7)][_0x3fee93(0x24c)](_0x3fee93(0x1f3),this[_0x3fee93(0x28b)](_0x24db9e,0x1));const _0x4fdd49=G(_0x3fee93(0x1f3));this[_0x3fee93(0x1d4)][_0x3fee93(0x24c)](_0x3fee93(0x1f3),_0x4fdd49),this[_0x3fee93(0x22f)][_0x3fee93(0x24c)](_0x3fee93(0x1f3),this[_0x3fee93(0x28b)](_0x4fdd49,0x1));const _0x24b8cc=Array[_0x3fee93(0x1a6)](this[_0x3fee93(0x1d4)])[_0x3fee93(0x216)](([_0x49c286,_0x4e379])=>[_0x49c286,q(_0x4e379)]);this[_0x3fee93(0x1e3)](this[_0x3fee93(0x197)],_0x24b8cc,this[_0x3fee93(0x1c0)],_0x176474);}[_0x345477(0x1ea)](_0x340242){const _0x462d37=_0x345477,_0x17a224=JSON[_0x462d37(0x276)](_0x340242),_0x396bd1=this[_0x462d37(0x260)][_0x462d37(0x1c3)][_0x462d37(0x1b3)][_0x462d37(0x1a9)],_0x4f279d=new _0x3d807c(_0x396bd1,_0x17a224[_0x462d37(0x216)](_0x309b9e=>B(_0x309b9e,this[_0x462d37(0x260)])));return this[_0x462d37(0x260)][_0x462d37(0x21a)][_0x462d37(0x1c7)](_0x4f279d);}[_0x345477(0x1e3)](_0x5d81d4,_0x18536c,_0x402333,_0x44e8a7){const _0x449902=_0x345477,_0x1b8cb8=new Map(_0x18536c),_0x185d97=new Map(_0x344437(_0x44e8a7)),_0x4cced4=new Map();for(const [_0x42bc5e,_0x1f0ab6]of _0x402333)_0x4cced4[_0x449902(0x24c)](_0x42bc5e,{'start':_0x1f0ab6[_0x449902(0x210)][_0x449902(0x18c)](),'end':_0x1f0ab6[_0x449902(0x1ac)][_0x449902(0x18c)](),'rootName':_0x1f0ab6[_0x449902(0x26f)][_0x449902(0x23e)]});this[_0x449902(0x1fb)][_0x449902(0x24c)](_0x5d81d4,{'roots':_0x1b8cb8,'markers':_0x4cced4,'rootsAttributes':_0x185d97});}[_0x345477(0x193)](_0x395ee2){const _0x496141=_0x345477;this[_0x496141(0x1fb)][_0x496141(0x20f)](_0x395ee2);}[_0x345477(0x194)](){const _0xb302ff=_0x345477;this[_0xb302ff(0x191)](),this[_0xb302ff(0x200)]=-0x1,this[_0xb302ff(0x197)]=-0x1,this[_0xb302ff(0x1fb)][_0xb302ff(0x1b5)](),this[_0xb302ff(0x186)](this[_0xb302ff(0x190)]);}[_0x345477(0x191)](){const _0x4c757d=_0x345477;this[_0x4c757d(0x18e)][_0x4c757d(0x1b5)](),this[_0x4c757d(0x267)][_0x4c757d(0x1b5)](),this[_0x4c757d(0x1d0)][_0x4c757d(0x1b5)](),this[_0x4c757d(0x1d4)][_0x4c757d(0x1b5)](),this[_0x4c757d(0x1a5)][_0x4c757d(0x1b5)](),this[_0x4c757d(0x20d)][_0x4c757d(0x1b5)](),this[_0x4c757d(0x1ef)][_0x4c757d(0x1b5)](),this[_0x4c757d(0x22f)][_0x4c757d(0x1b5)](),this[_0x4c757d(0x1e7)][_0x4c757d(0x1b5)](),this[_0x4c757d(0x1c0)][_0x4c757d(0x1b5)](),this[_0x4c757d(0x1dd)]=0x1,this[_0x4c757d(0x22b)]=this[_0x4c757d(0x1dd)];}[_0x345477(0x28b)](_0x48df51,_0x33da6f=null){const _0x10bac6=_0x345477;let _0x2a7a36=null;_0x48df51['is'](_0x10bac6(0x22c))||(_0x2a7a36=new _0xc1dcbe(_0x48df51[_0x10bac6(0x1a1)],{'vid_start':null===_0x33da6f?this[_0x10bac6(0x1dd)]++:_0x33da6f++}));const _0x4cfc0e=[];for(const _0x16506e of _0x48df51[_0x10bac6(0x21d)]())if(_0x16506e['is'](_0x10bac6(0x298))){_0x4cfc0e[_0x10bac6(0x182)](this[_0x10bac6(0x28b)](_0x16506e,_0x33da6f));const _0x27d4e0=_0x4cfc0e[_0x4cfc0e[_0x10bac6(0x188)]-0x1];null!==_0x33da6f&&(_0x33da6f=_0x27d4e0['is'](_0x10bac6(0x298),_0x10bac6(0x19a))?_0x27d4e0[_0x10bac6(0x202)](_0x10bac6(0x196))+0x1:_0x27d4e0[_0x10bac6(0x202)](_0x10bac6(0x281))+0x1);}else{for(let _0xf18444=0x0;_0xf18444<_0x16506e[_0x10bac6(0x25b)];_0xf18444++)_0x4cfc0e[_0x10bac6(0x182)](new _0xc1dcbe(_0x10bac6(0x19a),{'vid':null===_0x33da6f?this[_0x10bac6(0x1dd)]++:_0x33da6f++}));}if(_0x48df51['is'](_0x10bac6(0x22c))){const _0x8ea0fa=G(_0x48df51[_0x10bac6(0x23e)]);return _0x8ea0fa[_0x10bac6(0x1bc)](0x0,_0x4cfc0e),_0x8ea0fa;}return _0x2a7a36[_0x10bac6(0x17c)](_0x10bac6(0x281),null===_0x33da6f?this[_0x10bac6(0x1dd)]++:_0x33da6f++),_0x2a7a36[_0x10bac6(0x1bc)](0x0,_0x4cfc0e),_0x2a7a36;}[_0x345477(0x291)](_0x683461,_0x1f8cad,_0x5d98b3){const _0x15dbd9=_0x345477;this[_0x15dbd9(0x191)]();const {roots:_0x52eb83,markers:_0x5c6e35,rootsAttributes:_0x203a1d}=this[_0x15dbd9(0x1fb)][_0x15dbd9(0x257)](_0x683461);this[_0x15dbd9(0x20d)]=new Map(_0x52eb83),this[_0x15dbd9(0x1ef)]=new Map(_0x344437(_0x203a1d));for(const [_0x2acca3,_0x4f963c]of this[_0x15dbd9(0x20d)])if(_0x15dbd9(0x1f3)!==_0x2acca3&&(this[_0x15dbd9(0x1d4)][_0x15dbd9(0x24c)](_0x2acca3,q(_0x4f963c)),this[_0x15dbd9(0x1a5)]=new Map(_0x344437(_0x203a1d)),_0x5d98b3)){const _0x5ed720=this[_0x15dbd9(0x1dd)];this[_0x15dbd9(0x22f)][_0x15dbd9(0x24c)](_0x2acca3,this[_0x15dbd9(0x28b)](_0x4f963c)),this[_0x15dbd9(0x1e7)][_0x15dbd9(0x24c)](_0x2acca3,this[_0x15dbd9(0x28b)](_0x4f963c,_0x5ed720));}this[_0x15dbd9(0x22b)]=this[_0x15dbd9(0x1dd)],this[_0x15dbd9(0x1d4)][_0x15dbd9(0x24c)](_0x15dbd9(0x1f3),q(this[_0x15dbd9(0x20d)][_0x15dbd9(0x257)](_0x15dbd9(0x1f3)))),_0x5d98b3&&this[_0x15dbd9(0x22f)][_0x15dbd9(0x24c)](_0x15dbd9(0x1f3),this[_0x15dbd9(0x28b)](this[_0x15dbd9(0x20d)][_0x15dbd9(0x257)](_0x15dbd9(0x1f3))));for(const [_0x3e7ab4,_0x182ed6]of _0x5c6e35){const _0x412593=this[_0x15dbd9(0x20d)][_0x15dbd9(0x257)](_0x182ed6[_0x15dbd9(0x23e)]),_0x371968=this[_0x15dbd9(0x1d4)][_0x15dbd9(0x257)](_0x182ed6[_0x15dbd9(0x23e)]),_0x536e1a=new _0x2654f0(this[_0x15dbd9(0x203)](_0x182ed6[_0x15dbd9(0x210)],_0x412593),this[_0x15dbd9(0x203)](_0x182ed6[_0x15dbd9(0x1ac)],_0x412593)),_0x5bda0b=this[_0x15dbd9(0x285)](_0x536e1a,_0x371968);_0x412593[_0x15dbd9(0x25a)][_0x15dbd9(0x24c)](_0x3e7ab4,_0x536e1a),this[_0x15dbd9(0x1c0)][_0x15dbd9(0x24c)](_0x3e7ab4,_0x5bda0b);}this[_0x15dbd9(0x211)](_0x683461,_0x1f8cad,_0x5d98b3);}[_0x345477(0x211)](_0x4c8f2c,_0x3d54cd,_0x4b9e97){const _0x16aad2=_0x345477;for(const _0x28e05d of this[_0x16aad2(0x190)][_0x16aad2(0x292)](_0x4c8f2c,_0x3d54cd))this[_0x16aad2(0x1fe)](_0x28e05d,_0x4b9e97);for(const _0x501111 of this[_0x16aad2(0x1d4)][_0x16aad2(0x224)]())_0x501111[_0x16aad2(0x25a)][_0x16aad2(0x1b5)]();for(const [_0x54bb48,_0x5347ad]of this[_0x16aad2(0x1c0)]){this[_0x16aad2(0x1d4)][_0x16aad2(0x257)](_0x5347ad[_0x16aad2(0x26f)][_0x16aad2(0x23e)])[_0x16aad2(0x25a)][_0x16aad2(0x24c)](_0x54bb48,_0x5347ad[_0x16aad2(0x18c)]());}const _0x54763d=new Map(),_0x1ee4e8=new Map();for(const [_0x1013e4,_0x2ecf0b]of this[_0x16aad2(0x1d4)])_0x54763d[_0x16aad2(0x24c)](_0x1013e4,q(_0x2ecf0b)),_0x1ee4e8[_0x16aad2(0x24c)](_0x1013e4,this[_0x16aad2(0x1a5)][_0x16aad2(0x257)](_0x1013e4));this[_0x16aad2(0x1e3)](_0x3d54cd,_0x54763d,this[_0x16aad2(0x1c0)],_0x1ee4e8);}[_0x345477(0x259)](_0x15f97e){const _0x2bff52=_0x345477,_0x1dad40=Array[_0x2bff52(0x1a6)](this[_0x2bff52(0x1fb)][_0x2bff52(0x289)]());_0x1dad40[_0x2bff52(0x1b0)]((_0x840e06,_0x128a3f)=>_0x840e06-_0x128a3f),_0x1dad40[_0x2bff52(0x1a8)]();for(const _0x30980c of _0x1dad40)if(_0x30980c<_0x15f97e)return _0x30980c;return Number[_0x2bff52(0x213)];}[_0x345477(0x27c)](_0xc1f240,_0x403470){const _0x29fd9d=_0x345477,_0x4cd896=Array[_0x29fd9d(0x1a6)](_0x403470[_0x29fd9d(0x25a)])[_0x29fd9d(0x216)](([_0x4e02dd,_0x45d28a])=>[_0x4e02dd,this[_0x29fd9d(0x285)](_0x45d28a,_0xc1f240)]);_0xc1f240[_0x29fd9d(0x25a)]=new Map(_0x4cd896);}[_0x345477(0x255)](_0x4d22a7){const _0x2a34a0=_0x345477;for(const _0x18e0ed of this[_0x2a34a0(0x1c0)][_0x2a34a0(0x224)]()){const _0x3ada8a=_0x18e0ed[_0x2a34a0(0x29f)](_0x4d22a7),_0x2257b8=_0x2654f0[_0x2a34a0(0x1ae)](_0x3ada8a);_0x18e0ed[_0x2a34a0(0x210)]=_0x2257b8[_0x2a34a0(0x210)],_0x18e0ed[_0x2a34a0(0x1ac)]=_0x2257b8[_0x2a34a0(0x1ac)];}}[_0x345477(0x1fe)](_0x1776d9,_0x18f955){const _0x569bbb=_0x345477;if(_0x569bbb(0x19d)==_0x1776d9[_0x569bbb(0x1cf)]||_0x569bbb(0x1ed)==_0x1776d9[_0x569bbb(0x1cf)])return void this[_0x569bbb(0x21b)](_0x1776d9,_0x18f955);if(_0x569bbb(0x25f)==_0x1776d9[_0x569bbb(0x1cf)]){const _0x56a906=_0x1776d9[_0x569bbb(0x26a)][_0x569bbb(0x26f)][_0x569bbb(0x23e)];this[_0x569bbb(0x1d4)][_0x569bbb(0x1b4)](_0x56a906)||(this[_0x569bbb(0x1d4)][_0x569bbb(0x24c)](_0x56a906,G(_0x56a906,!0x0)),this[_0x569bbb(0x1a5)][_0x569bbb(0x24c)](_0x56a906,{}),_0x18f955&&this[_0x569bbb(0x22f)][_0x569bbb(0x24c)](_0x56a906,G(_0x56a906,!0x0)));}else{if(_0x569bbb(0x264)==_0x1776d9[_0x569bbb(0x1cf)]||_0x569bbb(0x1aa)==_0x1776d9[_0x569bbb(0x1cf)]||_0x569bbb(0x235)==_0x1776d9[_0x569bbb(0x1cf)])return void this[_0x569bbb(0x1da)](_0x1776d9);}const _0x319207=this[_0x569bbb(0x1d9)](_0x1776d9,this[_0x569bbb(0x1d4)]);if(_0x569bbb(0x225)!==_0x1776d9[_0x569bbb(0x1cf)]&&(_0x319207[_0x569bbb(0x24d)](),this[_0x569bbb(0x255)](_0x319207)),_0x18f955)switch(_0x319207[_0x569bbb(0x1cf)]){case _0x569bbb(0x25f):this[_0x569bbb(0x19f)](_0x1776d9);break;case _0x569bbb(0x17a):case _0x569bbb(0x27b):case _0x569bbb(0x24f):this[_0x569bbb(0x1de)](_0x1776d9);break;case _0x569bbb(0x208):this[_0x569bbb(0x1f6)](_0x1776d9);break;case _0x569bbb(0x288):this[_0x569bbb(0x17d)](_0x1776d9);break;case _0x569bbb(0x225):this[_0x569bbb(0x254)](_0x1776d9);}}[_0x345477(0x1d9)](_0x30f763,_0x20d5dc){const _0x53a23d=_0x345477,_0x182b8e=_0x30f763[_0x53a23d(0x18c)]();return _0x182b8e[_0x53a23d(0x295)]=_0x30f763[_0x53a23d(0x295)],this[_0x53a23d(0x18b)](_0x182b8e,_0x20d5dc),_0x182b8e;}[_0x345477(0x247)](_0x1e346a){const _0x333230=_0x345477;return _0x1e346a[_0x333230(0x216)](_0x3c6594=>{const _0x556c64=_0x333230,_0x7e6bfa=this[_0x556c64(0x26b)](_0x3c6594);return Number(_0x3c6594[_0x556c64(0x271)][_0x556c64(0x202)](_0x7e6bfa));});}[_0x345477(0x1f0)](_0x498f5b,_0xff60fd){const _0x3d1ae4=_0x345477;if(_0x498f5b['is'](_0x3d1ae4(0x298),_0x3d1ae4(0x19a)))_0xff60fd[_0x3d1ae4(0x182)]({'item':_0x498f5b,'type':_0x3d1ae4(0x226)});else{_0x498f5b['is'](_0x3d1ae4(0x298))&&_0xff60fd[_0x3d1ae4(0x182)]({'item':_0x498f5b,'type':_0x3d1ae4(0x1e8)});for(const _0xa8b45f of _0x498f5b[_0x3d1ae4(0x21d)]())this[_0x3d1ae4(0x1f0)](_0xa8b45f,_0xff60fd);_0x498f5b['is'](_0x3d1ae4(0x298))&&_0xff60fd[_0x3d1ae4(0x182)]({'item':_0x498f5b,'type':_0x3d1ae4(0x183)});}return _0xff60fd;}[_0x345477(0x205)](){const _0x5a0f5f=_0x345477,_0x58f8be=new Map(this[_0x5a0f5f(0x18e)]),_0x3628b8=new Map(_0x58f8be),_0x56cde4=new Map(),_0x1dd15e={'insertions':{},'deletions':{}},_0x512e9c={'insertions':{},'deletions':{}},_0x53e661=new Map(),_0x14b62f=new Set([...this[_0x5a0f5f(0x20d)][_0x5a0f5f(0x289)](),...this[_0x5a0f5f(0x1d4)][_0x5a0f5f(0x289)]()]);_0x14b62f[_0x5a0f5f(0x20f)](_0x5a0f5f(0x1f3));for(const _0x23a140 of _0x14b62f){const _0x280379=this[_0x5a0f5f(0x1d4)][_0x5a0f5f(0x257)](_0x23a140)||G(_0x23a140,!0x1),_0x3caa9c=this[_0x5a0f5f(0x20d)][_0x5a0f5f(0x257)](_0x23a140)||G(_0x23a140,!0x1);_0x280379[_0x5a0f5f(0x228)]()||_0x3caa9c[_0x5a0f5f(0x228)]()?(_0x1dd15e[_0x5a0f5f(0x1d3)][_0x23a140]=q(_0x280379),_0x1dd15e[_0x5a0f5f(0x229)][_0x23a140]=q(_0x3caa9c),this[_0x5a0f5f(0x27c)](_0x1dd15e[_0x5a0f5f(0x229)][_0x23a140],_0x3caa9c),this[_0x5a0f5f(0x27c)](_0x1dd15e[_0x5a0f5f(0x1d3)][_0x23a140],_0x280379),_0x512e9c[_0x5a0f5f(0x1d3)][_0x23a140]=this[_0x5a0f5f(0x1f0)](this[_0x5a0f5f(0x22f)][_0x5a0f5f(0x257)](_0x23a140),[]),_0x512e9c[_0x5a0f5f(0x229)][_0x23a140]=this[_0x5a0f5f(0x1f0)](this[_0x5a0f5f(0x1e7)][_0x5a0f5f(0x257)](_0x23a140)||G(_0x23a140,!0x1),[])):_0x14b62f[_0x5a0f5f(0x20f)](_0x23a140);}for(const _0x7206ad of _0x14b62f){const _0x32cb23=_0x512e9c[_0x5a0f5f(0x1d3)][_0x7206ad];for(const _0x260fdb of _0x32cb23){const _0x2113dd=this[_0x5a0f5f(0x26b)](_0x260fdb),_0x676ed8=_0x260fdb[_0x5a0f5f(0x271)][_0x5a0f5f(0x202)](_0x2113dd);_0x3628b8[_0x5a0f5f(0x20f)](_0x676ed8),_0x676ed8>=this[_0x5a0f5f(0x22b)]&&_0x56cde4[_0x5a0f5f(0x24c)](_0x676ed8,_0x58f8be[_0x5a0f5f(0x257)](_0x676ed8));}}for(const _0x39b2c0 of _0x14b62f){const _0x25f25e=_0x512e9c[_0x5a0f5f(0x1d3)][_0x39b2c0],_0x4ee552=this[_0x5a0f5f(0x247)](_0x512e9c[_0x5a0f5f(0x229)][_0x39b2c0]);let _0x10e351=0x0;for(const _0x550f00 of _0x25f25e){const _0x5b8643=this[_0x5a0f5f(0x26b)](_0x550f00),_0x7f1a89=_0x550f00[_0x5a0f5f(0x271)][_0x5a0f5f(0x202)](_0x5b8643);if(!_0x56cde4[_0x5a0f5f(0x1b4)](_0x7f1a89)&&!_0x53e661[_0x5a0f5f(0x1b4)](_0x7f1a89)){if(_0x3628b8[_0x5a0f5f(0x1b4)](_0x7f1a89))_0x10e351++;else{if(_0x7f1a89!=_0x4ee552[_0x10e351]){const _0xadb70d=_0x58f8be[_0x5a0f5f(0x257)](_0x7f1a89)||_0x58f8be[_0x5a0f5f(0x257)](_0x4ee552[_0x10e351]);for(;_0x7f1a89!=_0x4ee552[_0x10e351];)_0x3628b8[_0x5a0f5f(0x1b4)](_0x4ee552[_0x10e351])||(_0x53e661[_0x5a0f5f(0x24c)](_0x4ee552[_0x10e351],_0xadb70d),_0x58f8be[_0x5a0f5f(0x24c)](_0x4ee552[_0x10e351],_0xadb70d)),_0x10e351++;}_0x10e351++;}}}}for(const _0x1f5cb6 of _0x14b62f){const _0x4bdd45=_0x512e9c[_0x5a0f5f(0x1d3)][_0x1f5cb6];for(const _0x4d6057 of _0x4bdd45){const _0x374ad0=this[_0x5a0f5f(0x26b)](_0x4d6057),_0x24bc42=_0x4d6057[_0x5a0f5f(0x271)][_0x5a0f5f(0x202)](_0x374ad0);if(_0x53e661[_0x5a0f5f(0x1b4)](_0x24bc42)){const _0x383d90=_0x53e661[_0x5a0f5f(0x257)](_0x24bc42);_0x3628b8[_0x5a0f5f(0x1b4)](_0x24bc42)||_0x3628b8[_0x5a0f5f(0x24c)](_0x24bc42,{..._0x383d90}),_0x56cde4[_0x5a0f5f(0x24c)](_0x24bc42,{..._0x383d90});}}}for(const _0x3943bd of _0x3628b8[_0x5a0f5f(0x289)]())_0x3943bd>=this[_0x5a0f5f(0x22b)]&&_0x3628b8[_0x5a0f5f(0x20f)](_0x3943bd);const _0x2df51c=new Map();for(const _0x1f829e of _0x14b62f){let _0x114b4c=_0x512e9c[_0x5a0f5f(0x1d3)][_0x1f829e];for(const _0x31920c of _0x114b4c)if(_0x31920c[_0x5a0f5f(0x271)]['is'](_0x5a0f5f(0x298),_0x5a0f5f(0x249))){const _0x120305=this[_0x5a0f5f(0x26b)](_0x31920c),_0x47cd7b=_0x31920c[_0x5a0f5f(0x271)][_0x5a0f5f(0x202)](_0x120305);if(_0x56cde4[_0x5a0f5f(0x1b4)](_0x47cd7b)){const _0x48f2ec=_0x31920c[_0x5a0f5f(0x271)][_0x5a0f5f(0x1be)][_0x5a0f5f(0x1be)][_0x5a0f5f(0x202)](_0x5a0f5f(0x246)),_0x1c5d62=_0x2df51c[_0x5a0f5f(0x257)](_0x48f2ec)||new Set();_0x1c5d62[_0x5a0f5f(0x262)](_0x56cde4[_0x5a0f5f(0x257)](_0x47cd7b)[_0x5a0f5f(0x218)]),_0x2df51c[_0x5a0f5f(0x24c)](_0x48f2ec,_0x1c5d62);}}_0x114b4c=_0x512e9c[_0x5a0f5f(0x229)][_0x1f829e];for(const _0x46f44f of _0x114b4c)if(_0x46f44f[_0x5a0f5f(0x271)]['is'](_0x5a0f5f(0x298),_0x5a0f5f(0x249))){const _0x4f24bd=this[_0x5a0f5f(0x26b)](_0x46f44f),_0x365b23=_0x46f44f[_0x5a0f5f(0x271)][_0x5a0f5f(0x202)](_0x4f24bd);if(_0x3628b8[_0x5a0f5f(0x1b4)](_0x365b23)){const _0x9dbe9b=_0x46f44f[_0x5a0f5f(0x271)][_0x5a0f5f(0x1be)][_0x5a0f5f(0x1be)][_0x5a0f5f(0x202)](_0x5a0f5f(0x246)),_0x49e814=_0x2df51c[_0x5a0f5f(0x257)](_0x9dbe9b)||new Set();_0x49e814[_0x5a0f5f(0x262)](_0x3628b8[_0x5a0f5f(0x257)](_0x365b23)[_0x5a0f5f(0x218)]),_0x2df51c[_0x5a0f5f(0x24c)](_0x9dbe9b,_0x49e814);}}for(const _0x33b088 of _0x2df51c[_0x5a0f5f(0x289)]())(_0x56cde4[_0x5a0f5f(0x1b4)](_0x33b088)||_0x3628b8[_0x5a0f5f(0x1b4)](_0x33b088))&&_0x2df51c[_0x5a0f5f(0x20f)](_0x33b088);}for(const _0x545190 of _0x14b62f){const _0x52b192=_0x512e9c[_0x5a0f5f(0x1d3)][_0x545190];let _0x28d0c5=null,_0x46f094=null;for(const _0x380783 of _0x52b192){const _0x2cc3ac=this[_0x5a0f5f(0x26b)](_0x380783),_0x2ef928=_0x380783[_0x5a0f5f(0x271)][_0x5a0f5f(0x202)](_0x2cc3ac),_0x2298f5=_0x2df51c[_0x5a0f5f(0x257)](_0x2ef928);_0x2298f5&&_0x5a0f5f(0x1e8)==_0x380783[_0x5a0f5f(0x1cf)]&&(_0x28d0c5=Array[_0x5a0f5f(0x1a6)](_0x2298f5)[0x0],_0x46f094=_0x380783[_0x5a0f5f(0x271)][_0x5a0f5f(0x202)](_0x5a0f5f(0x281))),_0x28d0c5&&(_0x3628b8[_0x5a0f5f(0x24c)](_0x2ef928,{'userId':_0x28d0c5}),_0x56cde4[_0x5a0f5f(0x24c)](_0x2ef928,{'userId':_0x28d0c5})),_0x2ef928==_0x46f094&&(_0x28d0c5=null,_0x46f094=null);}}const _0x2c1107={},_0x376615=new Set();for(const _0x2d30d1 of _0x14b62f){const _0x3eb04b=_0x1dd15e[_0x5a0f5f(0x229)][_0x2d30d1],_0x94b836=_0x1dd15e[_0x5a0f5f(0x1d3)][_0x2d30d1];for(const {userId:_0x32fd43}of this[_0x5a0f5f(0x267)][_0x5a0f5f(0x224)]())null!==_0x32fd43&&_0x376615[_0x5a0f5f(0x262)](_0x32fd43);for(const {userId:_0xfda054}of this[_0x5a0f5f(0x1d0)][_0x5a0f5f(0x224)]())null!==_0xfda054&&_0x376615[_0x5a0f5f(0x262)](_0xfda054);this[_0x5a0f5f(0x299)](_0x94b836,_0x512e9c[_0x5a0f5f(0x1d3)][_0x2d30d1],_0x56cde4,_0x5a0f5f(0x23d),_0x376615),this[_0x5a0f5f(0x299)](_0x3eb04b,_0x512e9c[_0x5a0f5f(0x229)][_0x2d30d1],_0x3628b8,_0x5a0f5f(0x1fa),_0x376615),_0x2c1107[_0x2d30d1]={'insertions':this[_0x5a0f5f(0x19b)](_0x94b836),'deletions':this[_0x5a0f5f(0x19b)](_0x3eb04b),'attachChange':this[_0x5a0f5f(0x1d0)][_0x5a0f5f(0x257)](_0x2d30d1)||null,'attributesBefore':_0x344437(this[_0x5a0f5f(0x1ef)][_0x5a0f5f(0x257)](_0x2d30d1))||{},'attributesAfter':_0x344437(this[_0x5a0f5f(0x1a5)][_0x5a0f5f(0x257)](_0x2d30d1))};}return{'diffData':_0x2c1107,'authorsIds':Array[_0x5a0f5f(0x1a6)](_0x376615)};}[_0x345477(0x26d)](_0x195130){const _0x364876=_0x345477;for(const [,_0x12cb8b]of _0x195130[_0x364876(0x25a)]){const _0x1db623=_0x12cb8b[_0x364876(0x210)][_0x364876(0x234)]()[_0x364876(0x1ca)](_0xe2fab0=>_0x364876(0x249)==_0xe2fab0[_0x364876(0x1a1)]);for(const _0x3c589d of _0x1db623)0x1==_0x3c589d[_0x364876(0x273)]&&_0x3c589d[_0x364876(0x266)](0x0)['is'](_0x364876(0x298),_0x364876(0x1c5))&&_0x3c589d[_0x364876(0x266)](0x0)[_0x364876(0x17c)](_0x364876(0x1c9),!0x0);}}[_0x345477(0x19b)](_0xc9a13){const _0x165b31=_0x345477;this[_0x165b31(0x26d)](_0xc9a13);const _0xe36f89=this[_0x165b31(0x260)][_0x165b31(0x21a)][_0x165b31(0x221)](_0xc9a13,{}),_0xd2d35e=Array[_0x165b31(0x1a6)](_0xe36f89[_0x165b31(0x21d)]())[_0x165b31(0x216)](_0x48ca1a=>this[_0x165b31(0x21c)](_0x48ca1a));return JSON[_0x165b31(0x1b8)](_0xd2d35e);}[_0x345477(0x21c)](_0x204ff5){const _0x53f7e4=_0x345477;if(_0x204ff5['is'](_0x53f7e4(0x19a)))return _0x204ff5[_0x53f7e4(0x21a)];{const _0x1c88f0=_0x204ff5;return{'type':Object[_0x53f7e4(0x289)](T)[_0x53f7e4(0x180)](_0x4078e0=>_0x204ff5 instanceof T[_0x4078e0]),'name':_0x1c88f0[_0x53f7e4(0x1a1)],'attributes':Array[_0x53f7e4(0x1a6)](_0x1c88f0[_0x53f7e4(0x253)]()),'children':Array[_0x53f7e4(0x1a6)](_0x1c88f0[_0x53f7e4(0x21d)]())[_0x53f7e4(0x216)](_0x56ca33=>this[_0x53f7e4(0x21c)](_0x56ca33))};}}[_0x345477(0x299)](_0x17167e,_0x24ae58,_0x2c1940,_0x4cedeb,_0x3cf477){const _0x4addfa=_0x345477;let _0x29bcac=null,_0x512c26=null,_0x3c3fdf=0x0;const _0x4d6d40=this[_0x4addfa(0x260)][_0x4addfa(0x269)];for(let _0x4cfc96=0x0;_0x4cfc96<_0x24ae58[_0x4addfa(0x188)];_0x4cfc96++){const _0x5a1ad1=this[_0x4addfa(0x26b)](_0x24ae58[_0x4cfc96]),_0x28e206=_0x24ae58[_0x4cfc96][_0x4addfa(0x271)][_0x4addfa(0x202)](_0x5a1ad1),_0x3f2a64=_0x2c1940[_0x4addfa(0x257)](_0x28e206),_0x534283=_0x4cfc96==_0x24ae58[_0x4addfa(0x188)]-0x1;(!_0x29bcac&&_0x3f2a64&&(_0x29bcac=_0x3f2a64,_0x512c26=_0x24ae58[_0x4cfc96]),_0x29bcac&&(!_0x3f2a64||_0x3f2a64[_0x4addfa(0x218)]!=_0x29bcac[_0x4addfa(0x218)]))&&(_0xdfe197(_0x3f2a64,L(_0x512c26,_0x17167e,_0x4d6d40),L(_0x24ae58[_0x4cfc96],_0x17167e,_0x4d6d40)),_0x29bcac=_0x3f2a64||null,_0x512c26=_0x3f2a64?_0x24ae58[_0x4cfc96]:null),_0x29bcac&&_0x534283&&_0xdfe197(_0x3f2a64,L(_0x512c26,_0x17167e,_0x4d6d40),W(_0x24ae58[_0x4cfc96],_0x17167e,_0x4d6d40));}function _0xdfe197(_0x47f49a,_0x183746,_0x1f381f){const _0x2361fb=_0x4addfa,_0x8564f3=_0x29bcac[_0x2361fb(0x218)],_0x5abe87=_0x2361fb(0x23c)+_0x4cedeb+':'+_0x8564f3+':'+_0x3c3fdf++,_0x3d5bd2=_0x4d6d40[_0x2361fb(0x22e)](_0x183746,_0x1f381f);_0x17167e[_0x2361fb(0x25a)][_0x2361fb(0x24c)](_0x5abe87,_0x3d5bd2),null!==_0x8564f3&&_0x3cf477[_0x2361fb(0x262)](_0x8564f3);}}[_0x345477(0x26b)](_0x437c10){const _0x597ae2=_0x345477;switch(_0x437c10[_0x597ae2(0x1cf)]){case _0x597ae2(0x1e8):return _0x597ae2(0x246);case _0x597ae2(0x183):return _0x597ae2(0x281);default:return _0x597ae2(0x196);}}[_0x345477(0x18b)](_0xcd2bad,_0x2460eb){const _0x46aec2=_0x345477;_0xcd2bad[_0x46aec2(0x24b)]=null;for(const _0x37174f in _0xcd2bad){const _0x329339=_0xcd2bad[_0x37174f];if(_0x329339 instanceof _0x360a2b){const _0xd5823=_0x2460eb[_0x46aec2(0x257)](_0x329339[_0x46aec2(0x26f)][_0x46aec2(0x23e)]);_0xcd2bad[_0x37174f]=this[_0x46aec2(0x203)](_0x329339,_0xd5823);}if(_0x329339 instanceof _0x2654f0){const _0x358937=_0x2460eb[_0x46aec2(0x257)](_0x329339[_0x46aec2(0x26f)][_0x46aec2(0x23e)]);_0xcd2bad[_0x37174f]=this[_0x46aec2(0x285)](_0x329339,_0x358937);}_0x46aec2(0x26f)===_0x37174f&&(_0xcd2bad[_0x46aec2(0x26f)]=_0x2460eb[_0x46aec2(0x257)](_0xcd2bad[_0x46aec2(0x26f)][_0x46aec2(0x23e)]));}}[_0x345477(0x285)](_0x467a23,_0x57382e){const _0x1697ad=_0x345477;return this[_0x1697ad(0x260)][_0x1697ad(0x269)][_0x1697ad(0x22e)](this[_0x1697ad(0x203)](_0x467a23[_0x1697ad(0x210)],_0x57382e),this[_0x1697ad(0x203)](_0x467a23[_0x1697ad(0x1ac)],_0x57382e));}[_0x345477(0x203)](_0x4883b6,_0x1a88a7){const _0x6fa194=_0x345477;return this[_0x6fa194(0x260)][_0x6fa194(0x269)][_0x6fa194(0x1b2)](_0x1a88a7,_0x4883b6[_0x6fa194(0x256)],_0x4883b6[_0x6fa194(0x1d7)]);}[_0x345477(0x19f)](_0x4572b9){const _0x327732=_0x345477,_0x21698b=this[_0x327732(0x22f)][_0x327732(0x257)](_0x4572b9[_0x327732(0x26a)][_0x327732(0x26f)][_0x327732(0x23e)]),_0x42e8fa=this[_0x327732(0x203)](_0x4572b9[_0x327732(0x26a)],_0x21698b),_0x46961b=null===_0x4572b9[_0x327732(0x295)]?null:_0x4572b9[_0x327732(0x295)]||this[_0x327732(0x260)][_0x327732(0x268)][_0x327732(0x257)](_0x327732(0x1d2))['me']['id'],_0x536ebf=_0x42e8fa[_0x327732(0x1be)],_0x22873e=this[_0x327732(0x1dd)],_0x275969=[];for(const _0xc9a1e of _0x4572b9[_0x327732(0x2a1)])if(_0xc9a1e['is'](_0x327732(0x298)))_0x275969[_0x327732(0x182)](this[_0x327732(0x28b)](_0xc9a1e));else{for(let _0x4545bf=0x0;_0x4545bf<_0xc9a1e[_0x327732(0x25b)];_0x4545bf++)_0x275969[_0x327732(0x182)](new _0xc1dcbe(_0x327732(0x19a),{'vid':this[_0x327732(0x1dd)]++}));}const _0x277080=this[_0x327732(0x1dd)];for(let _0x425cfe=_0x22873e;_0x425cfe<_0x277080;_0x425cfe++)this[_0x327732(0x18e)][_0x327732(0x24c)](_0x425cfe,{'userId':_0x46961b});_0x536ebf[_0x327732(0x1bc)](_0x42e8fa[_0x327732(0x27d)],_0x275969);}[_0x345477(0x1de)](_0xa9ea60){const _0x304355=_0x345477;(_0xa9ea60=this[_0x304355(0x1d9)](_0xa9ea60,this[_0x304355(0x22f)]))[_0x304355(0x24d)]();const _0x4882ab=null===_0xa9ea60[_0x304355(0x295)]?null:_0xa9ea60[_0x304355(0x295)]||this[_0x304355(0x260)][_0x304355(0x268)][_0x304355(0x257)](_0x304355(0x1d2))['me']['id'],_0xd4b7f6=_0xa9ea60[_0x304355(0x20e)](),_0x93a533=_0xd4b7f6[_0x304355(0x1be)],_0x3c2724=_0xd4b7f6[_0x304355(0x27d)];!function _0xf5e508(_0x1c1498,_0xdb319a,_0x633768,_0xacbcbb){const _0x79a037=_0x304355;for(let _0x6a30d6=_0x633768;_0x6a30d6<_0xacbcbb;_0x6a30d6++){const _0x473c67=_0xdb319a[_0x79a037(0x266)](_0x6a30d6);_0x473c67['is'](_0x79a037(0x298),_0x79a037(0x19a))?_0x1c1498[_0x79a037(0x24c)](_0x473c67[_0x79a037(0x202)](_0x79a037(0x196)),{'userId':_0x4882ab}):(_0x1c1498[_0x79a037(0x24c)](_0x473c67[_0x79a037(0x202)](_0x79a037(0x246)),{'userId':_0x4882ab}),_0xf5e508(_0x1c1498,_0x473c67,0x0,_0x473c67[_0x79a037(0x273)]),_0x1c1498[_0x79a037(0x24c)](_0x473c67[_0x79a037(0x202)](_0x79a037(0x281)),{'userId':_0x4882ab}));}}(this[_0x304355(0x18e)],_0x93a533,_0x3c2724,_0x3c2724+_0xa9ea60[_0x304355(0x1f1)]);}[_0x345477(0x1f6)](_0x5f2a01){const _0x114f0b=_0x345477,_0x230d74=null===(_0x5f2a01=this[_0x114f0b(0x1d9)](_0x5f2a01,this[_0x114f0b(0x22f)]))[_0x114f0b(0x295)]?null:_0x5f2a01[_0x114f0b(0x295)]||this[_0x114f0b(0x260)][_0x114f0b(0x268)][_0x114f0b(0x257)](_0x114f0b(0x1d2))['me']['id'],_0x1e3c8d=_0x5f2a01[_0x114f0b(0x23a)][_0x114f0b(0x1be)],_0x4a7bcd=_0x5f2a01[_0x114f0b(0x199)][_0x114f0b(0x1be)],_0x86f89f=_0x1e3c8d[_0x114f0b(0x202)](_0x114f0b(0x281)),_0x1add4e=_0x4a7bcd[_0x114f0b(0x202)](_0x114f0b(0x246));_0x1e3c8d[_0x114f0b(0x17c)](_0x114f0b(0x281),_0x4a7bcd[_0x114f0b(0x202)](_0x114f0b(0x281))),_0x4a7bcd[_0x114f0b(0x17c)](_0x114f0b(0x281),_0x86f89f),this[_0x114f0b(0x18e)][_0x114f0b(0x24c)](_0x1add4e,{'userId':_0x230d74}),this[_0x114f0b(0x18e)][_0x114f0b(0x24c)](_0x86f89f,{'userId':_0x230d74}),_0x5f2a01[_0x114f0b(0x24d)]();}[_0x345477(0x17d)](_0x13a9f6){const _0x3e97e7=_0x345477,_0xbad41=null===(_0x13a9f6=this[_0x3e97e7(0x1d9)](_0x13a9f6,this[_0x3e97e7(0x22f)]))[_0x3e97e7(0x295)]?null:_0x13a9f6[_0x3e97e7(0x295)]||this[_0x3e97e7(0x260)][_0x3e97e7(0x268)][_0x3e97e7(0x257)](_0x3e97e7(0x1d2))['me']['id'],_0x127ea2=_0x13a9f6[_0x3e97e7(0x293)],_0x77c4db=_0x13a9f6[_0x3e97e7(0x21f)][_0x3e97e7(0x1be)];_0x13a9f6[_0x3e97e7(0x24d)]();const _0x25898e=_0x77c4db[_0x3e97e7(0x202)](_0x3e97e7(0x281)),_0x5e7026=_0x13a9f6[_0x3e97e7(0x1db)][_0x3e97e7(0x1f4)];if(_0x127ea2){const _0x27bd3c=_0x5e7026[_0x3e97e7(0x202)](_0x3e97e7(0x281)),_0x3f9ce2=_0x77c4db[_0x3e97e7(0x202)](_0x3e97e7(0x281));_0x77c4db[_0x3e97e7(0x17c)](_0x3e97e7(0x281),_0x27bd3c),_0x5e7026[_0x3e97e7(0x17c)](_0x3e97e7(0x281),_0x3f9ce2),this[_0x3e97e7(0x18e)][_0x3e97e7(0x24c)](_0x77c4db[_0x3e97e7(0x202)](_0x3e97e7(0x281)),{'userId':_0xbad41}),this[_0x3e97e7(0x18e)][_0x3e97e7(0x24c)](_0x5e7026[_0x3e97e7(0x202)](_0x3e97e7(0x246)),{'userId':_0xbad41});}else{const _0xd4beb9=this[_0x3e97e7(0x1dd)]++,_0x88c807=this[_0x3e97e7(0x1dd)]++;_0x77c4db[_0x3e97e7(0x17c)](_0x3e97e7(0x281),_0xd4beb9),_0x5e7026[_0x3e97e7(0x17c)](_0x3e97e7(0x246),_0x88c807),_0x5e7026[_0x3e97e7(0x17c)](_0x3e97e7(0x281),_0x25898e),this[_0x3e97e7(0x18e)][_0x3e97e7(0x24c)](_0xd4beb9,{'userId':_0xbad41}),this[_0x3e97e7(0x18e)][_0x3e97e7(0x24c)](_0x88c807,{'userId':_0xbad41});}}[_0x345477(0x254)](_0x2e9cbd){const _0x37bdbc=_0x345477;if(!_0x2e9cbd[_0x37bdbc(0x1ee)])return;const _0xd44c5b=(_0x2e9cbd=this[_0x37bdbc(0x1d9)](_0x2e9cbd,this[_0x37bdbc(0x1d4)]))[_0x37bdbc(0x1b6)]?_0x2e9cbd[_0x37bdbc(0x1b6)][_0x37bdbc(0x26f)]:null,_0x2b4989=_0x2e9cbd[_0x37bdbc(0x26c)]?_0x2e9cbd[_0x37bdbc(0x26c)][_0x37bdbc(0x26f)]:null;_0xd44c5b&&this[_0x37bdbc(0x1c0)][_0x37bdbc(0x20f)](_0x2e9cbd[_0x37bdbc(0x1a1)]),_0x2b4989&&this[_0x37bdbc(0x1c0)][_0x37bdbc(0x24c)](_0x2e9cbd[_0x37bdbc(0x1a1)],_0x2e9cbd[_0x37bdbc(0x26c)][_0x37bdbc(0x18c)]());const _0xbbc08b=null===_0x2e9cbd[_0x37bdbc(0x295)]?null:_0x2e9cbd[_0x37bdbc(0x295)]||this[_0x37bdbc(0x260)][_0x37bdbc(0x268)][_0x37bdbc(0x257)](_0x37bdbc(0x1d2))['me']['id'],_0x10001c=_0x2e9cbd[_0x37bdbc(0x1a1)];if(!this[_0x37bdbc(0x267)][_0x37bdbc(0x1b4)](_0x10001c))return void this[_0x37bdbc(0x267)][_0x37bdbc(0x24c)](_0x10001c,{'range':_0x2e9cbd[_0x37bdbc(0x1b6)],'userId':_0xbbc08b});const _0x112aad=this[_0x37bdbc(0x267)][_0x37bdbc(0x257)](_0x10001c),_0xa9646b=_0x112aad[_0x37bdbc(0x207)],_0x576035=_0x2e9cbd[_0x37bdbc(0x26c)];null==_0xa9646b&&null==_0x576035||_0xa9646b&&_0x576035&&_0xa9646b[_0x37bdbc(0x222)](_0x576035)?this[_0x37bdbc(0x267)][_0x37bdbc(0x20f)](_0x2e9cbd[_0x37bdbc(0x1a1)]):_0x112aad[_0x37bdbc(0x218)]=_0xbbc08b;}[_0x345477(0x21b)](_0x57aea8,_0x719403){const _0x1ae12d=_0x345477;this[_0x1ae12d(0x1d4)][_0x1ae12d(0x1b4)](_0x57aea8[_0x1ae12d(0x23e)])?this[_0x1ae12d(0x1d4)][_0x1ae12d(0x257)](_0x57aea8[_0x1ae12d(0x23e)])[_0x1ae12d(0x25e)]=_0x57aea8[_0x1ae12d(0x1ad)]:(this[_0x1ae12d(0x1d4)][_0x1ae12d(0x24c)](_0x57aea8[_0x1ae12d(0x23e)],G(_0x57aea8[_0x1ae12d(0x23e)],!0x0)),this[_0x1ae12d(0x1a5)][_0x1ae12d(0x24c)](_0x57aea8[_0x1ae12d(0x23e)],{}),_0x719403&&this[_0x1ae12d(0x22f)][_0x1ae12d(0x24c)](_0x57aea8[_0x1ae12d(0x23e)],G(_0x57aea8[_0x1ae12d(0x23e)],!0x0)));const _0xfc2293=null===_0x57aea8[_0x1ae12d(0x295)]?null:_0x57aea8[_0x1ae12d(0x295)]||this[_0x1ae12d(0x260)][_0x1ae12d(0x268)][_0x1ae12d(0x257)](_0x1ae12d(0x1d2))['me']['id'],_0x40f0f2=this[_0x1ae12d(0x1d0)][_0x1ae12d(0x257)](_0x57aea8[_0x1ae12d(0x23e)]);_0x40f0f2&&_0x40f0f2[_0x1ae12d(0x218)]===_0xfc2293?this[_0x1ae12d(0x1d0)][_0x1ae12d(0x20f)](_0x57aea8[_0x1ae12d(0x23e)]):this[_0x1ae12d(0x1d0)][_0x1ae12d(0x24c)](_0x57aea8[_0x1ae12d(0x23e)],{'userId':_0xfc2293,'isAttached':_0x57aea8[_0x1ae12d(0x1ad)]});}[_0x345477(0x1da)](_0x241f7b){const _0x478813=_0x345477,_0x2a7a67=this[_0x478813(0x1a5)][_0x478813(0x257)](_0x241f7b[_0x478813(0x26f)][_0x478813(0x23e)]);null===_0x241f7b[_0x478813(0x294)]?delete _0x2a7a67[_0x241f7b[_0x478813(0x296)]]:_0x2a7a67[_0x241f7b[_0x478813(0x296)]]=_0x241f7b[_0x478813(0x294)];}}function q(_0x562e6b){const _0x534f1b=_0x345477,_0x27db0f=G(_0x562e6b[_0x534f1b(0x23e)],_0x562e6b[_0x534f1b(0x228)]());for(const _0x3dc84b of _0x562e6b[_0x534f1b(0x21d)]()){const _0x3fe3dd=_0x3dc84b[_0x534f1b(0x189)](!0x0);_0x27db0f[_0x534f1b(0x1eb)](_0x3fe3dd);}return _0x27db0f;}function G(_0x21291b,_0x475d66=!0x0){const _0x2d34e0=_0x345477,_0x2184af=new _0x3bd79a();return _0x2184af[_0x2d34e0(0x23e)]=_0x21291b,_0x2184af[_0x2d34e0(0x25e)]=_0x475d66,_0x2184af[_0x2d34e0(0x228)]=()=>_0x2184af[_0x2d34e0(0x25e)],_0x2184af;}function L(_0x57c45d,_0x464ba4,_0x1a889f){const _0x286173=_0x345477,_0x2f8a5e=_0x286173(0x183)==_0x57c45d[_0x286173(0x1cf)]?_0x1a889f[_0x286173(0x28c)](_0x57c45d[_0x286173(0x271)],_0x286173(0x1ac)):_0x1a889f[_0x286173(0x270)](_0x57c45d[_0x286173(0x271)]);return _0x1a889f[_0x286173(0x1b2)](_0x464ba4,_0x2f8a5e[_0x286173(0x256)],_0x2f8a5e[_0x286173(0x1d7)]);}function _0x6148(){const _0x419747=['shift','stickiness','getOperation','_cloneOperation','_handleRootAttributeOperation','insertionPosition','loadState','_revisionId','_handleMoveOperation','_removeRevisionMarkers','conversion','_loadRevisionData','1200eQuzOK','_saveMetaData','getNodeByPath','authorsIds','hasContent','_baseIdsRoots','elementStart','_replaceEditorDataWithRevisionData','_makeModelFromViewString','_appendChild','_makeRevision','detachRoot','affectsData','_baseRootsAttributes','_generateTape','howMany','getIndex','$graveyard','nodeAfter','_initialRevisionId','_handleMergeOperation','PendingActions','then','editor-initial-data-replaced-with-revision-data','deletion','_savedMetaData','creatorId','getLatestVersion','_handleOperation','getCurrentRevisionId','_lastFrom','dataDowncast','getAttribute','_fixPosition','_removePendingAction','_getState','revisionHistory.resumeUnsavedRevision','range','merge','attributesAfter','addRevisionData','marked','_update','_baseRoots','getMovedRangeStart','delete','start','_applyOperations','sendBufferedUpdates','NEGATIVE_INFINITY','markerToData','294AOJwMv','map','revision-end','userId','default','data','_handleRootOperation','_getViewJson','getChildren','_loadState','splitPosition','revision','toView','isEqual','processor','values','marker','text','includes','isAttached','deletions','_createInitialRevision','_startingRevisionId','documentFragment','addRevision','createRange','_idsRoots','slice','1881335LLnPQC','pluginName','update','getAncestors','changeRootAttribute','getRevision','setSource','version','isEnabled','targetPosition','createRangeIn','revision:','insertion','rootName','RevisionTracker','_continueCurrentRevision','initialData','collaboration.channelId','diffData','2032245nJOXoy','getData','vid_start','_getBaseVids','bind','tableCell','createPositionAfter','baseVersion','set','_execute','_findInsertionIndex','reinsert','trim','_addPendingAction','upcast','getAttributes','_handleMarkerOperation','_transformMarkers','path','get','creator','_getPreviousFrom','markers','offsetSize','495733vXLaVy','size','_isAttached','insert','editor','max','add','getRevisionDocumentData','addRootAttribute','_pendingAction','getChild','_touchedMarkers','plugins','model','position','_getVidAttributeName','newRange','_processRootBeforeSave','_createCurrentRevision','root','createPositionBefore','item','_operations','childCount','updateRevisions','adapter','parse','locale','buildRevisionData','children','fromEntries','remove','_copyMarkers','offset','Initial\x20revision','Empty\x20document','_isPendingUpdate','vid_end','_source','forEach','toVersion','_fixRange','getRevisionRootsAttributes','attributes','split','keys','_getFromVersion','_makeIdsRoot','createPositionAt','authors','_revisionDataBuilder','createdAt','some','_calculateMetaData','getOperations','graveyardPosition','newValue','_authorId','key','resolve','element','_markChanges','requires','_bufferUpdate','revision-start','attachChange','696eqDtKc','getTransformedByOperation','finally','nodes','attributesBefore','RealTimeCollaborationClient','move','70833ytmdRs','_setAttribute','_handleSplitOperation','dataToMarker','getRange','find','isReady','push','elementEnd','define','ready','init','getRoot','length','_clone','startsWith','_fixOperation','clone','for','_touched','_startingVersion','source','_reset','data-revision-','_removeMetaData','reInit','string','vid','_lastTo','setRevisionData','sourcePosition','$text','_prepareViewToSave','getUser','addRoot','currentRevision','_handleInsertOperation','PENDING_ACTION_REVISION_HISTORY','name','getWalker','798120Kurpav','toData','_diffRootsAttributes','from','1865974RAYqWb','reverse','document','removeRootAttribute','_setConversion','end','isAdd','_createFromRanges','repository','sort','getRootNames','createPositionFromPath','view','has','clear','oldRange','initial','stringify','rootsAttributes','previousPosition','_loadedStateData','_insertChild','history','parent','_bufferedUpdates','_markers','createRevision','useFillerType','editing','RevisionsRepository','paragraph','roots','toModel','afterInit','keepParagraph','filter','saveRevision','getRevisions','getTime','fromVersion','type','_touchedRoots','config','Users','insertions','_diffRoots','_isInit'];_0x6148=function(){return _0x419747;};return _0x6148();}function W(_0x8af7dd,_0x1f383a,_0x135490){const _0x28a307=_0x345477,_0x556906=_0x28a307(0x1e8)==_0x8af7dd[_0x28a307(0x1cf)]?_0x135490[_0x28a307(0x28c)](_0x8af7dd[_0x28a307(0x271)],0x0):_0x135490[_0x28a307(0x24a)](_0x8af7dd[_0x28a307(0x271)]);return _0x135490[_0x28a307(0x1b2)](_0x1f383a,_0x556906[_0x28a307(0x256)],_0x556906[_0x28a307(0x1d7)]);}
@@ -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(