@ckeditor/ckeditor5-revision-history 45.2.1-alpha.9 → 46.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (211) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index-editor.css +1 -1
  3. package/dist/index.css +1 -1
  4. package/dist/index.js +7 -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/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +14 -14
  152. package/src/changeitem.d.ts +1 -1
  153. package/src/changeitem.js +2 -2
  154. package/src/editor/revisionviewereditor.d.ts +2 -2
  155. package/src/editor/revisionviewereditor.js +2 -2
  156. package/src/editor/revisionviewereditorui.d.ts +2 -2
  157. package/src/editor/revisionviewereditorui.js +1 -1
  158. package/src/editor/revisionviewereditoruiview.d.ts +1 -1
  159. package/src/editor/revisionviewereditoruiview.js +1 -1
  160. package/src/index.d.ts +14 -11
  161. package/src/index.js +1 -1
  162. package/src/revision.d.ts +1 -1
  163. package/src/revision.js +2 -2
  164. package/src/revisiondiff.d.ts +4 -4
  165. package/src/revisiondiff.js +1 -1
  166. package/src/revisionhistory.d.ts +4 -41
  167. package/src/revisionhistory.js +1 -1
  168. package/src/revisionhistoryutils.d.ts +2 -2
  169. package/src/revisionhistoryutils.js +1 -1
  170. package/src/revisionsrepository.d.ts +2 -2
  171. package/src/revisionsrepository.js +1 -1
  172. package/src/revisiontracker.d.ts +6 -11
  173. package/src/revisiontracker.js +1 -1
  174. package/src/revisionviewer.d.ts +7 -7
  175. package/src/revisionviewer.js +1 -1
  176. package/src/ui/revision/createrevisionactionsdropdown.d.ts +3 -3
  177. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  178. package/src/ui/revision/revisionauthorview.d.ts +1 -1
  179. package/src/ui/revision/revisionauthorview.js +1 -1
  180. package/src/ui/revision/revisionnameview.d.ts +1 -1
  181. package/src/ui/revision/revisionnameview.js +1 -1
  182. package/src/ui/revision/revisionview.d.ts +3 -3
  183. package/src/ui/revision/revisionview.js +2 -2
  184. package/src/ui/revision/subrevisioncollapserview.d.ts +1 -1
  185. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  186. package/src/ui/revision/subrevisionview.d.ts +2 -2
  187. package/src/ui/revision/subrevisionview.js +1 -1
  188. package/src/ui/revision/utils.js +1 -1
  189. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +3 -1
  190. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -1
  191. package/src/ui/revisionhistory/revisionhistoryui.d.ts +2 -2
  192. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  193. package/src/ui/revisionssidebar/revisionssidebar.d.ts +3 -3
  194. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  195. package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +1 -1
  196. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  197. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +3 -3
  198. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  199. package/src/ui/revisionssidebar/revisionssidebarview.d.ts +4 -4
  200. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  201. package/src/ui/revisionssidebar/utils.js +1 -1
  202. package/src/ui/revisionviewer/changedetailsview.d.ts +2 -2
  203. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  204. package/src/ui/revisionviewer/changesnavigationview.d.ts +1 -1
  205. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  206. package/src/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +1 -1
  207. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  208. package/src/ui/revisionviewer/revisionviewerui.d.ts +3 -3
  209. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  210. package/src/utils/common-translations.js +1 -1
  211. package/theme/revisionviewerloadingoverlay.css +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x520f0f=>{const {vi:{dictionary:_0x486ed6,getPluralForm:_0x5e3835}}={'vi':{'dictionary':{'Restored':'Được\x20khôi\x20phục','Empty\x20document':'Tài\x20liệu\x20trống','Initial\x20revision':'Bản\x20sửa\x20đổi\x20ban\x20đầu','Compare\x20against\x20selected':'So\x20sánh\x20với\x20bản\x20sửa\x20đổi\x20được\x20chọn','Name\x20this\x20revision':'Đặt\x20tên\x20cho\x20bản\x20sửa\x20đổi\x20này','Revision\x20creator':'Người\x20lưu\x20bản\x20sửa\x20đổi','Revision\x20author':'Tác\x20giả\x20bản\x20sửa\x20đổi','Revision\x20name':'Tên\x20bản\x20sửa\x20đổi','Name\x20of\x20the\x20revision':'Tên\x20của\x20bản\x20sửa\x20đổi','optional':'không\x20bắt\x20buộc','Save\x20current\x20revision':'Lưu\x20bản\x20sửa\x20đổi\x20hiện\x20tại','Open\x20revision\x20history':'Mở\x20lịch\x20sử\x20sửa\x20đổi','Revision\x20history':'Lịch\x20sử\x20sửa\x20đổi','Suggested\x20by':'Người\x20đề\x20xuất:','Added\x20by':'Người\x20thêm:','Removed\x20by':'Người\x20xóa:','Loading...':'Đang\x20tải...','No\x20changes':'Không\x20có\x20nội\x20dung\x20thay\x20đổi','NUMBER_OF_CHANGES':'%0\x20nội\x20dung\x20thay\x20đổi','X_OF_Y_CHANGES':'%0\x20đến\x20%1','Show\x20previous\x20change':'Hiện\x20nội\x20dung\x20thay\x20đổi\x20trước\x20đó','Show\x20next\x20change':'Hiện\x20nội\x20dung\x20thay\x20đổi\x20tiếp\x20theo','Total':'Tổng','EDIT_X_OF_Y_REVISIONS':'Chỉnh\x20sửa','Back\x20to\x20editing':'Quay\x20lại\x20chỉnh\x20sửa','Restore\x20this\x20revision':'Khôi\x20phục\x20bản\x20sửa\x20đổi','PENDING_ACTION_REVISION_HISTORY':'Nội\x20dung\x20thay\x20đổi\x20chưa\x20lưu\x20trong\x20lịch\x20sử\x20sửa\x20đổi','Enter\x20the\x20revision\x20name':'Nhập\x20tên\x20bản\x20sửa\x20đổi','The\x20revision\x20name\x20cannot\x20be\x20empty.':'Không\x20được\x20để\x20trống\x20tên\x20bản\x20sửa\x20đổi.'},'getPluralForm':_0x43ec8e=>0x0}};_0x520f0f['vi']||={'dictionary':{},'getPluralForm':null},_0x520f0f['vi']['dictionary']=Object['assign'](_0x520f0f['vi']['dictionary'],_0x486ed6),_0x520f0f['vi']['getPluralForm']=_0x5e3835;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x20d0cb=>{const {vi:{dictionary:_0x5ab054,getPluralForm:_0x91d820}}={'vi':{'dictionary':{'Restored':'Được\x20khôi\x20phục','Empty\x20document':'Tài\x20liệu\x20trống','Initial\x20revision':'Bản\x20sửa\x20đổi\x20ban\x20đầu','Compare\x20against\x20selected':'So\x20sánh\x20với\x20bản\x20sửa\x20đổi\x20được\x20chọn','Name\x20this\x20revision':'Đặt\x20tên\x20cho\x20bản\x20sửa\x20đổi\x20này','Revision\x20creator':'Người\x20lưu\x20bản\x20sửa\x20đổi','Revision\x20author':'Tác\x20giả\x20bản\x20sửa\x20đổi','Revision\x20name':'Tên\x20bản\x20sửa\x20đổi','Name\x20of\x20the\x20revision':'Tên\x20của\x20bản\x20sửa\x20đổi','optional':'không\x20bắt\x20buộc','Save\x20current\x20revision':'Lưu\x20bản\x20sửa\x20đổi\x20hiện\x20tại','Open\x20revision\x20history':'Mở\x20lịch\x20sử\x20sửa\x20đổi','Revision\x20history':'Lịch\x20sử\x20sửa\x20đổi','Suggested\x20by':'Người\x20đề\x20xuất:','Added\x20by':'Người\x20thêm:','Removed\x20by':'Người\x20xóa:','Loading...':'Đang\x20tải...','No\x20changes':'Không\x20có\x20nội\x20dung\x20thay\x20đổi','NUMBER_OF_CHANGES':'%0\x20nội\x20dung\x20thay\x20đổi','X_OF_Y_CHANGES':'%0\x20đến\x20%1','Show\x20previous\x20change':'Hiện\x20nội\x20dung\x20thay\x20đổi\x20trước\x20đó','Show\x20next\x20change':'Hiện\x20nội\x20dung\x20thay\x20đổi\x20tiếp\x20theo','Total':'Tổng','EDIT_X_OF_Y_REVISIONS':'Chỉnh\x20sửa','Back\x20to\x20editing':'Quay\x20lại\x20chỉnh\x20sửa','Restore\x20this\x20revision':'Khôi\x20phục\x20bản\x20sửa\x20đổi','PENDING_ACTION_REVISION_HISTORY':'Nội\x20dung\x20thay\x20đổi\x20chưa\x20lưu\x20trong\x20lịch\x20sử\x20sửa\x20đổi','Enter\x20the\x20revision\x20name':'Nhập\x20tên\x20bản\x20sửa\x20đổi','The\x20revision\x20name\x20cannot\x20be\x20empty.':'Không\x20được\x20để\x20trống\x20tên\x20bản\x20sửa\x20đổi.'},'getPluralForm':_0x58862e=>0x0}};_0x20d0cb['vi']||={'dictionary':{},'getPluralForm':null},_0x20d0cb['vi']['dictionary']=Object['assign'](_0x20d0cb['vi']['dictionary'],_0x5ab054),_0x20d0cb['vi']['getPluralForm']=_0x91d820;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x455858=>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':_0x630c50=>0x0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1049d6=>{const {'zh-cn':{dictionary:_0x3ed274,getPluralForm:_0x1df8fb}}={'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':_0xabb12a=>0x0}};_0x1049d6['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x1049d6['zh-cn']['dictionary']=Object['assign'](_0x1049d6['zh-cn']['dictionary'],_0x3ed274),_0x1049d6['zh-cn']['getPluralForm']=_0x1df8fb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1f6722=>{const {'zh-cn':{dictionary:_0x439c32,getPluralForm:_0x2eb808}}={'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':_0x446019=>0x0}};_0x1f6722['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x1f6722['zh-cn']['dictionary']=Object['assign'](_0x1f6722['zh-cn']['dictionary'],_0x439c32),_0x1f6722['zh-cn']['getPluralForm']=_0x2eb808;})(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':_0xdc65aa=>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':_0x40dab4=>0x0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x584639=>{const {zh:{dictionary:_0x5a3396,getPluralForm:_0x570667}}={'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':_0x288cc2=>0x0}};_0x584639['zh']||={'dictionary':{},'getPluralForm':null},_0x584639['zh']['dictionary']=Object['assign'](_0x584639['zh']['dictionary'],_0x5a3396),_0x584639['zh']['getPluralForm']=_0x570667;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5d3225=>{const {zh:{dictionary:_0xa9bf93,getPluralForm:_0x51c01c}}={'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':_0x32942d=>0x0}};_0x5d3225['zh']||={'dictionary':{},'getPluralForm':null},_0x5d3225['zh']['dictionary']=Object['assign'](_0x5d3225['zh']['dictionary'],_0xa9bf93),_0x5d3225['zh']['getPluralForm']=_0x51c01c;})(window['CKEDITOR_TRANSLATIONS']||={});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-revision-history",
3
- "version": "45.2.1-alpha.9",
3
+ "version": "46.0.0-alpha.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,19 +39,19 @@
39
39
  "CHANGELOG.md"
40
40
  ],
41
41
  "dependencies": {
42
- "@ckeditor/ckeditor5-autosave": "45.2.1-alpha.9",
43
- "@ckeditor/ckeditor5-comments": "45.2.1-alpha.9",
44
- "@ckeditor/ckeditor5-core": "45.2.1-alpha.9",
45
- "@ckeditor/ckeditor5-editor-classic": "45.2.1-alpha.9",
46
- "@ckeditor/ckeditor5-engine": "45.2.1-alpha.9",
47
- "@ckeditor/ckeditor5-icons": "45.2.1-alpha.9",
48
- "@ckeditor/ckeditor5-ui": "45.2.1-alpha.9",
49
- "@ckeditor/ckeditor5-utils": "45.2.1-alpha.9",
50
- "@types/luxon": "3.4.2",
51
- "ckeditor5": "45.2.1-alpha.9",
52
- "ckeditor5-collaboration": "45.2.1-alpha.9",
53
- "es-toolkit": "1.32.0",
54
- "luxon": "3.5.0"
42
+ "@ckeditor/ckeditor5-autosave": "46.0.0-alpha.0",
43
+ "@ckeditor/ckeditor5-comments": "46.0.0-alpha.0",
44
+ "@ckeditor/ckeditor5-core": "46.0.0-alpha.0",
45
+ "@ckeditor/ckeditor5-editor-classic": "46.0.0-alpha.0",
46
+ "@ckeditor/ckeditor5-engine": "46.0.0-alpha.0",
47
+ "@ckeditor/ckeditor5-icons": "46.0.0-alpha.0",
48
+ "@ckeditor/ckeditor5-ui": "46.0.0-alpha.0",
49
+ "@ckeditor/ckeditor5-utils": "46.0.0-alpha.0",
50
+ "@types/luxon": "3.6.2",
51
+ "ckeditor5": "46.0.0-alpha.0",
52
+ "ckeditor5-collaboration": "46.0.0-alpha.0",
53
+ "es-toolkit": "1.39.5",
54
+ "luxon": "3.6.1"
55
55
  },
56
56
  "types": "src/index.d.ts",
57
57
  "exports": {
@@ -10,7 +10,7 @@ declare const ChangeItem_base: {
10
10
  /**
11
11
  * Represents a singular change entry in the revision or in the revisions comparison.
12
12
  */
13
- export default class ChangeItem extends /* #__PURE__ -- @preserve */ ChangeItem_base {
13
+ export declare class ChangeItem extends /* #__PURE__ -- @preserve */ ChangeItem_base {
14
14
  /**
15
15
  * Unique change item id.
16
16
  */
package/src/changeitem.js CHANGED
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x47d38b=_0x5861;(function(_0x2c92a4,_0x55a311){var _0x4e2820=_0x5861,_0x14001e=_0x2c92a4();while(!![]){try{var _0x3647da=parseInt(_0x4e2820(0xfc))/0x1+parseInt(_0x4e2820(0xf4))/0x2*(parseInt(_0x4e2820(0xfd))/0x3)+-parseInt(_0x4e2820(0xf7))/0x4*(-parseInt(_0x4e2820(0xf3))/0x5)+parseInt(_0x4e2820(0xf1))/0x6+-parseInt(_0x4e2820(0xfb))/0x7*(-parseInt(_0x4e2820(0xfe))/0x8)+parseInt(_0x4e2820(0xf6))/0x9*(-parseInt(_0x4e2820(0xf9))/0xa)+-parseInt(_0x4e2820(0x101))/0xb;if(_0x3647da===_0x55a311)break;else _0x14001e['push'](_0x14001e['shift']());}catch(_0x9257b9){_0x14001e['push'](_0x14001e['shift']());}}}(_0x79ce,0x29921));import{ObservableMixin as _0x59cac1,uid as _0x46fa8b}from'ckeditor5/src/utils.js';function _0x5861(_0x30a8de,_0x54f2ad){var _0x79ceaa=_0x79ce();return _0x5861=function(_0x58618a,_0x2aeda7){_0x58618a=_0x58618a-0xf0;var _0x102996=_0x79ceaa[_0x58618a];return _0x102996;},_0x5861(_0x30a8de,_0x54f2ad);}export default class r extends/* #__PURE__ -- @preserve */
24
- _0x59cac1(){['id'];[_0x47d38b(0x100)];[_0x47d38b(0xf2)];[_0x47d38b(0xf0)];[_0x47d38b(0xf8)];constructor(_0x4b6ae6){var _0x51f38e=_0x47d38b;super(),this['id']=_0x4b6ae6['id']||_0x46fa8b(),this[_0x51f38e(0x100)]=_0x4b6ae6[_0x51f38e(0x100)],this[_0x51f38e(0xf2)]=_0x4b6ae6[_0x51f38e(0xf2)],this[_0x51f38e(0xf0)]=_0x4b6ae6[_0x51f38e(0xf0)]||{},this[_0x51f38e(0xf8)]=_0x4b6ae6[_0x51f38e(0xf8)],this[_0x51f38e(0xfa)](_0x51f38e(0xff),_0x4b6ae6[_0x51f38e(0xff)]);}[_0x47d38b(0xf5)](){var _0x19f262=_0x47d38b;return{'id':this['id'],'authorId':this[_0x19f262(0x100)]['id'],'type':this[_0x19f262(0xf2)],'data':this[_0x19f262(0xf0)],'createdAt':this[_0x19f262(0xff)]};}}function _0x79ce(){var _0x5ae9db=['2205fAOiIN','568972YzdcpJ','rootName','6070kzGseT','set','2807YTfuEm','220019kCfeBr','15ZkkEUc','4624iyUpSG','createdAt','author','8956915YPcPoZ','data','2022918NohjIv','type','5hYLKNo','80824STpFUK','toJSON'];_0x79ce=function(){return _0x5ae9db;};return _0x79ce();}
23
+ function _0x3ff5(_0x39ad12,_0x31faba){var _0x749b8a=_0x749b();return _0x3ff5=function(_0x3ff534,_0x37b35f){_0x3ff534=_0x3ff534-0x66;var _0x40e4a5=_0x749b8a[_0x3ff534];return _0x40e4a5;},_0x3ff5(_0x39ad12,_0x31faba);}var _0x4cb823=_0x3ff5;(function(_0x2f883e,_0xe32b89){var _0x531a09=_0x3ff5,_0x3131f7=_0x2f883e();while(!![]){try{var _0xa14de0=parseInt(_0x531a09(0x6d))/0x1+-parseInt(_0x531a09(0x73))/0x2+-parseInt(_0x531a09(0x67))/0x3+-parseInt(_0x531a09(0x6a))/0x4+-parseInt(_0x531a09(0x6c))/0x5+-parseInt(_0x531a09(0x75))/0x6*(-parseInt(_0x531a09(0x6e))/0x7)+-parseInt(_0x531a09(0x69))/0x8*(-parseInt(_0x531a09(0x66))/0x9);if(_0xa14de0===_0xe32b89)break;else _0x3131f7['push'](_0x3131f7['shift']());}catch(_0x750687){_0x3131f7['push'](_0x3131f7['shift']());}}}(_0x749b,0xe4a75));function _0x749b(){var _0x40d5e6=['1269LrNeAv','1032768TNbGeo','toJSON','115240NFoyjk','5560220serihr','type','4570650SztAGU','1502993aBVMXn','28yyyeSf','createdAt','rootName','data','author','3422400epjLck','set','2643162OWYNVG'];_0x749b=function(){return _0x40d5e6;};return _0x749b();}import{ObservableMixin as _0x4d2996,uid as _0x58f4a7}from'ckeditor5/src/utils.js';export class ChangeItem extends/* #__PURE__ -- @preserve */
24
+ _0x4d2996(){['id'];[_0x4cb823(0x72)];[_0x4cb823(0x6b)];[_0x4cb823(0x71)];[_0x4cb823(0x70)];constructor(_0x18836a){var _0xa25727=_0x4cb823;super(),this['id']=_0x18836a['id']||_0x58f4a7(),this[_0xa25727(0x72)]=_0x18836a[_0xa25727(0x72)],this[_0xa25727(0x6b)]=_0x18836a[_0xa25727(0x6b)],this[_0xa25727(0x71)]=_0x18836a[_0xa25727(0x71)]||{},this[_0xa25727(0x70)]=_0x18836a[_0xa25727(0x70)],this[_0xa25727(0x74)](_0xa25727(0x6f),_0x18836a[_0xa25727(0x6f)]);}[_0x4cb823(0x68)](){var _0x541f99=_0x4cb823;return{'id':this['id'],'authorId':this[_0x541f99(0x72)]['id'],'type':this[_0x541f99(0x6b)],'data':this[_0x541f99(0x71)],'createdAt':this[_0x541f99(0x6f)]};}}
@@ -6,12 +6,12 @@
6
6
  * @module revision-history/editor/revisionviewereditor
7
7
  */
8
8
  import { Editor, type EditorConfig } from 'ckeditor5/src/core.js';
9
- import RevisionViewerEditorUI from './revisionviewereditorui.js';
9
+ import { RevisionViewerEditorUI } from './revisionviewereditorui.js';
10
10
  declare const RevisionViewerEditor_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof Editor, import("ckeditor5/src/core.js").ElementApi>;
11
11
  /**
12
12
  * Editor class used to show revision comparisons.
13
13
  */
14
- export default class RevisionViewerEditor extends /* #__PURE__ -- @preserve */ RevisionViewerEditor_base {
14
+ export declare class RevisionViewerEditor extends /* #__PURE__ -- @preserve */ RevisionViewerEditor_base {
15
15
  get ui(): RevisionViewerEditorUI;
16
16
  /**
17
17
  * @param sourceElement Editor source element.
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x281b(){const _0x3e12b2=['view','destroy','init','sourceElement','ready','editing','initialData','333pMCjMz','locale','get','config','createRoot','2chaVga','initPlugins','1366530RUayTg','fire','_ui','2508728GdNyey','5246752wuSevG','updateSourceElement','6139390QXUBHF','create','8719890XRzedv','data','model','28104uxnSML','437928CJtiHA','document'];_0x281b=function(){return _0x3e12b2;};return _0x281b();}const _0x582264=_0x38a9;(function(_0x47e679,_0x511437){const _0x2f18f0=_0x38a9,_0x4432e6=_0x47e679();while(!![]){try{const _0x5a4168=-parseInt(_0x2f18f0(0xe3))/0x1+parseInt(_0x2f18f0(0xe1))/0x2*(-parseInt(_0x2f18f0(0xd3))/0x3)+parseInt(_0x2f18f0(0xe6))/0x4+parseInt(_0x2f18f0(0xcd))/0x5+parseInt(_0x2f18f0(0xcf))/0x6+-parseInt(_0x2f18f0(0xe7))/0x7+parseInt(_0x2f18f0(0xd2))/0x8*(-parseInt(_0x2f18f0(0xdc))/0x9);if(_0x5a4168===_0x511437)break;else _0x4432e6['push'](_0x4432e6['shift']());}catch(_0x2715c4){_0x4432e6['push'](_0x4432e6['shift']());}}}(_0x281b,0xdfb80));import{Editor as _0x34cf4e,ElementApiMixin as _0x5b14e2}from'ckeditor5/src/core.js';import _0x3f446b from'./revisionviewereditorui.js';function _0x38a9(_0x38f04b,_0x318b5a){const _0x281ba9=_0x281b();return _0x38a9=function(_0x38a9fd,_0x4b6bed){_0x38a9fd=_0x38a9fd-0xcc;let _0x43c7c2=_0x281ba9[_0x38a9fd];return _0x43c7c2;},_0x38a9(_0x38f04b,_0x318b5a);}import _0x4aa768 from'./revisionviewereditoruiview.js';export default class w extends/* #__PURE__ -- @preserve */
24
- _0x5b14e2(_0x34cf4e){[_0x582264(0xe5)];get['ui'](){const _0x1fe4ce=_0x582264;return this[_0x1fe4ce(0xe5)];}constructor(_0x34a0ba,_0x299856){const _0x3e5d83=_0x582264;super(_0x299856),this[_0x3e5d83(0xd8)]=_0x34a0ba,this[_0x3e5d83(0xd1)][_0x3e5d83(0xd4)][_0x3e5d83(0xe0)]();const _0x46a6e3=new _0x4aa768(this[_0x3e5d83(0xdd)],this[_0x3e5d83(0xda)][_0x3e5d83(0xd5)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x3e5d83(0xe5)]=new _0x3f446b(this,_0x46a6e3);}[_0x582264(0xd6)](){const _0x187875=_0x582264;return this[_0x187875(0xcc)](),this['ui'][_0x187875(0xd6)](),super[_0x187875(0xd6)]();}static async[_0x582264(0xce)](_0x18ab52,_0x5441b8){const _0x2b0d8c=_0x582264,_0x4d8a6f=new this(_0x18ab52,_0x5441b8);return await _0x4d8a6f[_0x2b0d8c(0xe2)](),await _0x4d8a6f['ui'][_0x2b0d8c(0xd7)](_0x18ab52),await _0x4d8a6f[_0x2b0d8c(0xd0)][_0x2b0d8c(0xd7)](_0x4d8a6f[_0x2b0d8c(0xdf)][_0x2b0d8c(0xde)](_0x2b0d8c(0xdb))||''),_0x4d8a6f[_0x2b0d8c(0xe4)](_0x2b0d8c(0xd9)),_0x4d8a6f;}}
23
+ const _0x39b42c=_0x46d5;function _0x46d5(_0x11532f,_0x284707){const _0x30c115=_0x30c1();return _0x46d5=function(_0x46d561,_0x1ee1de){_0x46d561=_0x46d561-0x109;let _0x53d2c7=_0x30c115[_0x46d561];return _0x53d2c7;},_0x46d5(_0x11532f,_0x284707);}function _0x30c1(){const _0x3fadb3=['config','242889IaeNbn','initialData','view','64Gyusns','locale','144462SojHjW','235wIMuIj','6052570cNLOhO','updateSourceElement','editing','data','480496KaMevu','sourceElement','8055njxaID','init','3421691lxJBXQ','fire','846287eCGhCq','create','document','model','get','ready','createRoot','_ui','initPlugins','destroy','8960VoSsJv'];_0x30c1=function(){return _0x3fadb3;};return _0x30c1();}(function(_0x4e9550,_0x69c8){const _0x358a82=_0x46d5,_0x1a9045=_0x4e9550();while(!![]){try{const _0x26fa38=parseInt(_0x358a82(0x111))/0x1+parseInt(_0x358a82(0x10b))/0x2+-parseInt(_0x358a82(0x11d))/0x3*(parseInt(_0x358a82(0x120))/0x4)+parseInt(_0x358a82(0x123))/0x5*(parseInt(_0x358a82(0x122))/0x6)+-parseInt(_0x358a82(0x10f))/0x7+-parseInt(_0x358a82(0x11b))/0x8*(-parseInt(_0x358a82(0x10d))/0x9)+-parseInt(_0x358a82(0x124))/0xa;if(_0x26fa38===_0x69c8)break;else _0x1a9045['push'](_0x1a9045['shift']());}catch(_0x545bc4){_0x1a9045['push'](_0x1a9045['shift']());}}}(_0x30c1,0xcae64));import{Editor as _0x3115d2,ElementApiMixin as _0x15d312}from'ckeditor5/src/core.js';import{RevisionViewerEditorUI as _0x4a72fb}from'./revisionviewereditorui.js';import{RevisionViewerEditorUIView as _0x5ec9ab}from'./revisionviewereditoruiview.js';export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
24
+ _0x15d312(_0x3115d2){[_0x39b42c(0x118)];get['ui'](){const _0x3df425=_0x39b42c;return this[_0x3df425(0x118)];}constructor(_0x5a810c,_0x3faebc){const _0x58942d=_0x39b42c;super(_0x3faebc),this[_0x58942d(0x10c)]=_0x5a810c,this[_0x58942d(0x114)][_0x58942d(0x113)][_0x58942d(0x117)]();const _0x22c176=new _0x5ec9ab(this[_0x58942d(0x121)],this[_0x58942d(0x109)][_0x58942d(0x11f)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x58942d(0x118)]=new _0x4a72fb(this,_0x22c176);}[_0x39b42c(0x11a)](){const _0x5a4f46=_0x39b42c;return this[_0x5a4f46(0x125)](),this['ui'][_0x5a4f46(0x11a)](),super[_0x5a4f46(0x11a)]();}static async[_0x39b42c(0x112)](_0xe7f1d7,_0x511869){const _0x19bd39=_0x39b42c,_0x53e714=new this(_0xe7f1d7,_0x511869);return await _0x53e714[_0x19bd39(0x119)](),await _0x53e714['ui'][_0x19bd39(0x10e)](_0xe7f1d7),await _0x53e714[_0x19bd39(0x10a)][_0x19bd39(0x10e)](_0x53e714[_0x19bd39(0x11c)][_0x19bd39(0x115)](_0x19bd39(0x11e))||''),_0x53e714[_0x19bd39(0x110)](_0x19bd39(0x116)),_0x53e714;}}
@@ -7,8 +7,8 @@
7
7
  */
8
8
  import type { Editor } from 'ckeditor5/src/core.js';
9
9
  import { EditorUI } from 'ckeditor5/src/ui.js';
10
- import type RevisionViewerEditorUIView from './revisionviewereditoruiview.js';
11
- export default class RevisionViewerEditorUI extends EditorUI {
10
+ import { type RevisionViewerEditorUIView } from './revisionviewereditoruiview.js';
11
+ export declare class RevisionViewerEditorUI extends EditorUI {
12
12
  get view(): RevisionViewerEditorUIView;
13
13
  constructor(editor: Editor, view: RevisionViewerEditorUIView);
14
14
  /**
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cff2b=_0x4582;(function(_0x4490a5,_0x8f1a22){const _0x132d5f=_0x4582,_0x5ce76f=_0x4490a5();while(!![]){try{const _0x535cde=parseInt(_0x132d5f(0x85))/0x1*(-parseInt(_0x132d5f(0x8b))/0x2)+parseInt(_0x132d5f(0x95))/0x3*(parseInt(_0x132d5f(0x6f))/0x4)+-parseInt(_0x132d5f(0x8d))/0x5+-parseInt(_0x132d5f(0x6e))/0x6*(parseInt(_0x132d5f(0x65))/0x7)+parseInt(_0x132d5f(0x92))/0x8*(-parseInt(_0x132d5f(0x7b))/0x9)+-parseInt(_0x132d5f(0x6b))/0xa+parseInt(_0x132d5f(0x83))/0xb*(parseInt(_0x132d5f(0x79))/0xc);if(_0x535cde===_0x8f1a22)break;else _0x5ce76f['push'](_0x5ce76f['shift']());}catch(_0x1e7cb9){_0x5ce76f['push'](_0x5ce76f['shift']());}}}(_0x5bd1,0xb8383));import{EditorUI as _0x297a76,normalizeToolbarConfig as _0x1715e2}from'ckeditor5/src/ui.js';function _0x5bd1(){const _0x4d2289=['302790jLMFfU','175ztshyt','get','_toolbarConfig','restore','componentFactory','render','3884860zOwsOC','view','limiterElement','327570UpkXdo','40OglXCE','focusTracker','detachDomRoot','name','addToolbar','viewportTopOffset','fillFromConfig','fire','bind','viewportOffset','44554872tQqEFX','ready','4950cUSssf','rootName','replace','element','destroy','config','isFocused','attachDomRoot','11vNjjNJ','toolbar','113IFusWm','_initToolbar','_view','setEditableElement','editor','init','12898OqYTcX','getRoot','4908725BItPTn','editable','isActive','_elementReplacer','stickyPanel','7328jqFjzr','editing','document'];_0x5bd1=function(){return _0x4d2289;};return _0x5bd1();}function _0x4582(_0x2536f5,_0xd282d5){const _0x5bd19e=_0x5bd1();return _0x4582=function(_0x4582da,_0x442bde){_0x4582da=_0x4582da-0x65;let _0x941ec1=_0x5bd19e[_0x4582da];return _0x941ec1;},_0x4582(_0x2536f5,_0xd282d5);}import{ElementReplacer as _0x4b6b47}from'ckeditor5/src/utils.js';export default class tt extends _0x297a76{[_0x2cff2b(0x87)];[_0x2cff2b(0x67)];[_0x2cff2b(0x90)];get[_0x2cff2b(0x6c)](){const _0x141e7c=_0x2cff2b;return this[_0x141e7c(0x87)];}constructor(_0x5697e7,_0x4dd673){const _0x3c16c7=_0x2cff2b;super(_0x5697e7),this[_0x3c16c7(0x87)]=_0x4dd673,this[_0x3c16c7(0x67)]=_0x1715e2(_0x5697e7[_0x3c16c7(0x80)][_0x3c16c7(0x66)](_0x3c16c7(0x84))),this[_0x3c16c7(0x90)]=new _0x4b6b47();}get[_0x2cff2b(0x7e)](){const _0x56d23e=_0x2cff2b;return this[_0x56d23e(0x6c)][_0x56d23e(0x7e)];}[_0x2cff2b(0x8a)](_0x2c1aba){const _0x5285bb=_0x2cff2b,_0x543876=this[_0x5285bb(0x89)],_0x2ee2f0=this[_0x5285bb(0x6c)],_0x1a988d=_0x543876[_0x5285bb(0x93)][_0x5285bb(0x6c)],_0x2fad6c=_0x2ee2f0[_0x5285bb(0x8e)],_0x3a46a4=_0x1a988d[_0x5285bb(0x94)][_0x5285bb(0x8c)]();_0x2fad6c[_0x5285bb(0x72)]=_0x3a46a4[_0x5285bb(0x7c)],_0x2ee2f0[_0x5285bb(0x6a)]();const _0x42da9c=_0x2fad6c[_0x5285bb(0x7e)];this[_0x5285bb(0x88)](_0x2fad6c[_0x5285bb(0x72)],_0x42da9c),_0x2ee2f0[_0x5285bb(0x8e)][_0x5285bb(0x77)](_0x5285bb(0x81))['to'](this[_0x5285bb(0x70)]),_0x1a988d[_0x5285bb(0x82)](_0x42da9c),this[_0x5285bb(0x90)][_0x5285bb(0x7d)](_0x2c1aba,this[_0x5285bb(0x7e)]),this[_0x5285bb(0x86)](),this[_0x5285bb(0x76)](_0x5285bb(0x7a));}[_0x2cff2b(0x7f)](){const _0x5dc92a=_0x2cff2b;super[_0x5dc92a(0x7f)]();const _0x13084f=this[_0x5dc92a(0x6c)],_0xd13988=this[_0x5dc92a(0x89)][_0x5dc92a(0x93)][_0x5dc92a(0x6c)];this[_0x5dc92a(0x90)][_0x5dc92a(0x68)](),_0xd13988[_0x5dc92a(0x71)](_0x13084f[_0x5dc92a(0x8e)][_0x5dc92a(0x72)]),_0x13084f[_0x5dc92a(0x7f)]();}[_0x2cff2b(0x86)](){const _0x344074=_0x2cff2b,_0x3db00f=this[_0x344074(0x6c)];_0x3db00f[_0x344074(0x91)][_0x344074(0x77)](_0x344074(0x8f))['to'](this[_0x344074(0x70)],_0x344074(0x81)),_0x3db00f[_0x344074(0x91)][_0x344074(0x6d)]=_0x3db00f[_0x344074(0x7e)],_0x3db00f[_0x344074(0x91)][_0x344074(0x77)](_0x344074(0x74))['to'](this,_0x344074(0x78),({top:_0x23cb15})=>_0x23cb15),_0x3db00f[_0x344074(0x84)][_0x344074(0x75)](this[_0x344074(0x67)],this[_0x344074(0x69)]),this[_0x344074(0x73)](_0x3db00f[_0x344074(0x84)]);}}
23
+ const _0x301487=_0x4265;function _0x4265(_0x4754e4,_0x37a34e){const _0x12ceb9=_0x12ce();return _0x4265=function(_0x4265d7,_0x4e27c0){_0x4265d7=_0x4265d7-0x82;let _0x3277e4=_0x12ceb9[_0x4265d7];return _0x3277e4;},_0x4265(_0x4754e4,_0x37a34e);}function _0x12ce(){const _0x509316=['setEditableElement','6380eOTDGW','view','editable','fillFromConfig','focusTracker','config','replace','document','bind','init','isFocused','_initToolbar','get','45537vNMlxp','restore','rootName','addToolbar','render','destroy','editor','getRoot','viewportOffset','fire','limiterElement','componentFactory','detachDomRoot','name','stickyPanel','isActive','element','3829780AvAKuk','153518CwHKaZ','_elementReplacer','_view','attachDomRoot','viewportTopOffset','32TKGxWj','97135GPELwa','78vXsjTN','106542Oovkzw','ready','40GcZxRS','_toolbarConfig','300055UqCXCD','toolbar','editing'];_0x12ce=function(){return _0x509316;};return _0x12ce();}(function(_0x440fa9,_0x19386a){const _0x24e43e=_0x4265,_0x245487=_0x440fa9();while(!![]){try{const _0xde8bcf=parseInt(_0x24e43e(0x8f))/0x1+parseInt(_0x24e43e(0x9f))/0x2+-parseInt(_0x24e43e(0xac))/0x3*(-parseInt(_0x24e43e(0x94))/0x4)+-parseInt(_0x24e43e(0x95))/0x5*(-parseInt(_0x24e43e(0x96))/0x6)+parseInt(_0x24e43e(0x9b))/0x7+parseInt(_0x24e43e(0x99))/0x8*(-parseInt(_0x24e43e(0x97))/0x9)+-parseInt(_0x24e43e(0x8e))/0xa;if(_0xde8bcf===_0x19386a)break;else _0x245487['push'](_0x245487['shift']());}catch(_0x45639c){_0x245487['push'](_0x245487['shift']());}}}(_0x12ce,0x2013c));import{EditorUI as _0x4d78a5,normalizeToolbarConfig as _0x3fe121}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x5ee8df}from'ckeditor5/src/utils.js';export class RevisionViewerEditorUI extends _0x4d78a5{[_0x301487(0x91)];[_0x301487(0x9a)];[_0x301487(0x90)];get[_0x301487(0xa0)](){const _0x349b3e=_0x301487;return this[_0x349b3e(0x91)];}constructor(_0x27243a,_0x266bb8){const _0x409e8e=_0x301487;super(_0x27243a),this[_0x409e8e(0x91)]=_0x266bb8,this[_0x409e8e(0x9a)]=_0x3fe121(_0x27243a[_0x409e8e(0xa4)][_0x409e8e(0xab)](_0x409e8e(0x9c))),this[_0x409e8e(0x90)]=new _0x5ee8df();}get[_0x301487(0x8d)](){const _0xc83da5=_0x301487;return this[_0xc83da5(0xa0)][_0xc83da5(0x8d)];}[_0x301487(0xa8)](_0x5e6f93){const _0x3b8ed1=_0x301487,_0xdd7593=this[_0x3b8ed1(0x83)],_0x4f5ca7=this[_0x3b8ed1(0xa0)],_0x3e8a75=_0xdd7593[_0x3b8ed1(0x9d)][_0x3b8ed1(0xa0)],_0x4ead29=_0x4f5ca7[_0x3b8ed1(0xa1)],_0x301400=_0x3e8a75[_0x3b8ed1(0xa6)][_0x3b8ed1(0x84)]();_0x4ead29[_0x3b8ed1(0x8a)]=_0x301400[_0x3b8ed1(0xae)],_0x4f5ca7[_0x3b8ed1(0xb0)]();const _0x38ccab=_0x4ead29[_0x3b8ed1(0x8d)];this[_0x3b8ed1(0x9e)](_0x4ead29[_0x3b8ed1(0x8a)],_0x38ccab),_0x4f5ca7[_0x3b8ed1(0xa1)][_0x3b8ed1(0xa7)](_0x3b8ed1(0xa9))['to'](this[_0x3b8ed1(0xa3)]),_0x3e8a75[_0x3b8ed1(0x92)](_0x38ccab),this[_0x3b8ed1(0x90)][_0x3b8ed1(0xa5)](_0x5e6f93,this[_0x3b8ed1(0x8d)]),this[_0x3b8ed1(0xaa)](),this[_0x3b8ed1(0x86)](_0x3b8ed1(0x98));}[_0x301487(0x82)](){const _0x5607ff=_0x301487;super[_0x5607ff(0x82)]();const _0xf3ed38=this[_0x5607ff(0xa0)],_0x510a21=this[_0x5607ff(0x83)][_0x5607ff(0x9d)][_0x5607ff(0xa0)];this[_0x5607ff(0x90)][_0x5607ff(0xad)](),_0x510a21[_0x5607ff(0x89)](_0xf3ed38[_0x5607ff(0xa1)][_0x5607ff(0x8a)]),_0xf3ed38[_0x5607ff(0x82)]();}[_0x301487(0xaa)](){const _0x5af51b=_0x301487,_0x2710ba=this[_0x5af51b(0xa0)];_0x2710ba[_0x5af51b(0x8b)][_0x5af51b(0xa7)](_0x5af51b(0x8c))['to'](this[_0x5af51b(0xa3)],_0x5af51b(0xa9)),_0x2710ba[_0x5af51b(0x8b)][_0x5af51b(0x87)]=_0x2710ba[_0x5af51b(0x8d)],_0x2710ba[_0x5af51b(0x8b)][_0x5af51b(0xa7)](_0x5af51b(0x93))['to'](this,_0x5af51b(0x85),({top:_0x49a537})=>_0x49a537),_0x2710ba[_0x5af51b(0x9c)][_0x5af51b(0xa2)](this[_0x5af51b(0x9a)],this[_0x5af51b(0x88)]),this[_0x5af51b(0xaf)](_0x2710ba[_0x5af51b(0x9c)]);}}
@@ -9,7 +9,7 @@ import { BoxedEditorUIView, InlineEditableUIView, StickyPanelView, ToolbarView }
9
9
  import type { EditingView } from 'ckeditor5/src/engine.js';
10
10
  import type { Locale } from 'ckeditor5/src/utils.js';
11
11
  import '@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';
12
- export default class RevisionViewerEditorUIView extends BoxedEditorUIView {
12
+ export declare class RevisionViewerEditorUIView extends BoxedEditorUIView {
13
13
  /**
14
14
  * Sticky panel view instance. This is a parent view of a {@link #toolbar}
15
15
  * that makes toolbar sticky.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x253553=_0x2781;function _0x2781(_0x5219cf,_0x5990dc){var _0x463575=_0x4635();return _0x2781=function(_0x2781fa,_0x1b38b7){_0x2781fa=_0x2781fa-0x13c;var _0x248263=_0x463575[_0x2781fa];return _0x248263;},_0x2781(_0x5219cf,_0x5990dc);}(function(_0x5bb8cb,_0x19a5dc){var _0x560344=_0x2781,_0x458a8b=_0x5bb8cb();while(!![]){try{var _0x151a3d=-parseInt(_0x560344(0x152))/0x1+parseInt(_0x560344(0x13e))/0x2*(-parseInt(_0x560344(0x144))/0x3)+parseInt(_0x560344(0x14c))/0x4*(-parseInt(_0x560344(0x13c))/0x5)+-parseInt(_0x560344(0x140))/0x6*(parseInt(_0x560344(0x145))/0x7)+-parseInt(_0x560344(0x150))/0x8*(parseInt(_0x560344(0x148))/0x9)+-parseInt(_0x560344(0x13f))/0xa*(-parseInt(_0x560344(0x14b))/0xb)+-parseInt(_0x560344(0x146))/0xc*(-parseInt(_0x560344(0x147))/0xd);if(_0x151a3d===_0x19a5dc)break;else _0x458a8b['push'](_0x458a8b['shift']());}catch(_0xf02629){_0x458a8b['push'](_0x458a8b['shift']());}}}(_0x4635,0x1d70b));import{BoxedEditorUIView as _0x58f621,InlineEditableUIView as _0x25a6df,StickyPanelView as _0x14b5b2,ToolbarView as _0x19b1ec}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';function _0x4635(){var _0x577574=['content','shouldToolbarGroupWhenFull','3UukohH','939568VDsVEb','12dGtUzs','7365423TovGtx','18RMxHmK','add','main','11MuPZnm','32VllVAd','top','_editable','toolbar','26536AnqtTd','stickyPanel','164950TMufft','85535lNDBrg','render','57686RNDhqm','255230WccPvL','6WpIVvJ','editable'];_0x4635=function(){return _0x577574;};return _0x4635();}export default class it extends _0x58f621{[_0x253553(0x14e)];[_0x253553(0x151)];[_0x253553(0x14f)];get[_0x253553(0x141)](){var _0x5da8f0=_0x253553;return this[_0x5da8f0(0x14e)];}constructor(_0x58bde9,_0x331ad7,_0x282cf8={}){var _0x2dab2a=_0x253553;super(_0x58bde9),this[_0x2dab2a(0x151)]=new _0x14b5b2(_0x58bde9),this[_0x2dab2a(0x14f)]=new _0x19b1ec(_0x58bde9,{'shouldGroupWhenFull':_0x282cf8[_0x2dab2a(0x143)]}),this[_0x2dab2a(0x14e)]=new _0x25a6df(_0x58bde9,_0x331ad7);}[_0x253553(0x13d)](){var _0x5ea892=_0x253553;super[_0x5ea892(0x13d)](),this[_0x5ea892(0x151)][_0x5ea892(0x142)][_0x5ea892(0x149)](this[_0x5ea892(0x14f)]),this[_0x5ea892(0x14d)][_0x5ea892(0x149)](this[_0x5ea892(0x151)]),this[_0x5ea892(0x14a)][_0x5ea892(0x149)](this[_0x5ea892(0x141)]);}}
23
+ var _0x1a0b20=_0x5cda;(function(_0x498dd8,_0x330ca2){var _0xa8ac98=_0x5cda,_0x4167f6=_0x498dd8();while(!![]){try{var _0x15ea63=parseInt(_0xa8ac98(0xb7))/0x1+-parseInt(_0xa8ac98(0xb8))/0x2*(parseInt(_0xa8ac98(0xbd))/0x3)+-parseInt(_0xa8ac98(0xae))/0x4*(parseInt(_0xa8ac98(0xaf))/0x5)+-parseInt(_0xa8ac98(0xb0))/0x6+parseInt(_0xa8ac98(0xb1))/0x7+parseInt(_0xa8ac98(0xba))/0x8+parseInt(_0xa8ac98(0xb5))/0x9;if(_0x15ea63===_0x330ca2)break;else _0x4167f6['push'](_0x4167f6['shift']());}catch(_0x482616){_0x4167f6['push'](_0x4167f6['shift']());}}}(_0x496c,0x90806));import{BoxedEditorUIView as _0x2dcabe,InlineEditableUIView as _0x4f52ae,StickyPanelView as _0x4491b4,ToolbarView as _0x451a5b}from'ckeditor5/src/ui.js';function _0x496c(){var _0x2c4443=['main','9397953lIZWCY','stickyPanel','623033lHdhhE','775870QpYnHq','_editable','8361936mRLCFW','top','shouldToolbarGroupWhenFull','9JpiZgm','content','editable','render','2278832pFVAEA','10NXfFqs','4387422HnvZPq','6396908MTvYUU','toolbar','add'];_0x496c=function(){return _0x2c4443;};return _0x496c();}function _0x5cda(_0x3ea36e,_0x218f54){var _0x496c72=_0x496c();return _0x5cda=function(_0x5cdaf0,_0x1c162e){_0x5cdaf0=_0x5cdaf0-0xac;var _0x3c2900=_0x496c72[_0x5cdaf0];return _0x3c2900;},_0x5cda(_0x3ea36e,_0x218f54);}import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export class RevisionViewerEditorUIView extends _0x2dcabe{[_0x1a0b20(0xb9)];[_0x1a0b20(0xb6)];[_0x1a0b20(0xb2)];get[_0x1a0b20(0xac)](){var _0x4123a5=_0x1a0b20;return this[_0x4123a5(0xb9)];}constructor(_0x4570c5,_0x1635c6,_0x19eaff={}){var _0x7e2d9b=_0x1a0b20;super(_0x4570c5),this[_0x7e2d9b(0xb6)]=new _0x4491b4(_0x4570c5),this[_0x7e2d9b(0xb2)]=new _0x451a5b(_0x4570c5,{'shouldGroupWhenFull':_0x19eaff[_0x7e2d9b(0xbc)]}),this[_0x7e2d9b(0xb9)]=new _0x4f52ae(_0x4570c5,_0x1635c6);}[_0x1a0b20(0xad)](){var _0x57b426=_0x1a0b20;super[_0x57b426(0xad)](),this[_0x57b426(0xb6)][_0x57b426(0xbe)][_0x57b426(0xb3)](this[_0x57b426(0xb2)]),this[_0x57b426(0xbb)][_0x57b426(0xb3)](this[_0x57b426(0xb6)]),this[_0x57b426(0xb4)][_0x57b426(0xb3)](this[_0x57b426(0xac)]);}}
package/src/index.d.ts CHANGED
@@ -2,17 +2,20 @@
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
- export { default as Revision } from './revision.js';
6
- export { default as RevisionHistory } from './revisionhistory.js';
7
- export { default as RevisionsRepository } from './revisionsrepository.js';
8
- export { default as RevisionHistoryUtils } from './revisionhistoryutils.js';
9
- export { default as RevisionViewerLoadingOverlay } from './ui/revisionviewer/revisionviewerloadingoverlay.js';
10
- export { default as RevisionHistoryUI } from './ui/revisionhistory/revisionhistoryui.js';
11
- export { default as RevisionTracker } from './revisiontracker.js';
12
- export { default as RevisionViewer, type RestoreRevisionCommand, type ShowChangeCommand } from './revisionviewer.js';
13
- export { default as RevisionsSidebar } from './ui/revisionssidebar/revisionssidebar.js';
14
- export { default as RevisionViewerUI } from './ui/revisionviewer/revisionviewerui.js';
15
- export { default as RevisionViewerEditor } from './editor/revisionviewereditor.js';
5
+ export { Revision, type RevisionUpdateEvent, type RevisionJSON } from './revision.js';
6
+ export { RevisionHistory } from './revisionhistory.js';
7
+ export { RevisionsRepository } from './revisionsrepository.js';
8
+ export { RevisionHistoryUtils } from './revisionhistoryutils.js';
9
+ export { RevisionViewerLoadingOverlay } from './ui/revisionviewer/revisionviewerloadingoverlay.js';
10
+ export { RevisionHistoryUI } from './ui/revisionhistory/revisionhistoryui.js';
11
+ export { RevisionTracker } from './revisiontracker.js';
12
+ export { RevisionViewer, RestoreRevisionCommand, ShowChangeCommand } from './revisionviewer.js';
13
+ export { RevisionsSidebar } from './ui/revisionssidebar/revisionssidebar.js';
14
+ export { RevisionViewerUI } from './ui/revisionviewer/revisionviewerui.js';
15
+ export { RevisionViewerEditor } from './editor/revisionviewereditor.js';
16
16
  export type { RevisionData } from './revision.js';
17
17
  export type { RevisionHistoryConfig } from './revisionhistoryconfig.js';
18
+ export type { RevisionSource as _RevisionHistoryRevisionSource } from './revisiontracker.js';
19
+ export type { RevisionViewerIntegration, TapeValue as _RevisionHistoryTapeValue, TapeItem as _RevisionHistoryTapeItem } from './revisionhistory.js';
20
+ export type { RevisionHistoryAdapter } from './revisionhistoryadapter.js';
18
21
  import './augmentation.js';
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x26e431,_0x5c1eae){var _0x5b35a0=_0xb75a,_0x2d31c5=_0x26e431();while(!![]){try{var _0x1b7080=parseInt(_0x5b35a0(0x16d))/0x1*(parseInt(_0x5b35a0(0x172))/0x2)+parseInt(_0x5b35a0(0x171))/0x3*(-parseInt(_0x5b35a0(0x16a))/0x4)+parseInt(_0x5b35a0(0x16e))/0x5*(parseInt(_0x5b35a0(0x16f))/0x6)+-parseInt(_0x5b35a0(0x16c))/0x7*(parseInt(_0x5b35a0(0x170))/0x8)+-parseInt(_0x5b35a0(0x167))/0x9+parseInt(_0x5b35a0(0x168))/0xa+parseInt(_0x5b35a0(0x16b))/0xb*(parseInt(_0x5b35a0(0x169))/0xc);if(_0x1b7080===_0x5c1eae)break;else _0x2d31c5['push'](_0x2d31c5['shift']());}catch(_0x324c6f){_0x2d31c5['push'](_0x2d31c5['shift']());}}}(_0x43d6,0xd1a86));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';function _0xb75a(_0x4cc277,_0x2c03da){var _0x43d63c=_0x43d6();return _0xb75a=function(_0xb75a8b,_0x1b2627){_0xb75a8b=_0xb75a8b-0x167;var _0x4dbe67=_0x43d63c[_0xb75a8b];return _0x4dbe67;},_0xb75a(_0x4cc277,_0x2c03da);}export{default as RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';function _0x43d6(){var _0x25696f=['1243AhTWnN','2387tVeUMj','23387TxcAee','5kOccoR','1001082OYulqU','37456dfNVEW','4448454slHLZO','26OtXgVq','8211402GbaVEs','12008350codRTe','337572dWXEqP','4CEnjIZ'];_0x43d6=function(){return _0x25696f;};return _0x43d6();}export{default as RevisionTracker}from'./revisiontracker.js';export{default as RevisionViewer}from'./revisionviewer.js';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';
23
+ (function(_0x5b4990,_0x1cae43){var _0x558b08=_0x512e,_0x4067f0=_0x5b4990();while(!![]){try{var _0x5ae12e=-parseInt(_0x558b08(0xe6))/0x1+-parseInt(_0x558b08(0xe3))/0x2+-parseInt(_0x558b08(0xe1))/0x3*(parseInt(_0x558b08(0xe4))/0x4)+parseInt(_0x558b08(0xe2))/0x5+-parseInt(_0x558b08(0xe0))/0x6*(-parseInt(_0x558b08(0xde))/0x7)+-parseInt(_0x558b08(0xdf))/0x8+parseInt(_0x558b08(0xe5))/0x9;if(_0x5ae12e===_0x1cae43)break;else _0x4067f0['push'](_0x4067f0['shift']());}catch(_0x4ee31b){_0x4067f0['push'](_0x4067f0['shift']());}}}(_0x2591,0xe9998));export{Revision}from'./revision.js';export{RevisionHistory}from'./revisionhistory.js';export{RevisionsRepository}from'./revisionsrepository.js';export{RevisionHistoryUtils}from'./revisionhistoryutils.js';export{RevisionViewerLoadingOverlay}from'./ui/revisionviewer/revisionviewerloadingoverlay.js';export{RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';export{RevisionTracker}from'./revisiontracker.js';function _0x2591(){var _0xdb71e2=['57169DMDeKA','13196256jTThYK','1146YVWaWJ','258AvbXbr','7715600qfWBQx','1325568OTUCsc','62092AsUPjY','30110571Vvbjge','1844518dDoSEH'];_0x2591=function(){return _0xdb71e2;};return _0x2591();}export{RevisionViewer,RestoreRevisionCommand,ShowChangeCommand}from'./revisionviewer.js';function _0x512e(_0x3e6eb3,_0x513bcd){var _0x259194=_0x2591();return _0x512e=function(_0x512e94,_0x2291ac){_0x512e94=_0x512e94-0xde;var _0x1f50f0=_0x259194[_0x512e94];return _0x1f50f0;},_0x512e(_0x3e6eb3,_0x513bcd);}export{RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';export{RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';export{RevisionViewerEditor}from'./editor/revisionviewereditor.js';import'./augmentation.js';
package/src/revision.d.ts CHANGED
@@ -10,7 +10,7 @@ declare const Revision_base: {
10
10
  /**
11
11
  * Represents a revision.
12
12
  */
13
- export default class Revision extends /* #__PURE__ -- @preserve */ Revision_base {
13
+ export declare class Revision extends /* #__PURE__ -- @preserve */ Revision_base {
14
14
  /**
15
15
  * Unique revision id.
16
16
  */
package/src/revision.js CHANGED
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x459e0a=_0xc8b1;(function(_0x3de917,_0x1ebdcf){const _0x5928ce=_0xc8b1,_0x29cdda=_0x3de917();while(!![]){try{const _0x55929d=-parseInt(_0x5928ce(0x129))/0x1*(parseInt(_0x5928ce(0x131))/0x2)+-parseInt(_0x5928ce(0x13c))/0x3+parseInt(_0x5928ce(0x135))/0x4*(-parseInt(_0x5928ce(0x137))/0x5)+-parseInt(_0x5928ce(0x12c))/0x6+parseInt(_0x5928ce(0x13d))/0x7*(-parseInt(_0x5928ce(0x12f))/0x8)+parseInt(_0x5928ce(0x122))/0x9*(parseInt(_0x5928ce(0x124))/0xa)+-parseInt(_0x5928ce(0x13b))/0xb*(-parseInt(_0x5928ce(0x139))/0xc);if(_0x55929d===_0x1ebdcf)break;else _0x29cdda['push'](_0x29cdda['shift']());}catch(_0x18d76e){_0x29cdda['push'](_0x29cdda['shift']());}}}(_0x32c7,0x25e3f));import{ObservableMixin as _0x1059b6,uid as _0x52f689}from'ckeditor5/src/utils.js';import{cloneDeep as _0x34b689,set as _0x4132ee,unset as _0x2f912d}from'es-toolkit/compat';function _0xc8b1(_0x1be95a,_0x37755e){const _0x32c7d5=_0x32c7();return _0xc8b1=function(_0xc8b151,_0x1729b9){_0xc8b151=_0xc8b151-0x122;let _0x85c0d8=_0x32c7d5[_0xc8b151];return _0x85c0d8;},_0xc8b1(_0x1be95a,_0x37755e);}export default class h extends/* #__PURE__ -- @preserve */
24
- _0x1059b6(){['id'];[_0x459e0a(0x134)];[_0x459e0a(0x140)];[_0x459e0a(0x130)];[_0x459e0a(0x12d)];[_0x459e0a(0x12b)];[_0x459e0a(0x125)];constructor(_0x3654d4){const _0x44440e=_0x459e0a;super(),this['id']=_0x3654d4['id']||_0x52f689(),this[_0x44440e(0x134)]=_0x3654d4[_0x44440e(0x134)]||null,this[_0x44440e(0x140)]=_0x3654d4[_0x44440e(0x140)]||[],this[_0x44440e(0x130)]=_0x3654d4[_0x44440e(0x130)]||null,this[_0x44440e(0x12d)]=_0x3654d4[_0x44440e(0x12d)]||0x0,this[_0x44440e(0x12b)]=_0x3654d4[_0x44440e(0x12b)]||0x0,this[_0x44440e(0x13a)](_0x44440e(0x132),_0x3654d4[_0x44440e(0x132)]||''),this[_0x44440e(0x13a)](_0x44440e(0x136),_0x3654d4[_0x44440e(0x136)]||new Date()),this[_0x44440e(0x13a)](_0x44440e(0x128),_0x3654d4[_0x44440e(0x128)]||{});}[_0x459e0a(0x12a)](_0x1acbfe){const _0x56be4c=_0x459e0a;this[_0x56be4c(0x12e)]({'name':_0x1acbfe});}[_0x459e0a(0x13f)](_0x19c298,_0x4c7b63){const _0x1b8bb8=_0x459e0a,_0x5ecb10=_0x34b689(this[_0x1b8bb8(0x128)]);_0x4132ee(_0x5ecb10,_0x19c298,_0x4c7b63),this[_0x1b8bb8(0x12e)]({'attributes':_0x5ecb10});}[_0x459e0a(0x133)](_0x2dd0fb){const _0x3ae3e5=_0x459e0a,_0x5338b3=_0x34b689(this[_0x3ae3e5(0x128)]);_0x2f912d(_0x5338b3,_0x2dd0fb),this[_0x3ae3e5(0x12e)]({'attributes':_0x5338b3});}[_0x459e0a(0x12e)](_0xa65ff6,_0x1ff419=!0x1){const _0xfe2376=_0x459e0a;let _0x3d3361=!0x1;const _0x4bef00={'id':this['id']},_0x176b54=[_0xfe2376(0x132),_0xfe2376(0x136),_0xfe2376(0x130),_0xfe2376(0x140),_0xfe2376(0x128),_0xfe2376(0x12d),_0xfe2376(0x12b),_0xfe2376(0x13e)];for(const _0x17ef67 of _0x176b54){const _0x37426=_0xa65ff6[_0x17ef67];void 0x0!==_0x37426&&_0x37426!==this[_0x17ef67]&&(this[_0x17ef67]=_0x37426,_0x4bef00[_0x17ef67]=_0x37426,_0x3d3361=!0x0);}_0x3d3361&&(_0x4bef00[_0xfe2376(0x140)]&&(_0x4bef00[_0xfe2376(0x123)]=_0x4bef00[_0xfe2376(0x140)][_0xfe2376(0x127)](_0x57185a=>_0x57185a['id']),delete _0x4bef00[_0xfe2376(0x140)]),this[_0xfe2376(0x126)](_0xfe2376(0x12e),_0x4bef00,_0x1ff419));}[_0x459e0a(0x138)](){const _0x4aa8c8=_0x459e0a;return{'id':this['id'],'name':this[_0x4aa8c8(0x132)],'creatorId':this[_0x4aa8c8(0x134)]?this[_0x4aa8c8(0x134)]['id']:null,'authorsIds':this[_0x4aa8c8(0x140)][_0x4aa8c8(0x127)](_0x6d26b4=>_0x6d26b4['id']),'diffData':this[_0x4aa8c8(0x130)],'createdAt':this[_0x4aa8c8(0x136)],'attributes':this[_0x4aa8c8(0x128)],'fromVersion':this[_0x4aa8c8(0x12b)],'toVersion':this[_0x4aa8c8(0x12d)]};}}function _0x32c7(){const _0x46f608=['138782BtmESc','name','removeAttribute','creator','52bHEICK','createdAt','44635qDHKRo','toJSON','4175664MgZnTg','set','22qtDNBJ','445317XeLiNY','314748cyWLbz','creatorId','setAttribute','authors','153DclWCv','authorsIds','73940cPyGIE','model','fire','map','attributes','1Lqmtbi','setName','fromVersion','1186020sRgOmK','toVersion','_update','24fspydg','diffData'];_0x32c7=function(){return _0x46f608;};return _0x32c7();}
23
+ function _0x1c10(){const _0x3ea370=['setName','createdAt','280nIJTda','861LpkDkY','name','authorsIds','3808674MMMpPc','attributes','creator','48GPqWXT','toJSON','_update','setAttribute','589430NzWhGJ','7639030hTiBjL','364938dbPnHy','18387jsCcog','diffData','2018947rIGsKZ','set','model','276BNmSVm','toVersion','map','creatorId','authors','fromVersion','fire','removeAttribute'];_0x1c10=function(){return _0x3ea370;};return _0x1c10();}const _0x438609=_0x5a95;(function(_0x22cc6a,_0x57930){const _0x483443=_0x5a95,_0x2c0ad4=_0x22cc6a();while(!![]){try{const _0x3aa7de=-parseInt(_0x483443(0xc7))/0x1+parseInt(_0x483443(0xcd))/0x2*(parseInt(_0x483443(0xd8))/0x3)+parseInt(_0x483443(0xde))/0x4*(parseInt(_0x483443(0xe2))/0x5)+parseInt(_0x483443(0xdb))/0x6+-parseInt(_0x483443(0xca))/0x7+parseInt(_0x483443(0xd7))/0x8*(parseInt(_0x483443(0xc8))/0x9)+-parseInt(_0x483443(0xe3))/0xa;if(_0x3aa7de===_0x57930)break;else _0x2c0ad4['push'](_0x2c0ad4['shift']());}catch(_0x463f66){_0x2c0ad4['push'](_0x2c0ad4['shift']());}}}(_0x1c10,0xb575c));import{ObservableMixin as _0x3f32df,uid as _0x557cd2}from'ckeditor5/src/utils.js';import{cloneDeep as _0x458092,set as _0x10d37d,unset as _0x5a454b}from'es-toolkit/compat';function _0x5a95(_0x2e0167,_0x1bc340){const _0x1c1036=_0x1c10();return _0x5a95=function(_0x5a95b2,_0x1365ac){_0x5a95b2=_0x5a95b2-0xc7;let _0x1d6109=_0x1c1036[_0x5a95b2];return _0x1d6109;},_0x5a95(_0x2e0167,_0x1bc340);}export class Revision extends/* #__PURE__ -- @preserve */
24
+ _0x3f32df(){['id'];[_0x438609(0xdd)];[_0x438609(0xd1)];[_0x438609(0xc9)];[_0x438609(0xce)];[_0x438609(0xd2)];[_0x438609(0xcc)];constructor(_0x3198b4){const _0x43119c=_0x438609;super(),this['id']=_0x3198b4['id']||_0x557cd2(),this[_0x43119c(0xdd)]=_0x3198b4[_0x43119c(0xdd)]||null,this[_0x43119c(0xd1)]=_0x3198b4[_0x43119c(0xd1)]||[],this[_0x43119c(0xc9)]=_0x3198b4[_0x43119c(0xc9)]||null,this[_0x43119c(0xce)]=_0x3198b4[_0x43119c(0xce)]||0x0,this[_0x43119c(0xd2)]=_0x3198b4[_0x43119c(0xd2)]||0x0,this[_0x43119c(0xcb)](_0x43119c(0xd9),_0x3198b4[_0x43119c(0xd9)]||''),this[_0x43119c(0xcb)](_0x43119c(0xd6),_0x3198b4[_0x43119c(0xd6)]||new Date()),this[_0x43119c(0xcb)](_0x43119c(0xdc),_0x3198b4[_0x43119c(0xdc)]||{});}[_0x438609(0xd5)](_0x28fd04){const _0x45c4e1=_0x438609;this[_0x45c4e1(0xe0)]({'name':_0x28fd04});}[_0x438609(0xe1)](_0x2c675c,_0x3da6da){const _0x298bd2=_0x438609,_0x330f89=_0x458092(this[_0x298bd2(0xdc)]);_0x10d37d(_0x330f89,_0x2c675c,_0x3da6da),this[_0x298bd2(0xe0)]({'attributes':_0x330f89});}[_0x438609(0xd4)](_0x523f48){const _0x33df0c=_0x438609,_0x196b30=_0x458092(this[_0x33df0c(0xdc)]);_0x5a454b(_0x196b30,_0x523f48),this[_0x33df0c(0xe0)]({'attributes':_0x196b30});}[_0x438609(0xe0)](_0x5c6258,_0x3e28f7=!0x1){const _0x3f2b24=_0x438609;let _0x4f6b4b=!0x1;const _0x51ee1a={'id':this['id']},_0x41c8a7=[_0x3f2b24(0xd9),_0x3f2b24(0xd6),_0x3f2b24(0xc9),_0x3f2b24(0xd1),_0x3f2b24(0xdc),_0x3f2b24(0xce),_0x3f2b24(0xd2),_0x3f2b24(0xd0)];for(const _0xb28c44 of _0x41c8a7){const _0x45ea35=_0x5c6258[_0xb28c44];void 0x0!==_0x45ea35&&_0x45ea35!==this[_0xb28c44]&&(this[_0xb28c44]=_0x45ea35,_0x51ee1a[_0xb28c44]=_0x45ea35,_0x4f6b4b=!0x0);}_0x4f6b4b&&(_0x51ee1a[_0x3f2b24(0xd1)]&&(_0x51ee1a[_0x3f2b24(0xda)]=_0x51ee1a[_0x3f2b24(0xd1)][_0x3f2b24(0xcf)](_0x3a5dcc=>_0x3a5dcc['id']),delete _0x51ee1a[_0x3f2b24(0xd1)]),this[_0x3f2b24(0xd3)](_0x3f2b24(0xe0),_0x51ee1a,_0x3e28f7));}[_0x438609(0xdf)](){const _0x5956a2=_0x438609;return{'id':this['id'],'name':this[_0x5956a2(0xd9)],'creatorId':this[_0x5956a2(0xdd)]?this[_0x5956a2(0xdd)]['id']:null,'authorsIds':this[_0x5956a2(0xd1)][_0x5956a2(0xcf)](_0x276717=>_0x276717['id']),'diffData':this[_0x5956a2(0xc9)],'createdAt':this[_0x5956a2(0xd6)],'attributes':this[_0x5956a2(0xdc)],'fromVersion':this[_0x5956a2(0xd2)],'toVersion':this[_0x5956a2(0xce)]};}}
@@ -6,19 +6,19 @@
6
6
  * @module revision-history/revisiondiff
7
7
  */
8
8
  import { Collection } from 'ckeditor5/src/utils.js';
9
- import type { DocumentFragment } from 'ckeditor5/src/engine.js';
10
- import type ChangeItem from './changeitem.js';
9
+ import type { ModelDocumentFragment } from 'ckeditor5/src/engine.js';
10
+ import { type ChangeItem } from './changeitem.js';
11
11
  /**
12
12
  * Represents a difference between two document revisions.
13
13
  */
14
- export default class RevisionDiff {
14
+ export declare class RevisionDiff {
15
15
  readonly newRevisionId: string;
16
16
  readonly oldRevisionId: string;
17
17
  readonly changes: Collection<ChangeItem>;
18
18
  constructor(newRevisionId: string, oldRevisionId: string);
19
19
  }
20
20
  export interface DiffData {
21
- model: Record<string, DocumentFragment>;
21
+ model: Record<string, ModelDocumentFragment>;
22
22
  attributes: Record<string, Record<string, unknown>>;
23
23
  changes: Array<ChangeItem>;
24
24
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d36af=_0x4412;(function(_0x5f2f7a,_0x922974){const _0x252728=_0x4412,_0x1d98a0=_0x5f2f7a();while(!![]){try{const _0x356a1f=-parseInt(_0x252728(0x1e7))/0x1+-parseInt(_0x252728(0x1e6))/0x2+-parseInt(_0x252728(0x1de))/0x3+parseInt(_0x252728(0x1e9))/0x4*(parseInt(_0x252728(0x1e4))/0x5)+-parseInt(_0x252728(0x1e2))/0x6*(-parseInt(_0x252728(0x1e8))/0x7)+-parseInt(_0x252728(0x1e3))/0x8*(-parseInt(_0x252728(0x1eb))/0x9)+-parseInt(_0x252728(0x1ed))/0xa*(-parseInt(_0x252728(0x1ec))/0xb);if(_0x356a1f===_0x922974)break;else _0x1d98a0['push'](_0x1d98a0['shift']());}catch(_0x5c729d){_0x1d98a0['push'](_0x1d98a0['shift']());}}}(_0x2256,0xb3aea));function _0x4412(_0x55802c,_0x386c53){const _0x225623=_0x2256();return _0x4412=function(_0x441208,_0x5034bf){_0x441208=_0x441208-0x1de;let _0x3b1c51=_0x225623[_0x441208];return _0x3b1c51;},_0x4412(_0x55802c,_0x386c53);}import{Collection as _0x45e7d2}from'ckeditor5/src/utils.js';function _0x2256(){const _0x465700=['4655EtWXEq','add','403534ssWvnj','274515sxrAWf','7WHUpWU','84uVUBEH','oldRevisionId','10705554mRurkj','1305887EnatnY','20aSeWks','2578395rqWrWV','changes','_setChanges','newRevisionId','3751404loreZE','8XbxAYo'];_0x2256=function(){return _0x465700;};return _0x2256();}export default class c{[_0x5d36af(0x1e1)];[_0x5d36af(0x1ea)];[_0x5d36af(0x1df)];constructor(_0x380122,_0x1a4571){const _0xb1ddef=_0x5d36af;this[_0xb1ddef(0x1e1)]=_0x380122,this[_0xb1ddef(0x1ea)]=_0x1a4571,this[_0xb1ddef(0x1df)]=new _0x45e7d2();}[_0x5d36af(0x1e0)](_0x4b5d15){const _0x3fb2cb=_0x5d36af;for(const _0x5518fe of _0x4b5d15)this[_0x3fb2cb(0x1df)][_0x3fb2cb(0x1e5)](_0x5518fe);}}
23
+ function _0x1784(_0x358953,_0x3d308d){const _0x162657=_0x1626();return _0x1784=function(_0x178438,_0x22da72){_0x178438=_0x178438-0x18a;let _0x544489=_0x162657[_0x178438];return _0x544489;},_0x1784(_0x358953,_0x3d308d);}const _0x51b767=_0x1784;(function(_0x594875,_0x45e5b1){const _0x18af43=_0x1784,_0x3c7012=_0x594875();while(!![]){try{const _0x5ea9a1=-parseInt(_0x18af43(0x18c))/0x1+parseInt(_0x18af43(0x193))/0x2*(parseInt(_0x18af43(0x18f))/0x3)+-parseInt(_0x18af43(0x198))/0x4+parseInt(_0x18af43(0x192))/0x5*(parseInt(_0x18af43(0x194))/0x6)+parseInt(_0x18af43(0x190))/0x7*(parseInt(_0x18af43(0x18a))/0x8)+-parseInt(_0x18af43(0x18d))/0x9*(parseInt(_0x18af43(0x19a))/0xa)+-parseInt(_0x18af43(0x196))/0xb*(-parseInt(_0x18af43(0x195))/0xc);if(_0x5ea9a1===_0x45e5b1)break;else _0x3c7012['push'](_0x3c7012['shift']());}catch(_0x1268c7){_0x3c7012['push'](_0x3c7012['shift']());}}}(_0x1626,0xda813));import{Collection as _0x1135a7}from'ckeditor5/src/utils.js';function _0x1626(){const _0x1ebda6=['11jKFrEb','oldRevisionId','4978416JbInit','newRevisionId','7930OhHIXc','8BbwdvK','_setChanges','1635239NCkjLO','11187vovlgj','changes','4492890qVduRm','6418405YjyUGC','add','10iiBMph','2fmVAXV','4420902PSmTse','10468296eqtNbe'];_0x1626=function(){return _0x1ebda6;};return _0x1626();}export class RevisionDiff{[_0x51b767(0x199)];[_0x51b767(0x197)];[_0x51b767(0x18e)];constructor(_0x5116db,_0x4bea9c){const _0x56e16b=_0x51b767;this[_0x56e16b(0x199)]=_0x5116db,this[_0x56e16b(0x197)]=_0x4bea9c,this[_0x56e16b(0x18e)]=new _0x1135a7();}[_0x51b767(0x18b)](_0x5e81aa){const _0xd5117c=_0x51b767;for(const _0x1aa0e2 of _0x5e81aa)this[_0xd5117c(0x18e)][_0xd5117c(0x191)](_0x1aa0e2);}}
@@ -7,10 +7,9 @@
7
7
  * @publicApi
8
8
  */
9
9
  import { Plugin, type Editor } from 'ckeditor5/src/core.js';
10
- import type { Item, Position } from 'ckeditor5/src/engine.js';
11
- import RevisionTracker from './revisiontracker.js';
12
- import RevisionHistoryUI from './ui/revisionhistory/revisionhistoryui.js';
13
- import type { default as Revision, RevisionJSON } from './revision.js';
10
+ import { RevisionTracker } from './revisiontracker.js';
11
+ import { RevisionHistoryUI } from './ui/revisionhistory/revisionhistoryui.js';
12
+ import type { Revision, RevisionJSON } from './revision.js';
14
13
  import type { RevisionHistoryAdapter } from './revisionhistoryadapter.js';
15
14
  /**
16
15
  * Fake plugin to avoid UBB requests from virtual editor.
@@ -37,7 +36,7 @@ export declare class RevisionViewerIntegration extends Plugin {
37
36
  * To learn more about the revision history feature refer to the
38
37
  * {@glink features/collaboration/revision-history/revision-history Revision history} guide.
39
38
  */
40
- export default class RevisionHistory extends Plugin {
39
+ export declare class RevisionHistory extends Plugin {
41
40
  /**
42
41
  * Indicates whether the revision history viewer is currently visible.
43
42
  *
@@ -92,39 +91,3 @@ export default class RevisionHistory extends Plugin {
92
91
  toJSON: boolean;
93
92
  }): Array<Revision> | Array<RevisionJSON>;
94
93
  }
95
- export interface TapeValue {
96
- id?: number;
97
- type: 'elementStart' | 'elementEnd' | 'text';
98
- item: TapeItem;
99
- previousPosition?: Position;
100
- nextPosition?: Position;
101
- isAdded?: {
102
- userId: string;
103
- } | false;
104
- isRemoved?: {
105
- userId: string;
106
- };
107
- pairId?: number | null;
108
- markersStart?: Array<string>;
109
- markersEnd?: Array<string>;
110
- isIncorrect?: boolean;
111
- distance?: number;
112
- isAddSuggestion?: {
113
- userId: string;
114
- type: string;
115
- name: string;
116
- };
117
- isRemoveSuggestion?: {
118
- userId: string;
119
- type: string;
120
- name: string;
121
- };
122
- side?: number;
123
- level?: number;
124
- index?: number;
125
- }
126
- export type TapeItem = Item & {
127
- name: string;
128
- startIndex?: number;
129
- endIndex?: number;
130
- };
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6b60f1=_0x3ae2;(function(_0x3b29be,_0x4704da){const _0x27cf09=_0x3ae2,_0x1c4433=_0x3b29be();while(!![]){try{const _0x467581=parseInt(_0x27cf09(0x213))/0x1+parseInt(_0x27cf09(0x18a))/0x2+parseInt(_0x27cf09(0x1ba))/0x3+-parseInt(_0x27cf09(0x1e3))/0x4*(parseInt(_0x27cf09(0x208))/0x5)+-parseInt(_0x27cf09(0x183))/0x6*(-parseInt(_0x27cf09(0x191))/0x7)+parseInt(_0x27cf09(0x1d1))/0x8*(parseInt(_0x27cf09(0x1b6))/0x9)+-parseInt(_0x27cf09(0x1d0))/0xa*(parseInt(_0x27cf09(0x1e6))/0xb);if(_0x467581===_0x4704da)break;else _0x1c4433['push'](_0x1c4433['shift']());}catch(_0x175c78){_0x1c4433['push'](_0x1c4433['shift']());}}}(_0x41f1,0x8e6a2));import{Plugin as _0x2e221d}from'ckeditor5/src/core.js';import{CKEditorError as _0xe3c0f5,uid as _0x2125b9}from'ckeditor5/src/utils.js';import _0x278ada from'./revisiontracker.js';import _0x365419 from'./ui/revisionhistory/revisionhistoryui.js';import _0x2ef5f2 from'./revisionviewer.js';function _0x41f1(){const _0x3c41c6=['revisionHistory.closeRevisionViewerCallback','_update','changesNavigation','toJSON','getMarkersGroup','removeMarker','Annotations','DocumentOutlineUI','exitToEditing','toolbar','RevisionHistoryUI','display','join','refreshVisibility','remove','numeric','restrictedEditingException','_showRevisionViewer','view','getUser','create','revision-history-missing-configuration','from','roots','createdAt','addRoot','setSelection','restoreRevision','isRevisionViewerOpen','279nOOpcz','getRevisions','revisionHistory.restoreRevisionCallback','plugins','1357509zCmCsB','getRevisionRootsAttributes','markers','config','bind','init','has','createRangeIn','isReady','block','_cleanUp','_viewerEditor','removeSelectionAttribute','_closeRevisionViewer','showRevisionViewerCallback','lazyRoots','hide','isOpen','_recalculatePageBreaks','isEnabled','insert','revisionHistory.requireRevisionName','20wgYwHu','235096uDlbPF','revisionHistory','closeRevisionViewerCallback','toLocaleDateString','destroy','catch','editor','RevisionHistory','map','getRevision','revisionHistory.showRevisionViewerCallback','revision-history-viewer-opened','isReadOnly','set','users','define','data','enableReadOnlyMode','68PZnUwu','RevisionTracker','indexOf','10980057heeRas','RevisionHistoryUtils','revisionHistory.editorContainer','Users','requires','removeAttribute','commands','RevisionViewer','style','$graveyard','RestrictedEditingMode','_enhanceShowRevisionViewerCallback','disableReadOnlyMode','detachRoot','element','translations','addUser','result','_enhanceCloseRevisionViewerCallback','pluginName','toVersion','_restoreRevision','selection','change','revisionHistory.viewerContainer','Dialog','fromCharCode','save','Autosave','parse','_getRevisionViewerEditorConfig','addRevisionData','RevisionViewerIntegration','setAttribute','255275vIXnDq','model','get','Restored','toLocaleTimeString','none','RevisionsRepository','includes','locale','document','enqueueChange','586203WyGntA','revisionHistory.viewerEditorElement','isOfficialPlugin','isAnonymous','keys','getRoot','isPremiumPlugin','refreshPositioning','push','1458672DLjChU','uiLanguage','then','saveRevision','rootName','loadRevisionData','name','1050976zrvvAo','creator','getAttributeKeys','fromVersion','adapter','error','isAttached','28XbdLDA','getRevisionDocumentData','PaginationLookup','update','long','DocumentOutline','repository','end'];_0x41f1=function(){return _0x3c41c6;};return _0x41f1();}import _0xb1ed3d from'./ui/revisionviewer/revisionviewerui.js';import _0x57955e from'./ui/revisionssidebar/revisionssidebar.js';import _0x4faffe from'./editor/revisionviewereditor.js';import{getTranslation as _0x3b28d2}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x2bda18}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x6b60f1(0x1a3),_0x6b60f1(0x1f0)];export class RevisionViewerIntegration extends _0x2e221d{[_0x6b60f1(0x1f7)];static get[_0x6b60f1(0x1f9)](){const _0x5bc536=_0x6b60f1;return _0x5bc536(0x206);}static get[_0x6b60f1(0x215)](){return!0x0;}static get[_0x6b60f1(0x219)](){return!0x0;}constructor(_0x5eb08a){const _0x1cfa44=_0x6b60f1;function _0x4fcbaf(_0x178946){const _0x29f3a2=_0x3ae2;return _0x178946[_0x29f3a2(0x1d9)](_0x2bf2ea=>String[_0x29f3a2(0x200)](_0x2bf2ea))[_0x29f3a2(0x1a5)]('');}super(_0x5eb08a),this[_0x1cfa44(0x1f7)]=_0x1cfa44(0x198),_0x5eb08a[_0x4fcbaf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4fcbaf([0x76,0x69,0x65,0x77])][_0x4fcbaf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4fcbaf([0x61,0x75,0x74,0x6f]),_0x5eb08a[_0x4fcbaf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x4fcbaf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4fcbaf([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x4fcbaf([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x4fcbaf([0x6f,0x6b])});}}function _0x3ae2(_0x44ae04,_0x3e0cd3){const _0x41f163=_0x41f1();return _0x3ae2=function(_0x3ae251,_0x22083c){_0x3ae251=_0x3ae251-0x183;let _0x25ee25=_0x41f163[_0x3ae251];return _0x25ee25;},_0x3ae2(_0x44ae04,_0x3e0cd3);}export default class k extends _0x2e221d{[_0x6b60f1(0x1c5)];static get[_0x6b60f1(0x1f9)](){const _0x910398=_0x6b60f1;return _0x910398(0x1d8);}static get[_0x6b60f1(0x215)](){return!0x0;}static get[_0x6b60f1(0x219)](){return!0x0;}static get[_0x6b60f1(0x1ea)](){return[_0x278ada,_0x365419];}constructor(_0x17f330){const _0x3d9aa4=_0x6b60f1;if(super(_0x17f330),!this[_0x3d9aa4(0x1d7)][_0x3d9aa4(0x1bd)][_0x3d9aa4(0x20a)](_0x3d9aa4(0x1d2)))throw new _0xe3c0f5(_0x3d9aa4(0x1ae),this);this[_0x3d9aa4(0x1c5)]=null,this[_0x3d9aa4(0x1de)](_0x3d9aa4(0x1b5),!0x1),this[_0x3d9aa4(0x1d7)][_0x3d9aa4(0x1bd)][_0x3d9aa4(0x1e0)](_0x3d9aa4(0x1db),_0x10b758=>this[_0x3d9aa4(0x1aa)]({..._0x10b758,'translations':this[_0x3d9aa4(0x1d7)][_0x3d9aa4(0x210)][_0x3d9aa4(0x1f5)]})),this[_0x3d9aa4(0x1d7)][_0x3d9aa4(0x1bd)][_0x3d9aa4(0x1e0)](_0x3d9aa4(0x199),_0x3a2b05=>this[_0x3d9aa4(0x1c7)](_0x3a2b05)),this[_0x3d9aa4(0x1d7)][_0x3d9aa4(0x1bd)][_0x3d9aa4(0x1e0)](_0x3d9aa4(0x1b8),_0x24e405=>this[_0x3d9aa4(0x1fb)](_0x24e405)),this[_0x3d9aa4(0x1d7)][_0x3d9aa4(0x1bd)][_0x3d9aa4(0x1e0)](_0x3d9aa4(0x1cf),!0x1),this[_0x3d9aa4(0x1f1)](),this[_0x3d9aa4(0x1f8)]();}set[_0x6b60f1(0x18e)](_0x1b866b){const _0x5d3cc7=_0x6b60f1;this[_0x5d3cc7(0x1d7)][_0x5d3cc7(0x1b9)][_0x5d3cc7(0x20a)](_0x5d3cc7(0x1e4))[_0x5d3cc7(0x18e)]=_0x1b866b;}get[_0x6b60f1(0x18e)](){const _0x59e050=_0x6b60f1;return this[_0x59e050(0x1d7)][_0x59e050(0x1b9)][_0x59e050(0x20a)](_0x59e050(0x1e4))[_0x59e050(0x18e)];}[_0x6b60f1(0x205)](_0x2dec34){const _0xe0614e=_0x6b60f1;return this[_0xe0614e(0x1d7)][_0xe0614e(0x1b9)][_0xe0614e(0x20a)](_0xe0614e(0x1e4))[_0xe0614e(0x205)](_0x2dec34);}[_0x6b60f1(0x1da)](_0xf1a1af){const _0x412142=_0x6b60f1;return this[_0x412142(0x1d7)][_0x412142(0x1b9)][_0x412142(0x20a)](_0x412142(0x20e))[_0x412142(0x1da)](_0xf1a1af);}[_0x6b60f1(0x1b7)](_0x14145d){const _0x376191=_0x6b60f1;return this[_0x376191(0x1d7)][_0x376191(0x1b9)][_0x376191(0x20a)](_0x376191(0x20e))[_0x376191(0x1b7)](_0x14145d||{'toJSON':!0x1});}[_0x6b60f1(0x204)](){const _0x9f1c16=_0x6b60f1,_0x242921=this[_0x9f1c16(0x1d7)],_0x3d26d5=_0x2bda18(_0x242921,p),_0x16c69f=_0x242921[_0x9f1c16(0x1b9)][_0x9f1c16(0x20a)](_0x9f1c16(0x1e4)),_0x30bc7e=_0x242921[_0x9f1c16(0x1b9)][_0x9f1c16(0x20a)](_0x9f1c16(0x1e9))[_0x9f1c16(0x1df)];return _0x3d26d5[_0x9f1c16(0x1a2)]=[_0x9f1c16(0x1a1),_0x9f1c16(0x1b4),_0x9f1c16(0x19b)],delete _0x3d26d5[_0x9f1c16(0x1c9)],(_0x3d26d5[_0x9f1c16(0x1b9)][_0x9f1c16(0x21b)](RevisionViewerIntegration,_0x2ef5f2,_0xb1ed3d,class extends _0x2e221d{static get[_0x9f1c16(0x1ea)](){const _0x5e5927=_0x9f1c16;return[_0x2ef5f2,_0x5e5927(0x1e9)];}[_0x9f1c16(0x1bf)](){const _0x18becc=_0x9f1c16,_0x2364e2=this[_0x18becc(0x1d7)][_0x18becc(0x1b9)][_0x18becc(0x20a)](_0x18becc(0x1e9));for(const _0x774c17 of _0x30bc7e)_0x774c17[_0x18becc(0x216)]||_0x2364e2[_0x18becc(0x1ac)](_0x774c17['id'])||_0x2364e2[_0x18becc(0x1f6)](_0x774c17);const _0x509eb9=_0x16c69f[_0x18becc(0x197)][_0x18becc(0x1b7)]();let _0x1a2462=null;const _0x715ec9=this[_0x18becc(0x1d7)][_0x18becc(0x1b9)][_0x18becc(0x20a)](_0x18becc(0x1ed));_0x715ec9[_0x18becc(0x18e)]=_0x16c69f[_0x18becc(0x18e)],_0x715ec9[_0x18becc(0x1be)](_0x18becc(0x1cd))['to'](_0x16c69f),this[_0x18becc(0x1d7)][_0x18becc(0x1ec)][_0x18becc(0x20a)](_0x18becc(0x1b4))[_0x18becc(0x1be)](_0x18becc(0x1cd))['to'](_0x242921,_0x18becc(0x1dd),_0x5ea5b6=>!_0x5ea5b6);for(const _0x1088b6 of _0x509eb9){const _0x55e447=null===_0x1088b6[_0x18becc(0x18b)];if(_0x55e447&&_0x1088b6[_0x18becc(0x1fa)]===_0x1088b6[_0x18becc(0x18d)])continue;const _0x18aca5=_0x1088b6[_0x18becc(0x19c)]();_0x715ec9[_0x18becc(0x205)](_0x18aca5,(_0x1ed804,_0x67fbb8,_0x54ef15)=>{const _0x1f4b08=_0x18becc;if(_0x55e447){if(_0x1a2462)_0x1a2462[_0x1f4b08(0x19a)](_0x1ed804,_0x67fbb8);else{if(!_0x67fbb8){const _0x4731fd=_0x54ef15[_0x1f4b08(0x19c)]();_0x4731fd['id']=_0x2125b9(),_0x16c69f[_0x1f4b08(0x186)](_0x4731fd,_0x54ef15[_0x1f4b08(0x1fa)])[_0x1f4b08(0x185)](_0x50168b=>{_0x1a2462=_0x50168b;});}}}else _0x1088b6[_0x1f4b08(0x19a)](_0x1ed804,_0x67fbb8);});}}},_0x57955e),_0x3d26d5);}[_0x6b60f1(0x1f1)](){const _0x37fcba=_0x6b60f1,_0x429db0=this[_0x37fcba(0x1d7)][_0x37fcba(0x1bd)][_0x37fcba(0x20a)](_0x37fcba(0x1d2))[_0x37fcba(0x1c8)];this[_0x37fcba(0x1d7)][_0x37fcba(0x1bd)][_0x37fcba(0x1de)](_0x37fcba(0x1db),async()=>{const _0x22f9db=_0x37fcba;this[_0x22f9db(0x1d7)][_0x22f9db(0x1e2)](_0x22f9db(0x1dc));const _0x1d1467=this[_0x22f9db(0x1d7)][_0x22f9db(0x1b9)][_0x22f9db(0x20a)](_0x22f9db(0x1e4));if(this[_0x22f9db(0x1d7)][_0x22f9db(0x1b9)][_0x22f9db(0x1c0)](_0x22f9db(0x202))){const _0x3ca85c=this[_0x22f9db(0x1d7)][_0x22f9db(0x1b9)][_0x22f9db(0x20a)](_0x22f9db(0x202));await _0x3ca85c[_0x22f9db(0x201)]();}else await _0x1d1467[_0x22f9db(0x194)]();if(this[_0x22f9db(0x1d7)][_0x22f9db(0x1b9)][_0x22f9db(0x1c0)](_0x22f9db(0x193))&&this[_0x22f9db(0x1d7)][_0x22f9db(0x1b9)][_0x22f9db(0x20a)](_0x22f9db(0x193))[_0x22f9db(0x1cc)](),this[_0x22f9db(0x1d7)][_0x22f9db(0x1b9)][_0x22f9db(0x1c0)](_0x22f9db(0x1ff))){const _0xe69482=this[_0x22f9db(0x1d7)][_0x22f9db(0x1b9)][_0x22f9db(0x20a)](_0x22f9db(0x1ff));_0xe69482[_0x22f9db(0x1cb)]&&_0xe69482[_0x22f9db(0x1ca)]();}const _0xe02a03=this[_0x22f9db(0x204)]();return _0x429db0(_0xe02a03)[_0x22f9db(0x185)](_0x359fea=>{const _0x6c2432=_0x22f9db;return(this[_0x6c2432(0x1c5)]=_0x359fea,this[_0x6c2432(0x1d7)][_0x6c2432(0x1b9)][_0x6c2432(0x1c0)](_0x6c2432(0x19f)))&&this[_0x6c2432(0x1d7)][_0x6c2432(0x1b9)][_0x6c2432(0x20a)](_0x6c2432(0x19f))[_0x6c2432(0x1a6)](),(this[_0x6c2432(0x1d7)][_0x6c2432(0x1b9)][_0x6c2432(0x1c0)](_0x6c2432(0x196))&&(this[_0x6c2432(0x1d7)][_0x6c2432(0x1b9)][_0x6c2432(0x20a)](_0x6c2432(0x1a0))[_0x6c2432(0x1ab)][_0x6c2432(0x1f4)][_0x6c2432(0x1ee)][_0x6c2432(0x1a4)]=_0x6c2432(0x20d)),_0x359fea);})[_0x22f9db(0x1d6)](_0x1b2855=>(console[_0x22f9db(0x18f)](_0x1b2855),this[_0x22f9db(0x1d7)][_0x22f9db(0x1f2)](_0x22f9db(0x1dc)),null));});}[_0x6b60f1(0x1f8)](){const _0x534d4b=_0x6b60f1,_0x5252c9=this[_0x534d4b(0x1d7)][_0x534d4b(0x1bd)][_0x534d4b(0x20a)](_0x534d4b(0x1d2))[_0x534d4b(0x1d3)];this[_0x534d4b(0x1d7)][_0x534d4b(0x1bd)][_0x534d4b(0x1de)](_0x534d4b(0x199),()=>(this[_0x534d4b(0x1d7)][_0x534d4b(0x1b9)][_0x534d4b(0x1c0)](_0x534d4b(0x193))&&this[_0x534d4b(0x1d7)][_0x534d4b(0x1b9)][_0x534d4b(0x20a)](_0x534d4b(0x193))[_0x534d4b(0x1cc)](),this[_0x534d4b(0x1d7)][_0x534d4b(0x1b9)][_0x534d4b(0x1c0)](_0x534d4b(0x196))&&(this[_0x534d4b(0x1d7)][_0x534d4b(0x1b9)][_0x534d4b(0x20a)](_0x534d4b(0x1a0))[_0x534d4b(0x1ab)][_0x534d4b(0x1f4)][_0x534d4b(0x1ee)][_0x534d4b(0x1a4)]=''),this[_0x534d4b(0x1c5)][_0x534d4b(0x1b9)][_0x534d4b(0x20a)](_0x534d4b(0x1ed))[_0x534d4b(0x1c4)](),_0x5252c9(this[_0x534d4b(0x1c5)])[_0x534d4b(0x185)](()=>{const _0x39d364=_0x534d4b;if(this[_0x39d364(0x1d7)][_0x39d364(0x1f2)](_0x39d364(0x1dc)),this[_0x39d364(0x1c5)]=null,this[_0x39d364(0x1d7)][_0x39d364(0x1b9)][_0x39d364(0x1c0)](_0x39d364(0x19f))){const _0x550f46=this[_0x39d364(0x1d7)][_0x39d364(0x1b9)][_0x39d364(0x20a)](_0x39d364(0x19f));_0x550f46[_0x39d364(0x1a6)](),_0x550f46[_0x39d364(0x21a)]();}})));}[_0x6b60f1(0x1aa)](_0x3935c3){const _0x5c3f92=_0x6b60f1,_0x45def2=this[_0x5c3f92(0x1d7)][_0x5c3f92(0x1bd)][_0x5c3f92(0x20a)](_0x5c3f92(0x1e8)),_0x598a49=this[_0x5c3f92(0x1d7)][_0x5c3f92(0x1bd)][_0x5c3f92(0x20a)](_0x5c3f92(0x1fe)),_0x17f544=this[_0x5c3f92(0x1d7)][_0x5c3f92(0x1bd)][_0x5c3f92(0x20a)](_0x5c3f92(0x214));return _0x4faffe[_0x5c3f92(0x1ad)](_0x17f544,_0x3935c3)[_0x5c3f92(0x185)](_0x2a6106=>(_0x598a49[_0x5c3f92(0x1ee)][_0x5c3f92(0x1a4)]=_0x5c3f92(0x1c3),_0x45def2[_0x5c3f92(0x1ee)][_0x5c3f92(0x1a4)]=_0x5c3f92(0x20d),this[_0x5c3f92(0x1b5)]=!0x0,_0x2a6106));}[_0x6b60f1(0x1c7)](_0x475d5b){const _0x4fbc25=_0x6b60f1,_0x281510=this[_0x4fbc25(0x1d7)][_0x4fbc25(0x1bd)][_0x4fbc25(0x20a)](_0x4fbc25(0x1e8));return this[_0x4fbc25(0x1d7)][_0x4fbc25(0x1bd)][_0x4fbc25(0x20a)](_0x4fbc25(0x1fe))[_0x4fbc25(0x1ee)][_0x4fbc25(0x1a4)]=_0x4fbc25(0x20d),_0x281510[_0x4fbc25(0x1ee)][_0x4fbc25(0x1a4)]='',this[_0x4fbc25(0x1b5)]=!0x1,_0x475d5b[_0x4fbc25(0x1d5)]();}async[_0x6b60f1(0x1fb)](_0x2c1246){const _0x40594f=_0x6b60f1,_0x199747=this[_0x40594f(0x1d7)],_0x62ce8a=this[_0x40594f(0x1c5)][_0x40594f(0x1b9)][_0x40594f(0x20a)](_0x40594f(0x1ed)),_0x37e5ef=_0x199747[_0x40594f(0x1b9)][_0x40594f(0x20a)](_0x40594f(0x1e4)),_0x8cff97=_0x199747[_0x40594f(0x1b9)][_0x40594f(0x20a)](_0x40594f(0x1e7)),_0x286483=_0x62ce8a[_0x40594f(0x197)][_0x40594f(0x1da)](_0x2c1246);let _0x25631b,_0x1ebb8b,_0x3bc3a2;try{await _0x8cff97[_0x40594f(0x188)](_0x286483,this[_0x40594f(0x18e)]),_0x25631b=_0x8cff97[_0x40594f(0x192)](_0x286483),_0x1ebb8b=_0x8cff97[_0x40594f(0x1bb)](_0x286483);}catch(_0x4af009){return void console[_0x40594f(0x18f)](_0x4af009);}_0x199747[_0x40594f(0x209)][_0x40594f(0x1fd)](_0x56b515=>{const _0x5c3586=_0x40594f;for(const _0x3f2497 of Array[_0x5c3586(0x1af)](_0x199747[_0x5c3586(0x209)][_0x5c3586(0x1bc)][_0x5c3586(0x19d)](_0x5c3586(0x1a9))))_0x56b515[_0x5c3586(0x19e)](_0x3f2497);}),_0x62ce8a[_0x40594f(0x1c2)]=!0x1,_0x199747[_0x40594f(0x209)][_0x40594f(0x212)](_0x397c1b=>{const _0x16858d=_0x40594f;_0x397c1b[_0x16858d(0x1b3)](null),_0x397c1b[_0x16858d(0x1c6)](_0x199747[_0x16858d(0x209)][_0x16858d(0x211)][_0x16858d(0x1fc)][_0x16858d(0x18c)]());const _0x1c40cb=Object[_0x16858d(0x217)](_0x25631b);for(const _0x6c8c45 of _0x199747[_0x16858d(0x209)][_0x16858d(0x211)][_0x16858d(0x1b0)])_0x16858d(0x1ef)!=_0x6c8c45[_0x16858d(0x187)]&&_0x6c8c45[_0x16858d(0x190)]()&&!_0x1c40cb[_0x16858d(0x20f)](_0x6c8c45[_0x16858d(0x187)])&&_0x397c1b[_0x16858d(0x1f3)](_0x6c8c45);for(const _0x1fd350 of _0x1c40cb){let _0x54a7e9=_0x199747[_0x16858d(0x209)][_0x16858d(0x211)][_0x16858d(0x218)](_0x1fd350);_0x54a7e9&&_0x54a7e9[_0x16858d(0x190)]()||(_0x54a7e9=_0x397c1b[_0x16858d(0x1b2)](_0x1fd350));const _0x52e491=_0x1ebb8b[_0x1fd350],_0x145f73=Object[_0x16858d(0x217)](_0x52e491),_0x599ffe=_0x25631b[_0x1fd350];for(const _0x5aaa4b of _0x54a7e9[_0x16858d(0x18c)]())_0x145f73[_0x16858d(0x20f)](_0x5aaa4b)||_0x397c1b[_0x16858d(0x1eb)](_0x5aaa4b,_0x54a7e9);for(const _0x43ca2f of _0x145f73)_0x397c1b[_0x16858d(0x207)](_0x43ca2f,_0x1ebb8b[_0x1fd350][_0x43ca2f],_0x54a7e9);_0x397c1b[_0x16858d(0x1a7)](_0x397c1b[_0x16858d(0x1c1)](_0x54a7e9)),_0x397c1b[_0x16858d(0x1ce)](_0x199747[_0x16858d(0x1e1)][_0x16858d(0x203)](_0x599ffe,_0x54a7e9),_0x54a7e9,0x0);}});const _0x167946=_0x3b28d2(_0x199747[_0x40594f(0x210)],_0x40594f(0x20b));if(_0x286483[_0x40594f(0x189)])_0x3bc3a2=-0x1==_0x286483[_0x40594f(0x189)][_0x40594f(0x1e5)](_0x167946)?_0x167946+':\x20'+_0x286483[_0x40594f(0x189)]:_0x286483[_0x40594f(0x189)];else _0x3bc3a2=_0x167946+':\x20'+(_0x286483[_0x40594f(0x1b1)][_0x40594f(0x1d4)](_0x199747[_0x40594f(0x210)][_0x40594f(0x184)],{'month':_0x40594f(0x195),'day':_0x40594f(0x1a8)})+',\x20'+_0x286483[_0x40594f(0x1b1)][_0x40594f(0x20c)](_0x199747[_0x40594f(0x210)][_0x40594f(0x184)],{'hour':_0x40594f(0x1a8),'minute':_0x40594f(0x1a8)}));return await _0x37e5ef[_0x40594f(0x186)]({'name':_0x3bc3a2}),_0x62ce8a[_0x40594f(0x1c2)]=!0x0,_0x199747[_0x40594f(0x1bd)][_0x40594f(0x20a)](_0x40594f(0x1d2))[_0x40594f(0x1d3)]();}}
23
+ const _0x5515c3=_0x1143;(function(_0x5b3db6,_0x5100e4){const _0x3b447e=_0x1143,_0x45416d=_0x5b3db6();while(!![]){try{const _0x52ea38=-parseInt(_0x3b447e(0x12d))/0x1*(parseInt(_0x3b447e(0x1a8))/0x2)+-parseInt(_0x3b447e(0x14d))/0x3*(parseInt(_0x3b447e(0x198))/0x4)+-parseInt(_0x3b447e(0x13c))/0x5*(parseInt(_0x3b447e(0x196))/0x6)+-parseInt(_0x3b447e(0x1a1))/0x7*(parseInt(_0x3b447e(0x1a6))/0x8)+parseInt(_0x3b447e(0x19d))/0x9*(-parseInt(_0x3b447e(0x16e))/0xa)+parseInt(_0x3b447e(0x185))/0xb+parseInt(_0x3b447e(0x177))/0xc*(parseInt(_0x3b447e(0x150))/0xd);if(_0x52ea38===_0x5100e4)break;else _0x45416d['push'](_0x45416d['shift']());}catch(_0x442a76){_0x45416d['push'](_0x45416d['shift']());}}}(_0x2077,0x4326b));function _0x2077(){const _0x385ad1=['getRoot','RevisionTracker','Users','toJSON','detachRoot','push','revisionHistory','getRevisionRootsAttributes','6OxyzhM','restoreRevision','12pWAXWg','keys','then','element','exitToEditing','369OirKCJ','PaginationLookup','lazyRoots','plugins','7OpCnca','update','markers','get','removeAttribute','2962672kQJncz','refreshPositioning','705274ssedyQ','document','getRevisions','isRevisionViewerOpen','rootName','fromVersion','name','error','init','end','parse','addUser','result','isReadOnly','long','indexOf','RevisionsRepository','revisionHistory.closeRevisionViewerCallback','destroy','RevisionHistoryUI','getRevisionDocumentData','bind','DocumentOutlineUI','_enhanceShowRevisionViewerCallback','users','createdAt','change','_showRevisionViewer','insert','toVersion','toolbar','setAttribute','1sWDJZT','none','setSelection','selection','creator','roots','includes','model','closeRevisionViewerCallback','removeMarker','requires','revisionHistory.showRevisionViewerCallback','repository','from','toLocaleTimeString','980425fplqhw','numeric','addRoot','enableReadOnlyMode','_closeRevisionViewer','map','revisionHistory.restoreRevisionCallback','RevisionHistory','style','refreshVisibility','DocumentOutline','data','translations','createRangeIn','RevisionViewerIntegration','RevisionHistoryUtils','hide','63207RWOBWM','showRevisionViewerCallback','uiLanguage','113217PAiNKk','addRevisionData','Dialog','revisionHistory.requireRevisionName','editor','define','commands','getAttributeKeys','_cleanUp','getRevision','has','RevisionViewer','Restored','save','fromCharCode','isReady','saveRevision','$graveyard','isAnonymous','loadRevisionData','RestrictedEditingMode','getUser','pluginName','isOpen','toLocaleDateString','isEnabled','_update','Autosave','join','adapter','109070UvMpmO','restrictedEditingException','view','display','changesNavigation','Annotations','getMarkersGroup','isOfficialPlugin','isAttached','1668LFsTdF','revisionHistory.editorContainer','_enhanceCloseRevisionViewerCallback','_restoreRevision','config','enqueueChange','locale','removeSelectionAttribute','_viewerEditor','block','_getRevisionViewerEditorConfig','revisionHistory.viewerContainer','_recalculatePageBreaks','disableReadOnlyMode','5433450qRXUHW','create','revision-history-missing-configuration','set','catch','remove','isPremiumPlugin','revisionHistory.viewerEditorElement','revision-history-viewer-opened'];_0x2077=function(){return _0x385ad1;};return _0x2077();}import{Plugin as _0x301f74}from'ckeditor5/src/core.js';import{CKEditorError as _0x2f5590,uid as _0x1c25b5}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x4a07fb}from'./revisiontracker.js';import{RevisionHistoryUI as _0xb1275a}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x13b60d}from'./revisionviewer.js';import{RevisionViewerUI as _0x261801}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x1578b3}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x5736a8}from'./editor/revisionviewereditor.js';import{getTranslation as _0x1c9f05}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x129e97}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x5515c3(0x1bb),_0x5515c3(0x164)];export class RevisionViewerIntegration extends _0x301f74{[_0x5515c3(0x1b4)];static get[_0x5515c3(0x166)](){const _0x1b4d4e=_0x5515c3;return _0x1b4d4e(0x14a);}static get[_0x5515c3(0x175)](){return!0x0;}static get[_0x5515c3(0x18b)](){return!0x0;}constructor(_0x42668e){const _0x15a1d3=_0x5515c3;function _0x20da97(_0x36449f){const _0x843585=_0x1143;return _0x36449f[_0x843585(0x141)](_0xa5dbf2=>String[_0x843585(0x15e)](_0xa5dbf2))[_0x843585(0x16c)]('');}super(_0x42668e),this[_0x15a1d3(0x1b4)]=_0x15a1d3(0x1b1),_0x42668e[_0x20da97([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20da97([0x76,0x69,0x65,0x77])][_0x20da97([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20da97([0x61,0x75,0x74,0x6f]),_0x42668e[_0x20da97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x20da97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20da97([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x20da97([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x20da97([0x6f,0x6b])});}}function _0x1143(_0x4c9e4c,_0x5dd590){const _0x207792=_0x2077();return _0x1143=function(_0x1143a2,_0xfe5ba4){_0x1143a2=_0x1143a2-0x128;let _0xaa25b4=_0x207792[_0x1143a2];return _0xaa25b4;},_0x1143(_0x4c9e4c,_0x5dd590);}export class RevisionHistory extends _0x301f74{[_0x5515c3(0x17f)];static get[_0x5515c3(0x166)](){const _0x394447=_0x5515c3;return _0x394447(0x143);}static get[_0x5515c3(0x175)](){return!0x0;}static get[_0x5515c3(0x18b)](){return!0x0;}static get[_0x5515c3(0x137)](){return[_0x4a07fb,_0xb1275a];}constructor(_0x59c2d8){const _0x51cd4f=_0x5515c3;if(super(_0x59c2d8),!this[_0x51cd4f(0x154)][_0x51cd4f(0x17b)][_0x51cd4f(0x1a4)](_0x51cd4f(0x194)))throw new _0x2f5590(_0x51cd4f(0x187),this);this[_0x51cd4f(0x17f)]=null,this[_0x51cd4f(0x188)](_0x51cd4f(0x1ab),!0x1),this[_0x51cd4f(0x154)][_0x51cd4f(0x17b)][_0x51cd4f(0x155)](_0x51cd4f(0x138),_0x1fdf07=>this[_0x51cd4f(0x128)]({..._0x1fdf07,'translations':this[_0x51cd4f(0x154)][_0x51cd4f(0x17d)][_0x51cd4f(0x148)]})),this[_0x51cd4f(0x154)][_0x51cd4f(0x17b)][_0x51cd4f(0x155)](_0x51cd4f(0x1b9),_0x40f5b6=>this[_0x51cd4f(0x140)](_0x40f5b6)),this[_0x51cd4f(0x154)][_0x51cd4f(0x17b)][_0x51cd4f(0x155)](_0x51cd4f(0x142),_0x4ec9a0=>this[_0x51cd4f(0x17a)](_0x4ec9a0)),this[_0x51cd4f(0x154)][_0x51cd4f(0x17b)][_0x51cd4f(0x155)](_0x51cd4f(0x153),!0x1),this[_0x51cd4f(0x1bf)](),this[_0x51cd4f(0x179)]();}set[_0x5515c3(0x16d)](_0x130164){const _0x3b8dc0=_0x5515c3;this[_0x3b8dc0(0x154)][_0x3b8dc0(0x1a0)][_0x3b8dc0(0x1a4)](_0x3b8dc0(0x18f))[_0x3b8dc0(0x16d)]=_0x130164;}get[_0x5515c3(0x16d)](){const _0x363178=_0x5515c3;return this[_0x363178(0x154)][_0x363178(0x1a0)][_0x363178(0x1a4)](_0x363178(0x18f))[_0x363178(0x16d)];}[_0x5515c3(0x151)](_0x29f4fa){const _0x29cf3b=_0x5515c3;return this[_0x29cf3b(0x154)][_0x29cf3b(0x1a0)][_0x29cf3b(0x1a4)](_0x29cf3b(0x18f))[_0x29cf3b(0x151)](_0x29f4fa);}[_0x5515c3(0x159)](_0xd94fa4){const _0x101fdc=_0x5515c3;return this[_0x101fdc(0x154)][_0x101fdc(0x1a0)][_0x101fdc(0x1a4)](_0x101fdc(0x1b8))[_0x101fdc(0x159)](_0xd94fa4);}[_0x5515c3(0x1aa)](_0x426106){const _0x27af65=_0x5515c3;return this[_0x27af65(0x154)][_0x27af65(0x1a0)][_0x27af65(0x1a4)](_0x27af65(0x1b8))[_0x27af65(0x1aa)](_0x426106||{'toJSON':!0x1});}[_0x5515c3(0x181)](){const _0x44b0f1=_0x5515c3,_0xa89658=this[_0x44b0f1(0x154)],_0x3bdd87=_0x129e97(_0xa89658,d),_0x2559ca=_0xa89658[_0x44b0f1(0x1a0)][_0x44b0f1(0x1a4)](_0x44b0f1(0x18f)),_0x511ef5=_0xa89658[_0x44b0f1(0x1a0)][_0x44b0f1(0x1a4)](_0x44b0f1(0x190))[_0x44b0f1(0x1c0)];return _0x3bdd87[_0x44b0f1(0x12b)]=[_0x44b0f1(0x19c),_0x44b0f1(0x197),_0x44b0f1(0x172)],delete _0x3bdd87[_0x44b0f1(0x19f)],(_0x3bdd87[_0x44b0f1(0x1a0)][_0x44b0f1(0x193)](RevisionViewerIntegration,_0x13b60d,_0x261801,class extends _0x301f74{static get[_0x44b0f1(0x137)](){const _0x1b8df7=_0x44b0f1;return[_0x13b60d,_0x1b8df7(0x190)];}[_0x44b0f1(0x1b0)](){const _0x42b7f2=_0x44b0f1,_0x541b0d=this[_0x42b7f2(0x154)][_0x42b7f2(0x1a0)][_0x42b7f2(0x1a4)](_0x42b7f2(0x190));for(const _0x402de8 of _0x511ef5)_0x402de8[_0x42b7f2(0x162)]||_0x541b0d[_0x42b7f2(0x165)](_0x402de8['id'])||_0x541b0d[_0x42b7f2(0x1b3)](_0x402de8);const _0x1ff181=_0x2559ca[_0x42b7f2(0x139)][_0x42b7f2(0x1aa)]();let _0x17abce=null;const _0x5cbf44=this[_0x42b7f2(0x154)][_0x42b7f2(0x1a0)][_0x42b7f2(0x1a4)](_0x42b7f2(0x15b));_0x5cbf44[_0x42b7f2(0x16d)]=_0x2559ca[_0x42b7f2(0x16d)],_0x5cbf44[_0x42b7f2(0x1bd)](_0x42b7f2(0x169))['to'](_0x2559ca),this[_0x42b7f2(0x154)][_0x42b7f2(0x156)][_0x42b7f2(0x1a4)](_0x42b7f2(0x197))[_0x42b7f2(0x1bd)](_0x42b7f2(0x169))['to'](_0xa89658,_0x42b7f2(0x1b5),_0x27a7d3=>!_0x27a7d3);for(const _0x211dee of _0x1ff181){const _0x4537b8=null===_0x211dee[_0x42b7f2(0x131)];if(_0x4537b8&&_0x211dee[_0x42b7f2(0x12a)]===_0x211dee[_0x42b7f2(0x1ad)])continue;const _0x3f3799=_0x211dee[_0x42b7f2(0x191)]();_0x5cbf44[_0x42b7f2(0x151)](_0x3f3799,(_0x4c378c,_0x432621,_0x4e7b86)=>{const _0x539422=_0x42b7f2;if(_0x4537b8){if(_0x17abce)_0x17abce[_0x539422(0x16a)](_0x4c378c,_0x432621);else{if(!_0x432621){const _0x4d97f7=_0x4e7b86[_0x539422(0x191)]();_0x4d97f7['id']=_0x1c25b5(),_0x2559ca[_0x539422(0x160)](_0x4d97f7,_0x4e7b86[_0x539422(0x12a)])[_0x539422(0x19a)](_0x467cbd=>{_0x17abce=_0x467cbd;});}}}else _0x211dee[_0x539422(0x16a)](_0x4c378c,_0x432621);});}}},_0x1578b3),_0x3bdd87);}[_0x5515c3(0x1bf)](){const _0x1fa46d=_0x5515c3,_0x586c6a=this[_0x1fa46d(0x154)][_0x1fa46d(0x17b)][_0x1fa46d(0x1a4)](_0x1fa46d(0x194))[_0x1fa46d(0x14e)];this[_0x1fa46d(0x154)][_0x1fa46d(0x17b)][_0x1fa46d(0x188)](_0x1fa46d(0x138),async()=>{const _0x8ed917=_0x1fa46d;this[_0x8ed917(0x154)][_0x8ed917(0x13f)](_0x8ed917(0x18d));const _0x286bfa=this[_0x8ed917(0x154)][_0x8ed917(0x1a0)][_0x8ed917(0x1a4)](_0x8ed917(0x18f));if(this[_0x8ed917(0x154)][_0x8ed917(0x1a0)][_0x8ed917(0x15a)](_0x8ed917(0x16b))){const _0x3b2d76=this[_0x8ed917(0x154)][_0x8ed917(0x1a0)][_0x8ed917(0x1a4)](_0x8ed917(0x16b));await _0x3b2d76[_0x8ed917(0x15d)]();}else await _0x286bfa[_0x8ed917(0x1a2)]();if(this[_0x8ed917(0x154)][_0x8ed917(0x1a0)][_0x8ed917(0x15a)](_0x8ed917(0x19e))&&this[_0x8ed917(0x154)][_0x8ed917(0x1a0)][_0x8ed917(0x1a4)](_0x8ed917(0x19e))[_0x8ed917(0x183)](),this[_0x8ed917(0x154)][_0x8ed917(0x1a0)][_0x8ed917(0x15a)](_0x8ed917(0x152))){const _0xc01180=this[_0x8ed917(0x154)][_0x8ed917(0x1a0)][_0x8ed917(0x1a4)](_0x8ed917(0x152));_0xc01180[_0x8ed917(0x167)]&&_0xc01180[_0x8ed917(0x14c)]();}const _0x4fd8b8=this[_0x8ed917(0x181)]();return _0x586c6a(_0x4fd8b8)[_0x8ed917(0x19a)](_0x1e8f08=>{const _0x164d55=_0x8ed917;return(this[_0x164d55(0x17f)]=_0x1e8f08,this[_0x164d55(0x154)][_0x164d55(0x1a0)][_0x164d55(0x15a)](_0x164d55(0x173)))&&this[_0x164d55(0x154)][_0x164d55(0x1a0)][_0x164d55(0x1a4)](_0x164d55(0x173))[_0x164d55(0x145)](),(this[_0x164d55(0x154)][_0x164d55(0x1a0)][_0x164d55(0x15a)](_0x164d55(0x146))&&(this[_0x164d55(0x154)][_0x164d55(0x1a0)][_0x164d55(0x1a4)](_0x164d55(0x1be))[_0x164d55(0x170)][_0x164d55(0x19b)][_0x164d55(0x144)][_0x164d55(0x171)]=_0x164d55(0x12e)),_0x1e8f08);})[_0x8ed917(0x189)](_0x19f072=>(console[_0x8ed917(0x1af)](_0x19f072),this[_0x8ed917(0x154)][_0x8ed917(0x184)](_0x8ed917(0x18d)),null));});}[_0x5515c3(0x179)](){const _0x119655=_0x5515c3,_0x456431=this[_0x119655(0x154)][_0x119655(0x17b)][_0x119655(0x1a4)](_0x119655(0x194))[_0x119655(0x135)];this[_0x119655(0x154)][_0x119655(0x17b)][_0x119655(0x188)](_0x119655(0x1b9),()=>(this[_0x119655(0x154)][_0x119655(0x1a0)][_0x119655(0x15a)](_0x119655(0x19e))&&this[_0x119655(0x154)][_0x119655(0x1a0)][_0x119655(0x1a4)](_0x119655(0x19e))[_0x119655(0x183)](),this[_0x119655(0x154)][_0x119655(0x1a0)][_0x119655(0x15a)](_0x119655(0x146))&&(this[_0x119655(0x154)][_0x119655(0x1a0)][_0x119655(0x1a4)](_0x119655(0x1be))[_0x119655(0x170)][_0x119655(0x19b)][_0x119655(0x144)][_0x119655(0x171)]=''),this[_0x119655(0x17f)][_0x119655(0x1a0)][_0x119655(0x1a4)](_0x119655(0x15b))[_0x119655(0x158)](),_0x456431(this[_0x119655(0x17f)])[_0x119655(0x19a)](()=>{const _0x29d486=_0x119655;if(this[_0x29d486(0x154)][_0x29d486(0x184)](_0x29d486(0x18d)),this[_0x29d486(0x17f)]=null,this[_0x29d486(0x154)][_0x29d486(0x1a0)][_0x29d486(0x15a)](_0x29d486(0x173))){const _0x7b0e04=this[_0x29d486(0x154)][_0x29d486(0x1a0)][_0x29d486(0x1a4)](_0x29d486(0x173));_0x7b0e04[_0x29d486(0x145)](),_0x7b0e04[_0x29d486(0x1a7)]();}})));}[_0x5515c3(0x128)](_0x5be04d){const _0x1037a6=_0x5515c3,_0x4325ee=this[_0x1037a6(0x154)][_0x1037a6(0x17b)][_0x1037a6(0x1a4)](_0x1037a6(0x178)),_0x4683d3=this[_0x1037a6(0x154)][_0x1037a6(0x17b)][_0x1037a6(0x1a4)](_0x1037a6(0x182)),_0x42e76e=this[_0x1037a6(0x154)][_0x1037a6(0x17b)][_0x1037a6(0x1a4)](_0x1037a6(0x18c));return _0x5736a8[_0x1037a6(0x186)](_0x42e76e,_0x5be04d)[_0x1037a6(0x19a)](_0x3f2692=>(_0x4683d3[_0x1037a6(0x144)][_0x1037a6(0x171)]=_0x1037a6(0x180),_0x4325ee[_0x1037a6(0x144)][_0x1037a6(0x171)]=_0x1037a6(0x12e),this[_0x1037a6(0x1ab)]=!0x0,_0x3f2692));}[_0x5515c3(0x140)](_0x5d213f){const _0x4faa2d=_0x5515c3,_0x1e8242=this[_0x4faa2d(0x154)][_0x4faa2d(0x17b)][_0x4faa2d(0x1a4)](_0x4faa2d(0x178));return this[_0x4faa2d(0x154)][_0x4faa2d(0x17b)][_0x4faa2d(0x1a4)](_0x4faa2d(0x182))[_0x4faa2d(0x144)][_0x4faa2d(0x171)]=_0x4faa2d(0x12e),_0x1e8242[_0x4faa2d(0x144)][_0x4faa2d(0x171)]='',this[_0x4faa2d(0x1ab)]=!0x1,_0x5d213f[_0x4faa2d(0x1ba)]();}async[_0x5515c3(0x17a)](_0x4eacb2){const _0x485a1a=_0x5515c3,_0x432ac4=this[_0x485a1a(0x154)],_0x2b9734=this[_0x485a1a(0x17f)][_0x485a1a(0x1a0)][_0x485a1a(0x1a4)](_0x485a1a(0x15b)),_0x1f5a36=_0x432ac4[_0x485a1a(0x1a0)][_0x485a1a(0x1a4)](_0x485a1a(0x18f)),_0x48e6a6=_0x432ac4[_0x485a1a(0x1a0)][_0x485a1a(0x1a4)](_0x485a1a(0x14b)),_0x2ea7a5=_0x2b9734[_0x485a1a(0x139)][_0x485a1a(0x159)](_0x4eacb2);let _0x2a8561,_0x28a299,_0x5e3a1e;try{await _0x48e6a6[_0x485a1a(0x163)](_0x2ea7a5,this[_0x485a1a(0x16d)]),_0x2a8561=_0x48e6a6[_0x485a1a(0x1bc)](_0x2ea7a5),_0x28a299=_0x48e6a6[_0x485a1a(0x195)](_0x2ea7a5);}catch(_0xb9ac46){return void console[_0x485a1a(0x1af)](_0xb9ac46);}_0x432ac4[_0x485a1a(0x134)][_0x485a1a(0x1c2)](_0x2a67c0=>{const _0xa0dd4f=_0x485a1a;for(const _0x2ef5f8 of Array[_0xa0dd4f(0x13a)](_0x432ac4[_0xa0dd4f(0x134)][_0xa0dd4f(0x1a3)][_0xa0dd4f(0x174)](_0xa0dd4f(0x16f))))_0x2a67c0[_0xa0dd4f(0x136)](_0x2ef5f8);}),_0x2b9734[_0x485a1a(0x15f)]=!0x1,_0x432ac4[_0x485a1a(0x134)][_0x485a1a(0x17c)](_0x2c0f4e=>{const _0x358081=_0x485a1a;_0x2c0f4e[_0x358081(0x12f)](null),_0x2c0f4e[_0x358081(0x17e)](_0x432ac4[_0x358081(0x134)][_0x358081(0x1a9)][_0x358081(0x130)][_0x358081(0x157)]());const _0x3e9926=Object[_0x358081(0x199)](_0x2a8561);for(const _0xe92089 of _0x432ac4[_0x358081(0x134)][_0x358081(0x1a9)][_0x358081(0x132)])_0x358081(0x161)!=_0xe92089[_0x358081(0x1ac)]&&_0xe92089[_0x358081(0x176)]()&&!_0x3e9926[_0x358081(0x133)](_0xe92089[_0x358081(0x1ac)])&&_0x2c0f4e[_0x358081(0x192)](_0xe92089);for(const _0x2124c4 of _0x3e9926){let _0x3e9117=_0x432ac4[_0x358081(0x134)][_0x358081(0x1a9)][_0x358081(0x18e)](_0x2124c4);_0x3e9117&&_0x3e9117[_0x358081(0x176)]()||(_0x3e9117=_0x2c0f4e[_0x358081(0x13e)](_0x2124c4));const _0x33d1dc=_0x28a299[_0x2124c4],_0x2d1097=Object[_0x358081(0x199)](_0x33d1dc),_0x59df9a=_0x2a8561[_0x2124c4];for(const _0x3ffa94 of _0x3e9117[_0x358081(0x157)]())_0x2d1097[_0x358081(0x133)](_0x3ffa94)||_0x2c0f4e[_0x358081(0x1a5)](_0x3ffa94,_0x3e9117);for(const _0x474898 of _0x2d1097)_0x2c0f4e[_0x358081(0x12c)](_0x474898,_0x28a299[_0x2124c4][_0x474898],_0x3e9117);_0x2c0f4e[_0x358081(0x18a)](_0x2c0f4e[_0x358081(0x149)](_0x3e9117)),_0x2c0f4e[_0x358081(0x129)](_0x432ac4[_0x358081(0x147)][_0x358081(0x1b2)](_0x59df9a,_0x3e9117),_0x3e9117,0x0);}});const _0x387551=_0x1c9f05(_0x432ac4[_0x485a1a(0x17d)],_0x485a1a(0x15c));if(_0x2ea7a5[_0x485a1a(0x1ae)])_0x5e3a1e=-0x1==_0x2ea7a5[_0x485a1a(0x1ae)][_0x485a1a(0x1b7)](_0x387551)?_0x387551+':\x20'+_0x2ea7a5[_0x485a1a(0x1ae)]:_0x2ea7a5[_0x485a1a(0x1ae)];else _0x5e3a1e=_0x387551+':\x20'+(_0x2ea7a5[_0x485a1a(0x1c1)][_0x485a1a(0x168)](_0x432ac4[_0x485a1a(0x17d)][_0x485a1a(0x14f)],{'month':_0x485a1a(0x1b6),'day':_0x485a1a(0x13d)})+',\x20'+_0x2ea7a5[_0x485a1a(0x1c1)][_0x485a1a(0x13b)](_0x432ac4[_0x485a1a(0x17d)][_0x485a1a(0x14f)],{'hour':_0x485a1a(0x13d),'minute':_0x485a1a(0x13d)}));return await _0x1f5a36[_0x485a1a(0x160)]({'name':_0x5e3a1e}),_0x2b9734[_0x485a1a(0x15f)]=!0x0,_0x432ac4[_0x485a1a(0x17b)][_0x485a1a(0x1a4)](_0x485a1a(0x194))[_0x485a1a(0x135)]();}}