@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250324.0 → 0.0.0-nightly-20250326.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index-editor.css +8 -8
  3. package/dist/index.css +17 -17
  4. package/dist/index.js +6 -6
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +11 -11
  150. package/src/augmentation.d.ts +2 -1
  151. package/src/changeitem.js +2 -2
  152. package/src/editor/revisionviewereditor.js +2 -2
  153. package/src/editor/revisionviewereditorui.js +1 -1
  154. package/src/editor/revisionviewereditoruiview.js +1 -1
  155. package/src/index.d.ts +2 -0
  156. package/src/index.js +1 -1
  157. package/src/revision.js +2 -2
  158. package/src/revisiondiff.js +1 -1
  159. package/src/revisionhistory.d.ts +6 -0
  160. package/src/revisionhistory.js +1 -1
  161. package/src/revisionhistoryconfig.d.ts +2 -2
  162. package/src/revisionhistoryutils.d.ts +64 -0
  163. package/src/revisionhistoryutils.js +23 -0
  164. package/src/revisionsrepository.js +1 -1
  165. package/src/revisiontracker.d.ts +13 -9
  166. package/src/revisiontracker.js +1 -1
  167. package/src/revisionviewer.d.ts +39 -5
  168. package/src/revisionviewer.js +1 -1
  169. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  170. package/src/ui/revision/revisionauthorview.js +1 -1
  171. package/src/ui/revision/revisionnameview.js +1 -1
  172. package/src/ui/revision/revisionview.js +2 -2
  173. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  174. package/src/ui/revision/subrevisionview.js +1 -1
  175. package/src/ui/revision/utils.js +1 -1
  176. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  177. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  178. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  179. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  180. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  181. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  182. package/src/ui/revisionssidebar/utils.js +1 -1
  183. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  184. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  185. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  186. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  187. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'zh-cn':{'dictionary':{'Restored':'已恢复','Empty\x20document':'空文档','Initial\x20revision':'初始版本','Compare\x20against\x20selected':'对比选中的文字','Name\x20this\x20revision':'给此版本命名','Revision\x20creator':'版本创建者','Revision\x20author':'版本作者','Revision\x20name':'版本名称','Name\x20of\x20the\x20revision':'修订的名称','optional':'可选的','Save\x20current\x20revision':'保存当前版本','Open\x20revision\x20history':'打开版本历史','Revision\x20history':'版本历史','Suggested\x20by':'建议者','Added\x20by':'添加者','Removed\x20by':'移除者','Loading...':'加载中…','No\x20changes':'无变更','NUMBER_OF_CHANGES':'%0\x20处修改','X_OF_Y_CHANGES':'第\x20%0\x20步,共\x20%1\x20步','Show\x20previous\x20change':'显示上一个变更','Show\x20next\x20change':'显示下一个变更','Total':'总计','EDIT_X_OF_Y_REVISIONS':'编辑','Back\x20to\x20editing':'返回编辑','Restore\x20this\x20revision':'恢复至此版本','PENDING_ACTION_REVISION_HISTORY':'版本历史中有未保存的变更。','Enter\x20the\x20revision\x20name':'输入修订名称','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修订版本名称不能为空。'},'getPluralForm':_0x31113c=>0x0}};
