@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250627.0 → 0.0.0-nightly-20250628.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.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5a8b30=>{const {vi:{dictionary:_0x3538a2,getPluralForm:_0x414cc0}}={'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':_0x1b2762=>0x0}};_0x5a8b30['vi']||={'dictionary':{},'getPluralForm':null},_0x5a8b30['vi']['dictionary']=Object['assign'](_0x5a8b30['vi']['dictionary'],_0x3538a2),_0x5a8b30['vi']['getPluralForm']=_0x414cc0;})(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':
|
|
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':_0x6e8668=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x50c24b=>{const {'zh-cn':{dictionary:_0x483c25,getPluralForm:_0x18c106}}={'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':_0x1ef8e3=>0x0}};_0x50c24b['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x50c24b['zh-cn']['dictionary']=Object['assign'](_0x50c24b['zh-cn']['dictionary'],_0x483c25),_0x50c24b['zh-cn']['getPluralForm']=_0x18c106;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -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':
|
|
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':_0x40e2ce=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x6780fd=>{const {zh:{dictionary:_0x3b5645,getPluralForm:_0x2a1118}}={'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':_0x26a681=>0x0}};_0x6780fd['zh']||={'dictionary':{},'getPluralForm':null},_0x6780fd['zh']['dictionary']=Object['assign'](_0x6780fd['zh']['dictionary'],_0x3b5645),_0x6780fd['zh']['getPluralForm']=_0x2a1118;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250628.0",
|
|
4
4
|
"description": "Document revision history feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-autosave": "0.0.0-nightly-
|
|
43
|
-
"@ckeditor/ckeditor5-comments": "0.0.0-nightly-
|
|
44
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
45
|
-
"@ckeditor/ckeditor5-editor-classic": "0.0.0-nightly-
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
47
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
48
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
49
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "0.0.0-nightly-20250628.0",
|
|
43
|
+
"@ckeditor/ckeditor5-comments": "0.0.0-nightly-20250628.0",
|
|
44
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250628.0",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-classic": "0.0.0-nightly-20250628.0",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250628.0",
|
|
47
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250628.0",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250628.0",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250628.0",
|
|
50
50
|
"@types/luxon": "3.6.2",
|
|
51
|
-
"ckeditor5": "0.0.0-nightly-
|
|
52
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
51
|
+
"ckeditor5": "0.0.0-nightly-20250628.0",
|
|
52
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20250628.0",
|
|
53
53
|
"es-toolkit": "1.38.0",
|
|
54
54
|
"luxon": "3.6.1"
|
|
55
55
|
},
|
package/src/changeitem.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
24
|
-
|
|
23
|
+
var _0x1547cb=_0xd122;function _0xd122(_0x43a0e8,_0x42516e){var _0x415319=_0x4153();return _0xd122=function(_0xd122b0,_0x174b0e){_0xd122b0=_0xd122b0-0x109;var _0x4ad461=_0x415319[_0xd122b0];return _0x4ad461;},_0xd122(_0x43a0e8,_0x42516e);}function _0x4153(){var _0x2fd70e=['315gaTKjC','data','9312TnZmPt','1ikmjIM','rootName','type','87241BLodGE','657178fiylCo','2765yxKMkq','20118tIKuZS','2308205wmCtHi','set','6zhlaKX','author','createdAt','toJSON','96SZwIZw','16041300kHiQrq','57550aWTSrV'];_0x4153=function(){return _0x2fd70e;};return _0x4153();}(function(_0x5046c5,_0x131a9f){var _0x2b7fbb=_0xd122,_0x311c67=_0x5046c5();while(!![]){try{var _0xdd0c95=-parseInt(_0x2b7fbb(0x109))/0x1*(parseInt(_0x2b7fbb(0x10d))/0x2)+parseInt(_0x2b7fbb(0x10f))/0x3*(parseInt(_0x2b7fbb(0x116))/0x4)+-parseInt(_0x2b7fbb(0x110))/0x5*(parseInt(_0x2b7fbb(0x112))/0x6)+-parseInt(_0x2b7fbb(0x10e))/0x7*(parseInt(_0x2b7fbb(0x11b))/0x8)+-parseInt(_0x2b7fbb(0x119))/0x9*(-parseInt(_0x2b7fbb(0x118))/0xa)+parseInt(_0x2b7fbb(0x10c))/0xb+parseInt(_0x2b7fbb(0x117))/0xc;if(_0xdd0c95===_0x131a9f)break;else _0x311c67['push'](_0x311c67['shift']());}catch(_0x11a22b){_0x311c67['push'](_0x311c67['shift']());}}}(_0x4153,0x6f969));import{ObservableMixin as _0x5df02b,uid as _0x2a7b34}from'ckeditor5/src/utils.js';export class ChangeItem extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5df02b(){['id'];[_0x1547cb(0x113)];[_0x1547cb(0x10b)];[_0x1547cb(0x11a)];[_0x1547cb(0x10a)];constructor(_0x20d612){var _0xab22e9=_0x1547cb;super(),this['id']=_0x20d612['id']||_0x2a7b34(),this[_0xab22e9(0x113)]=_0x20d612[_0xab22e9(0x113)],this[_0xab22e9(0x10b)]=_0x20d612[_0xab22e9(0x10b)],this[_0xab22e9(0x11a)]=_0x20d612[_0xab22e9(0x11a)]||{},this[_0xab22e9(0x10a)]=_0x20d612[_0xab22e9(0x10a)],this[_0xab22e9(0x111)](_0xab22e9(0x114),_0x20d612[_0xab22e9(0x114)]);}[_0x1547cb(0x115)](){var _0x3465ca=_0x1547cb;return{'id':this['id'],'authorId':this[_0x3465ca(0x113)]['id'],'type':this[_0x3465ca(0x10b)],'data':this[_0x3465ca(0x11a)],'createdAt':this[_0x3465ca(0x114)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x17c0d8=_0x5138;(function(_0x37341a,_0x2fa5fe){const _0x165e41=_0x5138,_0x327b70=_0x37341a();while(!![]){try{const _0x2fa15a=-parseInt(_0x165e41(0x1c0))/0x1*(parseInt(_0x165e41(0x1b6))/0x2)+-parseInt(_0x165e41(0x1a7))/0x3+-parseInt(_0x165e41(0x1a9))/0x4+-parseInt(_0x165e41(0x1c3))/0x5*(-parseInt(_0x165e41(0x1b0))/0x6)+parseInt(_0x165e41(0x1b4))/0x7*(parseInt(_0x165e41(0x1ac))/0x8)+parseInt(_0x165e41(0x1bf))/0x9*(-parseInt(_0x165e41(0x1ad))/0xa)+parseInt(_0x165e41(0x1ba))/0xb*(parseInt(_0x165e41(0x1bc))/0xc);if(_0x2fa15a===_0x2fa5fe)break;else _0x327b70['push'](_0x327b70['shift']());}catch(_0x375e96){_0x327b70['push'](_0x327b70['shift']());}}}(_0x28d5,0x8e21e));import{Editor as _0xb733c3,ElementApiMixin as _0xd688e2}from'ckeditor5/src/core.js';import{RevisionViewerEditorUI as _0x3002df}from'./revisionviewereditorui.js';import{RevisionViewerEditorUIView as _0x436eb2}from'./revisionviewereditoruiview.js';function _0x5138(_0x159afa,_0x31590a){const _0x28d585=_0x28d5();return _0x5138=function(_0x5138cd,_0x447416){_0x5138cd=_0x5138cd-0x1a5;let _0x406fef=_0x28d585[_0x5138cd];return _0x406fef;},_0x5138(_0x159afa,_0x31590a);}export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xd688e2(_0xb733c3){[_0x17c0d8(0x1c1)];get['ui'](){const _0x46753b=_0x17c0d8;return this[_0x46753b(0x1c1)];}constructor(_0x3ba08a,_0xcd04ac){const _0x4500a7=_0x17c0d8;super(_0xcd04ac),this[_0x4500a7(0x1bd)]=_0x3ba08a,this[_0x4500a7(0x1a6)][_0x4500a7(0x1b5)][_0x4500a7(0x1b1)]();const _0x4ded97=new _0x436eb2(this[_0x4500a7(0x1b9)],this[_0x4500a7(0x1ab)][_0x4500a7(0x1b7)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x4500a7(0x1c1)]=new _0x3002df(this,_0x4ded97);}[_0x17c0d8(0x1b8)](){const _0x2c6846=_0x17c0d8;return this[_0x2c6846(0x1a8)](),this['ui'][_0x2c6846(0x1b8)](),super[_0x2c6846(0x1b8)]();}static async[_0x17c0d8(0x1b3)](_0x585e9c,_0x438521){const _0x1bceaf=_0x17c0d8,_0x411f2e=new this(_0x585e9c,_0x438521);return await _0x411f2e[_0x1bceaf(0x1b2)](),await _0x411f2e['ui'][_0x1bceaf(0x1be)](_0x585e9c),await _0x411f2e[_0x1bceaf(0x1aa)][_0x1bceaf(0x1be)](_0x411f2e[_0x1bceaf(0x1a5)][_0x1bceaf(0x1bb)](_0x1bceaf(0x1ae))||''),_0x411f2e[_0x1bceaf(0x1c2)](_0x1bceaf(0x1af)),_0x411f2e;}}function _0x28d5(){const _0x1645cc=['26102256PgcfhN','sourceElement','init','8091ariLXC','8914kGDPJU','_ui','fire','25auAMiY','config','model','3069894KGUOID','updateSourceElement','3794484HRxGLT','data','editing','1003440iIzOLJ','10030iqvAYT','initialData','ready','708504lRRUCe','createRoot','initPlugins','create','42kfgtWx','document','14fLLVvZ','view','destroy','locale','11rHPZXV','get'];_0x28d5=function(){return _0x1645cc;};return _0x28d5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x506e0c=_0x5790;(function(_0x1702cc,_0x487af6){const _0x33966e=_0x5790,_0x39abef=_0x1702cc();while(!![]){try{const _0x2044a4=parseInt(_0x33966e(0xea))/0x1*(parseInt(_0x33966e(0xda))/0x2)+parseInt(_0x33966e(0x100))/0x3+-parseInt(_0x33966e(0xe9))/0x4*(-parseInt(_0x33966e(0xfb))/0x5)+parseInt(_0x33966e(0xf3))/0x6*(parseInt(_0x33966e(0x101))/0x7)+parseInt(_0x33966e(0xe1))/0x8+-parseInt(_0x33966e(0xdf))/0x9+-parseInt(_0x33966e(0xf0))/0xa*(-parseInt(_0x33966e(0xd7))/0xb);if(_0x2044a4===_0x487af6)break;else _0x39abef['push'](_0x39abef['shift']());}catch(_0x2d0c1e){_0x39abef['push'](_0x39abef['shift']());}}}(_0x5557,0xdcdc0));function _0x5790(_0x57c869,_0x534b37){const _0x5557f1=_0x5557();return _0x5790=function(_0x5790e7,_0x334f43){_0x5790e7=_0x5790e7-0xd2;let _0x396130=_0x5557f1[_0x5790e7];return _0x396130;},_0x5790(_0x57c869,_0x534b37);}import{EditorUI as _0x20d71a,normalizeToolbarConfig as _0x26dfe4}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x3178f1}from'ckeditor5/src/utils.js';function _0x5557(){const _0x9436d4=['editing','530352fbVcTI','config','view','render','name','attachDomRoot','document','toolbar','140hQthOq','159097nPTAmq','fire','editor','componentFactory','get','getRoot','90LRFbLt','detachDomRoot','_view','1484652bipgMT','fillFromConfig','destroy','addToolbar','stickyPanel','bind','isFocused','_initToolbar','11935totyyH','setEditableElement','focusTracker','init','viewportTopOffset','657246BWpzic','42iEieMK','restore','limiterElement','ready','editable','isActive','51227wqHNsX','_elementReplacer','rootName','4kbahfd','element','replace','viewportOffset','_toolbarConfig','11781360TvLAGd'];_0x5557=function(){return _0x9436d4;};return _0x5557();}export class RevisionViewerEditorUI extends _0x20d71a{[_0x506e0c(0xf2)];[_0x506e0c(0xde)];[_0x506e0c(0xd8)];get[_0x506e0c(0xe3)](){const _0x5d0131=_0x506e0c;return this[_0x5d0131(0xf2)];}constructor(_0x3a080f,_0x4f9c33){const _0x2c9803=_0x506e0c;super(_0x3a080f),this[_0x2c9803(0xf2)]=_0x4f9c33,this[_0x2c9803(0xde)]=_0x26dfe4(_0x3a080f[_0x2c9803(0xe2)][_0x2c9803(0xee)](_0x2c9803(0xe8))),this[_0x2c9803(0xd8)]=new _0x3178f1();}get[_0x506e0c(0xdb)](){const _0x54299c=_0x506e0c;return this[_0x54299c(0xe3)][_0x54299c(0xdb)];}[_0x506e0c(0xfe)](_0x451b3a){const _0x47c6fb=_0x506e0c,_0x577a3b=this[_0x47c6fb(0xec)],_0x4ff265=this[_0x47c6fb(0xe3)],_0x219e92=_0x577a3b[_0x47c6fb(0xe0)][_0x47c6fb(0xe3)],_0x1d790f=_0x4ff265[_0x47c6fb(0xd5)],_0x3f5863=_0x219e92[_0x47c6fb(0xe7)][_0x47c6fb(0xef)]();_0x1d790f[_0x47c6fb(0xe5)]=_0x3f5863[_0x47c6fb(0xd9)],_0x4ff265[_0x47c6fb(0xe4)]();const _0x43d1ec=_0x1d790f[_0x47c6fb(0xdb)];this[_0x47c6fb(0xfc)](_0x1d790f[_0x47c6fb(0xe5)],_0x43d1ec),_0x4ff265[_0x47c6fb(0xd5)][_0x47c6fb(0xf8)](_0x47c6fb(0xf9))['to'](this[_0x47c6fb(0xfd)]),_0x219e92[_0x47c6fb(0xe6)](_0x43d1ec),this[_0x47c6fb(0xd8)][_0x47c6fb(0xdc)](_0x451b3a,this[_0x47c6fb(0xdb)]),this[_0x47c6fb(0xfa)](),this[_0x47c6fb(0xeb)](_0x47c6fb(0xd4));}[_0x506e0c(0xf5)](){const _0x199f65=_0x506e0c;super[_0x199f65(0xf5)]();const _0x2d3241=this[_0x199f65(0xe3)],_0x37b7e9=this[_0x199f65(0xec)][_0x199f65(0xe0)][_0x199f65(0xe3)];this[_0x199f65(0xd8)][_0x199f65(0xd2)](),_0x37b7e9[_0x199f65(0xf1)](_0x2d3241[_0x199f65(0xd5)][_0x199f65(0xe5)]),_0x2d3241[_0x199f65(0xf5)]();}[_0x506e0c(0xfa)](){const _0x483bd0=_0x506e0c,_0x36e490=this[_0x483bd0(0xe3)];_0x36e490[_0x483bd0(0xf7)][_0x483bd0(0xf8)](_0x483bd0(0xd6))['to'](this[_0x483bd0(0xfd)],_0x483bd0(0xf9)),_0x36e490[_0x483bd0(0xf7)][_0x483bd0(0xd3)]=_0x36e490[_0x483bd0(0xdb)],_0x36e490[_0x483bd0(0xf7)][_0x483bd0(0xf8)](_0x483bd0(0xff))['to'](this,_0x483bd0(0xdd),({top:_0x1a1b3e})=>_0x1a1b3e),_0x36e490[_0x483bd0(0xe8)][_0x483bd0(0xf4)](this[_0x483bd0(0xde)],this[_0x483bd0(0xed)]),this[_0x483bd0(0xf6)](_0x36e490[_0x483bd0(0xe8)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x13c3b0=_0x7f6e;function _0x7f6e(_0x466a8f,_0xf11ce1){var _0x4ea11f=_0x4ea1();return _0x7f6e=function(_0x7f6ea8,_0x32aa6b){_0x7f6ea8=_0x7f6ea8-0x157;var _0x1632dc=_0x4ea11f[_0x7f6ea8];return _0x1632dc;},_0x7f6e(_0x466a8f,_0xf11ce1);}(function(_0x34c8ed,_0x1ebc58){var _0x5a6f43=_0x7f6e,_0x101feb=_0x34c8ed();while(!![]){try{var _0x2db934=parseInt(_0x5a6f43(0x15f))/0x1+-parseInt(_0x5a6f43(0x165))/0x2*(parseInt(_0x5a6f43(0x16b))/0x3)+-parseInt(_0x5a6f43(0x169))/0x4*(-parseInt(_0x5a6f43(0x163))/0x5)+parseInt(_0x5a6f43(0x168))/0x6+-parseInt(_0x5a6f43(0x158))/0x7*(-parseInt(_0x5a6f43(0x15e))/0x8)+-parseInt(_0x5a6f43(0x162))/0x9+parseInt(_0x5a6f43(0x15d))/0xa*(parseInt(_0x5a6f43(0x157))/0xb);if(_0x2db934===_0x1ebc58)break;else _0x101feb['push'](_0x101feb['shift']());}catch(_0x110f01){_0x101feb['push'](_0x101feb['shift']());}}}(_0x4ea1,0x9449f));import{BoxedEditorUIView as _0x4e9cba,InlineEditableUIView as _0x422aae,StickyPanelView as _0x212e7a,ToolbarView as _0x74a819}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export class RevisionViewerEditorUIView extends _0x4e9cba{[_0x13c3b0(0x166)];[_0x13c3b0(0x15c)];[_0x13c3b0(0x15b)];get[_0x13c3b0(0x167)](){var _0x5e6401=_0x13c3b0;return this[_0x5e6401(0x166)];}constructor(_0x223ff3,_0x3d6fcb,_0x13d345={}){var _0x277bfe=_0x13c3b0;super(_0x223ff3),this[_0x277bfe(0x15c)]=new _0x212e7a(_0x223ff3),this[_0x277bfe(0x15b)]=new _0x74a819(_0x223ff3,{'shouldGroupWhenFull':_0x13d345[_0x277bfe(0x159)]}),this[_0x277bfe(0x166)]=new _0x422aae(_0x223ff3,_0x3d6fcb);}[_0x13c3b0(0x160)](){var _0xc45a12=_0x13c3b0;super[_0xc45a12(0x160)](),this[_0xc45a12(0x15c)][_0xc45a12(0x161)][_0xc45a12(0x16a)](this[_0xc45a12(0x15b)]),this[_0xc45a12(0x15a)][_0xc45a12(0x16a)](this[_0xc45a12(0x15c)]),this[_0xc45a12(0x164)][_0xc45a12(0x16a)](this[_0xc45a12(0x167)]);}}function _0x4ea1(){var _0x155ec5=['970270kuWWeA','main','2672romqPL','_editable','editable','3066900SwnXlZ','12NijzDR','add','2157DFFfBR','5599231yifnhJ','14mrUUsI','shouldToolbarGroupWhenFull','top','toolbar','stickyPanel','10cgocZG','1972720ENtoTE','258131RXTsMB','render','content','7071021MDBrsM'];_0x4ea1=function(){return _0x155ec5;};return _0x4ea1();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x313e(){var _0x1720ae=['2067538lJiBqO','5377PfoNxR','24WTtFwj','13480KKgeox','5135530kMNFfV','47655ZUcYhF','1755558alFFdH','608132toMYxs','2037JHoUEr','3cyuZfv','36CgrLzN','114IODRIc'];_0x313e=function(){return _0x1720ae;};return _0x313e();}(function(_0x102285,_0x8226d8){var _0x12165f=_0x6e74,_0x50b95b=_0x102285();while(!![]){try{var _0x5cec7a=parseInt(_0x12165f(0x130))/0x1*(-parseInt(_0x12165f(0x12e))/0x2)+-parseInt(_0x12165f(0x138))/0x3*(-parseInt(_0x12165f(0x136))/0x4)+parseInt(_0x12165f(0x134))/0x5*(parseInt(_0x12165f(0x131))/0x6)+parseInt(_0x12165f(0x137))/0x7*(-parseInt(_0x12165f(0x132))/0x8)+-parseInt(_0x12165f(0x135))/0x9+parseInt(_0x12165f(0x133))/0xa+parseInt(_0x12165f(0x12f))/0xb*(parseInt(_0x12165f(0x139))/0xc);if(_0x5cec7a===_0x8226d8)break;else _0x50b95b['push'](_0x50b95b['shift']());}catch(_0x401f77){_0x50b95b['push'](_0x50b95b['shift']());}}}(_0x313e,0x434f2));export{Revision}from'./revision.js';export{RevisionHistory}from'./revisionhistory.js';export{RevisionsRepository}from'./revisionsrepository.js';export{RevisionHistoryUtils}from'./revisionhistoryutils.js';function _0x6e74(_0x357d7f,_0x385876){var _0x313e62=_0x313e();return _0x6e74=function(_0x6e74b6,_0x4f80cf){_0x6e74b6=_0x6e74b6-0x12e;var _0x16b3d1=_0x313e62[_0x6e74b6];return _0x16b3d1;},_0x6e74(_0x357d7f,_0x385876);}export{RevisionViewerLoadingOverlay}from'./ui/revisionviewer/revisionviewerloadingoverlay.js';export{RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';export{RevisionTracker}from'./revisiontracker.js';export{RevisionViewer,RestoreRevisionCommand,ShowChangeCommand}from'./revisionviewer.js';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.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x2145(_0x58eaf1,_0x506564){const _0x1c0659=_0x1c06();return _0x2145=function(_0x21456f,_0x4be5cd){_0x21456f=_0x21456f-0x7a;let _0x55059f=_0x1c0659[_0x21456f];return _0x55059f;},_0x2145(_0x58eaf1,_0x506564);}const _0x368860=_0x2145;(function(_0x5030eb,_0x2021eb){const _0x49f32a=_0x2145,_0x1fe0b0=_0x5030eb();while(!![]){try{const _0x241c57=parseInt(_0x49f32a(0x86))/0x1*(-parseInt(_0x49f32a(0x94))/0x2)+parseInt(_0x49f32a(0x96))/0x3+-parseInt(_0x49f32a(0x7d))/0x4*(parseInt(_0x49f32a(0x8c))/0x5)+-parseInt(_0x49f32a(0x85))/0x6*(-parseInt(_0x49f32a(0x93))/0x7)+parseInt(_0x49f32a(0x89))/0x8+-parseInt(_0x49f32a(0x88))/0x9+parseInt(_0x49f32a(0x8f))/0xa*(-parseInt(_0x49f32a(0x92))/0xb);if(_0x241c57===_0x2021eb)break;else _0x1fe0b0['push'](_0x1fe0b0['shift']());}catch(_0x399310){_0x1fe0b0['push'](_0x1fe0b0['shift']());}}}(_0x1c06,0x693ff));import{ObservableMixin as _0x3a4dd1,uid as _0x31d8be}from'ckeditor5/src/utils.js';function _0x1c06(){const _0x3fff9d=['2GLaNQN','name','432216ErJRcy','setName','authorsIds','attributes','setAttribute','1252372yUVpCH','set','diffData','fire','creator','authors','creatorId','_update','6xllEcq','348173AvRsCw','removeAttribute','109458qyyUOc','5198216FubpoC','toJSON','createdAt','5FXMYkz','map','model','150kutddX','fromVersion','toVersion','326183iqgjru','5288339ZdMIKo'];_0x1c06=function(){return _0x3fff9d;};return _0x1c06();}import{cloneDeep as _0x123326,set as _0x3ad2f6,unset as _0x4b3c3f}from'es-toolkit/compat';export class Revision extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3a4dd1(){['id'];[_0x368860(0x81)];[_0x368860(0x82)];[_0x368860(0x7f)];[_0x368860(0x91)];[_0x368860(0x90)];[_0x368860(0x8e)];constructor(_0x3f6af1){const _0xbe0fbe=_0x368860;super(),this['id']=_0x3f6af1['id']||_0x31d8be(),this[_0xbe0fbe(0x81)]=_0x3f6af1[_0xbe0fbe(0x81)]||null,this[_0xbe0fbe(0x82)]=_0x3f6af1[_0xbe0fbe(0x82)]||[],this[_0xbe0fbe(0x7f)]=_0x3f6af1[_0xbe0fbe(0x7f)]||null,this[_0xbe0fbe(0x91)]=_0x3f6af1[_0xbe0fbe(0x91)]||0x0,this[_0xbe0fbe(0x90)]=_0x3f6af1[_0xbe0fbe(0x90)]||0x0,this[_0xbe0fbe(0x7e)](_0xbe0fbe(0x95),_0x3f6af1[_0xbe0fbe(0x95)]||''),this[_0xbe0fbe(0x7e)](_0xbe0fbe(0x8b),_0x3f6af1[_0xbe0fbe(0x8b)]||new Date()),this[_0xbe0fbe(0x7e)](_0xbe0fbe(0x7b),_0x3f6af1[_0xbe0fbe(0x7b)]||{});}[_0x368860(0x97)](_0x22595f){const _0x346e4d=_0x368860;this[_0x346e4d(0x84)]({'name':_0x22595f});}[_0x368860(0x7c)](_0x245e1f,_0x3adee5){const _0x3e3641=_0x368860,_0x361d7e=_0x123326(this[_0x3e3641(0x7b)]);_0x3ad2f6(_0x361d7e,_0x245e1f,_0x3adee5),this[_0x3e3641(0x84)]({'attributes':_0x361d7e});}[_0x368860(0x87)](_0xab0ae7){const _0x9bfc43=_0x368860,_0x1ac49d=_0x123326(this[_0x9bfc43(0x7b)]);_0x4b3c3f(_0x1ac49d,_0xab0ae7),this[_0x9bfc43(0x84)]({'attributes':_0x1ac49d});}[_0x368860(0x84)](_0x535ee1,_0x5262f5=!0x1){const _0x3ac7eb=_0x368860;let _0x5a2576=!0x1;const _0x3fecdf={'id':this['id']},_0x5d0e17=[_0x3ac7eb(0x95),_0x3ac7eb(0x8b),_0x3ac7eb(0x7f),_0x3ac7eb(0x82),_0x3ac7eb(0x7b),_0x3ac7eb(0x91),_0x3ac7eb(0x90),_0x3ac7eb(0x83)];for(const _0x1d7b40 of _0x5d0e17){const _0x37b6a8=_0x535ee1[_0x1d7b40];void 0x0!==_0x37b6a8&&_0x37b6a8!==this[_0x1d7b40]&&(this[_0x1d7b40]=_0x37b6a8,_0x3fecdf[_0x1d7b40]=_0x37b6a8,_0x5a2576=!0x0);}_0x5a2576&&(_0x3fecdf[_0x3ac7eb(0x82)]&&(_0x3fecdf[_0x3ac7eb(0x7a)]=_0x3fecdf[_0x3ac7eb(0x82)][_0x3ac7eb(0x8d)](_0xbc16a5=>_0xbc16a5['id']),delete _0x3fecdf[_0x3ac7eb(0x82)]),this[_0x3ac7eb(0x80)](_0x3ac7eb(0x84),_0x3fecdf,_0x5262f5));}[_0x368860(0x8a)](){const _0x4c320e=_0x368860;return{'id':this['id'],'name':this[_0x4c320e(0x95)],'creatorId':this[_0x4c320e(0x81)]?this[_0x4c320e(0x81)]['id']:null,'authorsIds':this[_0x4c320e(0x82)][_0x4c320e(0x8d)](_0x5ea26c=>_0x5ea26c['id']),'diffData':this[_0x4c320e(0x7f)],'createdAt':this[_0x4c320e(0x8b)],'attributes':this[_0x4c320e(0x7b)],'fromVersion':this[_0x4c320e(0x90)],'toVersion':this[_0x4c320e(0x91)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4e1e(_0x2d264e,_0x3a288a){const _0x654bbc=_0x654b();return _0x4e1e=function(_0x4e1e5f,_0x657f2){_0x4e1e5f=_0x4e1e5f-0x16e;let _0x3b503c=_0x654bbc[_0x4e1e5f];return _0x3b503c;},_0x4e1e(_0x2d264e,_0x3a288a);}const _0x2ecbe9=_0x4e1e;function _0x654b(){const _0x12e314=['149390ZzhkuL','add','_setChanges','8ACEGMQ','13nctLxX','oldRevisionId','1541080YrflNj','7sRmSwq','1033428nyCcxi','21005NhSMCV','39317tlxXZe','2883llriuq','changes','78FhbQcs','36WcQICA','2956212GLJawH','newRevisionId','796Chjzgl'];_0x654b=function(){return _0x12e314;};return _0x654b();}(function(_0x245e2f,_0x9f6753){const _0x4f6baf=_0x4e1e,_0x27a27c=_0x245e2f();while(!![]){try{const _0x3e8f26=-parseInt(_0x4f6baf(0x174))/0x1*(parseInt(_0x4f6baf(0x17f))/0x2)+parseInt(_0x4f6baf(0x175))/0x3*(-parseInt(_0x4f6baf(0x17b))/0x4)+-parseInt(_0x4f6baf(0x173))/0x5*(-parseInt(_0x4f6baf(0x177))/0x6)+-parseInt(_0x4f6baf(0x171))/0x7*(-parseInt(_0x4f6baf(0x170))/0x8)+parseInt(_0x4f6baf(0x178))/0x9*(parseInt(_0x4f6baf(0x17c))/0xa)+-parseInt(_0x4f6baf(0x172))/0xb+-parseInt(_0x4f6baf(0x179))/0xc*(-parseInt(_0x4f6baf(0x16e))/0xd);if(_0x3e8f26===_0x9f6753)break;else _0x27a27c['push'](_0x27a27c['shift']());}catch(_0x5cf634){_0x27a27c['push'](_0x27a27c['shift']());}}}(_0x654b,0x1b134));import{Collection as _0x43facc}from'ckeditor5/src/utils.js';export class RevisionDiff{[_0x2ecbe9(0x17a)];[_0x2ecbe9(0x16f)];[_0x2ecbe9(0x176)];constructor(_0xd145ea,_0x1a8198){const _0x564321=_0x2ecbe9;this[_0x564321(0x17a)]=_0xd145ea,this[_0x564321(0x16f)]=_0x1a8198,this[_0x564321(0x176)]=new _0x43facc();}[_0x2ecbe9(0x17e)](_0xe1ad08){const _0x7f688c=_0x2ecbe9;for(const _0x43fb97 of _0xe1ad08)this[_0x7f688c(0x176)][_0x7f688c(0x17d)](_0x43fb97);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x30b83b=_0x579b;(function(_0x249f41,_0xa8dcfa){const _0xe83b81=_0x579b,_0x4369db=_0x249f41();while(!![]){try{const _0x245262=parseInt(_0xe83b81(0x204))/0x1+parseInt(_0xe83b81(0x22d))/0x2*(-parseInt(_0xe83b81(0x1b5))/0x3)+-parseInt(_0xe83b81(0x231))/0x4*(-parseInt(_0xe83b81(0x215))/0x5)+-parseInt(_0xe83b81(0x1b3))/0x6*(-parseInt(_0xe83b81(0x1be))/0x7)+-parseInt(_0xe83b81(0x1e0))/0x8*(-parseInt(_0xe83b81(0x1e7))/0x9)+parseInt(_0xe83b81(0x1d0))/0xa*(parseInt(_0xe83b81(0x1ac))/0xb)+parseInt(_0xe83b81(0x224))/0xc*(-parseInt(_0xe83b81(0x201))/0xd);if(_0x245262===_0xa8dcfa)break;else _0x4369db['push'](_0x4369db['shift']());}catch(_0x56eec2){_0x4369db['push'](_0x4369db['shift']());}}}(_0x3435,0x69885));import{Plugin as _0x5db2e4}from'ckeditor5/src/core.js';import{CKEditorError as _0x3074a0,uid as _0x6321ce}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x746e4a}from'./revisiontracker.js';function _0x579b(_0x439260,_0x411291){const _0x343518=_0x3435();return _0x579b=function(_0x579beb,_0xad0fe7){_0x579beb=_0x579beb-0x19e;let _0x3e5a9b=_0x343518[_0x579beb];return _0x3e5a9b;},_0x579b(_0x439260,_0x411291);}import{RevisionHistoryUI as _0x5cb8c5}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x2c41f6}from'./revisionviewer.js';import{RevisionViewerUI as _0x477965}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x1eecd4}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x424ed1}from'./editor/revisionviewereditor.js';import{getTranslation as _0x19327e}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x376b62}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x30b83b(0x1aa),_0x30b83b(0x220)];export class RevisionViewerIntegration extends _0x5db2e4{[_0x30b83b(0x229)];static get[_0x30b83b(0x20f)](){const _0x1b2c18=_0x30b83b;return _0x1b2c18(0x235);}static get[_0x30b83b(0x211)](){return!0x0;}static get[_0x30b83b(0x1e2)](){return!0x0;}constructor(_0x4ec234){const _0x3fbe3b=_0x30b83b;function _0x41b20d(_0x2cb9ea){const _0x2b9c33=_0x579b;return _0x2cb9ea[_0x2b9c33(0x20a)](_0x46f664=>String[_0x2b9c33(0x222)](_0x46f664))[_0x2b9c33(0x1b9)]('');}super(_0x4ec234),this[_0x3fbe3b(0x229)]=_0x3fbe3b(0x1ca),_0x4ec234[_0x41b20d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41b20d([0x76,0x69,0x65,0x77])][_0x41b20d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x41b20d([0x61,0x75,0x74,0x6f]),_0x4ec234[_0x41b20d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x41b20d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x41b20d([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x41b20d([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x41b20d([0x6f,0x6b])});}}function _0x3435(){const _0xa4027d=['detachRoot','309886FlKUSQ','_getRevisionViewerEditorConfig','Autosave','users','105836Ywnsdy','isEnabled','style','changesNavigation','RevisionViewerIntegration','revisionHistory','name','view','locale','DocumentOutlineUI','revisionHistory.showRevisionViewerCallback','getUser','rootName','catch','_enhanceCloseRevisionViewerCallback','element','saveRevision','showRevisionViewerCallback','parse','fromVersion','RevisionHistoryUI','uiLanguage','439769mgvwno','selection','plugins','revisionHistory.requireRevisionName','destroy','display','removeSelectionAttribute','31974bEcYLE','addRevisionData','6LknzHL','_closeRevisionViewer','isReady','set','join','model','loadRevisionData','Annotations','isAnonymous','448slAikT','RevisionsRepository','getRoot','createdAt','indexOf','restoreRevision','config','getRevisionDocumentData','lazyRoots','adapter','removeMarker','isReadOnly','end','toolbar','_recalculatePageBreaks','get','repository','save','140edjqIP','RevisionHistory','define','toLocaleDateString','numeric','getRevision','then','change','_enhanceShowRevisionViewerCallback','toVersion','getMarkersGroup','createRangeIn','addRoot','DocumentOutline','removeAttribute','creator','2704EwChXp','translations','isPremiumPlugin','commands','document','Dialog','insert','13059HdlTCN','hide','$graveyard','revisionHistory.restoreRevisionCallback','enableReadOnlyMode','none','from','_restoreRevision','revisionHistory.closeRevisionViewerCallback','init','isRevisionViewerOpen','disableReadOnlyMode','isAttached','_showRevisionViewer','error','requires','_update','Users','setAttribute','includes','revisionHistory.viewerContainer','PaginationLookup','closeRevisionViewerCallback','_viewerEditor','update','revisionHistory.editorContainer','530907eElFvd','refreshVisibility','keys','96980nNbVwY','create','RevisionTracker','getRevisionRootsAttributes','bind','revision-history-missing-configuration','map','push','revision-history-viewer-opened','block','getAttributeKeys','pluginName','isOpen','isOfficialPlugin','addUser','refreshPositioning','exitToEditing','160xMVBqq','restrictedEditingException','toJSON','roots','getRevisions','has','data','setSelection','RevisionViewer','RevisionHistoryUtils','remove','RestrictedEditingMode','long','fromCharCode','revisionHistory.viewerEditorElement','468yDCIzG','markers','editor','enqueueChange','Restored','result','_cleanUp','toLocaleTimeString'];_0x3435=function(){return _0xa4027d;};return _0x3435();}export class RevisionHistory extends _0x5db2e4{[_0x30b83b(0x1fe)];static get[_0x30b83b(0x20f)](){const _0x1f3443=_0x30b83b;return _0x1f3443(0x1d1);}static get[_0x30b83b(0x211)](){return!0x0;}static get[_0x30b83b(0x1e2)](){return!0x0;}static get[_0x30b83b(0x1f6)](){return[_0x746e4a,_0x5cb8c5];}constructor(_0x211af9){const _0x552025=_0x30b83b;if(super(_0x211af9),!this[_0x552025(0x226)][_0x552025(0x1c4)][_0x552025(0x1cd)](_0x552025(0x236)))throw new _0x3074a0(_0x552025(0x209),this);this[_0x552025(0x1fe)]=null,this[_0x552025(0x1b8)](_0x552025(0x1f1),!0x1),this[_0x552025(0x226)][_0x552025(0x1c4)][_0x552025(0x1d2)](_0x552025(0x1a0),_0x213c2f=>this[_0x552025(0x1f4)]({..._0x213c2f,'translations':this[_0x552025(0x226)][_0x552025(0x19e)][_0x552025(0x1e1)]})),this[_0x552025(0x226)][_0x552025(0x1c4)][_0x552025(0x1d2)](_0x552025(0x1ef),_0x3c00f9=>this[_0x552025(0x1b6)](_0x3c00f9)),this[_0x552025(0x226)][_0x552025(0x1c4)][_0x552025(0x1d2)](_0x552025(0x1ea),_0x38eb9c=>this[_0x552025(0x1ee)](_0x38eb9c)),this[_0x552025(0x226)][_0x552025(0x1c4)][_0x552025(0x1d2)](_0x552025(0x1af),!0x1),this[_0x552025(0x1d8)](),this[_0x552025(0x1a4)]();}set[_0x30b83b(0x1c7)](_0xad6d9e){const _0xd496c7=_0x30b83b;this[_0xd496c7(0x226)][_0xd496c7(0x1ae)][_0xd496c7(0x1cd)](_0xd496c7(0x206))[_0xd496c7(0x1c7)]=_0xad6d9e;}get[_0x30b83b(0x1c7)](){const _0x1ecfea=_0x30b83b;return this[_0x1ecfea(0x226)][_0x1ecfea(0x1ae)][_0x1ecfea(0x1cd)](_0x1ecfea(0x206))[_0x1ecfea(0x1c7)];}[_0x30b83b(0x1b4)](_0x1b88e4){const _0x5850e1=_0x30b83b;return this[_0x5850e1(0x226)][_0x5850e1(0x1ae)][_0x5850e1(0x1cd)](_0x5850e1(0x206))[_0x5850e1(0x1b4)](_0x1b88e4);}[_0x30b83b(0x1d5)](_0xc4ae3b){const _0x2e2fa6=_0x30b83b;return this[_0x2e2fa6(0x226)][_0x2e2fa6(0x1ae)][_0x2e2fa6(0x1cd)](_0x2e2fa6(0x1bf))[_0x2e2fa6(0x1d5)](_0xc4ae3b);}[_0x30b83b(0x219)](_0x46e6c0){const _0x512126=_0x30b83b;return this[_0x512126(0x226)][_0x512126(0x1ae)][_0x512126(0x1cd)](_0x512126(0x1bf))[_0x512126(0x219)](_0x46e6c0||{'toJSON':!0x1});}[_0x30b83b(0x22e)](){const _0x3ec143=_0x30b83b,_0x5b1ce7=this[_0x3ec143(0x226)],_0x346869=_0x376b62(_0x5b1ce7,d),_0x366086=_0x5b1ce7[_0x3ec143(0x1ae)][_0x3ec143(0x1cd)](_0x3ec143(0x206)),_0x4f1789=_0x5b1ce7[_0x3ec143(0x1ae)][_0x3ec143(0x1cd)](_0x3ec143(0x1f8))[_0x3ec143(0x230)];return _0x346869[_0x3ec143(0x1cb)]=[_0x3ec143(0x214),_0x3ec143(0x1c3),_0x3ec143(0x234)],delete _0x346869[_0x3ec143(0x1c6)],(_0x346869[_0x3ec143(0x1ae)][_0x3ec143(0x20b)](RevisionViewerIntegration,_0x2c41f6,_0x477965,class extends _0x5db2e4{static get[_0x3ec143(0x1f6)](){const _0x4b24cc=_0x3ec143;return[_0x2c41f6,_0x4b24cc(0x1f8)];}[_0x3ec143(0x1f0)](){const _0xde9080=_0x3ec143,_0x5c503d=this[_0xde9080(0x226)][_0xde9080(0x1ae)][_0xde9080(0x1cd)](_0xde9080(0x1f8));for(const _0x4230a5 of _0x4f1789)_0x4230a5[_0xde9080(0x1bd)]||_0x5c503d[_0xde9080(0x1a1)](_0x4230a5['id'])||_0x5c503d[_0xde9080(0x212)](_0x4230a5);const _0x3eaf5c=_0x366086[_0xde9080(0x1ce)][_0xde9080(0x219)]();let _0x1d6a85=null;const _0x1bc836=this[_0xde9080(0x226)][_0xde9080(0x1ae)][_0xde9080(0x1cd)](_0xde9080(0x21d));_0x1bc836[_0xde9080(0x1c7)]=_0x366086[_0xde9080(0x1c7)],_0x1bc836[_0xde9080(0x208)](_0xde9080(0x232))['to'](_0x366086),this[_0xde9080(0x226)][_0xde9080(0x1e3)][_0xde9080(0x1cd)](_0xde9080(0x1c3))[_0xde9080(0x208)](_0xde9080(0x232))['to'](_0x5b1ce7,_0xde9080(0x1c9),_0x1e95e7=>!_0x1e95e7);for(const _0x448a16 of _0x3eaf5c){const _0x2a6c61=null===_0x448a16[_0xde9080(0x1df)];if(_0x2a6c61&&_0x448a16[_0xde9080(0x1d9)]===_0x448a16[_0xde9080(0x1a9)])continue;const _0xb09c0=_0x448a16[_0xde9080(0x217)]();_0x1bc836[_0xde9080(0x1b4)](_0xb09c0,(_0x20b1cd,_0x38cd6e,_0x5c159a)=>{const _0x451cfd=_0xde9080;if(_0x2a6c61){if(_0x1d6a85)_0x1d6a85[_0x451cfd(0x1f7)](_0x20b1cd,_0x38cd6e);else{if(!_0x38cd6e){const _0x44a642=_0x5c159a[_0x451cfd(0x217)]();_0x44a642['id']=_0x6321ce(),_0x366086[_0x451cfd(0x1a6)](_0x44a642,_0x5c159a[_0x451cfd(0x1d9)])[_0x451cfd(0x1d6)](_0x5f150d=>{_0x1d6a85=_0x5f150d;});}}}else _0x448a16[_0x451cfd(0x1f7)](_0x20b1cd,_0x38cd6e);});}}},_0x1eecd4),_0x346869);}[_0x30b83b(0x1d8)](){const _0x692e8f=_0x30b83b,_0x2d1355=this[_0x692e8f(0x226)][_0x692e8f(0x1c4)][_0x692e8f(0x1cd)](_0x692e8f(0x236))[_0x692e8f(0x1a7)];this[_0x692e8f(0x226)][_0x692e8f(0x1c4)][_0x692e8f(0x1b8)](_0x692e8f(0x1a0),async()=>{const _0x3f314d=_0x692e8f;this[_0x3f314d(0x226)][_0x3f314d(0x1eb)](_0x3f314d(0x20c));const _0x277189=this[_0x3f314d(0x226)][_0x3f314d(0x1ae)][_0x3f314d(0x1cd)](_0x3f314d(0x206));if(this[_0x3f314d(0x226)][_0x3f314d(0x1ae)][_0x3f314d(0x21a)](_0x3f314d(0x22f))){const _0x2caefc=this[_0x3f314d(0x226)][_0x3f314d(0x1ae)][_0x3f314d(0x1cd)](_0x3f314d(0x22f));await _0x2caefc[_0x3f314d(0x1cf)]();}else await _0x277189[_0x3f314d(0x1ff)]();if(this[_0x3f314d(0x226)][_0x3f314d(0x1ae)][_0x3f314d(0x21a)](_0x3f314d(0x1fc))&&this[_0x3f314d(0x226)][_0x3f314d(0x1ae)][_0x3f314d(0x1cd)](_0x3f314d(0x1fc))[_0x3f314d(0x1cc)](),this[_0x3f314d(0x226)][_0x3f314d(0x1ae)][_0x3f314d(0x21a)](_0x3f314d(0x1e5))){const _0x4bb89f=this[_0x3f314d(0x226)][_0x3f314d(0x1ae)][_0x3f314d(0x1cd)](_0x3f314d(0x1e5));_0x4bb89f[_0x3f314d(0x210)]&&_0x4bb89f[_0x3f314d(0x1e8)]();}const _0x397205=this[_0x3f314d(0x22e)]();return _0x2d1355(_0x397205)[_0x3f314d(0x1d6)](_0x9a4f=>{const _0x161309=_0x3f314d;return(this[_0x161309(0x1fe)]=_0x9a4f,this[_0x161309(0x226)][_0x161309(0x1ae)][_0x161309(0x21a)](_0x161309(0x1bc)))&&this[_0x161309(0x226)][_0x161309(0x1ae)][_0x161309(0x1cd)](_0x161309(0x1bc))[_0x161309(0x202)](),(this[_0x161309(0x226)][_0x161309(0x1ae)][_0x161309(0x21a)](_0x161309(0x1dd))&&(this[_0x161309(0x226)][_0x161309(0x1ae)][_0x161309(0x1cd)](_0x161309(0x19f))[_0x161309(0x238)][_0x161309(0x1a5)][_0x161309(0x233)][_0x161309(0x1b1)]=_0x161309(0x1ec)),_0x9a4f);})[_0x3f314d(0x1a3)](_0x3baca8=>(console[_0x3f314d(0x1f5)](_0x3baca8),this[_0x3f314d(0x226)][_0x3f314d(0x1f2)](_0x3f314d(0x20c)),null));});}[_0x30b83b(0x1a4)](){const _0x1f7a37=_0x30b83b,_0x165459=this[_0x1f7a37(0x226)][_0x1f7a37(0x1c4)][_0x1f7a37(0x1cd)](_0x1f7a37(0x236))[_0x1f7a37(0x1fd)];this[_0x1f7a37(0x226)][_0x1f7a37(0x1c4)][_0x1f7a37(0x1b8)](_0x1f7a37(0x1ef),()=>(this[_0x1f7a37(0x226)][_0x1f7a37(0x1ae)][_0x1f7a37(0x21a)](_0x1f7a37(0x1fc))&&this[_0x1f7a37(0x226)][_0x1f7a37(0x1ae)][_0x1f7a37(0x1cd)](_0x1f7a37(0x1fc))[_0x1f7a37(0x1cc)](),this[_0x1f7a37(0x226)][_0x1f7a37(0x1ae)][_0x1f7a37(0x21a)](_0x1f7a37(0x1dd))&&(this[_0x1f7a37(0x226)][_0x1f7a37(0x1ae)][_0x1f7a37(0x1cd)](_0x1f7a37(0x19f))[_0x1f7a37(0x238)][_0x1f7a37(0x1a5)][_0x1f7a37(0x233)][_0x1f7a37(0x1b1)]=''),this[_0x1f7a37(0x1fe)][_0x1f7a37(0x1ae)][_0x1f7a37(0x1cd)](_0x1f7a37(0x21d))[_0x1f7a37(0x22a)](),_0x165459(this[_0x1f7a37(0x1fe)])[_0x1f7a37(0x1d6)](()=>{const _0x538997=_0x1f7a37;if(this[_0x538997(0x226)][_0x538997(0x1f2)](_0x538997(0x20c)),this[_0x538997(0x1fe)]=null,this[_0x538997(0x226)][_0x538997(0x1ae)][_0x538997(0x21a)](_0x538997(0x1bc))){const _0x4783f1=this[_0x538997(0x226)][_0x538997(0x1ae)][_0x538997(0x1cd)](_0x538997(0x1bc));_0x4783f1[_0x538997(0x202)](),_0x4783f1[_0x538997(0x213)]();}})));}[_0x30b83b(0x1f4)](_0x4d37bd){const _0x36418d=_0x30b83b,_0x5ef5a0=this[_0x36418d(0x226)][_0x36418d(0x1c4)][_0x36418d(0x1cd)](_0x36418d(0x200)),_0x2d3ac1=this[_0x36418d(0x226)][_0x36418d(0x1c4)][_0x36418d(0x1cd)](_0x36418d(0x1fb)),_0x237084=this[_0x36418d(0x226)][_0x36418d(0x1c4)][_0x36418d(0x1cd)](_0x36418d(0x223));return _0x424ed1[_0x36418d(0x205)](_0x237084,_0x4d37bd)[_0x36418d(0x1d6)](_0x634bc5=>(_0x2d3ac1[_0x36418d(0x233)][_0x36418d(0x1b1)]=_0x36418d(0x20d),_0x5ef5a0[_0x36418d(0x233)][_0x36418d(0x1b1)]=_0x36418d(0x1ec),this[_0x36418d(0x1f1)]=!0x0,_0x634bc5));}[_0x30b83b(0x1b6)](_0x24fc7b){const _0x5b1bd3=_0x30b83b,_0x50d53d=this[_0x5b1bd3(0x226)][_0x5b1bd3(0x1c4)][_0x5b1bd3(0x1cd)](_0x5b1bd3(0x200));return this[_0x5b1bd3(0x226)][_0x5b1bd3(0x1c4)][_0x5b1bd3(0x1cd)](_0x5b1bd3(0x1fb))[_0x5b1bd3(0x233)][_0x5b1bd3(0x1b1)]=_0x5b1bd3(0x1ec),_0x50d53d[_0x5b1bd3(0x233)][_0x5b1bd3(0x1b1)]='',this[_0x5b1bd3(0x1f1)]=!0x1,_0x24fc7b[_0x5b1bd3(0x1b0)]();}async[_0x30b83b(0x1ee)](_0x26983c){const _0x46f746=_0x30b83b,_0x23aa7f=this[_0x46f746(0x226)],_0x4ac3ca=this[_0x46f746(0x1fe)][_0x46f746(0x1ae)][_0x46f746(0x1cd)](_0x46f746(0x21d)),_0x4aa0e7=_0x23aa7f[_0x46f746(0x1ae)][_0x46f746(0x1cd)](_0x46f746(0x206)),_0x50272b=_0x23aa7f[_0x46f746(0x1ae)][_0x46f746(0x1cd)](_0x46f746(0x21e)),_0x4ff08d=_0x4ac3ca[_0x46f746(0x1ce)][_0x46f746(0x1d5)](_0x26983c);let _0x5065a3,_0x440bb9,_0x54fd9e;try{await _0x50272b[_0x46f746(0x1bb)](_0x4ff08d,this[_0x46f746(0x1c7)]),_0x5065a3=_0x50272b[_0x46f746(0x1c5)](_0x4ff08d),_0x440bb9=_0x50272b[_0x46f746(0x207)](_0x4ff08d);}catch(_0x5ed5e2){return void console[_0x46f746(0x1f5)](_0x5ed5e2);}_0x23aa7f[_0x46f746(0x1ba)][_0x46f746(0x1d7)](_0x471444=>{const _0x11f02a=_0x46f746;for(const _0x27931a of Array[_0x11f02a(0x1ed)](_0x23aa7f[_0x11f02a(0x1ba)][_0x11f02a(0x225)][_0x11f02a(0x1da)](_0x11f02a(0x216))))_0x471444[_0x11f02a(0x1c8)](_0x27931a);}),_0x4ac3ca[_0x46f746(0x1b7)]=!0x1,_0x23aa7f[_0x46f746(0x1ba)][_0x46f746(0x227)](_0x3da084=>{const _0x1234f9=_0x46f746;_0x3da084[_0x1234f9(0x21c)](null),_0x3da084[_0x1234f9(0x1b2)](_0x23aa7f[_0x1234f9(0x1ba)][_0x1234f9(0x1e4)][_0x1234f9(0x1ad)][_0x1234f9(0x20e)]());const _0x5dcb1a=Object[_0x1234f9(0x203)](_0x5065a3);for(const _0x1c0045 of _0x23aa7f[_0x1234f9(0x1ba)][_0x1234f9(0x1e4)][_0x1234f9(0x218)])_0x1234f9(0x1e9)!=_0x1c0045[_0x1234f9(0x1a2)]&&_0x1c0045[_0x1234f9(0x1f3)]()&&!_0x5dcb1a[_0x1234f9(0x1fa)](_0x1c0045[_0x1234f9(0x1a2)])&&_0x3da084[_0x1234f9(0x22c)](_0x1c0045);for(const _0x58d478 of _0x5dcb1a){let _0x36319a=_0x23aa7f[_0x1234f9(0x1ba)][_0x1234f9(0x1e4)][_0x1234f9(0x1c0)](_0x58d478);_0x36319a&&_0x36319a[_0x1234f9(0x1f3)]()||(_0x36319a=_0x3da084[_0x1234f9(0x1dc)](_0x58d478));const _0x4cf7f9=_0x440bb9[_0x58d478],_0x549120=Object[_0x1234f9(0x203)](_0x4cf7f9),_0x485a8b=_0x5065a3[_0x58d478];for(const _0x26d532 of _0x36319a[_0x1234f9(0x20e)]())_0x549120[_0x1234f9(0x1fa)](_0x26d532)||_0x3da084[_0x1234f9(0x1de)](_0x26d532,_0x36319a);for(const _0x3c0077 of _0x549120)_0x3da084[_0x1234f9(0x1f9)](_0x3c0077,_0x440bb9[_0x58d478][_0x3c0077],_0x36319a);_0x3da084[_0x1234f9(0x21f)](_0x3da084[_0x1234f9(0x1db)](_0x36319a)),_0x3da084[_0x1234f9(0x1e6)](_0x23aa7f[_0x1234f9(0x21b)][_0x1234f9(0x1a8)](_0x485a8b,_0x36319a),_0x36319a,0x0);}});const _0x1ddc43=_0x19327e(_0x23aa7f[_0x46f746(0x19e)],_0x46f746(0x228));if(_0x4ff08d[_0x46f746(0x237)])_0x54fd9e=-0x1==_0x4ff08d[_0x46f746(0x237)][_0x46f746(0x1c2)](_0x1ddc43)?_0x1ddc43+':\x20'+_0x4ff08d[_0x46f746(0x237)]:_0x4ff08d[_0x46f746(0x237)];else _0x54fd9e=_0x1ddc43+':\x20'+(_0x4ff08d[_0x46f746(0x1c1)][_0x46f746(0x1d3)](_0x23aa7f[_0x46f746(0x19e)][_0x46f746(0x1ab)],{'month':_0x46f746(0x221),'day':_0x46f746(0x1d4)})+',\x20'+_0x4ff08d[_0x46f746(0x1c1)][_0x46f746(0x22b)](_0x23aa7f[_0x46f746(0x19e)][_0x46f746(0x1ab)],{'hour':_0x46f746(0x1d4),'minute':_0x46f746(0x1d4)}));return await _0x4aa0e7[_0x46f746(0x1a6)]({'name':_0x54fd9e}),_0x4ac3ca[_0x46f746(0x1b7)]=!0x0,_0x23aa7f[_0x46f746(0x1c4)][_0x46f746(0x1cd)](_0x46f746(0x236))[_0x46f746(0x1fd)]();}}
|
|
23
|
+
const _0x339ae0=_0x1767;(function(_0x516aeb,_0x50e790){const _0x4191d8=_0x1767,_0x4cbe31=_0x516aeb();while(!![]){try{const _0x2aed43=-parseInt(_0x4191d8(0x210))/0x1*(parseInt(_0x4191d8(0x1ed))/0x2)+-parseInt(_0x4191d8(0x1d8))/0x3*(parseInt(_0x4191d8(0x208))/0x4)+parseInt(_0x4191d8(0x1af))/0x5+parseInt(_0x4191d8(0x21d))/0x6+parseInt(_0x4191d8(0x226))/0x7*(-parseInt(_0x4191d8(0x1f3))/0x8)+parseInt(_0x4191d8(0x1f7))/0x9*(parseInt(_0x4191d8(0x21a))/0xa)+-parseInt(_0x4191d8(0x1be))/0xb;if(_0x2aed43===_0x50e790)break;else _0x4cbe31['push'](_0x4cbe31['shift']());}catch(_0x48e42b){_0x4cbe31['push'](_0x4cbe31['shift']());}}}(_0x55c5,0x39979));import{Plugin as _0x391151}from'ckeditor5/src/core.js';import{CKEditorError as _0xc6471f,uid as _0x3e3e96}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x5e5fce}from'./revisiontracker.js';import{RevisionHistoryUI as _0x455712}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x208dbd}from'./revisionviewer.js';import{RevisionViewerUI as _0x1cd384}from'./ui/revisionviewer/revisionviewerui.js';function _0x1767(_0x546fff,_0x3c9b94){const _0x55c56a=_0x55c5();return _0x1767=function(_0x176715,_0x1351cb){_0x176715=_0x176715-0x1a5;let _0x414c42=_0x55c56a[_0x176715];return _0x414c42;},_0x1767(_0x546fff,_0x3c9b94);}import{RevisionsSidebar as _0x1e0950}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x28feb7}from'./editor/revisionviewereditor.js';function _0x55c5(){const _0x4244b6=['getUser','RevisionHistoryUI','removeMarker','map','getRevisionDocumentData','_closeRevisionViewer','addRoot','_cleanUp','view','isOpen','catch','fromVersion','revision-history-viewer-opened','numeric','update','13228UxXcdP','insert','getMarkersGroup','RevisionTracker','result','detachRoot','getRevisionRootsAttributes','config','781sSEsnl','closeRevisionViewerCallback','restoreRevision','exitToEditing','_showRevisionViewer','enableReadOnlyMode','toVersion','refreshPositioning','RevisionViewer','name','31870BhsmcM','removeSelectionAttribute','users','1775064uzjmUn','save','set','destroy','parse','plugins','define','restrictedEditingException','display','21knJOyn','Dialog','enqueueChange','isReady','repository','_enhanceCloseRevisionViewerCallback','isOfficialPlugin','creator','revisionHistory.editorContainer','revisionHistory.viewerEditorElement','requires','init','long','isReadOnly','saveRevision','getAttributeKeys','createdAt','join','DocumentOutlineUI','includes','removeAttribute','setSelection','addUser','indexOf','getRevision','then','commands','getRoot','toLocaleDateString','adapter','block','DocumentOutline','revisionHistory.restoreRevisionCallback','fromCharCode','1892015XWPFeE','Autosave','uiLanguage','RestrictedEditingMode','isAttached','revisionHistory.viewerContainer','lazyRoots','rootName','disableReadOnlyMode','roots','markers','toLocaleTimeString','model','getRevisions','isEnabled','2163788hqbMmt','isPremiumPlugin','bind','refreshVisibility','hide','has','_restoreRevision','get','toJSON','isAnonymous','error','selection','revisionHistory','setAttribute','toolbar','Restored','_enhanceShowRevisionViewerCallback','isRevisionViewerOpen','RevisionsRepository','_getRevisionViewerEditorConfig','keys','_recalculatePageBreaks','$graveyard','remove','change','RevisionHistory','66ryJwjR','data','Annotations','push','revisionHistory.closeRevisionViewerCallback','_viewerEditor','createRangeIn','document','create','_update','locale','changesNavigation','none','RevisionViewerIntegration','revisionHistory.requireRevisionName','revision-history-missing-configuration','pluginName','addRevisionData','loadRevisionData','RevisionHistoryUtils','from','452uMJEZR','translations','revisionHistory.showRevisionViewerCallback','PaginationLookup','style','element','1161000rtKnYj','showRevisionViewerCallback','end','editor','1251KUNhsE','Users'];_0x55c5=function(){return _0x4244b6;};return _0x55c5();}import{getTranslation as _0x441368}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x569b8a}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x339ae0(0x1fa),_0x339ae0(0x1b2)];export class RevisionViewerIntegration extends _0x391151{[_0x339ae0(0x20c)];static get[_0x339ae0(0x1e8)](){const _0x27f23b=_0x339ae0;return _0x27f23b(0x1e5);}static get[_0x339ae0(0x22c)](){return!0x0;}static get[_0x339ae0(0x1bf)](){return!0x0;}constructor(_0x1c6c5a){const _0x2fdd68=_0x339ae0;function _0x242dec(_0x1b07f3){const _0x58f404=_0x1767;return _0x1b07f3[_0x58f404(0x1fc)](_0x468742=>String[_0x58f404(0x1ae)](_0x468742))[_0x58f404(0x237)]('');}super(_0x1c6c5a),this[_0x2fdd68(0x20c)]=_0x2fdd68(0x1f5),_0x1c6c5a[_0x242dec([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x242dec([0x76,0x69,0x65,0x77])][_0x242dec([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x242dec([0x61,0x75,0x74,0x6f]),_0x1c6c5a[_0x242dec([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x242dec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x242dec([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x242dec([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x242dec([0x6f,0x6b])});}}export class RevisionHistory extends _0x391151{[_0x339ae0(0x1dd)];static get[_0x339ae0(0x1e8)](){const _0x45beba=_0x339ae0;return _0x45beba(0x1d7);}static get[_0x339ae0(0x22c)](){return!0x0;}static get[_0x339ae0(0x1bf)](){return!0x0;}static get[_0x339ae0(0x230)](){return[_0x5e5fce,_0x455712];}constructor(_0x4c9fe0){const _0x3283ae=_0x339ae0;if(super(_0x4c9fe0),!this[_0x3283ae(0x1f6)][_0x3283ae(0x20f)][_0x3283ae(0x1c5)](_0x3283ae(0x1ca)))throw new _0xc6471f(_0x3283ae(0x1e7),this);this[_0x3283ae(0x1dd)]=null,this[_0x3283ae(0x21f)](_0x3283ae(0x1cf),!0x1),this[_0x3283ae(0x1f6)][_0x3283ae(0x20f)][_0x3283ae(0x223)](_0x3283ae(0x1ef),_0x3e5fc5=>this[_0x3283ae(0x214)]({..._0x3e5fc5,'translations':this[_0x3283ae(0x1f6)][_0x3283ae(0x1e2)][_0x3283ae(0x1ee)]})),this[_0x3283ae(0x1f6)][_0x3283ae(0x20f)][_0x3283ae(0x223)](_0x3283ae(0x1dc),_0x3fd6e2=>this[_0x3283ae(0x1fe)](_0x3fd6e2)),this[_0x3283ae(0x1f6)][_0x3283ae(0x20f)][_0x3283ae(0x223)](_0x3283ae(0x1ad),_0x68ec32=>this[_0x3283ae(0x1c4)](_0x68ec32)),this[_0x3283ae(0x1f6)][_0x3283ae(0x20f)][_0x3283ae(0x223)](_0x3283ae(0x1e6),!0x1),this[_0x3283ae(0x1ce)](),this[_0x3283ae(0x22b)]();}set[_0x339ae0(0x1aa)](_0x527d85){const _0x2c2d46=_0x339ae0;this[_0x2c2d46(0x1f6)][_0x2c2d46(0x222)][_0x2c2d46(0x1c5)](_0x2c2d46(0x20b))[_0x2c2d46(0x1aa)]=_0x527d85;}get[_0x339ae0(0x1aa)](){const _0x4c4da2=_0x339ae0;return this[_0x4c4da2(0x1f6)][_0x4c4da2(0x222)][_0x4c4da2(0x1c5)](_0x4c4da2(0x20b))[_0x4c4da2(0x1aa)];}[_0x339ae0(0x1e9)](_0x46318f){const _0x5e7316=_0x339ae0;return this[_0x5e7316(0x1f6)][_0x5e7316(0x222)][_0x5e7316(0x1c5)](_0x5e7316(0x20b))[_0x5e7316(0x1e9)](_0x46318f);}[_0x339ae0(0x1a5)](_0x1eec91){const _0xc18a41=_0x339ae0;return this[_0xc18a41(0x1f6)][_0xc18a41(0x222)][_0xc18a41(0x1c5)](_0xc18a41(0x1d0))[_0xc18a41(0x1a5)](_0x1eec91);}[_0x339ae0(0x1bc)](_0x3fb515){const _0xca950a=_0x339ae0;return this[_0xca950a(0x1f6)][_0xca950a(0x222)][_0xca950a(0x1c5)](_0xca950a(0x1d0))[_0xca950a(0x1bc)](_0x3fb515||{'toJSON':!0x1});}[_0x339ae0(0x1d1)](){const _0x4f50b1=_0x339ae0,_0x4e157b=this[_0x4f50b1(0x1f6)],_0x53c4b2=_0x569b8a(_0x4e157b,d),_0xd783c7=_0x4e157b[_0x4f50b1(0x222)][_0x4f50b1(0x1c5)](_0x4f50b1(0x20b)),_0x96001a=_0x4e157b[_0x4f50b1(0x222)][_0x4f50b1(0x1c5)](_0x4f50b1(0x1f8))[_0x4f50b1(0x21c)];return _0x53c4b2[_0x4f50b1(0x1cc)]=[_0x4f50b1(0x213),_0x4f50b1(0x212),_0x4f50b1(0x1e3)],delete _0x53c4b2[_0x4f50b1(0x1b5)],(_0x53c4b2[_0x4f50b1(0x222)][_0x4f50b1(0x1db)](RevisionViewerIntegration,_0x208dbd,_0x1cd384,class extends _0x391151{static get[_0x4f50b1(0x230)](){const _0x1502f9=_0x4f50b1;return[_0x208dbd,_0x1502f9(0x1f8)];}[_0x4f50b1(0x231)](){const _0x397817=_0x4f50b1,_0x325fa3=this[_0x397817(0x1f6)][_0x397817(0x222)][_0x397817(0x1c5)](_0x397817(0x1f8));for(const _0x3fa353 of _0x96001a)_0x3fa353[_0x397817(0x1c7)]||_0x325fa3[_0x397817(0x1f9)](_0x3fa353['id'])||_0x325fa3[_0x397817(0x23c)](_0x3fa353);const _0x23dae8=_0xd783c7[_0x397817(0x22a)][_0x397817(0x1bc)]();let _0x4f62f1=null;const _0x4ed525=this[_0x397817(0x1f6)][_0x397817(0x222)][_0x397817(0x1c5)](_0x397817(0x218));_0x4ed525[_0x397817(0x1aa)]=_0xd783c7[_0x397817(0x1aa)],_0x4ed525[_0x397817(0x1c0)](_0x397817(0x1bd))['to'](_0xd783c7),this[_0x397817(0x1f6)][_0x397817(0x1a7)][_0x397817(0x1c5)](_0x397817(0x212))[_0x397817(0x1c0)](_0x397817(0x1bd))['to'](_0x4e157b,_0x397817(0x233),_0x4af348=>!_0x4af348);for(const _0x41dd79 of _0x23dae8){const _0x2a761b=null===_0x41dd79[_0x397817(0x22d)];if(_0x2a761b&&_0x41dd79[_0x397817(0x216)]===_0x41dd79[_0x397817(0x204)])continue;const _0x42fb4a=_0x41dd79[_0x397817(0x1c6)]();_0x4ed525[_0x397817(0x1e9)](_0x42fb4a,(_0x1cd97f,_0x263606,_0x33f91f)=>{const _0x339748=_0x397817;if(_0x2a761b){if(_0x4f62f1)_0x4f62f1[_0x339748(0x1e1)](_0x1cd97f,_0x263606);else{if(!_0x263606){const _0x443fc9=_0x33f91f[_0x339748(0x1c6)]();_0x443fc9['id']=_0x3e3e96(),_0xd783c7[_0x339748(0x234)](_0x443fc9,_0x33f91f[_0x339748(0x216)])[_0x339748(0x1a6)](_0x32f6af=>{_0x4f62f1=_0x32f6af;});}}}else _0x41dd79[_0x339748(0x1e1)](_0x1cd97f,_0x263606);});}}},_0x1e0950),_0x53c4b2);}[_0x339ae0(0x1ce)](){const _0x42738b=_0x339ae0,_0x1baf5b=this[_0x42738b(0x1f6)][_0x42738b(0x20f)][_0x42738b(0x1c5)](_0x42738b(0x1ca))[_0x42738b(0x1f4)];this[_0x42738b(0x1f6)][_0x42738b(0x20f)][_0x42738b(0x21f)](_0x42738b(0x1ef),async()=>{const _0x57d716=_0x42738b;this[_0x57d716(0x1f6)][_0x57d716(0x215)](_0x57d716(0x205));const _0x27cba7=this[_0x57d716(0x1f6)][_0x57d716(0x222)][_0x57d716(0x1c5)](_0x57d716(0x20b));if(this[_0x57d716(0x1f6)][_0x57d716(0x222)][_0x57d716(0x1c3)](_0x57d716(0x1b0))){const _0x5a9bd8=this[_0x57d716(0x1f6)][_0x57d716(0x222)][_0x57d716(0x1c5)](_0x57d716(0x1b0));await _0x5a9bd8[_0x57d716(0x21e)]();}else await _0x27cba7[_0x57d716(0x207)]();if(this[_0x57d716(0x1f6)][_0x57d716(0x222)][_0x57d716(0x1c3)](_0x57d716(0x1f0))&&this[_0x57d716(0x1f6)][_0x57d716(0x222)][_0x57d716(0x1c5)](_0x57d716(0x1f0))[_0x57d716(0x1d3)](),this[_0x57d716(0x1f6)][_0x57d716(0x222)][_0x57d716(0x1c3)](_0x57d716(0x227))){const _0x30a419=this[_0x57d716(0x1f6)][_0x57d716(0x222)][_0x57d716(0x1c5)](_0x57d716(0x227));_0x30a419[_0x57d716(0x202)]&&_0x30a419[_0x57d716(0x1c2)]();}const _0xbef8f4=this[_0x57d716(0x1d1)]();return _0x1baf5b(_0xbef8f4)[_0x57d716(0x1a6)](_0x2a2986=>{const _0x455188=_0x57d716;return(this[_0x455188(0x1dd)]=_0x2a2986,this[_0x455188(0x1f6)][_0x455188(0x222)][_0x455188(0x1c3)](_0x455188(0x1da)))&&this[_0x455188(0x1f6)][_0x455188(0x222)][_0x455188(0x1c5)](_0x455188(0x1da))[_0x455188(0x1c1)](),(this[_0x455188(0x1f6)][_0x455188(0x222)][_0x455188(0x1c3)](_0x455188(0x1ac))&&(this[_0x455188(0x1f6)][_0x455188(0x222)][_0x455188(0x1c5)](_0x455188(0x238))[_0x455188(0x201)][_0x455188(0x1f2)][_0x455188(0x1f1)][_0x455188(0x225)]=_0x455188(0x1e4)),_0x2a2986);})[_0x57d716(0x203)](_0x137880=>(console[_0x57d716(0x1c8)](_0x137880),this[_0x57d716(0x1f6)][_0x57d716(0x1b7)](_0x57d716(0x205)),null));});}[_0x339ae0(0x22b)](){const _0x15450b=_0x339ae0,_0x25271a=this[_0x15450b(0x1f6)][_0x15450b(0x20f)][_0x15450b(0x1c5)](_0x15450b(0x1ca))[_0x15450b(0x211)];this[_0x15450b(0x1f6)][_0x15450b(0x20f)][_0x15450b(0x21f)](_0x15450b(0x1dc),()=>(this[_0x15450b(0x1f6)][_0x15450b(0x222)][_0x15450b(0x1c3)](_0x15450b(0x1f0))&&this[_0x15450b(0x1f6)][_0x15450b(0x222)][_0x15450b(0x1c5)](_0x15450b(0x1f0))[_0x15450b(0x1d3)](),this[_0x15450b(0x1f6)][_0x15450b(0x222)][_0x15450b(0x1c3)](_0x15450b(0x1ac))&&(this[_0x15450b(0x1f6)][_0x15450b(0x222)][_0x15450b(0x1c5)](_0x15450b(0x238))[_0x15450b(0x201)][_0x15450b(0x1f2)][_0x15450b(0x1f1)][_0x15450b(0x225)]=''),this[_0x15450b(0x1dd)][_0x15450b(0x222)][_0x15450b(0x1c5)](_0x15450b(0x218))[_0x15450b(0x200)](),_0x25271a(this[_0x15450b(0x1dd)])[_0x15450b(0x1a6)](()=>{const _0x146278=_0x15450b;if(this[_0x146278(0x1f6)][_0x146278(0x1b7)](_0x146278(0x205)),this[_0x146278(0x1dd)]=null,this[_0x146278(0x1f6)][_0x146278(0x222)][_0x146278(0x1c3)](_0x146278(0x1da))){const _0x3c08be=this[_0x146278(0x1f6)][_0x146278(0x222)][_0x146278(0x1c5)](_0x146278(0x1da));_0x3c08be[_0x146278(0x1c1)](),_0x3c08be[_0x146278(0x217)]();}})));}[_0x339ae0(0x214)](_0x1a8d90){const _0x3ffca6=_0x339ae0,_0xf84265=this[_0x3ffca6(0x1f6)][_0x3ffca6(0x20f)][_0x3ffca6(0x1c5)](_0x3ffca6(0x22e)),_0x124971=this[_0x3ffca6(0x1f6)][_0x3ffca6(0x20f)][_0x3ffca6(0x1c5)](_0x3ffca6(0x1b4)),_0x33fca9=this[_0x3ffca6(0x1f6)][_0x3ffca6(0x20f)][_0x3ffca6(0x1c5)](_0x3ffca6(0x22f));return _0x28feb7[_0x3ffca6(0x1e0)](_0x33fca9,_0x1a8d90)[_0x3ffca6(0x1a6)](_0x3f76bc=>(_0x124971[_0x3ffca6(0x1f1)][_0x3ffca6(0x225)]=_0x3ffca6(0x1ab),_0xf84265[_0x3ffca6(0x1f1)][_0x3ffca6(0x225)]=_0x3ffca6(0x1e4),this[_0x3ffca6(0x1cf)]=!0x0,_0x3f76bc));}[_0x339ae0(0x1fe)](_0x516c81){const _0x49372c=_0x339ae0,_0x5c179f=this[_0x49372c(0x1f6)][_0x49372c(0x20f)][_0x49372c(0x1c5)](_0x49372c(0x22e));return this[_0x49372c(0x1f6)][_0x49372c(0x20f)][_0x49372c(0x1c5)](_0x49372c(0x1b4))[_0x49372c(0x1f1)][_0x49372c(0x225)]=_0x49372c(0x1e4),_0x5c179f[_0x49372c(0x1f1)][_0x49372c(0x225)]='',this[_0x49372c(0x1cf)]=!0x1,_0x516c81[_0x49372c(0x220)]();}async[_0x339ae0(0x1c4)](_0x38e51f){const _0x2d5f0f=_0x339ae0,_0x4de270=this[_0x2d5f0f(0x1f6)],_0xaa6ca3=this[_0x2d5f0f(0x1dd)][_0x2d5f0f(0x222)][_0x2d5f0f(0x1c5)](_0x2d5f0f(0x218)),_0x371634=_0x4de270[_0x2d5f0f(0x222)][_0x2d5f0f(0x1c5)](_0x2d5f0f(0x20b)),_0x3022f0=_0x4de270[_0x2d5f0f(0x222)][_0x2d5f0f(0x1c5)](_0x2d5f0f(0x1eb)),_0x10d294=_0xaa6ca3[_0x2d5f0f(0x22a)][_0x2d5f0f(0x1a5)](_0x38e51f);let _0x3a8125,_0x2c6d7b,_0x357d99;try{await _0x3022f0[_0x2d5f0f(0x1ea)](_0x10d294,this[_0x2d5f0f(0x1aa)]),_0x3a8125=_0x3022f0[_0x2d5f0f(0x1fd)](_0x10d294),_0x2c6d7b=_0x3022f0[_0x2d5f0f(0x20e)](_0x10d294);}catch(_0x5e6c93){return void console[_0x2d5f0f(0x1c8)](_0x5e6c93);}_0x4de270[_0x2d5f0f(0x1bb)][_0x2d5f0f(0x1d6)](_0x4065cd=>{const _0x1f4743=_0x2d5f0f;for(const _0x55f096 of Array[_0x1f4743(0x1ec)](_0x4de270[_0x1f4743(0x1bb)][_0x1f4743(0x1b9)][_0x1f4743(0x20a)](_0x1f4743(0x224))))_0x4065cd[_0x1f4743(0x1fb)](_0x55f096);}),_0xaa6ca3[_0x2d5f0f(0x229)]=!0x1,_0x4de270[_0x2d5f0f(0x1bb)][_0x2d5f0f(0x228)](_0x82a441=>{const _0x5c95d4=_0x2d5f0f;_0x82a441[_0x5c95d4(0x23b)](null),_0x82a441[_0x5c95d4(0x21b)](_0x4de270[_0x5c95d4(0x1bb)][_0x5c95d4(0x1df)][_0x5c95d4(0x1c9)][_0x5c95d4(0x235)]());const _0x4c479e=Object[_0x5c95d4(0x1d2)](_0x3a8125);for(const _0x5dd656 of _0x4de270[_0x5c95d4(0x1bb)][_0x5c95d4(0x1df)][_0x5c95d4(0x1b8)])_0x5c95d4(0x1d4)!=_0x5dd656[_0x5c95d4(0x1b6)]&&_0x5dd656[_0x5c95d4(0x1b3)]()&&!_0x4c479e[_0x5c95d4(0x239)](_0x5dd656[_0x5c95d4(0x1b6)])&&_0x82a441[_0x5c95d4(0x20d)](_0x5dd656);for(const _0x48e202 of _0x4c479e){let _0x8bfe87=_0x4de270[_0x5c95d4(0x1bb)][_0x5c95d4(0x1df)][_0x5c95d4(0x1a8)](_0x48e202);_0x8bfe87&&_0x8bfe87[_0x5c95d4(0x1b3)]()||(_0x8bfe87=_0x82a441[_0x5c95d4(0x1ff)](_0x48e202));const _0x19e127=_0x2c6d7b[_0x48e202],_0x4e2f65=Object[_0x5c95d4(0x1d2)](_0x19e127),_0x56384b=_0x3a8125[_0x48e202];for(const _0xd0ded2 of _0x8bfe87[_0x5c95d4(0x235)]())_0x4e2f65[_0x5c95d4(0x239)](_0xd0ded2)||_0x82a441[_0x5c95d4(0x23a)](_0xd0ded2,_0x8bfe87);for(const _0x546538 of _0x4e2f65)_0x82a441[_0x5c95d4(0x1cb)](_0x546538,_0x2c6d7b[_0x48e202][_0x546538],_0x8bfe87);_0x82a441[_0x5c95d4(0x1d5)](_0x82a441[_0x5c95d4(0x1de)](_0x8bfe87)),_0x82a441[_0x5c95d4(0x209)](_0x4de270[_0x5c95d4(0x1d9)][_0x5c95d4(0x221)](_0x56384b,_0x8bfe87),_0x8bfe87,0x0);}});const _0x2ba759=_0x441368(_0x4de270[_0x2d5f0f(0x1e2)],_0x2d5f0f(0x1cd));if(_0x10d294[_0x2d5f0f(0x219)])_0x357d99=-0x1==_0x10d294[_0x2d5f0f(0x219)][_0x2d5f0f(0x23d)](_0x2ba759)?_0x2ba759+':\x20'+_0x10d294[_0x2d5f0f(0x219)]:_0x10d294[_0x2d5f0f(0x219)];else _0x357d99=_0x2ba759+':\x20'+(_0x10d294[_0x2d5f0f(0x236)][_0x2d5f0f(0x1a9)](_0x4de270[_0x2d5f0f(0x1e2)][_0x2d5f0f(0x1b1)],{'month':_0x2d5f0f(0x232),'day':_0x2d5f0f(0x206)})+',\x20'+_0x10d294[_0x2d5f0f(0x236)][_0x2d5f0f(0x1ba)](_0x4de270[_0x2d5f0f(0x1e2)][_0x2d5f0f(0x1b1)],{'hour':_0x2d5f0f(0x206),'minute':_0x2d5f0f(0x206)}));return await _0x371634[_0x2d5f0f(0x234)]({'name':_0x357d99}),_0xaa6ca3[_0x2d5f0f(0x229)]=!0x0,_0x4de270[_0x2d5f0f(0x20f)][_0x2d5f0f(0x1c5)](_0x2d5f0f(0x1ca))[_0x2d5f0f(0x211)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5e0b(_0x12a1fc,_0x376df2){const _0x55085c=_0x5508();return _0x5e0b=function(_0x5e0b96,_0x5d90d6){_0x5e0b96=_0x5e0b96-0x86;let _0x25b4ad=_0x55085c[_0x5e0b96];return _0x25b4ad;},_0x5e0b(_0x12a1fc,_0x376df2);}const _0xbf22b6=_0x5e0b;(function(_0x1f9dd4,_0x13559d){const _0x232031=_0x5e0b,_0x14cd62=_0x1f9dd4();while(!![]){try{const _0x5c3e79=parseInt(_0x232031(0xcf))/0x1*(-parseInt(_0x232031(0x88))/0x2)+-parseInt(_0x232031(0x91))/0x3+parseInt(_0x232031(0x89))/0x4+parseInt(_0x232031(0xc5))/0x5*(-parseInt(_0x232031(0xd1))/0x6)+parseInt(_0x232031(0x9a))/0x7*(-parseInt(_0x232031(0xb5))/0x8)+parseInt(_0x232031(0xa7))/0x9+-parseInt(_0x232031(0xbc))/0xa*(-parseInt(_0x232031(0xa6))/0xb);if(_0x5c3e79===_0x13559d)break;else _0x14cd62['push'](_0x14cd62['shift']());}catch(_0x11fb77){_0x14cd62['push'](_0x14cd62['shift']());}}}(_0x5508,0xdbbb9));import{Plugin as _0x45dba5}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x114729,ViewText as _0x367ae8,ViewElement as _0x3c0917,ViewContainerElement as _0x1c0ca5,ViewAttributeElement as _0x5d743b,ViewEmptyElement as _0xa04cb3,ViewRawElement as _0x230ae0,ViewUIElement as _0x23ce66}from'ckeditor5/src/engine.js';function _0x5508(){const _0x3773eb=['getRevisionDocumentData','marked','createElement','getRevision','_makeModelFromViewString','revision-start','10UTmZZC','revision-end','attributes','attachChange','isOfficialPlugin','_removeRevisionMarkers','collaboration.channelId','append','fillerOffset','5zOYtaM','editor','processor','domChildrenToView','parse','from','div','view','length','name','6MpBrzP','_getTypeCharForViewElement','691662mqqomh','toData','default','14986jScIaM','5200288mzWbLW','_viewClassToTypeChar','string','childNodes','RevisionHistoryUtils','type','data','startsWith','522009jvejEr','document','loadRevisionData','domDocument','getFillerOffset','attributesAfter','_getViewFromDiffObj','config','isPremiumPlugin','1132453KUyIha','_setCustomProperty','customProperties','render','insertions','getRevisionRootsAttributes','filter','map','htmlProcessor','toModel','domConverter','editing','818994ssiJAS','193644tBzPiR','innerHTML','useFillerType','data-revision-','_appendChild','constructor','pluginName','_typeCharToViewClass','diffData','isAttached','children','forEach','viewChildrenToDom','get','8YGdcvU'];_0x5508=function(){return _0x3773eb;};return _0x5508();}export class RevisionHistoryUtils extends _0x45dba5{static get[_0xbf22b6(0xad)](){const _0x4b811b=_0xbf22b6;return _0x4b811b(0x8d);}static get[_0xbf22b6(0xc0)](){return!0x0;}static get[_0xbf22b6(0x99)](){return!0x0;}[_0xbf22b6(0x8a)]=new Map([[_0x1c0ca5,'c'],[_0x5d743b,'a'],[_0xa04cb3,'e'],[_0x230ae0,'r'],[_0x23ce66,'u']]);[_0xbf22b6(0xae)]=new Map([['c',_0x1c0ca5],['a',_0x5d743b],['e',_0xa04cb3],['r',_0x230ae0],['u',_0x23ce66]]);async[_0xbf22b6(0x93)](_0x58fe93,_0x5005c4){const _0x34aa7e=_0xbf22b6;if(_0x58fe93[_0x34aa7e(0xaf)]||!_0x5005c4)return;const _0x25df38=this[_0x34aa7e(0xc6)][_0x34aa7e(0x98)][_0x34aa7e(0xb4)](_0x34aa7e(0xc2)),_0x18636c=await _0x5005c4[_0x34aa7e(0xb9)]({'channelId':_0x25df38,'revisionId':_0x58fe93['id']});_0x58fe93[_0x34aa7e(0xaf)]=_0x18636c[_0x34aa7e(0xaf)];}[_0xbf22b6(0xb6)](_0x395809){const _0x46ba5f=_0xbf22b6,_0x1dfbfc={};for(const _0x316c33 in _0x395809[_0x46ba5f(0xaf)]){if(_0x395809[_0x46ba5f(0xaf)][_0x316c33][_0x46ba5f(0xbf)]&&!_0x395809[_0x46ba5f(0xaf)][_0x316c33][_0x46ba5f(0xbf)][_0x46ba5f(0xb0)])continue;const _0x44385a=this[_0x46ba5f(0xc1)](JSON[_0x46ba5f(0xc9)](_0x395809[_0x46ba5f(0xaf)][_0x316c33][_0x46ba5f(0x9e)])),_0x588c49=this[_0x46ba5f(0xc6)][_0x46ba5f(0xa5)][_0x46ba5f(0xcc)][_0x46ba5f(0x92)],_0x16cd8d=new _0x114729(_0x588c49,_0x44385a[_0x46ba5f(0xa1)](_0xad5a1d=>this[_0x46ba5f(0x97)](_0xad5a1d,!0x1)));this[_0x46ba5f(0xc6)][_0x46ba5f(0x8f)][_0x46ba5f(0xc7)][_0x46ba5f(0xa9)](_0x46ba5f(0xb7)),_0x1dfbfc[_0x316c33]=this[_0x46ba5f(0xc6)][_0x46ba5f(0x8f)][_0x46ba5f(0xc7)][_0x46ba5f(0x86)](_0x16cd8d),this[_0x46ba5f(0xc6)][_0x46ba5f(0x8f)][_0x46ba5f(0xc7)][_0x46ba5f(0xa9)](_0x46ba5f(0x87));}return _0x1dfbfc;}[_0xbf22b6(0x9f)](_0x104ea5){const _0xc98c9b=_0xbf22b6,_0x3d25b7={};for(const _0x495d58 in _0x104ea5[_0xc98c9b(0xaf)])_0x104ea5[_0xc98c9b(0xaf)][_0x495d58][_0xc98c9b(0xbf)]&&!_0x104ea5[_0xc98c9b(0xaf)][_0x495d58][_0xc98c9b(0xbf)][_0xc98c9b(0xb0)]||(_0x3d25b7[_0x495d58]=_0x104ea5[_0xc98c9b(0xaf)][_0x495d58][_0xc98c9b(0x96)]||{});return _0x3d25b7;}[_0xbf22b6(0xd0)](_0x1ba64d){const _0x3ae415=_0xbf22b6;return this[_0x3ae415(0x8a)][_0x3ae415(0xb4)](_0x1ba64d[_0x3ae415(0xac)]);}[_0xbf22b6(0x97)](_0x332ccc,_0x1f8e33){const _0x2a2912=_0xbf22b6,_0x4d86a8=this[_0x2a2912(0xc6)][_0x2a2912(0xa5)][_0x2a2912(0xcc)][_0x2a2912(0x92)];if(_0x2a2912(0x8b)==typeof _0x332ccc)return new _0x367ae8(_0x4d86a8,_0x332ccc);{let _0x11279f,_0x633e45;_0x633e45='u'==_0x332ccc[_0x2a2912(0x8e)]||'r'==_0x332ccc[_0x2a2912(0x8e)]?[]:_0x332ccc[_0x2a2912(0xb1)][_0x2a2912(0xa1)](_0x1853c5=>this[_0x2a2912(0x97)](_0x1853c5,_0x1f8e33));const _0x5e0252=this[_0x2a2912(0xae)][_0x2a2912(0xb4)](_0x332ccc[_0x2a2912(0x8e)])||_0x3c0917,_0x1641a3=this[_0x2a2912(0xc6)][_0x2a2912(0x8f)][_0x2a2912(0xa2)][_0x2a2912(0xa4)];if(_0x11279f=new _0x5e0252(_0x4d86a8,_0x332ccc[_0x2a2912(0xce)],_0x332ccc[_0x2a2912(0xbe)],_0x633e45),'u'==_0x332ccc[_0x2a2912(0x8e)]&&_0x332ccc[_0x2a2912(0xb1)][0x0]){const _0x498c36=_0x332ccc[_0x2a2912(0xb1)][0x0];if(_0x11279f[_0x2a2912(0x9d)]=function(_0x2a2b5b){const _0x5205aa=_0x2a2912,_0x4a6e8b=_0x2a2b5b[_0x5205aa(0xb8)](_0x5205aa(0xcb));return _0x4a6e8b[_0x5205aa(0xa8)]=_0x498c36,_0x4a6e8b[_0x5205aa(0x8c)][0x0];},_0x1f8e33){const _0x40793c=new _0x114729(_0x4d86a8);_0x40793c[_0x2a2912(0xab)](_0x11279f);const _0x3abfe5=Array[_0x2a2912(0xca)](_0x1641a3[_0x2a2912(0xb3)](_0x40793c,{'bind':!0x1})),_0x296371=_0x1641a3[_0x2a2912(0x94)][_0x2a2912(0xb8)](_0x2a2912(0xcb));_0x296371[_0x2a2912(0xc3)](..._0x3abfe5),_0x11279f=Array[_0x2a2912(0xca)](_0x1641a3[_0x2a2912(0xc8)](_0x296371))[0x0];}}else{if('r'==_0x332ccc[_0x2a2912(0x8e)]&&_0x332ccc[_0x2a2912(0xb1)][0x0]){const _0x42ecbb=_0x332ccc[_0x2a2912(0xb1)][0x0];if(_0x11279f[_0x2a2912(0x9d)]=function(_0x3348c3){const _0x5190d5=_0x2a2912;_0x3348c3[_0x5190d5(0xa8)]=_0x42ecbb;},_0x1f8e33){const _0x18f835=new _0x114729(_0x4d86a8);_0x18f835[_0x2a2912(0xab)](_0x11279f);const _0x2ee5c4=Array[_0x2a2912(0xca)](_0x1641a3[_0x2a2912(0xb3)](_0x18f835,{'bind':!0x1})),_0x4d1660=_0x1641a3[_0x2a2912(0x94)][_0x2a2912(0xb8)](_0x2a2912(0xcb));_0x4d1660[_0x2a2912(0xc3)](..._0x2ee5c4);const _0x4b487b=Array[_0x2a2912(0xca)](_0x1641a3[_0x2a2912(0xc8)](_0x4d1660));_0x4b487b[_0x2a2912(0xcd)]>0x1?_0x11279f[_0x2a2912(0xab)](_0x4b487b):_0x11279f=_0x4b487b[0x0];}}}if(_0x332ccc[_0x2a2912(0x9c)]){for(const [_0x52df99,_0x318b4b]of _0x332ccc[_0x2a2912(0x9c)])_0x11279f[_0x2a2912(0x9b)](_0x52df99,_0x318b4b);}const _0x952982=void 0x0===_0x332ccc[_0x2a2912(0xc4)]?null:_0x332ccc[_0x2a2912(0xc4)];return null!==_0x952982&&(_0x11279f[_0x2a2912(0x95)]=()=>_0x952982),_0x11279f;}}[_0xbf22b6(0xba)](_0x2032ee){const _0x1f7f9a=_0xbf22b6,_0x343e8b=JSON[_0x1f7f9a(0xc9)](_0x2032ee),_0x180881=this[_0x1f7f9a(0xc6)][_0x1f7f9a(0xa5)][_0x1f7f9a(0xcc)][_0x1f7f9a(0x92)],_0x5bc7e6=new _0x114729(_0x180881,_0x343e8b[_0x1f7f9a(0xa1)](_0x47d154=>this[_0x1f7f9a(0x97)](_0x47d154,!0x0)));return this[_0x1f7f9a(0xc6)][_0x1f7f9a(0x8f)][_0x1f7f9a(0xa3)](_0x5bc7e6);}[_0xbf22b6(0xc1)](_0x5856aa){const _0x55ffbe=_0xbf22b6;return(_0x5856aa=_0x5856aa[_0x55ffbe(0xa0)](_0x2247de=>!_0x2247de[_0x55ffbe(0xce)]||_0x55ffbe(0xbb)!==_0x2247de[_0x55ffbe(0xce)]&&_0x55ffbe(0xbd)!==_0x2247de[_0x55ffbe(0xce)]))[_0x55ffbe(0xb2)](_0x2ac2b9=>{const _0x49b2c7=_0x55ffbe;_0x49b2c7(0x8b)!=typeof _0x2ac2b9&&(_0x2ac2b9[_0x49b2c7(0xb1)]=this[_0x49b2c7(0xc1)](_0x2ac2b9[_0x49b2c7(0xb1)]),_0x2ac2b9[_0x49b2c7(0xbe)]=_0x2ac2b9[_0x49b2c7(0xbe)][_0x49b2c7(0xa0)](_0x4e3596=>!_0x4e3596[0x0][_0x49b2c7(0x90)](_0x49b2c7(0xaa))));}),_0x5856aa;}}
|