@ckeditor/ckeditor5-revision-history 44.3.0-alpha.7 → 45.0.0-alpha.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 (198) hide show
  1. package/LICENSE.md +1 -1
  2. package/build/revision-history.js +1 -1
  3. package/build/translations/be.js +1 -0
  4. package/ckeditor5-metadata.json +1 -1
  5. package/dist/index-editor.css +8 -8
  6. package/dist/index.css +17 -17
  7. package/dist/index.js +6 -6
  8. package/dist/translations/af.js +1 -1
  9. package/dist/translations/af.umd.js +1 -1
  10. package/dist/translations/ar.js +1 -1
  11. package/dist/translations/ar.umd.js +1 -1
  12. package/dist/translations/ast.js +1 -1
  13. package/dist/translations/ast.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/be.d.ts +8 -0
  17. package/dist/translations/be.js +23 -0
  18. package/dist/translations/be.umd.js +23 -0
  19. package/dist/translations/bg.js +1 -1
  20. package/dist/translations/bg.umd.js +1 -1
  21. package/dist/translations/bn.js +1 -1
  22. package/dist/translations/bn.umd.js +1 -1
  23. package/dist/translations/bs.js +1 -1
  24. package/dist/translations/bs.umd.js +1 -1
  25. package/dist/translations/ca.js +1 -1
  26. package/dist/translations/ca.umd.js +1 -1
  27. package/dist/translations/cs.js +1 -1
  28. package/dist/translations/cs.umd.js +1 -1
  29. package/dist/translations/da.js +1 -1
  30. package/dist/translations/da.umd.js +1 -1
  31. package/dist/translations/de-ch.js +1 -1
  32. package/dist/translations/de-ch.umd.js +1 -1
  33. package/dist/translations/de.js +1 -1
  34. package/dist/translations/de.umd.js +1 -1
  35. package/dist/translations/el.js +1 -1
  36. package/dist/translations/el.umd.js +1 -1
  37. package/dist/translations/en-au.js +1 -1
  38. package/dist/translations/en-au.umd.js +1 -1
  39. package/dist/translations/en-gb.js +1 -1
  40. package/dist/translations/en-gb.umd.js +1 -1
  41. package/dist/translations/en.js +1 -1
  42. package/dist/translations/en.umd.js +1 -1
  43. package/dist/translations/eo.js +1 -1
  44. package/dist/translations/eo.umd.js +1 -1
  45. package/dist/translations/es-co.js +1 -1
  46. package/dist/translations/es-co.umd.js +1 -1
  47. package/dist/translations/es.js +1 -1
  48. package/dist/translations/es.umd.js +1 -1
  49. package/dist/translations/et.js +1 -1
  50. package/dist/translations/et.umd.js +1 -1
  51. package/dist/translations/eu.js +1 -1
  52. package/dist/translations/eu.umd.js +1 -1
  53. package/dist/translations/fa.js +1 -1
  54. package/dist/translations/fa.umd.js +1 -1
  55. package/dist/translations/fi.js +1 -1
  56. package/dist/translations/fi.umd.js +1 -1
  57. package/dist/translations/fr.js +1 -1
  58. package/dist/translations/fr.umd.js +1 -1
  59. package/dist/translations/gl.js +1 -1
  60. package/dist/translations/gl.umd.js +1 -1
  61. package/dist/translations/gu.js +1 -1
  62. package/dist/translations/gu.umd.js +1 -1
  63. package/dist/translations/he.js +1 -1
  64. package/dist/translations/he.umd.js +1 -1
  65. package/dist/translations/hi.js +1 -1
  66. package/dist/translations/hi.umd.js +1 -1
  67. package/dist/translations/hr.js +1 -1
  68. package/dist/translations/hr.umd.js +1 -1
  69. package/dist/translations/hu.js +1 -1
  70. package/dist/translations/hu.umd.js +1 -1
  71. package/dist/translations/hy.js +1 -1
  72. package/dist/translations/hy.umd.js +1 -1
  73. package/dist/translations/id.js +1 -1
  74. package/dist/translations/id.umd.js +1 -1
  75. package/dist/translations/it.js +1 -1
  76. package/dist/translations/it.umd.js +1 -1
  77. package/dist/translations/ja.js +1 -1
  78. package/dist/translations/ja.umd.js +1 -1
  79. package/dist/translations/jv.js +1 -1
  80. package/dist/translations/jv.umd.js +1 -1
  81. package/dist/translations/kk.js +1 -1
  82. package/dist/translations/kk.umd.js +1 -1
  83. package/dist/translations/km.js +1 -1
  84. package/dist/translations/km.umd.js +1 -1
  85. package/dist/translations/kn.js +1 -1
  86. package/dist/translations/kn.umd.js +1 -1
  87. package/dist/translations/ko.js +1 -1
  88. package/dist/translations/ko.umd.js +1 -1
  89. package/dist/translations/ku.js +1 -1
  90. package/dist/translations/ku.umd.js +1 -1
  91. package/dist/translations/lt.js +1 -1
  92. package/dist/translations/lt.umd.js +1 -1
  93. package/dist/translations/lv.js +1 -1
  94. package/dist/translations/lv.umd.js +1 -1
  95. package/dist/translations/ms.js +1 -1
  96. package/dist/translations/ms.umd.js +1 -1
  97. package/dist/translations/nb.js +1 -1
  98. package/dist/translations/nb.umd.js +1 -1
  99. package/dist/translations/ne.js +1 -1
  100. package/dist/translations/ne.umd.js +1 -1
  101. package/dist/translations/nl.js +1 -1
  102. package/dist/translations/nl.umd.js +1 -1
  103. package/dist/translations/no.js +1 -1
  104. package/dist/translations/no.umd.js +1 -1
  105. package/dist/translations/oc.js +1 -1
  106. package/dist/translations/oc.umd.js +1 -1
  107. package/dist/translations/pl.js +1 -1
  108. package/dist/translations/pl.umd.js +1 -1
  109. package/dist/translations/pt-br.js +1 -1
  110. package/dist/translations/pt-br.umd.js +1 -1
  111. package/dist/translations/pt.js +1 -1
  112. package/dist/translations/pt.umd.js +1 -1
  113. package/dist/translations/ro.js +1 -1
  114. package/dist/translations/ro.umd.js +1 -1
  115. package/dist/translations/ru.js +1 -1
  116. package/dist/translations/ru.umd.js +1 -1
  117. package/dist/translations/si.js +1 -1
  118. package/dist/translations/si.umd.js +1 -1
  119. package/dist/translations/sk.js +1 -1
  120. package/dist/translations/sk.umd.js +1 -1
  121. package/dist/translations/sl.js +1 -1
  122. package/dist/translations/sl.umd.js +1 -1
  123. package/dist/translations/sq.js +1 -1
  124. package/dist/translations/sq.umd.js +1 -1
  125. package/dist/translations/sr-latn.js +1 -1
  126. package/dist/translations/sr-latn.umd.js +1 -1
  127. package/dist/translations/sr.js +1 -1
  128. package/dist/translations/sr.umd.js +1 -1
  129. package/dist/translations/sv.js +1 -1
  130. package/dist/translations/sv.umd.js +1 -1
  131. package/dist/translations/th.js +1 -1
  132. package/dist/translations/th.umd.js +1 -1
  133. package/dist/translations/ti.js +1 -1
  134. package/dist/translations/ti.umd.js +1 -1
  135. package/dist/translations/tk.js +1 -1
  136. package/dist/translations/tk.umd.js +1 -1
  137. package/dist/translations/tr.js +1 -1
  138. package/dist/translations/tr.umd.js +1 -1
  139. package/dist/translations/tt.js +1 -1
  140. package/dist/translations/tt.umd.js +1 -1
  141. package/dist/translations/ug.js +1 -1
  142. package/dist/translations/ug.umd.js +1 -1
  143. package/dist/translations/uk.js +1 -1
  144. package/dist/translations/uk.umd.js +1 -1
  145. package/dist/translations/ur.js +1 -1
  146. package/dist/translations/ur.umd.js +1 -1
  147. package/dist/translations/uz.js +1 -1
  148. package/dist/translations/uz.umd.js +1 -1
  149. package/dist/translations/vi.js +1 -1
  150. package/dist/translations/vi.umd.js +1 -1
  151. package/dist/translations/zh-cn.js +1 -1
  152. package/dist/translations/zh-cn.umd.js +1 -1
  153. package/dist/translations/zh.js +1 -1
  154. package/dist/translations/zh.umd.js +1 -1
  155. package/lang/translations/be.po +131 -0
  156. package/package.json +12 -11
  157. package/src/augmentation.d.ts +2 -1
  158. package/src/changeitem.js +2 -2
  159. package/src/editor/revisionviewereditor.js +2 -2
  160. package/src/editor/revisionviewereditorui.js +1 -1
  161. package/src/editor/revisionviewereditoruiview.js +1 -1
  162. package/src/index.d.ts +2 -0
  163. package/src/index.js +1 -1
  164. package/src/revision.js +2 -2
  165. package/src/revisiondiff.js +1 -1
  166. package/src/revisionhistory.d.ts +6 -0
  167. package/src/revisionhistory.js +1 -1
  168. package/src/revisionhistoryconfig.d.ts +2 -2
  169. package/src/revisionhistoryutils.d.ts +64 -0
  170. package/src/revisionhistoryutils.js +23 -0
  171. package/src/revisionsrepository.js +1 -1
  172. package/src/revisiontracker.d.ts +13 -9
  173. package/src/revisiontracker.js +1 -1
  174. package/src/revisionviewer.d.ts +39 -5
  175. package/src/revisionviewer.js +1 -1
  176. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  177. package/src/ui/revision/revisionauthorview.js +1 -1
  178. package/src/ui/revision/revisionnameview.js +1 -1
  179. package/src/ui/revision/revisionview.js +2 -2
  180. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  181. package/src/ui/revision/subrevisionview.js +1 -1
  182. package/src/ui/revision/utils.js +1 -1
  183. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  184. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  185. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  186. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  187. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  188. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  189. package/src/ui/revisionssidebar/utils.js +1 -1
  190. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  191. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  192. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  193. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  194. package/src/utils/common-translations.js +1 -1
  195. package/theme/icons/arrow-down.svg +0 -1
  196. package/theme/icons/arrow-up.svg +0 -1
  197. package/theme/icons/revision-history.svg +0 -1
  198. package/theme/icons/user.svg +0 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x574f28=_0x4a5c;(function(_0x5af947,_0xb752b1){const _0x14a123=_0x4a5c,_0x4b9c05=_0x5af947();while(!![]){try{const _0x476918=parseInt(_0x14a123(0xfe))/0x1+parseInt(_0x14a123(0x1c5))/0x2+-parseInt(_0x14a123(0xf4))/0x3*(parseInt(_0x14a123(0xf9))/0x4)+-parseInt(_0x14a123(0xc3))/0x5+-parseInt(_0x14a123(0xce))/0x6+-parseInt(_0x14a123(0xbb))/0x7*(-parseInt(_0x14a123(0x184))/0x8)+parseInt(_0x14a123(0x1c9))/0x9;if(_0x476918===_0xb752b1)break;else _0x4b9c05['push'](_0x4b9c05['shift']());}catch(_0x33e7ed){_0x4b9c05['push'](_0x4b9c05['shift']());}}}(_0x4c64,0xe8eed));import{Users as _0x46c1ec}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x26434b,PendingActions as _0x1fc5db}from'ckeditor5/src/core.js';import{logWarning as _0x4d94bd,uid as _0x59128b}from'ckeditor5/src/utils.js';import{Position as _0x409ea5,Range as _0x117237,Element as _0x337830,DocumentFragment as _0x33c806,ViewText as _0x1a0e45,ViewElement as _0x591200,ViewContainerElement as _0x40962f,ViewAttributeElement as _0x210575,ViewEmptyElement as _0x2f93bc,ViewRawElement as _0x5c264c,ViewUIElement as _0x6260d5,ViewDocumentFragment as _0x4d5a3b}from'ckeditor5/src/engine.js';import _0x5b423f from'./revisionsrepository.js';import{getTranslation as _0x4ae695}from'./utils/common-translations.js';import{cloneDeep as _0x40611c,isEqual as _0x5d4965}from'lodash-es';function _0x4c64(){const _0x298a47=['addRevisionData','setRevisionData','split','nodes','some','getData','$text','_touchedRoots','_handleOperation','_fixPosition','vid_start','_pendingAction','getAncestors','_getViewJson','PENDING_ACTION_REVISION_HISTORY','isEnabled','_removeMetaData','document','position','forEach','collaboration.channelId','_getBaseVids','diffData','revisionHistoryLicenseKeyNotAllowed','set','_licenseKeyCheckInterval','_fixRange','values','repository','createdAt','element','_makeRevision','roots','newRange','delete','getNodeByPath','createRangeIn','_isPendingUpdate','insertionPosition','max','stringify','saveRevision','for','_startingRevisionId','_isAttached','isAttached','getChildren','_isInit','reinsert','define','targetPosition','end','_fixOperation','merge','getAttributes','from','9880zJEApn','_removeRevisionMarkers','root','invalid','_markers','markerToData','RevisionsRepository','has','_lastFrom','howMany','insert','remove','revision-end','_lastTo','_savedMetaData','nodeAfter','plugins','_baseIdsRoots','isPremiumPlugin','Users','_getState','getMovedRangeStart','isAdd','_cloneOperation','initialData','add','deletion','_getPreviousFrom','finally','_createFromRanges','_loadRevisionData','config','editor','sendBufferedUpdates','clear','_createCurrentRevision','elementEnd','filter','addRootAttribute','getLatestVersion','trialLimit','_revisionId','getRevision','stickiness','attributesBefore','getCurrentRevisionId','createRevision','revisionHistoryLicenseKeyInvalid','_prepareViewToSave','createPositionFromPath','newValue','_saveMetaData','range','_initialRevisionId','creatorId','view','tableCell','then','name','getRootNames','processor','revisionHistoryLicenseKeyExpired','marker','_makeIdsRoot','children','1992244GSvYFz','_operations','rootsAttributes','getAttribute','27161388TfmsAg','_markChanges','_continueCurrentRevision','_handleInsertOperation','marked','dataDowncast','featureNotAllowed','removeRootAttribute','_makeModelFromViewString','revisionHistory.resumeUnsavedRevision','data','parent','_authorId','trim','loadState','createPositionAt','licenseKey','_handleMergeOperation','NEGATIVE_INFINITY','revision','_showLicenseError','get','sourcePosition','start','attributes','_getFromVersion','push','_touchedMarkers','keys','length','key','_handleRootAttributeOperation','keepParagraph','createPositionBefore','adapter','toModel','hasContent','_idsRoots','getRevisionDocumentData','getIndex','version','getChild','_processRootBeforeSave','_startingVersion','getOperation','clone','authorsIds','reverse','revisionHistoryLicenseKeyTrialLimit','vid','301azcBMX','_clone','getTransformedByOperation','_setAttribute','_baseRoots','_transformMarkers','ready','insertion','995705OdtsuZ','_handleSplitOperation','editor-initial-data-replaced-with-revision-data','string','text','expired','PendingActions','sort','find','_revisionDataBuilder','Empty\x20document','9071850rXSvFx','pluginName','detachRoot','_addPendingAction','_findInsertionIndex','bind','authors','_bufferUpdate','getTime','history','getRange','offset','editing','RealTimeCollaborationClient','_createInitialRevision','currentRevision','destroy','afterInit','_execute','paragraph','map','RevisionHistory','revisionHistoryLicenseKeyEvaluationLimit','_generateTape','_source','revision-start','addRoot','locale','data-revision-','toView','creator','item','_setConversion','revisionHistoryLicenseKeyValid','_appendChild','_applyOperations','_bufferedUpdates','reInit','5605953eJmIkh','addRevision','graveyardPosition','evaluationLimit','type','4PNlCYf','toData','documentFragment','_copyMarkers','getRevisions','466701RHblqv','update','source','_loadState','rootName','getRevisionRootsAttributes','childCount','_replaceEditorDataWithRevisionData','conversion','_reset','getWalker','default','dataToMarker','vid_end','_insertChild','_update','_touched','model','fromVersion','setSource','_getVidAttributeName','insertions','buildRevisionData','offsetSize','isOfficialPlugin','isEqual','_handleMarkerOperation','init','_diffRootsAttributes','createPositionAfter','parse','_removePendingAction','createRange','revisionHistoryLicenseKeyDomainLimit','isReady','deletions','baseVersion','revision:','_baseRootsAttributes','elementStart','changeRootAttribute','previousPosition','attachChange','updateRevisions','initial','_diffRoots','toVersion','startsWith','$graveyard','getUser','_handleRootOperation','getOperations','_calculateMetaData','useFillerType','_loadedStateData','Initial\x20revision','path','usageLimit','userId','domainLimit','_handleMoveOperation','markers','RevisionTracker','requires','upcast','affectsData','shift','size','fromEntries','getRoot','resolve','move','includes','splitPosition','slice','oldRange','revisionHistoryLicenseKeyUsageLimit','attributesAfter'];_0x4c64=function(){return _0x298a47;};return _0x4c64();}const P={'c':_0x40962f,'a':_0x210575,'e':_0x2f93bc,'r':_0x5c264c,'u':_0x6260d5};export default class l extends _0x26434b{static get[_0x574f28(0xcf)](){const _0x106f22=_0x574f28;return _0x106f22(0x13c);}static get[_0x574f28(0x116)](){return!0x0;}static get[_0x574f28(0x196)](){return!0x0;}static get[_0x574f28(0x13d)](){return[_0x46c1ec,_0x5b423f,_0x1fc5db];}constructor(_0x117ffb){const _0x3cb352=_0x574f28;super(_0x117ffb),this[_0x3cb352(0x1eb)]=null,this[_0x3cb352(0xdd)]=null,this[_0x3cb352(0xcc)]=new V(this[_0x3cb352(0x1a4)]),this[_0x3cb352(0x1b9)]=this[_0x3cb352(0x1a4)][_0x3cb352(0x1a3)][_0x3cb352(0x1de)](_0x3cb352(0x160))||_0x3cb352(0x12a),this[_0x3cb352(0xf2)]=new Map(),this[_0x3cb352(0x134)]=null;const _0x180216=_0x59128b();this[_0x3cb352(0xe6)]={'history':this[_0x3cb352(0x1a4)][_0x3cb352(0x10f)][_0x3cb352(0x15d)][_0x3cb352(0xd7)],'getLatestVersion':()=>Promise[_0x3cb352(0x144)](this[_0x3cb352(0x1a4)][_0x3cb352(0x10f)][_0x3cb352(0x15d)][_0x3cb352(0xb1)]),'getCurrentRevisionId':()=>_0x180216},this[_0x3cb352(0x164)](_0x3cb352(0x120),!0x1),this[_0x3cb352(0x164)](_0x3cb352(0x15b),!0x0),this[_0x3cb352(0x164)](_0x3cb352(0x171),!0x1),this[_0x3cb352(0x1a4)][_0x3cb352(0x1a3)][_0x3cb352(0x17d)](_0x3cb352(0x1d2),!0x0),this[_0x3cb352(0x1a4)][_0x3cb352(0x106)][_0x3cb352(0x176)](_0x3cb352(0x13e))[_0x3cb352(0x10a)]({'view':_0x3cb352(0x1dc)});}[_0x574f28(0x119)](){const _0x1447b1=_0x574f28;this[_0x1447b1(0x168)]=this[_0x1447b1(0x1a4)][_0x1447b1(0x194)][_0x1447b1(0x1de)](_0x1447b1(0x18a)),this[_0x1447b1(0xee)](),this[_0x1447b1(0x1a4)][_0x1447b1(0x1d3)]['on'](_0x1447b1(0xc1),()=>{const _0x2342f0=_0x1447b1,_0x2dd8c8=this[_0x2342f0(0x168)][_0x2342f0(0x1ae)](0x0),_0x24a457=_0x2dd8c8&&null===_0x2dd8c8[_0x2342f0(0xec)]?_0x2dd8c8:null;if(this[_0x2342f0(0x1cb)]=!!_0x24a457&&this[_0x2342f0(0x1a4)][_0x2342f0(0x1a3)][_0x2342f0(0x1de)](_0x2342f0(0x1d2)),this[_0x2342f0(0x1a4)][_0x2342f0(0x194)][_0x2342f0(0x18b)](_0x2342f0(0xdb))){const _0x545f55=this[_0x2342f0(0xe6)][_0x2342f0(0x1b1)](),_0xdafa70=this[_0x2342f0(0x168)][_0x2342f0(0x1ae)](_0x545f55);if(_0xdafa70)this[_0x2342f0(0xb4)]=_0xdafa70[_0x2342f0(0x110)],this[_0x2342f0(0x1cb)]=!0x1;else{const _0x2ce424=this[_0x2342f0(0xe6)][_0x2342f0(0xd7)][_0x2342f0(0x1c6)][_0x2342f0(0xcb)](_0x431803=>!_0x431803[_0x2342f0(0x17b)]),_0x361706=_0x2ce424?_0x2ce424[_0x2342f0(0x122)]:this[_0x2342f0(0xe6)][_0x2342f0(0xd7)][_0x2342f0(0xb1)];_0x2dd8c8?(_0x2dd8c8[_0x2342f0(0x12c)]<_0x361706&&_0x2dd8c8[_0x2342f0(0x10d)]({'toVersion':_0x361706}),this[_0x2342f0(0x1cb)]?(this[_0x2342f0(0xe6)][_0x2342f0(0x1b1)]=()=>_0x24a457['id'],this[_0x2342f0(0xb4)]=_0x24a457[_0x2342f0(0x110)]):(this[_0x2342f0(0xb4)]=_0x2dd8c8[_0x2342f0(0x12c)],this[_0x2342f0(0x1cb)]=!0x1)):(this[_0x2342f0(0xb4)]=_0x361706,this[_0x2342f0(0x1cb)]=!0x1);}}else _0x24a457&&(this[_0x2342f0(0x1a4)][_0x2342f0(0x10f)][_0x2342f0(0x15d)][_0x2342f0(0xd7)][_0x2342f0(0xb1)]=Math[_0x2342f0(0x173)](_0x24a457[_0x2342f0(0x12c)],this[_0x2342f0(0x1a4)][_0x2342f0(0x10f)][_0x2342f0(0x15d)][_0x2342f0(0xd7)][_0x2342f0(0xb1)]),_0x24a457[_0x2342f0(0x110)]===_0x24a457[_0x2342f0(0x12c)]?(0x0!==_0x24a457[_0x2342f0(0x110)]&&(this[_0x2342f0(0xe6)][_0x2342f0(0x1b1)]=()=>_0x24a457['id']),this[_0x2342f0(0x1cb)]=!0x1):this[_0x2342f0(0x1cb)]&&(this[_0x2342f0(0xe6)][_0x2342f0(0x1b1)]=()=>_0x24a457['id'],this[_0x2342f0(0xb4)]=_0x24a457[_0x2342f0(0x110)])),this[_0x2342f0(0x1cb)]||(this[_0x2342f0(0xb4)]=this[_0x2342f0(0x1a4)][_0x2342f0(0x10f)][_0x2342f0(0x15d)][_0x2342f0(0xb1)]);this[_0x2342f0(0xcc)][_0x2342f0(0x119)](this[_0x2342f0(0xe6)][_0x2342f0(0xd7)]),this[_0x2342f0(0xdc)](this[_0x2342f0(0xb4)]),this[_0x2342f0(0x1a7)](this[_0x2342f0(0xb4)]),this[_0x2342f0(0x1eb)]&&this[_0x2342f0(0x1a5)]();}),this[_0x1447b1(0xd3)](_0x1447b1(0x120))['to'](this,_0x1447b1(0x171),_0x2a1de4=>!_0x2a1de4),this[_0x1447b1(0x1d9)]=this[_0x1447b1(0x1a4)][_0x1447b1(0x1a3)][_0x1447b1(0x1de)](_0x1447b1(0x1d9));const _0x4727d5=this[_0x1447b1(0x1a4)];this[_0x1447b1(0x165)]=setInterval(()=>{const _0x844423=_0x1447b1;let _0x4248a6;for(const _0x307352 in _0x4727d5){const _0x35fc8b=_0x307352,_0x17e98f=_0x4727d5[_0x35fc8b];if(_0x844423(0xef)==_0x17e98f||_0x844423(0x1b3)==_0x17e98f||_0x844423(0x1c1)==_0x17e98f||_0x844423(0x11f)==_0x17e98f||_0x844423(0x163)==_0x17e98f||_0x844423(0xe4)==_0x17e98f||_0x844423(0xb9)==_0x17e98f||_0x844423(0x14a)==_0x17e98f){delete _0x4727d5[_0x35fc8b],_0x4248a6=_0x17e98f,clearInterval(this[_0x844423(0x165)]),this[_0x844423(0x165)]=void 0x0;break;}}_0x844423(0x1b3)==_0x4248a6&&_0x4727d5[_0x844423(0x1dd)](_0x844423(0x187)),_0x844423(0x1c1)==_0x4248a6&&_0x4727d5[_0x844423(0x1dd)](_0x844423(0xc8)),_0x844423(0x11f)==_0x4248a6&&_0x4727d5[_0x844423(0x1dd)](_0x844423(0x139)),_0x844423(0x163)==_0x4248a6&&_0x4727d5[_0x844423(0x1dd)](_0x844423(0x1cf),_0x844423(0xe3)),_0x844423(0xe4)==_0x4248a6&&_0x4727d5[_0x844423(0x1dd)](_0x844423(0xf7)),_0x844423(0xb9)==_0x4248a6&&_0x4727d5[_0x844423(0x1dd)](_0x844423(0x1ac)),_0x844423(0x14a)==_0x4248a6&&_0x4727d5[_0x844423(0x1dd)](_0x844423(0x137));},0x3e8);}async[_0x574f28(0xdf)](){const _0x46673a=_0x574f28;if(this[_0x46673a(0x168)][_0x46673a(0x1e6)]>0x0){const _0x2762c3=this[_0x46673a(0x168)][_0x46673a(0x1ae)](0x0),_0x47b690=await this[_0x46673a(0xaf)](_0x2762c3),_0x5425ce=await this[_0x46673a(0x103)](_0x2762c3);this[_0x46673a(0x105)](_0x47b690,_0x5425ce);}}[_0x574f28(0xde)](){const _0x2d28ab=_0x574f28;super[_0x2d28ab(0xde)](),this[_0x2d28ab(0x165)]&&clearInterval(this[_0x2d28ab(0x165)]);}[_0x574f28(0x111)](_0x558674){const _0x22f10e=_0x574f28;this[_0x22f10e(0xe6)]=_0x558674;}async[_0x574f28(0xff)](){const _0x18c7db=_0x574f28,_0x937333=await this[_0x18c7db(0xe6)][_0x18c7db(0x1ab)]();if(_0x937333>this[_0x18c7db(0xdd)][_0x18c7db(0x12c)]){await this[_0x18c7db(0x101)]();const _0x114b2c=this[_0x18c7db(0x114)]({'revision':this[_0x18c7db(0xdd)],'to':_0x937333});_0x114b2c[_0x18c7db(0xd4)]=_0x114b2c[_0x18c7db(0xb7)][_0x18c7db(0xe2)](_0x18ee20=>this[_0x18c7db(0x1a4)][_0x18c7db(0x194)][_0x18c7db(0x1de)](_0x18c7db(0x197))[_0x18c7db(0x12f)](_0x18ee20)),this[_0x18c7db(0xdd)][_0x18c7db(0x10d)](_0x114b2c);}}async[_0x574f28(0x101)](){const _0xfb6c36=_0x574f28;this[_0xfb6c36(0x1cb)]&&!this[_0xfb6c36(0x134)]&&(await this[_0xfb6c36(0x1a2)](this[_0xfb6c36(0xdd)]),this[_0xfb6c36(0xcc)][_0xfb6c36(0x1d7)](this[_0xfb6c36(0xdd)]),this[_0xfb6c36(0x134)]={'fromVersion':this[_0xfb6c36(0xdd)][_0xfb6c36(0x110)],'authors':this[_0xfb6c36(0xdd)][_0xfb6c36(0xd4)][_0xfb6c36(0x148)]()});}async[_0x574f28(0x175)](_0x3024f0={},_0x442801=null){const _0x1d56f0=_0x574f28,_0x243549=[];await this[_0x1d56f0(0x101)](),this[_0x1d56f0(0x1cb)]=!0x1,_0x442801>this[_0x1d56f0(0xdd)][_0x1d56f0(0x12c)]&&(_0x442801=null),null===_0x442801&&(_0x442801=await this[_0x1d56f0(0xe6)][_0x1d56f0(0x1ab)]());const _0x489ac5=this[_0x1d56f0(0x1e2)](_0x442801),_0x52f453=this[_0x1d56f0(0x114)]({'from':_0x489ac5,'to':_0x442801});if(this[_0x1d56f0(0xdd)][_0x1d56f0(0x12c)]<_0x442801){const _0x469583=this[_0x1d56f0(0x114)]({'revision':this[_0x1d56f0(0xdd)],'from':_0x442801,'to':_0x442801});_0x469583[_0x1d56f0(0xd4)]=[],_0x469583[_0x1d56f0(0xb7)]=[],_0x469583['id']=this[_0x1d56f0(0xdd)]['id'],this[_0x1d56f0(0xdd)][_0x1d56f0(0x10d)](_0x469583,!0x0),delete _0x469583[_0x1d56f0(0xd4)],_0x243549[_0x1d56f0(0x1e3)](_0x469583);}_0x3024f0[_0x1d56f0(0x1ba)]=this[_0x1d56f0(0x1a4)][_0x1d56f0(0x194)][_0x1d56f0(0x1de)](_0x1d56f0(0x197))['me']['id'],_0x3024f0[_0x1d56f0(0x1be)]=_0x3024f0[_0x1d56f0(0x1be)]||null,_0x3024f0['id']=_0x3024f0['id']||_0x59128b(),_0x3024f0={..._0x3024f0,..._0x52f453};const _0x115340=this[_0x1d56f0(0x14c)](_0x3024f0);_0x243549[_0x1d56f0(0x1e3)](_0x3024f0);const _0x42e8e2=this[_0x1d56f0(0x168)][_0x1d56f0(0xb0)](_0x115340);if(0x0!==_0x42e8e2){const _0x68f0c6=this[_0x1d56f0(0x168)][_0x1d56f0(0x1ae)](_0x42e8e2-0x1);if(_0x68f0c6[_0x1d56f0(0x110)]!==_0x442801){const _0x17a392=this[_0x1d56f0(0xcc)][_0x1d56f0(0x151)](_0x442801,_0x68f0c6[_0x1d56f0(0x12c)]),_0x29a638={'id':_0x68f0c6['id'],'diffData':_0x17a392[_0x1d56f0(0x162)],'authorsIds':_0x17a392[_0x1d56f0(0xb7)],'authors':_0x17a392[_0x1d56f0(0xb7)][_0x1d56f0(0xe2)](_0x5b8f83=>this[_0x1d56f0(0x1a4)][_0x1d56f0(0x194)][_0x1d56f0(0x1de)](_0x1d56f0(0x197))[_0x1d56f0(0x12f)](_0x5b8f83)),'fromVersion':_0x442801};_0x68f0c6===this[_0x1d56f0(0xdd)]&&(_0x29a638[_0x1d56f0(0x169)]=new Date(_0x3024f0[_0x1d56f0(0x169)][_0x1d56f0(0xd6)]()+0xa)),_0x68f0c6[_0x1d56f0(0x10d)](_0x29a638,!0x0),delete _0x29a638[_0x1d56f0(0xd4)],_0x243549[_0x1d56f0(0x1e3)](_0x29a638);}}if(this[_0x1d56f0(0x1eb)]){for(const _0x538a22 of _0x243549)this[_0x1d56f0(0xd5)](_0x538a22['id'],_0x538a22,!0x0);this[_0x1d56f0(0x1a5)]();}return _0x115340;}[_0x574f28(0x14c)](_0x3dfd5e){const _0x3c77f6=_0x574f28,_0x4bbb3c=this[_0x3c77f6(0x168)][_0x3c77f6(0x1b2)](_0x3dfd5e);return this[_0x3c77f6(0x1eb)]&&_0x4bbb3c['on'](_0x3c77f6(0x10d),(_0x3e950f,_0x2796f8,_0x4b6e4b)=>{const _0x23e4ab=_0x3c77f6;_0x4b6e4b||(this[_0x23e4ab(0xd5)](_0x2796f8['id'],_0x2796f8,!0x0),this[_0x23e4ab(0x1a5)]());}),this[_0x3c77f6(0x168)][_0x3c77f6(0xf5)](_0x4bbb3c,this[_0x3c77f6(0xd2)](_0x4bbb3c)),_0x4bbb3c;}async[_0x574f28(0xaf)](_0x3b3bcd){const _0x3fa370=_0x574f28;await this[_0x3fa370(0x1a2)](_0x3b3bcd);const _0x12bac5={};for(const _0x1a0de2 in _0x3b3bcd[_0x3fa370(0x162)]){if(_0x3b3bcd[_0x3fa370(0x162)][_0x1a0de2][_0x3fa370(0x128)]&&!_0x3b3bcd[_0x3fa370(0x162)][_0x1a0de2][_0x3fa370(0x128)][_0x3fa370(0x179)])continue;const _0x2d8540=this[_0x3fa370(0x185)](JSON[_0x3fa370(0x11c)](_0x3b3bcd[_0x3fa370(0x162)][_0x1a0de2][_0x3fa370(0x113)])),_0x36136b=this[_0x3fa370(0x1a4)][_0x3fa370(0xda)][_0x3fa370(0x1bb)][_0x3fa370(0x15d)],_0x4540b5=new _0x4d5a3b(_0x36136b,_0x2d8540[_0x3fa370(0xe2)](_0x239789=>C(_0x239789,this[_0x3fa370(0x1a4)])));this[_0x3fa370(0x1a4)][_0x3fa370(0x1d3)][_0x3fa370(0x1c0)][_0x3fa370(0x133)](_0x3fa370(0x1cd)),_0x12bac5[_0x1a0de2]=this[_0x3fa370(0x1a4)][_0x3fa370(0x1d3)][_0x3fa370(0x1c0)][_0x3fa370(0xfa)](_0x4540b5),this[_0x3fa370(0x1a4)][_0x3fa370(0x1d3)][_0x3fa370(0x1c0)][_0x3fa370(0x133)](_0x3fa370(0x109));}return _0x12bac5;}async[_0x574f28(0x103)](_0x30b8db){const _0x3cb167=_0x574f28;await this[_0x3cb167(0x1a2)](_0x30b8db);const _0x3747b9={};for(const _0x7f47a9 in _0x30b8db[_0x3cb167(0x162)])_0x30b8db[_0x3cb167(0x162)][_0x7f47a9][_0x3cb167(0x128)]&&!_0x30b8db[_0x3cb167(0x162)][_0x7f47a9][_0x3cb167(0x128)][_0x3cb167(0x179)]||(_0x3747b9[_0x7f47a9]=_0x30b8db[_0x3cb167(0x162)][_0x7f47a9][_0x3cb167(0x14b)]||{});return _0x3747b9;}[_0x574f28(0x1a5)](){const _0x137758=_0x574f28;if(0x0===this[_0x137758(0xf2)][_0x137758(0x141)])return;if(this[_0x137758(0x171)])return;let _0x12be40=Array[_0x137758(0x183)](this[_0x137758(0xf2)][_0x137758(0x167)]());this[_0x137758(0xf2)][_0x137758(0x1a6)]();for(let _0x578c1d=0x0;_0x578c1d<_0x12be40[_0x137758(0x1e6)];_0x578c1d++){const _0x13198b=_0x12be40[_0x578c1d];let _0x3fa75f=!0x1;for(const _0x12271f of Object[_0x137758(0x1e5)](_0x13198b))void 0x0===_0x13198b[_0x12271f]?delete _0x13198b[_0x12271f]:'id'!==_0x12271f&&(_0x3fa75f=!0x0);_0x3fa75f||(_0x12be40[_0x578c1d]=null);}if(_0x12be40=_0x12be40[_0x137758(0x1a9)](_0x563c88=>null!==_0x563c88),!_0x12be40[_0x137758(0x1e6)])return;for(let _0x5229f7=0x0;_0x5229f7<_0x12be40[_0x137758(0x1e6)];_0x5229f7++){const _0x449698=_0x12be40[_0x5229f7];void 0x0!==_0x449698[_0x137758(0x110)]&&void 0x0===_0x449698[_0x137758(0x12c)]&&(_0x449698[_0x137758(0x12c)]=this[_0x137758(0x168)][_0x137758(0x1ae)](_0x449698['id'])[_0x137758(0x12c)]),void 0x0!==_0x449698[_0x137758(0x12c)]&&void 0x0===_0x449698[_0x137758(0x110)]&&(_0x449698[_0x137758(0x110)]=this[_0x137758(0x168)][_0x137758(0x1ae)](_0x449698['id'])[_0x137758(0x110)]);}const _0xe4047=this[_0x137758(0x1a4)][_0x137758(0x1a3)][_0x137758(0x1de)](_0x137758(0x160));this[_0x137758(0x171)]=!0x0,this[_0x137758(0xd1)](),this[_0x137758(0x1eb)][_0x137758(0x129)](_0x12be40,_0xe4047)[_0x137758(0x1a0)](()=>{const _0x52fc5b=_0x137758;this[_0x52fc5b(0x171)]=!0x1;})[_0x137758(0x1bd)](_0x7b136e=>{const _0x4f577f=_0x137758;if(_0x7b136e){for(const _0x16e187 of _0x7b136e)this[_0x4f577f(0x14d)]({'id':_0x16e187['id'],'createdAt':_0x16e187[_0x4f577f(0x169)]});}this[_0x4f577f(0x11d)](),this[_0x4f577f(0x1a5)]();});}[_0x574f28(0x105)](_0xc988f3,_0x69d738){const _0x3f2e4a=_0x574f28;let _0x5cd600=this[_0x3f2e4a(0x1a4)][_0x3f2e4a(0x1a3)][_0x3f2e4a(0x1de)](_0x3f2e4a(0x19c)),_0x4ac588=this[_0x3f2e4a(0x1a4)][_0x3f2e4a(0x1a3)][_0x3f2e4a(0x1de)](_0x3f2e4a(0x1c7));if(void 0x0===_0x5cd600){_0x5cd600={};for(const _0x3a7aac of this[_0x3f2e4a(0x1a4)][_0x3f2e4a(0x10f)][_0x3f2e4a(0x15d)][_0x3f2e4a(0x1bf)]())_0x5cd600[_0x3a7aac]='';}if(_0x3f2e4a(0xc6)==typeof _0x5cd600&&(_0x5cd600={'main':_0x5cd600}),void 0x0===_0x4ac588){_0x4ac588={};for(const _0x5388e0 of this[_0x3f2e4a(0x1a4)][_0x3f2e4a(0x10f)][_0x3f2e4a(0x15d)][_0x3f2e4a(0x1bf)]())_0x4ac588[_0x5388e0]={};}let _0x2c23f7=!0x1;const _0x3d72db=Object[_0x3f2e4a(0x1e5)](_0x5cd600),_0x17063d=Object[_0x3f2e4a(0x1e5)](_0xc988f3);for(const _0x17e2b4 of _0x3d72db){if(_0x5cd600[_0x17e2b4]!==_0xc988f3[_0x17e2b4]&&''!==_0x5cd600[_0x17e2b4][_0x3f2e4a(0x1d6)]()){_0x2c23f7=!0x0;break;}if(!_0x5d4965(_0x4ac588[_0x17e2b4],_0x69d738[_0x17e2b4])&&Object[_0x3f2e4a(0x1e5)](_0x4ac588[_0x17e2b4])[_0x3f2e4a(0x1e6)]>0x0){_0x2c23f7=!0x0;break;}}_0x2c23f7||(_0x2c23f7=_0x17063d[_0x3f2e4a(0x150)](_0x549916=>!this[_0x3f2e4a(0x1a4)][_0x3f2e4a(0x10f)][_0x3f2e4a(0x15d)][_0x3f2e4a(0x143)](_0x549916))),_0x2c23f7&&_0x4d94bd(_0x3f2e4a(0xc5),{'editorData':_0x5cd600,'editorRootsAttributes':_0x4ac588,'revisionData':_0xc988f3,'revisionRootsAttributes':_0x69d738}),this[_0x3f2e4a(0x1a4)][_0x3f2e4a(0x1a3)][_0x3f2e4a(0x164)](_0x3f2e4a(0x19c),_0xc988f3),this[_0x3f2e4a(0x1a4)][_0x3f2e4a(0x1a3)][_0x3f2e4a(0x164)](_0x3f2e4a(0x1c7),_0x69d738);}[_0x574f28(0xd1)](){const _0x23f876=_0x574f28;if(!this[_0x23f876(0x157)]){const _0x4f5e2d=this[_0x23f876(0x1a4)][_0x23f876(0x194)][_0x23f876(0x1de)](_0x23f876(0xc9));this[_0x23f876(0x157)]=_0x4f5e2d[_0x23f876(0x19d)](_0x4ae695(this[_0x23f876(0x1a4)][_0x23f876(0xe9)],_0x23f876(0x15a)));}}[_0x574f28(0x11d)](){const _0x8726c1=_0x574f28;this[_0x8726c1(0x157)]&&(this[_0x8726c1(0x1a4)][_0x8726c1(0x194)][_0x8726c1(0x1de)](_0x8726c1(0xc9))[_0x8726c1(0x18f)](this[_0x8726c1(0x157)]),this[_0x8726c1(0x157)]=null);}[_0x574f28(0xd2)](_0x3cf960){const _0x4cea56=_0x574f28,_0x1d33f0=this[_0x4cea56(0x168)][_0x4cea56(0xfd)]();_0x1d33f0[_0x4cea56(0xb8)]();let _0x1bafc2=0x0;for(;_0x1bafc2<_0x1d33f0[_0x4cea56(0x1e6)];){const _0x2cdef6=_0x1d33f0[_0x1bafc2];if(_0x2cdef6===this[_0x4cea56(0xdd)]){_0x1bafc2++;continue;}if(_0x2cdef6['id']===this[_0x4cea56(0x1b9)])break;const _0x399b31=_0x3cf960[_0x4cea56(0x12c)]-_0x2cdef6[_0x4cea56(0x12c)]||_0x3cf960[_0x4cea56(0x110)]-_0x2cdef6[_0x4cea56(0x110)];if(_0x399b31>0x0)break;if(_0x399b31<0x0)_0x1bafc2++;else{if(!_0x3cf960[_0x4cea56(0xec)]&&_0x2cdef6[_0x4cea56(0xec)])break;if(_0x2cdef6[_0x4cea56(0xec)]||!_0x3cf960[_0x4cea56(0xec)]){if(_0x3cf960[_0x4cea56(0x169)]>_0x2cdef6[_0x4cea56(0x169)])break;_0x1bafc2++;}else _0x1bafc2++;}}return _0x1bafc2;}[_0x574f28(0x14d)](_0x14c04c){const _0x3d3720=_0x574f28,_0x57b11a=this[_0x3d3720(0x168)][_0x3d3720(0x1ae)](_0x14c04c['id']);if(_0x14c04c[_0x3d3720(0x169)]&&(_0x14c04c[_0x3d3720(0x169)]=new Date(_0x14c04c[_0x3d3720(0x169)])),_0x14c04c[_0x3d3720(0xb7)]){const _0x219b50=this[_0x3d3720(0x1a4)][_0x3d3720(0x194)][_0x3d3720(0x1de)](_0x3d3720(0x197));_0x14c04c[_0x3d3720(0xd4)]=_0x14c04c[_0x3d3720(0xb7)][_0x3d3720(0xe2)](_0x575abb=>_0x219b50[_0x3d3720(0x12f)](_0x575abb));}_0x57b11a[_0x3d3720(0x10d)](_0x14c04c,!0x0);}[_0x574f28(0x114)]({revision:_0x2dfa2c=null,from:_0x3b6fa0=null,to:_0x4b581c=null}){const _0x2567a0=_0x574f28;_0x3b6fa0=null!==_0x3b6fa0?_0x3b6fa0:_0x2dfa2c[_0x2567a0(0x110)],_0x4b581c=null!==_0x4b581c?_0x4b581c:_0x2dfa2c[_0x2567a0(0x12c)];const _0x301ad1=this[_0x2567a0(0xcc)][_0x2567a0(0x151)](_0x3b6fa0,_0x4b581c),_0x29bc92={'diffData':_0x301ad1[_0x2567a0(0x162)],'authorsIds':_0x301ad1[_0x2567a0(0xb7)],'fromVersion':_0x3b6fa0,'toVersion':_0x4b581c};if(!_0x2dfa2c||_0x4b581c!==_0x2dfa2c[_0x2567a0(0x12c)]){const _0x31ea00=_0x4b581c-0x1,_0x3937e8=this[_0x2567a0(0xe6)][_0x2567a0(0xd7)][_0x2567a0(0xb5)](_0x31ea00);_0x29bc92[_0x2567a0(0x169)]=_0x3937e8&&_0x3937e8[_0x2567a0(0x169)]||new Date();}if(this[_0x2567a0(0x134)]&&_0x3b6fa0===this[_0x2567a0(0x134)][_0x2567a0(0x110)]){for(const _0x202596 of this[_0x2567a0(0x134)][_0x2567a0(0xd4)])_0x29bc92[_0x2567a0(0xb7)][_0x2567a0(0x146)](_0x202596['id'])||_0x29bc92[_0x2567a0(0xb7)][_0x2567a0(0x1e3)](_0x202596['id']);}return _0x29bc92;}[_0x574f28(0x1a2)](_0x435d5e){const _0x4b3754=_0x574f28;if(!_0x435d5e||_0x435d5e[_0x4b3754(0x162)])return Promise[_0x4b3754(0x144)]();{const _0x32b436=this[_0x4b3754(0x1a4)][_0x4b3754(0x1a3)][_0x4b3754(0x1de)](_0x4b3754(0x160));return this[_0x4b3754(0x1eb)][_0x4b3754(0x1ae)]({'channelId':_0x32b436,'revisionId':_0x435d5e['id']})[_0x4b3754(0x1bd)](_0x103d8e=>{const _0x1acb65=_0x4b3754;_0x435d5e[_0x1acb65(0x162)]=_0x103d8e[_0x1acb65(0x162)];});}}[_0x574f28(0xd5)](_0x3df470,_0x47760f,_0x577502){const _0x7cb76=_0x574f28;if(this[_0x7cb76(0xf2)][_0x7cb76(0x18b)](_0x3df470)){const _0x23e697=this[_0x7cb76(0xf2)][_0x7cb76(0x1de)](_0x3df470);_0x47760f=_0x577502?{..._0x23e697,..._0x47760f}:{..._0x47760f,..._0x23e697};}this[_0x7cb76(0xf2)][_0x7cb76(0x164)](_0x3df470,_0x47760f);}[_0x574f28(0x1e2)](_0x264079){const _0x79e1a1=_0x574f28,_0x58db9f=this[_0x79e1a1(0x168)][_0x79e1a1(0xfd)]();_0x58db9f[_0x79e1a1(0xb8)](),_0x58db9f[_0x79e1a1(0x140)]();const _0x2c8cdc=_0x58db9f[_0x79e1a1(0xcb)](_0x4f7377=>_0x4f7377[_0x79e1a1(0x12c)]<=_0x264079)[_0x79e1a1(0x12c)];return _0x2c8cdc<this[_0x79e1a1(0xb4)]?this[_0x79e1a1(0xb4)]:_0x2c8cdc;}[_0x574f28(0xdc)](_0x4e35d7){const _0xcda1f9=_0x574f28,_0x1bf840=this[_0xcda1f9(0x168)][_0xcda1f9(0x1ae)](this[_0xcda1f9(0x168)][_0xcda1f9(0x1e6)]-0x1);if(_0x1bf840)this[_0xcda1f9(0x1b9)]=_0x1bf840['id'];else{const _0x37db78=!this[_0xcda1f9(0x1a4)][_0xcda1f9(0x10f)][_0xcda1f9(0x15d)][_0xcda1f9(0x16c)][_0xcda1f9(0xcb)](_0x4dd2b1=>this[_0xcda1f9(0x1a4)][_0xcda1f9(0x10f)][_0xcda1f9(0xad)](_0x4dd2b1)),_0x498e49=this[_0xcda1f9(0x1a4)][_0xcda1f9(0x194)][_0xcda1f9(0x1de)](_0xcda1f9(0x197))['me']['id'],_0x253cd0=_0x4ae695(this[_0xcda1f9(0x1a4)][_0xcda1f9(0xe9)],_0x37db78?_0xcda1f9(0xcd):_0xcda1f9(0x135));this[_0xcda1f9(0x16b)]({'from':_0x4e35d7,'to':_0x4e35d7,'id':this[_0xcda1f9(0x1b9)],'name':_0x253cd0,'creatorId':_0x498e49});}}[_0x574f28(0x1a7)](_0x2159cb){const _0x2c20f2=_0x574f28,_0x3efc7e=this[_0x2c20f2(0xe6)][_0x2c20f2(0x1b1)]();this[_0x2c20f2(0xdd)]=this[_0x2c20f2(0x168)][_0x2c20f2(0x1ae)](_0x3efc7e),this[_0x2c20f2(0xdd)]||(this[_0x2c20f2(0xdd)]=this[_0x2c20f2(0x16b)]({'from':_0x2159cb,'to':_0x2159cb,'id':_0x3efc7e,'name':'','creatorId':null}));}[_0x574f28(0x16b)]({name:_0x3c675d,from:_0x4f67e5,to:_0x327bbe,creatorId:_0x24011e,id:_0x3f7ccd}){const _0x5e2057=_0x574f28,_0x39dab2=this[_0x5e2057(0x114)]({'from':_0x4f67e5,'to':_0x327bbe});_0x39dab2[_0x5e2057(0x1be)]=_0x3c675d,_0x39dab2[_0x5e2057(0x1ba)]=_0x24011e,_0x39dab2['id']=_0x3f7ccd;const _0x2da493=this[_0x5e2057(0x14c)](_0x39dab2);return this[_0x5e2057(0x1eb)]&&this[_0x5e2057(0xd5)](_0x39dab2['id'],_0x39dab2,!0x0),_0x2da493;}[_0x574f28(0xee)](){const _0x707a7=_0x574f28;this[_0x707a7(0x1a4)][_0x707a7(0x106)][_0x707a7(0x176)](_0x707a7(0x1ce))[_0x707a7(0x189)]({'model':_0x707a7(0x1dc)});}[_0x574f28(0x185)](_0x10de71){const _0x27fe6b=_0x574f28;return(_0x10de71=_0x10de71[_0x27fe6b(0x1a9)](_0x5b93d1=>!_0x5b93d1[_0x27fe6b(0x1be)]||_0x27fe6b(0xe7)!==_0x5b93d1[_0x27fe6b(0x1be)]&&_0x27fe6b(0x190)!==_0x5b93d1[_0x27fe6b(0x1be)]))[_0x27fe6b(0x15f)](_0x28bb15=>{const _0x2f379d=_0x27fe6b;_0x2f379d(0xc6)!=typeof _0x28bb15&&(_0x28bb15[_0x2f379d(0x1c4)]=this[_0x2f379d(0x185)](_0x28bb15[_0x2f379d(0x1c4)]),_0x28bb15[_0x2f379d(0x1e1)]=_0x28bb15[_0x2f379d(0x1e1)][_0x2f379d(0x1a9)](_0x355625=>!_0x355625[0x0][_0x2f379d(0x12d)](_0x2f379d(0xea))));}),_0x10de71;}}function C(_0x2be801,_0x1f3996){const _0x4ff134=_0x574f28,_0x44aff6=_0x1f3996[_0x4ff134(0xda)][_0x4ff134(0x1bb)][_0x4ff134(0x15d)];if(_0x4ff134(0xc6)==typeof _0x2be801)return new _0x1a0e45(_0x44aff6,_0x2be801);{const _0x82f4a=_0x2be801[_0x4ff134(0x1c4)][_0x4ff134(0xe2)](_0x275b52=>C(_0x275b52,_0x1f3996));return new(P[_0x2be801[(_0x4ff134(0xf8))]]||_0x591200)(_0x44aff6,_0x2be801[_0x4ff134(0x1be)],_0x2be801[_0x4ff134(0x1e1)],_0x82f4a);}}class V{constructor(_0xed4de7){const _0x3032fd=_0x574f28;this[_0x3032fd(0x1a4)]=_0xed4de7,this[_0x3032fd(0x192)]=new Map(),this[_0x3032fd(0x18c)]=-0x1,this[_0x3032fd(0x191)]=-0x1,this[_0x3032fd(0x188)]=new Map(),this[_0x3032fd(0x12b)]=new Map(),this[_0x3032fd(0x11a)]=new Map(),this[_0x3032fd(0xbf)]=new Map(),this[_0x3032fd(0x124)]=new Map(),this[_0x3032fd(0xae)]=new Map(),this[_0x3032fd(0x195)]=new Map(),this[_0x3032fd(0x10e)]=new Map(),this[_0x3032fd(0x1e4)]=new Map(),this[_0x3032fd(0x153)]=new Map(),this[_0x3032fd(0x1ad)]=0x1;}[_0x574f28(0x119)](_0x1e3ccc){const _0xfa59e9=_0x574f28;this[_0xfa59e9(0x100)]=_0x1e3ccc;const _0x4e11d4=new Map(),_0x395e18=new Map(),_0x121d0a=this[_0xfa59e9(0x1a4)][_0xfa59e9(0x10f)][_0xfa59e9(0x15d)][_0xfa59e9(0x16c)][_0xfa59e9(0xe2)](_0x130f1a=>_0x130f1a[_0xfa59e9(0x102)]);for(const _0x7d6b07 of _0x121d0a){const _0x3952eb=this[_0xfa59e9(0x1a4)][_0xfa59e9(0x10f)][_0xfa59e9(0x15d)][_0xfa59e9(0x143)](_0x7d6b07),_0x42bd2a=T(_0x3952eb);_0x4e11d4[_0xfa59e9(0x164)](_0x7d6b07,_0x42bd2a),_0x395e18[_0xfa59e9(0x164)](_0x7d6b07,Object[_0xfa59e9(0x142)](_0x3952eb[_0xfa59e9(0x182)]()));}const _0x335dee=Array[_0xfa59e9(0x183)](this[_0xfa59e9(0x1a4)][_0xfa59e9(0x10f)][_0xfa59e9(0x13b)])[_0xfa59e9(0xe2)](_0x20e0ba=>[_0x20e0ba[_0xfa59e9(0x1be)],_0x20e0ba[_0xfa59e9(0xd8)]()]),_0xbdcf5f=this[_0xfa59e9(0x100)][_0xfa59e9(0xb1)];this[_0xfa59e9(0x1b7)](_0xbdcf5f,_0x4e11d4,_0x335dee,_0x395e18),this[_0xfa59e9(0x177)]=this[_0xfa59e9(0x1ad)];const _0x1fb7ac=new Map(),_0x1b0a5f=new Map();for(const _0x401a73 of _0x121d0a){const _0x28bfb5=F(_0x401a73);_0x1fb7ac[_0xfa59e9(0x164)](_0x401a73,_0x28bfb5),_0x1b0a5f[_0xfa59e9(0x164)](_0x401a73,{});}this[_0xfa59e9(0x1b7)](Number[_0xfa59e9(0x1db)],_0x1fb7ac,[],_0x1b0a5f);}[_0x574f28(0x151)](_0x3bd754,_0x1853f4){const _0x146a08=_0x574f28;if(this[_0x146a08(0x18c)]===_0x3bd754&&this[_0x146a08(0x191)]<=_0x1853f4)this[_0x146a08(0x192)][_0x146a08(0x141)]>0x1&&this[_0x146a08(0x15c)](this[_0x146a08(0x191)]),this[_0x146a08(0xf1)](this[_0x146a08(0x191)],_0x1853f4,!0x0);else{if(!this[_0x146a08(0x192)][_0x146a08(0x18b)](_0x3bd754)){const _0x13b310=this[_0x146a08(0x19f)](_0x3bd754);this[_0x146a08(0x132)](_0x13b310,_0x3bd754,!0x1);}this[_0x146a08(0x132)](_0x3bd754,_0x1853f4,!0x0);}return this[_0x146a08(0x18c)]=_0x3bd754,this[_0x146a08(0x191)]=_0x1853f4,this[_0x146a08(0x198)]();}[_0x574f28(0x1d7)](_0x455e10){const _0x1555bc=_0x574f28;this[_0x1555bc(0x107)](),this[_0x1555bc(0x18c)]=_0x455e10[_0x1555bc(0x110)],this[_0x1555bc(0x191)]=_0x455e10[_0x1555bc(0x12c)];for(const _0x215470 in _0x455e10[_0x1555bc(0x162)]){const _0x10ad6d=_0x455e10[_0x1555bc(0x162)][_0x215470][_0x1555bc(0x128)],_0x68a967=_0x40611c(_0x455e10[_0x1555bc(0x162)][_0x215470][_0x1555bc(0x1b0)])||{},_0x1afe95=this[_0x1555bc(0x1d1)](_0x455e10[_0x1555bc(0x162)][_0x215470][_0x1555bc(0x121)]);_0x1afe95[_0x1555bc(0x102)]=_0x215470,_0x1afe95[_0x1555bc(0x178)]=!_0x10ad6d||!_0x10ad6d[_0x1555bc(0x179)],_0x1afe95[_0x1555bc(0x179)]=()=>_0x1afe95[_0x1555bc(0x178)],this[_0x1555bc(0xbf)][_0x1555bc(0x164)](_0x215470,_0x1afe95),this[_0x1555bc(0x124)][_0x1555bc(0x164)](_0x215470,_0x68a967),_0x10ad6d&&this[_0x1555bc(0x153)][_0x1555bc(0x164)](_0x215470,_0x10ad6d);const _0x4899b2=this[_0x1555bc(0x1c3)](_0x1afe95);this[_0x1555bc(0x195)][_0x1555bc(0x164)](_0x215470,_0x4899b2);for(const [_0x50d30e,_0x4d69ea]of _0x1afe95[_0x1555bc(0x13b)]){if(!_0x50d30e[_0x1555bc(0x12d)](_0x1555bc(0x123)))continue;const _0x123e3a=_0x50d30e[_0x1555bc(0x14e)](':')[0x2];for(const _0xec6c7 of _0x4d69ea[_0x1555bc(0x108)]({'singleCharacters':!0x0})){const _0x2fd1fa=this[_0x1555bc(0x112)](_0xec6c7),_0x3fac60=_0x1555bc(0x1a8)==_0xec6c7[_0x1555bc(0xf8)]?_0xec6c7[_0x1555bc(0x127)][_0x1555bc(0x136)][_0x1555bc(0x148)](0x0,-0x1):_0xec6c7[_0x1555bc(0x127)][_0x1555bc(0x136)],_0x593e61=_0x4899b2[_0x1555bc(0x16f)](_0x3fac60)[_0x1555bc(0x1c8)](_0x2fd1fa);this[_0x1555bc(0x10e)][_0x1555bc(0x164)](_0x593e61,{'userId':_0x123e3a});}}}this[_0x1555bc(0x177)]=this[_0x1555bc(0x1ad)];const _0x3fddca=[...Array(this[_0x1555bc(0x1ad)])[_0x1555bc(0x1e5)]()][_0x1555bc(0x148)](0x1)[_0x1555bc(0x1a9)](_0x54b369=>!this[_0x1555bc(0x10e)][_0x1555bc(0x18b)](_0x54b369));let _0x4e98df=0x0;const _0x3f0df0=new Map();for(const _0x595698 in _0x455e10[_0x1555bc(0x162)]){const _0x268cd7=_0x455e10[_0x1555bc(0x162)][_0x595698][_0x1555bc(0x128)],_0x21eaf4=_0x40611c(_0x455e10[_0x1555bc(0x162)][_0x595698][_0x1555bc(0x14b)])||{},_0x3b7248=this[_0x1555bc(0x1d1)](_0x455e10[_0x1555bc(0x162)][_0x595698][_0x1555bc(0x113)]);_0x3b7248[_0x1555bc(0x102)]=_0x595698,_0x3b7248[_0x1555bc(0x178)]=!_0x268cd7||_0x268cd7[_0x1555bc(0x179)],_0x3b7248[_0x1555bc(0x179)]=()=>_0x3b7248[_0x1555bc(0x178)],this[_0x1555bc(0x12b)][_0x1555bc(0x164)](_0x595698,_0x3b7248),this[_0x1555bc(0x11a)][_0x1555bc(0x164)](_0x595698,_0x21eaf4);const _0x8fb0a8=this[_0x1555bc(0x1c3)](_0x3b7248,Number[_0x1555bc(0x1db)]);this[_0x1555bc(0xae)][_0x1555bc(0x164)](_0x595698,_0x8fb0a8),_0x3f0df0[_0x1555bc(0x164)](_0x595698,_0x3b7248[_0x1555bc(0x179)]()?_0x21eaf4:{});for(const [_0x509d38,_0x43c7e8]of _0x3b7248[_0x1555bc(0x13b)]){if(!_0x509d38[_0x1555bc(0x12d)](_0x1555bc(0x123)))continue;const _0x5a8e06=_0x509d38[_0x1555bc(0x14e)](':')[0x2];for(const _0x459742 of _0x43c7e8[_0x1555bc(0x108)]({'singleCharacters':!0x0})){const _0x54476d=this[_0x1555bc(0x112)](_0x459742),_0x5e3452=this[_0x1555bc(0x1ad)]++,_0x32c827=_0x1555bc(0x1a8)==_0x459742[_0x1555bc(0xf8)]?_0x459742[_0x1555bc(0x127)][_0x1555bc(0x136)][_0x1555bc(0x148)](0x0,-0x1):_0x459742[_0x1555bc(0x127)][_0x1555bc(0x136)];_0x8fb0a8[_0x1555bc(0x16f)](_0x32c827)[_0x1555bc(0xbe)](_0x54476d,_0x5e3452),this[_0x1555bc(0x10e)][_0x1555bc(0x164)](_0x5e3452,{'userId':_0x5a8e06});}}for(const _0x3cb71a of this[_0x1555bc(0x1a4)][_0x1555bc(0x10f)][_0x1555bc(0x170)](_0x3b7248)[_0x1555bc(0x108)]({'singleCharacters':!0x0})){const _0x43eb89=this[_0x1555bc(0x112)](_0x3cb71a),_0x298905=_0x1555bc(0x1a8)==_0x3cb71a[_0x1555bc(0xf8)]?_0x3cb71a[_0x1555bc(0x127)][_0x1555bc(0x136)][_0x1555bc(0x148)](0x0,-0x1):_0x3cb71a[_0x1555bc(0x127)][_0x1555bc(0x136)],_0x4f489a=_0x8fb0a8[_0x1555bc(0x16f)](_0x298905);_0x4f489a[_0x1555bc(0x1c8)](_0x43eb89)>0x0||_0x4f489a[_0x1555bc(0xbe)](_0x43eb89,_0x3fddca[_0x4e98df++]);}for(const [_0x1ad2d2,_0x2e3b40]of _0x3b7248[_0x1555bc(0x13b)])_0x1ad2d2[_0x1555bc(0x12d)](_0x1555bc(0x123))||this[_0x1555bc(0x188)][_0x1555bc(0x164)](_0x1ad2d2,_0x2e3b40);}const _0x1b6828=F(_0x1555bc(0x12e));this[_0x1555bc(0xbf)][_0x1555bc(0x164)](_0x1555bc(0x12e),_0x1b6828),this[_0x1555bc(0x195)][_0x1555bc(0x164)](_0x1555bc(0x12e),this[_0x1555bc(0x1c3)](_0x1b6828,0x1));const _0x37e22b=F(_0x1555bc(0x12e));this[_0x1555bc(0x12b)][_0x1555bc(0x164)](_0x1555bc(0x12e),_0x37e22b),this[_0x1555bc(0xae)][_0x1555bc(0x164)](_0x1555bc(0x12e),this[_0x1555bc(0x1c3)](_0x37e22b,0x1));const _0x434452=Array[_0x1555bc(0x183)](this[_0x1555bc(0x12b)])[_0x1555bc(0xe2)](([_0x690390,_0x2b9d8e])=>[_0x690390,T(_0x2b9d8e)]);this[_0x1555bc(0x1b7)](this[_0x1555bc(0x191)],_0x434452,this[_0x1555bc(0x188)],_0x3f0df0);}[_0x574f28(0x1d1)](_0x3256a3){const _0x20293e=_0x574f28,_0x3dbe28=JSON[_0x20293e(0x11c)](_0x3256a3),_0x3fc162=this[_0x20293e(0x1a4)][_0x20293e(0xda)][_0x20293e(0x1bb)][_0x20293e(0x15d)],_0x232e9d=new _0x4d5a3b(_0x3fc162,_0x3dbe28[_0x20293e(0xe2)](_0x24d94f=>C(_0x24d94f,this[_0x20293e(0x1a4)])));return this[_0x20293e(0x1a4)][_0x20293e(0x1d3)][_0x20293e(0x1ec)](_0x232e9d);}[_0x574f28(0x1b7)](_0x7a6ad7,_0x2898c4,_0x69c8e1,_0x19b49b){const _0x446d7c=_0x574f28,_0x4c2290=new Map(_0x2898c4),_0x5498c6=new Map(_0x40611c(_0x19b49b)),_0x4e103c=new Map();for(const [_0x2670fe,_0xbc9df2]of _0x69c8e1)_0x4e103c[_0x446d7c(0x164)](_0x2670fe,{'start':_0xbc9df2[_0x446d7c(0x1e0)][_0x446d7c(0xb6)](),'end':_0xbc9df2[_0x446d7c(0x17f)][_0x446d7c(0xb6)](),'rootName':_0xbc9df2[_0x446d7c(0x186)][_0x446d7c(0x102)]});this[_0x446d7c(0x192)][_0x446d7c(0x164)](_0x7a6ad7,{'roots':_0x4c2290,'markers':_0x4e103c,'rootsAttributes':_0x5498c6});}[_0x574f28(0x15c)](_0x4eff03){const _0x4ceb8b=_0x574f28;this[_0x4ceb8b(0x192)][_0x4ceb8b(0x16e)](_0x4eff03);}[_0x574f28(0xf3)](){const _0x5bf7d5=_0x574f28;this[_0x5bf7d5(0x107)](),this[_0x5bf7d5(0x18c)]=-0x1,this[_0x5bf7d5(0x191)]=-0x1,this[_0x5bf7d5(0x192)][_0x5bf7d5(0x1a6)](),this[_0x5bf7d5(0x119)](this[_0x5bf7d5(0x100)]);}[_0x574f28(0x107)](){const _0x23529f=_0x574f28;this[_0x23529f(0x10e)][_0x23529f(0x1a6)](),this[_0x23529f(0x1e4)][_0x23529f(0x1a6)](),this[_0x23529f(0x153)][_0x23529f(0x1a6)](),this[_0x23529f(0x12b)][_0x23529f(0x1a6)](),this[_0x23529f(0x11a)][_0x23529f(0x1a6)](),this[_0x23529f(0xbf)][_0x23529f(0x1a6)](),this[_0x23529f(0x124)][_0x23529f(0x1a6)](),this[_0x23529f(0xae)][_0x23529f(0x1a6)](),this[_0x23529f(0x195)][_0x23529f(0x1a6)](),this[_0x23529f(0x188)][_0x23529f(0x1a6)](),this[_0x23529f(0x1ad)]=0x1,this[_0x23529f(0x177)]=this[_0x23529f(0x1ad)];}[_0x574f28(0x1c3)](_0x562c3d,_0x48f226=null){const _0x3f3fdf=_0x574f28;let _0x1e809d=null;_0x562c3d['is'](_0x3f3fdf(0xfb))||(_0x1e809d=new _0x337830(_0x562c3d[_0x3f3fdf(0x1be)],{'vid_start':null===_0x48f226?this[_0x3f3fdf(0x1ad)]++:_0x48f226++}));const _0x263d4b=[];for(const _0x5cb011 of _0x562c3d[_0x3f3fdf(0x17a)]())if(_0x5cb011['is'](_0x3f3fdf(0x16a))){_0x263d4b[_0x3f3fdf(0x1e3)](this[_0x3f3fdf(0x1c3)](_0x5cb011,_0x48f226));const _0x5af5fe=_0x263d4b[_0x263d4b[_0x3f3fdf(0x1e6)]-0x1];null!==_0x48f226&&(_0x48f226=_0x5af5fe['is'](_0x3f3fdf(0x16a),_0x3f3fdf(0x152))?_0x5af5fe[_0x3f3fdf(0x1c8)](_0x3f3fdf(0xba))+0x1:_0x5af5fe[_0x3f3fdf(0x1c8)](_0x3f3fdf(0x10b))+0x1);}else{for(let _0x13a619=0x0;_0x13a619<_0x5cb011[_0x3f3fdf(0x115)];_0x13a619++)_0x263d4b[_0x3f3fdf(0x1e3)](new _0x337830(_0x3f3fdf(0x152),{'vid':null===_0x48f226?this[_0x3f3fdf(0x1ad)]++:_0x48f226++}));}if(_0x562c3d['is'](_0x3f3fdf(0xfb))){const _0x28bdf5=F(_0x562c3d[_0x3f3fdf(0x102)]);return _0x28bdf5[_0x3f3fdf(0x10c)](0x0,_0x263d4b),_0x28bdf5;}return _0x1e809d[_0x3f3fdf(0xbe)](_0x3f3fdf(0x10b),null===_0x48f226?this[_0x3f3fdf(0x1ad)]++:_0x48f226++),_0x1e809d[_0x3f3fdf(0x10c)](0x0,_0x263d4b),_0x1e809d;}[_0x574f28(0x132)](_0x204858,_0x3d7522,_0x438080){const _0x1b96d1=_0x574f28;this[_0x1b96d1(0x107)]();const {roots:_0x313f67,markers:_0x9f318,rootsAttributes:_0x48e90d}=this[_0x1b96d1(0x192)][_0x1b96d1(0x1de)](_0x204858);this[_0x1b96d1(0xbf)]=new Map(_0x313f67),this[_0x1b96d1(0x124)]=new Map(_0x40611c(_0x48e90d));for(const [_0xef06b,_0x2d3ceb]of this[_0x1b96d1(0xbf)])if(_0x1b96d1(0x12e)!==_0xef06b&&(this[_0x1b96d1(0x12b)][_0x1b96d1(0x164)](_0xef06b,T(_0x2d3ceb)),this[_0x1b96d1(0x11a)]=new Map(_0x40611c(_0x48e90d)),_0x438080)){const _0x353e94=this[_0x1b96d1(0x1ad)];this[_0x1b96d1(0xae)][_0x1b96d1(0x164)](_0xef06b,this[_0x1b96d1(0x1c3)](_0x2d3ceb)),this[_0x1b96d1(0x195)][_0x1b96d1(0x164)](_0xef06b,this[_0x1b96d1(0x1c3)](_0x2d3ceb,_0x353e94));}this[_0x1b96d1(0x177)]=this[_0x1b96d1(0x1ad)],this[_0x1b96d1(0x12b)][_0x1b96d1(0x164)](_0x1b96d1(0x12e),T(this[_0x1b96d1(0xbf)][_0x1b96d1(0x1de)](_0x1b96d1(0x12e)))),_0x438080&&this[_0x1b96d1(0xae)][_0x1b96d1(0x164)](_0x1b96d1(0x12e),this[_0x1b96d1(0x1c3)](this[_0x1b96d1(0xbf)][_0x1b96d1(0x1de)](_0x1b96d1(0x12e))));for(const [_0x19fe38,_0x9b8f36]of _0x9f318){const _0x7d191d=this[_0x1b96d1(0xbf)][_0x1b96d1(0x1de)](_0x9b8f36[_0x1b96d1(0x102)]),_0x194db1=this[_0x1b96d1(0x12b)][_0x1b96d1(0x1de)](_0x9b8f36[_0x1b96d1(0x102)]),_0x1daad7=new _0x117237(this[_0x1b96d1(0x155)](_0x9b8f36[_0x1b96d1(0x1e0)],_0x7d191d),this[_0x1b96d1(0x155)](_0x9b8f36[_0x1b96d1(0x17f)],_0x7d191d)),_0x522820=this[_0x1b96d1(0x166)](_0x1daad7,_0x194db1);_0x7d191d[_0x1b96d1(0x13b)][_0x1b96d1(0x164)](_0x19fe38,_0x1daad7),this[_0x1b96d1(0x188)][_0x1b96d1(0x164)](_0x19fe38,_0x522820);}this[_0x1b96d1(0xf1)](_0x204858,_0x3d7522,_0x438080);}[_0x574f28(0xf1)](_0x3a94ab,_0x5499bc,_0x4480eb){const _0x2957b=_0x574f28;for(const _0x1d1adc of this[_0x2957b(0x100)][_0x2957b(0x131)](_0x3a94ab,_0x5499bc))this[_0x2957b(0x154)](_0x1d1adc,_0x4480eb);for(const _0x18f2e3 of this[_0x2957b(0x12b)][_0x2957b(0x167)]())_0x18f2e3[_0x2957b(0x13b)][_0x2957b(0x1a6)]();for(const [_0xc86b17,_0x1f571e]of this[_0x2957b(0x188)]){this[_0x2957b(0x12b)][_0x2957b(0x1de)](_0x1f571e[_0x2957b(0x186)][_0x2957b(0x102)])[_0x2957b(0x13b)][_0x2957b(0x164)](_0xc86b17,_0x1f571e[_0x2957b(0xb6)]());}const _0x5b65c2=new Map(),_0x5e6c2e=new Map();for(const [_0x12cea7,_0x5b043d]of this[_0x2957b(0x12b)])_0x5b65c2[_0x2957b(0x164)](_0x12cea7,T(_0x5b043d)),_0x5e6c2e[_0x2957b(0x164)](_0x12cea7,this[_0x2957b(0x11a)][_0x2957b(0x1de)](_0x12cea7));this[_0x2957b(0x1b7)](_0x5499bc,_0x5b65c2,this[_0x2957b(0x188)],_0x5e6c2e);}[_0x574f28(0x19f)](_0x221115){const _0x23758f=_0x574f28,_0x2170d5=Array[_0x23758f(0x183)](this[_0x23758f(0x192)][_0x23758f(0x1e5)]());_0x2170d5[_0x23758f(0xca)]((_0x11a19c,_0x58c705)=>_0x11a19c-_0x58c705),_0x2170d5[_0x23758f(0xb8)]();for(const _0x3c82bd of _0x2170d5)if(_0x3c82bd<_0x221115)return _0x3c82bd;return Number[_0x23758f(0x1db)];}[_0x574f28(0xfc)](_0x167ede,_0x4e809d){const _0x5a6a5f=_0x574f28,_0x47237d=Array[_0x5a6a5f(0x183)](_0x4e809d[_0x5a6a5f(0x13b)])[_0x5a6a5f(0xe2)](([_0x50e460,_0x45558a])=>[_0x50e460,this[_0x5a6a5f(0x166)](_0x45558a,_0x167ede)]);_0x167ede[_0x5a6a5f(0x13b)]=new Map(_0x47237d);}[_0x574f28(0xc0)](_0x169ab0){const _0x2eee5e=_0x574f28;for(const _0x21dc56 of this[_0x2eee5e(0x188)][_0x2eee5e(0x167)]()){const _0x165b59=_0x21dc56[_0x2eee5e(0xbd)](_0x169ab0),_0x1b4244=_0x117237[_0x2eee5e(0x1a1)](_0x165b59);_0x21dc56[_0x2eee5e(0x1e0)]=_0x1b4244[_0x2eee5e(0x1e0)],_0x21dc56[_0x2eee5e(0x17f)]=_0x1b4244[_0x2eee5e(0x17f)];}}[_0x574f28(0x154)](_0x384031,_0x5e938a){const _0x42f180=_0x574f28;if(_0x42f180(0xe8)!=_0x384031[_0x42f180(0xf8)]&&_0x42f180(0xd0)!=_0x384031[_0x42f180(0xf8)]){if(_0x42f180(0x18e)==_0x384031[_0x42f180(0xf8)]){const _0x4ec4ff=_0x384031[_0x42f180(0x15e)][_0x42f180(0x186)][_0x42f180(0x102)];this[_0x42f180(0x12b)][_0x42f180(0x18b)](_0x4ec4ff)||(this[_0x42f180(0x12b)][_0x42f180(0x164)](_0x4ec4ff,F(_0x4ec4ff,!0x0)),this[_0x42f180(0x11a)][_0x42f180(0x164)](_0x4ec4ff,{}),_0x5e938a&&this[_0x42f180(0xae)][_0x42f180(0x164)](_0x4ec4ff,F(_0x4ec4ff,!0x0)));}else{if(_0x42f180(0x1aa)==_0x384031[_0x42f180(0xf8)]||_0x42f180(0x1d0)==_0x384031[_0x42f180(0xf8)]||_0x42f180(0x126)==_0x384031[_0x42f180(0xf8)])return void this[_0x42f180(0x1e8)](_0x384031);_0x42f180(0x1c2)==_0x384031[_0x42f180(0xf8)]&&this[_0x42f180(0x118)](_0x384031);}if(_0x42f180(0x1c2)!==_0x384031[_0x42f180(0xf8)]){const _0x4fd63a=this[_0x42f180(0x19b)](_0x384031,this[_0x42f180(0x12b)]);_0x4fd63a[_0x42f180(0xe0)](),this[_0x42f180(0xc0)](_0x4fd63a);}if(_0x5e938a)switch(_0x384031[_0x42f180(0xf8)]){case _0x42f180(0x18e):this[_0x42f180(0x1cc)](_0x384031);break;case _0x42f180(0x145):case _0x42f180(0x18f):case _0x42f180(0x17c):this[_0x42f180(0x13a)](_0x384031);break;case _0x42f180(0x181):this[_0x42f180(0x1da)](_0x384031);break;case _0x42f180(0x14e):this[_0x42f180(0xc4)](_0x384031);}}else this[_0x42f180(0x130)](_0x384031,_0x5e938a);}[_0x574f28(0x19b)](_0x5d06ff,_0x176e04){const _0x2548d8=_0x574f28,_0x4fb8e3=_0x5d06ff[_0x2548d8(0xb6)]();return _0x4fb8e3[_0x2548d8(0x1d5)]=_0x5d06ff[_0x2548d8(0x1d5)],this[_0x2548d8(0x180)](_0x4fb8e3,_0x176e04),_0x4fb8e3;}[_0x574f28(0x161)](_0x9c6651){const _0x5b62a9=_0x574f28;return _0x9c6651[_0x5b62a9(0xe2)](_0x57d55f=>{const _0x5535c8=_0x5b62a9,_0x5daec1=this[_0x5535c8(0x112)](_0x57d55f);return Number(_0x57d55f[_0x5535c8(0xed)][_0x5535c8(0x1c8)](_0x5daec1));});}[_0x574f28(0xe5)](_0x4232ca,_0x5407cb){const _0x4849f0=_0x574f28;if(_0x4232ca['is'](_0x4849f0(0x16a),_0x4849f0(0x152)))_0x5407cb[_0x4849f0(0x1e3)]({'item':_0x4232ca,'type':_0x4849f0(0xc7)});else{_0x4232ca['is'](_0x4849f0(0x16a))&&_0x5407cb[_0x4849f0(0x1e3)]({'item':_0x4232ca,'type':_0x4849f0(0x125)});for(const _0x3f4646 of _0x4232ca[_0x4849f0(0x17a)]())this[_0x4849f0(0xe5)](_0x3f4646,_0x5407cb);_0x4232ca['is'](_0x4849f0(0x16a))&&_0x5407cb[_0x4849f0(0x1e3)]({'item':_0x4232ca,'type':_0x4849f0(0x1a8)});}return _0x5407cb;}[_0x574f28(0x198)](){const _0x213a13=_0x574f28,_0x284259=new Map(this[_0x213a13(0x10e)]),_0x34d391=new Map(_0x284259),_0x758514=new Map(),_0x16ef5e={'insertions':{},'deletions':{}},_0x8c10e3={'insertions':{},'deletions':{}},_0x35904e=new Map(),_0x390e28=new Set([...this[_0x213a13(0xbf)][_0x213a13(0x1e5)](),...this[_0x213a13(0x12b)][_0x213a13(0x1e5)]()]);_0x390e28[_0x213a13(0x16e)](_0x213a13(0x12e));for(const _0x30645d of _0x390e28){const _0x31de12=this[_0x213a13(0x12b)][_0x213a13(0x1de)](_0x30645d)||F(_0x30645d,!0x1),_0x35e2da=this[_0x213a13(0xbf)][_0x213a13(0x1de)](_0x30645d)||F(_0x30645d,!0x1);_0x31de12[_0x213a13(0x179)]()||_0x35e2da[_0x213a13(0x179)]()?(_0x16ef5e[_0x213a13(0x113)][_0x30645d]=T(_0x31de12),_0x16ef5e[_0x213a13(0x121)][_0x30645d]=T(_0x35e2da),this[_0x213a13(0xfc)](_0x16ef5e[_0x213a13(0x121)][_0x30645d],_0x35e2da),this[_0x213a13(0xfc)](_0x16ef5e[_0x213a13(0x113)][_0x30645d],_0x31de12),_0x8c10e3[_0x213a13(0x113)][_0x30645d]=this[_0x213a13(0xe5)](this[_0x213a13(0xae)][_0x213a13(0x1de)](_0x30645d),[]),_0x8c10e3[_0x213a13(0x121)][_0x30645d]=this[_0x213a13(0xe5)](this[_0x213a13(0x195)][_0x213a13(0x1de)](_0x30645d)||F(_0x30645d,!0x1),[])):_0x390e28[_0x213a13(0x16e)](_0x30645d);}for(const _0x49bf2b of _0x390e28){const _0x24f746=_0x8c10e3[_0x213a13(0x113)][_0x49bf2b];for(const _0x30756c of _0x24f746){const _0x22a7d8=this[_0x213a13(0x112)](_0x30756c),_0x3c77e4=_0x30756c[_0x213a13(0xed)][_0x213a13(0x1c8)](_0x22a7d8);_0x34d391[_0x213a13(0x16e)](_0x3c77e4),_0x3c77e4>=this[_0x213a13(0x177)]&&_0x758514[_0x213a13(0x164)](_0x3c77e4,_0x284259[_0x213a13(0x1de)](_0x3c77e4));}}for(const _0x24e3bc of _0x390e28){const _0x15a19c=_0x8c10e3[_0x213a13(0x113)][_0x24e3bc],_0xc0096e=this[_0x213a13(0x161)](_0x8c10e3[_0x213a13(0x121)][_0x24e3bc]);let _0x5cd17f=0x0;for(const _0x41156c of _0x15a19c){const _0x2b14aa=this[_0x213a13(0x112)](_0x41156c),_0x54e275=_0x41156c[_0x213a13(0xed)][_0x213a13(0x1c8)](_0x2b14aa);if(!_0x758514[_0x213a13(0x18b)](_0x54e275)&&!_0x35904e[_0x213a13(0x18b)](_0x54e275)){if(_0x34d391[_0x213a13(0x18b)](_0x54e275))_0x5cd17f++;else{if(_0x54e275!=_0xc0096e[_0x5cd17f]){const _0x357446=_0x284259[_0x213a13(0x1de)](_0x54e275)||_0x284259[_0x213a13(0x1de)](_0xc0096e[_0x5cd17f]);for(;_0x54e275!=_0xc0096e[_0x5cd17f];)_0x34d391[_0x213a13(0x18b)](_0xc0096e[_0x5cd17f])||(_0x35904e[_0x213a13(0x164)](_0xc0096e[_0x5cd17f],_0x357446),_0x284259[_0x213a13(0x164)](_0xc0096e[_0x5cd17f],_0x357446)),_0x5cd17f++;}_0x5cd17f++;}}}}for(const _0x3b11df of _0x390e28){const _0x24c668=_0x8c10e3[_0x213a13(0x113)][_0x3b11df];for(const _0x57e8a4 of _0x24c668){const _0x27ebb2=this[_0x213a13(0x112)](_0x57e8a4),_0x4661d1=_0x57e8a4[_0x213a13(0xed)][_0x213a13(0x1c8)](_0x27ebb2);if(_0x35904e[_0x213a13(0x18b)](_0x4661d1)){const _0x106f31=_0x35904e[_0x213a13(0x1de)](_0x4661d1);_0x34d391[_0x213a13(0x18b)](_0x4661d1)||_0x34d391[_0x213a13(0x164)](_0x4661d1,{..._0x106f31}),_0x758514[_0x213a13(0x164)](_0x4661d1,{..._0x106f31});}}}for(const _0x100257 of _0x34d391[_0x213a13(0x1e5)]())_0x100257>=this[_0x213a13(0x177)]&&_0x34d391[_0x213a13(0x16e)](_0x100257);const _0x485f90=new Map();for(const _0x1a04fe of _0x390e28){let _0x4c5227=_0x8c10e3[_0x213a13(0x113)][_0x1a04fe];for(const _0x338f12 of _0x4c5227)if(_0x338f12[_0x213a13(0xed)]['is'](_0x213a13(0x16a),_0x213a13(0x1bc))){const _0x503726=this[_0x213a13(0x112)](_0x338f12),_0x5aa2ff=_0x338f12[_0x213a13(0xed)][_0x213a13(0x1c8)](_0x503726);if(_0x758514[_0x213a13(0x18b)](_0x5aa2ff)){const _0x2c71ef=_0x338f12[_0x213a13(0xed)][_0x213a13(0x1d4)][_0x213a13(0x1d4)][_0x213a13(0x1c8)](_0x213a13(0x156)),_0x5cce3b=_0x485f90[_0x213a13(0x1de)](_0x2c71ef)||new Set();_0x5cce3b[_0x213a13(0x19d)](_0x758514[_0x213a13(0x1de)](_0x5aa2ff)[_0x213a13(0x138)]),_0x485f90[_0x213a13(0x164)](_0x2c71ef,_0x5cce3b);}}_0x4c5227=_0x8c10e3[_0x213a13(0x121)][_0x1a04fe];for(const _0x2c57dd of _0x4c5227)if(_0x2c57dd[_0x213a13(0xed)]['is'](_0x213a13(0x16a),_0x213a13(0x1bc))){const _0x36dd76=this[_0x213a13(0x112)](_0x2c57dd),_0x3f2532=_0x2c57dd[_0x213a13(0xed)][_0x213a13(0x1c8)](_0x36dd76);if(_0x34d391[_0x213a13(0x18b)](_0x3f2532)){const _0x59e18d=_0x2c57dd[_0x213a13(0xed)][_0x213a13(0x1d4)][_0x213a13(0x1d4)][_0x213a13(0x1c8)](_0x213a13(0x156)),_0x1e0379=_0x485f90[_0x213a13(0x1de)](_0x59e18d)||new Set();_0x1e0379[_0x213a13(0x19d)](_0x34d391[_0x213a13(0x1de)](_0x3f2532)[_0x213a13(0x138)]),_0x485f90[_0x213a13(0x164)](_0x59e18d,_0x1e0379);}}for(const _0x66a8d1 of _0x485f90[_0x213a13(0x1e5)]())(_0x758514[_0x213a13(0x18b)](_0x66a8d1)||_0x34d391[_0x213a13(0x18b)](_0x66a8d1))&&_0x485f90[_0x213a13(0x16e)](_0x66a8d1);}for(const _0x1866f6 of _0x390e28){const _0x3f518a=_0x8c10e3[_0x213a13(0x113)][_0x1866f6];let _0x2869c9=null,_0x5a7554=null;for(const _0x2a5657 of _0x3f518a){const _0x573630=this[_0x213a13(0x112)](_0x2a5657),_0xa3f75c=_0x2a5657[_0x213a13(0xed)][_0x213a13(0x1c8)](_0x573630),_0x1ece2c=_0x485f90[_0x213a13(0x1de)](_0xa3f75c);_0x1ece2c&&_0x213a13(0x125)==_0x2a5657[_0x213a13(0xf8)]&&(_0x2869c9=Array[_0x213a13(0x183)](_0x1ece2c)[0x0],_0x5a7554=_0x2a5657[_0x213a13(0xed)][_0x213a13(0x1c8)](_0x213a13(0x10b))),_0x2869c9&&(_0x34d391[_0x213a13(0x164)](_0xa3f75c,{'userId':_0x2869c9}),_0x758514[_0x213a13(0x164)](_0xa3f75c,{'userId':_0x2869c9})),_0xa3f75c==_0x5a7554&&(_0x2869c9=null,_0x5a7554=null);}}const _0x36c545={},_0x573920=new Set();for(const _0x30d8ea of _0x390e28){const _0x3f5b29=_0x16ef5e[_0x213a13(0x121)][_0x30d8ea],_0x2b5578=_0x16ef5e[_0x213a13(0x113)][_0x30d8ea];for(const {userId:_0x2b274d}of this[_0x213a13(0x1e4)][_0x213a13(0x167)]())null!==_0x2b274d&&_0x573920[_0x213a13(0x19d)](_0x2b274d);for(const {userId:_0xf3b655}of this[_0x213a13(0x153)][_0x213a13(0x167)]())null!==_0xf3b655&&_0x573920[_0x213a13(0x19d)](_0xf3b655);this[_0x213a13(0x1ca)](_0x2b5578,_0x8c10e3[_0x213a13(0x113)][_0x30d8ea],_0x758514,_0x213a13(0xc2),_0x573920),this[_0x213a13(0x1ca)](_0x3f5b29,_0x8c10e3[_0x213a13(0x121)][_0x30d8ea],_0x34d391,_0x213a13(0x19e),_0x573920),_0x36c545[_0x30d8ea]={'insertions':this[_0x213a13(0x1b4)](_0x2b5578),'deletions':this[_0x213a13(0x1b4)](_0x3f5b29),'attachChange':this[_0x213a13(0x153)][_0x213a13(0x1de)](_0x30d8ea)||null,'attributesBefore':_0x40611c(this[_0x213a13(0x124)][_0x213a13(0x1de)](_0x30d8ea))||{},'attributesAfter':_0x40611c(this[_0x213a13(0x11a)][_0x213a13(0x1de)](_0x30d8ea))};}return{'diffData':_0x36c545,'authorsIds':Array[_0x213a13(0x183)](_0x573920)};}[_0x574f28(0xb3)](_0x2f2c89){const _0x3f42e8=_0x574f28;for(const [,_0x196487]of _0x2f2c89[_0x3f42e8(0x13b)]){const _0x386a47=_0x196487[_0x3f42e8(0x1e0)][_0x3f42e8(0x158)]()[_0x3f42e8(0x1a9)](_0x529aae=>_0x3f42e8(0x1bc)==_0x529aae[_0x3f42e8(0x1be)]);for(const _0x318776 of _0x386a47)0x1==_0x318776[_0x3f42e8(0x104)]&&_0x318776[_0x3f42e8(0xb2)](0x0)['is'](_0x3f42e8(0x16a),_0x3f42e8(0xe1))&&_0x318776[_0x3f42e8(0xb2)](0x0)[_0x3f42e8(0xbe)](_0x3f42e8(0x1e9),!0x0);}}[_0x574f28(0x1b4)](_0x1e7855){const _0x11fb26=_0x574f28;this[_0x11fb26(0xb3)](_0x1e7855);const _0x5505f5=this[_0x11fb26(0x1a4)][_0x11fb26(0x1d3)][_0x11fb26(0xeb)](_0x1e7855,{}),_0x1bd48d=Array[_0x11fb26(0x183)](_0x5505f5[_0x11fb26(0x17a)]())[_0x11fb26(0xe2)](_0xefadbb=>this[_0x11fb26(0x159)](_0xefadbb));return JSON[_0x11fb26(0x174)](_0x1bd48d);}[_0x574f28(0x159)](_0x4864c6){const _0x6ab604=_0x574f28;if(_0x4864c6['is'](_0x6ab604(0x152)))return _0x4864c6[_0x6ab604(0x1d3)];{const _0x26cb1b=_0x4864c6;return{'type':Object[_0x6ab604(0x1e5)](P)[_0x6ab604(0xcb)](_0x26da3f=>_0x4864c6 instanceof P[_0x26da3f]),'name':_0x26cb1b[_0x6ab604(0x1be)],'attributes':Array[_0x6ab604(0x183)](_0x26cb1b[_0x6ab604(0x182)]()),'children':Array[_0x6ab604(0x183)](_0x26cb1b[_0x6ab604(0x17a)]())[_0x6ab604(0xe2)](_0x26c669=>this[_0x6ab604(0x159)](_0x26c669))};}}[_0x574f28(0x1ca)](_0x21bcb0,_0x6ad293,_0x1c21af,_0xc4143a,_0x5f5b5d){const _0x470bf3=_0x574f28;let _0x500724=null,_0x23053c=null,_0xa1e452=0x0;const _0x320313=this[_0x470bf3(0x1a4)][_0x470bf3(0x10f)];for(let _0x65053a=0x0;_0x65053a<_0x6ad293[_0x470bf3(0x1e6)];_0x65053a++){const _0xa764a0=this[_0x470bf3(0x112)](_0x6ad293[_0x65053a]),_0x1f5051=_0x6ad293[_0x65053a][_0x470bf3(0xed)][_0x470bf3(0x1c8)](_0xa764a0),_0x3249af=_0x1c21af[_0x470bf3(0x1de)](_0x1f5051),_0x21adf2=_0x65053a==_0x6ad293[_0x470bf3(0x1e6)]-0x1;(!_0x500724&&_0x3249af&&(_0x500724=_0x3249af,_0x23053c=_0x6ad293[_0x65053a]),_0x500724&&(!_0x3249af||_0x3249af[_0x470bf3(0x138)]!=_0x500724[_0x470bf3(0x138)]))&&(_0x3f17b9(_0x3249af,B(_0x23053c,_0x21bcb0,_0x320313),B(_0x6ad293[_0x65053a],_0x21bcb0,_0x320313)),_0x500724=_0x3249af||null,_0x23053c=_0x3249af?_0x6ad293[_0x65053a]:null),_0x500724&&_0x21adf2&&_0x3f17b9(_0x3249af,B(_0x23053c,_0x21bcb0,_0x320313),J(_0x6ad293[_0x65053a],_0x21bcb0,_0x320313));}function _0x3f17b9(_0x597c16,_0x22bd73,_0x198a98){const _0x5addbf=_0x470bf3,_0x14d906=_0x500724[_0x5addbf(0x138)],_0x1bccc4=_0x5addbf(0x123)+_0xc4143a+':'+_0x14d906+':'+_0xa1e452++,_0x159d04=_0x320313[_0x5addbf(0x11e)](_0x22bd73,_0x198a98);_0x21bcb0[_0x5addbf(0x13b)][_0x5addbf(0x164)](_0x1bccc4,_0x159d04),null!==_0x14d906&&_0x5f5b5d[_0x5addbf(0x19d)](_0x14d906);}}[_0x574f28(0x112)](_0xff466f){const _0x28f3b4=_0x574f28;switch(_0xff466f[_0x28f3b4(0xf8)]){case _0x28f3b4(0x125):return _0x28f3b4(0x156);case _0x28f3b4(0x1a8):return _0x28f3b4(0x10b);default:return _0x28f3b4(0xba);}}[_0x574f28(0x180)](_0x37bbd5,_0x5b9efd){const _0x369be4=_0x574f28;_0x37bbd5[_0x369be4(0x122)]=null;for(const _0x24041a in _0x37bbd5){const _0x1bd2ad=_0x37bbd5[_0x24041a];if(_0x1bd2ad instanceof _0x409ea5){const _0x5e0978=_0x5b9efd[_0x369be4(0x1de)](_0x1bd2ad[_0x369be4(0x186)][_0x369be4(0x102)]);_0x37bbd5[_0x24041a]=this[_0x369be4(0x155)](_0x1bd2ad,_0x5e0978);}if(_0x1bd2ad instanceof _0x117237){const _0x5f1770=_0x5b9efd[_0x369be4(0x1de)](_0x1bd2ad[_0x369be4(0x186)][_0x369be4(0x102)]);_0x37bbd5[_0x24041a]=this[_0x369be4(0x166)](_0x1bd2ad,_0x5f1770);}_0x369be4(0x186)===_0x24041a&&(_0x37bbd5[_0x369be4(0x186)]=_0x5b9efd[_0x369be4(0x1de)](_0x37bbd5[_0x369be4(0x186)][_0x369be4(0x102)]));}}[_0x574f28(0x166)](_0x439f86,_0x53fe44){const _0x2b24e0=_0x574f28;return this[_0x2b24e0(0x1a4)][_0x2b24e0(0x10f)][_0x2b24e0(0x11e)](this[_0x2b24e0(0x155)](_0x439f86[_0x2b24e0(0x1e0)],_0x53fe44),this[_0x2b24e0(0x155)](_0x439f86[_0x2b24e0(0x17f)],_0x53fe44));}[_0x574f28(0x155)](_0x335dde,_0x2bb521){const _0x59cda5=_0x574f28;return this[_0x59cda5(0x1a4)][_0x59cda5(0x10f)][_0x59cda5(0x1b5)](_0x2bb521,_0x335dde[_0x59cda5(0x136)],_0x335dde[_0x59cda5(0x1af)]);}[_0x574f28(0x1cc)](_0x48d8fe){const _0xe572b7=_0x574f28,_0x58caff=this[_0xe572b7(0xae)][_0xe572b7(0x1de)](_0x48d8fe[_0xe572b7(0x15e)][_0xe572b7(0x186)][_0xe572b7(0x102)]),_0x239351=this[_0xe572b7(0x155)](_0x48d8fe[_0xe572b7(0x15e)],_0x58caff),_0x113213=null===_0x48d8fe[_0xe572b7(0x1d5)]?null:_0x48d8fe[_0xe572b7(0x1d5)]||this[_0xe572b7(0x1a4)][_0xe572b7(0x194)][_0xe572b7(0x1de)](_0xe572b7(0x197))['me']['id'],_0x44ad84=_0x239351[_0xe572b7(0x1d4)],_0x5a4fde=this[_0xe572b7(0x1ad)],_0x14ad27=[];for(const _0x1bae72 of _0x48d8fe[_0xe572b7(0x14f)])if(_0x1bae72['is'](_0xe572b7(0x16a)))_0x14ad27[_0xe572b7(0x1e3)](this[_0xe572b7(0x1c3)](_0x1bae72));else{for(let _0x91d468=0x0;_0x91d468<_0x1bae72[_0xe572b7(0x115)];_0x91d468++)_0x14ad27[_0xe572b7(0x1e3)](new _0x337830(_0xe572b7(0x152),{'vid':this[_0xe572b7(0x1ad)]++}));}const _0x74dab4=this[_0xe572b7(0x1ad)];for(let _0x46c3c1=_0x5a4fde;_0x46c3c1<_0x74dab4;_0x46c3c1++)this[_0xe572b7(0x10e)][_0xe572b7(0x164)](_0x46c3c1,{'userId':_0x113213});_0x44ad84[_0xe572b7(0x10c)](_0x239351[_0xe572b7(0xd9)],_0x14ad27);}[_0x574f28(0x13a)](_0x28e9a6){const _0x1a5e51=_0x574f28;(_0x28e9a6=this[_0x1a5e51(0x19b)](_0x28e9a6,this[_0x1a5e51(0xae)]))[_0x1a5e51(0xe0)]();const _0x4b4829=null===_0x28e9a6[_0x1a5e51(0x1d5)]?null:_0x28e9a6[_0x1a5e51(0x1d5)]||this[_0x1a5e51(0x1a4)][_0x1a5e51(0x194)][_0x1a5e51(0x1de)](_0x1a5e51(0x197))['me']['id'],_0x37dcb7=_0x28e9a6[_0x1a5e51(0x199)](),_0x1f7c5d=_0x37dcb7[_0x1a5e51(0x1d4)],_0x4063e5=_0x37dcb7[_0x1a5e51(0xd9)];!function _0x4a5054(_0x3f12be,_0x6110d7,_0x2a2bf5,_0x5099b1){const _0x502fcf=_0x1a5e51;for(let _0x212989=_0x2a2bf5;_0x212989<_0x5099b1;_0x212989++){const _0x45cc=_0x6110d7[_0x502fcf(0xb2)](_0x212989);_0x45cc['is'](_0x502fcf(0x16a),_0x502fcf(0x152))?_0x3f12be[_0x502fcf(0x164)](_0x45cc[_0x502fcf(0x1c8)](_0x502fcf(0xba)),{'userId':_0x4b4829}):(_0x3f12be[_0x502fcf(0x164)](_0x45cc[_0x502fcf(0x1c8)](_0x502fcf(0x156)),{'userId':_0x4b4829}),_0x4a5054(_0x3f12be,_0x45cc,0x0,_0x45cc[_0x502fcf(0x104)]),_0x3f12be[_0x502fcf(0x164)](_0x45cc[_0x502fcf(0x1c8)](_0x502fcf(0x10b)),{'userId':_0x4b4829}));}}(this[_0x1a5e51(0x10e)],_0x1f7c5d,_0x4063e5,_0x4063e5+_0x28e9a6[_0x1a5e51(0x18d)]);}[_0x574f28(0x1da)](_0x18b7fa){const _0x4c9a30=_0x574f28,_0x18f851=null===(_0x18b7fa=this[_0x4c9a30(0x19b)](_0x18b7fa,this[_0x4c9a30(0xae)]))[_0x4c9a30(0x1d5)]?null:_0x18b7fa[_0x4c9a30(0x1d5)]||this[_0x4c9a30(0x1a4)][_0x4c9a30(0x194)][_0x4c9a30(0x1de)](_0x4c9a30(0x197))['me']['id'],_0x427c3e=_0x18b7fa[_0x4c9a30(0x17e)][_0x4c9a30(0x1d4)],_0x5979a7=_0x18b7fa[_0x4c9a30(0x1df)][_0x4c9a30(0x1d4)],_0x1d484c=_0x427c3e[_0x4c9a30(0x1c8)](_0x4c9a30(0x10b)),_0x9e2a33=_0x5979a7[_0x4c9a30(0x1c8)](_0x4c9a30(0x156));_0x427c3e[_0x4c9a30(0xbe)](_0x4c9a30(0x10b),_0x5979a7[_0x4c9a30(0x1c8)](_0x4c9a30(0x10b))),_0x5979a7[_0x4c9a30(0xbe)](_0x4c9a30(0x10b),_0x1d484c),this[_0x4c9a30(0x10e)][_0x4c9a30(0x164)](_0x9e2a33,{'userId':_0x18f851}),this[_0x4c9a30(0x10e)][_0x4c9a30(0x164)](_0x1d484c,{'userId':_0x18f851}),_0x18b7fa[_0x4c9a30(0xe0)]();}[_0x574f28(0xc4)](_0x337374){const _0x5f115f=_0x574f28,_0x222874=null===(_0x337374=this[_0x5f115f(0x19b)](_0x337374,this[_0x5f115f(0xae)]))[_0x5f115f(0x1d5)]?null:_0x337374[_0x5f115f(0x1d5)]||this[_0x5f115f(0x1a4)][_0x5f115f(0x194)][_0x5f115f(0x1de)](_0x5f115f(0x197))['me']['id'],_0x1b0961=_0x337374[_0x5f115f(0xf6)],_0x4e8ad0=_0x337374[_0x5f115f(0x147)][_0x5f115f(0x1d4)];_0x337374[_0x5f115f(0xe0)]();const _0xb47652=_0x4e8ad0[_0x5f115f(0x1c8)](_0x5f115f(0x10b)),_0x4121d6=_0x337374[_0x5f115f(0x172)][_0x5f115f(0x193)];if(_0x1b0961){const _0x4ac499=_0x4121d6[_0x5f115f(0x1c8)](_0x5f115f(0x10b)),_0x44b356=_0x4e8ad0[_0x5f115f(0x1c8)](_0x5f115f(0x10b));_0x4e8ad0[_0x5f115f(0xbe)](_0x5f115f(0x10b),_0x4ac499),_0x4121d6[_0x5f115f(0xbe)](_0x5f115f(0x10b),_0x44b356),this[_0x5f115f(0x10e)][_0x5f115f(0x164)](_0x4e8ad0[_0x5f115f(0x1c8)](_0x5f115f(0x10b)),{'userId':_0x222874}),this[_0x5f115f(0x10e)][_0x5f115f(0x164)](_0x4121d6[_0x5f115f(0x1c8)](_0x5f115f(0x156)),{'userId':_0x222874});}else{const _0x5ac02d=this[_0x5f115f(0x1ad)]++,_0x36703c=this[_0x5f115f(0x1ad)]++;_0x4e8ad0[_0x5f115f(0xbe)](_0x5f115f(0x10b),_0x5ac02d),_0x4121d6[_0x5f115f(0xbe)](_0x5f115f(0x156),_0x36703c),_0x4121d6[_0x5f115f(0xbe)](_0x5f115f(0x10b),_0xb47652),this[_0x5f115f(0x10e)][_0x5f115f(0x164)](_0x5ac02d,{'userId':_0x222874}),this[_0x5f115f(0x10e)][_0x5f115f(0x164)](_0x36703c,{'userId':_0x222874});}}[_0x574f28(0x118)](_0x315575){const _0x14985f=_0x574f28;if(!_0x315575[_0x14985f(0x13f)])return;const _0x32bcb1=(_0x315575=this[_0x14985f(0x19b)](_0x315575,this[_0x14985f(0x12b)]))[_0x14985f(0x149)]?_0x315575[_0x14985f(0x149)][_0x14985f(0x186)]:null,_0x3f5765=_0x315575[_0x14985f(0x16d)]?_0x315575[_0x14985f(0x16d)][_0x14985f(0x186)]:null;_0x32bcb1&&this[_0x14985f(0x188)][_0x14985f(0x16e)](_0x315575[_0x14985f(0x1be)]),_0x3f5765&&this[_0x14985f(0x188)][_0x14985f(0x164)](_0x315575[_0x14985f(0x1be)],_0x315575[_0x14985f(0x16d)][_0x14985f(0xb6)]());const _0x5850b0=null===_0x315575[_0x14985f(0x1d5)]?null:_0x315575[_0x14985f(0x1d5)]||this[_0x14985f(0x1a4)][_0x14985f(0x194)][_0x14985f(0x1de)](_0x14985f(0x197))['me']['id'],_0x57aaa0=_0x315575[_0x14985f(0x1be)];if(!this[_0x14985f(0x1e4)][_0x14985f(0x18b)](_0x57aaa0))return void this[_0x14985f(0x1e4)][_0x14985f(0x164)](_0x57aaa0,{'range':_0x315575[_0x14985f(0x149)],'userId':_0x5850b0});const _0x1df0e3=this[_0x14985f(0x1e4)][_0x14985f(0x1de)](_0x57aaa0),_0x153efe=_0x1df0e3[_0x14985f(0x1b8)],_0x2db205=_0x315575[_0x14985f(0x16d)];null==_0x153efe&&null==_0x2db205||_0x153efe&&_0x2db205&&_0x153efe[_0x14985f(0x117)](_0x2db205)?this[_0x14985f(0x1e4)][_0x14985f(0x16e)](_0x315575[_0x14985f(0x1be)]):_0x1df0e3[_0x14985f(0x138)]=_0x5850b0;}[_0x574f28(0x130)](_0x38d127,_0x251f6b){const _0x1eb189=_0x574f28;this[_0x1eb189(0x12b)][_0x1eb189(0x18b)](_0x38d127[_0x1eb189(0x102)])?this[_0x1eb189(0x12b)][_0x1eb189(0x1de)](_0x38d127[_0x1eb189(0x102)])[_0x1eb189(0x178)]=_0x38d127[_0x1eb189(0x19a)]:(this[_0x1eb189(0x12b)][_0x1eb189(0x164)](_0x38d127[_0x1eb189(0x102)],F(_0x38d127[_0x1eb189(0x102)],!0x0)),this[_0x1eb189(0x11a)][_0x1eb189(0x164)](_0x38d127[_0x1eb189(0x102)],{}),_0x251f6b&&this[_0x1eb189(0xae)][_0x1eb189(0x164)](_0x38d127[_0x1eb189(0x102)],F(_0x38d127[_0x1eb189(0x102)],!0x0)));const _0x4621e7=null===_0x38d127[_0x1eb189(0x1d5)]?null:_0x38d127[_0x1eb189(0x1d5)]||this[_0x1eb189(0x1a4)][_0x1eb189(0x194)][_0x1eb189(0x1de)](_0x1eb189(0x197))['me']['id'],_0x2f901e=this[_0x1eb189(0x153)][_0x1eb189(0x1de)](_0x38d127[_0x1eb189(0x102)]);_0x2f901e&&_0x2f901e[_0x1eb189(0x138)]===_0x4621e7?this[_0x1eb189(0x153)][_0x1eb189(0x16e)](_0x38d127[_0x1eb189(0x102)]):this[_0x1eb189(0x153)][_0x1eb189(0x164)](_0x38d127[_0x1eb189(0x102)],{'userId':_0x4621e7,'isAttached':_0x38d127[_0x1eb189(0x19a)]});}[_0x574f28(0x1e8)](_0x3d6b98){const _0xc96d60=_0x574f28,_0x5d0fbe=this[_0xc96d60(0x11a)][_0xc96d60(0x1de)](_0x3d6b98[_0xc96d60(0x186)][_0xc96d60(0x102)]);null===_0x3d6b98[_0xc96d60(0x1b6)]?delete _0x5d0fbe[_0x3d6b98[_0xc96d60(0x1e7)]]:_0x5d0fbe[_0x3d6b98[_0xc96d60(0x1e7)]]=_0x3d6b98[_0xc96d60(0x1b6)];}}function T(_0x3932b7){const _0x429bdb=_0x574f28,_0x35d26b=F(_0x3932b7[_0x429bdb(0x102)],_0x3932b7[_0x429bdb(0x179)]());for(const _0x244e94 of _0x3932b7[_0x429bdb(0x17a)]()){const _0x3608cb=_0x244e94[_0x429bdb(0xbc)](!0x0);_0x35d26b[_0x429bdb(0xf0)](_0x3608cb);}return _0x35d26b;}function F(_0x2cc48f,_0x379265=!0x0){const _0x46ec52=_0x574f28,_0x4d3a1d=new _0x33c806();return _0x4d3a1d[_0x46ec52(0x102)]=_0x2cc48f,_0x4d3a1d[_0x46ec52(0x178)]=_0x379265,_0x4d3a1d[_0x46ec52(0x179)]=()=>_0x4d3a1d[_0x46ec52(0x178)],_0x4d3a1d;}function _0x4a5c(_0x45fc15,_0x500353){const _0x4c641f=_0x4c64();return _0x4a5c=function(_0x4a5cbf,_0x1aefe5){_0x4a5cbf=_0x4a5cbf-0xad;let _0x4070ad=_0x4c641f[_0x4a5cbf];return _0x4070ad;},_0x4a5c(_0x45fc15,_0x500353);}function B(_0xa6aad3,_0x56f45e,_0x3c66a3){const _0x130c82=_0x574f28,_0x1f9d7b=_0x130c82(0x1a8)==_0xa6aad3[_0x130c82(0xf8)]?_0x3c66a3[_0x130c82(0x1d8)](_0xa6aad3[_0x130c82(0xed)],_0x130c82(0x17f)):_0x3c66a3[_0x130c82(0x1ea)](_0xa6aad3[_0x130c82(0xed)]);return _0x3c66a3[_0x130c82(0x1b5)](_0x56f45e,_0x1f9d7b[_0x130c82(0x136)],_0x1f9d7b[_0x130c82(0x1af)]);}function J(_0x26c5c8,_0x5856f7,_0x3f765b){const _0xaefebf=_0x574f28,_0x256297=_0xaefebf(0x125)==_0x26c5c8[_0xaefebf(0xf8)]?_0x3f765b[_0xaefebf(0x1d8)](_0x26c5c8[_0xaefebf(0xed)],0x0):_0x3f765b[_0xaefebf(0x11b)](_0x26c5c8[_0xaefebf(0xed)]);return _0x3f765b[_0xaefebf(0x1b5)](_0x5856f7,_0x256297[_0xaefebf(0x136)],_0x256297[_0xaefebf(0x1af)]);}
