@ckeditor/ckeditor5-revision-history 44.3.0 → 45.0.0-alpha.1

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 _0xefa7bd=_0x4c8f;(function(_0x46f113,_0xd2155a){const _0x3ec53f=_0x4c8f,_0x27dffb=_0x46f113();while(!![]){try{const _0x5a565f=parseInt(_0x3ec53f(0x275))/0x1+parseInt(_0x3ec53f(0x237))/0x2*(parseInt(_0x3ec53f(0x229))/0x3)+-parseInt(_0x3ec53f(0x1ef))/0x4+-parseInt(_0x3ec53f(0x1f7))/0x5*(parseInt(_0x3ec53f(0x26b))/0x6)+parseInt(_0x3ec53f(0x26e))/0x7+-parseInt(_0x3ec53f(0x22c))/0x8*(parseInt(_0x3ec53f(0x24c))/0x9)+-parseInt(_0x3ec53f(0x228))/0xa*(-parseInt(_0x3ec53f(0x20d))/0xb);if(_0x5a565f===_0xd2155a)break;else _0x27dffb['push'](_0x27dffb['shift']());}catch(_0x16299f){_0x27dffb['push'](_0x27dffb['shift']());}}}(_0x3c74,0xea62f));import{Plugin as _0x240fb9}from'ckeditor5/src/core.js';import{CKEditorError as _0x5a03e9,uid as _0x459702}from'ckeditor5/src/utils.js';import _0xc6bf62 from'./revisiontracker.js';import _0x5d401c from'./ui/revisionhistory/revisionhistoryui.js';import _0x517c78 from'./revisionviewer.js';function _0x4c8f(_0x36edf7,_0x4ca9cc){const _0x3c74fc=_0x3c74();return _0x4c8f=function(_0x4c8fa6,_0x383fdd){_0x4c8fa6=_0x4c8fa6-0x1e4;let _0x21a438=_0x3c74fc[_0x4c8fa6];return _0x21a438;},_0x4c8f(_0x36edf7,_0x4ca9cc);}function _0x3c74(){const _0x2634b6=['20BMChCt','from','Annotations','_showRevisionViewer','revision-history-missing-configuration','then','exitToEditing','_closeRevisionViewer','toLocaleTimeString','_cleanUp','_update','getRevision','markers','restrictedEditingException','_enhanceShowRevisionViewerCallback','model','RestrictedEditingMode','users','isPremiumPlugin','join','_enhanceCloseRevisionViewerCallback','keys','47597UuPqnq','save','includes','refreshVisibility','_getRevisionViewerEditorConfig','showRevisionViewerCallback','_restoreRevision','get','getUser','createRangeIn','getRoot','changesNavigation','result','roots','enqueueChange','destroy','bind','map','revisionHistory.viewerContainer','end','data','saveRevision','setAttribute','translations','isOfficialPlugin','Dialog','setSelection','3940jqkXDw','40773FQoMSm','indexOf','_recalculatePageBreaks','470584oaOAHk','RevisionHistoryUI','removeAttribute','isAnonymous','Restored','_viewerEditor','editor','lazyRoots','Autosave','toVersion','toolbar','14wNzWlk','fromVersion','push','commands','revisionHistory.editorContainer','detachRoot','addRevisionData','selection','$graveyard','revisionHistory.closeRevisionViewerCallback','hide','numeric','RevisionTracker','name','error','RevisionsRepository','block','pluginName','isReady','closeRevisionViewerCallback','insert','144XEWDup','revisionHistory.viewerEditorElement','getRevisionRootsAttributes','removeSelectionAttribute','repository','creator','config','long','addRoot','requires','getRevisionData','display','enableReadOnlyMode','getAttributeKeys','isReadOnly','createdAt','plugins','getRevisions','fromCharCode','style','revisionHistory','has','isOpen','change','locale','RevisionHistory','getMarkersGroup','toJSON','document','restoreRevision','remove','1710150cioRKL','revisionHistory.showRevisionViewerCallback','RevisionViewer','3274404wOUwZb','init','isEnabled','toLocaleDateString','isAttached','removeMarker','set','1007331KsgPgA','PaginationLookup','revisionHistory.requireRevisionName','define','create','Users','none','RevisionViewerIntegration','catch','parse','revision-history-viewer-opened','uiLanguage','935052LVBUik','disableReadOnlyMode','revisionHistory.restoreRevisionCallback','refreshPositioning','adapter','addUser','update','rootName'];_0x3c74=function(){return _0x2634b6;};return _0x3c74();}import _0x38a926 from'./ui/revisionviewer/revisionviewerui.js';import _0xdcdbff from'./ui/revisionssidebar/revisionssidebar.js';import _0x22f6e4 from'./editor/revisionviewereditor.js';import{getTranslation as _0x2cd58a}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x30d3ec}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0xefa7bd(0x22d),_0xefa7bd(0x207)];export class RevisionViewerIntegration extends _0x240fb9{static get[_0xefa7bd(0x248)](){const _0x2d9569=_0xefa7bd;return _0x2d9569(0x1ea);}static get[_0xefa7bd(0x225)](){return!0x0;}static get[_0xefa7bd(0x209)](){return!0x0;}constructor(_0x403511){const _0x360930=_0xefa7bd;function _0x7eb7d6(_0x5609d8){const _0x10a515=_0x4c8f;return _0x5609d8[_0x10a515(0x21e)](_0x49dfb2=>String[_0x10a515(0x25e)](_0x49dfb2))[_0x10a515(0x20a)]('');}super(_0x403511),this[_0x360930(0x219)]=_0x360930(0x220),_0x403511[_0x7eb7d6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7eb7d6([0x76,0x69,0x65,0x77])][_0x7eb7d6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x7eb7d6([0x61,0x75,0x74,0x6f]),_0x403511[_0x7eb7d6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x7eb7d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x7eb7d6([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x7eb7d6([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x7eb7d6([0x6f,0x6b])});}}export default class k extends _0x240fb9{static get[_0xefa7bd(0x248)](){const _0x1b2893=_0xefa7bd;return _0x1b2893(0x265);}static get[_0xefa7bd(0x225)](){return!0x0;}static get[_0xefa7bd(0x209)](){return!0x0;}static get[_0xefa7bd(0x255)](){return[_0xc6bf62,_0x5d401c];}constructor(_0x4a72fa){const _0xe30d56=_0xefa7bd;if(super(_0x4a72fa),!this[_0xe30d56(0x232)][_0xe30d56(0x252)][_0xe30d56(0x214)](_0xe30d56(0x260)))throw new _0x5a03e9(_0xe30d56(0x1fb),this);this[_0xe30d56(0x231)]=null,this[_0xe30d56(0x232)][_0xe30d56(0x252)][_0xe30d56(0x1e6)](_0xe30d56(0x26c),_0x13e30a=>this[_0xe30d56(0x1fa)]({..._0x13e30a,'translations':this[_0xe30d56(0x232)][_0xe30d56(0x264)][_0xe30d56(0x224)]})),this[_0xe30d56(0x232)][_0xe30d56(0x252)][_0xe30d56(0x1e6)](_0xe30d56(0x240),_0x472bf4=>this[_0xe30d56(0x1fe)](_0x472bf4)),this[_0xe30d56(0x232)][_0xe30d56(0x252)][_0xe30d56(0x1e6)](_0xe30d56(0x1f1),_0x557af4=>this[_0xe30d56(0x213)](_0x557af4)),this[_0xe30d56(0x232)][_0xe30d56(0x252)][_0xe30d56(0x1e6)](_0xe30d56(0x1e5),!0x1),this[_0xe30d56(0x205)](),this[_0xe30d56(0x20b)]();}set[_0xefa7bd(0x1f3)](_0x50e827){const _0x426c30=_0xefa7bd;this[_0x426c30(0x232)][_0x426c30(0x25c)][_0x426c30(0x214)](_0x426c30(0x243))[_0x426c30(0x1f3)]=_0x50e827;}get[_0xefa7bd(0x1f3)](){const _0x20fabe=_0xefa7bd;return this[_0x20fabe(0x232)][_0x20fabe(0x25c)][_0x20fabe(0x214)](_0x20fabe(0x243))[_0x20fabe(0x1f3)];}[_0xefa7bd(0x23d)](_0x70e001){const _0x21ef04=_0xefa7bd;return this[_0x21ef04(0x232)][_0x21ef04(0x25c)][_0x21ef04(0x214)](_0x21ef04(0x243))[_0x21ef04(0x23d)](_0x70e001);}[_0xefa7bd(0x202)](_0x3c7a0b){const _0x1536ec=_0xefa7bd;return this[_0x1536ec(0x232)][_0x1536ec(0x25c)][_0x1536ec(0x214)](_0x1536ec(0x246))[_0x1536ec(0x202)](_0x3c7a0b);}[_0xefa7bd(0x25d)](_0x4b1a51){const _0x1a5b30=_0xefa7bd;return this[_0x1a5b30(0x232)][_0x1a5b30(0x25c)][_0x1a5b30(0x214)](_0x1a5b30(0x246))[_0x1a5b30(0x25d)](_0x4b1a51||{'toJSON':!0x1});}[_0xefa7bd(0x211)](){const _0xf1f467=_0xefa7bd,_0x447eee=this[_0xf1f467(0x232)],_0x4c9c11=_0x30d3ec(_0x447eee,p),_0x28d339=_0x447eee[_0xf1f467(0x25c)][_0xf1f467(0x214)](_0xf1f467(0x243)),_0x4a86ce=_0x447eee[_0xf1f467(0x25c)][_0xf1f467(0x214)](_0xf1f467(0x1e8))[_0xf1f467(0x208)];return _0x4c9c11[_0xf1f467(0x236)]=[_0xf1f467(0x1fd),_0xf1f467(0x269),_0xf1f467(0x218)],delete _0x4c9c11[_0xf1f467(0x233)],(_0x4c9c11[_0xf1f467(0x25c)][_0xf1f467(0x239)](RevisionViewerIntegration,_0x517c78,_0x38a926,class extends _0x240fb9{static get[_0xf1f467(0x255)](){const _0x79d641=_0xf1f467;return[_0x517c78,_0x79d641(0x1e8)];}[_0xf1f467(0x26f)](){const _0x321aaa=_0xf1f467,_0x490866=this[_0x321aaa(0x232)][_0x321aaa(0x25c)][_0x321aaa(0x214)](_0x321aaa(0x1e8));for(const _0x263034 of _0x4a86ce)_0x263034[_0x321aaa(0x22f)]||_0x490866[_0x321aaa(0x215)](_0x263034['id'])||_0x490866[_0x321aaa(0x1f4)](_0x263034);const _0x4cde3a=_0x28d339[_0x321aaa(0x250)][_0x321aaa(0x25d)]();let _0x19e83c=null;const _0x33ec25=this[_0x321aaa(0x232)][_0x321aaa(0x25c)][_0x321aaa(0x214)](_0x321aaa(0x26d));_0x33ec25[_0x321aaa(0x1f3)]=_0x28d339[_0x321aaa(0x1f3)],_0x33ec25[_0x321aaa(0x21d)](_0x321aaa(0x270))['to'](_0x28d339),this[_0x321aaa(0x232)][_0x321aaa(0x23a)][_0x321aaa(0x214)](_0x321aaa(0x269))[_0x321aaa(0x21d)](_0x321aaa(0x270))['to'](_0x447eee,_0x321aaa(0x25a),_0x35b948=>!_0x35b948);for(const _0x161d22 of _0x4cde3a){const _0x4b31f7=null===_0x161d22[_0x321aaa(0x251)];if(_0x4b31f7&&_0x161d22[_0x321aaa(0x235)]===_0x161d22[_0x321aaa(0x238)])continue;const _0x20c891=_0x161d22[_0x321aaa(0x267)]();_0x33ec25[_0x321aaa(0x23d)](_0x20c891,(_0x28ddcc,_0x2f912,_0x3c341f)=>{const _0xfbca74=_0x321aaa;if(_0x4b31f7){if(_0x19e83c)_0x19e83c[_0xfbca74(0x201)](_0x28ddcc,_0x2f912);else{if(!_0x2f912){const _0x5e1a50=_0x3c341f[_0xfbca74(0x267)]();_0x5e1a50['id']=_0x459702(),_0x28d339[_0xfbca74(0x222)](_0x5e1a50,_0x3c341f[_0xfbca74(0x235)])[_0xfbca74(0x1fc)](_0x2bbd7e=>{_0x19e83c=_0x2bbd7e;});}}}else _0x161d22[_0xfbca74(0x201)](_0x28ddcc,_0x2f912);});}}},_0xdcdbff),_0x4c9c11);}[_0xefa7bd(0x205)](){const _0x58e866=_0xefa7bd,_0x4b3eb4=this[_0x58e866(0x232)][_0x58e866(0x252)][_0x58e866(0x214)](_0x58e866(0x260))[_0x58e866(0x212)];this[_0x58e866(0x232)][_0x58e866(0x252)][_0x58e866(0x274)](_0x58e866(0x26c),async()=>{const _0x346d44=_0x58e866;this[_0x346d44(0x232)][_0x346d44(0x258)](_0x346d44(0x1ed));const _0x2405f3=this[_0x346d44(0x232)][_0x346d44(0x25c)][_0x346d44(0x214)](_0x346d44(0x243));if(this[_0x346d44(0x232)][_0x346d44(0x25c)][_0x346d44(0x261)](_0x346d44(0x234))){const _0x598e48=this[_0x346d44(0x232)][_0x346d44(0x25c)][_0x346d44(0x214)](_0x346d44(0x234));await _0x598e48[_0x346d44(0x20e)]();}else await _0x2405f3[_0x346d44(0x1f5)]();if(this[_0x346d44(0x232)][_0x346d44(0x25c)][_0x346d44(0x261)](_0x346d44(0x1e4))&&this[_0x346d44(0x232)][_0x346d44(0x25c)][_0x346d44(0x214)](_0x346d44(0x1e4))[_0x346d44(0x22b)](),this[_0x346d44(0x232)][_0x346d44(0x25c)][_0x346d44(0x261)](_0x346d44(0x226))){const _0x5daeb2=this[_0x346d44(0x232)][_0x346d44(0x25c)][_0x346d44(0x214)](_0x346d44(0x226));_0x5daeb2[_0x346d44(0x262)]&&_0x5daeb2[_0x346d44(0x241)]();}const _0x999b03=this[_0x346d44(0x211)]();return _0x4b3eb4(_0x999b03)[_0x346d44(0x1fc)](_0x12ab99=>{const _0x51c530=_0x346d44;return(this[_0x51c530(0x231)]=_0x12ab99,this[_0x51c530(0x232)][_0x51c530(0x25c)][_0x51c530(0x261)](_0x51c530(0x1f9)))&&this[_0x51c530(0x232)][_0x51c530(0x25c)][_0x51c530(0x214)](_0x51c530(0x1f9))[_0x51c530(0x210)](),_0x12ab99;})[_0x346d44(0x1eb)](_0x421507=>(console[_0x346d44(0x245)](_0x421507),this[_0x346d44(0x232)][_0x346d44(0x1f0)](_0x346d44(0x1ed)),null));});}[_0xefa7bd(0x20b)](){const _0x3ba5c9=_0xefa7bd,_0x310f66=this[_0x3ba5c9(0x232)][_0x3ba5c9(0x252)][_0x3ba5c9(0x214)](_0x3ba5c9(0x260))[_0x3ba5c9(0x24a)];this[_0x3ba5c9(0x232)][_0x3ba5c9(0x252)][_0x3ba5c9(0x274)](_0x3ba5c9(0x240),()=>(this[_0x3ba5c9(0x232)][_0x3ba5c9(0x25c)][_0x3ba5c9(0x261)](_0x3ba5c9(0x1e4))&&this[_0x3ba5c9(0x232)][_0x3ba5c9(0x25c)][_0x3ba5c9(0x214)](_0x3ba5c9(0x1e4))[_0x3ba5c9(0x22b)](),this[_0x3ba5c9(0x231)][_0x3ba5c9(0x25c)][_0x3ba5c9(0x214)](_0x3ba5c9(0x26d))[_0x3ba5c9(0x200)](),_0x310f66(this[_0x3ba5c9(0x231)])[_0x3ba5c9(0x1fc)](()=>{const _0x1354d1=_0x3ba5c9;if(this[_0x1354d1(0x232)][_0x1354d1(0x1f0)](_0x1354d1(0x1ed)),this[_0x1354d1(0x231)]=null,this[_0x1354d1(0x232)][_0x1354d1(0x25c)][_0x1354d1(0x261)](_0x1354d1(0x1f9))){const _0x140b1f=this[_0x1354d1(0x232)][_0x1354d1(0x25c)][_0x1354d1(0x214)](_0x1354d1(0x1f9));_0x140b1f[_0x1354d1(0x210)](),_0x140b1f[_0x1354d1(0x1f2)]();}})));}[_0xefa7bd(0x1fa)](_0x36677b){const _0x2079a8=_0xefa7bd,_0x2fb64d=this[_0x2079a8(0x232)][_0x2079a8(0x252)][_0x2079a8(0x214)](_0x2079a8(0x23b)),_0x307a9e=this[_0x2079a8(0x232)][_0x2079a8(0x252)][_0x2079a8(0x214)](_0x2079a8(0x21f)),_0x527029=this[_0x2079a8(0x232)][_0x2079a8(0x252)][_0x2079a8(0x214)](_0x2079a8(0x24d));return _0x22f6e4[_0x2079a8(0x1e7)](_0x527029,_0x36677b)[_0x2079a8(0x1fc)](_0x301674=>(_0x307a9e[_0x2079a8(0x25f)][_0x2079a8(0x257)]=_0x2079a8(0x247),_0x2fb64d[_0x2079a8(0x25f)][_0x2079a8(0x257)]=_0x2079a8(0x1e9),_0x301674));}[_0xefa7bd(0x1fe)](_0xd26b3b){const _0x17c2e5=_0xefa7bd,_0x3e67d7=this[_0x17c2e5(0x232)][_0x17c2e5(0x252)][_0x17c2e5(0x214)](_0x17c2e5(0x23b));return this[_0x17c2e5(0x232)][_0x17c2e5(0x252)][_0x17c2e5(0x214)](_0x17c2e5(0x21f))[_0x17c2e5(0x25f)][_0x17c2e5(0x257)]=_0x17c2e5(0x1e9),_0x3e67d7[_0x17c2e5(0x25f)][_0x17c2e5(0x257)]='',_0xd26b3b[_0x17c2e5(0x21c)]();}async[_0xefa7bd(0x213)](_0xf36d8f){const _0x2b6794=_0xefa7bd,_0xd914fa=this[_0x2b6794(0x232)],_0x41897e=this[_0x2b6794(0x231)][_0x2b6794(0x25c)][_0x2b6794(0x214)](_0x2b6794(0x26d)),_0x9d4bae=_0xd914fa[_0x2b6794(0x25c)][_0x2b6794(0x214)](_0x2b6794(0x243)),_0x586e00=_0x41897e[_0x2b6794(0x250)][_0x2b6794(0x202)](_0xf36d8f);let _0x568e6c,_0x1b15f4,_0x2387fa;try{_0x568e6c=await _0x41897e[_0x2b6794(0x256)](_0x586e00),_0x1b15f4=await _0x41897e[_0x2b6794(0x24e)](_0x586e00);}catch(_0x482a5f){return void console[_0x2b6794(0x245)](_0x482a5f);}_0xd914fa[_0x2b6794(0x206)][_0x2b6794(0x263)](_0x295274=>{const _0xe084ac=_0x2b6794;for(const _0x2ddf9e of Array[_0xe084ac(0x1f8)](_0xd914fa[_0xe084ac(0x206)][_0xe084ac(0x203)][_0xe084ac(0x266)](_0xe084ac(0x204))))_0x295274[_0xe084ac(0x273)](_0x2ddf9e);}),_0x41897e[_0x2b6794(0x249)]=!0x1,_0xd914fa[_0x2b6794(0x206)][_0x2b6794(0x21b)](_0x2a1a39=>{const _0x1821b7=_0x2b6794;_0x2a1a39[_0x1821b7(0x227)](null),_0x2a1a39[_0x1821b7(0x24f)](_0xd914fa[_0x1821b7(0x206)][_0x1821b7(0x268)][_0x1821b7(0x23e)][_0x1821b7(0x259)]());const _0x382cf5=Object[_0x1821b7(0x20c)](_0x568e6c);for(const _0x4cf0be of _0xd914fa[_0x1821b7(0x206)][_0x1821b7(0x268)][_0x1821b7(0x21a)])_0x1821b7(0x23f)!=_0x4cf0be[_0x1821b7(0x1f6)]&&_0x4cf0be[_0x1821b7(0x272)]()&&!_0x382cf5[_0x1821b7(0x20f)](_0x4cf0be[_0x1821b7(0x1f6)])&&_0x2a1a39[_0x1821b7(0x23c)](_0x4cf0be);for(const _0x5dc989 of _0x382cf5){let _0x1af5c5=_0xd914fa[_0x1821b7(0x206)][_0x1821b7(0x268)][_0x1821b7(0x217)](_0x5dc989);_0x1af5c5&&_0x1af5c5[_0x1821b7(0x272)]()||(_0x1af5c5=_0x2a1a39[_0x1821b7(0x254)](_0x5dc989));const _0x9c695a=_0x1b15f4[_0x5dc989],_0x322dea=Object[_0x1821b7(0x20c)](_0x9c695a),_0x196ea2=_0x568e6c[_0x5dc989];for(const _0x173f55 of _0x1af5c5[_0x1821b7(0x259)]())_0x322dea[_0x1821b7(0x20f)](_0x173f55)||_0x2a1a39[_0x1821b7(0x22e)](_0x173f55,_0x1af5c5);for(const _0x32217d of _0x322dea)_0x2a1a39[_0x1821b7(0x223)](_0x32217d,_0x1b15f4[_0x5dc989][_0x32217d],_0x1af5c5);_0x2a1a39[_0x1821b7(0x26a)](_0x2a1a39[_0x1821b7(0x216)](_0x1af5c5)),_0x2a1a39[_0x1821b7(0x24b)](_0xd914fa[_0x1821b7(0x221)][_0x1821b7(0x1ec)](_0x196ea2,_0x1af5c5),_0x1af5c5,0x0);}});const _0xa2ce4b=_0x2cd58a(_0xd914fa[_0x2b6794(0x264)],_0x2b6794(0x230));if(_0x586e00[_0x2b6794(0x244)])_0x2387fa=-0x1==_0x586e00[_0x2b6794(0x244)][_0x2b6794(0x22a)](_0xa2ce4b)?_0xa2ce4b+':\x20'+_0x586e00[_0x2b6794(0x244)]:_0x586e00[_0x2b6794(0x244)];else _0x2387fa=_0xa2ce4b+':\x20'+(_0x586e00[_0x2b6794(0x25b)][_0x2b6794(0x271)](_0xd914fa[_0x2b6794(0x264)][_0x2b6794(0x1ee)],{'month':_0x2b6794(0x253),'day':_0x2b6794(0x242)})+',\x20'+_0x586e00[_0x2b6794(0x25b)][_0x2b6794(0x1ff)](_0xd914fa[_0x2b6794(0x264)][_0x2b6794(0x1ee)],{'hour':_0x2b6794(0x242),'minute':_0x2b6794(0x242)}));return await _0x9d4bae[_0x2b6794(0x222)]({'name':_0x2387fa}),_0x41897e[_0x2b6794(0x249)]=!0x0,_0xd914fa[_0x2b6794(0x252)][_0x2b6794(0x214)](_0x2b6794(0x260))[_0x2b6794(0x24a)]();}}
23
+ const _0x5b670b=_0x5473;(function(_0x3bfd0a,_0x2ea251){const _0x48c083=_0x5473,_0x1714f2=_0x3bfd0a();while(!![]){try{const _0x258640=parseInt(_0x48c083(0xe2))/0x1*(parseInt(_0x48c083(0xdd))/0x2)+-parseInt(_0x48c083(0x101))/0x3*(-parseInt(_0x48c083(0x95))/0x4)+-parseInt(_0x48c083(0xe8))/0x5+-parseInt(_0x48c083(0xa7))/0x6*(parseInt(_0x48c083(0x9a))/0x7)+parseInt(_0x48c083(0x82))/0x8*(-parseInt(_0x48c083(0x8a))/0x9)+parseInt(_0x48c083(0xba))/0xa*(parseInt(_0x48c083(0xd7))/0xb)+parseInt(_0x48c083(0x7f))/0xc;if(_0x258640===_0x2ea251)break;else _0x1714f2['push'](_0x1714f2['shift']());}catch(_0x19d516){_0x1714f2['push'](_0x1714f2['shift']());}}}(_0x266d,0x26908));import{Plugin as _0x63f490}from'ckeditor5/src/core.js';import{CKEditorError as _0x26800f,uid as _0x586b30}from'ckeditor5/src/utils.js';import _0x5c5523 from'./revisiontracker.js';import _0x326b60 from'./ui/revisionhistory/revisionhistoryui.js';import _0x2e1bc6 from'./revisionviewer.js';import _0x4e4a69 from'./ui/revisionviewer/revisionviewerui.js';function _0x5473(_0x1d82c6,_0x2c81fb){const _0x266dd5=_0x266d();return _0x5473=function(_0x5473e1,_0x5848e1){_0x5473e1=_0x5473e1-0x7a;let _0x304d4a=_0x266dd5[_0x5473e1];return _0x304d4a;},_0x5473(_0x1d82c6,_0x2c81fb);}import _0x3033d5 from'./ui/revisionssidebar/revisionssidebar.js';import _0x3f8c5d from'./editor/revisionviewereditor.js';import{getTranslation as _0x1b850e}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x5ea0b6}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x5b670b(0xc4),_0x5b670b(0xb4)];export class RevisionViewerIntegration extends _0x63f490{[_0x5b670b(0x104)];static get[_0x5b670b(0xa1)](){const _0x326c62=_0x5b670b;return _0x326c62(0xd3);}static get[_0x5b670b(0xac)](){return!0x0;}static get[_0x5b670b(0x9d)](){return!0x0;}constructor(_0x139bfa){const _0x2278d4=_0x5b670b;function _0x2a9ec0(_0x4584b7){const _0x2e2e33=_0x5473;return _0x4584b7[_0x2e2e33(0xa0)](_0x1b82e0=>String[_0x2e2e33(0x85)](_0x1b82e0))[_0x2e2e33(0xa3)]('');}super(_0x139bfa),this[_0x2278d4(0x104)]=_0x2278d4(0x109),_0x139bfa[_0x2a9ec0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a9ec0([0x76,0x69,0x65,0x77])][_0x2a9ec0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a9ec0([0x61,0x75,0x74,0x6f]),_0x139bfa[_0x2a9ec0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x2a9ec0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a9ec0([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x2a9ec0([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x2a9ec0([0x6f,0x6b])});}}function _0x266d(){const _0x38559c=['detachRoot','style','isPremiumPlugin','requires','revisionHistory.viewerContainer','map','pluginName','addRevisionData','join','document','insert','RevisionHistoryUtils','457620AOkyjN','catch','refreshPositioning','RevisionHistory','isReady','isOfficialPlugin','translations','numeric','revisionHistory.requireRevisionName','restrictedEditingException','revisionHistory.showRevisionViewerCallback','name','keys','RestrictedEditingMode','uiLanguage','isRevisionViewerOpen','_enhanceCloseRevisionViewerCallback','restoreRevision','saveRevision','190WpgUOf','_showRevisionViewer','view','display','$graveyard','none','getMarkersGroup','changesNavigation','_closeRevisionViewer','parse','RevisionHistoryUI','RevisionTracker','revisionHistory.viewerEditorElement','define','element','locale','long','create','markers','indexOf','createdAt','creator','removeMarker','disableReadOnlyMode','repository','RevisionViewerIntegration','_enhanceShowRevisionViewerCallback','lazyRoots','isReadOnly','1353uIMJfL','isOpen','isEnabled','remove','_restoreRevision','_update','4568YdVVsg','plugins','PaginationLookup','config','rootName','131xEjMIA','toJSON','Restored','toolbar','getAttributeKeys','createRangeIn','1033625HmiebQ','showRevisionViewerCallback','editor','exitToEditing','revisionHistory.editorContainer','destroy','isAnonymous','getRevisionDocumentData','bind','getRevision','removeAttribute','getRevisions','_getRevisionViewerEditorConfig','_viewerEditor','enableReadOnlyMode','DocumentOutlineUI','DocumentOutline','commands','loadRevisionData','fromVersion','error','revisionHistory','closeRevisionViewerCallback','getUser','model','146709QeqvUE','revision-history-missing-configuration','addRoot','result','revision-history-viewer-opened','Dialog','init','removeSelectionAttribute','end','toVersion','roots','save','includes','adapter','RevisionsRepository','has','isAttached','update','selection','refreshVisibility','enqueueChange','toLocaleTimeString','toLocaleDateString','Users','2742360bKwPnl','_cleanUp','RevisionViewer','8IlPUEY','hide','_recalculatePageBreaks','fromCharCode','Annotations','addUser','push','setSelection','555741FVInnT','block','data','change','users','getRoot','setAttribute','getRevisionRootsAttributes','from','Autosave','get','4gLPGdi','set','revisionHistory.restoreRevisionCallback','revisionHistory.closeRevisionViewerCallback','then','14qYrmif'];_0x266d=function(){return _0x38559c;};return _0x266d();}export default class k extends _0x63f490{[_0x5b670b(0xf5)];static get[_0x5b670b(0xa1)](){const _0x105a83=_0x5b670b;return _0x105a83(0xaa);}static get[_0x5b670b(0xac)](){return!0x0;}static get[_0x5b670b(0x9d)](){return!0x0;}static get[_0x5b670b(0x9e)](){return[_0x5c5523,_0x326b60];}constructor(_0x2e5299){const _0x2c169b=_0x5b670b;if(super(_0x2e5299),!this[_0x2c169b(0xea)][_0x2c169b(0xe0)][_0x2c169b(0x94)](_0x2c169b(0xfd)))throw new _0x26800f(_0x2c169b(0x102),this);this[_0x2c169b(0xf5)]=null,this[_0x2c169b(0x96)](_0x2c169b(0xb6),!0x1),this[_0x2c169b(0xea)][_0x2c169b(0xe0)][_0x2c169b(0xc7)](_0x2c169b(0xb1),_0x58d28a=>this[_0x2c169b(0xbb)]({..._0x58d28a,'translations':this[_0x2c169b(0xea)][_0x2c169b(0xc9)][_0x2c169b(0xad)]})),this[_0x2c169b(0xea)][_0x2c169b(0xe0)][_0x2c169b(0xc7)](_0x2c169b(0x98),_0x15b0dc=>this[_0x2c169b(0xc2)](_0x15b0dc)),this[_0x2c169b(0xea)][_0x2c169b(0xe0)][_0x2c169b(0xc7)](_0x2c169b(0x97),_0x301333=>this[_0x2c169b(0xdb)](_0x301333)),this[_0x2c169b(0xea)][_0x2c169b(0xe0)][_0x2c169b(0xc7)](_0x2c169b(0xaf),!0x1),this[_0x2c169b(0xd4)](),this[_0x2c169b(0xb7)]();}set[_0x5b670b(0x10e)](_0x1f9f84){const _0x186233=_0x5b670b;this[_0x186233(0xea)][_0x186233(0xde)][_0x186233(0x94)](_0x186233(0xc5))[_0x186233(0x10e)]=_0x1f9f84;}get[_0x5b670b(0x10e)](){const _0x252bc9=_0x5b670b;return this[_0x252bc9(0xea)][_0x252bc9(0xde)][_0x252bc9(0x94)](_0x252bc9(0xc5))[_0x252bc9(0x10e)];}[_0x5b670b(0xa2)](_0x2f7d52){const _0x3e91cf=_0x5b670b;return this[_0x3e91cf(0xea)][_0x3e91cf(0xde)][_0x3e91cf(0x94)](_0x3e91cf(0xc5))[_0x3e91cf(0xa2)](_0x2f7d52);}[_0x5b670b(0xf1)](_0x5e6ce1){const _0x3e6438=_0x5b670b;return this[_0x3e6438(0xea)][_0x3e6438(0xde)][_0x3e6438(0x94)](_0x3e6438(0x10f))[_0x3e6438(0xf1)](_0x5e6ce1);}[_0x5b670b(0xf3)](_0x12a54c){const _0x192ab0=_0x5b670b;return this[_0x192ab0(0xea)][_0x192ab0(0xde)][_0x192ab0(0x94)](_0x192ab0(0x10f))[_0x192ab0(0xf3)](_0x12a54c||{'toJSON':!0x1});}[_0x5b670b(0xf4)](){const _0x35720b=_0x5b670b,_0x3d7bf5=this[_0x35720b(0xea)],_0x1ecff0=_0x5ea0b6(_0x3d7bf5,p),_0x4b9452=_0x3d7bf5[_0x35720b(0xde)][_0x35720b(0x94)](_0x35720b(0xc5)),_0x2dbe9c=_0x3d7bf5[_0x35720b(0xde)][_0x35720b(0x94)](_0x35720b(0x7e))[_0x35720b(0x8e)];return _0x1ecff0[_0x35720b(0xe5)]=[_0x35720b(0xeb),_0x35720b(0xb8),_0x35720b(0xc1)],delete _0x1ecff0[_0x35720b(0xd5)],(_0x1ecff0[_0x35720b(0xde)][_0x35720b(0x88)](RevisionViewerIntegration,_0x2e1bc6,_0x4e4a69,class extends _0x63f490{static get[_0x35720b(0x9e)](){const _0x5850a7=_0x35720b;return[_0x2e1bc6,_0x5850a7(0x7e)];}[_0x35720b(0x107)](){const _0x58afe0=_0x35720b,_0x269c30=this[_0x58afe0(0xea)][_0x58afe0(0xde)][_0x58afe0(0x94)](_0x58afe0(0x7e));for(const _0x535e79 of _0x2dbe9c)_0x535e79[_0x58afe0(0xee)]||_0x269c30[_0x58afe0(0xff)](_0x535e79['id'])||_0x269c30[_0x58afe0(0x87)](_0x535e79);const _0x46c9f2=_0x4b9452[_0x58afe0(0xd2)][_0x58afe0(0xf3)]();let _0x16e284=null;const _0x28c50a=this[_0x58afe0(0xea)][_0x58afe0(0xde)][_0x58afe0(0x94)](_0x58afe0(0x81));_0x28c50a[_0x58afe0(0x10e)]=_0x4b9452[_0x58afe0(0x10e)],_0x28c50a[_0x58afe0(0xf0)](_0x58afe0(0xd9))['to'](_0x4b9452),this[_0x58afe0(0xea)][_0x58afe0(0xf9)][_0x58afe0(0x94)](_0x58afe0(0xb8))[_0x58afe0(0xf0)](_0x58afe0(0xd9))['to'](_0x3d7bf5,_0x58afe0(0xd6),_0x3760ff=>!_0x3760ff);for(const _0x5dddb9 of _0x46c9f2){const _0x730119=null===_0x5dddb9[_0x58afe0(0xcf)];if(_0x730119&&_0x5dddb9[_0x58afe0(0x10a)]===_0x5dddb9[_0x58afe0(0xfb)])continue;const _0x295252=_0x5dddb9[_0x58afe0(0xe3)]();_0x28c50a[_0x58afe0(0xa2)](_0x295252,(_0x2ff402,_0x81e395,_0x5e694f)=>{const _0x4a4251=_0x58afe0;if(_0x730119){if(_0x16e284)_0x16e284[_0x4a4251(0xdc)](_0x2ff402,_0x81e395);else{if(!_0x81e395){const _0x593fa6=_0x5e694f[_0x4a4251(0xe3)]();_0x593fa6['id']=_0x586b30(),_0x4b9452[_0x4a4251(0xb9)](_0x593fa6,_0x5e694f[_0x4a4251(0x10a)])[_0x4a4251(0x99)](_0x49c73a=>{_0x16e284=_0x49c73a;});}}}else _0x5dddb9[_0x4a4251(0xdc)](_0x2ff402,_0x81e395);});}}},_0x3033d5),_0x1ecff0);}[_0x5b670b(0xd4)](){const _0x495c2b=_0x5b670b,_0x4bec9f=this[_0x495c2b(0xea)][_0x495c2b(0xe0)][_0x495c2b(0x94)](_0x495c2b(0xfd))[_0x495c2b(0xe9)];this[_0x495c2b(0xea)][_0x495c2b(0xe0)][_0x495c2b(0x96)](_0x495c2b(0xb1),async()=>{const _0x5f755f=_0x495c2b;this[_0x5f755f(0xea)][_0x5f755f(0xf6)](_0x5f755f(0x105));const _0x5bc519=this[_0x5f755f(0xea)][_0x5f755f(0xde)][_0x5f755f(0x94)](_0x5f755f(0xc5));if(this[_0x5f755f(0xea)][_0x5f755f(0xde)][_0x5f755f(0x110)](_0x5f755f(0x93))){const _0x10c915=this[_0x5f755f(0xea)][_0x5f755f(0xde)][_0x5f755f(0x94)](_0x5f755f(0x93));await _0x10c915[_0x5f755f(0x10c)]();}else await _0x5bc519[_0x5f755f(0x112)]();if(this[_0x5f755f(0xea)][_0x5f755f(0xde)][_0x5f755f(0x110)](_0x5f755f(0xdf))&&this[_0x5f755f(0xea)][_0x5f755f(0xde)][_0x5f755f(0x94)](_0x5f755f(0xdf))[_0x5f755f(0x84)](),this[_0x5f755f(0xea)][_0x5f755f(0xde)][_0x5f755f(0x110)](_0x5f755f(0x106))){const _0x1265dc=this[_0x5f755f(0xea)][_0x5f755f(0xde)][_0x5f755f(0x94)](_0x5f755f(0x106));_0x1265dc[_0x5f755f(0xd8)]&&_0x1265dc[_0x5f755f(0x83)]();}const _0x3b28db=this[_0x5f755f(0xf4)]();return _0x4bec9f(_0x3b28db)[_0x5f755f(0x99)](_0x48cd14=>{const _0x3c04af=_0x5f755f;return(this[_0x3c04af(0xf5)]=_0x48cd14,this[_0x3c04af(0xea)][_0x3c04af(0xde)][_0x3c04af(0x110)](_0x3c04af(0x86)))&&this[_0x3c04af(0xea)][_0x3c04af(0xde)][_0x3c04af(0x94)](_0x3c04af(0x86))[_0x3c04af(0x7a)](),(this[_0x3c04af(0xea)][_0x3c04af(0xde)][_0x3c04af(0x110)](_0x3c04af(0xf8))&&(this[_0x3c04af(0xea)][_0x3c04af(0xde)][_0x3c04af(0x94)](_0x3c04af(0xf7))[_0x3c04af(0xbc)][_0x3c04af(0xc8)][_0x3c04af(0x9c)][_0x3c04af(0xbd)]=_0x3c04af(0xbf)),_0x48cd14);})[_0x5f755f(0xa8)](_0x4991cd=>(console[_0x5f755f(0xfc)](_0x4991cd),this[_0x5f755f(0xea)][_0x5f755f(0xd1)](_0x5f755f(0x105)),null));});}[_0x5b670b(0xb7)](){const _0x3a331b=_0x5b670b,_0x7f7525=this[_0x3a331b(0xea)][_0x3a331b(0xe0)][_0x3a331b(0x94)](_0x3a331b(0xfd))[_0x3a331b(0xfe)];this[_0x3a331b(0xea)][_0x3a331b(0xe0)][_0x3a331b(0x96)](_0x3a331b(0x98),()=>(this[_0x3a331b(0xea)][_0x3a331b(0xde)][_0x3a331b(0x110)](_0x3a331b(0xdf))&&this[_0x3a331b(0xea)][_0x3a331b(0xde)][_0x3a331b(0x94)](_0x3a331b(0xdf))[_0x3a331b(0x84)](),this[_0x3a331b(0xea)][_0x3a331b(0xde)][_0x3a331b(0x110)](_0x3a331b(0xf8))&&(this[_0x3a331b(0xea)][_0x3a331b(0xde)][_0x3a331b(0x94)](_0x3a331b(0xf7))[_0x3a331b(0xbc)][_0x3a331b(0xc8)][_0x3a331b(0x9c)][_0x3a331b(0xbd)]=''),this[_0x3a331b(0xf5)][_0x3a331b(0xde)][_0x3a331b(0x94)](_0x3a331b(0x81))[_0x3a331b(0x80)](),_0x7f7525(this[_0x3a331b(0xf5)])[_0x3a331b(0x99)](()=>{const _0x316a13=_0x3a331b;if(this[_0x316a13(0xea)][_0x316a13(0xd1)](_0x316a13(0x105)),this[_0x316a13(0xf5)]=null,this[_0x316a13(0xea)][_0x316a13(0xde)][_0x316a13(0x110)](_0x316a13(0x86))){const _0x17025b=this[_0x316a13(0xea)][_0x316a13(0xde)][_0x316a13(0x94)](_0x316a13(0x86));_0x17025b[_0x316a13(0x7a)](),_0x17025b[_0x316a13(0xa9)]();}})));}[_0x5b670b(0xbb)](_0x59cfc8){const _0x24303e=_0x5b670b,_0x22337b=this[_0x24303e(0xea)][_0x24303e(0xe0)][_0x24303e(0x94)](_0x24303e(0xec)),_0x3045d2=this[_0x24303e(0xea)][_0x24303e(0xe0)][_0x24303e(0x94)](_0x24303e(0x9f)),_0x424921=this[_0x24303e(0xea)][_0x24303e(0xe0)][_0x24303e(0x94)](_0x24303e(0xc6));return _0x3f8c5d[_0x24303e(0xcb)](_0x424921,_0x59cfc8)[_0x24303e(0x99)](_0x124ac8=>(_0x3045d2[_0x24303e(0x9c)][_0x24303e(0xbd)]=_0x24303e(0x8b),_0x22337b[_0x24303e(0x9c)][_0x24303e(0xbd)]=_0x24303e(0xbf),this[_0x24303e(0xb6)]=!0x0,_0x124ac8));}[_0x5b670b(0xc2)](_0x586c6a){const _0xad187c=_0x5b670b,_0x429568=this[_0xad187c(0xea)][_0xad187c(0xe0)][_0xad187c(0x94)](_0xad187c(0xec));return this[_0xad187c(0xea)][_0xad187c(0xe0)][_0xad187c(0x94)](_0xad187c(0x9f))[_0xad187c(0x9c)][_0xad187c(0xbd)]=_0xad187c(0xbf),_0x429568[_0xad187c(0x9c)][_0xad187c(0xbd)]='',this[_0xad187c(0xb6)]=!0x1,_0x586c6a[_0xad187c(0xed)]();}async[_0x5b670b(0xdb)](_0x49bf51){const _0x5ea6e8=_0x5b670b,_0x245e1e=this[_0x5ea6e8(0xea)],_0x15c691=this[_0x5ea6e8(0xf5)][_0x5ea6e8(0xde)][_0x5ea6e8(0x94)](_0x5ea6e8(0x81)),_0x5de988=_0x245e1e[_0x5ea6e8(0xde)][_0x5ea6e8(0x94)](_0x5ea6e8(0xc5)),_0x1b47e4=_0x245e1e[_0x5ea6e8(0xde)][_0x5ea6e8(0x94)](_0x5ea6e8(0xa6)),_0x3f939c=_0x15c691[_0x5ea6e8(0xd2)][_0x5ea6e8(0xf1)](_0x49bf51);let _0x52d61f,_0x5135db,_0x5f268f;try{await _0x1b47e4[_0x5ea6e8(0xfa)](_0x3f939c,this[_0x5ea6e8(0x10e)]),_0x52d61f=_0x1b47e4[_0x5ea6e8(0xef)](_0x3f939c),_0x5135db=_0x1b47e4[_0x5ea6e8(0x91)](_0x3f939c);}catch(_0x29e49f){return void console[_0x5ea6e8(0xfc)](_0x29e49f);}_0x245e1e[_0x5ea6e8(0x100)][_0x5ea6e8(0x8d)](_0x192695=>{const _0x5ab81c=_0x5ea6e8;for(const _0x3d19b4 of Array[_0x5ab81c(0x92)](_0x245e1e[_0x5ab81c(0x100)][_0x5ab81c(0xcc)][_0x5ab81c(0xc0)](_0x5ab81c(0xb0))))_0x192695[_0x5ab81c(0xd0)](_0x3d19b4);}),_0x15c691[_0x5ea6e8(0xab)]=!0x1,_0x245e1e[_0x5ea6e8(0x100)][_0x5ea6e8(0x7b)](_0x16485f=>{const _0x2307be=_0x5ea6e8;_0x16485f[_0x2307be(0x89)](null),_0x16485f[_0x2307be(0x108)](_0x245e1e[_0x2307be(0x100)][_0x2307be(0xa4)][_0x2307be(0x113)][_0x2307be(0xe6)]());const _0x2b8349=Object[_0x2307be(0xb3)](_0x52d61f);for(const _0x12eb22 of _0x245e1e[_0x2307be(0x100)][_0x2307be(0xa4)][_0x2307be(0x10b)])_0x2307be(0xbe)!=_0x12eb22[_0x2307be(0xe1)]&&_0x12eb22[_0x2307be(0x111)]()&&!_0x2b8349[_0x2307be(0x10d)](_0x12eb22[_0x2307be(0xe1)])&&_0x16485f[_0x2307be(0x9b)](_0x12eb22);for(const _0xd9c8e9 of _0x2b8349){let _0x4e9007=_0x245e1e[_0x2307be(0x100)][_0x2307be(0xa4)][_0x2307be(0x8f)](_0xd9c8e9);_0x4e9007&&_0x4e9007[_0x2307be(0x111)]()||(_0x4e9007=_0x16485f[_0x2307be(0x103)](_0xd9c8e9));const _0x1b8439=_0x5135db[_0xd9c8e9],_0x1d577e=Object[_0x2307be(0xb3)](_0x1b8439),_0x5ff457=_0x52d61f[_0xd9c8e9];for(const _0x14ca17 of _0x4e9007[_0x2307be(0xe6)]())_0x1d577e[_0x2307be(0x10d)](_0x14ca17)||_0x16485f[_0x2307be(0xf2)](_0x14ca17,_0x4e9007);for(const _0x195cef of _0x1d577e)_0x16485f[_0x2307be(0x90)](_0x195cef,_0x5135db[_0xd9c8e9][_0x195cef],_0x4e9007);_0x16485f[_0x2307be(0xda)](_0x16485f[_0x2307be(0xe7)](_0x4e9007)),_0x16485f[_0x2307be(0xa5)](_0x245e1e[_0x2307be(0x8c)][_0x2307be(0xc3)](_0x5ff457,_0x4e9007),_0x4e9007,0x0);}});const _0x556d46=_0x1b850e(_0x245e1e[_0x5ea6e8(0xc9)],_0x5ea6e8(0xe4));if(_0x3f939c[_0x5ea6e8(0xb2)])_0x5f268f=-0x1==_0x3f939c[_0x5ea6e8(0xb2)][_0x5ea6e8(0xcd)](_0x556d46)?_0x556d46+':\x20'+_0x3f939c[_0x5ea6e8(0xb2)]:_0x3f939c[_0x5ea6e8(0xb2)];else _0x5f268f=_0x556d46+':\x20'+(_0x3f939c[_0x5ea6e8(0xce)][_0x5ea6e8(0x7d)](_0x245e1e[_0x5ea6e8(0xc9)][_0x5ea6e8(0xb5)],{'month':_0x5ea6e8(0xca),'day':_0x5ea6e8(0xae)})+',\x20'+_0x3f939c[_0x5ea6e8(0xce)][_0x5ea6e8(0x7c)](_0x245e1e[_0x5ea6e8(0xc9)][_0x5ea6e8(0xb5)],{'hour':_0x5ea6e8(0xae),'minute':_0x5ea6e8(0xae)}));return await _0x5de988[_0x5ea6e8(0xb9)]({'name':_0x5f268f}),_0x15c691[_0x5ea6e8(0xab)]=!0x0,_0x245e1e[_0x5ea6e8(0xe0)][_0x5ea6e8(0x94)](_0x5ea6e8(0xfd))[_0x5ea6e8(0xfe)]();}}
@@ -52,8 +52,8 @@ export interface RevisionHistoryConfig {
52
52
  *
53
53
  * Note that for real-time collaboration, the unsaved revision will be always resumed if the real-time editing session is still active.
54
54
  * In other words, even if this is set to `false`, the unsaved revision will be resumed, if the editing session did not end since the
55
- * editor was re-initialized. Keep in mind that
56
- * {@glink @cs guides/collaboration/data#temporary-and-permanent-data the editing session is active a long time} after the last user
55
+ * editor was re-initialized. Keep in mind that [the editing session is active a long time]
56
+ * (https://ckeditor.com/docs/cs/latest/guides/collaboration/data.html#temporary-and-permanent-data) after the last user
57
57
  * leaves the document.
58
58
  */
59
59
  resumeUnsavedRevision: boolean;
@@ -0,0 +1,64 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module revision-history/revisionhistoryutils
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import type { RevisionHistoryAdapter } from './revisionhistoryadapter.js';
10
+ import type { default as Revision } from './revision.js';
11
+ /**
12
+ * Common utilities used by plugins in the revision history package.
13
+ */
14
+ export default class RevisionHistoryUtils extends Plugin {
15
+ static get pluginName(): "RevisionHistoryUtils";
16
+ /**
17
+ * @inheritDoc
18
+ */
19
+ static get isOfficialPlugin(): true;
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static get isPremiumPlugin(): true;
24
+ /**
25
+ * Loads {@link module:revision-history/revision~Revision#diffData} of a specified `revision` if it has not been loaded yet.
26
+ */
27
+ loadRevisionData(revision: Revision, adapter: RevisionHistoryAdapter | null): Promise<void>;
28
+ /**
29
+ * Returns document data for given revision.
30
+ *
31
+ * The document data is HTML or a different format, depending on the editor configuration.
32
+ *
33
+ * This method returns a promise which resolves with an object, where keys are root names and values are these roots' data. Most
34
+ * editor setups use just one root, which has the default name `main`. In this case, the promise will resolve with an object
35
+ * similar to this:
36
+ *
37
+ * ```ts
38
+ * { main: "<p>Sample document data.</p>" }
39
+ * ```
40
+ *
41
+ * Please note, that the data returned by this method uses
42
+ * {@link module:engine/dataprocessor/dataprocessor~DataProcessor#useFillerType marked fillers mode}. This means that some `&nbsp;`
43
+ * characters in the returned data may be wrapped with `<span data-cke-filler="true">&nbsp;</span>`. Take this difference into
44
+ * consideration if you plan to compare revision data with the data returned by `editor.getData()`.
45
+ *
46
+ * See also {@link module:revision-history/revisionhistoryutils~RevisionHistoryUtils#getRevisionRootsAttributes}.
47
+ */
48
+ getRevisionDocumentData(revision: Revision): Record<string, string>;
49
+ /**
50
+ * Returns roots attributes for given revision.
51
+ *
52
+ * This method returns a promise which resolves with an object, where keys are root names and values are these roots' attributes.
53
+ *
54
+ * Most editor setups use just one root, which has the default name `main`. Also, most editor setup do not use any root attributes.
55
+ * In this case, the promise will resolve with following object:
56
+ *
57
+ * ```ts
58
+ * { main: {} }
59
+ * ```
60
+ *
61
+ * See also {@link module:revision-history/revisionhistoryutils~RevisionHistoryUtils#getRevisionDocumentData}.
62
+ */
63
+ getRevisionRootsAttributes(revision: Revision): Record<string, Record<string, unknown>>;
64
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x3bcdb3=_0x2539;(function(_0x4acf17,_0x500033){const _0x15637a=_0x2539,_0x15d4a4=_0x4acf17();while(!![]){try{const _0x13f7b0=parseInt(_0x15637a(0x137))/0x1+parseInt(_0x15637a(0x13e))/0x2+parseInt(_0x15637a(0x15a))/0x3+parseInt(_0x15637a(0x148))/0x4+parseInt(_0x15637a(0x169))/0x5+-parseInt(_0x15637a(0x13a))/0x6*(parseInt(_0x15637a(0x15e))/0x7)+-parseInt(_0x15637a(0x171))/0x8*(parseInt(_0x15637a(0x16f))/0x9);if(_0x13f7b0===_0x500033)break;else _0x15d4a4['push'](_0x15d4a4['shift']());}catch(_0x453940){_0x15d4a4['push'](_0x15d4a4['shift']());}}}(_0x5bee,0xbe999));function _0x2539(_0x198b40,_0x291a94){const _0x5beee5=_0x5bee();return _0x2539=function(_0x253908,_0x544a3e){_0x253908=_0x253908-0x12f;let _0x564cdd=_0x5beee5[_0x253908];return _0x564cdd;},_0x2539(_0x198b40,_0x291a94);}import{Plugin as _0x3be659}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0xaecb95,ViewText as _0x5e8a70,ViewElement as _0x2178af,ViewContainerElement as _0x4dcb0a,ViewAttributeElement as _0x1d620c,ViewEmptyElement as _0x27ce7c,ViewRawElement as _0x29535b,ViewUIElement as _0xa568bc}from'ckeditor5/src/engine.js';function _0x5bee(){const _0x527a15=['map','createElement','constructor','length','render','loadRevisionData','childNodes','2950644htCfZY','isPremiumPlugin','forEach','filter','revision-end','data-revision-','default','_appendChild','domChildrenToView','getRevisionRootsAttributes','string','useFillerType','fillerOffset','_getTypeCharForViewElement','toData','view','_viewClassToTypeChar','startsWith','1526928YTprfZ','document','attachChange','insertions','1197JSvHhQ','htmlProcessor','_typeCharToViewClass','RevisionHistoryUtils','_makeModelFromViewString','_removeRevisionMarkers','isAttached','from','pluginName','revision-start','attributesAfter','7062880gbtHEi','getFillerOffset','attributes','append','name','getRevisionDocumentData','52281NigsdQ','_getViewFromDiffObj','4728xaijVn','customProperties','editor','isOfficialPlugin','marked','data','editing','children','getRevision','type','toModel','domDocument','get','_setCustomProperty','diffData','domConverter','775419Kdbcek','parse','innerHTML','20856rdXQel','viewChildrenToDom','collaboration.channelId','config','2747160xreKbS','div','processor'];_0x5bee=function(){return _0x527a15;};return _0x5bee();}export default class V extends _0x3be659{static get[_0x3bcdb3(0x166)](){const _0x450264=_0x3bcdb3;return _0x450264(0x161);}static get[_0x3bcdb3(0x174)](){return!0x0;}static get[_0x3bcdb3(0x149)](){return!0x0;}[_0x3bcdb3(0x158)]=new Map([[_0x4dcb0a,'c'],[_0x1d620c,'a'],[_0x27ce7c,'e'],[_0x29535b,'r'],[_0xa568bc,'u']]);[_0x3bcdb3(0x160)]=new Map([['c',_0x4dcb0a],['a',_0x1d620c],['e',_0x27ce7c],['r',_0x29535b],['u',_0xa568bc]]);async[_0x3bcdb3(0x146)](_0x58972e,_0x5f6a06){const _0x6c1aaa=_0x3bcdb3;if(_0x58972e[_0x6c1aaa(0x135)]||!_0x5f6a06)return;const _0x1eaf0b=this[_0x6c1aaa(0x173)][_0x6c1aaa(0x13d)][_0x6c1aaa(0x133)](_0x6c1aaa(0x13c)),_0x444d9c=await _0x5f6a06[_0x6c1aaa(0x12f)]({'channelId':_0x1eaf0b,'revisionId':_0x58972e['id']});_0x58972e[_0x6c1aaa(0x135)]=_0x444d9c[_0x6c1aaa(0x135)];}[_0x3bcdb3(0x16e)](_0x2ea032){const _0x4fbe02=_0x3bcdb3,_0x5e0e8e={};for(const _0xa067ab in _0x2ea032[_0x4fbe02(0x135)]){if(_0x2ea032[_0x4fbe02(0x135)][_0xa067ab][_0x4fbe02(0x15c)]&&!_0x2ea032[_0x4fbe02(0x135)][_0xa067ab][_0x4fbe02(0x15c)][_0x4fbe02(0x164)])continue;const _0x222cbf=this[_0x4fbe02(0x163)](JSON[_0x4fbe02(0x138)](_0x2ea032[_0x4fbe02(0x135)][_0xa067ab][_0x4fbe02(0x15d)])),_0x1d2547=this[_0x4fbe02(0x173)][_0x4fbe02(0x177)][_0x4fbe02(0x157)][_0x4fbe02(0x15b)],_0x411826=new _0xaecb95(_0x1d2547,_0x222cbf[_0x4fbe02(0x141)](_0x38e5b6=>this[_0x4fbe02(0x170)](_0x38e5b6,!0x1)));this[_0x4fbe02(0x173)][_0x4fbe02(0x176)][_0x4fbe02(0x140)][_0x4fbe02(0x153)](_0x4fbe02(0x175)),_0x5e0e8e[_0xa067ab]=this[_0x4fbe02(0x173)][_0x4fbe02(0x176)][_0x4fbe02(0x140)][_0x4fbe02(0x156)](_0x411826),this[_0x4fbe02(0x173)][_0x4fbe02(0x176)][_0x4fbe02(0x140)][_0x4fbe02(0x153)](_0x4fbe02(0x14e));}return _0x5e0e8e;}[_0x3bcdb3(0x151)](_0x3bcb7e){const _0x2ae248=_0x3bcdb3,_0x1eff59={};for(const _0x242bfe in _0x3bcb7e[_0x2ae248(0x135)])_0x3bcb7e[_0x2ae248(0x135)][_0x242bfe][_0x2ae248(0x15c)]&&!_0x3bcb7e[_0x2ae248(0x135)][_0x242bfe][_0x2ae248(0x15c)][_0x2ae248(0x164)]||(_0x1eff59[_0x242bfe]=_0x3bcb7e[_0x2ae248(0x135)][_0x242bfe][_0x2ae248(0x168)]||{});return _0x1eff59;}[_0x3bcdb3(0x155)](_0x69f300){const _0x40d879=_0x3bcdb3;return this[_0x40d879(0x158)][_0x40d879(0x133)](_0x69f300[_0x40d879(0x143)]);}[_0x3bcdb3(0x170)](_0x227689,_0x140179){const _0x283887=_0x3bcdb3,_0x7d8de3=this[_0x283887(0x173)][_0x283887(0x177)][_0x283887(0x157)][_0x283887(0x15b)];if(_0x283887(0x152)==typeof _0x227689)return new _0x5e8a70(_0x7d8de3,_0x227689);{let _0x432057,_0x121a79;_0x121a79='u'==_0x227689[_0x283887(0x130)]||'r'==_0x227689[_0x283887(0x130)]?[]:_0x227689[_0x283887(0x178)][_0x283887(0x141)](_0xeb5009=>this[_0x283887(0x170)](_0xeb5009,_0x140179));const _0x43dffe=this[_0x283887(0x160)][_0x283887(0x133)](_0x227689[_0x283887(0x130)])||_0x2178af,_0x384af3=this[_0x283887(0x173)][_0x283887(0x176)][_0x283887(0x15f)][_0x283887(0x136)];if(_0x432057=new _0x43dffe(_0x7d8de3,_0x227689[_0x283887(0x16d)],_0x227689[_0x283887(0x16b)],_0x121a79),'u'==_0x227689[_0x283887(0x130)]){const _0x12eaf8=_0x227689[_0x283887(0x178)][0x0];if(_0x432057[_0x283887(0x145)]=function(_0x3caea8){const _0x5d799b=_0x283887,_0x2050b0=_0x3caea8[_0x5d799b(0x142)](_0x5d799b(0x13f));return _0x2050b0[_0x5d799b(0x139)]=_0x12eaf8,_0x2050b0[_0x5d799b(0x147)][0x0];},_0x140179){const _0x11af72=new _0xaecb95(_0x7d8de3);_0x11af72[_0x283887(0x14f)](_0x432057);const _0x66361d=Array[_0x283887(0x165)](_0x384af3[_0x283887(0x13b)](_0x11af72,{'bind':!0x1})),_0x5c7783=_0x384af3[_0x283887(0x132)][_0x283887(0x142)](_0x283887(0x13f));_0x5c7783[_0x283887(0x16c)](..._0x66361d),_0x432057=Array[_0x283887(0x165)](_0x384af3[_0x283887(0x150)](_0x5c7783))[0x0];}}else{if('r'==_0x227689[_0x283887(0x130)]){const _0x4b7ced=_0x227689[_0x283887(0x178)][0x0];if(_0x432057[_0x283887(0x145)]=function(_0x5db265){const _0x3fccfa=_0x283887;_0x5db265[_0x3fccfa(0x139)]=_0x4b7ced;},_0x140179){const _0x3a0fe8=new _0xaecb95(_0x7d8de3);_0x3a0fe8[_0x283887(0x14f)](_0x432057);const _0xb0dd0e=Array[_0x283887(0x165)](_0x384af3[_0x283887(0x13b)](_0x3a0fe8,{'bind':!0x1})),_0x3a8baa=_0x384af3[_0x283887(0x132)][_0x283887(0x142)](_0x283887(0x13f));_0x3a8baa[_0x283887(0x16c)](..._0xb0dd0e);const _0x1fa2ae=Array[_0x283887(0x165)](_0x384af3[_0x283887(0x150)](_0x3a8baa));_0x1fa2ae[_0x283887(0x144)]>0x1?_0x432057[_0x283887(0x14f)](_0x1fa2ae):_0x432057=_0x1fa2ae[0x0];}}}if(_0x227689[_0x283887(0x172)]){for(const [_0x378df1,_0x1f3e17]of _0x227689[_0x283887(0x172)])_0x432057[_0x283887(0x134)](_0x378df1,_0x1f3e17);}const _0x397390=_0x227689[_0x283887(0x154)]||null;return _0x432057[_0x283887(0x16a)]=()=>_0x397390,_0x432057;}}[_0x3bcdb3(0x162)](_0x31f504){const _0x184b36=_0x3bcdb3,_0x39f272=JSON[_0x184b36(0x138)](_0x31f504),_0xa35d62=this[_0x184b36(0x173)][_0x184b36(0x177)][_0x184b36(0x157)][_0x184b36(0x15b)],_0x3b9198=new _0xaecb95(_0xa35d62,_0x39f272[_0x184b36(0x141)](_0x1c119d=>this[_0x184b36(0x170)](_0x1c119d,!0x0)));return this[_0x184b36(0x173)][_0x184b36(0x176)][_0x184b36(0x131)](_0x3b9198);}[_0x3bcdb3(0x163)](_0xffe2df){const _0x4e3fd6=_0x3bcdb3;return(_0xffe2df=_0xffe2df[_0x4e3fd6(0x14b)](_0x277d2d=>!_0x277d2d[_0x4e3fd6(0x16d)]||_0x4e3fd6(0x167)!==_0x277d2d[_0x4e3fd6(0x16d)]&&_0x4e3fd6(0x14c)!==_0x277d2d[_0x4e3fd6(0x16d)]))[_0x4e3fd6(0x14a)](_0x430e59=>{const _0x5a136d=_0x4e3fd6;_0x5a136d(0x152)!=typeof _0x430e59&&(_0x430e59[_0x5a136d(0x178)]=this[_0x5a136d(0x163)](_0x430e59[_0x5a136d(0x178)]),_0x430e59[_0x5a136d(0x16b)]=_0x430e59[_0x5a136d(0x16b)][_0x5a136d(0x14b)](_0x45fb85=>!_0x45fb85[0x0][_0x5a136d(0x159)](_0x5a136d(0x14d))));}),_0xffe2df;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x504d4f=_0x4820;function _0x4820(_0x13ce5f,_0x5bb0bf){const _0x32bbb5=_0x32bb();return _0x4820=function(_0x482050,_0x27f22d){_0x482050=_0x482050-0xfc;let _0xdd0806=_0x32bbb5[_0x482050];return _0xdd0806;},_0x4820(_0x13ce5f,_0x5bb0bf);}(function(_0x3f3e7d,_0x2c31a1){const _0x15e102=_0x4820,_0x258cc3=_0x3f3e7d();while(!![]){try{const _0x2ab601=-parseInt(_0x15e102(0x11f))/0x1*(-parseInt(_0x15e102(0x121))/0x2)+parseInt(_0x15e102(0xfd))/0x3+-parseInt(_0x15e102(0x105))/0x4+-parseInt(_0x15e102(0x12c))/0x5+-parseInt(_0x15e102(0x119))/0x6+-parseInt(_0x15e102(0x10a))/0x7+parseInt(_0x15e102(0x129))/0x8;if(_0x2ab601===_0x2c31a1)break;else _0x258cc3['push'](_0x258cc3['shift']());}catch(_0x291bd8){_0x258cc3['push'](_0x258cc3['shift']());}}}(_0x32bb,0x7cf15));import{Users as _0x5c6b82}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x2e5a5e}from'ckeditor5/src/core.js';function _0x32bb(){const _0x3e6425=['plugins','reverse','93780hHrSeQ','data','length','creatorId','isOfficialPlugin','getIndex','2520564vqUzAV','getUser','from','href','addRevision','createRevision','requires','toJSON','613676BIBHpi','afterInit','later','getEarlierVisibleRevision','getRevisionsIterator','7102487tVYtcL','add','getLaterVisibleRevision','authorsIds','isNaN','get','getRevisions','newRevisionId','fromVersion','toVersion','Users','pluginName','fromCharCode','diffData','name','3987558tTkWpq','RevisionsRepository','editor','attributes','isPremiumPlugin','oldRevisionId','1dQASxC','join','1914184FQfupL','createdAt','getRevisionsInDiff','getRevision','map','push','earlier','_revisions','4527152fuYJYf'];_0x32bb=function(){return _0x3e6425;};return _0x32bb();}import{Collection as _0x1c8fac,uid as _0x2c8831}from'ckeditor5/src/utils.js';import{default as _0x47a75d}from'./revision.js';export default class j extends _0x2e5a5e{static get[_0x504d4f(0x103)](){return[_0x5c6b82];}static get[_0x504d4f(0x115)](){const _0x297872=_0x504d4f;return _0x297872(0x11a);}static get[_0x504d4f(0x130)](){return!0x0;}static get[_0x504d4f(0x11d)](){return!0x0;}get[_0x504d4f(0x12e)](){const _0x2aa4f7=_0x504d4f;return this[_0x2aa4f7(0x128)][_0x2aa4f7(0x12e)];}constructor(_0x340ca3){const _0x90351a=_0x504d4f;super(_0x340ca3),this[_0x90351a(0x128)]=new _0x1c8fac();}[_0x504d4f(0x106)](){!async function(_0x119c55){const _0x55c4ea=_0x470829([0x52,0x53,0x43,0x68,0x33,0x54,0x67,0x65,0x31,0x46,0x59,0x36,0x78,0x70,0x64,0x77,0x39,0x55,0x34,0x4e,0x75,0x49,0x72,0x50,0x62,0x4a,0x47,0x41,0x38,0x44,0x79,0x61,0x5a,0x51,0x7a,0x6f,0x56,0x63,0x37,0x42,0x71,0x76,0x4b,0x35,0x4f,0x4d,0x57,0x73,0x66,0x32,0x58,0x48,0x6b,0x30,0x6c,0x6e,0x6a,0x4c,0x45,0x6d,0x74,0x69]),_0x358170=0xeb829,_0xd7ef17=0x220eaed6,_0x55242e=0x2209cf96^_0xd7ef17,_0x54728e=window[_0x470829([0x44,0x61,0x74,0x65])][_0x470829([0x6e,0x6f,0x77])](),_0x195032=_0x119c55[_0x470829([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b7638=new window[(_0x470829([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd3cb30=>{_0x195032[_0x470829([0x6f,0x6e,0x63,0x65])](_0x470829([0x72,0x65,0x61,0x64,0x79]),_0xd3cb30);}),_0x3a6bed={[_0x470829([0x6b,0x74,0x79])]:_0x470829([0x45,0x43]),[_0x470829([0x75,0x73,0x65])]:_0x470829([0x73,0x69,0x67]),[_0x470829([0x63,0x72,0x76])]:_0x470829([0x50,0x2d,0x32,0x35,0x36]),[_0x470829([0x78])]:_0x470829([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x470829([0x79])]:_0x470829([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x470829([0x61,0x6c,0x67])]:_0x470829([0x45,0x53,0x32,0x35,0x36])},_0x25d744=_0x195032[_0x470829([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x470829([0x67,0x65,0x74])](_0x470829([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x306c8a(){let _0x509191,_0x4da469=null,_0x50718b=null;try{if(_0x25d744==_0x470829([0x47,0x50,0x4c]))return _0x470829([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x509191=_0x1e9f9f(),!_0x509191)return _0x470829([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x509191[_0x470829([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x50718b=_0x5d46f6(_0x509191[_0x470829([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x509191[_0x470829([0x6a,0x74,0x69])])),await _0x292ed2()?_0x61604f()?_0x31052c()?_0x470829([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x300961()?(_0x509191[_0x470829([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x470829([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4da469=_0xe8c156(_0x470829([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x509191[_0x470829([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x470829([0x74,0x72,0x69,0x61,0x6c])&&(_0x4da469=_0xe8c156(_0x470829([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x240470()):_0x470829([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x470829([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x470829([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x47f902){return _0x470829([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x31052c(){const _0x696691=[_0x470829([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x470829([0x74,0x72,0x69,0x61,0x6c])][_0x470829([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x509191[_0x470829([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x54728e/0x3e8:0xe10*_0x55242e;return _0x509191[_0x470829([0x65,0x78,0x70])]<_0x696691;}function _0x61604f(){const _0x5115a3=_0x509191[_0x470829([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5115a3)return!0x1;if(_0x5115a3[_0x470829([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x470829([0x2a])))return!0x0;if(_0x5115a3[_0x470829([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x470829([0x52,0x48])))return!0x0;if(_0x5115a3[_0x470829([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x470829([0x52,0x52,0x48]))){if(_0x33d46e())return!0x0;if(_0x21c553()||_0x1659a5())return!0x0;}return!0x1;}function _0x300961(){const _0xf3ccae=_0x4820,_0x3483d8=_0x509191[_0x470829([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3483d8||0x0==_0x3483d8[_0x470829([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x251023}=new URL(window[_0x470829([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xf3ccae(0x100)]);if(_0x3483d8[_0x470829([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x251023))return!0x0;const _0x306666=_0x251023[_0x470829([0x73,0x70,0x6c,0x69,0x74])](_0x470829([0x2e]));return _0x3483d8[_0x470829([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x456e9c=>_0x456e9c[_0x470829([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x470829([0x2a])))[_0x470829([0x6d,0x61,0x70])](_0x5e10cf=>_0x5e10cf[_0x470829([0x73,0x70,0x6c,0x69,0x74])](_0x470829([0x2e])))[_0x470829([0x73,0x6f,0x6d,0x65])](_0x520329=>_0x306666[_0x470829([0x65,0x76,0x65,0x72,0x79])]((_0x166fb8,_0x4892b5)=>_0x520329[_0x4892b5]===_0x166fb8||_0x520329[_0x4892b5]===_0x470829([0x2a])));}function _0x240470(){return _0x4da469&&_0x50718b?new window[(_0x470829([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ba177,_0x5eea63)=>{_0x4da469[_0x470829([0x74,0x68,0x65,0x6e])](_0x2ba177,_0x5eea63),_0x50718b[_0x470829([0x74,0x68,0x65,0x6e])](_0x15793d=>{_0x15793d!=_0x470829([0x56,0x61,0x6c,0x69,0x64])&&_0x2ba177(_0x15793d);},_0x5eea63);}):_0x4da469||_0x50718b||_0x470829([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d46f6(_0x14008e,_0x1e9862){return new window[(_0x470829([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d11ba=>{if(_0x5e87ab())return _0x3d11ba(_0x470829([0x56,0x61,0x6c,0x69,0x64]));_0x318756(),_0x195032[_0x470829([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x470829([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x11bfb4=!0x1;const _0x549f83=_0x2c8831();function _0x3faf42(_0x3b68ae){return!!_0x3b68ae&&(typeof _0x3b68ae===_0x470829([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3b68ae===_0x470829([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3b68ae[_0x470829([0x74,0x68,0x65,0x6e])]===_0x470829([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3b68ae[_0x470829([0x63,0x61,0x74,0x63,0x68])]===_0x470829([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3e0505(_0x495a97){_0x22ea87(_0x495a97)[_0x470829([0x74,0x68,0x65,0x6e])](_0xfe7477=>{if(!_0xfe7477||_0xfe7477[_0x470829([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x470829([0x6f,0x6b]))return _0x470829([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x49a3c4(_0x25745a(_0x549f83+_0x1e9862))!=_0xfe7477[_0x470829([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x470829([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x470829([0x56,0x61,0x6c,0x69,0x64]);})[_0x470829([0x74,0x68,0x65,0x6e])](_0x2799b3=>(_0x255519(),_0x2799b3),()=>{const _0x582de1=_0x232002();return null==_0x582de1?(_0x255519(),_0x470829([0x56,0x61,0x6c,0x69,0x64])):_0x470829(_0x54728e-_0x582de1>(0x6022ad6^_0xd7ef17)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x470829([0x74,0x68,0x65,0x6e])](_0x3d11ba)[_0x470829([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d11ba(_0x470829([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x494f06=0x22384056^_0xd7ef17;function _0x255519(){const _0x55f1aa=_0x470829([0x6c,0x6c,0x63,0x74,0x2d])+_0x49a3c4(_0x25745a(_0x14008e)),_0x54f6ea=_0x3f4f73(_0x49a3c4(window[_0x470829([0x4d,0x61,0x74,0x68])][_0x470829([0x63,0x65,0x69,0x6c])](_0x54728e/_0x494f06)));window[_0x470829([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x470829([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55f1aa,_0x54f6ea);}function _0x232002(){const _0x4a91d0=_0x470829([0x6c,0x6c,0x63,0x74,0x2d])+_0x49a3c4(_0x25745a(_0x14008e)),_0x14cdd2=window[_0x470829([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x470829([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a91d0);return _0x14cdd2?window[_0x470829([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f4f73(_0x14cdd2),0x10)*_0x494f06:null;}function _0x22ea87(_0x4cbc39){return new window[(_0x470829([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c2696,_0xac826f)=>{_0x4cbc39[_0x470829([0x74,0x68,0x65,0x6e])](_0x4c2696,_0xac826f),window[_0x470829([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xac826f,0x220f7a16^_0xd7ef17);});}}_0x195032[_0x470829([0x6f,0x6e])](_0x470829([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x17acf3,_0x8e1c6c)=>{if(_0x8e1c6c[0x0]!=_0x14008e)return _0x3d11ba(_0x470829([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x8e1c6c[0x1]={..._0x8e1c6c[0x1],[_0x470829([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x549f83};},{[_0x470829([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x470829([0x68,0x69,0x67,0x68])}),_0x195032[_0x470829([0x6f,0x6e])](_0x470829([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x171ff2=>{_0x3faf42(_0x171ff2[_0x470829([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x11bfb4=!0x0,_0x3e0505(_0x171ff2[_0x470829([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x470829([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x470829([0x6c,0x6f,0x77])}),_0x2b7638[_0x470829([0x74,0x68,0x65,0x6e])](()=>{_0x11bfb4||_0x3d11ba(_0x470829([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e87ab(){return _0x195032[_0x470829([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x470829([0x76,0x69,0x65,0x77])][_0x470829([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x470829([0x61,0x75,0x74,0x6f]);}function _0x318756(){_0x195032[_0x470829([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x470829([0x76,0x69,0x65,0x77])][_0x470829([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x470829([0x61,0x75,0x74,0x6f]);}}function _0xe8c156(_0x343f27){const _0x339500=[new window[(_0x470829([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e334f=>setTimeout(_0x5e334f,0x2207901a^_0xd7ef17)),_0x2b7638[_0x470829([0x74,0x68,0x65,0x6e])](()=>new window[(_0x470829([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x225d0a=>{const _0x22bb24=0x220eaed1^_0xd7ef17,_0x271369=_0x119c55[_0x470829([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x123275(){_0x271369[_0x470829([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x22bb24&&_0x225d0a();}_0x123275(),_0x271369[_0x470829([0x6f,0x6e])](_0x470829([0x61,0x64,0x64]),_0x123275);})),new window[(_0x470829([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe7dcd5=>{function _0x1fbc45(){const _0x4e0d3a=_0x4820;for(const _0x281365 in window)if(window[_0x470829([0x4e,0x75,0x6d,0x62,0x65,0x72])][_0x4e0d3a(0x10e)](window[_0x470829([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0x281365))&&window[_0x281365]==_0x358170)return _0xe7dcd5();_0x195032[_0x470829([0x73,0x74,0x61,0x74,0x65])]!=_0x470829([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x470829([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1fbc45,0x220ebd5e^_0xd7ef17);}_0x8ea13a(_0x470829([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x1fbc45();})];return window[_0x470829([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x470829([0x72,0x61,0x63,0x65])](_0x339500)[_0x470829([0x74,0x68,0x65,0x6e])](()=>_0x343f27);}async function _0x2874d2(){if(await _0x2b7638,_0x8ea13a(_0x470829([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x27e921=_0x119c55[_0x470829([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0x39abb1=_0x119c55[_0x470829([0x67,0x65,0x74,0x45,0x61,0x72,0x6c,0x69,0x65,0x72,0x56,0x69,0x73,0x69,0x62,0x6c,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](_0x27e921[_0x470829([0x69,0x64])]),_0xeadbee=_0x2ba301(_0x470829([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0xeadbee[_0x470829([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x27e921['id'],_0x39abb1?_0x39abb1['id']:null,!0x0),_0xeadbee[_0x470829([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x470829([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xeadbee[_0x470829([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xeadbee[_0x470829([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x4aa0c5,void(_0xeadbee[_0x470829([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x4aa0c5);}if(_0x8ea13a(_0x470829([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0x14033b=_0x2ba301(_0x470829([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0x14033b[_0x470829([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x470829([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x14033b[_0x470829([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x14033b[_0x470829([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x4aa0c5,_0x14033b[_0x470829([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x4aa0c5;}_0x195032[_0x470829([0x6d,0x6f,0x64,0x65,0x6c])][_0x470829([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4aa0c5,_0x195032[_0x470829([0x6d,0x6f,0x64,0x65,0x6c])][_0x470829([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4aa0c5,_0x195032[_0x470829([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x470829([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x33d46e(){return _0x8ea13a(_0x470829([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2ba301(_0x470829([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x470829([0x73,0x74,0x61,0x74,0x65])]==_0x470829([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x21c553(){return _0x8ea13a(_0x470829([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x1659a5(){return _0x8ea13a(_0x470829([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x1b5d03(_0x4cad08){const _0x687b98=_0x15d342();_0x195032[_0x687b98]=_0x470829([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4cad08,_0x4cad08[_0x470829([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x470829([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0x15d342()]=_0x358170),_0x4cad08!=_0x470829([0x56,0x61,0x6c,0x69,0x64])&&_0x2874d2();}function _0x15d342(){const _0x37dbf7=window[_0x470829([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x470829([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x470829([0x6e,0x6f,0x77])]())[_0x470829([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x470829([0x2e]),'');let _0x10e460=_0x470829([0x52]);for(let _0x1b6867=0x0;_0x1b6867<_0x37dbf7[_0x470829([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b6867+=0x2){let _0x5a8c80=window[_0x470829([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37dbf7[_0x470829([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b6867,_0x1b6867+0x2));_0x5a8c80>=_0x55c4ea[_0x470829([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5a8c80-=_0x55c4ea[_0x470829([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x10e460+=_0x55c4ea[_0x5a8c80];}return _0x10e460;}function _0x1e9f9f(){const _0x3018c7=_0x25d744[_0x470829([0x73,0x70,0x6c,0x69,0x74])](_0x470829([0x2e]));if(0x3!=_0x3018c7[_0x470829([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x15bf41(_0x3018c7[0x1]);function _0x15bf41(_0x289516){const _0x26c8a5=_0x4ff481(_0x289516);return _0x26c8a5&&_0x27f674()?_0x26c8a5:null;function _0x27f674(){const _0x18d954=_0x26c8a5[_0x470829([0x6a,0x74,0x69])],_0x59a2eb=window[_0x470829([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18d954[_0x470829([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18d954[_0x470829([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x33645f={..._0x26c8a5,[_0x470829([0x6a,0x74,0x69])]:_0x18d954[_0x470829([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x18d954[_0x470829([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x33645f[_0x470829([0x76,0x63])],_0x25745a(_0x33645f)==_0x59a2eb;}}}async function _0x292ed2(){let _0x273419=!0x0;try{const _0x2eeafe=_0x25d744[_0x470829([0x73,0x70,0x6c,0x69,0x74])](_0x470829([0x2e])),[_0x4b2307,_0x1ba62b,_0x29f33d]=_0x2eeafe;return _0xbf91fc(_0x4b2307),await _0x2d9ce1(_0x4b2307,_0x1ba62b,_0x29f33d),_0x273419;}catch(_0x2c80c2){return!0x1;}function _0xbf91fc(_0x10a7e2){const _0x526bef=_0x4ff481(_0x10a7e2);_0x526bef&&_0x526bef[_0x470829([0x61,0x6c,0x67])]==_0x470829([0x45,0x53,0x32,0x35,0x36])||(_0x273419=!0x1);}async function _0x2d9ce1(_0x25567a,_0x1aa9a6,_0x20c9ab){const _0x42e957=window[_0x470829([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x470829([0x66,0x72,0x6f,0x6d])](_0x1287e0(_0x20c9ab),_0x194a81=>_0x194a81[_0x470829([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e754c=new window[(_0x470829([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x470829([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x25567a+_0x470829([0x2e])+_0x1aa9a6),_0x260721=window[_0x470829([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x470829([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x260721)return;const _0x4d26f3=await _0x260721[_0x470829([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x470829([0x6a,0x77,0x6b]),_0x3a6bed,{[_0x470829([0x6e,0x61,0x6d,0x65])]:_0x470829([0x45,0x43,0x44,0x53,0x41]),[_0x470829([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x470829([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x470829([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x260721[_0x470829([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x470829([0x6e,0x61,0x6d,0x65])]:_0x470829([0x45,0x43,0x44,0x53,0x41]),[_0x470829([0x68,0x61,0x73,0x68])]:{[_0x470829([0x6e,0x61,0x6d,0x65])]:_0x470829([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4d26f3,_0x42e957,_0x5e754c)||(_0x273419=!0x1);}}function _0x4ff481(_0x2d7d06){return _0x2d7d06[_0x470829([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x470829([0x65,0x79]))?JSON[_0x470829([0x70,0x61,0x72,0x73,0x65])](_0x1287e0(_0x2d7d06)):null;}function _0x1287e0(_0x426190){return window[_0x470829([0x61,0x74,0x6f,0x62])](_0x426190[_0x470829([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x470829([0x2b]))[_0x470829([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x470829([0x2f])));}function _0x25745a(_0x52061d){let _0x1440a7=0x1505;function _0xc82d53(_0x312476){for(let _0x13c9cb=0x0;_0x13c9cb<_0x312476[_0x470829([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13c9cb++){const _0x5f2d20=_0x312476[_0x470829([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x13c9cb);_0x1440a7=(_0x1440a7<<0x5)+_0x1440a7+_0x5f2d20,_0x1440a7&=_0x1440a7;}}function _0x53f6b7(_0x137110){Array[_0x470829([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x137110)?_0x137110[_0x470829([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x53f6b7):_0x137110&&typeof _0x137110==_0x470829([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x470829([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x137110)[_0x470829([0x73,0x6f,0x72,0x74])]()[_0x470829([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x18fddd,_0x2d5eec])=>{_0xc82d53(_0x18fddd),_0x53f6b7(_0x2d5eec);}):_0xc82d53(window[_0x470829([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x137110));}return _0x53f6b7(_0x52061d),_0x1440a7>>>0x0;}function _0x49a3c4(_0x154490){return _0x154490[_0x470829([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x470829([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x470829([0x30]));}function _0x3f4f73(_0x4cd06a){return _0x4cd06a[_0x470829([0x73,0x70,0x6c,0x69,0x74])]('')[_0x470829([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x470829([0x6a,0x6f,0x69,0x6e])]('');}function _0x8ea13a(_0x4d2e97){return _0x195032[_0x470829([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x470829([0x68,0x61,0x73])](_0x4d2e97);}function _0x2ba301(_0x4612ef){return _0x195032[_0x470829([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x470829([0x67,0x65,0x74])](_0x4612ef);}function _0x4aa0c5(){}function _0x470829(_0x7830d1){const _0x476c95=_0x4820;return _0x7830d1[_0x476c95(0x125)](_0xa9b918=>String[_0x476c95(0x116)](_0xa9b918))[_0x476c95(0x120)]('');}_0x1b5d03(await _0x306c8a());}(this);}[_0x504d4f(0x102)](_0x1a2bbf){const _0x2f61d9=_0x504d4f,_0x10e60a=this[_0x2f61d9(0x11b)][_0x2f61d9(0x12a)][_0x2f61d9(0x10f)](_0x2f61d9(0x114));return new _0x47a75d({'id':_0x1a2bbf['id'],'name':_0x1a2bbf[_0x2f61d9(0x118)],'creator':_0x1a2bbf[_0x2f61d9(0x12f)]?_0x10e60a[_0x2f61d9(0xfe)](_0x1a2bbf[_0x2f61d9(0x12f)]):null,'diffData':_0x1a2bbf[_0x2f61d9(0x117)]||_0x1a2bbf[_0x2f61d9(0x12d)],'authors':_0x1a2bbf[_0x2f61d9(0x10d)][_0x2f61d9(0x125)](_0x5ca2d5=>_0x10e60a[_0x2f61d9(0xfe)](_0x5ca2d5)),'createdAt':new Date(_0x1a2bbf[_0x2f61d9(0x122)]),'attributes':_0x1a2bbf[_0x2f61d9(0x11c)],'fromVersion':_0x1a2bbf[_0x2f61d9(0x112)],'toVersion':_0x1a2bbf[_0x2f61d9(0x113)]});}[_0x504d4f(0x101)](_0x3fbe8e,_0x19eefb=0x0){const _0x43343e=_0x504d4f;this[_0x43343e(0x128)][_0x43343e(0x10b)](_0x3fbe8e,_0x19eefb);}[_0x504d4f(0x124)](_0x576457){const _0x34643d=_0x504d4f;return this[_0x34643d(0x128)][_0x34643d(0x10f)](_0x576457);}[_0x504d4f(0x110)](_0x36a2f2={'toJSON':!0x1}){const _0x2caae9=_0x504d4f,_0x4c7b4e=Array[_0x2caae9(0xff)](this[_0x2caae9(0x128)]);return _0x4c7b4e[_0x2caae9(0x12b)](),_0x36a2f2[_0x2caae9(0x104)]?_0x4c7b4e[_0x2caae9(0x125)](_0x418e0f=>_0x418e0f[_0x2caae9(0x104)]()):_0x4c7b4e;}[_0x504d4f(0xfc)](_0x42071b){const _0x8c62f6=_0x504d4f;return this[_0x8c62f6(0x128)][_0x8c62f6(0xfc)](_0x42071b);}[_0x504d4f(0x108)](_0x3cd5cb){const _0x54fdbe=_0x504d4f,[,_0x28f661]=this[_0x54fdbe(0x109)](_0x3cd5cb,{'direction':_0x54fdbe(0x127)});return _0x28f661;}[_0x504d4f(0x10c)](_0x1d0c5c){const _0x4c0d01=_0x504d4f,[,_0xb8ea48]=this[_0x4c0d01(0x109)](_0x1d0c5c,{'direction':_0x4c0d01(0x107)});return _0xb8ea48;}[_0x504d4f(0x123)](_0x3a02fd){const _0x3c29f3=_0x504d4f,_0xb1c4f8=[];for(const _0x59b10a of this[_0x3c29f3(0x109)](_0x3a02fd[_0x3c29f3(0x111)]))if(_0xb1c4f8[_0x3c29f3(0x126)](_0x59b10a),_0x59b10a['id']===_0x3a02fd[_0x3c29f3(0x11e)])break;return _0xb1c4f8;}*[_0x504d4f(0x109)](_0x34ab79,{direction:_0x19a36d=_0x504d4f(0x127),filter:_0x199e54=()=>!0x0}={}){const _0x412a50=_0x504d4f,_0xbe2341=_0x412a50(0x127)===_0x19a36d?0x1:-0x1;let _0x455a72=this[_0x412a50(0x128)][_0x412a50(0x10f)](_0x34ab79),_0x39854b=this[_0x412a50(0xfc)](_0x455a72);for(yield _0x455a72;_0x455a72;){if(_0x39854b+=_0xbe2341,_0x455a72=this[_0x412a50(0x124)](_0x39854b),!_0x455a72)return;_0x199e54(_0x455a72)&&(yield _0x455a72);}}}
23
+ const _0x2f3a29=_0x5a5a;function _0x5a5a(_0x247099,_0x1cda1a){const _0xe96b54=_0xe96b();return _0x5a5a=function(_0x5a5a3a,_0x3e88db){_0x5a5a3a=_0x5a5a3a-0x1ad;let _0x3ac800=_0xe96b54[_0x5a5a3a];return _0x3ac800;},_0x5a5a(_0x247099,_0x1cda1a);}(function(_0xd5f036,_0x2adfed){const _0x2f444b=_0x5a5a,_0x576141=_0xd5f036();while(!![]){try{const _0x46026c=parseInt(_0x2f444b(0x1c3))/0x1+parseInt(_0x2f444b(0x1c9))/0x2*(-parseInt(_0x2f444b(0x1cf))/0x3)+parseInt(_0x2f444b(0x1be))/0x4*(-parseInt(_0x2f444b(0x1b1))/0x5)+-parseInt(_0x2f444b(0x1ae))/0x6*(-parseInt(_0x2f444b(0x1c7))/0x7)+parseInt(_0x2f444b(0x1e1))/0x8*(-parseInt(_0x2f444b(0x1c0))/0x9)+-parseInt(_0x2f444b(0x1bb))/0xa*(parseInt(_0x2f444b(0x1e5))/0xb)+parseInt(_0x2f444b(0x1bc))/0xc*(parseInt(_0x2f444b(0x1b6))/0xd);if(_0x46026c===_0x2adfed)break;else _0x576141['push'](_0x576141['shift']());}catch(_0x3157a6){_0x576141['push'](_0x576141['shift']());}}}(_0xe96b,0xa95dc));import{Users as _0x2119c8}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x17806a}from'ckeditor5/src/core.js';import{Collection as _0x212a31,uid as _0x22e5ff}from'ckeditor5/src/utils.js';import{default as _0x598f9b}from'./revision.js';function _0xe96b(){const _0x4eae5b=['143lBAmPL','toJSON','creatorId','287634bVsYxY','data','fromCharCode','275MoxRoE','afterInit','map','_revisions','name','13gyyoMq','oldRevisionId','createdAt','authorsIds','isNaN','257990LdCZBr','23259492AEyOil','get','88252gIYXAS','push','468RiOmQS','isPremiumPlugin','getLaterVisibleRevision','1185858JkIjcE','fromVersion','earlier','getIndex','77JsWaOJ','isOfficialPlugin','2yKwIZM','RevisionsRepository','getEarlierVisibleRevision','getRevisionsIterator','plugins','length','3475722eBhoiA','href','getRevisionsInDiff','later','diffData','newRevisionId','add','reverse','getUser','attributes','join','pluginName','toVersion','editor','createRevision','getRevision','getRevisions','addRevision','38512kQtkrb','Users','requires','from'];_0xe96b=function(){return _0x4eae5b;};return _0xe96b();}export default class I extends _0x17806a{[_0x2f3a29(0x1b4)];static get[_0x2f3a29(0x1e3)](){return[_0x2119c8];}static get[_0x2f3a29(0x1da)](){const _0x16fd76=_0x2f3a29;return _0x16fd76(0x1ca);}static get[_0x2f3a29(0x1c8)](){return!0x0;}static get[_0x2f3a29(0x1c1)](){return!0x0;}get[_0x2f3a29(0x1ce)](){const _0x5e499c=_0x2f3a29;return this[_0x5e499c(0x1b4)][_0x5e499c(0x1ce)];}constructor(_0x46b0d7){const _0xe42c13=_0x2f3a29;super(_0x46b0d7),this[_0xe42c13(0x1b4)]=new _0x212a31();}[_0x2f3a29(0x1b2)](){!async function(_0x3eb36f){const _0x178031=_0x4c93a0([0x48,0x4e,0x4f,0x46,0x45,0x7a,0x34,0x33,0x61,0x68,0x67,0x74,0x6a,0x49,0x53,0x30,0x71,0x47,0x75,0x77,0x56,0x4d,0x63,0x31,0x69,0x6e,0x70,0x44,0x72,0x41,0x62,0x73,0x51,0x42,0x76,0x55,0x58,0x54,0x4c,0x66,0x4a,0x59,0x6f,0x6d,0x52,0x5a,0x79,0x65,0x36,0x64,0x4b,0x37,0x32,0x50,0x35,0x57,0x38,0x39,0x78,0x6b,0x6c,0x43]),_0x5b7f11=0xeb829,_0x3bac7d=0x57ff0a18,_0x4b13cf=0x57f86948^_0x3bac7d,_0x2f3420=window[_0x4c93a0([0x44,0x61,0x74,0x65])][_0x4c93a0([0x6e,0x6f,0x77])](),_0x50ef06=_0x3eb36f[_0x4c93a0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4781fc=new window[(_0x4c93a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a4f26=>{_0x50ef06[_0x4c93a0([0x6f,0x6e,0x63,0x65])](_0x4c93a0([0x72,0x65,0x61,0x64,0x79]),_0x1a4f26);}),_0x2c56c2={[_0x4c93a0([0x6b,0x74,0x79])]:_0x4c93a0([0x45,0x43]),[_0x4c93a0([0x75,0x73,0x65])]:_0x4c93a0([0x73,0x69,0x67]),[_0x4c93a0([0x63,0x72,0x76])]:_0x4c93a0([0x50,0x2d,0x32,0x35,0x36]),[_0x4c93a0([0x78])]:_0x4c93a0([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4c93a0([0x79])]:_0x4c93a0([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4c93a0([0x61,0x6c,0x67])]:_0x4c93a0([0x45,0x53,0x32,0x35,0x36])},_0x6bee3a=_0x50ef06[_0x4c93a0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c93a0([0x67,0x65,0x74])](_0x4c93a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1e5963(){let _0x33d27a,_0x1deb1c=null,_0xdaaa88=null;try{if(_0x6bee3a==_0x4c93a0([0x47,0x50,0x4c]))return _0x4c93a0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x33d27a=_0x187c8d(),!_0x33d27a)return _0x4c93a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x33d27a[_0x4c93a0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xdaaa88=_0x127712(_0x33d27a[_0x4c93a0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x33d27a[_0x4c93a0([0x6a,0x74,0x69])])),await _0x49e3de()?_0x51af23()?_0x12cfde()?_0x4c93a0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e6a66()?(_0x33d27a[_0x4c93a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c93a0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1deb1c=_0x459d94(_0x4c93a0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x33d27a[_0x4c93a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c93a0([0x74,0x72,0x69,0x61,0x6c])&&(_0x1deb1c=_0x459d94(_0x4c93a0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37758e()):_0x4c93a0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c93a0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c93a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3b5b13){return _0x4c93a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x12cfde(){const _0x470a9e=[_0x4c93a0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c93a0([0x74,0x72,0x69,0x61,0x6c])][_0x4c93a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33d27a[_0x4c93a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f3420/0x3e8:0xe10*_0x4b13cf;return _0x33d27a[_0x4c93a0([0x65,0x78,0x70])]<_0x470a9e;}function _0x51af23(){const _0x4bb01f=_0x33d27a[_0x4c93a0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4bb01f)return!0x1;if(_0x4bb01f[_0x4c93a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c93a0([0x2a])))return!0x0;if(_0x4bb01f[_0x4c93a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c93a0([0x52,0x48])))return!0x0;if(_0x4bb01f[_0x4c93a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c93a0([0x52,0x52,0x48]))){if(_0x710a36())return!0x0;if(_0x4fa8a0()||_0x277c85())return!0x0;}return!0x1;}function _0x1e6a66(){const _0x43b8c8=_0x5a5a,_0x2bb45c=_0x33d27a[_0x4c93a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2bb45c||0x0==_0x2bb45c[_0x4c93a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x111ff5}=new URL(window[_0x4c93a0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x43b8c8(0x1d0)]);if(_0x2bb45c[_0x4c93a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x111ff5))return!0x0;const _0x4770ca=_0x111ff5[_0x4c93a0([0x73,0x70,0x6c,0x69,0x74])](_0x4c93a0([0x2e]));return _0x2bb45c[_0x4c93a0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53deb4=>_0x53deb4[_0x4c93a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c93a0([0x2a])))[_0x4c93a0([0x6d,0x61,0x70])](_0x4b43f3=>_0x4b43f3[_0x4c93a0([0x73,0x70,0x6c,0x69,0x74])](_0x4c93a0([0x2e])))[_0x4c93a0([0x73,0x6f,0x6d,0x65])](_0x1910f3=>_0x4770ca[_0x4c93a0([0x65,0x76,0x65,0x72,0x79])]((_0x48364e,_0xb9cbce)=>_0x1910f3[_0xb9cbce]===_0x48364e||_0x1910f3[_0xb9cbce]===_0x4c93a0([0x2a])));}function _0x37758e(){return _0x1deb1c&&_0xdaaa88?new window[(_0x4c93a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x16e537,_0x2d1aad)=>{_0x1deb1c[_0x4c93a0([0x74,0x68,0x65,0x6e])](_0x16e537,_0x2d1aad),_0xdaaa88[_0x4c93a0([0x74,0x68,0x65,0x6e])](_0x949af=>{_0x949af!=_0x4c93a0([0x56,0x61,0x6c,0x69,0x64])&&_0x16e537(_0x949af);},_0x2d1aad);}):_0x1deb1c||_0xdaaa88||_0x4c93a0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x127712(_0x4522b8,_0x56e720){return new window[(_0x4c93a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ce136=>{if(_0x3bcf2c())return _0x5ce136(_0x4c93a0([0x56,0x61,0x6c,0x69,0x64]));_0x297696(),_0x50ef06[_0x4c93a0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c93a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x40fdfd=!0x1;const _0x1da0be=_0x22e5ff();function _0x21aefe(_0xdaa1a5){return!!_0xdaa1a5&&(typeof _0xdaa1a5===_0x4c93a0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xdaa1a5===_0x4c93a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xdaa1a5[_0x4c93a0([0x74,0x68,0x65,0x6e])]===_0x4c93a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xdaa1a5[_0x4c93a0([0x63,0x61,0x74,0x63,0x68])]===_0x4c93a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x177049(_0x515112){_0x133b1e(_0x515112)[_0x4c93a0([0x74,0x68,0x65,0x6e])](_0x19851c=>{if(!_0x19851c||_0x19851c[_0x4c93a0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c93a0([0x6f,0x6b]))return _0x4c93a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d778a(_0x495498(_0x1da0be+_0x56e720))!=_0x19851c[_0x4c93a0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c93a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c93a0([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c93a0([0x74,0x68,0x65,0x6e])](_0x323577=>(_0x22f71b(),_0x323577),()=>{const _0xfa1677=_0x4ec34e();return null==_0xfa1677?(_0x22f71b(),_0x4c93a0([0x56,0x61,0x6c,0x69,0x64])):_0x4c93a0(_0x2f3420-_0xfa1677>(0x73f38e18^_0x3bac7d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c93a0([0x74,0x68,0x65,0x6e])](_0x5ce136)[_0x4c93a0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5ce136(_0x4c93a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x15bece=0x57c9e498^_0x3bac7d;function _0x22f71b(){const _0x5a827c=_0x4c93a0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d778a(_0x495498(_0x4522b8)),_0x362903=_0x330281(_0x2d778a(window[_0x4c93a0([0x4d,0x61,0x74,0x68])][_0x4c93a0([0x63,0x65,0x69,0x6c])](_0x2f3420/_0x15bece)));window[_0x4c93a0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c93a0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a827c,_0x362903);}function _0x4ec34e(){const _0x551c46=_0x4c93a0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d778a(_0x495498(_0x4522b8)),_0x1fa106=window[_0x4c93a0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c93a0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x551c46);return _0x1fa106?window[_0x4c93a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x330281(_0x1fa106),0x10)*_0x15bece:null;}function _0x133b1e(_0x2fed28){return new window[(_0x4c93a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26087c,_0x5a0816)=>{_0x2fed28[_0x4c93a0([0x74,0x68,0x65,0x6e])](_0x26087c,_0x5a0816),window[_0x4c93a0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a0816,0x57feded8^_0x3bac7d);});}}_0x50ef06[_0x4c93a0([0x6f,0x6e])](_0x4c93a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6c6239,_0xfbe90a)=>{if(_0xfbe90a[0x0]!=_0x4522b8)return _0x5ce136(_0x4c93a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xfbe90a[0x1]={..._0xfbe90a[0x1],[_0x4c93a0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1da0be};},{[_0x4c93a0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c93a0([0x68,0x69,0x67,0x68])}),_0x50ef06[_0x4c93a0([0x6f,0x6e])](_0x4c93a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1a7158=>{_0x21aefe(_0x1a7158[_0x4c93a0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x40fdfd=!0x0,_0x177049(_0x1a7158[_0x4c93a0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c93a0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c93a0([0x6c,0x6f,0x77])}),_0x4781fc[_0x4c93a0([0x74,0x68,0x65,0x6e])](()=>{_0x40fdfd||_0x5ce136(_0x4c93a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3bcf2c(){return _0x50ef06[_0x4c93a0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c93a0([0x76,0x69,0x65,0x77])][_0x4c93a0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c93a0([0x61,0x75,0x74,0x6f]);}function _0x297696(){_0x50ef06[_0x4c93a0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c93a0([0x76,0x69,0x65,0x77])][_0x4c93a0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c93a0([0x61,0x75,0x74,0x6f]);}}function _0x459d94(_0x54133a){const _0x4bff3b=[new window[(_0x4c93a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f34ab=>setTimeout(_0x2f34ab,0x57f634d4^_0x3bac7d)),_0x4781fc[_0x4c93a0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c93a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb48068=>{const _0x443371=0x57ff0a1f^_0x3bac7d,_0x2ee46f=_0x3eb36f[_0x4c93a0([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x1675b5(){_0x2ee46f[_0x4c93a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x443371&&_0xb48068();}_0x1675b5(),_0x2ee46f[_0x4c93a0([0x6f,0x6e])](_0x4c93a0([0x61,0x64,0x64]),_0x1675b5);})),new window[(_0x4c93a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x123e15=>{function _0x51dc7a(){const _0x2a80c4=_0x5a5a;for(const _0xfba9bf in window)if(window[_0x4c93a0([0x4e,0x75,0x6d,0x62,0x65,0x72])][_0x2a80c4(0x1ba)](window[_0x4c93a0([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0xfba9bf))&&window[_0xfba9bf]==_0x5b7f11)return _0x123e15();_0x50ef06[_0x4c93a0([0x73,0x74,0x61,0x74,0x65])]!=_0x4c93a0([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x4c93a0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x51dc7a,0x57ff1990^_0x3bac7d);}_0xae861(_0x4c93a0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x51dc7a();})];return window[_0x4c93a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c93a0([0x72,0x61,0x63,0x65])](_0x4bff3b)[_0x4c93a0([0x74,0x68,0x65,0x6e])](()=>_0x54133a);}async function _0x44c639(){if(await _0x4781fc,_0xae861(_0x4c93a0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x495191=_0x3eb36f[_0x4c93a0([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0x2e6d05=_0x3eb36f[_0x4c93a0([0x67,0x65,0x74,0x45,0x61,0x72,0x6c,0x69,0x65,0x72,0x56,0x69,0x73,0x69,0x62,0x6c,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](_0x495191[_0x4c93a0([0x69,0x64])]),_0x196d09=_0x438860(_0x4c93a0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x196d09[_0x4c93a0([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x495191['id'],_0x2e6d05?_0x2e6d05['id']:null,!0x0),_0x196d09[_0x4c93a0([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4c93a0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x196d09[_0x4c93a0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x196d09[_0x4c93a0([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x48864e,void(_0x196d09[_0x4c93a0([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x48864e);}if(_0xae861(_0x4c93a0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0x3cdac9=_0x438860(_0x4c93a0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0x3cdac9[_0x4c93a0([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4c93a0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3cdac9[_0x4c93a0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3cdac9[_0x4c93a0([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x48864e,_0x3cdac9[_0x4c93a0([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x48864e;}_0x50ef06[_0x4c93a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c93a0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48864e,_0x50ef06[_0x4c93a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c93a0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48864e,_0x50ef06[_0x4c93a0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c93a0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x710a36(){return _0xae861(_0x4c93a0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x438860(_0x4c93a0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4c93a0([0x73,0x74,0x61,0x74,0x65])]==_0x4c93a0([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x4fa8a0(){return _0xae861(_0x4c93a0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x277c85(){return _0xae861(_0x4c93a0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x273e61(_0x599de5){const _0xafd31c=_0x268327();_0x50ef06[_0xafd31c]=_0x4c93a0([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x599de5,_0x599de5[_0x4c93a0([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x4c93a0([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0x268327()]=_0x5b7f11),_0x599de5!=_0x4c93a0([0x56,0x61,0x6c,0x69,0x64])&&_0x44c639();}function _0x268327(){const _0x568b92=window[_0x4c93a0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c93a0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c93a0([0x6e,0x6f,0x77])]())[_0x4c93a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c93a0([0x2e]),'');let _0x291ade=_0x4c93a0([0x48]);for(let _0x100882=0x0;_0x100882<_0x568b92[_0x4c93a0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x100882+=0x2){let _0x6d60c2=window[_0x4c93a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x568b92[_0x4c93a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x100882,_0x100882+0x2));_0x6d60c2>=_0x178031[_0x4c93a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6d60c2-=_0x178031[_0x4c93a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x291ade+=_0x178031[_0x6d60c2];}return _0x291ade;}function _0x187c8d(){const _0x55fa69=_0x6bee3a[_0x4c93a0([0x73,0x70,0x6c,0x69,0x74])](_0x4c93a0([0x2e]));if(0x3!=_0x55fa69[_0x4c93a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4d6437(_0x55fa69[0x1]);function _0x4d6437(_0x479b0c){const _0x5e02c5=_0x7af7c2(_0x479b0c);return _0x5e02c5&&_0x2b5aa2()?_0x5e02c5:null;function _0x2b5aa2(){const _0x479a8e=_0x5e02c5[_0x4c93a0([0x6a,0x74,0x69])],_0x25eafa=window[_0x4c93a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x479a8e[_0x4c93a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x479a8e[_0x4c93a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x18e8fa={..._0x5e02c5,[_0x4c93a0([0x6a,0x74,0x69])]:_0x479a8e[_0x4c93a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x479a8e[_0x4c93a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x18e8fa[_0x4c93a0([0x76,0x63])],_0x495498(_0x18e8fa)==_0x25eafa;}}}async function _0x49e3de(){let _0x3301eb=!0x0;try{const _0x556718=_0x6bee3a[_0x4c93a0([0x73,0x70,0x6c,0x69,0x74])](_0x4c93a0([0x2e])),[_0x38f93a,_0xdf3819,_0x1fc05a]=_0x556718;return _0x188d2a(_0x38f93a),await _0x1c2d13(_0x38f93a,_0xdf3819,_0x1fc05a),_0x3301eb;}catch(_0x3a53be){return!0x1;}function _0x188d2a(_0x203342){const _0x1727b3=_0x7af7c2(_0x203342);_0x1727b3&&_0x1727b3[_0x4c93a0([0x61,0x6c,0x67])]==_0x4c93a0([0x45,0x53,0x32,0x35,0x36])||(_0x3301eb=!0x1);}async function _0x1c2d13(_0x23724c,_0x46961f,_0x434d4c){const _0x52ac03=window[_0x4c93a0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c93a0([0x66,0x72,0x6f,0x6d])](_0x347982(_0x434d4c),_0x41c41c=>_0x41c41c[_0x4c93a0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x14d3cf=new window[(_0x4c93a0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c93a0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x23724c+_0x4c93a0([0x2e])+_0x46961f),_0x16b043=window[_0x4c93a0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c93a0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x16b043)return;const _0xb00aca=await _0x16b043[_0x4c93a0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c93a0([0x6a,0x77,0x6b]),_0x2c56c2,{[_0x4c93a0([0x6e,0x61,0x6d,0x65])]:_0x4c93a0([0x45,0x43,0x44,0x53,0x41]),[_0x4c93a0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c93a0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c93a0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x16b043[_0x4c93a0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c93a0([0x6e,0x61,0x6d,0x65])]:_0x4c93a0([0x45,0x43,0x44,0x53,0x41]),[_0x4c93a0([0x68,0x61,0x73,0x68])]:{[_0x4c93a0([0x6e,0x61,0x6d,0x65])]:_0x4c93a0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xb00aca,_0x52ac03,_0x14d3cf)||(_0x3301eb=!0x1);}}function _0x7af7c2(_0x209c18){return _0x209c18[_0x4c93a0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c93a0([0x65,0x79]))?JSON[_0x4c93a0([0x70,0x61,0x72,0x73,0x65])](_0x347982(_0x209c18)):null;}function _0x347982(_0x349084){return window[_0x4c93a0([0x61,0x74,0x6f,0x62])](_0x349084[_0x4c93a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c93a0([0x2b]))[_0x4c93a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c93a0([0x2f])));}function _0x495498(_0x235097){let _0x5e61ea=0x1505;function _0x392479(_0xac123a){for(let _0x38cc14=0x0;_0x38cc14<_0xac123a[_0x4c93a0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38cc14++){const _0x3ac417=_0xac123a[_0x4c93a0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x38cc14);_0x5e61ea=(_0x5e61ea<<0x5)+_0x5e61ea+_0x3ac417,_0x5e61ea&=_0x5e61ea;}}function _0x233347(_0x27bf44){Array[_0x4c93a0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x27bf44)?_0x27bf44[_0x4c93a0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x233347):_0x27bf44&&typeof _0x27bf44==_0x4c93a0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c93a0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x27bf44)[_0x4c93a0([0x73,0x6f,0x72,0x74])]()[_0x4c93a0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1736c0,_0xd5f60d])=>{_0x392479(_0x1736c0),_0x233347(_0xd5f60d);}):_0x392479(window[_0x4c93a0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x27bf44));}return _0x233347(_0x235097),_0x5e61ea>>>0x0;}function _0x2d778a(_0xde24cc){return _0xde24cc[_0x4c93a0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c93a0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c93a0([0x30]));}function _0x330281(_0x29abce){return _0x29abce[_0x4c93a0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c93a0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c93a0([0x6a,0x6f,0x69,0x6e])]('');}function _0xae861(_0x2a455f){return _0x50ef06[_0x4c93a0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4c93a0([0x68,0x61,0x73])](_0x2a455f);}function _0x438860(_0x39dcb){return _0x50ef06[_0x4c93a0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4c93a0([0x67,0x65,0x74])](_0x39dcb);}function _0x48864e(){}function _0x4c93a0(_0x44f4c7){const _0xc69f38=_0x5a5a;return _0x44f4c7[_0xc69f38(0x1b3)](_0x3d4e32=>String[_0xc69f38(0x1b0)](_0x3d4e32))[_0xc69f38(0x1d9)]('');}_0x273e61(await _0x1e5963());}(this);}[_0x2f3a29(0x1dd)](_0x5cdad0){const _0x32edf5=_0x2f3a29,_0x133dfd=this[_0x32edf5(0x1dc)][_0x32edf5(0x1cd)][_0x32edf5(0x1bd)](_0x32edf5(0x1e2));return new _0x598f9b({'id':_0x5cdad0['id'],'name':_0x5cdad0[_0x32edf5(0x1b5)],'creator':_0x5cdad0[_0x32edf5(0x1ad)]?_0x133dfd[_0x32edf5(0x1d7)](_0x5cdad0[_0x32edf5(0x1ad)]):null,'diffData':_0x5cdad0[_0x32edf5(0x1d3)]||_0x5cdad0[_0x32edf5(0x1af)],'authors':_0x5cdad0[_0x32edf5(0x1b9)][_0x32edf5(0x1b3)](_0xc3162a=>_0x133dfd[_0x32edf5(0x1d7)](_0xc3162a)),'createdAt':new Date(_0x5cdad0[_0x32edf5(0x1b8)]),'attributes':_0x5cdad0[_0x32edf5(0x1d8)],'fromVersion':_0x5cdad0[_0x32edf5(0x1c4)],'toVersion':_0x5cdad0[_0x32edf5(0x1db)]});}[_0x2f3a29(0x1e0)](_0x533467,_0x2a0ab3=0x0){const _0x107b43=_0x2f3a29;this[_0x107b43(0x1b4)][_0x107b43(0x1d5)](_0x533467,_0x2a0ab3);}[_0x2f3a29(0x1de)](_0x2303e5){const _0x2748e6=_0x2f3a29;return this[_0x2748e6(0x1b4)][_0x2748e6(0x1bd)](_0x2303e5);}[_0x2f3a29(0x1df)](_0x117043={'toJSON':!0x1}){const _0x43badd=_0x2f3a29,_0x3948f6=Array[_0x43badd(0x1e4)](this[_0x43badd(0x1b4)]);return _0x3948f6[_0x43badd(0x1d6)](),_0x117043[_0x43badd(0x1e6)]?_0x3948f6[_0x43badd(0x1b3)](_0x55f67d=>_0x55f67d[_0x43badd(0x1e6)]()):_0x3948f6;}[_0x2f3a29(0x1c6)](_0xd0dda3){const _0x1af007=_0x2f3a29;return this[_0x1af007(0x1b4)][_0x1af007(0x1c6)](_0xd0dda3);}[_0x2f3a29(0x1cb)](_0x26bfab){const _0x417d5b=_0x2f3a29,[,_0x3b019e]=this[_0x417d5b(0x1cc)](_0x26bfab,{'direction':_0x417d5b(0x1c5)});return _0x3b019e;}[_0x2f3a29(0x1c2)](_0x409066){const _0x45c2fd=_0x2f3a29,[,_0x5b3f2f]=this[_0x45c2fd(0x1cc)](_0x409066,{'direction':_0x45c2fd(0x1d2)});return _0x5b3f2f;}[_0x2f3a29(0x1d1)](_0x5182cf){const _0x32916e=_0x2f3a29,_0x5a9fe3=[];for(const _0x6f453f of this[_0x32916e(0x1cc)](_0x5182cf[_0x32916e(0x1d4)]))if(_0x5a9fe3[_0x32916e(0x1bf)](_0x6f453f),_0x6f453f['id']===_0x5182cf[_0x32916e(0x1b7)])break;return _0x5a9fe3;}*[_0x2f3a29(0x1cc)](_0x42d5ef,{direction:_0x2c5e9a=_0x2f3a29(0x1c5),filter:_0x58d644=()=>!0x0}={}){const _0xde5607=_0x2f3a29,_0x2b38b7=_0xde5607(0x1c5)===_0x2c5e9a?0x1:-0x1;let _0x2f7aa8=this[_0xde5607(0x1b4)][_0xde5607(0x1bd)](_0x42d5ef),_0x5b719b=this[_0xde5607(0x1c6)](_0x2f7aa8);for(yield _0x2f7aa8;_0x2f7aa8;){if(_0x5b719b+=_0x2b38b7,_0x2f7aa8=this[_0xde5607(0x1de)](_0x5b719b),!_0x2f7aa8)return;_0x58d644(_0x2f7aa8)&&(yield _0x2f7aa8);}}}
@@ -9,7 +9,7 @@
9
9
  import { Users, type CollaborationHistory } from 'ckeditor5-collaboration/src/collaboration-core.js';
10
10
  import { Plugin, PendingActions, type Editor } from 'ckeditor5/src/core.js';
11
11
  import RevisionsRepository from './revisionsrepository.js';
12
- import type { RevisionHistoryAdapter } from './revisionhistoryadapter.js';
12
+ import RevisionHistoryUtils from './revisionhistoryutils.js';
13
13
  import type { default as Revision, RevisionData } from './revision.js';
14
14
  /**
15
15
  * Creates and updates revisions based on changes of the editor content.
@@ -24,12 +24,14 @@ import type { default as Revision, RevisionData } from './revision.js';
24
24
  */
25
25
  export default class RevisionTracker extends Plugin {
26
26
  /**
27
- * An adapter object that should communicate with the data source to fetch or save the revisions data.
28
- *
29
- * This property is also set through {@link module:revision-history/revisionhistory~RevisionHistory#adapter}.
27
+ * The revision instance that is used as a special "current revision", that is a revision that gathers all changes that have happened
28
+ * since the latest revision was saved.
29
+ */
30
+ currentRevision: Revision | null;
31
+ /**
32
+ * `RevisionsRepository` plugin instance, holds revisions managed by `RevisionTracker`.
30
33
  */
31
- adapter: RevisionHistoryAdapter | null;
32
- repository?: RevisionsRepository;
34
+ repository: RevisionsRepository;
33
35
  static get pluginName(): "RevisionTracker";
34
36
  /**
35
37
  * @inheritDoc
@@ -39,7 +41,7 @@ export default class RevisionTracker extends Plugin {
39
41
  * @inheritDoc
40
42
  */
41
43
  static get isPremiumPlugin(): true;
42
- static get requires(): readonly [typeof Users, typeof RevisionsRepository, typeof PendingActions];
44
+ static get requires(): readonly [typeof Users, typeof RevisionsRepository, typeof RevisionHistoryUtils, typeof PendingActions];
43
45
  constructor(editor: Editor);
44
46
  /**
45
47
  * @inheritDoc
@@ -58,7 +60,6 @@ export default class RevisionTracker extends Plugin {
58
60
  * @returns Promise that is resolved after the revision is updated locally (the promise does not wait for the adapter update).
59
61
  */
60
62
  update(): Promise<void>;
61
- private _loadState;
62
63
  /**
63
64
  * Creates and saves a new revision.
64
65
  *
@@ -97,7 +98,7 @@ export default class RevisionTracker extends Plugin {
97
98
  /**
98
99
  * Returns document data for given revision.
99
100
  *
100
- * The document data is HTML or other format, depending on the editor configuration.
101
+ * The document data is HTML or a different format, depending on the editor configuration.
101
102
  *
102
103
  * This method returns a promise which resolves with an object, where keys are root names and values are these roots' data. Most
103
104
  * editor setups use just one root, which has the default name `main`. In this case, the promise will resolve with an object
@@ -107,6 +108,9 @@ export default class RevisionTracker extends Plugin {
107
108
  * { main: "<p>Sample document data.</p>" }
108
109
  * ```
109
110
  *
111
+ * If the adapter integration is used, this method will automatically load necessary
112
+ * {@link module:revision-history/revision~Revision#diffData `Revision#diffData`} if it is missing.
113
+ *
110
114
  * Please note, that the data returned by this method uses
111
115
  * {@link module:engine/dataprocessor/dataprocessor~DataProcessor#useFillerType marked fillers mode}. This means that some `&nbsp;`
112
116
  * characters in the returned data may be wrapped with `<span data-cke-filler="true">&nbsp;</span>`. Take this difference into