23
+ export default{'zh-cn':{'dictionary':{'Restored':'已恢复','Empty\x20document':'空文档','Initial\x20revision':'初始版本','Compare\x20against\x20selected':'对比选中的文字','Name\x20this\x20revision':'给此版本命名','Revision\x20creator':'版本创建者','Revision\x20author':'版本作者','Revision\x20name':'版本名称','Name\x20of\x20the\x20revision':'修订的名称','optional':'可选的','Save\x20current\x20revision':'保存当前版本','Open\x20revision\x20history':'打开版本历史','Revision\x20history':'版本历史','Suggested\x20by':'建议者','Added\x20by':'添加者','Removed\x20by':'移除者','Loading...':'加载中…','No\x20changes':'无变更','NUMBER_OF_CHANGES':'%0\x20处修改','X_OF_Y_CHANGES':'第\x20%0\x20步,共\x20%1\x20步','Show\x20previous\x20change':'显示上一个变更','Show\x20next\x20change':'显示下一个变更','Total':'总计','EDIT_X_OF_Y_REVISIONS':'编辑','Back\x20to\x20editing':'返回编辑','Restore\x20this\x20revision':'恢复至此版本','PENDING_ACTION_REVISION_HISTORY':'版本历史中有未保存的变更。','Enter\x20the\x20revision\x20name':'输入修订名称','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修订版本名称不能为空。'},'getPluralForm':_0x4f184f=>0x0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5e012b=>{const {'zh-cn':{dictionary:_0x29f3c5,getPluralForm:_0x14834c}}={'zh-cn':{'dictionary':{'Restored':'已恢复','Empty\x20document':'空文档','Initial\x20revision':'初始版本','Compare\x20against\x20selected':'对比选中的文字','Name\x20this\x20revision':'给此版本命名','Revision\x20creator':'版本创建者','Revision\x20author':'版本作者','Revision\x20name':'版本名称','Name\x20of\x20the\x20revision':'修订的名称','optional':'可选的','Save\x20current\x20revision':'保存当前版本','Open\x20revision\x20history':'打开版本历史','Revision\x20history':'版本历史','Suggested\x20by':'建议者','Added\x20by':'添加者','Removed\x20by':'移除者','Loading...':'加载中…','No\x20changes':'无变更','NUMBER_OF_CHANGES':'%0\x20处修改','X_OF_Y_CHANGES':'第\x20%0\x20步,共\x20%1\x20步','Show\x20previous\x20change':'显示上一个变更','Show\x20next\x20change':'显示下一个变更','Total':'总计','EDIT_X_OF_Y_REVISIONS':'编辑','Back\x20to\x20editing':'返回编辑','Restore\x20this\x20revision':'恢复至此版本','PENDING_ACTION_REVISION_HISTORY':'版本历史中有未保存的变更。','Enter\x20the\x20revision\x20name':'输入修订名称','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修订版本名称不能为空。'},'getPluralForm':_0x16a255=>0x0}};_0x5e012b['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x5e012b['zh-cn']['dictionary']=Object['assign'](_0x5e012b['zh-cn']['dictionary'],_0x29f3c5),_0x5e012b['zh-cn']['getPluralForm']=_0x14834c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5694c1=>{const {'zh-cn':{dictionary:_0x37f68a,getPluralForm:_0x5f0928}}={'zh-cn':{'dictionary':{'Restored':'已恢复','Empty\x20document':'空文档','Initial\x20revision':'初始版本','Compare\x20against\x20selected':'对比选中的文字','Name\x20this\x20revision':'给此版本命名','Revision\x20creator':'版本创建者','Revision\x20author':'版本作者','Revision\x20name':'版本名称','Name\x20of\x20the\x20revision':'修订的名称','optional':'可选的','Save\x20current\x20revision':'保存当前版本','Open\x20revision\x20history':'打开版本历史','Revision\x20history':'版本历史','Suggested\x20by':'建议者','Added\x20by':'添加者','Removed\x20by':'移除者','Loading...':'加载中…','No\x20changes':'无变更','NUMBER_OF_CHANGES':'%0\x20处修改','X_OF_Y_CHANGES':'第\x20%0\x20步,共\x20%1\x20步','Show\x20previous\x20change':'显示上一个变更','Show\x20next\x20change':'显示下一个变更','Total':'总计','EDIT_X_OF_Y_REVISIONS':'编辑','Back\x20to\x20editing':'返回编辑','Restore\x20this\x20revision':'恢复至此版本','PENDING_ACTION_REVISION_HISTORY':'版本历史中有未保存的变更。','Enter\x20the\x20revision\x20name':'输入修订名称','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修订版本名称不能为空。'},'getPluralForm':_0x32227b=>0x0}};_0x5694c1['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x5694c1['zh-cn']['dictionary']=Object['assign'](_0x5694c1['zh-cn']['dictionary'],_0x37f68a),_0x5694c1['zh-cn']['getPluralForm']=_0x5f0928;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'zh':{'dictionary':{'Restored':'已復原','Empty\x20document':'空文件','Initial\x20revision':'初始修訂','Compare\x20against\x20selected':'與所選作比較','Name\x20this\x20revision':'命名此修訂','Revision\x20creator':'修訂建立者','Revision\x20author':'修訂作者','Revision\x20name':'修訂名稱','Name\x20of\x20the\x20revision':'修訂名稱','optional':'選擇性','Save\x20current\x20revision':'儲存目前的修訂','Open\x20revision\x20history':'開啟修訂記錄','Revision\x20history':'修訂記錄','Suggested\x20by':'建議者','Added\x20by':'新增者','Removed\x20by':'刪除者','Loading...':'載入中……','No\x20changes':'無變更','NUMBER_OF_CHANGES':'%0\x20變更','X_OF_Y_CHANGES':'%0/%1','Show\x20previous\x20change':'顯示上個變更','Show\x20next\x20change':'顯示下個變更','Total':'總計','EDIT_X_OF_Y_REVISIONS':'編輯','Back\x20to\x20editing':'返回至編輯','Restore\x20this\x20revision':'還原此修訂','PENDING_ACTION_REVISION_HISTORY':'修訂記錄中未儲存的變更','Enter\x20the\x20revision\x20name':'輸入修訂名稱','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修訂名稱不可為空白。'},'getPluralForm':_0x46fd2f=>0x0}};
23
+ export default{'zh':{'dictionary':{'Restored':'已復原','Empty\x20document':'空文件','Initial\x20revision':'初始修訂','Compare\x20against\x20selected':'與所選作比較','Name\x20this\x20revision':'命名此修訂','Revision\x20creator':'修訂建立者','Revision\x20author':'修訂作者','Revision\x20name':'修訂名稱','Name\x20of\x20the\x20revision':'修訂名稱','optional':'選擇性','Save\x20current\x20revision':'儲存目前的修訂','Open\x20revision\x20history':'開啟修訂記錄','Revision\x20history':'修訂記錄','Suggested\x20by':'建議者','Added\x20by':'新增者','Removed\x20by':'刪除者','Loading...':'載入中……','No\x20changes':'無變更','NUMBER_OF_CHANGES':'%0\x20變更','X_OF_Y_CHANGES':'%0/%1','Show\x20previous\x20change':'顯示上個變更','Show\x20next\x20change':'顯示下個變更','Total':'總計','EDIT_X_OF_Y_REVISIONS':'編輯','Back\x20to\x20editing':'返回至編輯','Restore\x20this\x20revision':'還原此修訂','PENDING_ACTION_REVISION_HISTORY':'修訂記錄中未儲存的變更','Enter\x20the\x20revision\x20name':'輸入修訂名稱','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修訂名稱不可為空白。'},'getPluralForm':_0x40d616=>0x0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x19e6b2=>{const {zh:{dictionary:_0x497a05,getPluralForm:_0x249340}}={'zh':{'dictionary':{'Restored':'已復原','Empty\x20document':'空文件','Initial\x20revision':'初始修訂','Compare\x20against\x20selected':'與所選作比較','Name\x20this\x20revision':'命名此修訂','Revision\x20creator':'修訂建立者','Revision\x20author':'修訂作者','Revision\x20name':'修訂名稱','Name\x20of\x20the\x20revision':'修訂名稱','optional':'選擇性','Save\x20current\x20revision':'儲存目前的修訂','Open\x20revision\x20history':'開啟修訂記錄','Revision\x20history':'修訂記錄','Suggested\x20by':'建議者','Added\x20by':'新增者','Removed\x20by':'刪除者','Loading...':'載入中……','No\x20changes':'無變更','NUMBER_OF_CHANGES':'%0\x20變更','X_OF_Y_CHANGES':'%0/%1','Show\x20previous\x20change':'顯示上個變更','Show\x20next\x20change':'顯示下個變更','Total':'總計','EDIT_X_OF_Y_REVISIONS':'編輯','Back\x20to\x20editing':'返回至編輯','Restore\x20this\x20revision':'還原此修訂','PENDING_ACTION_REVISION_HISTORY':'修訂記錄中未儲存的變更','Enter\x20the\x20revision\x20name':'輸入修訂名稱','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修訂名稱不可為空白。'},'getPluralForm':_0x2b2286=>0x0}};_0x19e6b2['zh']||={'dictionary':{},'getPluralForm':null},_0x19e6b2['zh']['dictionary']=Object['assign'](_0x19e6b2['zh']['dictionary'],_0x497a05),_0x19e6b2['zh']['getPluralForm']=_0x249340;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x59bee4=>{const {zh:{dictionary:_0x88732e,getPluralForm:_0x4fc3f8}}={'zh':{'dictionary':{'Restored':'已復原','Empty\x20document':'空文件','Initial\x20revision':'初始修訂','Compare\x20against\x20selected':'與所選作比較','Name\x20this\x20revision':'命名此修訂','Revision\x20creator':'修訂建立者','Revision\x20author':'修訂作者','Revision\x20name':'修訂名稱','Name\x20of\x20the\x20revision':'修訂名稱','optional':'選擇性','Save\x20current\x20revision':'儲存目前的修訂','Open\x20revision\x20history':'開啟修訂記錄','Revision\x20history':'修訂記錄','Suggested\x20by':'建議者','Added\x20by':'新增者','Removed\x20by':'刪除者','Loading...':'載入中……','No\x20changes':'無變更','NUMBER_OF_CHANGES':'%0\x20變更','X_OF_Y_CHANGES':'%0/%1','Show\x20previous\x20change':'顯示上個變更','Show\x20next\x20change':'顯示下個變更','Total':'總計','EDIT_X_OF_Y_REVISIONS':'編輯','Back\x20to\x20editing':'返回至編輯','Restore\x20this\x20revision':'還原此修訂','PENDING_ACTION_REVISION_HISTORY':'修訂記錄中未儲存的變更','Enter\x20the\x20revision\x20name':'輸入修訂名稱','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修訂名稱不可為空白。'},'getPluralForm':_0x4e1fcf=>0x0}};_0x59bee4['zh']||={'dictionary':{},'getPluralForm':null},_0x59bee4['zh']['dictionary']=Object['assign'](_0x59bee4['zh']['dictionary'],_0x88732e),_0x59bee4['zh']['getPluralForm']=_0x4fc3f8;})(window['CKEDITOR_TRANSLATIONS']||={});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-revision-history",
3
- "version": "0.0.0-nightly-20250324.0",
3
+ "version": "0.0.0-nightly-20250326.0",
4
4
  "description": "Document revision history feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -39,17 +39,17 @@
39
39
  "CHANGELOG.md"
40
40
  ],
41
41
  "dependencies": {
42
- "@ckeditor/ckeditor5-autosave": "0.0.0-nightly-20250324.0",
43
- "@ckeditor/ckeditor5-comments": "0.0.0-nightly-20250324.0",
44
- "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250324.0",
45
- "@ckeditor/ckeditor5-editor-classic": "0.0.0-nightly-20250324.0",
46
- "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250324.0",
47
- "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250324.0",
48
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250324.0",
49
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250324.0",
42
+ "@ckeditor/ckeditor5-autosave": "0.0.0-nightly-20250326.0",
43
+ "@ckeditor/ckeditor5-comments": "0.0.0-nightly-20250326.0",
44
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250326.0",
45
+ "@ckeditor/ckeditor5-editor-classic": "0.0.0-nightly-20250326.0",
46
+ "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250326.0",
47
+ "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250326.0",
48
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250326.0",
49
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250326.0",
50
50
  "@types/luxon": "3.4.2",
51
- "ckeditor5": "0.0.0-nightly-20250324.0",
52
- "ckeditor5-collaboration": "0.0.0-nightly-20250324.0",
51
+ "ckeditor5": "0.0.0-nightly-20250326.0",
52
+ "ckeditor5-collaboration": "0.0.0-nightly-20250326.0",
53
53
  "es-toolkit": "1.32.0",
54
54
  "luxon": "3.5.0"
55
55
  },
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- import type { RevisionHistory, RevisionHistoryConfig, RevisionsRepository, RevisionViewerLoadingOverlay, RevisionHistoryUI, RevisionTracker, RevisionViewer, RestoreRevisionCommand, ShowChangeCommand, RevisionsSidebar, RevisionViewerUI } from './index.js';
5
+ import type { RevisionHistory, RevisionHistoryConfig, RevisionsRepository, RevisionHistoryUtils, RevisionViewerLoadingOverlay, RevisionHistoryUI, RevisionTracker, RevisionViewer, RestoreRevisionCommand, ShowChangeCommand, RevisionsSidebar, RevisionViewerUI } from './index.js';
6
6
  declare module '@ckeditor/ckeditor5-core' {
7
7
  interface EditorConfig {
8
8
  /**
@@ -14,6 +14,7 @@ declare module '@ckeditor/ckeditor5-core' {
14
14
  interface PluginsMap {
15
15
  [RevisionHistory.pluginName]: RevisionHistory;
16
16
  [RevisionsRepository.pluginName]: RevisionsRepository;
17
+ [RevisionHistoryUtils.pluginName]: RevisionHistoryUtils;
17
18
  [RevisionViewerLoadingOverlay.pluginName]: RevisionViewerLoadingOverlay;
18
19
  [RevisionHistoryUI.pluginName]: RevisionHistoryUI;
19
20
  [RevisionTracker.pluginName]: RevisionTracker;
package/src/changeitem.js CHANGED
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4b9c85=_0x3bcb;function _0x3bcb(_0x5f1138,_0x238a25){var _0x2554af=_0x2554();return _0x3bcb=function(_0x3bcb36,_0x3c3ef7){_0x3bcb36=_0x3bcb36-0xd1;var _0xae0a57=_0x2554af[_0x3bcb36];return _0xae0a57;},_0x3bcb(_0x5f1138,_0x238a25);}(function(_0x50b0ba,_0x1bc68b){var _0x189d2f=_0x3bcb,_0x277b76=_0x50b0ba();while(!![]){try{var _0x342a9a=parseInt(_0x189d2f(0xdb))/0x1+-parseInt(_0x189d2f(0xd2))/0x2*(parseInt(_0x189d2f(0xd1))/0x3)+parseInt(_0x189d2f(0xdc))/0x4*(-parseInt(_0x189d2f(0xd5))/0x5)+parseInt(_0x189d2f(0xe0))/0x6*(parseInt(_0x189d2f(0xde))/0x7)+parseInt(_0x189d2f(0xd6))/0x8*(-parseInt(_0x189d2f(0xe1))/0x9)+-parseInt(_0x189d2f(0xd8))/0xa+parseInt(_0x189d2f(0xd4))/0xb;if(_0x342a9a===_0x1bc68b)break;else _0x277b76['push'](_0x277b76['shift']());}catch(_0x523017){_0x277b76['push'](_0x277b76['shift']());}}}(_0x2554,0x9e9a2));import{ObservableMixin as _0x5013c7,uid as _0x32ed6d}from'ckeditor5/src/utils.js';export default class r extends/* #__PURE__ -- @preserve */
24
- _0x5013c7(){['id'];[_0x4b9c85(0xd3)];[_0x4b9c85(0xd7)];[_0x4b9c85(0xd9)];[_0x4b9c85(0xda)];constructor(_0x5604b1){var _0x5cb7e0=_0x4b9c85;super(),this['id']=_0x5604b1['id']||_0x32ed6d(),this[_0x5cb7e0(0xd3)]=_0x5604b1[_0x5cb7e0(0xd3)],this[_0x5cb7e0(0xd7)]=_0x5604b1[_0x5cb7e0(0xd7)],this[_0x5cb7e0(0xd9)]=_0x5604b1[_0x5cb7e0(0xd9)]||{},this[_0x5cb7e0(0xda)]=_0x5604b1[_0x5cb7e0(0xda)],this[_0x5cb7e0(0xdf)](_0x5cb7e0(0xdd),_0x5604b1[_0x5cb7e0(0xdd)]);}[_0x4b9c85(0xe2)](){var _0x12a333=_0x4b9c85;return{'id':this['id'],'authorId':this[_0x12a333(0xd3)]['id'],'type':this[_0x12a333(0xd7)],'data':this[_0x12a333(0xd9)],'createdAt':this[_0x12a333(0xdd)]};}}function _0x2554(){var _0x4f11a0=['1283547piFHJW','109304EWVemT','createdAt','2177nguxtd','set','16644OudmzE','63NkjHDW','toJSON','3KgkulT','1003318EaCdOK','author','17801652TuTsDZ','185LqjtrI','837608cLvBXD','type','8693310KDdtAP','data','rootName'];_0x2554=function(){return _0x4f11a0;};return _0x2554();}
23
+ var _0x34e52f=_0xebcf;(function(_0x7acc08,_0x51f061){var _0x48c639=_0xebcf,_0x313683=_0x7acc08();while(!![]){try{var _0x4860b6=parseInt(_0x48c639(0x13a))/0x1+parseInt(_0x48c639(0x137))/0x2*(parseInt(_0x48c639(0x144))/0x3)+-parseInt(_0x48c639(0x148))/0x4*(-parseInt(_0x48c639(0x142))/0x5)+parseInt(_0x48c639(0x143))/0x6+parseInt(_0x48c639(0x13f))/0x7*(-parseInt(_0x48c639(0x13d))/0x8)+parseInt(_0x48c639(0x139))/0x9+-parseInt(_0x48c639(0x140))/0xa*(parseInt(_0x48c639(0x13e))/0xb);if(_0x4860b6===_0x51f061)break;else _0x313683['push'](_0x313683['shift']());}catch(_0x5a7a4b){_0x313683['push'](_0x313683['shift']());}}}(_0x59c4,0x27812));function _0xebcf(_0x324124,_0x2588e2){var _0x59c4a4=_0x59c4();return _0xebcf=function(_0xebcf0,_0x35e04b){_0xebcf0=_0xebcf0-0x137;var _0x1b9c65=_0x59c4a4[_0xebcf0];return _0x1b9c65;},_0xebcf(_0x324124,_0x2588e2);}function _0x59c4(){var _0x476b1c=['2017960ftqcMP','165IWKrNh','7oLpJCP','149920uNzjPg','data','5Wmeuox','689574SMvmNo','55230cKsGtP','author','createdAt','rootName','633952QhEEvy','20lgKGdU','type','814383cghsdO','90931qUsdeT','set','toJSON'];_0x59c4=function(){return _0x476b1c;};return _0x59c4();}import{ObservableMixin as _0x5a05f0,uid as _0x5e1cfd}from'ckeditor5/src/utils.js';export default class r extends/* #__PURE__ -- @preserve */
24
+ _0x5a05f0(){['id'];[_0x34e52f(0x145)];[_0x34e52f(0x138)];[_0x34e52f(0x141)];[_0x34e52f(0x147)];constructor(_0xeeceab){var _0x5c81a2=_0x34e52f;super(),this['id']=_0xeeceab['id']||_0x5e1cfd(),this[_0x5c81a2(0x145)]=_0xeeceab[_0x5c81a2(0x145)],this[_0x5c81a2(0x138)]=_0xeeceab[_0x5c81a2(0x138)],this[_0x5c81a2(0x141)]=_0xeeceab[_0x5c81a2(0x141)]||{},this[_0x5c81a2(0x147)]=_0xeeceab[_0x5c81a2(0x147)],this[_0x5c81a2(0x13b)](_0x5c81a2(0x146),_0xeeceab[_0x5c81a2(0x146)]);}[_0x34e52f(0x13c)](){var _0x445aba=_0x34e52f;return{'id':this['id'],'authorId':this[_0x445aba(0x145)]['id'],'type':this[_0x445aba(0x138)],'data':this[_0x445aba(0x141)],'createdAt':this[_0x445aba(0x146)]};}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5408a0=_0x222f;function _0xaa6f(){const _0x15be8e=['model','document','92609vbXQRp','get','678390UjpoOS','3302127aUmgWe','createRoot','locale','data','create','initialData','editing','sourceElement','292rWqwEm','24935RVjJIu','init','229664nkohYp','_ui','config','destroy','updateSourceElement','initPlugins','1417920bEXxlj','ready','view','48Lwkpqw','28lZeHTU','fire','24972dprESg'];_0xaa6f=function(){return _0x15be8e;};return _0xaa6f();}(function(_0x3140ee,_0x18bf37){const _0x31cbc7=_0x222f,_0x4e2f8b=_0x3140ee();while(!![]){try{const _0x362658=parseInt(_0x31cbc7(0x15b))/0x1+-parseInt(_0x31cbc7(0x172))/0x2*(parseInt(_0x31cbc7(0x158))/0x3)+-parseInt(_0x31cbc7(0x166))/0x4*(-parseInt(_0x31cbc7(0x167))/0x5)+-parseInt(_0x31cbc7(0x15d))/0x6*(-parseInt(_0x31cbc7(0x173))/0x7)+parseInt(_0x31cbc7(0x169))/0x8+-parseInt(_0x31cbc7(0x15e))/0x9+-parseInt(_0x31cbc7(0x16f))/0xa;if(_0x362658===_0x18bf37)break;else _0x4e2f8b['push'](_0x4e2f8b['shift']());}catch(_0x27cab0){_0x4e2f8b['push'](_0x4e2f8b['shift']());}}}(_0xaa6f,0x37f25));import{Editor as _0x32094d,ElementApiMixin as _0x30a35b}from'ckeditor5/src/core.js';import _0x91fc84 from'./revisionviewereditorui.js';function _0x222f(_0x2a93ce,_0x540489){const _0xaa6ffa=_0xaa6f();return _0x222f=function(_0x222f58,_0x13cd34){_0x222f58=_0x222f58-0x158;let _0x42b210=_0xaa6ffa[_0x222f58];return _0x42b210;},_0x222f(_0x2a93ce,_0x540489);}import _0xf986cd from'./revisionviewereditoruiview.js';export default class R extends/* #__PURE__ -- @preserve */
24
- _0x30a35b(_0x32094d){[_0x5408a0(0x16a)];get['ui'](){const _0x267856=_0x5408a0;return this[_0x267856(0x16a)];}constructor(_0x1dc74c,_0x4add5c){const _0x49b479=_0x5408a0;super(_0x4add5c),this[_0x49b479(0x165)]=_0x1dc74c,this[_0x49b479(0x159)][_0x49b479(0x15a)][_0x49b479(0x15f)]();const _0x2b0f7a=new _0xf986cd(this[_0x49b479(0x160)],this[_0x49b479(0x164)][_0x49b479(0x171)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x49b479(0x16a)]=new _0x91fc84(this,_0x2b0f7a);}[_0x5408a0(0x16c)](){const _0x37b78a=_0x5408a0;return this[_0x37b78a(0x16d)](),this['ui'][_0x37b78a(0x16c)](),super[_0x37b78a(0x16c)]();}static async[_0x5408a0(0x162)](_0x37f69f,_0x3d4685){const _0x5f1d66=_0x5408a0,_0x2aa654=new this(_0x37f69f,_0x3d4685);return await _0x2aa654[_0x5f1d66(0x16e)](),await _0x2aa654['ui'][_0x5f1d66(0x168)](_0x37f69f),await _0x2aa654[_0x5f1d66(0x161)][_0x5f1d66(0x168)](_0x2aa654[_0x5f1d66(0x16b)][_0x5f1d66(0x15c)](_0x5f1d66(0x163))||''),_0x2aa654[_0x5f1d66(0x174)](_0x5f1d66(0x170)),_0x2aa654;}}
23
+ const _0xe6567a=_0x2be8;(function(_0x1d516b,_0x39826d){const _0x8a9c5=_0x2be8,_0x411979=_0x1d516b();while(!![]){try{const _0x566e7c=parseInt(_0x8a9c5(0x1f9))/0x1+-parseInt(_0x8a9c5(0x1ff))/0x2*(parseInt(_0x8a9c5(0x20f))/0x3)+parseInt(_0x8a9c5(0x206))/0x4*(parseInt(_0x8a9c5(0x20b))/0x5)+-parseInt(_0x8a9c5(0x204))/0x6+parseInt(_0x8a9c5(0x208))/0x7+-parseInt(_0x8a9c5(0x210))/0x8*(-parseInt(_0x8a9c5(0x1fa))/0x9)+parseInt(_0x8a9c5(0x205))/0xa;if(_0x566e7c===_0x39826d)break;else _0x411979['push'](_0x411979['shift']());}catch(_0x44ba02){_0x411979['push'](_0x411979['shift']());}}}(_0x369a,0x1e6d8));import{Editor as _0x3b8704,ElementApiMixin as _0x318509}from'ckeditor5/src/core.js';function _0x369a(){const _0x5f15c3=['data','locale','initialData','init','824934LcPCoP','1445920ssdOdW','3956NwOOan','model','1150317xqAtMJ','document','get','290RUmmbK','view','_ui','createRoot','525ElugOM','902296BVtuBI','editing','sourceElement','fire','updateSourceElement','config','25949ZbouAg','9pFikzo','destroy','ready','create','initPlugins','2776uBzyBe'];_0x369a=function(){return _0x5f15c3;};return _0x369a();}import _0x488426 from'./revisionviewereditorui.js';import _0x486320 from'./revisionviewereditoruiview.js';function _0x2be8(_0x2937d6,_0x49ace1){const _0x369a79=_0x369a();return _0x2be8=function(_0x2be838,_0x4b931f){_0x2be838=_0x2be838-0x1f4;let _0x49442f=_0x369a79[_0x2be838];return _0x49442f;},_0x2be8(_0x2937d6,_0x49ace1);}export default class w extends/* #__PURE__ -- @preserve */
24
+ _0x318509(_0x3b8704){[_0xe6567a(0x20d)];get['ui'](){const _0x26ffdb=_0xe6567a;return this[_0x26ffdb(0x20d)];}constructor(_0x191f84,_0x59aa5f){const _0x5e5fe5=_0xe6567a;super(_0x59aa5f),this[_0x5e5fe5(0x1f5)]=_0x191f84,this[_0x5e5fe5(0x207)][_0x5e5fe5(0x209)][_0x5e5fe5(0x20e)]();const _0x2857c6=new _0x486320(this[_0x5e5fe5(0x201)],this[_0x5e5fe5(0x1f4)][_0x5e5fe5(0x20c)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x5e5fe5(0x20d)]=new _0x488426(this,_0x2857c6);}[_0xe6567a(0x1fb)](){const _0x294361=_0xe6567a;return this[_0x294361(0x1f7)](),this['ui'][_0x294361(0x1fb)](),super[_0x294361(0x1fb)]();}static async[_0xe6567a(0x1fd)](_0x22c492,_0x34a6c6){const _0x278285=_0xe6567a,_0x3073a6=new this(_0x22c492,_0x34a6c6);return await _0x3073a6[_0x278285(0x1fe)](),await _0x3073a6['ui'][_0x278285(0x203)](_0x22c492),await _0x3073a6[_0x278285(0x200)][_0x278285(0x203)](_0x3073a6[_0x278285(0x1f8)][_0x278285(0x20a)](_0x278285(0x202))||''),_0x3073a6[_0x278285(0x1f6)](_0x278285(0x1fc)),_0x3073a6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22ce95=_0x4864;function _0x4864(_0x1d0dfc,_0x5befbd){const _0x11ee25=_0x11ee();return _0x4864=function(_0x48649e,_0x2e3bf){_0x48649e=_0x48649e-0x8e;let _0x59c3c2=_0x11ee25[_0x48649e];return _0x59c3c2;},_0x4864(_0x1d0dfc,_0x5befbd);}(function(_0x1054be,_0x1336c5){const _0x2b2955=_0x4864,_0x520d98=_0x1054be();while(!![]){try{const _0x189b20=-parseInt(_0x2b2955(0x96))/0x1*(parseInt(_0x2b2955(0xb8))/0x2)+-parseInt(_0x2b2955(0xb0))/0x3*(parseInt(_0x2b2955(0x9a))/0x4)+parseInt(_0x2b2955(0xa1))/0x5+-parseInt(_0x2b2955(0x99))/0x6+-parseInt(_0x2b2955(0xb6))/0x7*(parseInt(_0x2b2955(0xb4))/0x8)+-parseInt(_0x2b2955(0x9d))/0x9+parseInt(_0x2b2955(0x8f))/0xa;if(_0x189b20===_0x1336c5)break;else _0x520d98['push'](_0x520d98['shift']());}catch(_0x4d9e6a){_0x520d98['push'](_0x520d98['shift']());}}}(_0x11ee,0xc0d03));import{EditorUI as _0x558dd2,normalizeToolbarConfig as _0x413619}from'ckeditor5/src/ui.js';function _0x11ee(){const _0x14cd79=['fillFromConfig','editable','element','detachDomRoot','rootName','10847PTjwgA','ready','document','8452146XAOoGw','865544PdpUds','focusTracker','componentFactory','2353761SGSHGB','name','_view','bind','5098190LqzUWG','config','_initToolbar','toolbar','restore','attachDomRoot','destroy','init','fire','isFocused','replace','editing','getRoot','stickyPanel','setEditableElement','21xJlJhj','view','isActive','viewportTopOffset','20392bRGiFf','_elementReplacer','1197LXahXV','_toolbarConfig','92ZXGTJa','get','addToolbar','render','limiterElement','viewportOffset','38898880hIozPA','editor'];_0x11ee=function(){return _0x14cd79;};return _0x11ee();}import{ElementReplacer as _0x403053}from'ckeditor5/src/utils.js';export default class rt extends _0x558dd2{[_0x22ce95(0x9f)];[_0x22ce95(0xb7)];[_0x22ce95(0xb5)];get[_0x22ce95(0xb1)](){const _0x33d915=_0x22ce95;return this[_0x33d915(0x9f)];}constructor(_0x304414,_0x2d67e1){const _0x247de0=_0x22ce95;super(_0x304414),this[_0x247de0(0x9f)]=_0x2d67e1,this[_0x247de0(0xb7)]=_0x413619(_0x304414[_0x247de0(0xa2)][_0x247de0(0xb9)](_0x247de0(0xa4))),this[_0x247de0(0xb5)]=new _0x403053();}get[_0x22ce95(0x93)](){const _0x374f53=_0x22ce95;return this[_0x374f53(0xb1)][_0x374f53(0x93)];}[_0x22ce95(0xa8)](_0x1ac4ef){const _0x55b587=_0x22ce95,_0x5025c8=this[_0x55b587(0x90)],_0xfe985a=this[_0x55b587(0xb1)],_0x21e9de=_0x5025c8[_0x55b587(0xac)][_0x55b587(0xb1)],_0x5169eb=_0xfe985a[_0x55b587(0x92)],_0x150269=_0x21e9de[_0x55b587(0x98)][_0x55b587(0xad)]();_0x5169eb[_0x55b587(0x9e)]=_0x150269[_0x55b587(0x95)],_0xfe985a[_0x55b587(0xbb)]();const _0x46214b=_0x5169eb[_0x55b587(0x93)];this[_0x55b587(0xaf)](_0x5169eb[_0x55b587(0x9e)],_0x46214b),_0xfe985a[_0x55b587(0x92)][_0x55b587(0xa0)](_0x55b587(0xaa))['to'](this[_0x55b587(0x9b)]),_0x21e9de[_0x55b587(0xa6)](_0x46214b),this[_0x55b587(0xb5)][_0x55b587(0xab)](_0x1ac4ef,this[_0x55b587(0x93)]),this[_0x55b587(0xa3)](),this[_0x55b587(0xa9)](_0x55b587(0x97));}[_0x22ce95(0xa7)](){const _0x3c024f=_0x22ce95;super[_0x3c024f(0xa7)]();const _0x55e31e=this[_0x3c024f(0xb1)],_0x26e8f6=this[_0x3c024f(0x90)][_0x3c024f(0xac)][_0x3c024f(0xb1)];this[_0x3c024f(0xb5)][_0x3c024f(0xa5)](),_0x26e8f6[_0x3c024f(0x94)](_0x55e31e[_0x3c024f(0x92)][_0x3c024f(0x9e)]),_0x55e31e[_0x3c024f(0xa7)]();}[_0x22ce95(0xa3)](){const _0x266288=_0x22ce95,_0x2c8735=this[_0x266288(0xb1)];_0x2c8735[_0x266288(0xae)][_0x266288(0xa0)](_0x266288(0xb2))['to'](this[_0x266288(0x9b)],_0x266288(0xaa)),_0x2c8735[_0x266288(0xae)][_0x266288(0xbc)]=_0x2c8735[_0x266288(0x93)],_0x2c8735[_0x266288(0xae)][_0x266288(0xa0)](_0x266288(0xb3))['to'](this,_0x266288(0x8e),({top:_0x208526})=>_0x208526),_0x2c8735[_0x266288(0xa4)][_0x266288(0x91)](this[_0x266288(0xb7)],this[_0x266288(0x9c)]),this[_0x266288(0xba)](_0x2c8735[_0x266288(0xa4)]);}}
23
+ function _0x4769(){const _0x59ddf2=['get','2747972SDeewn','toolbar','editable','bind','6485110zByKkb','init','_view','name','restore','destroy','fire','attachDomRoot','viewportOffset','document','limiterElement','componentFactory','setEditableElement','focusTracker','66EwPWcm','_initToolbar','27790uJWAjC','10457415JcbxWH','isFocused','1108ZqZCTo','1640qTUufE','viewportTopOffset','49301SubuLi','editing','config','addToolbar','2581hnPpcS','_elementReplacer','isActive','ready','getRoot','stickyPanel','_toolbarConfig','editor','replace','1362WkEEIl','render','fillFromConfig','element','detachDomRoot','view','rootName','3621498OaSTZe'];_0x4769=function(){return _0x59ddf2;};return _0x4769();}const _0x42d608=_0xabbc;(function(_0x417085,_0x334751){const _0x2394c4=_0xabbc,_0x2b2fef=_0x417085();while(!![]){try{const _0x4c7e02=-parseInt(_0x2394c4(0xc2))/0x1*(-parseInt(_0x2394c4(0xbb))/0x2)+-parseInt(_0x2394c4(0xd2))/0x3+parseInt(_0x2394c4(0xa4))/0x4+parseInt(_0x2394c4(0xb8))/0x5*(-parseInt(_0x2394c4(0xcb))/0x6)+-parseInt(_0x2394c4(0xbe))/0x7*(parseInt(_0x2394c4(0xbc))/0x8)+-parseInt(_0x2394c4(0xb9))/0x9+-parseInt(_0x2394c4(0xa8))/0xa*(-parseInt(_0x2394c4(0xb6))/0xb);if(_0x4c7e02===_0x334751)break;else _0x2b2fef['push'](_0x2b2fef['shift']());}catch(_0x2823f3){_0x2b2fef['push'](_0x2b2fef['shift']());}}}(_0x4769,0xe3de7));import{EditorUI as _0x1a61cd,normalizeToolbarConfig as _0x3ab2a5}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x17259d}from'ckeditor5/src/utils.js';function _0xabbc(_0x40feb8,_0x3802c7){const _0x476969=_0x4769();return _0xabbc=function(_0xabbc95,_0x32561e){_0xabbc95=_0xabbc95-0xa4;let _0x119c40=_0x476969[_0xabbc95];return _0x119c40;},_0xabbc(_0x40feb8,_0x3802c7);}export default class tt extends _0x1a61cd{[_0x42d608(0xaa)];[_0x42d608(0xc8)];[_0x42d608(0xc3)];get[_0x42d608(0xd0)](){const _0x3c6561=_0x42d608;return this[_0x3c6561(0xaa)];}constructor(_0x1e7537,_0x1b52b0){const _0x2dd479=_0x42d608;super(_0x1e7537),this[_0x2dd479(0xaa)]=_0x1b52b0,this[_0x2dd479(0xc8)]=_0x3ab2a5(_0x1e7537[_0x2dd479(0xc0)][_0x2dd479(0xd3)](_0x2dd479(0xa5))),this[_0x2dd479(0xc3)]=new _0x17259d();}get[_0x42d608(0xce)](){const _0xa4f682=_0x42d608;return this[_0xa4f682(0xd0)][_0xa4f682(0xce)];}[_0x42d608(0xa9)](_0xe934ab){const _0x3f9c56=_0x42d608,_0x2ed1a5=this[_0x3f9c56(0xc9)],_0x20b87a=this[_0x3f9c56(0xd0)],_0xa6df7d=_0x2ed1a5[_0x3f9c56(0xbf)][_0x3f9c56(0xd0)],_0x57b42e=_0x20b87a[_0x3f9c56(0xa6)],_0xcf928a=_0xa6df7d[_0x3f9c56(0xb1)][_0x3f9c56(0xc6)]();_0x57b42e[_0x3f9c56(0xab)]=_0xcf928a[_0x3f9c56(0xd1)],_0x20b87a[_0x3f9c56(0xcc)]();const _0x9c7225=_0x57b42e[_0x3f9c56(0xce)];this[_0x3f9c56(0xb4)](_0x57b42e[_0x3f9c56(0xab)],_0x9c7225),_0x20b87a[_0x3f9c56(0xa6)][_0x3f9c56(0xa7)](_0x3f9c56(0xba))['to'](this[_0x3f9c56(0xb5)]),_0xa6df7d[_0x3f9c56(0xaf)](_0x9c7225),this[_0x3f9c56(0xc3)][_0x3f9c56(0xca)](_0xe934ab,this[_0x3f9c56(0xce)]),this[_0x3f9c56(0xb7)](),this[_0x3f9c56(0xae)](_0x3f9c56(0xc5));}[_0x42d608(0xad)](){const _0x27d942=_0x42d608;super[_0x27d942(0xad)]();const _0x41957d=this[_0x27d942(0xd0)],_0x5da52b=this[_0x27d942(0xc9)][_0x27d942(0xbf)][_0x27d942(0xd0)];this[_0x27d942(0xc3)][_0x27d942(0xac)](),_0x5da52b[_0x27d942(0xcf)](_0x41957d[_0x27d942(0xa6)][_0x27d942(0xab)]),_0x41957d[_0x27d942(0xad)]();}[_0x42d608(0xb7)](){const _0x10d524=_0x42d608,_0x160523=this[_0x10d524(0xd0)];_0x160523[_0x10d524(0xc7)][_0x10d524(0xa7)](_0x10d524(0xc4))['to'](this[_0x10d524(0xb5)],_0x10d524(0xba)),_0x160523[_0x10d524(0xc7)][_0x10d524(0xb2)]=_0x160523[_0x10d524(0xce)],_0x160523[_0x10d524(0xc7)][_0x10d524(0xa7)](_0x10d524(0xbd))['to'](this,_0x10d524(0xb0),({top:_0xb4fa31})=>_0xb4fa31),_0x160523[_0x10d524(0xa5)][_0x10d524(0xcd)](this[_0x10d524(0xc8)],this[_0x10d524(0xb3)]),this[_0x10d524(0xc1)](_0x160523[_0x10d524(0xa5)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4e78(_0x2d0b97,_0x5904d4){var _0x2011f7=_0x2011();return _0x4e78=function(_0x4e78c2,_0x570eb3){_0x4e78c2=_0x4e78c2-0x102;var _0x144ab4=_0x2011f7[_0x4e78c2];return _0x144ab4;},_0x4e78(_0x2d0b97,_0x5904d4);}var _0x503e4c=_0x4e78;function _0x2011(){var _0x53e3b6=['_editable','editable','308140aZcBjk','1700bzMEKB','17605zriTLt','stickyPanel','render','1805YnhEqV','375488ScDPIZ','225709tFtuss','72jhXbdz','top','main','682353pQeTVz','9TGTFHJ','253238WfIKht','add','content','toolbar','shouldToolbarGroupWhenFull'];_0x2011=function(){return _0x53e3b6;};return _0x2011();}(function(_0x3fbde5,_0xb4dab4){var _0x214391=_0x4e78,_0x2dcaa5=_0x3fbde5();while(!![]){try{var _0x1daa38=parseInt(_0x214391(0x10c))/0x1+-parseInt(_0x214391(0x112))/0x2+parseInt(_0x214391(0x110))/0x3+parseInt(_0x214391(0x106))/0x4*(-parseInt(_0x214391(0x10a))/0x5)+parseInt(_0x214391(0x10d))/0x6*(parseInt(_0x214391(0x107))/0x7)+-parseInt(_0x214391(0x10b))/0x8*(parseInt(_0x214391(0x111))/0x9)+-parseInt(_0x214391(0x105))/0xa;if(_0x1daa38===_0xb4dab4)break;else _0x2dcaa5['push'](_0x2dcaa5['shift']());}catch(_0x2abfa4){_0x2dcaa5['push'](_0x2dcaa5['shift']());}}}(_0x2011,0x1ea6a));import{BoxedEditorUIView as _0x242d60,InlineEditableUIView as _0x5a37e7,StickyPanelView as _0x28e46e,ToolbarView as _0x11d886}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export default class et extends _0x242d60{[_0x503e4c(0x103)];[_0x503e4c(0x108)];[_0x503e4c(0x115)];get[_0x503e4c(0x104)](){var _0x23ccd6=_0x503e4c;return this[_0x23ccd6(0x103)];}constructor(_0x22edfc,_0x5e5d27,_0x53d5ed={}){var _0x4b1151=_0x503e4c;super(_0x22edfc),this[_0x4b1151(0x108)]=new _0x28e46e(_0x22edfc),this[_0x4b1151(0x115)]=new _0x11d886(_0x22edfc,{'shouldGroupWhenFull':_0x53d5ed[_0x4b1151(0x102)]}),this[_0x4b1151(0x103)]=new _0x5a37e7(_0x22edfc,_0x5e5d27);}[_0x503e4c(0x109)](){var _0xc27413=_0x503e4c;super[_0xc27413(0x109)](),this[_0xc27413(0x108)][_0xc27413(0x114)][_0xc27413(0x113)](this[_0xc27413(0x115)]),this[_0xc27413(0x10e)][_0xc27413(0x113)](this[_0xc27413(0x108)]),this[_0xc27413(0x10f)][_0xc27413(0x113)](this[_0xc27413(0x104)]);}}
23
+ function _0x2707(_0x554d86,_0x2b3c31){var _0x54486e=_0x5448();return _0x2707=function(_0x27079c,_0x5d2722){_0x27079c=_0x27079c-0x186;var _0x2825df=_0x54486e[_0x27079c];return _0x2825df;},_0x2707(_0x554d86,_0x2b3c31);}var _0x3c1153=_0x2707;(function(_0x1d63d7,_0x1a28ee){var _0x53e6f5=_0x2707,_0x507a6a=_0x1d63d7();while(!![]){try{var _0x20b93d=-parseInt(_0x53e6f5(0x197))/0x1+parseInt(_0x53e6f5(0x189))/0x2+-parseInt(_0x53e6f5(0x188))/0x3*(parseInt(_0x53e6f5(0x187))/0x4)+parseInt(_0x53e6f5(0x195))/0x5*(-parseInt(_0x53e6f5(0x18a))/0x6)+parseInt(_0x53e6f5(0x191))/0x7*(parseInt(_0x53e6f5(0x199))/0x8)+parseInt(_0x53e6f5(0x193))/0x9+parseInt(_0x53e6f5(0x186))/0xa;if(_0x20b93d===_0x1a28ee)break;else _0x507a6a['push'](_0x507a6a['shift']());}catch(_0x2b5c0a){_0x507a6a['push'](_0x507a6a['shift']());}}}(_0x5448,0x75439));import{BoxedEditorUIView as _0xc8e1fb,InlineEditableUIView as _0x1ee81e,StickyPanelView as _0x1f33a5,ToolbarView as _0x3129a7}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export default class it extends _0xc8e1fb{[_0x3c1153(0x18d)];[_0x3c1153(0x194)];[_0x3c1153(0x18e)];get[_0x3c1153(0x18b)](){var _0x39fc31=_0x3c1153;return this[_0x39fc31(0x18d)];}constructor(_0x2e1836,_0x4d98a0,_0x3d085f={}){var _0x4eb7fe=_0x3c1153;super(_0x2e1836),this[_0x4eb7fe(0x194)]=new _0x1f33a5(_0x2e1836),this[_0x4eb7fe(0x18e)]=new _0x3129a7(_0x2e1836,{'shouldGroupWhenFull':_0x3d085f[_0x4eb7fe(0x18f)]}),this[_0x4eb7fe(0x18d)]=new _0x1ee81e(_0x2e1836,_0x4d98a0);}[_0x3c1153(0x190)](){var _0x23d314=_0x3c1153;super[_0x23d314(0x190)](),this[_0x23d314(0x194)][_0x23d314(0x18c)][_0x23d314(0x192)](this[_0x23d314(0x18e)]),this[_0x23d314(0x196)][_0x23d314(0x192)](this[_0x23d314(0x194)]),this[_0x23d314(0x198)][_0x23d314(0x192)](this[_0x23d314(0x18b)]);}}function _0x5448(){var _0x427ca3=['shouldToolbarGroupWhenFull','render','15890wLfiDF','add','33948bxKuFs','stickyPanel','5dlpxUH','top','220053LmWKcI','main','968CdUOUO','3064710wdNJXD','12jBYWxa','312621KQNmAY','959010ABAIsj','308586lWpgEM','editable','content','_editable','toolbar'];_0x5448=function(){return _0x427ca3;};return _0x5448();}
package/src/index.d.ts CHANGED
@@ -5,12 +5,14 @@
5
5
  export { default as Revision } from './revision.js';
6
6
  export { default as RevisionHistory } from './revisionhistory.js';
7
7
  export { default as RevisionsRepository } from './revisionsrepository.js';
8
+ export { default as RevisionHistoryUtils } from './revisionhistoryutils.js';
8
9
  export { default as RevisionViewerLoadingOverlay } from './ui/revisionviewer/revisionviewerloadingoverlay.js';
9
10
  export { default as RevisionHistoryUI } from './ui/revisionhistory/revisionhistoryui.js';
10
11
  export { default as RevisionTracker } from './revisiontracker.js';
11
12
  export { default as RevisionViewer, type RestoreRevisionCommand, type ShowChangeCommand } from './revisionviewer.js';
12
13
  export { default as RevisionsSidebar } from './ui/revisionssidebar/revisionssidebar.js';
13
14
  export { default as RevisionViewerUI } from './ui/revisionviewer/revisionviewerui.js';
15
+ export { default as RevisionViewerEditor } from './editor/revisionviewereditor.js';
14
16
  export type { RevisionData } from './revision.js';
15
17
  export type { RevisionHistoryConfig } from './revisionhistoryconfig.js';
16
18
  import './augmentation.js';
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3abe58,_0x474610){var _0x243acb=_0x4c6a,_0xe6f52=_0x3abe58();while(!![]){try{var _0x5c099a=parseInt(_0x243acb(0x174))/0x1*(-parseInt(_0x243acb(0x16e))/0x2)+-parseInt(_0x243acb(0x173))/0x3+-parseInt(_0x243acb(0x175))/0x4*(parseInt(_0x243acb(0x177))/0x5)+-parseInt(_0x243acb(0x171))/0x6*(parseInt(_0x243acb(0x16c))/0x7)+-parseInt(_0x243acb(0x16f))/0x8*(parseInt(_0x243acb(0x172))/0x9)+parseInt(_0x243acb(0x16d))/0xa+parseInt(_0x243acb(0x176))/0xb*(parseInt(_0x243acb(0x170))/0xc);if(_0x5c099a===_0x474610)break;else _0xe6f52['push'](_0xe6f52['shift']());}catch(_0x1f8e95){_0xe6f52['push'](_0xe6f52['shift']());}}}(_0x1614,0x89843));export{default as Revision}from'./revision.js';export{default as RevisionHistory}from'./revisionhistory.js';export{default as RevisionsRepository}from'./revisionsrepository.js';export{default as RevisionViewerLoadingOverlay}from'./ui/revisionviewer/revisionviewerloadingoverlay.js';export{default as RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';export{default as RevisionTracker}from'./revisiontracker.js';export{default as RevisionViewer}from'./revisionviewer.js';export{default as RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';function _0x4c6a(_0x3eb33e,_0x170e17){var _0x1614d3=_0x1614();return _0x4c6a=function(_0x4c6ad1,_0x2f375f){_0x4c6ad1=_0x4c6ad1-0x16c;var _0xb82ca6=_0x1614d3[_0x4c6ad1];return _0xb82ca6;},_0x4c6a(_0x3eb33e,_0x170e17);}export{default as RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';import'./augmentation.js';function _0x1614(){var _0xfb3de9=['27RtYUSU','2842476ttVYXq','23486qQoeRg','4eMvKmf','13365517hXmKId','2958535fKIZEA','444325eLICsq','6879240oAuRKU','60ROEJcH','152192AgOKkr','24kUudKl','24uqXkuh'];_0x1614=function(){return _0xfb3de9;};return _0x1614();}
23
+ (function(_0x8605ec,_0x28e2da){var _0x2d8e4b=_0x49ec,_0x16b664=_0x8605ec();while(!![]){try{var _0x2ceff7=parseInt(_0x2d8e4b(0x191))/0x1+-parseInt(_0x2d8e4b(0x195))/0x2+parseInt(_0x2d8e4b(0x19a))/0x3*(parseInt(_0x2d8e4b(0x193))/0x4)+parseInt(_0x2d8e4b(0x199))/0x5+parseInt(_0x2d8e4b(0x192))/0x6*(-parseInt(_0x2d8e4b(0x194))/0x7)+-parseInt(_0x2d8e4b(0x196))/0x8*(-parseInt(_0x2d8e4b(0x197))/0x9)+-parseInt(_0x2d8e4b(0x198))/0xa;if(_0x2ceff7===_0x28e2da)break;else _0x16b664['push'](_0x16b664['shift']());}catch(_0x211cc2){_0x16b664['push'](_0x16b664['shift']());}}}(_0x1f39,0x7cc2c));export{default as Revision}from'./revision.js';export{default as RevisionHistory}from'./revisionhistory.js';export{default as RevisionsRepository}from'./revisionsrepository.js';export{default as RevisionHistoryUtils}from'./revisionhistoryutils.js';export{default as RevisionViewerLoadingOverlay}from'./ui/revisionviewer/revisionviewerloadingoverlay.js';export{default as RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';export{default as RevisionTracker}from'./revisiontracker.js';function _0x1f39(){var _0x578285=['7lrhcFc','1592330FqeEQF','720EvzRxv','52002gZgCXD','9553660mJQeqb','1845015cpJquj','573XtbxEB','825317Iemzpa','2429274ULCGtc','19960Gtyqbj'];_0x1f39=function(){return _0x578285;};return _0x1f39();}export{default as RevisionViewer}from'./revisionviewer.js';function _0x49ec(_0x1f920c,_0x4dc292){var _0x1f39be=_0x1f39();return _0x49ec=function(_0x49ec9f,_0x1d1e09){_0x49ec9f=_0x49ec9f-0x191;var _0x506d6f=_0x1f39be[_0x49ec9f];return _0x506d6f;},_0x49ec(_0x1f920c,_0x4dc292);}export{default as RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';export{default as RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';export{default as RevisionViewerEditor}from'./editor/revisionviewereditor.js';import'./augmentation.js';
package/src/revision.js CHANGED
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5500(_0x24d979,_0x544de5){const _0x49cdbc=_0x49cd();return _0x5500=function(_0x5500e3,_0x575ab6){_0x5500e3=_0x5500e3-0xa5;let _0x155d71=_0x49cdbc[_0x5500e3];return _0x155d71;},_0x5500(_0x24d979,_0x544de5);}const _0x55fa40=_0x5500;(function(_0xe37871,_0x40baec){const _0x246144=_0x5500,_0x3846ea=_0xe37871();while(!![]){try{const _0x453134=-parseInt(_0x246144(0xb5))/0x1+parseInt(_0x246144(0xb8))/0x2*(parseInt(_0x246144(0xc3))/0x3)+parseInt(_0x246144(0xaf))/0x4*(-parseInt(_0x246144(0xac))/0x5)+-parseInt(_0x246144(0xb3))/0x6*(-parseInt(_0x246144(0xa8))/0x7)+parseInt(_0x246144(0xa6))/0x8*(-parseInt(_0x246144(0xba))/0x9)+-parseInt(_0x246144(0xa9))/0xa*(-parseInt(_0x246144(0xb0))/0xb)+parseInt(_0x246144(0xaa))/0xc;if(_0x453134===_0x40baec)break;else _0x3846ea['push'](_0x3846ea['shift']());}catch(_0x1afdde){_0x3846ea['push'](_0x3846ea['shift']());}}}(_0x49cd,0x84e10));function _0x49cd(){const _0x16047a=['set','328074FlyJpA','_update','329409RSFtFW','setAttribute','attributes','creatorId','authors','model','toVersion','fromVersion','authorsIds','9sNhMtY','removeAttribute','128SqyMpM','map','28LXiyGB','10jrgmRd','4831068dUBGdh','createdAt','2950lclUoP','setName','fire','4384yQMLqG','11178541LEcpAM','creator','diffData','593160HhgYOV','toJSON','529843LyBDSu','name'];_0x49cd=function(){return _0x16047a;};return _0x49cd();}import{ObservableMixin as _0x1bd978,uid as _0x223bfc}from'ckeditor5/src/utils.js';import{cloneDeep as _0x1f1fb9,set as _0x549f07,unset as _0x3a211d}from'es-toolkit/compat';export default class h extends/* #__PURE__ -- @preserve */
24
- _0x1bd978(){['id'];[_0x55fa40(0xb1)];[_0x55fa40(0xbe)];[_0x55fa40(0xb2)];[_0x55fa40(0xc0)];[_0x55fa40(0xc1)];[_0x55fa40(0xbf)];constructor(_0x1d056e){const _0xdd81e=_0x55fa40;super(),this['id']=_0x1d056e['id']||_0x223bfc(),this[_0xdd81e(0xb1)]=_0x1d056e[_0xdd81e(0xb1)]||null,this[_0xdd81e(0xbe)]=_0x1d056e[_0xdd81e(0xbe)]||[],this[_0xdd81e(0xb2)]=_0x1d056e[_0xdd81e(0xb2)]||null,this[_0xdd81e(0xc0)]=_0x1d056e[_0xdd81e(0xc0)]||0x0,this[_0xdd81e(0xc1)]=_0x1d056e[_0xdd81e(0xc1)]||0x0,this[_0xdd81e(0xb7)](_0xdd81e(0xb6),_0x1d056e[_0xdd81e(0xb6)]||''),this[_0xdd81e(0xb7)](_0xdd81e(0xab),_0x1d056e[_0xdd81e(0xab)]||new Date()),this[_0xdd81e(0xb7)](_0xdd81e(0xbc),_0x1d056e[_0xdd81e(0xbc)]||{});}[_0x55fa40(0xad)](_0x1027b0){const _0x2da107=_0x55fa40;this[_0x2da107(0xb9)]({'name':_0x1027b0});}[_0x55fa40(0xbb)](_0x3d1c29,_0x8a016e){const _0x3c53d9=_0x55fa40,_0xbf79b1=_0x1f1fb9(this[_0x3c53d9(0xbc)]);_0x549f07(_0xbf79b1,_0x3d1c29,_0x8a016e),this[_0x3c53d9(0xb9)]({'attributes':_0xbf79b1});}[_0x55fa40(0xa5)](_0x169eaa){const _0x7e833d=_0x55fa40,_0x267f18=_0x1f1fb9(this[_0x7e833d(0xbc)]);_0x3a211d(_0x267f18,_0x169eaa),this[_0x7e833d(0xb9)]({'attributes':_0x267f18});}[_0x55fa40(0xb9)](_0x538005,_0x250c6e=!0x1){const _0x4ba6b3=_0x55fa40;let _0x2c6683=!0x1;const _0xb66c1e={'id':this['id']},_0x270479=[_0x4ba6b3(0xb6),_0x4ba6b3(0xab),_0x4ba6b3(0xb2),_0x4ba6b3(0xbe),_0x4ba6b3(0xbc),_0x4ba6b3(0xc0),_0x4ba6b3(0xc1),_0x4ba6b3(0xbd)];for(const _0x427019 of _0x270479){const _0x1db118=_0x538005[_0x427019];void 0x0!==_0x1db118&&_0x1db118!==this[_0x427019]&&(this[_0x427019]=_0x1db118,_0xb66c1e[_0x427019]=_0x1db118,_0x2c6683=!0x0);}_0x2c6683&&(_0xb66c1e[_0x4ba6b3(0xbe)]&&(_0xb66c1e[_0x4ba6b3(0xc2)]=_0xb66c1e[_0x4ba6b3(0xbe)][_0x4ba6b3(0xa7)](_0xf5a2ea=>_0xf5a2ea['id']),delete _0xb66c1e[_0x4ba6b3(0xbe)]),this[_0x4ba6b3(0xae)](_0x4ba6b3(0xb9),_0xb66c1e,_0x250c6e));}[_0x55fa40(0xb4)](){const _0x5a1ad1=_0x55fa40;return{'id':this['id'],'name':this[_0x5a1ad1(0xb6)],'creatorId':this[_0x5a1ad1(0xb1)]?this[_0x5a1ad1(0xb1)]['id']:null,'authorsIds':this[_0x5a1ad1(0xbe)][_0x5a1ad1(0xa7)](_0x44d636=>_0x44d636['id']),'diffData':this[_0x5a1ad1(0xb2)],'createdAt':this[_0x5a1ad1(0xab)],'attributes':this[_0x5a1ad1(0xbc)],'fromVersion':this[_0x5a1ad1(0xc1)],'toVersion':this[_0x5a1ad1(0xc0)]};}}
23
+ const _0x473738=_0xc554;(function(_0xf21954,_0x37b735){const _0x601d81=_0xc554,_0xc9fb59=_0xf21954();while(!![]){try{const _0x3b9197=parseInt(_0x601d81(0x118))/0x1*(-parseInt(_0x601d81(0x11c))/0x2)+parseInt(_0x601d81(0x10f))/0x3*(-parseInt(_0x601d81(0x127))/0x4)+parseInt(_0x601d81(0x116))/0x5+parseInt(_0x601d81(0x123))/0x6+parseInt(_0x601d81(0x117))/0x7+parseInt(_0x601d81(0x111))/0x8*(parseInt(_0x601d81(0x10d))/0x9)+-parseInt(_0x601d81(0x124))/0xa*(parseInt(_0x601d81(0x125))/0xb);if(_0x3b9197===_0x37b735)break;else _0xc9fb59['push'](_0xc9fb59['shift']());}catch(_0x542b29){_0xc9fb59['push'](_0xc9fb59['shift']());}}}(_0x1b40,0x70253));import{ObservableMixin as _0x86efc8,uid as _0x4223ca}from'ckeditor5/src/utils.js';function _0x1b40(){const _0x4bc133=['68297scJGrN','model','diffData','attributes','4STqNWy','creator','setName','toVersion','_update','toJSON','fromVersion','4886502FSUWus','70aAuKcv','2006587jBTEWC','authors','12bvBVyx','creatorId','map','removeAttribute','133101QlyRut','name','868854tanAht','authorsIds','416BSlomb','createdAt','fire','set','setAttribute','3241900NQMvvK','3569223zpBzPi'];_0x1b40=function(){return _0x4bc133;};return _0x1b40();}function _0xc554(_0x53e5c3,_0xd8903e){const _0x1b403c=_0x1b40();return _0xc554=function(_0xc55485,_0x954fb4){_0xc55485=_0xc55485-0x10a;let _0x5de80c=_0x1b403c[_0xc55485];return _0x5de80c;},_0xc554(_0x53e5c3,_0xd8903e);}import{cloneDeep as _0x3af2f3,set as _0xe0a501,unset as _0x220f33}from'es-toolkit/compat';export default class h extends/* #__PURE__ -- @preserve */
24
+ _0x86efc8(){['id'];[_0x473738(0x11d)];[_0x473738(0x126)];[_0x473738(0x11a)];[_0x473738(0x11f)];[_0x473738(0x122)];[_0x473738(0x119)];constructor(_0x48c00f){const _0x27ca6c=_0x473738;super(),this['id']=_0x48c00f['id']||_0x4223ca(),this[_0x27ca6c(0x11d)]=_0x48c00f[_0x27ca6c(0x11d)]||null,this[_0x27ca6c(0x126)]=_0x48c00f[_0x27ca6c(0x126)]||[],this[_0x27ca6c(0x11a)]=_0x48c00f[_0x27ca6c(0x11a)]||null,this[_0x27ca6c(0x11f)]=_0x48c00f[_0x27ca6c(0x11f)]||0x0,this[_0x27ca6c(0x122)]=_0x48c00f[_0x27ca6c(0x122)]||0x0,this[_0x27ca6c(0x114)](_0x27ca6c(0x10e),_0x48c00f[_0x27ca6c(0x10e)]||''),this[_0x27ca6c(0x114)](_0x27ca6c(0x112),_0x48c00f[_0x27ca6c(0x112)]||new Date()),this[_0x27ca6c(0x114)](_0x27ca6c(0x11b),_0x48c00f[_0x27ca6c(0x11b)]||{});}[_0x473738(0x11e)](_0x38b1f5){const _0x5c6a38=_0x473738;this[_0x5c6a38(0x120)]({'name':_0x38b1f5});}[_0x473738(0x115)](_0x100b6b,_0x339312){const _0x125d2b=_0x473738,_0xbd1c4a=_0x3af2f3(this[_0x125d2b(0x11b)]);_0xe0a501(_0xbd1c4a,_0x100b6b,_0x339312),this[_0x125d2b(0x120)]({'attributes':_0xbd1c4a});}[_0x473738(0x10c)](_0x283544){const _0x3ea768=_0x473738,_0x2bb062=_0x3af2f3(this[_0x3ea768(0x11b)]);_0x220f33(_0x2bb062,_0x283544),this[_0x3ea768(0x120)]({'attributes':_0x2bb062});}[_0x473738(0x120)](_0x3906a6,_0x329c2b=!0x1){const _0x367d29=_0x473738;let _0x46728f=!0x1;const _0x1af7de={'id':this['id']},_0x5a4b3e=[_0x367d29(0x10e),_0x367d29(0x112),_0x367d29(0x11a),_0x367d29(0x126),_0x367d29(0x11b),_0x367d29(0x11f),_0x367d29(0x122),_0x367d29(0x10a)];for(const _0x2af8a5 of _0x5a4b3e){const _0x20152f=_0x3906a6[_0x2af8a5];void 0x0!==_0x20152f&&_0x20152f!==this[_0x2af8a5]&&(this[_0x2af8a5]=_0x20152f,_0x1af7de[_0x2af8a5]=_0x20152f,_0x46728f=!0x0);}_0x46728f&&(_0x1af7de[_0x367d29(0x126)]&&(_0x1af7de[_0x367d29(0x110)]=_0x1af7de[_0x367d29(0x126)][_0x367d29(0x10b)](_0x424a24=>_0x424a24['id']),delete _0x1af7de[_0x367d29(0x126)]),this[_0x367d29(0x113)](_0x367d29(0x120),_0x1af7de,_0x329c2b));}[_0x473738(0x121)](){const _0x2b2eb2=_0x473738;return{'id':this['id'],'name':this[_0x2b2eb2(0x10e)],'creatorId':this[_0x2b2eb2(0x11d)]?this[_0x2b2eb2(0x11d)]['id']:null,'authorsIds':this[_0x2b2eb2(0x126)][_0x2b2eb2(0x10b)](_0x2fa9a8=>_0x2fa9a8['id']),'diffData':this[_0x2b2eb2(0x11a)],'createdAt':this[_0x2b2eb2(0x112)],'attributes':this[_0x2b2eb2(0x11b)],'fromVersion':this[_0x2b2eb2(0x122)],'toVersion':this[_0x2b2eb2(0x11f)]};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b89a2=_0x5664;function _0xeb0f(){const _0x45032b=['add','433508DsOXEc','70rRezPs','2134408GXATIS','_setChanges','12076oKkqwr','421011pXlVvO','newRevisionId','200oRqZCx','2119452RzGbOM','2856930rNCJHW','7WMbKaO','oldRevisionId','2576640kpYlCH','changes'];_0xeb0f=function(){return _0x45032b;};return _0xeb0f();}(function(_0x2eecbb,_0x45b853){const _0x2e802d=_0x5664,_0x1028a1=_0x2eecbb();while(!![]){try{const _0x3ceb8b=-parseInt(_0x2e802d(0x129))/0x1*(-parseInt(_0x2e802d(0x126))/0x2)+parseInt(_0x2e802d(0x12a))/0x3+-parseInt(_0x2e802d(0x131))/0x4*(parseInt(_0x2e802d(0x132))/0x5)+parseInt(_0x2e802d(0x12b))/0x6+parseInt(_0x2e802d(0x12c))/0x7*(parseInt(_0x2e802d(0x124))/0x8)+-parseInt(_0x2e802d(0x127))/0x9+-parseInt(_0x2e802d(0x12e))/0xa;if(_0x3ceb8b===_0x45b853)break;else _0x1028a1['push'](_0x1028a1['shift']());}catch(_0x36d1cf){_0x1028a1['push'](_0x1028a1['shift']());}}}(_0xeb0f,0xcbef7));import{Collection as _0x16261e}from'ckeditor5/src/utils.js';function _0x5664(_0x31fe6e,_0x20a57c){const _0xeb0fd5=_0xeb0f();return _0x5664=function(_0x566463,_0xa6ac16){_0x566463=_0x566463-0x124;let _0x66f386=_0xeb0fd5[_0x566463];return _0x66f386;},_0x5664(_0x31fe6e,_0x20a57c);}export default class c{[_0x4b89a2(0x128)];[_0x4b89a2(0x12d)];[_0x4b89a2(0x12f)];constructor(_0x394369,_0x102791){const _0x5b8781=_0x4b89a2;this[_0x5b8781(0x128)]=_0x394369,this[_0x5b8781(0x12d)]=_0x102791,this[_0x5b8781(0x12f)]=new _0x16261e();}[_0x4b89a2(0x125)](_0x2434d4){const _0x3ff4cf=_0x4b89a2;for(const _0x5225d4 of _0x2434d4)this[_0x3ff4cf(0x12f)][_0x3ff4cf(0x130)](_0x5225d4);}}
23
+ const _0x485c59=_0x1e1d;(function(_0x2a86c2,_0x4d5b00){const _0x1edd3a=_0x1e1d,_0x9f1817=_0x2a86c2();while(!![]){try{const _0xcf31aa=parseInt(_0x1edd3a(0x7c))/0x1+parseInt(_0x1edd3a(0x7f))/0x2+parseInt(_0x1edd3a(0x7a))/0x3*(-parseInt(_0x1edd3a(0x77))/0x4)+-parseInt(_0x1edd3a(0x71))/0x5*(parseInt(_0x1edd3a(0x7b))/0x6)+-parseInt(_0x1edd3a(0x7e))/0x7*(-parseInt(_0x1edd3a(0x81))/0x8)+parseInt(_0x1edd3a(0x79))/0x9*(-parseInt(_0x1edd3a(0x72))/0xa)+-parseInt(_0x1edd3a(0x76))/0xb*(-parseInt(_0x1edd3a(0x7d))/0xc);if(_0xcf31aa===_0x4d5b00)break;else _0x9f1817['push'](_0x9f1817['shift']());}catch(_0x24a6ec){_0x9f1817['push'](_0x9f1817['shift']());}}}(_0x47e2,0xb45f2));function _0x1e1d(_0x38233b,_0x5ebcd6){const _0x47e29a=_0x47e2();return _0x1e1d=function(_0x1e1dfc,_0x339c9b){_0x1e1dfc=_0x1e1dfc-0x71;let _0x5639f3=_0x47e29a[_0x1e1dfc];return _0x5639f3;},_0x1e1d(_0x38233b,_0x5ebcd6);}import{Collection as _0x31930f}from'ckeditor5/src/utils.js';function _0x47e2(){const _0x53e447=['1561tHFewU','638890HkDmAx','newRevisionId','42200GyiKvp','5Yiekww','10VcVqFx','_setChanges','oldRevisionId','changes','47113FFVpBK','105592wvhEnk','add','6543387IoNZQn','75qffocZ','4556586VprWmq','815534iFjsSF','1608EnqSZO'];_0x47e2=function(){return _0x53e447;};return _0x47e2();}export default class c{[_0x485c59(0x80)];[_0x485c59(0x74)];[_0x485c59(0x75)];constructor(_0x11060c,_0x131a71){const _0x24f1c6=_0x485c59;this[_0x24f1c6(0x80)]=_0x11060c,this[_0x24f1c6(0x74)]=_0x131a71,this[_0x24f1c6(0x75)]=new _0x31930f();}[_0x485c59(0x73)](_0x1381b3){const _0x1f7d33=_0x485c59;for(const _0x4334d0 of _0x1381b3)this[_0x1f7d33(0x75)][_0x1f7d33(0x78)](_0x4334d0);}}
@@ -38,6 +38,12 @@ export declare class RevisionViewerIntegration extends Plugin {
38
38
  * {@glink features/collaboration/revision-history/revision-history Revision history} guide.
39
39
  */
40
40
  export default class RevisionHistory extends Plugin {
41
+ /**
42
+ * Indicates whether the revision history viewer is currently visible.
43
+ *
44
+ * @observable
45
+ */
46
+ isRevisionViewerOpen: boolean;
41
47
  static get pluginName(): "RevisionHistory";
42
48
  /**
43
49
  * @inheritDoc
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32e839=_0xc0c9;(function(_0x368547,_0x567cf0){const _0x28913e=_0xc0c9,_0x10b7bf=_0x368547();while(!![]){try{const _0x2803da=-parseInt(_0x28913e(0xf1))/0x1*(-parseInt(_0x28913e(0xc4))/0x2)+-parseInt(_0x28913e(0xf8))/0x3*(parseInt(_0x28913e(0x97))/0x4)+parseInt(_0x28913e(0xb2))/0x5*(parseInt(_0x28913e(0xc3))/0x6)+parseInt(_0x28913e(0xce))/0x7+parseInt(_0x28913e(0xbf))/0x8+-parseInt(_0x28913e(0x109))/0x9+-parseInt(_0x28913e(0xd7))/0xa;if(_0x2803da===_0x567cf0)break;else _0x10b7bf['push'](_0x10b7bf['shift']());}catch(_0x367861){_0x10b7bf['push'](_0x10b7bf['shift']());}}}(_0xd238,0xa8133));import{Plugin as _0x59387b}from'ckeditor5/src/core.js';import{CKEditorError as _0x43d8b8,uid as _0x5932d1}from'ckeditor5/src/utils.js';import _0x13b3a0 from'./revisiontracker.js';import _0x4f7bc1 from'./ui/revisionhistory/revisionhistoryui.js';import _0x191b55 from'./revisionviewer.js';import _0x151740 from'./ui/revisionviewer/revisionviewerui.js';import _0x188b5e from'./ui/revisionssidebar/revisionssidebar.js';import _0x5ddbff from'./editor/revisionviewereditor.js';import{getTranslation as _0x493d8e}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x2512ba}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x32e839(0x9b),_0x32e839(0xe5)];function _0xc0c9(_0x5a9e8c,_0x2b640c){const _0xd23864=_0xd238();return _0xc0c9=function(_0xc0c943,_0x3dce7f){_0xc0c943=_0xc0c943-0x7b;let _0x1698c8=_0xd23864[_0xc0c943];return _0x1698c8;},_0xc0c9(_0x5a9e8c,_0x2b640c);}export class RevisionViewerIntegration extends _0x59387b{[_0x32e839(0xa9)];static get[_0x32e839(0x8f)](){const _0x39c221=_0x32e839;return _0x39c221(0xad);}static get[_0x32e839(0x9e)](){return!0x0;}static get[_0x32e839(0xfb)](){return!0x0;}constructor(_0x3077d6){const _0x56e391=_0x32e839;function _0x4d7569(_0x12e695){const _0x1a70e5=_0xc0c9;return _0x12e695[_0x1a70e5(0xd3)](_0x926eea=>String[_0x1a70e5(0x89)](_0x926eea))[_0x1a70e5(0x82)]('');}super(_0x3077d6),this[_0x56e391(0xa9)]=_0x56e391(0xfe),_0x3077d6[_0x4d7569([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d7569([0x76,0x69,0x65,0x77])][_0x4d7569([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4d7569([0x61,0x75,0x74,0x6f]),_0x3077d6[_0x4d7569([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x4d7569([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4d7569([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x4d7569([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x4d7569([0x6f,0x6b])});}}function _0xd238(){const _0x905f5e=['save','change','_enhanceCloseRevisionViewerCallback','6ZRqZbO','28ZfGzgd','Users','getRevisionData','display','has','RevisionHistory','_closeRevisionViewer','revisionHistory.viewerContainer','RevisionsRepository','isAttached','320026FEgkMs','from','users','$graveyard','revisionHistory','map','closeRevisionViewerCallback','refreshPositioning','Restored','14376480nEgbIR','rootName','isReadOnly','numeric','getRevision','_cleanUp','revision-history-missing-configuration','exitToEditing','markers','_viewerEditor','adapter','style','parse','bind','RestrictedEditingMode','includes','toLocaleTimeString','repository','name','saveRevision','update','changesNavigation','roots','define','insert','revisionHistory.requireRevisionName','84742OlzvXZ','indexOf','detachRoot','set','keys','getRevisionRootsAttributes','revisionHistory.showRevisionViewerCallback','2946LPckYk','getUser','addRevisionData','isPremiumPlugin','Annotations','_recalculatePageBreaks','end','isOpen','push','catch','commands','config','creator','Autosave','_showRevisionViewer','refreshVisibility','PaginationLookup','2682297ydsJaJ','create','toLocaleDateString','get','addRoot','isReady','RevisionTracker','block','_getRevisionViewerEditorConfig','translations','join','revisionHistory.editorContainer','getRoot','editor','init','locale','removeMarker','fromCharCode','disableReadOnlyMode','toVersion','_enhanceShowRevisionViewerCallback','showRevisionViewerCallback','enableReadOnlyMode','pluginName','restrictedEditingException','revisionHistory.restoreRevisionCallback','_restoreRevision','selection','removeSelectionAttribute','createRangeIn','Dialog','2664LVmtib','RevisionViewer','getMarkersGroup','toJSON','RevisionHistoryUI','removeAttribute','document','isOfficialPlugin','long','revision-history-viewer-opened','getAttributeKeys','getRevisions','hide','model','addUser','fromVersion','revisionHistory.viewerEditorElement','toolbar','result','_update','error','setSelection','RevisionViewerIntegration','createdAt','then','requires','revisionHistory.closeRevisionViewerCallback','5653105DCFEKH','restoreRevision','remove','destroy','setAttribute','uiLanguage','enqueueChange','plugins','none','lazyRoots','data','isEnabled','isAnonymous','5723208DAkXJh'];_0xd238=function(){return _0x905f5e;};return _0xd238();}export default class k extends _0x59387b{[_0x32e839(0xe0)];static get[_0x32e839(0x8f)](){const _0x20c6a2=_0x32e839;return _0x20c6a2(0xc9);}static get[_0x32e839(0x9e)](){return!0x0;}static get[_0x32e839(0xfb)](){return!0x0;}static get[_0x32e839(0xb0)](){return[_0x13b3a0,_0x4f7bc1];}constructor(_0x3c3879){const _0x10b327=_0x32e839;if(super(_0x3c3879),!this[_0x10b327(0x85)][_0x10b327(0x103)][_0x10b327(0x7b)](_0x10b327(0xd2)))throw new _0x43d8b8(_0x10b327(0xdd),this);this[_0x10b327(0xe0)]=null,this[_0x10b327(0x85)][_0x10b327(0x103)][_0x10b327(0xee)](_0x10b327(0xf7),_0x458f96=>this[_0x10b327(0x106)]({..._0x458f96,'translations':this[_0x10b327(0x85)][_0x10b327(0x87)][_0x10b327(0x81)]})),this[_0x10b327(0x85)][_0x10b327(0x103)][_0x10b327(0xee)](_0x10b327(0xb1),_0x37f5a5=>this[_0x10b327(0xca)](_0x37f5a5)),this[_0x10b327(0x85)][_0x10b327(0x103)][_0x10b327(0xee)](_0x10b327(0x91),_0x432b01=>this[_0x10b327(0x92)](_0x432b01)),this[_0x10b327(0x85)][_0x10b327(0x103)][_0x10b327(0xee)](_0x10b327(0xf0),!0x1),this[_0x10b327(0x8c)](),this[_0x10b327(0xc2)]();}set[_0x32e839(0xe1)](_0x208c48){const _0x28a751=_0x32e839;this[_0x28a751(0x85)][_0x28a751(0xb9)][_0x28a751(0x7b)](_0x28a751(0x7e))[_0x28a751(0xe1)]=_0x208c48;}get[_0x32e839(0xe1)](){const _0x41a45a=_0x32e839;return this[_0x41a45a(0x85)][_0x41a45a(0xb9)][_0x41a45a(0x7b)](_0x41a45a(0x7e))[_0x41a45a(0xe1)];}[_0x32e839(0xfa)](_0x1eeb02){const _0x5dc6c1=_0x32e839;return this[_0x5dc6c1(0x85)][_0x5dc6c1(0xb9)][_0x5dc6c1(0x7b)](_0x5dc6c1(0x7e))[_0x5dc6c1(0xfa)](_0x1eeb02);}[_0x32e839(0xdb)](_0x3b9abc){const _0x19c148=_0x32e839;return this[_0x19c148(0x85)][_0x19c148(0xb9)][_0x19c148(0x7b)](_0x19c148(0xcc))[_0x19c148(0xdb)](_0x3b9abc);}[_0x32e839(0xa2)](_0x18628f){const _0x4bbce4=_0x32e839;return this[_0x4bbce4(0x85)][_0x4bbce4(0xb9)][_0x4bbce4(0x7b)](_0x4bbce4(0xcc))[_0x4bbce4(0xa2)](_0x18628f||{'toJSON':!0x1});}[_0x32e839(0x80)](){const _0xc168e2=_0x32e839,_0x47b451=this[_0xc168e2(0x85)],_0x1bc1da=_0x2512ba(_0x47b451,p),_0x1d157d=_0x47b451[_0xc168e2(0xb9)][_0xc168e2(0x7b)](_0xc168e2(0x7e)),_0x4b9131=_0x47b451[_0xc168e2(0xb9)][_0xc168e2(0x7b)](_0xc168e2(0xc5))[_0xc168e2(0xd0)];return _0x1bc1da[_0xc168e2(0xa8)]=[_0xc168e2(0xde),_0xc168e2(0xb3),_0xc168e2(0xec)],delete _0x1bc1da[_0xc168e2(0xbb)],(_0x1bc1da[_0xc168e2(0xb9)][_0xc168e2(0x100)](RevisionViewerIntegration,_0x191b55,_0x151740,class extends _0x59387b{static get[_0xc168e2(0xb0)](){const _0x10ff05=_0xc168e2;return[_0x191b55,_0x10ff05(0xc5)];}[_0xc168e2(0x86)](){const _0x4a9152=_0xc168e2,_0x47cff2=this[_0x4a9152(0x85)][_0x4a9152(0xb9)][_0x4a9152(0x7b)](_0x4a9152(0xc5));for(const _0x396831 of _0x4b9131)_0x396831[_0x4a9152(0xbe)]||_0x47cff2[_0x4a9152(0xf9)](_0x396831['id'])||_0x47cff2[_0x4a9152(0xa5)](_0x396831);const _0x2a1f38=_0x1d157d[_0x4a9152(0xe8)][_0x4a9152(0xa2)]();let _0x362ec2=null;const _0x27eed4=this[_0x4a9152(0x85)][_0x4a9152(0xb9)][_0x4a9152(0x7b)](_0x4a9152(0x98));_0x27eed4[_0x4a9152(0xe1)]=_0x1d157d[_0x4a9152(0xe1)],_0x27eed4[_0x4a9152(0xe4)](_0x4a9152(0xbd))['to'](_0x1d157d),this[_0x4a9152(0x85)][_0x4a9152(0x102)][_0x4a9152(0x7b)](_0x4a9152(0xb3))[_0x4a9152(0xe4)](_0x4a9152(0xbd))['to'](_0x47b451,_0x4a9152(0xd9),_0x535c04=>!_0x535c04);for(const _0xf352bf of _0x2a1f38){const _0x5516f4=null===_0xf352bf[_0x4a9152(0x104)];if(_0x5516f4&&_0xf352bf[_0x4a9152(0x8b)]===_0xf352bf[_0x4a9152(0xa6)])continue;const _0x9abd6f=_0xf352bf[_0x4a9152(0x9a)]();_0x27eed4[_0x4a9152(0xfa)](_0x9abd6f,(_0x5c8a96,_0xe0b041,_0x1da1a5)=>{const _0x526493=_0x4a9152;if(_0x5516f4){if(_0x362ec2)_0x362ec2[_0x526493(0xaa)](_0x5c8a96,_0xe0b041);else{if(!_0xe0b041){const _0x1524b7=_0x1da1a5[_0x526493(0x9a)]();_0x1524b7['id']=_0x5932d1(),_0x1d157d[_0x526493(0xea)](_0x1524b7,_0x1da1a5[_0x526493(0x8b)])[_0x526493(0xaf)](_0x51aae6=>{_0x362ec2=_0x51aae6;});}}}else _0xf352bf[_0x526493(0xaa)](_0x5c8a96,_0xe0b041);});}}},_0x188b5e),_0x1bc1da);}[_0x32e839(0x8c)](){const _0x2c6519=_0x32e839,_0xd2284b=this[_0x2c6519(0x85)][_0x2c6519(0x103)][_0x2c6519(0x7b)](_0x2c6519(0xd2))[_0x2c6519(0x8d)];this[_0x2c6519(0x85)][_0x2c6519(0x103)][_0x2c6519(0xf4)](_0x2c6519(0xf7),async()=>{const _0x189c3b=_0x2c6519;this[_0x189c3b(0x85)][_0x189c3b(0x8e)](_0x189c3b(0xa0));const _0x548572=this[_0x189c3b(0x85)][_0x189c3b(0xb9)][_0x189c3b(0x7b)](_0x189c3b(0x7e));if(this[_0x189c3b(0x85)][_0x189c3b(0xb9)][_0x189c3b(0xc8)](_0x189c3b(0x105))){const _0xa19a41=this[_0x189c3b(0x85)][_0x189c3b(0xb9)][_0x189c3b(0x7b)](_0x189c3b(0x105));await _0xa19a41[_0x189c3b(0xc0)]();}else await _0x548572[_0x189c3b(0xeb)]();if(this[_0x189c3b(0x85)][_0x189c3b(0xb9)][_0x189c3b(0xc8)](_0x189c3b(0x108))&&this[_0x189c3b(0x85)][_0x189c3b(0xb9)][_0x189c3b(0x7b)](_0x189c3b(0x108))[_0x189c3b(0xfd)](),this[_0x189c3b(0x85)][_0x189c3b(0xb9)][_0x189c3b(0xc8)](_0x189c3b(0x96))){const _0x307d51=this[_0x189c3b(0x85)][_0x189c3b(0xb9)][_0x189c3b(0x7b)](_0x189c3b(0x96));_0x307d51[_0x189c3b(0xff)]&&_0x307d51[_0x189c3b(0xa3)]();}const _0x537ebf=this[_0x189c3b(0x80)]();return _0xd2284b(_0x537ebf)[_0x189c3b(0xaf)](_0x13532d=>{const _0x45e03f=_0x189c3b;return(this[_0x45e03f(0xe0)]=_0x13532d,this[_0x45e03f(0x85)][_0x45e03f(0xb9)][_0x45e03f(0xc8)](_0x45e03f(0xfc)))&&this[_0x45e03f(0x85)][_0x45e03f(0xb9)][_0x45e03f(0x7b)](_0x45e03f(0xfc))[_0x45e03f(0x107)](),_0x13532d;})[_0x189c3b(0x101)](_0x3c99ce=>(console[_0x189c3b(0xab)](_0x3c99ce),this[_0x189c3b(0x85)][_0x189c3b(0x8a)](_0x189c3b(0xa0)),null));});}[_0x32e839(0xc2)](){const _0x22d97d=_0x32e839,_0x1114e5=this[_0x22d97d(0x85)][_0x22d97d(0x103)][_0x22d97d(0x7b)](_0x22d97d(0xd2))[_0x22d97d(0xd4)];this[_0x22d97d(0x85)][_0x22d97d(0x103)][_0x22d97d(0xf4)](_0x22d97d(0xb1),()=>(this[_0x22d97d(0x85)][_0x22d97d(0xb9)][_0x22d97d(0xc8)](_0x22d97d(0x108))&&this[_0x22d97d(0x85)][_0x22d97d(0xb9)][_0x22d97d(0x7b)](_0x22d97d(0x108))[_0x22d97d(0xfd)](),this[_0x22d97d(0xe0)][_0x22d97d(0xb9)][_0x22d97d(0x7b)](_0x22d97d(0x98))[_0x22d97d(0xdc)](),_0x1114e5(this[_0x22d97d(0xe0)])[_0x22d97d(0xaf)](()=>{const _0x1dcc8c=_0x22d97d;if(this[_0x1dcc8c(0x85)][_0x1dcc8c(0x8a)](_0x1dcc8c(0xa0)),this[_0x1dcc8c(0xe0)]=null,this[_0x1dcc8c(0x85)][_0x1dcc8c(0xb9)][_0x1dcc8c(0xc8)](_0x1dcc8c(0xfc))){const _0x166afd=this[_0x1dcc8c(0x85)][_0x1dcc8c(0xb9)][_0x1dcc8c(0x7b)](_0x1dcc8c(0xfc));_0x166afd[_0x1dcc8c(0x107)](),_0x166afd[_0x1dcc8c(0xd5)]();}})));}[_0x32e839(0x106)](_0x5cbf0c){const _0x41a95b=_0x32e839,_0x35def6=this[_0x41a95b(0x85)][_0x41a95b(0x103)][_0x41a95b(0x7b)](_0x41a95b(0x83)),_0x1a670b=this[_0x41a95b(0x85)][_0x41a95b(0x103)][_0x41a95b(0x7b)](_0x41a95b(0xcb)),_0x5b213e=this[_0x41a95b(0x85)][_0x41a95b(0x103)][_0x41a95b(0x7b)](_0x41a95b(0xa7));return _0x5ddbff[_0x41a95b(0x10a)](_0x5b213e,_0x5cbf0c)[_0x41a95b(0xaf)](_0x392d40=>(_0x1a670b[_0x41a95b(0xe2)][_0x41a95b(0xc7)]=_0x41a95b(0x7f),_0x35def6[_0x41a95b(0xe2)][_0x41a95b(0xc7)]=_0x41a95b(0xba),_0x392d40));}[_0x32e839(0xca)](_0x9ee1df){const _0x4edb89=_0x32e839,_0x2737c3=this[_0x4edb89(0x85)][_0x4edb89(0x103)][_0x4edb89(0x7b)](_0x4edb89(0x83));return this[_0x4edb89(0x85)][_0x4edb89(0x103)][_0x4edb89(0x7b)](_0x4edb89(0xcb))[_0x4edb89(0xe2)][_0x4edb89(0xc7)]=_0x4edb89(0xba),_0x2737c3[_0x4edb89(0xe2)][_0x4edb89(0xc7)]='',_0x9ee1df[_0x4edb89(0xb5)]();}async[_0x32e839(0x92)](_0x24b682){const _0x99f730=_0x32e839,_0x23d8a4=this[_0x99f730(0x85)],_0x4a93b8=this[_0x99f730(0xe0)][_0x99f730(0xb9)][_0x99f730(0x7b)](_0x99f730(0x98)),_0x2e0ae4=_0x23d8a4[_0x99f730(0xb9)][_0x99f730(0x7b)](_0x99f730(0x7e)),_0x465496=_0x4a93b8[_0x99f730(0xe8)][_0x99f730(0xdb)](_0x24b682);let _0x2276ab,_0x4184e4,_0x5c048f;try{_0x2276ab=await _0x4a93b8[_0x99f730(0xc6)](_0x465496),_0x4184e4=await _0x4a93b8[_0x99f730(0xf6)](_0x465496);}catch(_0x25ec8a){return void console[_0x99f730(0xab)](_0x25ec8a);}_0x23d8a4[_0x99f730(0xa4)][_0x99f730(0xc1)](_0x7447c1=>{const _0x4766dd=_0x99f730;for(const _0x4b1512 of Array[_0x4766dd(0xcf)](_0x23d8a4[_0x4766dd(0xa4)][_0x4766dd(0xdf)][_0x4766dd(0x99)](_0x4766dd(0x90))))_0x7447c1[_0x4766dd(0x88)](_0x4b1512);}),_0x4a93b8[_0x99f730(0x7d)]=!0x1,_0x23d8a4[_0x99f730(0xa4)][_0x99f730(0xb8)](_0x59d555=>{const _0x11f27a=_0x99f730;_0x59d555[_0x11f27a(0xac)](null),_0x59d555[_0x11f27a(0x94)](_0x23d8a4[_0x11f27a(0xa4)][_0x11f27a(0x9d)][_0x11f27a(0x93)][_0x11f27a(0xa1)]());const _0x17f7fb=Object[_0x11f27a(0xf5)](_0x2276ab);for(const _0x18c77f of _0x23d8a4[_0x11f27a(0xa4)][_0x11f27a(0x9d)][_0x11f27a(0xed)])_0x11f27a(0xd1)!=_0x18c77f[_0x11f27a(0xd8)]&&_0x18c77f[_0x11f27a(0xcd)]()&&!_0x17f7fb[_0x11f27a(0xe6)](_0x18c77f[_0x11f27a(0xd8)])&&_0x59d555[_0x11f27a(0xf3)](_0x18c77f);for(const _0x26eb12 of _0x17f7fb){let _0x14d7ef=_0x23d8a4[_0x11f27a(0xa4)][_0x11f27a(0x9d)][_0x11f27a(0x84)](_0x26eb12);_0x14d7ef&&_0x14d7ef[_0x11f27a(0xcd)]()||(_0x14d7ef=_0x59d555[_0x11f27a(0x7c)](_0x26eb12));const _0x4ffa64=_0x4184e4[_0x26eb12],_0x539068=Object[_0x11f27a(0xf5)](_0x4ffa64),_0x2a6733=_0x2276ab[_0x26eb12];for(const _0x3f23ec of _0x14d7ef[_0x11f27a(0xa1)]())_0x539068[_0x11f27a(0xe6)](_0x3f23ec)||_0x59d555[_0x11f27a(0x9c)](_0x3f23ec,_0x14d7ef);for(const _0x47b0c0 of _0x539068)_0x59d555[_0x11f27a(0xb6)](_0x47b0c0,_0x4184e4[_0x26eb12][_0x47b0c0],_0x14d7ef);_0x59d555[_0x11f27a(0xb4)](_0x59d555[_0x11f27a(0x95)](_0x14d7ef)),_0x59d555[_0x11f27a(0xef)](_0x23d8a4[_0x11f27a(0xbc)][_0x11f27a(0xe3)](_0x2a6733,_0x14d7ef),_0x14d7ef,0x0);}});const _0x3488fd=_0x493d8e(_0x23d8a4[_0x99f730(0x87)],_0x99f730(0xd6));if(_0x465496[_0x99f730(0xe9)])_0x5c048f=-0x1==_0x465496[_0x99f730(0xe9)][_0x99f730(0xf2)](_0x3488fd)?_0x3488fd+':\x20'+_0x465496[_0x99f730(0xe9)]:_0x465496[_0x99f730(0xe9)];else _0x5c048f=_0x3488fd+':\x20'+(_0x465496[_0x99f730(0xae)][_0x99f730(0x10b)](_0x23d8a4[_0x99f730(0x87)][_0x99f730(0xb7)],{'month':_0x99f730(0x9f),'day':_0x99f730(0xda)})+',\x20'+_0x465496[_0x99f730(0xae)][_0x99f730(0xe7)](_0x23d8a4[_0x99f730(0x87)][_0x99f730(0xb7)],{'hour':_0x99f730(0xda),'minute':_0x99f730(0xda)}));return await _0x2e0ae4[_0x99f730(0xea)]({'name':_0x5c048f}),_0x4a93b8[_0x99f730(0x7d)]=!0x0,_0x23d8a4[_0x99f730(0x103)][_0x99f730(0x7b)](_0x99f730(0xd2))[_0x99f730(0xd4)]();}}
23
+ const _0x297680=_0xf163;(function(_0x3b36ca,_0x2bb0f4){const _0x2b7fdd=_0xf163,_0x1f4233=_0x3b36ca();while(!![]){try{const _0x401ab1=-parseInt(_0x2b7fdd(0x113))/0x1*(-parseInt(_0x2b7fdd(0xf4))/0x2)+parseInt(_0x2b7fdd(0x11c))/0x3*(-parseInt(_0x2b7fdd(0xd4))/0x4)+-parseInt(_0x2b7fdd(0xb4))/0x5*(parseInt(_0x2b7fdd(0xb1))/0x6)+parseInt(_0x2b7fdd(0x131))/0x7*(-parseInt(_0x2b7fdd(0x103))/0x8)+parseInt(_0x2b7fdd(0xc9))/0x9*(-parseInt(_0x2b7fdd(0xad))/0xa)+-parseInt(_0x2b7fdd(0x11e))/0xb*(-parseInt(_0x2b7fdd(0xa0))/0xc)+parseInt(_0x2b7fdd(0xbf))/0xd*(parseInt(_0x2b7fdd(0xaa))/0xe);if(_0x401ab1===_0x2bb0f4)break;else _0x1f4233['push'](_0x1f4233['shift']());}catch(_0x3ce02b){_0x1f4233['push'](_0x1f4233['shift']());}}}(_0x5ea4,0x6e74f));import{Plugin as _0x1d4df2}from'ckeditor5/src/core.js';import{CKEditorError as _0x31b827,uid as _0x1226c1}from'ckeditor5/src/utils.js';import _0x3b7c9e from'./revisiontracker.js';import _0x47104b from'./ui/revisionhistory/revisionhistoryui.js';import _0x483b0a from'./revisionviewer.js';import _0x2c5f04 from'./ui/revisionviewer/revisionviewerui.js';function _0x5ea4(){const _0x3750dd=['view','DocumentOutline','document','locale','init','setSelection','addRoot','plugins','revision-history-viewer-opened','getRoot','RestrictedEditingMode','isReady','result','revisionHistory.viewerContainer','revisionHistory.requireRevisionName','remove','revisionHistory.closeRevisionViewerCallback','requires','pluginName','1414PWQLPw','has','isRevisionViewerOpen','RevisionHistory','Users','RevisionTracker','name','removeAttribute','users','RevisionHistoryUtils','includes','_cleanUp','insert','removeMarker','from','10744mxfdrM','$graveyard','RevisionsRepository','detachRoot','Dialog','bind','addRevisionData','commands','revisionHistory','toolbar','restoreRevision','isOpen','Restored','style','Autosave','getUser','733UGKdcN','toLocaleTimeString','translations','join','enqueueChange','end','catch','toLocaleDateString','createRangeIn','6UNEHqy','Annotations','2772RlRsaa','loadRevisionData','createdAt','isEnabled','fromVersion','destroy','map','toJSON','PaginationLookup','getAttributeKeys','uiLanguage','revisionHistory.restoreRevisionCallback','toVersion','enableReadOnlyMode','define','lazyRoots','long','push','getRevisionRootsAttributes','1351wUJblg','RevisionHistoryUI','getMarkersGroup','changesNavigation','adapter','selection','setAttribute','revisionHistory.showRevisionViewerCallback','saveRevision','editor','_enhanceShowRevisionViewerCallback','33972XNlWzg','revisionHistory.editorContainer','refreshPositioning','restrictedEditingException','numeric','none','keys','_restoreRevision','_enhanceCloseRevisionViewerCallback','save','70AObuHK','markers','getRevisions','630AulsdR','hide','addUser','removeSelectionAttribute','6ItzaVW','repository','element','1079285YwYMKK','model','then','closeRevisionViewerCallback','create','_update','isAttached','_showRevisionViewer','fromCharCode','revision-history-missing-configuration','rootName','1822509RoGXqt','getRevision','isAnonymous','set','error','data','display','DocumentOutlineUI','RevisionViewerIntegration','RevisionViewer','29619BMAfAe','get','block','parse','exitToEditing','refreshVisibility','_viewerEditor','revisionHistory.viewerEditorElement','_getRevisionViewerEditorConfig','isOfficialPlugin','config','1595576wUnsHI','_closeRevisionViewer','disableReadOnlyMode','isPremiumPlugin','_recalculatePageBreaks','isReadOnly','update','getRevisionDocumentData','creator','showRevisionViewerCallback','roots','indexOf','change'];_0x5ea4=function(){return _0x3750dd;};return _0x5ea4();}function _0xf163(_0x26c045,_0x2a241a){const _0x5ea46f=_0x5ea4();return _0xf163=function(_0xf16337,_0x28b25e){_0xf16337=_0xf16337-0x96;let _0x130d04=_0x5ea46f[_0xf16337];return _0x130d04;},_0xf163(_0x26c045,_0x2a241a);}import _0x22129e from'./ui/revisionssidebar/revisionssidebar.js';import _0x3fdbd0 from'./editor/revisionviewereditor.js';import{getTranslation as _0x14b57a}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x34f0ad}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x297680(0x96),_0x297680(0xeb)];export class RevisionViewerIntegration extends _0x1d4df2{[_0x297680(0xed)];static get[_0x297680(0xf3)](){const _0x5eb908=_0x297680;return _0x5eb908(0xc7);}static get[_0x297680(0xd2)](){return!0x0;}static get[_0x297680(0xd7)](){return!0x0;}constructor(_0x300412){const _0x43c62c=_0x297680;function _0x156fe4(_0x1d0f66){const _0x4e421e=_0xf163;return _0x1d0f66[_0x4e421e(0x124)](_0x510ba6=>String[_0x4e421e(0xbc)](_0x510ba6))[_0x4e421e(0x116)]('');}super(_0x300412),this[_0x43c62c(0xed)]=_0x43c62c(0x118),_0x300412[_0x156fe4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x156fe4([0x76,0x69,0x65,0x77])][_0x156fe4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x156fe4([0x61,0x75,0x74,0x6f]),_0x300412[_0x156fe4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x156fe4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x156fe4([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x156fe4([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x156fe4([0x6f,0x6b])});}}export default class k extends _0x1d4df2{[_0x297680(0xcf)];static get[_0x297680(0xf3)](){const _0x3c82f5=_0x297680;return _0x3c82f5(0xf7);}static get[_0x297680(0xd2)](){return!0x0;}static get[_0x297680(0xd7)](){return!0x0;}static get[_0x297680(0xf2)](){return[_0x3b7c9e,_0x47104b];}constructor(_0x3e6135){const _0x35046d=_0x297680;if(super(_0x3e6135),!this[_0x35046d(0x9e)][_0x35046d(0xd3)][_0x35046d(0xca)](_0x35046d(0x10b)))throw new _0x31b827(_0x35046d(0xbd),this);this[_0x35046d(0xcf)]=null,this[_0x35046d(0xc2)](_0x35046d(0xf6),!0x1),this[_0x35046d(0x9e)][_0x35046d(0xd3)][_0x35046d(0x12c)](_0x35046d(0x9c),_0x3f6638=>this[_0x35046d(0xbb)]({..._0x3f6638,'translations':this[_0x35046d(0x9e)][_0x35046d(0xe4)][_0x35046d(0x115)]})),this[_0x35046d(0x9e)][_0x35046d(0xd3)][_0x35046d(0x12c)](_0x35046d(0xf1),_0x491743=>this[_0x35046d(0xd5)](_0x491743)),this[_0x35046d(0x9e)][_0x35046d(0xd3)][_0x35046d(0x12c)](_0x35046d(0x129),_0x588741=>this[_0x35046d(0xa7)](_0x588741)),this[_0x35046d(0x9e)][_0x35046d(0xd3)][_0x35046d(0x12c)](_0x35046d(0xef),!0x1),this[_0x35046d(0x9f)](),this[_0x35046d(0xa8)]();}set[_0x297680(0x99)](_0x4130eb){const _0x457347=_0x297680;this[_0x457347(0x9e)][_0x457347(0xe8)][_0x457347(0xca)](_0x457347(0xf9))[_0x457347(0x99)]=_0x4130eb;}get[_0x297680(0x99)](){const _0xe9956c=_0x297680;return this[_0xe9956c(0x9e)][_0xe9956c(0xe8)][_0xe9956c(0xca)](_0xe9956c(0xf9))[_0xe9956c(0x99)];}[_0x297680(0x109)](_0x4e2162){const _0x3ebf68=_0x297680;return this[_0x3ebf68(0x9e)][_0x3ebf68(0xe8)][_0x3ebf68(0xca)](_0x3ebf68(0xf9))[_0x3ebf68(0x109)](_0x4e2162);}[_0x297680(0xc0)](_0x190cec){const _0x33f90a=_0x297680;return this[_0x33f90a(0x9e)][_0x33f90a(0xe8)][_0x33f90a(0xca)](_0x33f90a(0x105))[_0x33f90a(0xc0)](_0x190cec);}[_0x297680(0xac)](_0x53a590){const _0x553d49=_0x297680;return this[_0x553d49(0x9e)][_0x553d49(0xe8)][_0x553d49(0xca)](_0x553d49(0x105))[_0x553d49(0xac)](_0x53a590||{'toJSON':!0x1});}[_0x297680(0xd1)](){const _0x4b6324=_0x297680,_0x114c35=this[_0x4b6324(0x9e)],_0x5b4fe5=_0x34f0ad(_0x114c35,p),_0x4f2b5d=_0x114c35[_0x4b6324(0xe8)][_0x4b6324(0xca)](_0x4b6324(0xf9)),_0x4d2b0f=_0x114c35[_0x4b6324(0xe8)][_0x4b6324(0xca)](_0x4b6324(0xf8))[_0x4b6324(0xfc)];return _0x5b4fe5[_0x4b6324(0x10c)]=[_0x4b6324(0xcd),_0x4b6324(0x10d),_0x4b6324(0x98)],delete _0x5b4fe5[_0x4b6324(0x12d)],(_0x5b4fe5[_0x4b6324(0xe8)][_0x4b6324(0x12f)](RevisionViewerIntegration,_0x483b0a,_0x2c5f04,class extends _0x1d4df2{static get[_0x4b6324(0xf2)](){const _0x53e581=_0x4b6324;return[_0x483b0a,_0x53e581(0xf8)];}[_0x4b6324(0xe5)](){const _0x495a7b=_0x4b6324,_0x54128d=this[_0x495a7b(0x9e)][_0x495a7b(0xe8)][_0x495a7b(0xca)](_0x495a7b(0xf8));for(const _0x297165 of _0x4d2b0f)_0x297165[_0x495a7b(0xc1)]||_0x54128d[_0x495a7b(0x112)](_0x297165['id'])||_0x54128d[_0x495a7b(0xaf)](_0x297165);const _0x1d75ce=_0x4f2b5d[_0x495a7b(0xb2)][_0x495a7b(0xac)]();let _0x3bd24f=null;const _0x3c0f06=this[_0x495a7b(0x9e)][_0x495a7b(0xe8)][_0x495a7b(0xca)](_0x495a7b(0xc8));_0x3c0f06[_0x495a7b(0x99)]=_0x4f2b5d[_0x495a7b(0x99)],_0x3c0f06[_0x495a7b(0x108)](_0x495a7b(0x121))['to'](_0x4f2b5d),this[_0x495a7b(0x9e)][_0x495a7b(0x10a)][_0x495a7b(0xca)](_0x495a7b(0x10d))[_0x495a7b(0x108)](_0x495a7b(0x121))['to'](_0x114c35,_0x495a7b(0xd9),_0x460f1f=>!_0x460f1f);for(const _0x2fe746 of _0x1d75ce){const _0x53cb9a=null===_0x2fe746[_0x495a7b(0xdc)];if(_0x53cb9a&&_0x2fe746[_0x495a7b(0x12a)]===_0x2fe746[_0x495a7b(0x122)])continue;const _0x114a9b=_0x2fe746[_0x495a7b(0x125)]();_0x3c0f06[_0x495a7b(0x109)](_0x114a9b,(_0xaccbe0,_0x5a2124,_0x348410)=>{const _0x263592=_0x495a7b;if(_0x53cb9a){if(_0x3bd24f)_0x3bd24f[_0x263592(0xb9)](_0xaccbe0,_0x5a2124);else{if(!_0x5a2124){const _0x14c574=_0x348410[_0x263592(0x125)]();_0x14c574['id']=_0x1226c1(),_0x4f2b5d[_0x263592(0x9d)](_0x14c574,_0x348410[_0x263592(0x12a)])[_0x263592(0xb6)](_0x213d8d=>{_0x3bd24f=_0x213d8d;});}}}else _0x2fe746[_0x263592(0xb9)](_0xaccbe0,_0x5a2124);});}}},_0x22129e),_0x5b4fe5);}[_0x297680(0x9f)](){const _0x45df4b=_0x297680,_0x3f498e=this[_0x45df4b(0x9e)][_0x45df4b(0xd3)][_0x45df4b(0xca)](_0x45df4b(0x10b))[_0x45df4b(0xdd)];this[_0x45df4b(0x9e)][_0x45df4b(0xd3)][_0x45df4b(0xc2)](_0x45df4b(0x9c),async()=>{const _0x3ea9d1=_0x45df4b;this[_0x3ea9d1(0x9e)][_0x3ea9d1(0x12b)](_0x3ea9d1(0xe9));const _0x3f5c90=this[_0x3ea9d1(0x9e)][_0x3ea9d1(0xe8)][_0x3ea9d1(0xca)](_0x3ea9d1(0xf9));if(this[_0x3ea9d1(0x9e)][_0x3ea9d1(0xe8)][_0x3ea9d1(0xf5)](_0x3ea9d1(0x111))){const _0x5010a7=this[_0x3ea9d1(0x9e)][_0x3ea9d1(0xe8)][_0x3ea9d1(0xca)](_0x3ea9d1(0x111));await _0x5010a7[_0x3ea9d1(0xa9)]();}else await _0x3f5c90[_0x3ea9d1(0xda)]();if(this[_0x3ea9d1(0x9e)][_0x3ea9d1(0xe8)][_0x3ea9d1(0xf5)](_0x3ea9d1(0x126))&&this[_0x3ea9d1(0x9e)][_0x3ea9d1(0xe8)][_0x3ea9d1(0xca)](_0x3ea9d1(0x126))[_0x3ea9d1(0xd8)](),this[_0x3ea9d1(0x9e)][_0x3ea9d1(0xe8)][_0x3ea9d1(0xf5)](_0x3ea9d1(0x107))){const _0x475376=this[_0x3ea9d1(0x9e)][_0x3ea9d1(0xe8)][_0x3ea9d1(0xca)](_0x3ea9d1(0x107));_0x475376[_0x3ea9d1(0x10e)]&&_0x475376[_0x3ea9d1(0xae)]();}const _0x265917=this[_0x3ea9d1(0xd1)]();return _0x3f498e(_0x265917)[_0x3ea9d1(0xb6)](_0x56c6f3=>{const _0x484ad0=_0x3ea9d1;return(this[_0x484ad0(0xcf)]=_0x56c6f3,this[_0x484ad0(0x9e)][_0x484ad0(0xe8)][_0x484ad0(0xf5)](_0x484ad0(0x11d)))&&this[_0x484ad0(0x9e)][_0x484ad0(0xe8)][_0x484ad0(0xca)](_0x484ad0(0x11d))[_0x484ad0(0xce)](),(this[_0x484ad0(0x9e)][_0x484ad0(0xe8)][_0x484ad0(0xf5)](_0x484ad0(0xe2))&&(this[_0x484ad0(0x9e)][_0x484ad0(0xe8)][_0x484ad0(0xca)](_0x484ad0(0xc6))[_0x484ad0(0xe1)][_0x484ad0(0xb3)][_0x484ad0(0x110)][_0x484ad0(0xc5)]=_0x484ad0(0xa5)),_0x56c6f3);})[_0x3ea9d1(0x119)](_0x1f5aea=>(console[_0x3ea9d1(0xc3)](_0x1f5aea),this[_0x3ea9d1(0x9e)][_0x3ea9d1(0xd6)](_0x3ea9d1(0xe9)),null));});}[_0x297680(0xa8)](){const _0x52160e=_0x297680,_0x5dcc0b=this[_0x52160e(0x9e)][_0x52160e(0xd3)][_0x52160e(0xca)](_0x52160e(0x10b))[_0x52160e(0xb7)];this[_0x52160e(0x9e)][_0x52160e(0xd3)][_0x52160e(0xc2)](_0x52160e(0xf1),()=>(this[_0x52160e(0x9e)][_0x52160e(0xe8)][_0x52160e(0xf5)](_0x52160e(0x126))&&this[_0x52160e(0x9e)][_0x52160e(0xe8)][_0x52160e(0xca)](_0x52160e(0x126))[_0x52160e(0xd8)](),this[_0x52160e(0x9e)][_0x52160e(0xe8)][_0x52160e(0xf5)](_0x52160e(0xe2))&&(this[_0x52160e(0x9e)][_0x52160e(0xe8)][_0x52160e(0xca)](_0x52160e(0xc6))[_0x52160e(0xe1)][_0x52160e(0xb3)][_0x52160e(0x110)][_0x52160e(0xc5)]=''),this[_0x52160e(0xcf)][_0x52160e(0xe8)][_0x52160e(0xca)](_0x52160e(0xc8))[_0x52160e(0xff)](),_0x5dcc0b(this[_0x52160e(0xcf)])[_0x52160e(0xb6)](()=>{const _0x5ee916=_0x52160e;if(this[_0x5ee916(0x9e)][_0x5ee916(0xd6)](_0x5ee916(0xe9)),this[_0x5ee916(0xcf)]=null,this[_0x5ee916(0x9e)][_0x5ee916(0xe8)][_0x5ee916(0xf5)](_0x5ee916(0x11d))){const _0x396f61=this[_0x5ee916(0x9e)][_0x5ee916(0xe8)][_0x5ee916(0xca)](_0x5ee916(0x11d));_0x396f61[_0x5ee916(0xce)](),_0x396f61[_0x5ee916(0xa2)]();}})));}[_0x297680(0xbb)](_0x191fed){const _0x21c327=_0x297680,_0x18d69e=this[_0x21c327(0x9e)][_0x21c327(0xd3)][_0x21c327(0xca)](_0x21c327(0xa1)),_0x278c79=this[_0x21c327(0x9e)][_0x21c327(0xd3)][_0x21c327(0xca)](_0x21c327(0xee)),_0x199de5=this[_0x21c327(0x9e)][_0x21c327(0xd3)][_0x21c327(0xca)](_0x21c327(0xd0));return _0x3fdbd0[_0x21c327(0xb8)](_0x199de5,_0x191fed)[_0x21c327(0xb6)](_0x51449b=>(_0x278c79[_0x21c327(0x110)][_0x21c327(0xc5)]=_0x21c327(0xcb),_0x18d69e[_0x21c327(0x110)][_0x21c327(0xc5)]=_0x21c327(0xa5),this[_0x21c327(0xf6)]=!0x0,_0x51449b));}[_0x297680(0xd5)](_0x38deb4){const _0x1dc37b=_0x297680,_0x3f93d9=this[_0x1dc37b(0x9e)][_0x1dc37b(0xd3)][_0x1dc37b(0xca)](_0x1dc37b(0xa1));return this[_0x1dc37b(0x9e)][_0x1dc37b(0xd3)][_0x1dc37b(0xca)](_0x1dc37b(0xee))[_0x1dc37b(0x110)][_0x1dc37b(0xc5)]=_0x1dc37b(0xa5),_0x3f93d9[_0x1dc37b(0x110)][_0x1dc37b(0xc5)]='',this[_0x1dc37b(0xf6)]=!0x1,_0x38deb4[_0x1dc37b(0x123)]();}async[_0x297680(0xa7)](_0x5b705f){const _0x45dbb0=_0x297680,_0x2267cb=this[_0x45dbb0(0x9e)],_0x38fe93=this[_0x45dbb0(0xcf)][_0x45dbb0(0xe8)][_0x45dbb0(0xca)](_0x45dbb0(0xc8)),_0x346958=_0x2267cb[_0x45dbb0(0xe8)][_0x45dbb0(0xca)](_0x45dbb0(0xf9)),_0x2099a6=_0x2267cb[_0x45dbb0(0xe8)][_0x45dbb0(0xca)](_0x45dbb0(0xfd)),_0x513829=_0x38fe93[_0x45dbb0(0xb2)][_0x45dbb0(0xc0)](_0x5b705f);let _0x4c4f55,_0x551381,_0x43f013;try{await _0x2099a6[_0x45dbb0(0x11f)](_0x513829,this[_0x45dbb0(0x99)]),_0x4c4f55=_0x2099a6[_0x45dbb0(0xdb)](_0x513829),_0x551381=_0x2099a6[_0x45dbb0(0x130)](_0x513829);}catch(_0x293dcc){return void console[_0x45dbb0(0xc3)](_0x293dcc);}_0x2267cb[_0x45dbb0(0xb5)][_0x45dbb0(0xe0)](_0x4d2702=>{const _0x599a05=_0x45dbb0;for(const _0x54f255 of Array[_0x599a05(0x102)](_0x2267cb[_0x599a05(0xb5)][_0x599a05(0xab)][_0x599a05(0x97)](_0x599a05(0xa3))))_0x4d2702[_0x599a05(0x101)](_0x54f255);}),_0x38fe93[_0x45dbb0(0xec)]=!0x1,_0x2267cb[_0x45dbb0(0xb5)][_0x45dbb0(0x117)](_0x5353cb=>{const _0x4a2f33=_0x45dbb0;_0x5353cb[_0x4a2f33(0xe6)](null),_0x5353cb[_0x4a2f33(0xb0)](_0x2267cb[_0x4a2f33(0xb5)][_0x4a2f33(0xe3)][_0x4a2f33(0x9a)][_0x4a2f33(0x127)]());const _0x175c32=Object[_0x4a2f33(0xa6)](_0x4c4f55);for(const _0x3195ec of _0x2267cb[_0x4a2f33(0xb5)][_0x4a2f33(0xe3)][_0x4a2f33(0xde)])_0x4a2f33(0x104)!=_0x3195ec[_0x4a2f33(0xbe)]&&_0x3195ec[_0x4a2f33(0xba)]()&&!_0x175c32[_0x4a2f33(0xfe)](_0x3195ec[_0x4a2f33(0xbe)])&&_0x5353cb[_0x4a2f33(0x106)](_0x3195ec);for(const _0x4c4f5b of _0x175c32){let _0x53bad1=_0x2267cb[_0x4a2f33(0xb5)][_0x4a2f33(0xe3)][_0x4a2f33(0xea)](_0x4c4f5b);_0x53bad1&&_0x53bad1[_0x4a2f33(0xba)]()||(_0x53bad1=_0x5353cb[_0x4a2f33(0xe7)](_0x4c4f5b));const _0x47bc3c=_0x551381[_0x4c4f5b],_0x15f438=Object[_0x4a2f33(0xa6)](_0x47bc3c),_0x391478=_0x4c4f55[_0x4c4f5b];for(const _0x15f0eb of _0x53bad1[_0x4a2f33(0x127)]())_0x15f438[_0x4a2f33(0xfe)](_0x15f0eb)||_0x5353cb[_0x4a2f33(0xfb)](_0x15f0eb,_0x53bad1);for(const _0x45cbf0 of _0x15f438)_0x5353cb[_0x4a2f33(0x9b)](_0x45cbf0,_0x551381[_0x4c4f5b][_0x45cbf0],_0x53bad1);_0x5353cb[_0x4a2f33(0xf0)](_0x5353cb[_0x4a2f33(0x11b)](_0x53bad1)),_0x5353cb[_0x4a2f33(0x100)](_0x2267cb[_0x4a2f33(0xc4)][_0x4a2f33(0xcc)](_0x391478,_0x53bad1),_0x53bad1,0x0);}});const _0x1a369f=_0x14b57a(_0x2267cb[_0x45dbb0(0xe4)],_0x45dbb0(0x10f));if(_0x513829[_0x45dbb0(0xfa)])_0x43f013=-0x1==_0x513829[_0x45dbb0(0xfa)][_0x45dbb0(0xdf)](_0x1a369f)?_0x1a369f+':\x20'+_0x513829[_0x45dbb0(0xfa)]:_0x513829[_0x45dbb0(0xfa)];else _0x43f013=_0x1a369f+':\x20'+(_0x513829[_0x45dbb0(0x120)][_0x45dbb0(0x11a)](_0x2267cb[_0x45dbb0(0xe4)][_0x45dbb0(0x128)],{'month':_0x45dbb0(0x12e),'day':_0x45dbb0(0xa4)})+',\x20'+_0x513829[_0x45dbb0(0x120)][_0x45dbb0(0x114)](_0x2267cb[_0x45dbb0(0xe4)][_0x45dbb0(0x128)],{'hour':_0x45dbb0(0xa4),'minute':_0x45dbb0(0xa4)}));return await _0x346958[_0x45dbb0(0x9d)]({'name':_0x43f013}),_0x38fe93[_0x45dbb0(0xec)]=!0x0,_0x2267cb[_0x45dbb0(0xd3)][_0x45dbb0(0xca)](_0x45dbb0(0x10b))[_0x45dbb0(0xb7)]();}}
@@ -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 _0x513b07=_0x477a;(function(_0x4256d0,_0x1c696f){const _0x7c6f11=_0x477a,_0x2391d0=_0x4256d0();while(!![]){try{const _0x31d6fb=parseInt(_0x7c6f11(0x1b7))/0x1*(-parseInt(_0x7c6f11(0x1b0))/0x2)+parseInt(_0x7c6f11(0x1e5))/0x3*(parseInt(_0x7c6f11(0x1ee))/0x4)+parseInt(_0x7c6f11(0x1d0))/0x5*(-parseInt(_0x7c6f11(0x1bc))/0x6)+parseInt(_0x7c6f11(0x1e0))/0x7+parseInt(_0x7c6f11(0x1e2))/0x8+parseInt(_0x7c6f11(0x1f9))/0x9+parseInt(_0x7c6f11(0x1b4))/0xa*(-parseInt(_0x7c6f11(0x1cf))/0xb);if(_0x31d6fb===_0x1c696f)break;else _0x2391d0['push'](_0x2391d0['shift']());}catch(_0x5eb932){_0x2391d0['push'](_0x2391d0['shift']());}}}(_0x2943,0x8521a));import{Plugin as _0x25f07b}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x1af686,ViewText as _0x2fae0b,ViewElement as _0x425f64,ViewContainerElement as _0x47a4d8,ViewAttributeElement as _0x1a48fc,ViewEmptyElement as _0x4ddee2,ViewRawElement as _0xe3c4c9,ViewUIElement as _0x15b232}from'ckeditor5/src/engine.js';function _0x2943(){const _0x5f3058=['fillerOffset','isPremiumPlugin','toModel','_makeModelFromViewString','getRevisionRootsAttributes','isOfficialPlugin','data-revision-','append','4cKLUCk','toData','view','string','attributesAfter','_getViewFromDiffObj','get','forEach','config','createElement','marked','4000860BWctbx','parse','getRevisionDocumentData','2402fidpOn','useFillerType','document','type','130lxbvdR','processor','diffData','394MUbbwk','domConverter','_appendChild','_typeCharToViewClass','_viewClassToTypeChar','6254658cBZRrD','RevisionHistoryUtils','attachChange','default','constructor','revision-start','domChildrenToView','innerHTML','_removeRevisionMarkers','isAttached','from','attributes','getFillerOffset','editing','editor','pluginName','_getTypeCharForViewElement','loadRevisionData','children','412225xpznqz','5odpLTi','domDocument','revision-end','render','length','startsWith','filter','htmlProcessor','childNodes','_setCustomProperty','collaboration.channelId','viewChildrenToDom','insertions','div','map','customProperties','6218212eVDQJC','data','7614208YRRCCM','getRevision','name','790458XntHPl'];_0x2943=function(){return _0x5f3058;};return _0x2943();}function _0x477a(_0x162a2e,_0x4dc89e){const _0x294397=_0x2943();return _0x477a=function(_0x477ac6,_0x3dca78){_0x477ac6=_0x477ac6-0x1b0;let _0x2ffa04=_0x294397[_0x477ac6];return _0x2ffa04;},_0x477a(_0x162a2e,_0x4dc89e);}export default class V extends _0x25f07b{static get[_0x513b07(0x1cb)](){const _0x19c1eb=_0x513b07;return _0x19c1eb(0x1bd);}static get[_0x513b07(0x1eb)](){return!0x0;}static get[_0x513b07(0x1e7)](){return!0x0;}[_0x513b07(0x1bb)]=new Map([[_0x47a4d8,'c'],[_0x1a48fc,'a'],[_0x4ddee2,'e'],[_0xe3c4c9,'r'],[_0x15b232,'u']]);[_0x513b07(0x1ba)]=new Map([['c',_0x47a4d8],['a',_0x1a48fc],['e',_0x4ddee2],['r',_0xe3c4c9],['u',_0x15b232]]);async[_0x513b07(0x1cd)](_0x26f9d7,_0x1b42a5){const _0xb26b41=_0x513b07;if(_0x26f9d7[_0xb26b41(0x1b6)]||!_0x1b42a5)return;const _0x1eae9e=this[_0xb26b41(0x1ca)][_0xb26b41(0x1f6)][_0xb26b41(0x1f4)](_0xb26b41(0x1da)),_0x6ff4f0=await _0x1b42a5[_0xb26b41(0x1e3)]({'channelId':_0x1eae9e,'revisionId':_0x26f9d7['id']});_0x26f9d7[_0xb26b41(0x1b6)]=_0x6ff4f0[_0xb26b41(0x1b6)];}[_0x513b07(0x1fb)](_0xcf7c11){const _0x55ac31=_0x513b07,_0x411f3b={};for(const _0x392b9d in _0xcf7c11[_0x55ac31(0x1b6)]){if(_0xcf7c11[_0x55ac31(0x1b6)][_0x392b9d][_0x55ac31(0x1be)]&&!_0xcf7c11[_0x55ac31(0x1b6)][_0x392b9d][_0x55ac31(0x1be)][_0x55ac31(0x1c5)])continue;const _0x10cc1c=this[_0x55ac31(0x1c4)](JSON[_0x55ac31(0x1fa)](_0xcf7c11[_0x55ac31(0x1b6)][_0x392b9d][_0x55ac31(0x1dc)])),_0xfe231d=this[_0x55ac31(0x1ca)][_0x55ac31(0x1c9)][_0x55ac31(0x1f0)][_0x55ac31(0x1b2)],_0x123a5b=new _0x1af686(_0xfe231d,_0x10cc1c[_0x55ac31(0x1de)](_0xcfcc19=>this[_0x55ac31(0x1f3)](_0xcfcc19,!0x1)));this[_0x55ac31(0x1ca)][_0x55ac31(0x1e1)][_0x55ac31(0x1b5)][_0x55ac31(0x1b1)](_0x55ac31(0x1f8)),_0x411f3b[_0x392b9d]=this[_0x55ac31(0x1ca)][_0x55ac31(0x1e1)][_0x55ac31(0x1b5)][_0x55ac31(0x1ef)](_0x123a5b),this[_0x55ac31(0x1ca)][_0x55ac31(0x1e1)][_0x55ac31(0x1b5)][_0x55ac31(0x1b1)](_0x55ac31(0x1bf));}return _0x411f3b;}[_0x513b07(0x1ea)](_0x3dd2b9){const _0x1aa2dd=_0x513b07,_0x36e94c={};for(const _0x4765fb in _0x3dd2b9[_0x1aa2dd(0x1b6)])_0x3dd2b9[_0x1aa2dd(0x1b6)][_0x4765fb][_0x1aa2dd(0x1be)]&&!_0x3dd2b9[_0x1aa2dd(0x1b6)][_0x4765fb][_0x1aa2dd(0x1be)][_0x1aa2dd(0x1c5)]||(_0x36e94c[_0x4765fb]=_0x3dd2b9[_0x1aa2dd(0x1b6)][_0x4765fb][_0x1aa2dd(0x1f2)]||{});return _0x36e94c;}[_0x513b07(0x1cc)](_0x188477){const _0x4dca2f=_0x513b07;return this[_0x4dca2f(0x1bb)][_0x4dca2f(0x1f4)](_0x188477[_0x4dca2f(0x1c0)]);}[_0x513b07(0x1f3)](_0x5b5406,_0x3881f2){const _0x562eb5=_0x513b07,_0x1bb830=this[_0x562eb5(0x1ca)][_0x562eb5(0x1c9)][_0x562eb5(0x1f0)][_0x562eb5(0x1b2)];if(_0x562eb5(0x1f1)==typeof _0x5b5406)return new _0x2fae0b(_0x1bb830,_0x5b5406);{let _0x3b26d2,_0x3df75d;_0x3df75d='u'==_0x5b5406[_0x562eb5(0x1b3)]||'r'==_0x5b5406[_0x562eb5(0x1b3)]?[]:_0x5b5406[_0x562eb5(0x1ce)][_0x562eb5(0x1de)](_0x1ffd15=>this[_0x562eb5(0x1f3)](_0x1ffd15,_0x3881f2));const _0x39862e=this[_0x562eb5(0x1ba)][_0x562eb5(0x1f4)](_0x5b5406[_0x562eb5(0x1b3)])||_0x425f64,_0x94d58d=this[_0x562eb5(0x1ca)][_0x562eb5(0x1e1)][_0x562eb5(0x1d7)][_0x562eb5(0x1b8)];if(_0x3b26d2=new _0x39862e(_0x1bb830,_0x5b5406[_0x562eb5(0x1e4)],_0x5b5406[_0x562eb5(0x1c7)],_0x3df75d),'u'==_0x5b5406[_0x562eb5(0x1b3)]){const _0x4b8dfb=_0x5b5406[_0x562eb5(0x1ce)][0x0];if(_0x3b26d2[_0x562eb5(0x1d3)]=function(_0x2a23c8){const _0x5dce09=_0x562eb5,_0x180250=_0x2a23c8[_0x5dce09(0x1f7)](_0x5dce09(0x1dd));return _0x180250[_0x5dce09(0x1c3)]=_0x4b8dfb,_0x180250[_0x5dce09(0x1d8)][0x0];},_0x3881f2){const _0x236f7c=new _0x1af686(_0x1bb830);_0x236f7c[_0x562eb5(0x1b9)](_0x3b26d2);const _0x2d1d21=Array[_0x562eb5(0x1c6)](_0x94d58d[_0x562eb5(0x1db)](_0x236f7c,{'bind':!0x1})),_0x3334e8=_0x94d58d[_0x562eb5(0x1d1)][_0x562eb5(0x1f7)](_0x562eb5(0x1dd));_0x3334e8[_0x562eb5(0x1ed)](..._0x2d1d21),_0x3b26d2=Array[_0x562eb5(0x1c6)](_0x94d58d[_0x562eb5(0x1c2)](_0x3334e8))[0x0];}}else{if('r'==_0x5b5406[_0x562eb5(0x1b3)]){const _0x31b1dc=_0x5b5406[_0x562eb5(0x1ce)][0x0];if(_0x3b26d2[_0x562eb5(0x1d3)]=function(_0x4cd9b6){const _0x51484e=_0x562eb5;_0x4cd9b6[_0x51484e(0x1c3)]=_0x31b1dc;},_0x3881f2){const _0x5c1e3a=new _0x1af686(_0x1bb830);_0x5c1e3a[_0x562eb5(0x1b9)](_0x3b26d2);const _0x2f4da1=Array[_0x562eb5(0x1c6)](_0x94d58d[_0x562eb5(0x1db)](_0x5c1e3a,{'bind':!0x1})),_0x4fd175=_0x94d58d[_0x562eb5(0x1d1)][_0x562eb5(0x1f7)](_0x562eb5(0x1dd));_0x4fd175[_0x562eb5(0x1ed)](..._0x2f4da1);const _0xce3b8=Array[_0x562eb5(0x1c6)](_0x94d58d[_0x562eb5(0x1c2)](_0x4fd175));_0xce3b8[_0x562eb5(0x1d4)]>0x1?_0x3b26d2[_0x562eb5(0x1b9)](_0xce3b8):_0x3b26d2=_0xce3b8[0x0];}}}if(_0x5b5406[_0x562eb5(0x1df)]){for(const [_0x573519,_0x499c71]of _0x5b5406[_0x562eb5(0x1df)])_0x3b26d2[_0x562eb5(0x1d9)](_0x573519,_0x499c71);}const _0x3c2be8=_0x5b5406[_0x562eb5(0x1e6)]||null;return _0x3b26d2[_0x562eb5(0x1c8)]=()=>_0x3c2be8,_0x3b26d2;}}[_0x513b07(0x1e9)](_0x2ac57b){const _0x49aead=_0x513b07,_0x354657=JSON[_0x49aead(0x1fa)](_0x2ac57b),_0x26f487=this[_0x49aead(0x1ca)][_0x49aead(0x1c9)][_0x49aead(0x1f0)][_0x49aead(0x1b2)],_0x530170=new _0x1af686(_0x26f487,_0x354657[_0x49aead(0x1de)](_0x11682a=>this[_0x49aead(0x1f3)](_0x11682a,!0x0)));return this[_0x49aead(0x1ca)][_0x49aead(0x1e1)][_0x49aead(0x1e8)](_0x530170);}[_0x513b07(0x1c4)](_0x3ed8ea){const _0x38bc1b=_0x513b07;return(_0x3ed8ea=_0x3ed8ea[_0x38bc1b(0x1d6)](_0x3a7c33=>!_0x3a7c33[_0x38bc1b(0x1e4)]||_0x38bc1b(0x1c1)!==_0x3a7c33[_0x38bc1b(0x1e4)]&&_0x38bc1b(0x1d2)!==_0x3a7c33[_0x38bc1b(0x1e4)]))[_0x38bc1b(0x1f5)](_0x49fe15=>{const _0x1f2f8e=_0x38bc1b;_0x1f2f8e(0x1f1)!=typeof _0x49fe15&&(_0x49fe15[_0x1f2f8e(0x1ce)]=this[_0x1f2f8e(0x1c4)](_0x49fe15[_0x1f2f8e(0x1ce)]),_0x49fe15[_0x1f2f8e(0x1c7)]=_0x49fe15[_0x1f2f8e(0x1c7)][_0x1f2f8e(0x1d6)](_0x1e288e=>!_0x1e288e[0x0][_0x1f2f8e(0x1d5)](_0x1f2f8e(0x1ec))));}),_0x3ed8ea;}}