23
+ const _0x37e4d7=_0x5aab;(function(_0x3c7c14,_0x27b929){const _0x501744=_0x5aab,_0x39add0=_0x3c7c14();while(!![]){try{const _0x319bc5=parseInt(_0x501744(0xda))/0x1+-parseInt(_0x501744(0xcb))/0x2+parseInt(_0x501744(0x194))/0x3+-parseInt(_0x501744(0x8a))/0x4+-parseInt(_0x501744(0x83))/0x5+parseInt(_0x501744(0xb6))/0x6*(parseInt(_0x501744(0x16e))/0x7)+parseInt(_0x501744(0xd2))/0x8*(parseInt(_0x501744(0xb4))/0x9);if(_0x319bc5===_0x27b929)break;else _0x39add0['push'](_0x39add0['shift']());}catch(_0x552bdf){_0x39add0['push'](_0x39add0['shift']());}}}(_0x5c78,0xbfb75));import{Users as _0x478815}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5aab(_0x373374,_0x302ebb){const _0x5c78f7=_0x5c78();return _0x5aab=function(_0x5aabed,_0x26c186){_0x5aabed=_0x5aabed-0x69;let _0x3ebecf=_0x5c78f7[_0x5aabed];return _0x3ebecf;},_0x5aab(_0x373374,_0x302ebb);}import{Plugin as _0x4768bf,PendingActions as _0x2aecb5}from'ckeditor5/src/core.js';import{logWarning as _0x5b544d,uid as _0x2b1791}from'ckeditor5/src/utils.js';import{Position as _0x11d37c,Range as _0xb51349,Element as _0x44b2d6,DocumentFragment as _0x198715}from'ckeditor5/src/engine.js';import _0x125b71 from'./revisionsrepository.js';import _0x3e036b from'./revisionhistoryutils.js';import{getTranslation as _0xe20d2c}from'./utils/common-translations.js';function _0x5c78(){const _0x148361=['from','getAttributes','_handleSplitOperation','_savedMetaData','insert','revisionHistory.resumeUnsavedRevision','revisionHistoryLicenseKeyEvaluationLimit','RealTimeCollaborationClient','_insertChild','roots','clone','sendBufferedUpdates','then','setRevisionData','item','_isPendingUpdate','_baseRootsAttributes','getWalker','_getState','_touchedMarkers','revisionHistoryLicenseKeyTrialLimit','newRange','_handleRootOperation','attachChange','_getTypeCharForViewElement','_authorId','shift','find','expired','for','editor','howMany','isAttached','saveRevision','baseVersion','affectsData','attributesBefore','createElement','insertionPosition','_createInitialRevision','getTime','Users','toVersion','PendingActions','_initialRevisionId','innerHTML','locale','root','isAdd','ready','updateRevisions','loadState','_generateTape','_setConversion','initial','_operations','revisionHistoryLicenseKeyInvalid','editor-initial-data-replaced-with-revision-data','_update','_addPendingAction','NEGATIVE_INFINITY','clear','nodeAfter','attributesAfter','uiElement','splitPosition','featureNotAllowed','RevisionTracker','plugins','destroy','size','sourcePosition','split','childCount','vid','_clone','RevisionHistory','revisionHistoryLicenseKeyValid','vid_end','_getFromVersion','_transformMarkers','_touched','paragraph','fromVersion','revisionHistoryLicenseKeyNotAllowed','RevisionsRepository','authorsIds','_setAttribute','134659VHUgSU','createPositionFromPath','_copyMarkers','keepParagraph','vid_start','createRangeIn','define','getAttribute','graveyardPosition','_calculateMetaData','markers','_findInsertionIndex','update','slice','licenseKey','rawElement','_isAttached','invalid','getRevisionRootsAttributes','getTransformedByOperation','_saveMetaData','_baseRoots','conversion','PENDING_ACTION_REVISION_HISTORY','stringify','max','length','trim','start','getRevisionDocumentData','_diffRoots','move','getNodeByPath','merge','includes','deletions','has','sort','1800156jihSVy','source','filter','get','insertions','_applyOperations','bind','_removePendingAction','Initial\x20revision','children','RevisionHistoryUtils','_removeMetaData','_handleMoveOperation','_licenseKeyCheckInterval','_createFromRanges','createdAt','add','render','_handleMergeOperation','addRoot','_lastFrom','offsetSize','deletion','createRevision','_createCurrentRevision','reInit','authors','getChild','reverse','createPositionBefore','_loadState','rootName','_makeModelFromViewString','insertion','rootsAttributes','string','_fixPosition','elementStart','remove','loadRevisionData','_showLicenseError','map','path','offset','document','delete','set','targetPosition','_startingVersion','1507055xzcDwm','push','_lastTo','name','isOfficialPlugin','getMovedRangeStart','removeRootAttribute','4294832cuthlh','data','$text','isPremiumPlugin','_makeRevision','_reset','getChildren','_isInit','_replaceEditorDataWithRevisionData','Empty\x20document','position','_touchedRoots','keys','reinsert','getRevisions','buildRevisionData','domainLimit','revision:','elementEnd','$graveyard','requires','_makeIdsRoot','pluginName','resolve','addRootAttribute','_startingRevisionId','_handleMarkerOperation','model','oldRange','_continueCurrentRevision','end','trialLimit','_processRootBeforeSave','createRange','_fixOperation','createPositionAfter','getRevision','_appendChild','stickiness','_prepareViewToSave','init','_handleRootAttributeOperation','9ZdDpIH','parent','60NrclgR','getRootNames','createPositionAt','afterInit','upcast','revisionHistoryLicenseKeyExpired','key','marker','_handleInsertOperation','usageLimit','range','fillerOffset','isEqual','evaluationLimit','getRoot','_pendingAction','isReady','getIndex','_utils','getData','adapter','32734QxoxWM','hasContent','_bufferUpdate','isEnabled','some','_baseIdsRoots','config','6202328BxeAeI','version','customProperties','getRange','setSource','getFillerOffset','revisionHistoryLicenseKeyDomainLimit','diffData','609042QhJalW','dataDowncast','startsWith','_diffRootsAttributes','_fixRange','creator','element','htmlProcessor','userId','_bufferedUpdates','creatorId','changeRootAttribute','addRevisionData','toView','getUser','_loadedStateData','addRevision','finally','getLatestVersion','values','domDocument','revisionHistoryLicenseKeyUsageLimit','nodes','_idsRoots','$comment','outerHTML','_getViewJson','_handleOperation','_markers','dataToMarker','_markChanges','fromEntries','documentFragment','_getBaseVids','getCustomProperties','newValue','revision','currentRevision','type','_revisionDataBuilder','getAncestors','_cloneOperation','_revisionId','_source','detachRoot','getOperations','tableCell','text','_getPreviousFrom','repository','domConverter','previousPosition','markerToData','collaboration.channelId','initialData','getCurrentRevisionId','getOperation','_getVidAttributeName','_execute','history'];_0x5c78=function(){return _0x148361;};return _0x5c78();}import{cloneDeep as _0x48e46d,isEqual as _0x2a4305}from'es-toolkit/compat';export default class u extends _0x4768bf{[_0x37e4d7(0x17c)];[_0x37e4d7(0x1a1)];[_0x37e4d7(0xff)]=null;[_0x37e4d7(0x10b)];[_0x37e4d7(0xca)]=null;[_0x37e4d7(0x101)];[_0x37e4d7(0x105)];[_0x37e4d7(0x142)];[_0x37e4d7(0xe3)];[_0x37e4d7(0xc8)];[_0x37e4d7(0xc5)];[_0x37e4d7(0xa7)];[_0x37e4d7(0x82)];[_0x37e4d7(0xe9)];static get[_0x37e4d7(0xa0)](){const _0x57b9e9=_0x37e4d7;return _0x57b9e9(0x159);}static get[_0x37e4d7(0x87)](){return!0x0;}static get[_0x37e4d7(0x8d)](){return!0x0;}static get[_0x37e4d7(0x9e)](){return[_0x478815,_0x125b71,_0x3e036b,_0x2aecb5];}constructor(_0x1fc277){const _0x1aacbe=_0x37e4d7;super(_0x1fc277),this[_0x1aacbe(0x10b)]=this[_0x1aacbe(0x134)][_0x1aacbe(0x15a)][_0x1aacbe(0x197)](_0x1aacbe(0x16b)),this[_0x1aacbe(0xc8)]=this[_0x1aacbe(0x134)][_0x1aacbe(0x15a)][_0x1aacbe(0x197)](_0x1aacbe(0x19e)),this[_0x1aacbe(0x101)]=new x(this[_0x1aacbe(0x134)]),this[_0x1aacbe(0x142)]=this[_0x1aacbe(0x134)][_0x1aacbe(0xd1)][_0x1aacbe(0x197)](_0x1aacbe(0x10f))||_0x1aacbe(0x14c),this[_0x1aacbe(0xe3)]=new Map(),this[_0x1aacbe(0xe9)]=null;const _0x202ca8=_0x2b1791();this[_0x1aacbe(0x105)]={'history':this[_0x1aacbe(0x134)][_0x1aacbe(0xa5)][_0x1aacbe(0x7e)][_0x1aacbe(0x115)],'getLatestVersion':()=>Promise[_0x1aacbe(0xa1)](this[_0x1aacbe(0x134)][_0x1aacbe(0xa5)][_0x1aacbe(0x7e)][_0x1aacbe(0xd3)]),'getCurrentRevisionId':()=>_0x202ca8},this[_0x1aacbe(0x80)](_0x1aacbe(0xc6),!0x1),this[_0x1aacbe(0x80)](_0x1aacbe(0xce),!0x0),this[_0x1aacbe(0x80)](_0x1aacbe(0x125),!0x1),this[_0x1aacbe(0x134)][_0x1aacbe(0xd1)][_0x1aacbe(0x174)](_0x1aacbe(0x11b),!0x0),this[_0x1aacbe(0x134)][_0x1aacbe(0x184)][_0x1aacbe(0x133)](_0x1aacbe(0xba))[_0x1aacbe(0xf7)]({'view':_0x1aacbe(0xfe)});}[_0x37e4d7(0xb2)](){const _0x2c6edf=_0x37e4d7;this[_0x2c6edf(0x14b)](),this[_0x2c6edf(0x134)][_0x2c6edf(0x8b)]['on'](_0x2c6edf(0x147),()=>{const _0x4b4e60=_0x2c6edf,_0x386a6b=this[_0x4b4e60(0x10b)][_0x4b4e60(0xae)](0x0),_0x3189fe=_0x386a6b&&null===_0x386a6b[_0x4b4e60(0xdf)]?_0x386a6b:null;if(this[_0x4b4e60(0xa7)]=!!_0x3189fe&&this[_0x4b4e60(0x134)][_0x4b4e60(0xd1)][_0x4b4e60(0x197)](_0x4b4e60(0x11b)),this[_0x4b4e60(0x134)][_0x4b4e60(0x15a)][_0x4b4e60(0x192)](_0x4b4e60(0x11d))){const _0x315149=this[_0x4b4e60(0x105)][_0x4b4e60(0x111)](),_0x2b8c60=this[_0x4b4e60(0x10b)][_0x4b4e60(0xae)](_0x315149);if(_0x2b8c60)this[_0x4b4e60(0x82)]=_0x2b8c60[_0x4b4e60(0x169)],this[_0x4b4e60(0xa7)]=!0x1;else{const _0x449422=this[_0x4b4e60(0x105)][_0x4b4e60(0x115)][_0x4b4e60(0x14d)][_0x4b4e60(0x131)](_0x2a52ff=>!_0x2a52ff[_0x4b4e60(0x91)]),_0x26e072=_0x449422?_0x449422[_0x4b4e60(0x138)]:this[_0x4b4e60(0x105)][_0x4b4e60(0x115)][_0x4b4e60(0xd3)];_0x386a6b?(_0x386a6b[_0x4b4e60(0x140)]<_0x26e072&&_0x386a6b[_0x4b4e60(0x150)]({'toVersion':_0x26e072}),this[_0x4b4e60(0xa7)]?(this[_0x4b4e60(0x105)][_0x4b4e60(0x111)]=()=>_0x3189fe['id'],this[_0x4b4e60(0x82)]=_0x3189fe[_0x4b4e60(0x169)]):(this[_0x4b4e60(0x82)]=_0x386a6b[_0x4b4e60(0x140)],this[_0x4b4e60(0xa7)]=!0x1)):(this[_0x4b4e60(0x82)]=_0x26e072,this[_0x4b4e60(0xa7)]=!0x1);}}else _0x3189fe&&(this[_0x4b4e60(0x134)][_0x4b4e60(0xa5)][_0x4b4e60(0x7e)][_0x4b4e60(0x115)][_0x4b4e60(0xd3)]=Math[_0x4b4e60(0x187)](_0x3189fe[_0x4b4e60(0x140)],this[_0x4b4e60(0x134)][_0x4b4e60(0xa5)][_0x4b4e60(0x7e)][_0x4b4e60(0x115)][_0x4b4e60(0xd3)]),_0x3189fe[_0x4b4e60(0x169)]===_0x3189fe[_0x4b4e60(0x140)]?(0x0!==_0x3189fe[_0x4b4e60(0x169)]&&(this[_0x4b4e60(0x105)][_0x4b4e60(0x111)]=()=>_0x3189fe['id']),this[_0x4b4e60(0xa7)]=!0x1):this[_0x4b4e60(0xa7)]&&(this[_0x4b4e60(0x105)][_0x4b4e60(0x111)]=()=>_0x3189fe['id'],this[_0x4b4e60(0x82)]=_0x3189fe[_0x4b4e60(0x169)])),this[_0x4b4e60(0xa7)]||(this[_0x4b4e60(0x82)]=this[_0x4b4e60(0x134)][_0x4b4e60(0xa5)][_0x4b4e60(0x7e)][_0x4b4e60(0xd3)]);this[_0x4b4e60(0x101)][_0x4b4e60(0xb2)](this[_0x4b4e60(0x105)][_0x4b4e60(0x115)]),this[_0x4b4e60(0x13d)](this[_0x4b4e60(0x82)]),this[_0x4b4e60(0x6a)](this[_0x4b4e60(0x82)]),this[_0x4b4e60(0xca)]&&this[_0x4b4e60(0x121)]();}),this[_0x2c6edf(0x19a)](_0x2c6edf(0xc6))['to'](this,_0x2c6edf(0x125),_0x4896a3=>!_0x4896a3),this[_0x2c6edf(0x17c)]=this[_0x2c6edf(0x134)][_0x2c6edf(0xd1)][_0x2c6edf(0x197)](_0x2c6edf(0x17c));const _0x2aea5d=this[_0x2c6edf(0x134)];this[_0x2c6edf(0x1a1)]=setInterval(()=>{const _0x3a68e3=_0x2c6edf;let _0x17938f;for(const _0x1f30e9 in _0x2aea5d){const _0x52c4c5=_0x1f30e9,_0x33d58c=_0x2aea5d[_0x52c4c5];if(_0x3a68e3(0x163)==_0x33d58c||_0x3a68e3(0x14e)==_0x33d58c||_0x3a68e3(0xbb)==_0x33d58c||_0x3a68e3(0xd8)==_0x33d58c||_0x3a68e3(0x16a)==_0x33d58c||_0x3a68e3(0x11c)==_0x33d58c||_0x3a68e3(0x12a)==_0x33d58c||_0x3a68e3(0xef)==_0x33d58c){delete _0x2aea5d[_0x52c4c5],_0x17938f=_0x33d58c,clearInterval(this[_0x3a68e3(0x1a1)]),this[_0x3a68e3(0x1a1)]=void 0x0;break;}}_0x3a68e3(0x14e)==_0x17938f&&_0x2aea5d[_0x3a68e3(0x7a)](_0x3a68e3(0x17f)),_0x3a68e3(0xbb)==_0x17938f&&_0x2aea5d[_0x3a68e3(0x7a)](_0x3a68e3(0x132)),_0x3a68e3(0xd8)==_0x17938f&&_0x2aea5d[_0x3a68e3(0x7a)](_0x3a68e3(0x9a)),_0x3a68e3(0x16a)==_0x17938f&&_0x2aea5d[_0x3a68e3(0x7a)](_0x3a68e3(0x158),_0x3a68e3(0x162)),_0x3a68e3(0x11c)==_0x17938f&&_0x2aea5d[_0x3a68e3(0x7a)](_0x3a68e3(0xc3)),_0x3a68e3(0x12a)==_0x17938f&&_0x2aea5d[_0x3a68e3(0x7a)](_0x3a68e3(0xa9)),_0x3a68e3(0xef)==_0x17938f&&_0x2aea5d[_0x3a68e3(0x7a)](_0x3a68e3(0xbf));},0x3e8);}async[_0x37e4d7(0xb9)](){const _0x3706cc=_0x37e4d7;if(this[_0x3706cc(0x10b)][_0x3706cc(0x188)]>0x0){const _0x214711=this[_0x3706cc(0x10b)][_0x3706cc(0xae)](0x0),_0x3cb6da=await this[_0x3706cc(0x18b)](_0x214711),_0x1455f4=await this[_0x3706cc(0x180)](_0x214711);this[_0x3706cc(0x92)](_0x3cb6da,_0x1455f4);}}[_0x37e4d7(0x15b)](){const _0x11b067=_0x37e4d7;super[_0x11b067(0x15b)](),this[_0x11b067(0x1a1)]&&clearInterval(this[_0x11b067(0x1a1)]);}[_0x37e4d7(0xd6)](_0x3f3af7){const _0x2cd806=_0x37e4d7;this[_0x2cd806(0x105)]=_0x3f3af7;}async[_0x37e4d7(0x17a)](){const _0x44b5b0=_0x37e4d7,_0xdf87cb=await this[_0x44b5b0(0x105)][_0x44b5b0(0xec)]();if(_0xdf87cb>this[_0x44b5b0(0xff)][_0x44b5b0(0x140)]){await this[_0x44b5b0(0x70)]();const _0x4b1e0c=this[_0x44b5b0(0x99)]({'revision':this[_0x44b5b0(0xff)],'to':_0xdf87cb});_0x4b1e0c[_0x44b5b0(0x6c)]=_0x4b1e0c[_0x44b5b0(0x16c)][_0x44b5b0(0x7b)](_0x4c9abc=>this[_0x44b5b0(0x134)][_0x44b5b0(0x15a)][_0x44b5b0(0x197)](_0x44b5b0(0x13f))[_0x44b5b0(0xe8)](_0x4c9abc)),this[_0x44b5b0(0xff)][_0x44b5b0(0x150)](_0x4b1e0c);}}async[_0x37e4d7(0x137)](_0x5b7a67={},_0x2a030b=null){const _0x9fb8be=_0x37e4d7,_0x229e2c=[];await this[_0x9fb8be(0x70)](),this[_0x9fb8be(0xa7)]=!0x1,_0x2a030b>this[_0x9fb8be(0xff)][_0x9fb8be(0x140)]&&(_0x2a030b=null),null===_0x2a030b&&(_0x2a030b=await this[_0x9fb8be(0x105)][_0x9fb8be(0xec)]());const _0x51ecf4=this[_0x9fb8be(0x165)](_0x2a030b),_0x42ffdc=this[_0x9fb8be(0x99)]({'from':_0x51ecf4,'to':_0x2a030b});if(this[_0x9fb8be(0xff)][_0x9fb8be(0x140)]<_0x2a030b){const _0x2768e8=this[_0x9fb8be(0x99)]({'revision':this[_0x9fb8be(0xff)],'from':_0x2a030b,'to':_0x2a030b});_0x2768e8[_0x9fb8be(0x6c)]=[],_0x2768e8[_0x9fb8be(0x16c)]=[],_0x2768e8['id']=this[_0x9fb8be(0xff)]['id'],this[_0x9fb8be(0xff)][_0x9fb8be(0x150)](_0x2768e8,!0x0),delete _0x2768e8[_0x9fb8be(0x6c)],_0x229e2c[_0x9fb8be(0x84)](_0x2768e8);}_0x5b7a67[_0x9fb8be(0xe4)]=this[_0x9fb8be(0x134)][_0x9fb8be(0x15a)][_0x9fb8be(0x197)](_0x9fb8be(0x13f))['me']['id'],_0x5b7a67[_0x9fb8be(0x86)]=_0x5b7a67[_0x9fb8be(0x86)]||null,_0x5b7a67['id']=_0x5b7a67['id']||_0x2b1791(),_0x5b7a67={..._0x5b7a67,..._0x42ffdc};const _0xa3c415=this[_0x9fb8be(0xe6)](_0x5b7a67);_0x229e2c[_0x9fb8be(0x84)](_0x5b7a67);const _0x1361b4=this[_0x9fb8be(0x10b)][_0x9fb8be(0xc7)](_0xa3c415);if(0x0!==_0x1361b4){const _0x4a0fe4=this[_0x9fb8be(0x10b)][_0x9fb8be(0xae)](_0x1361b4-0x1);if(_0x4a0fe4[_0x9fb8be(0x169)]!==_0x2a030b){const _0x4200dd=this[_0x9fb8be(0x101)][_0x9fb8be(0xc9)](_0x2a030b,_0x4a0fe4[_0x9fb8be(0x140)]),_0x4c7d56={'id':_0x4a0fe4['id'],'diffData':_0x4200dd[_0x9fb8be(0xd9)],'authorsIds':_0x4200dd[_0x9fb8be(0x16c)],'authors':_0x4200dd[_0x9fb8be(0x16c)][_0x9fb8be(0x7b)](_0x4bae62=>this[_0x9fb8be(0x134)][_0x9fb8be(0x15a)][_0x9fb8be(0x197)](_0x9fb8be(0x13f))[_0x9fb8be(0xe8)](_0x4bae62)),'fromVersion':_0x2a030b};_0x4a0fe4===this[_0x9fb8be(0xff)]&&(_0x4c7d56[_0x9fb8be(0x1a3)]=new Date(_0x5b7a67[_0x9fb8be(0x1a3)][_0x9fb8be(0x13e)]()+0xa)),_0x4a0fe4[_0x9fb8be(0x150)](_0x4c7d56,!0x0),delete _0x4c7d56[_0x9fb8be(0x6c)],_0x229e2c[_0x9fb8be(0x84)](_0x4c7d56);}}if(this[_0x9fb8be(0xca)]){for(const _0x5efcac of _0x229e2c)this[_0x9fb8be(0xcd)](_0x5efcac['id'],_0x5efcac,!0x0);this[_0x9fb8be(0x121)]();}return _0xa3c415;}[_0x37e4d7(0xe6)](_0x12296a){const _0x2e5394=_0x37e4d7,_0x697676=this[_0x2e5394(0x10b)][_0x2e5394(0x69)](_0x12296a);return this[_0x2e5394(0xca)]&&_0x697676['on'](_0x2e5394(0x150),(_0x273f86,_0x4e56d1,_0x5e4516)=>{const _0x4b8159=_0x2e5394;_0x5e4516||(this[_0x4b8159(0xcd)](_0x4e56d1['id'],_0x4e56d1,!0x0),this[_0x4b8159(0x121)]());}),this[_0x2e5394(0x10b)][_0x2e5394(0xea)](_0x697676,this[_0x2e5394(0x179)](_0x697676)),_0x697676;}async[_0x37e4d7(0x18b)](_0x570937){const _0x4b85b4=_0x37e4d7;return await this[_0x4b85b4(0xc8)][_0x4b85b4(0x79)](_0x570937,this[_0x4b85b4(0xca)]),this[_0x4b85b4(0xc8)][_0x4b85b4(0x18b)](_0x570937);}async[_0x37e4d7(0x180)](_0x19a0c9){const _0x396db6=_0x37e4d7;return await this[_0x396db6(0xc8)][_0x396db6(0x79)](_0x19a0c9,this[_0x396db6(0xca)]),this[_0x396db6(0xc8)][_0x396db6(0x180)](_0x19a0c9);}[_0x37e4d7(0x121)](){const _0x24384b=_0x37e4d7;if(0x0===this[_0x24384b(0xe3)][_0x24384b(0x15c)])return;if(this[_0x24384b(0x125)])return;let _0x29bb87=Array[_0x24384b(0x116)](this[_0x24384b(0xe3)][_0x24384b(0xed)]());this[_0x24384b(0xe3)][_0x24384b(0x153)]();for(let _0x4f2399=0x0;_0x4f2399<_0x29bb87[_0x24384b(0x188)];_0x4f2399++){const _0x90910a=_0x29bb87[_0x4f2399];let _0x56ea1f=!0x1;for(const _0x17d4e0 of Object[_0x24384b(0x96)](_0x90910a))void 0x0===_0x90910a[_0x17d4e0]?delete _0x90910a[_0x17d4e0]:'id'!==_0x17d4e0&&(_0x56ea1f=!0x0);_0x56ea1f||(_0x29bb87[_0x4f2399]=null);}if(_0x29bb87=_0x29bb87[_0x24384b(0x196)](_0x2b45cc=>null!==_0x2b45cc),!_0x29bb87[_0x24384b(0x188)])return;for(let _0x5b49fd=0x0;_0x5b49fd<_0x29bb87[_0x24384b(0x188)];_0x5b49fd++){const _0x392147=_0x29bb87[_0x5b49fd];void 0x0!==_0x392147[_0x24384b(0x169)]&&void 0x0===_0x392147[_0x24384b(0x140)]&&(_0x392147[_0x24384b(0x140)]=this[_0x24384b(0x10b)][_0x24384b(0xae)](_0x392147['id'])[_0x24384b(0x140)]),void 0x0!==_0x392147[_0x24384b(0x140)]&&void 0x0===_0x392147[_0x24384b(0x169)]&&(_0x392147[_0x24384b(0x169)]=this[_0x24384b(0x10b)][_0x24384b(0xae)](_0x392147['id'])[_0x24384b(0x169)]);}const _0x21ef34=this[_0x24384b(0x134)][_0x24384b(0xd1)][_0x24384b(0x197)](_0x24384b(0x10f));this[_0x24384b(0x125)]=!0x0,this[_0x24384b(0x151)](),this[_0x24384b(0xca)][_0x24384b(0x148)](_0x29bb87,_0x21ef34)[_0x24384b(0xeb)](()=>{const _0x453ba0=_0x24384b;this[_0x453ba0(0x125)]=!0x1;})[_0x24384b(0x122)](_0x1cebbb=>{const _0x572100=_0x24384b;if(_0x1cebbb){for(const _0x46dd03 of _0x1cebbb)this[_0x572100(0x123)]({'id':_0x46dd03['id'],'createdAt':_0x46dd03[_0x572100(0x1a3)]});}this[_0x572100(0x19b)](),this[_0x572100(0x121)]();});}[_0x37e4d7(0x99)]({revision:_0x36fdba=null,from:_0x238d46=null,to:_0x1f7425=null}){const _0x24c6c3=_0x37e4d7;_0x238d46=null!==_0x238d46?_0x238d46:_0x36fdba[_0x24c6c3(0x169)],_0x1f7425=null!==_0x1f7425?_0x1f7425:_0x36fdba[_0x24c6c3(0x140)];const _0x2801c3=this[_0x24c6c3(0x101)][_0x24c6c3(0xc9)](_0x238d46,_0x1f7425),_0x1fa044={'diffData':_0x2801c3[_0x24c6c3(0xd9)],'authorsIds':_0x2801c3[_0x24c6c3(0x16c)],'fromVersion':_0x238d46,'toVersion':_0x1f7425};if(!_0x36fdba||_0x1f7425!==_0x36fdba[_0x24c6c3(0x140)]){const _0x41cc78=_0x1f7425-0x1,_0x2e6d97=this[_0x24c6c3(0x105)][_0x24c6c3(0x115)][_0x24c6c3(0x112)](_0x41cc78);_0x1fa044[_0x24c6c3(0x1a3)]=_0x2e6d97&&_0x2e6d97[_0x24c6c3(0x1a3)]||new Date();}if(this[_0x24c6c3(0xe9)]&&_0x238d46===this[_0x24c6c3(0xe9)][_0x24c6c3(0x169)]){for(const _0x2ae3ba of this[_0x24c6c3(0xe9)][_0x24c6c3(0x6c)])_0x1fa044[_0x24c6c3(0x16c)][_0x24c6c3(0x190)](_0x2ae3ba['id'])||_0x1fa044[_0x24c6c3(0x16c)][_0x24c6c3(0x84)](_0x2ae3ba['id']);}return _0x1fa044;}[_0x37e4d7(0xcd)](_0x42df5d,_0x2eb813,_0x254658){const _0xeb3d42=_0x37e4d7;if(this[_0xeb3d42(0xe3)][_0xeb3d42(0x192)](_0x42df5d)){const _0x2dc9e2=this[_0xeb3d42(0xe3)][_0xeb3d42(0x197)](_0x42df5d);_0x2eb813=_0x254658?{..._0x2dc9e2,..._0x2eb813}:{..._0x2eb813,..._0x2dc9e2};}this[_0xeb3d42(0xe3)][_0xeb3d42(0x80)](_0x42df5d,_0x2eb813);}[_0x37e4d7(0x123)](_0x319aa0){const _0x139cfd=_0x37e4d7,_0x419275=this[_0x139cfd(0x10b)][_0x139cfd(0xae)](_0x319aa0['id']);if(_0x319aa0[_0x139cfd(0x1a3)]&&(_0x319aa0[_0x139cfd(0x1a3)]=new Date(_0x319aa0[_0x139cfd(0x1a3)])),_0x319aa0[_0x139cfd(0x16c)]){const _0x125fcb=this[_0x139cfd(0x134)][_0x139cfd(0x15a)][_0x139cfd(0x197)](_0x139cfd(0x13f));_0x319aa0[_0x139cfd(0x6c)]=_0x319aa0[_0x139cfd(0x16c)][_0x139cfd(0x7b)](_0x26fc52=>_0x125fcb[_0x139cfd(0xe8)](_0x26fc52));}_0x419275[_0x139cfd(0x150)](_0x319aa0,!0x0);}[_0x37e4d7(0x13d)](_0x151ef5){const _0x381b47=_0x37e4d7,_0xf6b495=this[_0x381b47(0x10b)][_0x381b47(0xae)](this[_0x381b47(0x10b)][_0x381b47(0x188)]-0x1);if(_0xf6b495)this[_0x381b47(0x142)]=_0xf6b495['id'];else{const _0x417bcb=!this[_0x381b47(0x134)][_0x381b47(0xa5)][_0x381b47(0x7e)][_0x381b47(0x11f)][_0x381b47(0x131)](_0x3af497=>this[_0x381b47(0x134)][_0x381b47(0xa5)][_0x381b47(0xcc)](_0x3af497)),_0x7289c0=this[_0x381b47(0x134)][_0x381b47(0x15a)][_0x381b47(0x197)](_0x381b47(0x13f))['me']['id'],_0x30add4=_0xe20d2c(this[_0x381b47(0x134)][_0x381b47(0x144)],_0x417bcb?_0x381b47(0x93):_0x381b47(0x19c));this[_0x381b47(0x8e)]({'from':_0x151ef5,'to':_0x151ef5,'id':this[_0x381b47(0x142)],'name':_0x30add4,'creatorId':_0x7289c0});}}[_0x37e4d7(0x6a)](_0x270112){const _0xf3de11=_0x37e4d7,_0x2037af=this[_0xf3de11(0x105)][_0xf3de11(0x111)]();this[_0xf3de11(0xff)]=this[_0xf3de11(0x10b)][_0xf3de11(0xae)](_0x2037af),this[_0xf3de11(0xff)]||(this[_0xf3de11(0xff)]=this[_0xf3de11(0x8e)]({'from':_0x270112,'to':_0x270112,'id':_0x2037af,'name':'','creatorId':null}));}async[_0x37e4d7(0x70)](){const _0x36a0d8=_0x37e4d7;this[_0x36a0d8(0xa7)]&&!this[_0x36a0d8(0xe9)]&&(await this[_0x36a0d8(0xc8)][_0x36a0d8(0x79)](this[_0x36a0d8(0xff)],this[_0x36a0d8(0xca)]),this[_0x36a0d8(0x101)][_0x36a0d8(0x149)](this[_0x36a0d8(0xff)]),this[_0x36a0d8(0xe9)]={'fromVersion':this[_0x36a0d8(0xff)][_0x36a0d8(0x169)],'authors':this[_0x36a0d8(0xff)][_0x36a0d8(0x6c)][_0x36a0d8(0x17b)]()});}[_0x37e4d7(0x92)](_0x4ef8eb,_0x2aff9e){const _0x23af2b=_0x37e4d7;let _0x3628eb=this[_0x23af2b(0x134)][_0x23af2b(0xd1)][_0x23af2b(0x197)](_0x23af2b(0x110)),_0x32bb1e=this[_0x23af2b(0x134)][_0x23af2b(0xd1)][_0x23af2b(0x197)](_0x23af2b(0x74));if(void 0x0===_0x3628eb){_0x3628eb={};for(const _0x40fd89 of this[_0x23af2b(0x134)][_0x23af2b(0xa5)][_0x23af2b(0x7e)][_0x23af2b(0xb7)]())_0x3628eb[_0x40fd89]='';}if(_0x23af2b(0x75)==typeof _0x3628eb&&(_0x3628eb={'main':_0x3628eb}),void 0x0===_0x32bb1e){_0x32bb1e={};for(const _0x32cd59 of this[_0x23af2b(0x134)][_0x23af2b(0xa5)][_0x23af2b(0x7e)][_0x23af2b(0xb7)]())_0x32bb1e[_0x32cd59]={};}let _0x3d4675=!0x1;const _0x2b44a5=Object[_0x23af2b(0x96)](_0x3628eb),_0x346bc9=Object[_0x23af2b(0x96)](_0x4ef8eb);for(const _0x29352e of _0x2b44a5){if(_0x3628eb[_0x29352e]!==_0x4ef8eb[_0x29352e]&&''!==_0x3628eb[_0x29352e][_0x23af2b(0x189)]()){_0x3d4675=!0x0;break;}if(!_0x2a4305(_0x32bb1e[_0x29352e],_0x2aff9e[_0x29352e])&&Object[_0x23af2b(0x96)](_0x32bb1e[_0x29352e])[_0x23af2b(0x188)]>0x0){_0x3d4675=!0x0;break;}}_0x3d4675||(_0x3d4675=_0x346bc9[_0x23af2b(0xcf)](_0x7158e0=>!this[_0x23af2b(0x134)][_0x23af2b(0xa5)][_0x23af2b(0x7e)][_0x23af2b(0xc4)](_0x7158e0))),_0x3d4675&&_0x5b544d(_0x23af2b(0x14f),{'editorData':_0x3628eb,'editorRootsAttributes':_0x32bb1e,'revisionData':_0x4ef8eb,'revisionRootsAttributes':_0x2aff9e}),this[_0x23af2b(0x134)][_0x23af2b(0xd1)][_0x23af2b(0x80)](_0x23af2b(0x110),_0x4ef8eb),this[_0x23af2b(0x134)][_0x23af2b(0xd1)][_0x23af2b(0x80)](_0x23af2b(0x74),_0x2aff9e);}[_0x37e4d7(0x151)](){const _0x48eb13=_0x37e4d7;if(!this[_0x48eb13(0xc5)]){const _0x5e5f95=this[_0x48eb13(0x134)][_0x48eb13(0x15a)][_0x48eb13(0x197)](_0x48eb13(0x141));this[_0x48eb13(0xc5)]=_0x5e5f95[_0x48eb13(0x1a4)](_0xe20d2c(this[_0x48eb13(0x134)][_0x48eb13(0x144)],_0x48eb13(0x185)));}}[_0x37e4d7(0x19b)](){const _0x44cf50=_0x37e4d7;this[_0x44cf50(0xc5)]&&(this[_0x44cf50(0x134)][_0x44cf50(0x15a)][_0x44cf50(0x197)](_0x44cf50(0x141))[_0x44cf50(0x78)](this[_0x44cf50(0xc5)]),this[_0x44cf50(0xc5)]=null);}[_0x37e4d7(0x179)](_0x2bed11){const _0x2dd6ed=_0x37e4d7,_0x5e21a8=this[_0x2dd6ed(0x10b)][_0x2dd6ed(0x98)]();_0x5e21a8[_0x2dd6ed(0x6e)]();let _0x3db7e4=0x0;for(;_0x3db7e4<_0x5e21a8[_0x2dd6ed(0x188)];){const _0x4c260c=_0x5e21a8[_0x3db7e4];if(_0x4c260c===this[_0x2dd6ed(0xff)]){_0x3db7e4++;continue;}if(_0x4c260c['id']===this[_0x2dd6ed(0x142)])break;const _0x31fc5f=_0x2bed11[_0x2dd6ed(0x140)]-_0x4c260c[_0x2dd6ed(0x140)]||_0x2bed11[_0x2dd6ed(0x169)]-_0x4c260c[_0x2dd6ed(0x169)];if(_0x31fc5f>0x0)break;if(_0x31fc5f<0x0)_0x3db7e4++;else{if(!_0x2bed11[_0x2dd6ed(0xdf)]&&_0x4c260c[_0x2dd6ed(0xdf)])break;if(_0x4c260c[_0x2dd6ed(0xdf)]||!_0x2bed11[_0x2dd6ed(0xdf)]){if(_0x2bed11[_0x2dd6ed(0x1a3)]>_0x4c260c[_0x2dd6ed(0x1a3)])break;_0x3db7e4++;}else _0x3db7e4++;}}return _0x3db7e4;}[_0x37e4d7(0x165)](_0x2dc194){const _0xce5a7b=_0x37e4d7,_0x50938d=this[_0xce5a7b(0x10b)][_0xce5a7b(0x98)]();_0x50938d[_0xce5a7b(0x6e)](),_0x50938d[_0xce5a7b(0x130)]();const _0x1a9191=_0x50938d[_0xce5a7b(0x131)](_0x561121=>_0x561121[_0xce5a7b(0x140)]<=_0x2dc194)[_0xce5a7b(0x140)];return _0x1a9191<this[_0xce5a7b(0x82)]?this[_0xce5a7b(0x82)]:_0x1a9191;}[_0x37e4d7(0x8e)]({name:_0x49b76d,from:_0x188705,to:_0x4f7845,creatorId:_0x5eac51,id:_0x257b07}){const _0x38fece=_0x37e4d7,_0x5b943c=this[_0x38fece(0x99)]({'from':_0x188705,'to':_0x4f7845});_0x5b943c[_0x38fece(0x86)]=_0x49b76d,_0x5b943c[_0x38fece(0xe4)]=_0x5eac51,_0x5b943c['id']=_0x257b07;const _0x26b534=this[_0x38fece(0xe6)](_0x5b943c);return this[_0x38fece(0xca)]&&this[_0x38fece(0xcd)](_0x5b943c['id'],_0x5b943c,!0x0),_0x26b534;}[_0x37e4d7(0x14b)](){const _0x4907b8=_0x37e4d7;this[_0x4907b8(0x134)][_0x4907b8(0x184)][_0x4907b8(0x133)](_0x4907b8(0xdb))[_0x4907b8(0x10e)]({'model':_0x4907b8(0xfe)});}}class x{[_0x37e4d7(0x134)];[_0x37e4d7(0x195)];[_0x37e4d7(0x119)];[_0x37e4d7(0x1a8)];[_0x37e4d7(0x85)];[_0x37e4d7(0xf6)];[_0x37e4d7(0x18c)];[_0x37e4d7(0xdd)];[_0x37e4d7(0x183)];[_0x37e4d7(0x126)];[_0x37e4d7(0xf1)];[_0x37e4d7(0xd0)];[_0x37e4d7(0x167)];[_0x37e4d7(0x129)];[_0x37e4d7(0x95)];[_0x37e4d7(0x104)];[_0x37e4d7(0xa3)];constructor(_0xb2be67){const _0x41eaa9=_0x37e4d7;this[_0x41eaa9(0x134)]=_0xb2be67,this[_0x41eaa9(0x119)]=new Map(),this[_0x41eaa9(0x1a8)]=-0x1,this[_0x41eaa9(0x85)]=-0x1,this[_0x41eaa9(0xf6)]=new Map(),this[_0x41eaa9(0x18c)]=new Map(),this[_0x41eaa9(0xdd)]=new Map(),this[_0x41eaa9(0x183)]=new Map(),this[_0x41eaa9(0x126)]=new Map(),this[_0x41eaa9(0xf1)]=new Map(),this[_0x41eaa9(0xd0)]=new Map(),this[_0x41eaa9(0x167)]=new Map(),this[_0x41eaa9(0x129)]=new Map(),this[_0x41eaa9(0x95)]=new Map(),this[_0x41eaa9(0x104)]=0x1;}[_0x37e4d7(0xb2)](_0x4d1118){const _0x478d7f=_0x37e4d7;this[_0x478d7f(0x195)]=_0x4d1118;const _0x32b87a=new Map(),_0x398d0f=new Map(),_0x3afe36=this[_0x478d7f(0x134)][_0x478d7f(0xa5)][_0x478d7f(0x7e)][_0x478d7f(0x11f)][_0x478d7f(0x7b)](_0x373eb2=>_0x373eb2[_0x478d7f(0x71)]);for(const _0x5c3128 of _0x3afe36){const _0x28e8ad=this[_0x478d7f(0x134)][_0x478d7f(0xa5)][_0x478d7f(0x7e)][_0x478d7f(0xc4)](_0x5c3128),_0x34eb52=N(_0x28e8ad);_0x32b87a[_0x478d7f(0x80)](_0x5c3128,_0x34eb52),_0x398d0f[_0x478d7f(0x80)](_0x5c3128,Object[_0x478d7f(0xf9)](_0x28e8ad[_0x478d7f(0x117)]()));}const _0x49c6af=Array[_0x478d7f(0x116)](this[_0x478d7f(0x134)][_0x478d7f(0xa5)][_0x478d7f(0x178)])[_0x478d7f(0x7b)](_0x575d85=>[_0x575d85[_0x478d7f(0x86)],_0x575d85[_0x478d7f(0xd5)]()]),_0x2456c8=this[_0x478d7f(0x195)][_0x478d7f(0xd3)];this[_0x478d7f(0x182)](_0x2456c8,_0x32b87a,_0x49c6af,_0x398d0f),this[_0x478d7f(0xa3)]=this[_0x478d7f(0x104)];const _0x55514e=new Map(),_0x2a5cd8=new Map();for(const _0x196f8c of _0x3afe36){const _0x57e293=P(_0x196f8c);_0x55514e[_0x478d7f(0x80)](_0x196f8c,_0x57e293),_0x2a5cd8[_0x478d7f(0x80)](_0x196f8c,{});}this[_0x478d7f(0x182)](Number[_0x478d7f(0x152)],_0x55514e,[],_0x2a5cd8);}[_0x37e4d7(0xc9)](_0x283424,_0x1b5852){const _0x45b55e=_0x37e4d7;if(this[_0x45b55e(0x1a8)]===_0x283424&&this[_0x45b55e(0x85)]<=_0x1b5852)this[_0x45b55e(0x119)][_0x45b55e(0x15c)]>0x1&&this[_0x45b55e(0x19f)](this[_0x45b55e(0x85)]),this[_0x45b55e(0x199)](this[_0x45b55e(0x85)],_0x1b5852,!0x0);else{if(!this[_0x45b55e(0x119)][_0x45b55e(0x192)](_0x283424)){const _0xfdc8c0=this[_0x45b55e(0x10a)](_0x283424);this[_0x45b55e(0x177)](_0xfdc8c0,_0x283424,!0x1);}this[_0x45b55e(0x177)](_0x283424,_0x1b5852,!0x0);}return this[_0x45b55e(0x1a8)]=_0x283424,this[_0x45b55e(0x85)]=_0x1b5852,this[_0x45b55e(0x128)]();}[_0x37e4d7(0x149)](_0x42b9ae){const _0xdcd92d=_0x37e4d7,_0x577eea=this[_0xdcd92d(0x134)][_0xdcd92d(0x15a)][_0xdcd92d(0x197)](_0xdcd92d(0x19e));this[_0xdcd92d(0x8f)](),this[_0xdcd92d(0x1a8)]=_0x42b9ae[_0xdcd92d(0x169)],this[_0xdcd92d(0x85)]=_0x42b9ae[_0xdcd92d(0x140)];for(const _0x41d809 in _0x42b9ae[_0xdcd92d(0xd9)]){const _0x22bd44=_0x42b9ae[_0xdcd92d(0xd9)][_0x41d809][_0xdcd92d(0x12d)],_0x4d01c3=_0x48e46d(_0x42b9ae[_0xdcd92d(0xd9)][_0x41d809][_0xdcd92d(0x13a)])||{},_0x5205a9=_0x577eea[_0xdcd92d(0x72)](_0x42b9ae[_0xdcd92d(0xd9)][_0x41d809][_0xdcd92d(0x191)]);_0x5205a9[_0xdcd92d(0x71)]=_0x41d809,_0x5205a9[_0xdcd92d(0x17e)]=!_0x22bd44||!_0x22bd44[_0xdcd92d(0x136)],_0x5205a9[_0xdcd92d(0x136)]=()=>_0x5205a9[_0xdcd92d(0x17e)],this[_0xdcd92d(0x183)][_0xdcd92d(0x80)](_0x41d809,_0x5205a9),this[_0xdcd92d(0x126)][_0xdcd92d(0x80)](_0x41d809,_0x4d01c3),_0x22bd44&&this[_0xdcd92d(0x95)][_0xdcd92d(0x80)](_0x41d809,_0x22bd44);const _0x4d5a8b=this[_0xdcd92d(0x9f)](_0x5205a9);this[_0xdcd92d(0xd0)][_0xdcd92d(0x80)](_0x41d809,_0x4d5a8b);for(const [_0x2155e5,_0x14d61d]of _0x5205a9[_0xdcd92d(0x178)]){if(!_0x2155e5[_0xdcd92d(0xdc)](_0xdcd92d(0x9b)))continue;const _0x4472f3=_0x2155e5[_0xdcd92d(0x15e)](':')[0x2];for(const _0x2f1bbe of _0x14d61d[_0xdcd92d(0x127)]({'singleCharacters':!0x0})){const _0x3d4554=this[_0xdcd92d(0x113)](_0x2f1bbe),_0x2082cc=_0xdcd92d(0x9c)==_0x2f1bbe[_0xdcd92d(0x100)]?_0x2f1bbe[_0xdcd92d(0x10d)][_0xdcd92d(0x7c)][_0xdcd92d(0x17b)](0x0,-0x1):_0x2f1bbe[_0xdcd92d(0x10d)][_0xdcd92d(0x7c)],_0x2dd60a=_0x4d5a8b[_0xdcd92d(0x18e)](_0x2082cc)[_0xdcd92d(0x175)](_0x3d4554);this[_0xdcd92d(0x167)][_0xdcd92d(0x80)](_0x2dd60a,{'userId':_0x4472f3});}}}this[_0xdcd92d(0xa3)]=this[_0xdcd92d(0x104)];const _0xe09f7e=[...Array(this[_0xdcd92d(0x104)])[_0xdcd92d(0x96)]()][_0xdcd92d(0x17b)](0x1)[_0xdcd92d(0x196)](_0x4ae665=>!this[_0xdcd92d(0x167)][_0xdcd92d(0x192)](_0x4ae665));let _0x1e713d=0x0;const _0x482dd5=new Map();for(const _0x50f1e0 in _0x42b9ae[_0xdcd92d(0xd9)]){const _0x6d41=_0x42b9ae[_0xdcd92d(0xd9)][_0x50f1e0][_0xdcd92d(0x12d)],_0x455d40=_0x48e46d(_0x42b9ae[_0xdcd92d(0xd9)][_0x50f1e0][_0xdcd92d(0x155)])||{},_0x52c51c=_0x577eea[_0xdcd92d(0x72)](_0x42b9ae[_0xdcd92d(0xd9)][_0x50f1e0][_0xdcd92d(0x198)]);_0x52c51c[_0xdcd92d(0x71)]=_0x50f1e0,_0x52c51c[_0xdcd92d(0x17e)]=!_0x6d41||_0x6d41[_0xdcd92d(0x136)],_0x52c51c[_0xdcd92d(0x136)]=()=>_0x52c51c[_0xdcd92d(0x17e)],this[_0xdcd92d(0x18c)][_0xdcd92d(0x80)](_0x50f1e0,_0x52c51c),this[_0xdcd92d(0xdd)][_0xdcd92d(0x80)](_0x50f1e0,_0x455d40);const _0x1a6c3b=this[_0xdcd92d(0x9f)](_0x52c51c,Number[_0xdcd92d(0x152)]);this[_0xdcd92d(0xf1)][_0xdcd92d(0x80)](_0x50f1e0,_0x1a6c3b),_0x482dd5[_0xdcd92d(0x80)](_0x50f1e0,_0x52c51c[_0xdcd92d(0x136)]()?_0x455d40:{});for(const [_0x421a6c,_0x5b7a2a]of _0x52c51c[_0xdcd92d(0x178)]){if(!_0x421a6c[_0xdcd92d(0xdc)](_0xdcd92d(0x9b)))continue;const _0x1f55e1=_0x421a6c[_0xdcd92d(0x15e)](':')[0x2];for(const _0x1f29d8 of _0x5b7a2a[_0xdcd92d(0x127)]({'singleCharacters':!0x0})){const _0x35c389=this[_0xdcd92d(0x113)](_0x1f29d8),_0x9e3987=this[_0xdcd92d(0x104)]++,_0xbc3a23=_0xdcd92d(0x9c)==_0x1f29d8[_0xdcd92d(0x100)]?_0x1f29d8[_0xdcd92d(0x10d)][_0xdcd92d(0x7c)][_0xdcd92d(0x17b)](0x0,-0x1):_0x1f29d8[_0xdcd92d(0x10d)][_0xdcd92d(0x7c)];_0x1a6c3b[_0xdcd92d(0x18e)](_0xbc3a23)[_0xdcd92d(0x16d)](_0x35c389,_0x9e3987),this[_0xdcd92d(0x167)][_0xdcd92d(0x80)](_0x9e3987,{'userId':_0x1f55e1});}}for(const _0xdfb4bd of this[_0xdcd92d(0x134)][_0xdcd92d(0xa5)][_0xdcd92d(0x173)](_0x52c51c)[_0xdcd92d(0x127)]({'singleCharacters':!0x0})){const _0x56ae26=this[_0xdcd92d(0x113)](_0xdfb4bd),_0xf45b9f=_0xdcd92d(0x9c)==_0xdfb4bd[_0xdcd92d(0x100)]?_0xdfb4bd[_0xdcd92d(0x10d)][_0xdcd92d(0x7c)][_0xdcd92d(0x17b)](0x0,-0x1):_0xdfb4bd[_0xdcd92d(0x10d)][_0xdcd92d(0x7c)],_0x26498c=_0x1a6c3b[_0xdcd92d(0x18e)](_0xf45b9f);_0x26498c[_0xdcd92d(0x175)](_0x56ae26)>0x0||_0x26498c[_0xdcd92d(0x16d)](_0x56ae26,_0xe09f7e[_0x1e713d++]);}for(const [_0x5c8069,_0xd0fe11]of _0x52c51c[_0xdcd92d(0x178)])_0x5c8069[_0xdcd92d(0xdc)](_0xdcd92d(0x9b))||this[_0xdcd92d(0xf6)][_0xdcd92d(0x80)](_0x5c8069,_0xd0fe11);}const _0x543802=P(_0xdcd92d(0x9d));this[_0xdcd92d(0x183)][_0xdcd92d(0x80)](_0xdcd92d(0x9d),_0x543802),this[_0xdcd92d(0xd0)][_0xdcd92d(0x80)](_0xdcd92d(0x9d),this[_0xdcd92d(0x9f)](_0x543802,0x1));const _0x15d5bc=P(_0xdcd92d(0x9d));this[_0xdcd92d(0x18c)][_0xdcd92d(0x80)](_0xdcd92d(0x9d),_0x15d5bc),this[_0xdcd92d(0xf1)][_0xdcd92d(0x80)](_0xdcd92d(0x9d),this[_0xdcd92d(0x9f)](_0x15d5bc,0x1));const _0x487aba=Array[_0xdcd92d(0x116)](this[_0xdcd92d(0x18c)])[_0xdcd92d(0x7b)](([_0x51a3db,_0x6759e4])=>[_0x51a3db,N(_0x6759e4)]);this[_0xdcd92d(0x182)](this[_0xdcd92d(0x85)],_0x487aba,this[_0xdcd92d(0xf6)],_0x482dd5);}[_0x37e4d7(0x6b)](){const _0x522d2d=_0x37e4d7;this[_0x522d2d(0x8f)](),this[_0x522d2d(0x1a8)]=-0x1,this[_0x522d2d(0x85)]=-0x1,this[_0x522d2d(0x119)][_0x522d2d(0x153)](),this[_0x522d2d(0xb2)](this[_0x522d2d(0x195)]);}[_0x37e4d7(0x182)](_0x3682f3,_0x3ae398,_0x2f5901,_0x5d6210){const _0x3d06b4=_0x37e4d7,_0x530a3f=new Map(_0x3ae398),_0x13e405=new Map(_0x48e46d(_0x5d6210)),_0x5296cc=new Map();for(const [_0x5ed388,_0x1108a1]of _0x2f5901)_0x5296cc[_0x3d06b4(0x80)](_0x5ed388,{'start':_0x1108a1[_0x3d06b4(0x18a)][_0x3d06b4(0x120)](),'end':_0x1108a1[_0x3d06b4(0xa8)][_0x3d06b4(0x120)](),'rootName':_0x1108a1[_0x3d06b4(0x145)][_0x3d06b4(0x71)]});this[_0x3d06b4(0x119)][_0x3d06b4(0x80)](_0x3682f3,{'roots':_0x530a3f,'markers':_0x5296cc,'rootsAttributes':_0x13e405});}[_0x37e4d7(0x19f)](_0x2ec85d){const _0x559048=_0x37e4d7;this[_0x559048(0x119)][_0x559048(0x7f)](_0x2ec85d);}[_0x37e4d7(0x8f)](){const _0x32e4c8=_0x37e4d7;this[_0x32e4c8(0x167)][_0x32e4c8(0x153)](),this[_0x32e4c8(0x129)][_0x32e4c8(0x153)](),this[_0x32e4c8(0x95)][_0x32e4c8(0x153)](),this[_0x32e4c8(0x18c)][_0x32e4c8(0x153)](),this[_0x32e4c8(0xdd)][_0x32e4c8(0x153)](),this[_0x32e4c8(0x183)][_0x32e4c8(0x153)](),this[_0x32e4c8(0x126)][_0x32e4c8(0x153)](),this[_0x32e4c8(0xf1)][_0x32e4c8(0x153)](),this[_0x32e4c8(0xd0)][_0x32e4c8(0x153)](),this[_0x32e4c8(0xf6)][_0x32e4c8(0x153)](),this[_0x32e4c8(0x104)]=0x1,this[_0x32e4c8(0xa3)]=this[_0x32e4c8(0x104)];}[_0x37e4d7(0x9f)](_0x35299a,_0x281e77=null){const _0x34e724=_0x37e4d7;let _0x30cda9=null;_0x35299a['is'](_0x34e724(0xfa))||(_0x30cda9=new _0x44b2d6(_0x35299a[_0x34e724(0x86)],{'vid_start':null===_0x281e77?this[_0x34e724(0x104)]++:_0x281e77++}));const _0x4ba52e=[];for(const _0x47fd79 of _0x35299a[_0x34e724(0x90)]())if(_0x47fd79['is'](_0x34e724(0xe0))){_0x4ba52e[_0x34e724(0x84)](this[_0x34e724(0x9f)](_0x47fd79,_0x281e77));const _0x5bea37=_0x4ba52e[_0x4ba52e[_0x34e724(0x188)]-0x1];null!==_0x281e77&&(_0x281e77=_0x5bea37['is'](_0x34e724(0xe0),_0x34e724(0x8c))?_0x5bea37[_0x34e724(0x175)](_0x34e724(0x160))+0x1:_0x5bea37[_0x34e724(0x175)](_0x34e724(0x164))+0x1);}else{for(let _0x212b88=0x0;_0x212b88<_0x47fd79[_0x34e724(0x1a9)];_0x212b88++)_0x4ba52e[_0x34e724(0x84)](new _0x44b2d6(_0x34e724(0x8c),{'vid':null===_0x281e77?this[_0x34e724(0x104)]++:_0x281e77++}));}if(_0x35299a['is'](_0x34e724(0xfa))){const _0x45263b=P(_0x35299a[_0x34e724(0x71)]);return _0x45263b[_0x34e724(0x11e)](0x0,_0x4ba52e),_0x45263b;}return _0x30cda9[_0x34e724(0x16d)](_0x34e724(0x164),null===_0x281e77?this[_0x34e724(0x104)]++:_0x281e77++),_0x30cda9[_0x34e724(0x11e)](0x0,_0x4ba52e),_0x30cda9;}[_0x37e4d7(0x177)](_0x1d69e1,_0x1490fa,_0x4f1374){const _0x45be4a=_0x37e4d7;this[_0x45be4a(0x8f)]();const {roots:_0xf66eb0,markers:_0x21ce8a,rootsAttributes:_0x358465}=this[_0x45be4a(0x119)][_0x45be4a(0x197)](_0x1d69e1);this[_0x45be4a(0x183)]=new Map(_0xf66eb0),this[_0x45be4a(0x126)]=new Map(_0x48e46d(_0x358465));for(const [_0x50fa63,_0x41330e]of this[_0x45be4a(0x183)])if(_0x45be4a(0x9d)!==_0x50fa63&&(this[_0x45be4a(0x18c)][_0x45be4a(0x80)](_0x50fa63,N(_0x41330e)),this[_0x45be4a(0xdd)]=new Map(_0x48e46d(_0x358465)),_0x4f1374)){const _0x417fbc=this[_0x45be4a(0x104)];this[_0x45be4a(0xf1)][_0x45be4a(0x80)](_0x50fa63,this[_0x45be4a(0x9f)](_0x41330e)),this[_0x45be4a(0xd0)][_0x45be4a(0x80)](_0x50fa63,this[_0x45be4a(0x9f)](_0x41330e,_0x417fbc));}this[_0x45be4a(0xa3)]=this[_0x45be4a(0x104)],this[_0x45be4a(0x18c)][_0x45be4a(0x80)](_0x45be4a(0x9d),N(this[_0x45be4a(0x183)][_0x45be4a(0x197)](_0x45be4a(0x9d)))),_0x4f1374&&this[_0x45be4a(0xf1)][_0x45be4a(0x80)](_0x45be4a(0x9d),this[_0x45be4a(0x9f)](this[_0x45be4a(0x183)][_0x45be4a(0x197)](_0x45be4a(0x9d))));for(const [_0x5d13db,_0x1f6706]of _0x21ce8a){const _0x348fe1=this[_0x45be4a(0x183)][_0x45be4a(0x197)](_0x1f6706[_0x45be4a(0x71)]),_0x40f37b=this[_0x45be4a(0x18c)][_0x45be4a(0x197)](_0x1f6706[_0x45be4a(0x71)]),_0x36f6bc=new _0xb51349(this[_0x45be4a(0x76)](_0x1f6706[_0x45be4a(0x18a)],_0x348fe1),this[_0x45be4a(0x76)](_0x1f6706[_0x45be4a(0xa8)],_0x348fe1)),_0x17edae=this[_0x45be4a(0xde)](_0x36f6bc,_0x40f37b);_0x348fe1[_0x45be4a(0x178)][_0x45be4a(0x80)](_0x5d13db,_0x36f6bc),this[_0x45be4a(0xf6)][_0x45be4a(0x80)](_0x5d13db,_0x17edae);}this[_0x45be4a(0x199)](_0x1d69e1,_0x1490fa,_0x4f1374);}[_0x37e4d7(0x199)](_0x58d5ef,_0x356e09,_0x24821e){const _0x15b41b=_0x37e4d7;for(const _0x1493d3 of this[_0x15b41b(0x195)][_0x15b41b(0x107)](_0x58d5ef,_0x356e09))this[_0x15b41b(0xf5)](_0x1493d3,_0x24821e);for(const _0x5c6494 of this[_0x15b41b(0x18c)][_0x15b41b(0xed)]())_0x5c6494[_0x15b41b(0x178)][_0x15b41b(0x153)]();for(const [_0x1e570a,_0x22357a]of this[_0x15b41b(0xf6)]){this[_0x15b41b(0x18c)][_0x15b41b(0x197)](_0x22357a[_0x15b41b(0x145)][_0x15b41b(0x71)])[_0x15b41b(0x178)][_0x15b41b(0x80)](_0x1e570a,_0x22357a[_0x15b41b(0x120)]());}const _0x1ff572=new Map(),_0x32692f=new Map();for(const [_0x46e8fe,_0x4329a4]of this[_0x15b41b(0x18c)])_0x1ff572[_0x15b41b(0x80)](_0x46e8fe,N(_0x4329a4)),_0x32692f[_0x15b41b(0x80)](_0x46e8fe,this[_0x15b41b(0xdd)][_0x15b41b(0x197)](_0x46e8fe));this[_0x15b41b(0x182)](_0x356e09,_0x1ff572,this[_0x15b41b(0xf6)],_0x32692f);}[_0x37e4d7(0x10a)](_0x382b02){const _0x444958=_0x37e4d7,_0x3344c5=Array[_0x444958(0x116)](this[_0x444958(0x119)][_0x444958(0x96)]());_0x3344c5[_0x444958(0x193)]((_0x29b34e,_0x4114d2)=>_0x29b34e-_0x4114d2),_0x3344c5[_0x444958(0x6e)]();for(const _0x3ccf57 of _0x3344c5)if(_0x3ccf57<_0x382b02)return _0x3ccf57;return Number[_0x444958(0x152)];}[_0x37e4d7(0x170)](_0x21ff0c,_0x5f4d03){const _0x20d106=_0x37e4d7,_0x14f91d=Array[_0x20d106(0x116)](_0x5f4d03[_0x20d106(0x178)])[_0x20d106(0x7b)](([_0x477523,_0x22773f])=>[_0x477523,this[_0x20d106(0xde)](_0x22773f,_0x21ff0c)]);_0x21ff0c[_0x20d106(0x178)]=new Map(_0x14f91d);}[_0x37e4d7(0x166)](_0x542860){const _0x50d3a9=_0x37e4d7;for(const _0xc7acc3 of this[_0x50d3a9(0xf6)][_0x50d3a9(0xed)]()){const _0x4770db=_0xc7acc3[_0x50d3a9(0x181)](_0x542860),_0x5e22ac=_0xb51349[_0x50d3a9(0x1a2)](_0x4770db);_0xc7acc3[_0x50d3a9(0x18a)]=_0x5e22ac[_0x50d3a9(0x18a)],_0xc7acc3[_0x50d3a9(0xa8)]=_0x5e22ac[_0x50d3a9(0xa8)];}}[_0x37e4d7(0xf5)](_0x299166,_0x5ab327){const _0x25f750=_0x37e4d7;if(_0x25f750(0x1a7)!=_0x299166[_0x25f750(0x100)]&&_0x25f750(0x106)!=_0x299166[_0x25f750(0x100)]){if(_0x25f750(0x11a)==_0x299166[_0x25f750(0x100)]){const _0x12c12c=_0x299166[_0x25f750(0x94)][_0x25f750(0x145)][_0x25f750(0x71)];this[_0x25f750(0x18c)][_0x25f750(0x192)](_0x12c12c)||(this[_0x25f750(0x18c)][_0x25f750(0x80)](_0x12c12c,P(_0x12c12c,!0x0)),this[_0x25f750(0xdd)][_0x25f750(0x80)](_0x12c12c,{}),_0x5ab327&&this[_0x25f750(0xf1)][_0x25f750(0x80)](_0x12c12c,P(_0x12c12c,!0x0)));}else{if(_0x25f750(0xa2)==_0x299166[_0x25f750(0x100)]||_0x25f750(0x89)==_0x299166[_0x25f750(0x100)]||_0x25f750(0xe5)==_0x299166[_0x25f750(0x100)])return void this[_0x25f750(0xb3)](_0x299166);_0x25f750(0xbd)==_0x299166[_0x25f750(0x100)]&&this[_0x25f750(0xa4)](_0x299166);}if(_0x25f750(0xbd)!==_0x299166[_0x25f750(0x100)]){const _0x408714=this[_0x25f750(0x103)](_0x299166,this[_0x25f750(0x18c)]);_0x408714[_0x25f750(0x114)](),this[_0x25f750(0x166)](_0x408714);}if(_0x5ab327)switch(_0x299166[_0x25f750(0x100)]){case _0x25f750(0x11a):this[_0x25f750(0xbe)](_0x299166);break;case _0x25f750(0x18d):case _0x25f750(0x78):case _0x25f750(0x97):this[_0x25f750(0x1a0)](_0x299166);break;case _0x25f750(0x18f):this[_0x25f750(0x1a6)](_0x299166);break;case _0x25f750(0x15e):this[_0x25f750(0x118)](_0x299166);}}else this[_0x25f750(0x12c)](_0x299166,_0x5ab327);}[_0x37e4d7(0x103)](_0x677fdf,_0x2d800a){const _0x5423cb=_0x37e4d7,_0x29e8d5=_0x677fdf[_0x5423cb(0x120)]();return _0x29e8d5[_0x5423cb(0x12f)]=_0x677fdf[_0x5423cb(0x12f)],this[_0x5423cb(0xac)](_0x29e8d5,_0x2d800a),_0x29e8d5;}[_0x37e4d7(0xfb)](_0x5b8c81){const _0xcf299c=_0x37e4d7;return _0x5b8c81[_0xcf299c(0x7b)](_0x247e29=>{const _0x1ed4ff=_0xcf299c,_0x48b40e=this[_0x1ed4ff(0x113)](_0x247e29);return Number(_0x247e29[_0x1ed4ff(0x124)][_0x1ed4ff(0x175)](_0x48b40e));});}[_0x37e4d7(0x14a)](_0x3b958d,_0x22adc4){const _0x20f593=_0x37e4d7;if(_0x3b958d['is'](_0x20f593(0xe0),_0x20f593(0x8c)))_0x22adc4[_0x20f593(0x84)]({'item':_0x3b958d,'type':_0x20f593(0x109)});else{_0x3b958d['is'](_0x20f593(0xe0))&&_0x22adc4[_0x20f593(0x84)]({'item':_0x3b958d,'type':_0x20f593(0x77)});for(const _0xc08376 of _0x3b958d[_0x20f593(0x90)]())this[_0x20f593(0x14a)](_0xc08376,_0x22adc4);_0x3b958d['is'](_0x20f593(0xe0))&&_0x22adc4[_0x20f593(0x84)]({'item':_0x3b958d,'type':_0x20f593(0x9c)});}return _0x22adc4;}[_0x37e4d7(0x128)](){const _0x5f3ddb=_0x37e4d7,_0xfba83f=new Map(this[_0x5f3ddb(0x167)]),_0x24d9b5=new Map(_0xfba83f),_0x3e72d7=new Map(),_0x2cbd47={'insertions':{},'deletions':{}},_0x21268f={'insertions':{},'deletions':{}},_0x4bf69a=new Map(),_0x13d80e=new Set([...this[_0x5f3ddb(0x183)][_0x5f3ddb(0x96)](),...this[_0x5f3ddb(0x18c)][_0x5f3ddb(0x96)]()]);_0x13d80e[_0x5f3ddb(0x7f)](_0x5f3ddb(0x9d));for(const _0x886e3c of _0x13d80e){const _0x5c678b=this[_0x5f3ddb(0x18c)][_0x5f3ddb(0x197)](_0x886e3c)||P(_0x886e3c,!0x1),_0x420f19=this[_0x5f3ddb(0x183)][_0x5f3ddb(0x197)](_0x886e3c)||P(_0x886e3c,!0x1);_0x5c678b[_0x5f3ddb(0x136)]()||_0x420f19[_0x5f3ddb(0x136)]()?(_0x2cbd47[_0x5f3ddb(0x198)][_0x886e3c]=N(_0x5c678b),_0x2cbd47[_0x5f3ddb(0x191)][_0x886e3c]=N(_0x420f19),this[_0x5f3ddb(0x170)](_0x2cbd47[_0x5f3ddb(0x191)][_0x886e3c],_0x420f19),this[_0x5f3ddb(0x170)](_0x2cbd47[_0x5f3ddb(0x198)][_0x886e3c],_0x5c678b),_0x21268f[_0x5f3ddb(0x198)][_0x886e3c]=this[_0x5f3ddb(0x14a)](this[_0x5f3ddb(0xf1)][_0x5f3ddb(0x197)](_0x886e3c),[]),_0x21268f[_0x5f3ddb(0x191)][_0x886e3c]=this[_0x5f3ddb(0x14a)](this[_0x5f3ddb(0xd0)][_0x5f3ddb(0x197)](_0x886e3c)||P(_0x886e3c,!0x1),[])):_0x13d80e[_0x5f3ddb(0x7f)](_0x886e3c);}for(const _0x3a43fa of _0x13d80e){const _0x2da807=_0x21268f[_0x5f3ddb(0x198)][_0x3a43fa];for(const _0x117157 of _0x2da807){const _0x565f55=this[_0x5f3ddb(0x113)](_0x117157),_0x2f9eee=_0x117157[_0x5f3ddb(0x124)][_0x5f3ddb(0x175)](_0x565f55);_0x24d9b5[_0x5f3ddb(0x7f)](_0x2f9eee),_0x2f9eee>=this[_0x5f3ddb(0xa3)]&&_0x3e72d7[_0x5f3ddb(0x80)](_0x2f9eee,_0xfba83f[_0x5f3ddb(0x197)](_0x2f9eee));}}for(const _0x2e5421 of _0x13d80e){const _0x18615d=_0x21268f[_0x5f3ddb(0x198)][_0x2e5421],_0x497eab=this[_0x5f3ddb(0xfb)](_0x21268f[_0x5f3ddb(0x191)][_0x2e5421]);let _0x238541=0x0;for(const _0x569ce0 of _0x18615d){const _0x33d069=this[_0x5f3ddb(0x113)](_0x569ce0),_0x51dbe9=_0x569ce0[_0x5f3ddb(0x124)][_0x5f3ddb(0x175)](_0x33d069);if(!_0x3e72d7[_0x5f3ddb(0x192)](_0x51dbe9)&&!_0x4bf69a[_0x5f3ddb(0x192)](_0x51dbe9)){if(_0x24d9b5[_0x5f3ddb(0x192)](_0x51dbe9))_0x238541++;else{if(_0x51dbe9!=_0x497eab[_0x238541]){const _0xeb9274=_0xfba83f[_0x5f3ddb(0x197)](_0x51dbe9)||_0xfba83f[_0x5f3ddb(0x197)](_0x497eab[_0x238541]);for(;_0x51dbe9!=_0x497eab[_0x238541];)_0x24d9b5[_0x5f3ddb(0x192)](_0x497eab[_0x238541])||(_0x4bf69a[_0x5f3ddb(0x80)](_0x497eab[_0x238541],_0xeb9274),_0xfba83f[_0x5f3ddb(0x80)](_0x497eab[_0x238541],_0xeb9274)),_0x238541++;}_0x238541++;}}}}for(const _0x3eee4e of _0x13d80e){const _0x4cbb3c=_0x21268f[_0x5f3ddb(0x198)][_0x3eee4e];for(const _0x58abfd of _0x4cbb3c){const _0x1a1a66=this[_0x5f3ddb(0x113)](_0x58abfd),_0x20e7b7=_0x58abfd[_0x5f3ddb(0x124)][_0x5f3ddb(0x175)](_0x1a1a66);if(_0x4bf69a[_0x5f3ddb(0x192)](_0x20e7b7)){const _0x3e6f6a=_0x4bf69a[_0x5f3ddb(0x197)](_0x20e7b7);_0x24d9b5[_0x5f3ddb(0x192)](_0x20e7b7)||_0x24d9b5[_0x5f3ddb(0x80)](_0x20e7b7,{..._0x3e6f6a}),_0x3e72d7[_0x5f3ddb(0x80)](_0x20e7b7,{..._0x3e6f6a});}}}for(const _0x8b84b of _0x24d9b5[_0x5f3ddb(0x96)]())_0x8b84b>=this[_0x5f3ddb(0xa3)]&&_0x24d9b5[_0x5f3ddb(0x7f)](_0x8b84b);const _0x2ef517=new Map();for(const _0x4ebe4a of _0x13d80e){let _0x379fb8=_0x21268f[_0x5f3ddb(0x198)][_0x4ebe4a];for(const _0x4c8409 of _0x379fb8)if(_0x4c8409[_0x5f3ddb(0x124)]['is'](_0x5f3ddb(0xe0),_0x5f3ddb(0x108))){const _0xd8598d=this[_0x5f3ddb(0x113)](_0x4c8409),_0x289ac5=_0x4c8409[_0x5f3ddb(0x124)][_0x5f3ddb(0x175)](_0xd8598d);if(_0x3e72d7[_0x5f3ddb(0x192)](_0x289ac5)){const _0x5a6e85=_0x4c8409[_0x5f3ddb(0x124)][_0x5f3ddb(0xb5)][_0x5f3ddb(0xb5)][_0x5f3ddb(0x175)](_0x5f3ddb(0x172)),_0x1b8ea9=_0x2ef517[_0x5f3ddb(0x197)](_0x5a6e85)||new Set();_0x1b8ea9[_0x5f3ddb(0x1a4)](_0x3e72d7[_0x5f3ddb(0x197)](_0x289ac5)[_0x5f3ddb(0xe2)]),_0x2ef517[_0x5f3ddb(0x80)](_0x5a6e85,_0x1b8ea9);}}_0x379fb8=_0x21268f[_0x5f3ddb(0x191)][_0x4ebe4a];for(const _0x232d16 of _0x379fb8)if(_0x232d16[_0x5f3ddb(0x124)]['is'](_0x5f3ddb(0xe0),_0x5f3ddb(0x108))){const _0x71ff61=this[_0x5f3ddb(0x113)](_0x232d16),_0x266d16=_0x232d16[_0x5f3ddb(0x124)][_0x5f3ddb(0x175)](_0x71ff61);if(_0x24d9b5[_0x5f3ddb(0x192)](_0x266d16)){const _0x2c84c0=_0x232d16[_0x5f3ddb(0x124)][_0x5f3ddb(0xb5)][_0x5f3ddb(0xb5)][_0x5f3ddb(0x175)](_0x5f3ddb(0x172)),_0x4975f8=_0x2ef517[_0x5f3ddb(0x197)](_0x2c84c0)||new Set();_0x4975f8[_0x5f3ddb(0x1a4)](_0x24d9b5[_0x5f3ddb(0x197)](_0x266d16)[_0x5f3ddb(0xe2)]),_0x2ef517[_0x5f3ddb(0x80)](_0x2c84c0,_0x4975f8);}}for(const _0x23b65c of _0x2ef517[_0x5f3ddb(0x96)]())(_0x3e72d7[_0x5f3ddb(0x192)](_0x23b65c)||_0x24d9b5[_0x5f3ddb(0x192)](_0x23b65c))&&_0x2ef517[_0x5f3ddb(0x7f)](_0x23b65c);}for(const _0x708e27 of _0x13d80e){const _0x4f1f78=_0x21268f[_0x5f3ddb(0x198)][_0x708e27];let _0x52d302=null,_0x41ef1e=null;for(const _0x209f3e of _0x4f1f78){const _0x7647a5=this[_0x5f3ddb(0x113)](_0x209f3e),_0x2f6f90=_0x209f3e[_0x5f3ddb(0x124)][_0x5f3ddb(0x175)](_0x7647a5),_0x51f712=_0x2ef517[_0x5f3ddb(0x197)](_0x2f6f90);_0x51f712&&_0x5f3ddb(0x77)==_0x209f3e[_0x5f3ddb(0x100)]&&(_0x52d302=Array[_0x5f3ddb(0x116)](_0x51f712)[0x0],_0x41ef1e=_0x209f3e[_0x5f3ddb(0x124)][_0x5f3ddb(0x175)](_0x5f3ddb(0x164))),_0x52d302&&(_0x24d9b5[_0x5f3ddb(0x80)](_0x2f6f90,{'userId':_0x52d302}),_0x3e72d7[_0x5f3ddb(0x80)](_0x2f6f90,{'userId':_0x52d302})),_0x2f6f90==_0x41ef1e&&(_0x52d302=null,_0x41ef1e=null);}}const _0xd3ba62={},_0xba5dff=new Set();for(const _0x1a9f34 of _0x13d80e){const _0x1f57a8=_0x2cbd47[_0x5f3ddb(0x191)][_0x1a9f34],_0x197eb4=_0x2cbd47[_0x5f3ddb(0x198)][_0x1a9f34];for(const {userId:_0x2294e8}of this[_0x5f3ddb(0x129)][_0x5f3ddb(0xed)]())null!==_0x2294e8&&_0xba5dff[_0x5f3ddb(0x1a4)](_0x2294e8);for(const {userId:_0xfd0d6c}of this[_0x5f3ddb(0x95)][_0x5f3ddb(0xed)]())null!==_0xfd0d6c&&_0xba5dff[_0x5f3ddb(0x1a4)](_0xfd0d6c);this[_0x5f3ddb(0xf8)](_0x197eb4,_0x21268f[_0x5f3ddb(0x198)][_0x1a9f34],_0x3e72d7,_0x5f3ddb(0x73),_0xba5dff),this[_0x5f3ddb(0xf8)](_0x1f57a8,_0x21268f[_0x5f3ddb(0x191)][_0x1a9f34],_0x24d9b5,_0x5f3ddb(0x1aa),_0xba5dff),_0xd3ba62[_0x1a9f34]={'insertions':this[_0x5f3ddb(0xb1)](_0x197eb4),'deletions':this[_0x5f3ddb(0xb1)](_0x1f57a8),'attachChange':this[_0x5f3ddb(0x95)][_0x5f3ddb(0x197)](_0x1a9f34)||null,'attributesBefore':_0x48e46d(this[_0x5f3ddb(0x126)][_0x5f3ddb(0x197)](_0x1a9f34))||{},'attributesAfter':_0x48e46d(this[_0x5f3ddb(0xdd)][_0x5f3ddb(0x197)](_0x1a9f34))};}return{'diffData':_0xd3ba62,'authorsIds':Array[_0x5f3ddb(0x116)](_0xba5dff)};}[_0x37e4d7(0xaa)](_0x52d80f){const _0x542a63=_0x37e4d7;for(const [,_0x1f808d]of _0x52d80f[_0x542a63(0x178)]){const _0x1aa337=_0x1f808d[_0x542a63(0x18a)][_0x542a63(0x102)]()[_0x542a63(0x196)](_0x550213=>_0x542a63(0x108)==_0x550213[_0x542a63(0x86)]);for(const _0x59b39c of _0x1aa337)0x1==_0x59b39c[_0x542a63(0x15f)]&&_0x59b39c[_0x542a63(0x6d)](0x0)['is'](_0x542a63(0xe0),_0x542a63(0x168))&&_0x59b39c[_0x542a63(0x6d)](0x0)[_0x542a63(0x16d)](_0x542a63(0x171),!0x0);}}[_0x37e4d7(0xb1)](_0x4160ce){const _0x3bd2c2=_0x37e4d7;this[_0x3bd2c2(0xaa)](_0x4160ce);const _0xf089f=this[_0x3bd2c2(0x134)][_0x3bd2c2(0x8b)][_0x3bd2c2(0xe7)](_0x4160ce,{}),_0x465e00=Array[_0x3bd2c2(0x116)](_0xf089f[_0x3bd2c2(0x90)]())[_0x3bd2c2(0x7b)](_0x2247e4=>this[_0x3bd2c2(0xf4)](_0x2247e4));return JSON[_0x3bd2c2(0x186)](_0x465e00);}[_0x37e4d7(0xf4)](_0x2917fb){const _0x404901=_0x37e4d7;if(_0x2917fb['is'](_0x404901(0x8c)))return _0x2917fb[_0x404901(0x8b)];{const _0x4e21f8=this[_0x404901(0x134)][_0x404901(0x15a)][_0x404901(0x197)](_0x404901(0x19e)),_0x5d7118=_0x2917fb,_0xc4f4fd=this[_0x404901(0x134)][_0x404901(0x8b)][_0x404901(0xe1)][_0x404901(0x10c)],_0x386ff0={'type':_0x4e21f8[_0x404901(0x12e)](_0x5d7118),'name':_0x5d7118[_0x404901(0x86)],'attributes':Array[_0x404901(0x116)](_0x5d7118[_0x404901(0x117)]()),'children':Array[_0x404901(0x116)](_0x5d7118[_0x404901(0x90)]())[_0x404901(0x7b)](_0x5a3443=>this[_0x404901(0xf4)](_0x5a3443))};if(_0x2917fb['is'](_0x404901(0x156))&&_0x404901(0xf2)!=_0x2917fb[_0x404901(0x86)]){const _0xf1b0f3=_0x2917fb[_0x404901(0x1a5)](_0xc4f4fd[_0x404901(0xee)],_0xc4f4fd);_0x386ff0[_0x404901(0x19d)][_0x404901(0x84)](_0xf1b0f3[_0x404901(0xf3)]);}else{if(_0x2917fb['is'](_0x404901(0x17d))){const _0x35d252=_0xc4f4fd[_0x404901(0xee)][_0x404901(0x13b)](_0x5d7118[_0x404901(0x86)]);_0x2917fb[_0x404901(0x1a5)](_0x35d252,_0xc4f4fd),_0x386ff0[_0x404901(0x19d)][_0x404901(0x84)](_0x35d252[_0x404901(0x143)]);}}const _0x25db69=Array[_0x404901(0x116)](_0x5d7118[_0x404901(0xfc)]());_0x25db69[_0x404901(0x188)]>0x0&&(_0x386ff0[_0x404901(0xd4)]=_0x25db69);const _0x29236a=_0x5d7118[_0x404901(0xd7)]();return null!==_0x29236a&&(_0x386ff0[_0x404901(0xc1)]=_0x29236a),_0x386ff0;}}[_0x37e4d7(0xf8)](_0x31bdda,_0x479bb5,_0x35d4a9,_0x8fad61,_0x34f9f6){const _0x2c602d=_0x37e4d7;let _0x1b9496=null,_0x5ba944=null,_0x3a00bf=0x0;const _0x36e449=this[_0x2c602d(0x134)][_0x2c602d(0xa5)];for(let _0x32b1eb=0x0;_0x32b1eb<_0x479bb5[_0x2c602d(0x188)];_0x32b1eb++){const _0x1c640c=this[_0x2c602d(0x113)](_0x479bb5[_0x32b1eb]),_0x248ac3=_0x479bb5[_0x32b1eb][_0x2c602d(0x124)][_0x2c602d(0x175)](_0x1c640c),_0x1d02cb=_0x35d4a9[_0x2c602d(0x197)](_0x248ac3),_0x4f859e=_0x32b1eb==_0x479bb5[_0x2c602d(0x188)]-0x1;(!_0x1b9496&&_0x1d02cb&&(_0x1b9496=_0x1d02cb,_0x5ba944=_0x479bb5[_0x32b1eb]),_0x1b9496&&(!_0x1d02cb||_0x1d02cb[_0x2c602d(0xe2)]!=_0x1b9496[_0x2c602d(0xe2)]))&&(_0x36f057(_0x1d02cb,F(_0x5ba944,_0x31bdda,_0x36e449),F(_0x479bb5[_0x32b1eb],_0x31bdda,_0x36e449)),_0x1b9496=_0x1d02cb||null,_0x5ba944=_0x1d02cb?_0x479bb5[_0x32b1eb]:null),_0x1b9496&&_0x4f859e&&_0x36f057(_0x1d02cb,F(_0x5ba944,_0x31bdda,_0x36e449),B(_0x479bb5[_0x32b1eb],_0x31bdda,_0x36e449));}function _0x36f057(_0x1d9f3f,_0x2bf700,_0x1623ee){const _0x587a14=_0x2c602d,_0x588b89=_0x1b9496[_0x587a14(0xe2)],_0x4749b5=_0x587a14(0x9b)+_0x8fad61+':'+_0x588b89+':'+_0x3a00bf++,_0x3b8934=_0x36e449[_0x587a14(0xab)](_0x2bf700,_0x1623ee);_0x31bdda[_0x587a14(0x178)][_0x587a14(0x80)](_0x4749b5,_0x3b8934),null!==_0x588b89&&_0x34f9f6[_0x587a14(0x1a4)](_0x588b89);}}[_0x37e4d7(0x113)](_0x1e7962){const _0x49edd9=_0x37e4d7;switch(_0x1e7962[_0x49edd9(0x100)]){case _0x49edd9(0x77):return _0x49edd9(0x172);case _0x49edd9(0x9c):return _0x49edd9(0x164);default:return _0x49edd9(0x160);}}[_0x37e4d7(0xac)](_0x690577,_0x31442b){const _0x132d30=_0x37e4d7;_0x690577[_0x132d30(0x138)]=null;for(const _0x4fde57 in _0x690577){const _0x731a38=_0x690577[_0x4fde57];if(_0x731a38 instanceof _0x11d37c){const _0x14d8cb=_0x31442b[_0x132d30(0x197)](_0x731a38[_0x132d30(0x145)][_0x132d30(0x71)]);_0x690577[_0x4fde57]=this[_0x132d30(0x76)](_0x731a38,_0x14d8cb);}if(_0x731a38 instanceof _0xb51349){const _0x2cc972=_0x31442b[_0x132d30(0x197)](_0x731a38[_0x132d30(0x145)][_0x132d30(0x71)]);_0x690577[_0x4fde57]=this[_0x132d30(0xde)](_0x731a38,_0x2cc972);}_0x132d30(0x145)===_0x4fde57&&(_0x690577[_0x132d30(0x145)]=_0x31442b[_0x132d30(0x197)](_0x690577[_0x132d30(0x145)][_0x132d30(0x71)]));}}[_0x37e4d7(0xde)](_0x533d35,_0xabeaf2){const _0x63ecfe=_0x37e4d7;return this[_0x63ecfe(0x134)][_0x63ecfe(0xa5)][_0x63ecfe(0xab)](this[_0x63ecfe(0x76)](_0x533d35[_0x63ecfe(0x18a)],_0xabeaf2),this[_0x63ecfe(0x76)](_0x533d35[_0x63ecfe(0xa8)],_0xabeaf2));}[_0x37e4d7(0x76)](_0x153dd2,_0x5baca8){const _0x33f74b=_0x37e4d7;return this[_0x33f74b(0x134)][_0x33f74b(0xa5)][_0x33f74b(0x16f)](_0x5baca8,_0x153dd2[_0x33f74b(0x7c)],_0x153dd2[_0x33f74b(0xb0)]);}[_0x37e4d7(0xbe)](_0x3d06dc){const _0x440f1b=_0x37e4d7,_0x2f7b43=this[_0x440f1b(0xf1)][_0x440f1b(0x197)](_0x3d06dc[_0x440f1b(0x94)][_0x440f1b(0x145)][_0x440f1b(0x71)]),_0x4c2e8f=this[_0x440f1b(0x76)](_0x3d06dc[_0x440f1b(0x94)],_0x2f7b43),_0x1024ee=null===_0x3d06dc[_0x440f1b(0x12f)]?null:_0x3d06dc[_0x440f1b(0x12f)]||this[_0x440f1b(0x134)][_0x440f1b(0x15a)][_0x440f1b(0x197)](_0x440f1b(0x13f))['me']['id'],_0x5bb28f=_0x4c2e8f[_0x440f1b(0xb5)],_0x567e61=this[_0x440f1b(0x104)],_0x4464b7=[];for(const _0x1d2456 of _0x3d06dc[_0x440f1b(0xf0)])if(_0x1d2456['is'](_0x440f1b(0xe0)))_0x4464b7[_0x440f1b(0x84)](this[_0x440f1b(0x9f)](_0x1d2456));else{for(let _0x3d9b19=0x0;_0x3d9b19<_0x1d2456[_0x440f1b(0x1a9)];_0x3d9b19++)_0x4464b7[_0x440f1b(0x84)](new _0x44b2d6(_0x440f1b(0x8c),{'vid':this[_0x440f1b(0x104)]++}));}const _0x19007d=this[_0x440f1b(0x104)];for(let _0x1e32a1=_0x567e61;_0x1e32a1<_0x19007d;_0x1e32a1++)this[_0x440f1b(0x167)][_0x440f1b(0x80)](_0x1e32a1,{'userId':_0x1024ee});_0x5bb28f[_0x440f1b(0x11e)](_0x4c2e8f[_0x440f1b(0x7d)],_0x4464b7);}[_0x37e4d7(0x1a0)](_0x3d4422){const _0x480b65=_0x37e4d7;(_0x3d4422=this[_0x480b65(0x103)](_0x3d4422,this[_0x480b65(0xf1)]))[_0x480b65(0x114)]();const _0x400739=null===_0x3d4422[_0x480b65(0x12f)]?null:_0x3d4422[_0x480b65(0x12f)]||this[_0x480b65(0x134)][_0x480b65(0x15a)][_0x480b65(0x197)](_0x480b65(0x13f))['me']['id'],_0x533054=_0x3d4422[_0x480b65(0x88)](),_0x5bc223=_0x533054[_0x480b65(0xb5)],_0x8d31fe=_0x533054[_0x480b65(0x7d)];!function _0x5e43d0(_0x43ecdd,_0x43de8b,_0x1f1363,_0x515d84){const _0x1cd075=_0x480b65;for(let _0x465f41=_0x1f1363;_0x465f41<_0x515d84;_0x465f41++){const _0x43b6d7=_0x43de8b[_0x1cd075(0x6d)](_0x465f41);_0x43b6d7['is'](_0x1cd075(0xe0),_0x1cd075(0x8c))?_0x43ecdd[_0x1cd075(0x80)](_0x43b6d7[_0x1cd075(0x175)](_0x1cd075(0x160)),{'userId':_0x400739}):(_0x43ecdd[_0x1cd075(0x80)](_0x43b6d7[_0x1cd075(0x175)](_0x1cd075(0x172)),{'userId':_0x400739}),_0x5e43d0(_0x43ecdd,_0x43b6d7,0x0,_0x43b6d7[_0x1cd075(0x15f)]),_0x43ecdd[_0x1cd075(0x80)](_0x43b6d7[_0x1cd075(0x175)](_0x1cd075(0x164)),{'userId':_0x400739}));}}(this[_0x480b65(0x167)],_0x5bc223,_0x8d31fe,_0x8d31fe+_0x3d4422[_0x480b65(0x135)]);}[_0x37e4d7(0x1a6)](_0x57c2b3){const _0x3c690e=_0x37e4d7,_0x577815=null===(_0x57c2b3=this[_0x3c690e(0x103)](_0x57c2b3,this[_0x3c690e(0xf1)]))[_0x3c690e(0x12f)]?null:_0x57c2b3[_0x3c690e(0x12f)]||this[_0x3c690e(0x134)][_0x3c690e(0x15a)][_0x3c690e(0x197)](_0x3c690e(0x13f))['me']['id'],_0x30d63b=_0x57c2b3[_0x3c690e(0x81)][_0x3c690e(0xb5)],_0x31cc5f=_0x57c2b3[_0x3c690e(0x15d)][_0x3c690e(0xb5)],_0x477cb0=_0x30d63b[_0x3c690e(0x175)](_0x3c690e(0x164)),_0x1e58e6=_0x31cc5f[_0x3c690e(0x175)](_0x3c690e(0x172));_0x30d63b[_0x3c690e(0x16d)](_0x3c690e(0x164),_0x31cc5f[_0x3c690e(0x175)](_0x3c690e(0x164))),_0x31cc5f[_0x3c690e(0x16d)](_0x3c690e(0x164),_0x477cb0),this[_0x3c690e(0x167)][_0x3c690e(0x80)](_0x1e58e6,{'userId':_0x577815}),this[_0x3c690e(0x167)][_0x3c690e(0x80)](_0x477cb0,{'userId':_0x577815}),_0x57c2b3[_0x3c690e(0x114)]();}[_0x37e4d7(0x118)](_0x50c31a){const _0x2da5ec=_0x37e4d7,_0x128854=null===(_0x50c31a=this[_0x2da5ec(0x103)](_0x50c31a,this[_0x2da5ec(0xf1)]))[_0x2da5ec(0x12f)]?null:_0x50c31a[_0x2da5ec(0x12f)]||this[_0x2da5ec(0x134)][_0x2da5ec(0x15a)][_0x2da5ec(0x197)](_0x2da5ec(0x13f))['me']['id'],_0x2749a6=_0x50c31a[_0x2da5ec(0x176)],_0x4c76c=_0x50c31a[_0x2da5ec(0x157)][_0x2da5ec(0xb5)];_0x50c31a[_0x2da5ec(0x114)]();const _0x1a1916=_0x4c76c[_0x2da5ec(0x175)](_0x2da5ec(0x164)),_0x4ec256=_0x50c31a[_0x2da5ec(0x13c)][_0x2da5ec(0x154)];if(_0x2749a6){const _0x2edcbd=_0x4ec256[_0x2da5ec(0x175)](_0x2da5ec(0x164)),_0x42c9cb=_0x4c76c[_0x2da5ec(0x175)](_0x2da5ec(0x164));_0x4c76c[_0x2da5ec(0x16d)](_0x2da5ec(0x164),_0x2edcbd),_0x4ec256[_0x2da5ec(0x16d)](_0x2da5ec(0x164),_0x42c9cb),this[_0x2da5ec(0x167)][_0x2da5ec(0x80)](_0x4c76c[_0x2da5ec(0x175)](_0x2da5ec(0x164)),{'userId':_0x128854}),this[_0x2da5ec(0x167)][_0x2da5ec(0x80)](_0x4ec256[_0x2da5ec(0x175)](_0x2da5ec(0x172)),{'userId':_0x128854});}else{const _0x4e9f1d=this[_0x2da5ec(0x104)]++,_0xd4b888=this[_0x2da5ec(0x104)]++;_0x4c76c[_0x2da5ec(0x16d)](_0x2da5ec(0x164),_0x4e9f1d),_0x4ec256[_0x2da5ec(0x16d)](_0x2da5ec(0x172),_0xd4b888),_0x4ec256[_0x2da5ec(0x16d)](_0x2da5ec(0x164),_0x1a1916),this[_0x2da5ec(0x167)][_0x2da5ec(0x80)](_0x4e9f1d,{'userId':_0x128854}),this[_0x2da5ec(0x167)][_0x2da5ec(0x80)](_0xd4b888,{'userId':_0x128854});}}[_0x37e4d7(0xa4)](_0xe4279c){const _0x723c57=_0x37e4d7;if(!_0xe4279c[_0x723c57(0x139)])return;const _0x5c5ed8=(_0xe4279c=this[_0x723c57(0x103)](_0xe4279c,this[_0x723c57(0x18c)]))[_0x723c57(0xa6)]?_0xe4279c[_0x723c57(0xa6)][_0x723c57(0x145)]:null,_0xf89ec1=_0xe4279c[_0x723c57(0x12b)]?_0xe4279c[_0x723c57(0x12b)][_0x723c57(0x145)]:null;_0x5c5ed8&&this[_0x723c57(0xf6)][_0x723c57(0x7f)](_0xe4279c[_0x723c57(0x86)]),_0xf89ec1&&this[_0x723c57(0xf6)][_0x723c57(0x80)](_0xe4279c[_0x723c57(0x86)],_0xe4279c[_0x723c57(0x12b)][_0x723c57(0x120)]());const _0x2a6567=null===_0xe4279c[_0x723c57(0x12f)]?null:_0xe4279c[_0x723c57(0x12f)]||this[_0x723c57(0x134)][_0x723c57(0x15a)][_0x723c57(0x197)](_0x723c57(0x13f))['me']['id'],_0x33068c=_0xe4279c[_0x723c57(0x86)];if(!this[_0x723c57(0x129)][_0x723c57(0x192)](_0x33068c))return void this[_0x723c57(0x129)][_0x723c57(0x80)](_0x33068c,{'range':_0xe4279c[_0x723c57(0xa6)],'userId':_0x2a6567});const _0x1f9e17=this[_0x723c57(0x129)][_0x723c57(0x197)](_0x33068c),_0x4e6e0a=_0x1f9e17[_0x723c57(0xc0)],_0x425e71=_0xe4279c[_0x723c57(0x12b)];null==_0x4e6e0a&&null==_0x425e71||_0x4e6e0a&&_0x425e71&&_0x4e6e0a[_0x723c57(0xc2)](_0x425e71)?this[_0x723c57(0x129)][_0x723c57(0x7f)](_0xe4279c[_0x723c57(0x86)]):_0x1f9e17[_0x723c57(0xe2)]=_0x2a6567;}[_0x37e4d7(0x12c)](_0x25d37d,_0x3eb751){const _0x5a67a8=_0x37e4d7;this[_0x5a67a8(0x18c)][_0x5a67a8(0x192)](_0x25d37d[_0x5a67a8(0x71)])?this[_0x5a67a8(0x18c)][_0x5a67a8(0x197)](_0x25d37d[_0x5a67a8(0x71)])[_0x5a67a8(0x17e)]=_0x25d37d[_0x5a67a8(0x146)]:(this[_0x5a67a8(0x18c)][_0x5a67a8(0x80)](_0x25d37d[_0x5a67a8(0x71)],P(_0x25d37d[_0x5a67a8(0x71)],!0x0)),this[_0x5a67a8(0xdd)][_0x5a67a8(0x80)](_0x25d37d[_0x5a67a8(0x71)],{}),_0x3eb751&&this[_0x5a67a8(0xf1)][_0x5a67a8(0x80)](_0x25d37d[_0x5a67a8(0x71)],P(_0x25d37d[_0x5a67a8(0x71)],!0x0)));const _0x209d45=null===_0x25d37d[_0x5a67a8(0x12f)]?null:_0x25d37d[_0x5a67a8(0x12f)]||this[_0x5a67a8(0x134)][_0x5a67a8(0x15a)][_0x5a67a8(0x197)](_0x5a67a8(0x13f))['me']['id'],_0x24caf7=this[_0x5a67a8(0x95)][_0x5a67a8(0x197)](_0x25d37d[_0x5a67a8(0x71)]);_0x24caf7&&_0x24caf7[_0x5a67a8(0xe2)]===_0x209d45?this[_0x5a67a8(0x95)][_0x5a67a8(0x7f)](_0x25d37d[_0x5a67a8(0x71)]):this[_0x5a67a8(0x95)][_0x5a67a8(0x80)](_0x25d37d[_0x5a67a8(0x71)],{'userId':_0x209d45,'isAttached':_0x25d37d[_0x5a67a8(0x146)]});}[_0x37e4d7(0xb3)](_0x51ea0b){const _0x23592f=_0x37e4d7,_0x3363ad=this[_0x23592f(0xdd)][_0x23592f(0x197)](_0x51ea0b[_0x23592f(0x145)][_0x23592f(0x71)]);null===_0x51ea0b[_0x23592f(0xfd)]?delete _0x3363ad[_0x51ea0b[_0x23592f(0xbc)]]:_0x3363ad[_0x51ea0b[_0x23592f(0xbc)]]=_0x51ea0b[_0x23592f(0xfd)];}}function N(_0x21a4df){const _0x4e0653=_0x37e4d7,_0x527e52=P(_0x21a4df[_0x4e0653(0x71)],_0x21a4df[_0x4e0653(0x136)]());for(const _0x315f98 of _0x21a4df[_0x4e0653(0x90)]()){const _0x33e410=_0x315f98[_0x4e0653(0x161)](!0x0);_0x527e52[_0x4e0653(0xaf)](_0x33e410);}return _0x527e52;}function P(_0x4bfd7c,_0x2e2390=!0x0){const _0x3fcec3=_0x37e4d7,_0x842403=new _0x198715();return _0x842403[_0x3fcec3(0x71)]=_0x4bfd7c,_0x842403[_0x3fcec3(0x17e)]=_0x2e2390,_0x842403[_0x3fcec3(0x136)]=()=>_0x842403[_0x3fcec3(0x17e)],_0x842403;}function F(_0x30b783,_0x42589c,_0x15e05b){const _0x39dcbc=_0x37e4d7,_0xe6a04e=_0x39dcbc(0x9c)==_0x30b783[_0x39dcbc(0x100)]?_0x15e05b[_0x39dcbc(0xb8)](_0x30b783[_0x39dcbc(0x124)],_0x39dcbc(0xa8)):_0x15e05b[_0x39dcbc(0x6f)](_0x30b783[_0x39dcbc(0x124)]);return _0x15e05b[_0x39dcbc(0x16f)](_0x42589c,_0xe6a04e[_0x39dcbc(0x7c)],_0xe6a04e[_0x39dcbc(0xb0)]);}function B(_0x2f6c5a,_0x618867,_0x33593a){const _0x377050=_0x37e4d7,_0x33d03b=_0x377050(0x77)==_0x2f6c5a[_0x377050(0x100)]?_0x33593a[_0x377050(0xb8)](_0x2f6c5a[_0x377050(0x124)],0x0):_0x33593a[_0x377050(0xad)](_0x2f6c5a[_0x377050(0x124)]);return _0x33593a[_0x377050(0x16f)](_0x618867,_0x33d03b[_0x377050(0x7c)],_0x33d03b[_0x377050(0xb0)]);}
@@ -10,14 +10,13 @@ import { ContextualBalloon } from 'ckeditor5/src/ui.js';
10
10
  import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
11
11
  import ChangeDetailsView from './ui/revisionviewer/changedetailsview.js';
12
12
  import RevisionsRepository from './revisionsrepository.js';
13
+ import RevisionHistoryUtils from './revisionhistoryutils.js';
13
14
  import ChangeItem from './changeitem.js';
14
15
  import { default as RevisionDiff } from './revisiondiff.js';
15
16
  import '../theme/revisionviewer.css';
16
- import type { RevisionHistoryAdapter } from './revisionhistoryadapter.js';
17
17
  import type { default as Revision, RevisionJSON } from './revision.js';
18
18
  export default class RevisionViewer extends Plugin {
19
19
  repository: RevisionsRepository;
20
- adapter: RevisionHistoryAdapter | null;
21
20
  /**
22
21
  * @observable
23
22
  */
@@ -59,14 +58,49 @@ export default class RevisionViewer extends Plugin {
59
58
  * @inheritDoc
60
59
  */
61
60
  static get isPremiumPlugin(): true;
62
- static get requires(): readonly [typeof Users, typeof ContextualBalloon, typeof RevisionsRepository];
61
+ static get requires(): readonly [typeof Users, typeof ContextualBalloon, typeof RevisionsRepository, typeof RevisionHistoryUtils];
63
62
  constructor(editor: Editor);
64
63
  init(): void;
65
- getRevisionData(revision: Revision): Promise<Record<string, string>>;
64
+ /**
65
+ * Returns document data for given revision.
66
+ *
67
+ * The document data is HTML or a different format, depending on the editor configuration.
68
+ *
69
+ * This method returns a promise which resolves with an object, where keys are root names and values are these roots' data. Most
70
+ * editor setups use just one root, which has the default name `main`. In this case, the promise will resolve with an object
71
+ * similar to this:
72
+ *
73
+ * ```ts
74
+ * { main: "<p>Sample document data.</p>" }
75
+ * ```
76
+ *
77
+ * If the adapter integration is used, this method will automatically load necessary
78
+ * {@link module:revision-history/revision~Revision#diffData `Revision#diffData`} if it is missing.
79
+ *
80
+ * Please note, that the data returned by this method uses
81
+ * {@link module:engine/dataprocessor/dataprocessor~DataProcessor#useFillerType marked fillers mode}. This means that some `&nbsp;`
82
+ * characters in the returned data may be wrapped with `<span data-cke-filler="true">&nbsp;</span>`. Take this difference into
83
+ * consideration if you plan to compare revision data with the data returned by `editor.getData()`.
84
+ *
85
+ * See also {@link module:revision-history/revisionviewer~RevisionViewer#getRevisionRootsAttributes}.
86
+ */
87
+ getRevisionDocumentData(revision: Revision): Promise<Record<string, string>>;
88
+ /**
89
+ * Returns roots attributes for given revision.
90
+ *
91
+ * This method returns a promise which resolves with an object, where keys are root names and values are these roots' attributes.
92
+ * Most editor setups use just one root, which has the default name `main`. In this case, the promise will resolve with an object
93
+ * similar to this:
94
+ *
95
+ * ```ts
96
+ * { main: {} }
97
+ * ```
98
+ *
99
+ * See also {@link module:revision-history/revisionviewer~RevisionViewer#getRevisionDocumentData}.
100
+ */
66
101
  getRevisionRootsAttributes(revision: Revision): Promise<Record<string, Record<string, unknown>>>;
67
102
  compare(newRevisionOrId: Revision | string, oldRevisionOrId: Revision | string, forceCompare?: boolean): Promise<unknown>;
68
103
  addRevisionData(revisionData: RevisionJSON, updateCallback: (updateObj: RevisionJSON, isFromAdapter: boolean, revision: Revision) => void): Revision;
69
- loadRevisionData(revision: Revision): Promise<any>;
70
104
  private _removeMissingPairs;
71
105
  }
72
106
  export declare class RestoreRevisionCommand extends Command {