@ckeditor/ckeditor5-revision-history 46.0.0 → 46.0.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.d.ts +1 -3
- 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
|
+
(_0x5b6391=>{const {vi:{dictionary:_0x1b5613,getPluralForm:_0x3a56d6}}={'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':_0x4ed5ff=>0x0}};_0x5b6391['vi']||={'dictionary':{},'getPluralForm':null},_0x5b6391['vi']['dictionary']=Object['assign'](_0x5b6391['vi']['dictionary'],_0x1b5613),_0x5b6391['vi']['getPluralForm']=_0x3a56d6;})(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':_0x1f08d8=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x12a1c6=>{const {'zh-cn':{dictionary:_0x51601d,getPluralForm:_0x58b403}}={'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':_0x3f29b6=>0x0}};_0x12a1c6['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x12a1c6['zh-cn']['dictionary']=Object['assign'](_0x12a1c6['zh-cn']['dictionary'],_0x51601d),_0x12a1c6['zh-cn']['getPluralForm']=_0x58b403;})(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':_0x139775=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x167d5f=>{const {zh:{dictionary:_0x2d1448,getPluralForm:_0x5ea959}}={'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':_0x397467=>0x0}};_0x167d5f['zh']||={'dictionary':{},'getPluralForm':null},_0x167d5f['zh']['dictionary']=Object['assign'](_0x167d5f['zh']['dictionary'],_0x2d1448),_0x167d5f['zh']['getPluralForm']=_0x5ea959;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "46.0.
|
|
3
|
+
"version": "46.0.1-alpha.1",
|
|
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": "46.0.
|
|
43
|
-
"@ckeditor/ckeditor5-comments": "46.0.
|
|
44
|
-
"@ckeditor/ckeditor5-core": "46.0.
|
|
45
|
-
"@ckeditor/ckeditor5-editor-classic": "46.0.
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "46.0.
|
|
47
|
-
"@ckeditor/ckeditor5-icons": "46.0.
|
|
48
|
-
"@ckeditor/ckeditor5-ui": "46.0.
|
|
49
|
-
"@ckeditor/ckeditor5-utils": "46.0.
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "46.0.1-alpha.1",
|
|
43
|
+
"@ckeditor/ckeditor5-comments": "46.0.1-alpha.1",
|
|
44
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.1",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-classic": "46.0.1-alpha.1",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "46.0.1-alpha.1",
|
|
47
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.1",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.1",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.1",
|
|
50
50
|
"@types/luxon": "3.6.2",
|
|
51
|
-
"ckeditor5": "46.0.
|
|
52
|
-
"ckeditor5-collaboration": "46.0.
|
|
51
|
+
"ckeditor5": "46.0.1-alpha.1",
|
|
52
|
+
"ckeditor5-collaboration": "46.0.1-alpha.1",
|
|
53
53
|
"es-toolkit": "1.39.5",
|
|
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 _0x54dac1=_0x36f5;(function(_0x3ec281,_0x3bf209){var _0x180f26=_0x36f5,_0x2b1832=_0x3ec281();while(!![]){try{var _0x7a3113=parseInt(_0x180f26(0x1eb))/0x1*(-parseInt(_0x180f26(0x1e4))/0x2)+parseInt(_0x180f26(0x1e6))/0x3+-parseInt(_0x180f26(0x1e5))/0x4+-parseInt(_0x180f26(0x1ed))/0x5*(parseInt(_0x180f26(0x1e9))/0x6)+parseInt(_0x180f26(0x1e0))/0x7+-parseInt(_0x180f26(0x1e8))/0x8+parseInt(_0x180f26(0x1e2))/0x9;if(_0x7a3113===_0x3bf209)break;else _0x2b1832['push'](_0x2b1832['shift']());}catch(_0x1e55cc){_0x2b1832['push'](_0x2b1832['shift']());}}}(_0x59c1,0x53905));import{ObservableMixin as _0x106158,uid as _0x40d6dc}from'ckeditor5/src/utils.js';export class ChangeItem extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x106158(){['id'];[_0x54dac1(0x1e7)];[_0x54dac1(0x1de)];[_0x54dac1(0x1ec)];[_0x54dac1(0x1e1)];constructor(_0x4d9a10){var _0x326d9a=_0x54dac1;super(),this['id']=_0x4d9a10['id']||_0x40d6dc(),this[_0x326d9a(0x1e7)]=_0x4d9a10[_0x326d9a(0x1e7)],this[_0x326d9a(0x1de)]=_0x4d9a10[_0x326d9a(0x1de)],this[_0x326d9a(0x1ec)]=_0x4d9a10[_0x326d9a(0x1ec)]||{},this[_0x326d9a(0x1e1)]=_0x4d9a10[_0x326d9a(0x1e1)],this[_0x326d9a(0x1e3)](_0x326d9a(0x1ea),_0x4d9a10[_0x326d9a(0x1ea)]);}[_0x54dac1(0x1df)](){var _0x551bd0=_0x54dac1;return{'id':this['id'],'authorId':this[_0x551bd0(0x1e7)]['id'],'type':this[_0x551bd0(0x1de)],'data':this[_0x551bd0(0x1ec)],'createdAt':this[_0x551bd0(0x1ea)]};}}function _0x36f5(_0x2bcf0c,_0x57a70e){var _0x59c18f=_0x59c1();return _0x36f5=function(_0x36f55b,_0x109f97){_0x36f55b=_0x36f55b-0x1de;var _0x5c22e8=_0x59c18f[_0x36f55b];return _0x5c22e8;},_0x36f5(_0x2bcf0c,_0x57a70e);}function _0x59c1(){var _0x5ee42d=['type','toJSON','2975238Dpfxsz','rootName','9901305knlJvQ','set','4oCRnbG','2479004hYGCws','72411EgGLsz','author','3594440IhahRb','42xcbNIJ','createdAt','28647ehqMAG','data','57635OpJOUR'];_0x59c1=function(){return _0x5ee42d;};return _0x59c1();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1953a7=_0x371e;function _0x371e(_0x537780,_0x3731d5){const _0x118aa8=_0x118a();return _0x371e=function(_0x371ed9,_0x346b12){_0x371ed9=_0x371ed9-0x1e6;let _0x277d02=_0x118aa8[_0x371ed9];return _0x277d02;},_0x371e(_0x537780,_0x3731d5);}function _0x118a(){const _0x3e7f5c=['fire','model','editing','1803920GYDJoX','data','46678NQNsIv','11388533yYHsAx','initPlugins','31JyyFba','locale','document','7HwkqAL','config','ready','4yDIVDi','2758314UPjabQ','destroy','create','1028745yzhEbj','view','sourceElement','initialData','updateSourceElement','_ui','get','49874HEOnSH','1230mJbjph','createRoot','12Lsvviu','297opVRmR','init','57352aIBmJx'];_0x118a=function(){return _0x3e7f5c;};return _0x118a();}(function(_0x2d7213,_0x2a7f56){const _0x298825=_0x371e,_0x52aaa1=_0x2d7213();while(!![]){try{const _0x45b059=-parseInt(_0x298825(0x1eb))/0x1*(-parseInt(_0x298825(0x1e8))/0x2)+-parseInt(_0x298825(0x1f5))/0x3+-parseInt(_0x298825(0x1f1))/0x4*(-parseInt(_0x298825(0x1e6))/0x5)+-parseInt(_0x298825(0x1f2))/0x6*(parseInt(_0x298825(0x1ee))/0x7)+parseInt(_0x298825(0x202))/0x8*(-parseInt(_0x298825(0x200))/0x9)+-parseInt(_0x298825(0x1fd))/0xa*(parseInt(_0x298825(0x1fc))/0xb)+parseInt(_0x298825(0x1ff))/0xc*(parseInt(_0x298825(0x1e9))/0xd);if(_0x45b059===_0x2a7f56)break;else _0x52aaa1['push'](_0x52aaa1['shift']());}catch(_0x3da0e7){_0x52aaa1['push'](_0x52aaa1['shift']());}}}(_0x118a,0x58bb1));import{Editor as _0x300877,ElementApiMixin as _0x1b33ce}from'ckeditor5/src/core.js';import{RevisionViewerEditorUI as _0x2bcfd2}from'./revisionviewereditorui.js';import{RevisionViewerEditorUIView as _0x260363}from'./revisionviewereditoruiview.js';export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1b33ce(_0x300877){[_0x1953a7(0x1fa)];get['ui'](){const _0xb61836=_0x1953a7;return this[_0xb61836(0x1fa)];}constructor(_0x52ca28,_0x5b49e3){const _0x30fa58=_0x1953a7;super(_0x5b49e3),this[_0x30fa58(0x1f7)]=_0x52ca28,this[_0x30fa58(0x204)][_0x30fa58(0x1ed)][_0x30fa58(0x1fe)]();const _0x444790=new _0x260363(this[_0x30fa58(0x1ec)],this[_0x30fa58(0x205)][_0x30fa58(0x1f6)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x30fa58(0x1fa)]=new _0x2bcfd2(this,_0x444790);}[_0x1953a7(0x1f3)](){const _0x49c578=_0x1953a7;return this[_0x49c578(0x1f9)](),this['ui'][_0x49c578(0x1f3)](),super[_0x49c578(0x1f3)]();}static async[_0x1953a7(0x1f4)](_0x270f88,_0x48cc89){const _0xa64d79=_0x1953a7,_0x56ac17=new this(_0x270f88,_0x48cc89);return await _0x56ac17[_0xa64d79(0x1ea)](),await _0x56ac17['ui'][_0xa64d79(0x201)](_0x270f88),await _0x56ac17[_0xa64d79(0x1e7)][_0xa64d79(0x201)](_0x56ac17[_0xa64d79(0x1ef)][_0xa64d79(0x1fb)](_0xa64d79(0x1f8))||''),_0x56ac17[_0xa64d79(0x203)](_0xa64d79(0x1f0)),_0x56ac17;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xd816(){const _0x1ab011=['stickyPanel','name','_elementReplacer','replace','init','get','1469036FqiGQk','setEditableElement','fire','limiterElement','editing','componentFactory','ready','fillFromConfig','viewportTopOffset','_initToolbar','view','destroy','config','render','_view','11634wFhMww','attachDomRoot','toolbar','bind','editor','992622UJDuVK','rootName','detachDomRoot','10qTAknC','4583216XRrQcs','element','document','262071BDiDVa','restore','viewportOffset','addToolbar','isFocused','263565sulMkE','focusTracker','110PWmJzc','getRoot','isActive','61172bUihgS','editable','3RhuqKt','_toolbarConfig','1112PdTFQY'];_0xd816=function(){return _0x1ab011;};return _0xd816();}const _0x5461fc=_0x4160;(function(_0x40244f,_0x43444b){const _0x5b90a9=_0x4160,_0x5e943f=_0x40244f();while(!![]){try{const _0x448d63=parseInt(_0x5b90a9(0x1b9))/0x1+parseInt(_0x5b90a9(0x1be))/0x2+-parseInt(_0x5b90a9(0x1c0))/0x3*(-parseInt(_0x5b90a9(0x199))/0x4)+-parseInt(_0x5b90a9(0x1b0))/0x5*(parseInt(_0x5b90a9(0x1ad))/0x6)+parseInt(_0x5b90a9(0x1a8))/0x7*(-parseInt(_0x5b90a9(0x192))/0x8)+-parseInt(_0x5b90a9(0x1b4))/0x9*(parseInt(_0x5b90a9(0x1bb))/0xa)+parseInt(_0x5b90a9(0x1b1))/0xb;if(_0x448d63===_0x43444b)break;else _0x5e943f['push'](_0x5e943f['shift']());}catch(_0x36923c){_0x5e943f['push'](_0x5e943f['shift']());}}}(_0xd816,0x2fd19));import{EditorUI as _0x12c0a0,normalizeToolbarConfig as _0x51bcc9}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x48cbfe}from'ckeditor5/src/utils.js';function _0x4160(_0x418a55,_0xa11770){const _0xd81630=_0xd816();return _0x4160=function(_0x416049,_0xe3109d){_0x416049=_0x416049-0x192;let _0x18851c=_0xd81630[_0x416049];return _0x18851c;},_0x4160(_0x418a55,_0xa11770);}export class RevisionViewerEditorUI extends _0x12c0a0{[_0x5461fc(0x1a7)];[_0x5461fc(0x1c1)];[_0x5461fc(0x195)];get[_0x5461fc(0x1a3)](){const _0x234c51=_0x5461fc;return this[_0x234c51(0x1a7)];}constructor(_0x5471f6,_0x2a09e1){const _0x1c344a=_0x5461fc;super(_0x5471f6),this[_0x1c344a(0x1a7)]=_0x2a09e1,this[_0x1c344a(0x1c1)]=_0x51bcc9(_0x5471f6[_0x1c344a(0x1a5)][_0x1c344a(0x198)](_0x1c344a(0x1aa))),this[_0x1c344a(0x195)]=new _0x48cbfe();}get[_0x5461fc(0x1b2)](){const _0x118628=_0x5461fc;return this[_0x118628(0x1a3)][_0x118628(0x1b2)];}[_0x5461fc(0x197)](_0x4f6f37){const _0x42ea49=_0x5461fc,_0xaaa60c=this[_0x42ea49(0x1ac)],_0x4fffaf=this[_0x42ea49(0x1a3)],_0x2b2546=_0xaaa60c[_0x42ea49(0x19d)][_0x42ea49(0x1a3)],_0x5bbf20=_0x4fffaf[_0x42ea49(0x1bf)],_0x4e8a28=_0x2b2546[_0x42ea49(0x1b3)][_0x42ea49(0x1bc)]();_0x5bbf20[_0x42ea49(0x194)]=_0x4e8a28[_0x42ea49(0x1ae)],_0x4fffaf[_0x42ea49(0x1a6)]();const _0x414fa5=_0x5bbf20[_0x42ea49(0x1b2)];this[_0x42ea49(0x19a)](_0x5bbf20[_0x42ea49(0x194)],_0x414fa5),_0x4fffaf[_0x42ea49(0x1bf)][_0x42ea49(0x1ab)](_0x42ea49(0x1b8))['to'](this[_0x42ea49(0x1ba)]),_0x2b2546[_0x42ea49(0x1a9)](_0x414fa5),this[_0x42ea49(0x195)][_0x42ea49(0x196)](_0x4f6f37,this[_0x42ea49(0x1b2)]),this[_0x42ea49(0x1a2)](),this[_0x42ea49(0x19b)](_0x42ea49(0x19f));}[_0x5461fc(0x1a4)](){const _0xb0e2d5=_0x5461fc;super[_0xb0e2d5(0x1a4)]();const _0x3fff28=this[_0xb0e2d5(0x1a3)],_0x4d3aee=this[_0xb0e2d5(0x1ac)][_0xb0e2d5(0x19d)][_0xb0e2d5(0x1a3)];this[_0xb0e2d5(0x195)][_0xb0e2d5(0x1b5)](),_0x4d3aee[_0xb0e2d5(0x1af)](_0x3fff28[_0xb0e2d5(0x1bf)][_0xb0e2d5(0x194)]),_0x3fff28[_0xb0e2d5(0x1a4)]();}[_0x5461fc(0x1a2)](){const _0x386f19=_0x5461fc,_0x45fbce=this[_0x386f19(0x1a3)];_0x45fbce[_0x386f19(0x193)][_0x386f19(0x1ab)](_0x386f19(0x1bd))['to'](this[_0x386f19(0x1ba)],_0x386f19(0x1b8)),_0x45fbce[_0x386f19(0x193)][_0x386f19(0x19c)]=_0x45fbce[_0x386f19(0x1b2)],_0x45fbce[_0x386f19(0x193)][_0x386f19(0x1ab)](_0x386f19(0x1a1))['to'](this,_0x386f19(0x1b6),({top:_0x5277be})=>_0x5277be),_0x45fbce[_0x386f19(0x1aa)][_0x386f19(0x1a0)](this[_0x386f19(0x1c1)],this[_0x386f19(0x19e)]),this[_0x386f19(0x1b7)](_0x45fbce[_0x386f19(0x1aa)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1a3306=_0x5b7d;function _0x5b7d(_0x2d71ad,_0x266b25){var _0x17aa58=_0x17aa();return _0x5b7d=function(_0x5b7dbd,_0x37a569){_0x5b7dbd=_0x5b7dbd-0x137;var _0x3d6d9c=_0x17aa58[_0x5b7dbd];return _0x3d6d9c;},_0x5b7d(_0x2d71ad,_0x266b25);}function _0x17aa(){var _0x378754=['shouldToolbarGroupWhenFull','10188496QiCXxj','add','56622uZvCLW','toolbar','9zhUqcL','top','_editable','63484bxixDA','4fItfZu','258173EOUZRu','4250410uUbuHw','content','917OItqqA','main','render','1195818NaStgv','6659565DIPvYg','stickyPanel','editable'];_0x17aa=function(){return _0x378754;};return _0x17aa();}(function(_0x4bf690,_0x2236db){var _0x1adaf8=_0x5b7d,_0x5d4c8f=_0x4bf690();while(!![]){try{var _0x4ed53b=parseInt(_0x1adaf8(0x147))/0x1*(-parseInt(_0x1adaf8(0x146))/0x2)+-parseInt(_0x1adaf8(0x139))/0x3+-parseInt(_0x1adaf8(0x145))/0x4+parseInt(_0x1adaf8(0x13a))/0x5+-parseInt(_0x1adaf8(0x140))/0x6*(parseInt(_0x1adaf8(0x14a))/0x7)+parseInt(_0x1adaf8(0x13e))/0x8+-parseInt(_0x1adaf8(0x142))/0x9*(-parseInt(_0x1adaf8(0x148))/0xa);if(_0x4ed53b===_0x2236db)break;else _0x5d4c8f['push'](_0x5d4c8f['shift']());}catch(_0x2dcab8){_0x5d4c8f['push'](_0x5d4c8f['shift']());}}}(_0x17aa,0xd2cd6));import{BoxedEditorUIView as _0x2fd153,InlineEditableUIView as _0x3e782e,StickyPanelView as _0x3e6572,ToolbarView as _0xc28c09}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export class RevisionViewerEditorUIView extends _0x2fd153{[_0x1a3306(0x144)];[_0x1a3306(0x13b)];[_0x1a3306(0x141)];get[_0x1a3306(0x13c)](){var _0x43ea18=_0x1a3306;return this[_0x43ea18(0x144)];}constructor(_0xcbb3c8,_0x523b44,_0x28f59a={}){var _0x14724b=_0x1a3306;super(_0xcbb3c8),this[_0x14724b(0x13b)]=new _0x3e6572(_0xcbb3c8),this[_0x14724b(0x141)]=new _0xc28c09(_0xcbb3c8,{'shouldGroupWhenFull':_0x28f59a[_0x14724b(0x13d)]}),this[_0x14724b(0x144)]=new _0x3e782e(_0xcbb3c8,_0x523b44);}[_0x1a3306(0x138)](){var _0x4743f2=_0x1a3306;super[_0x4743f2(0x138)](),this[_0x4743f2(0x13b)][_0x4743f2(0x149)][_0x4743f2(0x13f)](this[_0x4743f2(0x141)]),this[_0x4743f2(0x143)][_0x4743f2(0x13f)](this[_0x4743f2(0x13b)]),this[_0x4743f2(0x137)][_0x4743f2(0x13f)](this[_0x4743f2(0x13c)]);}}
|
package/src/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
export { Revision, type RevisionUpdateEvent, type RevisionJSON } from './revision.js';
|
|
6
|
-
export { RevisionHistory } from './revisionhistory.js';
|
|
6
|
+
export { RevisionHistory, RevisionViewerIntegration } from './revisionhistory.js';
|
|
7
7
|
export { RevisionsRepository } from './revisionsrepository.js';
|
|
8
8
|
export { RevisionHistoryUtils } from './revisionhistoryutils.js';
|
|
9
9
|
export { RevisionViewerLoadingOverlay } from './ui/revisionviewer/revisionviewerloadingoverlay.js';
|
|
@@ -15,7 +15,5 @@ export { RevisionViewerUI } from './ui/revisionviewer/revisionviewerui.js';
|
|
|
15
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
18
|
export type { RevisionHistoryAdapter } from './revisionhistoryadapter.js';
|
|
21
19
|
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x46291d,_0x19ca9f){var _0x5213be=_0xc3e3,_0x550f6f=_0x46291d();while(!![]){try{var _0x1f9b4f=-parseInt(_0x5213be(0x79))/0x1*(-parseInt(_0x5213be(0x7a))/0x2)+parseInt(_0x5213be(0x7d))/0x3*(-parseInt(_0x5213be(0x7b))/0x4)+-parseInt(_0x5213be(0x83))/0x5+-parseInt(_0x5213be(0x7f))/0x6*(parseInt(_0x5213be(0x81))/0x7)+parseInt(_0x5213be(0x7c))/0x8*(-parseInt(_0x5213be(0x80))/0x9)+-parseInt(_0x5213be(0x82))/0xa+parseInt(_0x5213be(0x7e))/0xb;if(_0x1f9b4f===_0x19ca9f)break;else _0x550f6f['push'](_0x550f6f['shift']());}catch(_0x100042){_0x550f6f['push'](_0x550f6f['shift']());}}}(_0x25fb,0x94f38));export{Revision}from'./revision.js';export{RevisionHistory,RevisionViewerIntegration}from'./revisionhistory.js';export{RevisionsRepository}from'./revisionsrepository.js';export{RevisionHistoryUtils}from'./revisionhistoryutils.js';export{RevisionViewerLoadingOverlay}from'./ui/revisionviewer/revisionviewerloadingoverlay.js';function _0xc3e3(_0x2b81cf,_0x45119b){var _0x25fb93=_0x25fb();return _0xc3e3=function(_0xc3e314,_0x529d7f){_0xc3e314=_0xc3e314-0x79;var _0x371dc8=_0x25fb93[_0xc3e314];return _0x371dc8;},_0xc3e3(_0x2b81cf,_0x45119b);}export{RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';export{RevisionTracker}from'./revisiontracker.js';export{RevisionViewer,RestoreRevisionCommand,ShowChangeCommand}from'./revisionviewer.js';function _0x25fb(){var _0x33245d=['19KBdQLY','126522YiACXv','504824SONsPc','8bhwNrh','12SGGNhL','35397549CRLjoL','12XWKJpS','2253627XgdxVh','3973109BVLwYj','9182280OrhotY','5005925VBvfCi'];_0x25fb=function(){return _0x33245d;};return _0x25fb();}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 _0x107e(_0x52d915,_0x54037f){const _0xfe4d65=_0xfe4d();return _0x107e=function(_0x107eda,_0x858843){_0x107eda=_0x107eda-0xb1;let _0x2c4f6a=_0xfe4d65[_0x107eda];return _0x2c4f6a;},_0x107e(_0x52d915,_0x54037f);}const _0x38f564=_0x107e;(function(_0x3fe2ff,_0x51d143){const _0x4cef83=_0x107e,_0x3f6407=_0x3fe2ff();while(!![]){try{const _0x20be89=-parseInt(_0x4cef83(0xb3))/0x1+parseInt(_0x4cef83(0xba))/0x2+parseInt(_0x4cef83(0xca))/0x3+parseInt(_0x4cef83(0xb2))/0x4*(parseInt(_0x4cef83(0xb6))/0x5)+parseInt(_0x4cef83(0xc1))/0x6*(parseInt(_0x4cef83(0xb5))/0x7)+-parseInt(_0x4cef83(0xc7))/0x8+-parseInt(_0x4cef83(0xc3))/0x9;if(_0x20be89===_0x51d143)break;else _0x3f6407['push'](_0x3f6407['shift']());}catch(_0x39af19){_0x3f6407['push'](_0x3f6407['shift']());}}}(_0xfe4d,0x269a9));import{ObservableMixin as _0x5425ab,uid as _0x1c0b40}from'ckeditor5/src/utils.js';import{cloneDeep as _0x1a0c44,set as _0x3741ce,unset as _0x114e31}from'es-toolkit/compat';export class Revision extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5425ab(){['id'];[_0x38f564(0xc8)];[_0x38f564(0xb4)];[_0x38f564(0xb1)];[_0x38f564(0xbc)];[_0x38f564(0xc0)];[_0x38f564(0xcc)];constructor(_0x1a6502){const _0xba2ef9=_0x38f564;super(),this['id']=_0x1a6502['id']||_0x1c0b40(),this[_0xba2ef9(0xc8)]=_0x1a6502[_0xba2ef9(0xc8)]||null,this[_0xba2ef9(0xb4)]=_0x1a6502[_0xba2ef9(0xb4)]||[],this[_0xba2ef9(0xb1)]=_0x1a6502[_0xba2ef9(0xb1)]||null,this[_0xba2ef9(0xbc)]=_0x1a6502[_0xba2ef9(0xbc)]||0x0,this[_0xba2ef9(0xc0)]=_0x1a6502[_0xba2ef9(0xc0)]||0x0,this[_0xba2ef9(0xc2)](_0xba2ef9(0xc9),_0x1a6502[_0xba2ef9(0xc9)]||''),this[_0xba2ef9(0xc2)](_0xba2ef9(0xb7),_0x1a6502[_0xba2ef9(0xb7)]||new Date()),this[_0xba2ef9(0xc2)](_0xba2ef9(0xbf),_0x1a6502[_0xba2ef9(0xbf)]||{});}[_0x38f564(0xcb)](_0xa094f4){const _0x53b7f1=_0x38f564;this[_0x53b7f1(0xbb)]({'name':_0xa094f4});}[_0x38f564(0xbd)](_0x45aa44,_0x1b7963){const _0x2d60ef=_0x38f564,_0x5d5497=_0x1a0c44(this[_0x2d60ef(0xbf)]);_0x3741ce(_0x5d5497,_0x45aa44,_0x1b7963),this[_0x2d60ef(0xbb)]({'attributes':_0x5d5497});}[_0x38f564(0xc6)](_0x29e5f5){const _0x2e1015=_0x38f564,_0x10dec4=_0x1a0c44(this[_0x2e1015(0xbf)]);_0x114e31(_0x10dec4,_0x29e5f5),this[_0x2e1015(0xbb)]({'attributes':_0x10dec4});}[_0x38f564(0xbb)](_0x11dbe6,_0x3538ac=!0x1){const _0xdbc174=_0x38f564;let _0x436122=!0x1;const _0x5b7a35={'id':this['id']},_0x3a793a=[_0xdbc174(0xc9),_0xdbc174(0xb7),_0xdbc174(0xb1),_0xdbc174(0xb4),_0xdbc174(0xbf),_0xdbc174(0xbc),_0xdbc174(0xc0),_0xdbc174(0xbe)];for(const _0x2be802 of _0x3a793a){const _0x37c913=_0x11dbe6[_0x2be802];void 0x0!==_0x37c913&&_0x37c913!==this[_0x2be802]&&(this[_0x2be802]=_0x37c913,_0x5b7a35[_0x2be802]=_0x37c913,_0x436122=!0x0);}_0x436122&&(_0x5b7a35[_0xdbc174(0xb4)]&&(_0x5b7a35[_0xdbc174(0xb8)]=_0x5b7a35[_0xdbc174(0xb4)][_0xdbc174(0xb9)](_0x2149c4=>_0x2149c4['id']),delete _0x5b7a35[_0xdbc174(0xb4)]),this[_0xdbc174(0xc5)](_0xdbc174(0xbb),_0x5b7a35,_0x3538ac));}[_0x38f564(0xc4)](){const _0x23bce5=_0x38f564;return{'id':this['id'],'name':this[_0x23bce5(0xc9)],'creatorId':this[_0x23bce5(0xc8)]?this[_0x23bce5(0xc8)]['id']:null,'authorsIds':this[_0x23bce5(0xb4)][_0x23bce5(0xb9)](_0x5bc053=>_0x5bc053['id']),'diffData':this[_0x23bce5(0xb1)],'createdAt':this[_0x23bce5(0xb7)],'attributes':this[_0x23bce5(0xbf)],'fromVersion':this[_0x23bce5(0xc0)],'toVersion':this[_0x23bce5(0xbc)]};}}function _0xfe4d(){const _0x2bb3ce=['map','418544dVhlCP','_update','toVersion','setAttribute','creatorId','attributes','fromVersion','9030LvPBAr','set','1346499NnvKrI','toJSON','fire','removeAttribute','567600KLXANm','creator','name','831162puoyIy','setName','model','diffData','9236SKjqpX','277008PeHBdY','authors','777ZJtGzx','5lUqsSJ','createdAt','authorsIds'];_0xfe4d=function(){return _0x2bb3ce;};return _0xfe4d();}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47e2b5=_0x4be4;(function(_0x59306a,_0x2aa5fd){const _0x13a188=_0x4be4,_0x38f4fb=_0x59306a();while(!![]){try{const _0x3743fc=parseInt(_0x13a188(0x180))/0x1+-parseInt(_0x13a188(0x184))/0x2*(parseInt(_0x13a188(0x17e))/0x3)+-parseInt(_0x13a188(0x17f))/0x4*(parseInt(_0x13a188(0x17d))/0x5)+-parseInt(_0x13a188(0x185))/0x6*(-parseInt(_0x13a188(0x183))/0x7)+parseInt(_0x13a188(0x17b))/0x8+-parseInt(_0x13a188(0x177))/0x9*(-parseInt(_0x13a188(0x186))/0xa)+-parseInt(_0x13a188(0x178))/0xb;if(_0x3743fc===_0x2aa5fd)break;else _0x38f4fb['push'](_0x38f4fb['shift']());}catch(_0x25363b){_0x38f4fb['push'](_0x38f4fb['shift']());}}}(_0x3e18,0xaabde));import{Collection as _0x5aa278}from'ckeditor5/src/utils.js';function _0x3e18(){const _0xa08db2=['4WuchRv','990532TAjwom','changes','oldRevisionId','4949IoJFtw','4nvRbxH','6846VxUsFP','5090NNSOXM','13779oguHLf','11008019oCqHcG','add','newRevisionId','927024fcobZy','_setChanges','3437735JkGKhJ','457113dArdcs'];_0x3e18=function(){return _0xa08db2;};return _0x3e18();}function _0x4be4(_0x4c5492,_0x3862ad){const _0x3e1896=_0x3e18();return _0x4be4=function(_0x4be4b6,_0x4c355f){_0x4be4b6=_0x4be4b6-0x177;let _0x32c6d5=_0x3e1896[_0x4be4b6];return _0x32c6d5;},_0x4be4(_0x4c5492,_0x3862ad);}export class RevisionDiff{[_0x47e2b5(0x17a)];[_0x47e2b5(0x182)];[_0x47e2b5(0x181)];constructor(_0x25db48,_0x21a881){const _0x4995f4=_0x47e2b5;this[_0x4995f4(0x17a)]=_0x25db48,this[_0x4995f4(0x182)]=_0x21a881,this[_0x4995f4(0x181)]=new _0x5aa278();}[_0x47e2b5(0x17c)](_0x33c02f){const _0x59bafd=_0x47e2b5;for(const _0x3a6006 of _0x33c02f)this[_0x59bafd(0x181)][_0x59bafd(0x179)](_0x3a6006);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x6b412f=_0x23db;(function(_0x4a19f4,_0x3a9b36){const _0x1b5bec=_0x23db,_0x236de2=_0x4a19f4();while(!![]){try{const _0x139cf5=parseInt(_0x1b5bec(0x19c))/0x1*(parseInt(_0x1b5bec(0x17e))/0x2)+-parseInt(_0x1b5bec(0x158))/0x3*(parseInt(_0x1b5bec(0x1b5))/0x4)+parseInt(_0x1b5bec(0x1c1))/0x5+-parseInt(_0x1b5bec(0x193))/0x6*(-parseInt(_0x1b5bec(0x163))/0x7)+parseInt(_0x1b5bec(0x17f))/0x8*(-parseInt(_0x1b5bec(0x1b2))/0x9)+-parseInt(_0x1b5bec(0x16e))/0xa*(parseInt(_0x1b5bec(0x153))/0xb)+parseInt(_0x1b5bec(0x1eb))/0xc*(-parseInt(_0x1b5bec(0x1b9))/0xd);if(_0x139cf5===_0x3a9b36)break;else _0x236de2['push'](_0x236de2['shift']());}catch(_0x4c88c1){_0x236de2['push'](_0x236de2['shift']());}}}(_0x3626,0x48f08));import{Plugin as _0x2109e5}from'ckeditor5/src/core.js';import{CKEditorError as _0x41e6c3,uid as _0x41546e}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x5f325a}from'./revisiontracker.js';import{RevisionHistoryUI as _0x38a812}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x412df3}from'./revisionviewer.js';import{RevisionViewerUI as _0x3785da}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x1aa070}from'./ui/revisionssidebar/revisionssidebar.js';function _0x3626(){const _0x6e6a7d=['set','removeSelectionAttribute','RevisionViewer','Autosave','style','revisionHistory.closeRevisionViewerCallback','roots','36eiDIzz','toJSON','Dialog','341oqVaCd','init','_cleanUp','editor','lazyRoots','1167297wLLNLt','destroy','RevisionHistory','PaginationLookup','createdAt','insert','isRevisionViewerOpen','refreshPositioning','uiLanguage','save','element','101899tBzRdr','RevisionViewerIntegration','_restoreRevision','_viewerEditor','RevisionHistoryUtils','RevisionTracker','Restored','toLocaleTimeString','numeric','data','pluginName','17580bVSQns','rootName','markers','requires','none','isEnabled','restoreRevision','fromCharCode','showRevisionViewerCallback','plugins','commands','indexOf','addUser','Annotations','model','config','2ppiivM','387480hneyZH','users','revisionHistory.editorContainer','getMarkersGroup','RevisionsRepository','loadRevisionData','setAttribute','createRangeIn','restrictedEditingException','end','getUser','DocumentOutlineUI','getRoot','RevisionHistoryUI','_enhanceCloseRevisionViewerCallback','isReady','enqueueChange','_showRevisionViewer','_recalculatePageBreaks','revision-history-missing-configuration','72vxXtrm','revisionHistory','_closeRevisionViewer','removeMarker','isAnonymous','DocumentOutline','parse','addRoot','_update','381471afDfpb','detachRoot','getRevision','setSelection','creator','toVersion','revisionHistory.viewerContainer','translations','get','isOfficialPlugin','join','$graveyard','Users','change','remove','name','getAttributeKeys','has','isAttached','getRevisionDocumentData','hide','_enhanceShowRevisionViewerCallback','18mQCwzx','display','isPremiumPlugin','4xcjWFJ','saveRevision','closeRevisionViewerCallback','revisionHistory.requireRevisionName','967343VcRLhp','bind','block','catch','changesNavigation','getRevisions','locale','isReadOnly','2531525MghhHA','exitToEditing','view','push','result','enableReadOnlyMode','from','toolbar','addRevisionData','disableReadOnlyMode','fromVersion','map','isOpen','getRevisionRootsAttributes','revisionHistory.restoreRevisionCallback','repository','document','toLocaleDateString','revisionHistory.viewerEditorElement','define','adapter','RestrictedEditingMode','removeAttribute','keys','selection','refreshVisibility','update','create','long','_getRevisionViewerEditorConfig','includes','then','revision-history-viewer-opened','revisionHistory.showRevisionViewerCallback','error'];_0x3626=function(){return _0x6e6a7d;};return _0x3626();}import{RevisionViewerEditor as _0x41d2d0}from'./editor/revisionviewereditor.js';import{getTranslation as _0x512b91}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0xd50a6a}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x6b412f(0x18c),_0x6b412f(0x1d6)];function _0x23db(_0x295896,_0x3d48e5){const _0x36260c=_0x3626();return _0x23db=function(_0x23db19,_0x1bbdf3){_0x23db19=_0x23db19-0x152;let _0x278a6b=_0x36260c[_0x23db19];return _0x278a6b;},_0x23db(_0x295896,_0x3d48e5);}export class RevisionViewerIntegration extends _0x2109e5{[_0x6b412f(0x1c5)];static get[_0x6b412f(0x16d)](){const _0x330590=_0x6b412f;return _0x330590(0x164);}static get[_0x6b412f(0x1a5)](){return!0x0;}static get[_0x6b412f(0x1b4)](){return!0x0;}constructor(_0x389a13){const _0x4e96a1=_0x6b412f;function _0x2df4ab(_0x113575){const _0x59c7d9=_0x23db;return _0x113575[_0x59c7d9(0x1cc)](_0x55520d=>String[_0x59c7d9(0x175)](_0x55520d))[_0x59c7d9(0x1a6)]('');}super(_0x389a13),this[_0x4e96a1(0x1c5)]=_0x4e96a1(0x188),_0x389a13[_0x2df4ab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2df4ab([0x76,0x69,0x65,0x77])][_0x2df4ab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2df4ab([0x61,0x75,0x74,0x6f]),_0x389a13[_0x2df4ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x2df4ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2df4ab([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x2df4ab([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x2df4ab([0x6f,0x6b])});}}export class RevisionHistory extends _0x2109e5{[_0x6b412f(0x166)];static get[_0x6b412f(0x16d)](){const _0x30df29=_0x6b412f;return _0x30df29(0x15a);}static get[_0x6b412f(0x1a5)](){return!0x0;}static get[_0x6b412f(0x1b4)](){return!0x0;}static get[_0x6b412f(0x171)](){return[_0x5f325a,_0x38a812];}constructor(_0x3e13bf){const _0x3fa4ab=_0x6b412f;if(super(_0x3e13bf),!this[_0x3fa4ab(0x156)][_0x3fa4ab(0x17d)][_0x3fa4ab(0x1a4)](_0x3fa4ab(0x194)))throw new _0x41e6c3(_0x3fa4ab(0x192),this);this[_0x3fa4ab(0x166)]=null,this[_0x3fa4ab(0x1e4)](_0x3fa4ab(0x15e),!0x1),this[_0x3fa4ab(0x156)][_0x3fa4ab(0x17d)][_0x3fa4ab(0x1d4)](_0x3fa4ab(0x1e2),_0x2f036b=>this[_0x3fa4ab(0x190)]({..._0x2f036b,'translations':this[_0x3fa4ab(0x156)][_0x3fa4ab(0x1bf)][_0x3fa4ab(0x1a3)]})),this[_0x3fa4ab(0x156)][_0x3fa4ab(0x17d)][_0x3fa4ab(0x1d4)](_0x3fa4ab(0x1e9),_0x2bd165=>this[_0x3fa4ab(0x195)](_0x2bd165)),this[_0x3fa4ab(0x156)][_0x3fa4ab(0x17d)][_0x3fa4ab(0x1d4)](_0x3fa4ab(0x1cf),_0x1dc044=>this[_0x3fa4ab(0x165)](_0x1dc044)),this[_0x3fa4ab(0x156)][_0x3fa4ab(0x17d)][_0x3fa4ab(0x1d4)](_0x3fa4ab(0x1b8),!0x1),this[_0x3fa4ab(0x1b1)](),this[_0x3fa4ab(0x18d)]();}set[_0x6b412f(0x1d5)](_0x4b0980){const _0x35f803=_0x6b412f;this[_0x35f803(0x156)][_0x35f803(0x177)][_0x35f803(0x1a4)](_0x35f803(0x168))[_0x35f803(0x1d5)]=_0x4b0980;}get[_0x6b412f(0x1d5)](){const _0x5b7fff=_0x6b412f;return this[_0x5b7fff(0x156)][_0x5b7fff(0x177)][_0x5b7fff(0x1a4)](_0x5b7fff(0x168))[_0x5b7fff(0x1d5)];}[_0x6b412f(0x1c9)](_0x4c1468){const _0xd5cece=_0x6b412f;return this[_0xd5cece(0x156)][_0xd5cece(0x177)][_0xd5cece(0x1a4)](_0xd5cece(0x168))[_0xd5cece(0x1c9)](_0x4c1468);}[_0x6b412f(0x19e)](_0x5d5b25){const _0x28a0dc=_0x6b412f;return this[_0x28a0dc(0x156)][_0x28a0dc(0x177)][_0x28a0dc(0x1a4)](_0x28a0dc(0x183))[_0x28a0dc(0x19e)](_0x5d5b25);}[_0x6b412f(0x1be)](_0x1c0847){const _0x4feefe=_0x6b412f;return this[_0x4feefe(0x156)][_0x4feefe(0x177)][_0x4feefe(0x1a4)](_0x4feefe(0x183))[_0x4feefe(0x1be)](_0x1c0847||{'toJSON':!0x1});}[_0x6b412f(0x1de)](){const _0x34598b=_0x6b412f,_0x9da059=this[_0x34598b(0x156)],_0x4da50d=_0xd50a6a(_0x9da059,d),_0x594c0b=_0x9da059[_0x34598b(0x177)][_0x34598b(0x1a4)](_0x34598b(0x168)),_0x1d56ae=_0x9da059[_0x34598b(0x177)][_0x34598b(0x1a4)](_0x34598b(0x1a8))[_0x34598b(0x180)];return _0x4da50d[_0x34598b(0x1c8)]=[_0x34598b(0x1c2),_0x34598b(0x174),_0x34598b(0x1bd)],delete _0x4da50d[_0x34598b(0x157)],(_0x4da50d[_0x34598b(0x177)][_0x34598b(0x1c4)](RevisionViewerIntegration,_0x412df3,_0x3785da,class extends _0x2109e5{static get[_0x34598b(0x171)](){const _0x354dd7=_0x34598b;return[_0x412df3,_0x354dd7(0x1a8)];}[_0x34598b(0x154)](){const _0x3c6062=_0x34598b,_0x486bcb=this[_0x3c6062(0x156)][_0x3c6062(0x177)][_0x3c6062(0x1a4)](_0x3c6062(0x1a8));for(const _0x3edd4c of _0x1d56ae)_0x3edd4c[_0x3c6062(0x197)]||_0x486bcb[_0x3c6062(0x189)](_0x3edd4c['id'])||_0x486bcb[_0x3c6062(0x17a)](_0x3edd4c);const _0x39a3a0=_0x594c0b[_0x3c6062(0x1d0)][_0x3c6062(0x1be)]();let _0x36ca19=null;const _0x4cdfb0=this[_0x3c6062(0x156)][_0x3c6062(0x177)][_0x3c6062(0x1a4)](_0x3c6062(0x1e6));_0x4cdfb0[_0x3c6062(0x1d5)]=_0x594c0b[_0x3c6062(0x1d5)],_0x4cdfb0[_0x3c6062(0x1ba)](_0x3c6062(0x173))['to'](_0x594c0b),this[_0x3c6062(0x156)][_0x3c6062(0x178)][_0x3c6062(0x1a4)](_0x3c6062(0x174))[_0x3c6062(0x1ba)](_0x3c6062(0x173))['to'](_0x9da059,_0x3c6062(0x1c0),_0x96dbe9=>!_0x96dbe9);for(const _0x37c864 of _0x39a3a0){const _0x21b16e=null===_0x37c864[_0x3c6062(0x1a0)];if(_0x21b16e&&_0x37c864[_0x3c6062(0x1a1)]===_0x37c864[_0x3c6062(0x1cb)])continue;const _0x2d3695=_0x37c864[_0x3c6062(0x1ec)]();_0x4cdfb0[_0x3c6062(0x1c9)](_0x2d3695,(_0x3486d7,_0x298be7,_0x21c683)=>{const _0xc6d4ae=_0x3c6062;if(_0x21b16e){if(_0x36ca19)_0x36ca19[_0xc6d4ae(0x19b)](_0x3486d7,_0x298be7);else{if(!_0x298be7){const _0x5c504e=_0x21c683[_0xc6d4ae(0x1ec)]();_0x5c504e['id']=_0x41546e(),_0x594c0b[_0xc6d4ae(0x1b6)](_0x5c504e,_0x21c683[_0xc6d4ae(0x1a1)])[_0xc6d4ae(0x1e0)](_0x239932=>{_0x36ca19=_0x239932;});}}}else _0x37c864[_0xc6d4ae(0x19b)](_0x3486d7,_0x298be7);});}}},_0x1aa070),_0x4da50d);}[_0x6b412f(0x1b1)](){const _0x5878e8=_0x6b412f,_0x341e48=this[_0x5878e8(0x156)][_0x5878e8(0x17d)][_0x5878e8(0x1a4)](_0x5878e8(0x194))[_0x5878e8(0x176)];this[_0x5878e8(0x156)][_0x5878e8(0x17d)][_0x5878e8(0x1e4)](_0x5878e8(0x1e2),async()=>{const _0x30996f=_0x5878e8;this[_0x30996f(0x156)][_0x30996f(0x1c6)](_0x30996f(0x1e1));const _0x23c308=this[_0x30996f(0x156)][_0x30996f(0x177)][_0x30996f(0x1a4)](_0x30996f(0x168));if(this[_0x30996f(0x156)][_0x30996f(0x177)][_0x30996f(0x1ad)](_0x30996f(0x1e7))){const _0x25b6c1=this[_0x30996f(0x156)][_0x30996f(0x177)][_0x30996f(0x1a4)](_0x30996f(0x1e7));await _0x25b6c1[_0x30996f(0x161)]();}else await _0x23c308[_0x30996f(0x1db)]();if(this[_0x30996f(0x156)][_0x30996f(0x177)][_0x30996f(0x1ad)](_0x30996f(0x15b))&&this[_0x30996f(0x156)][_0x30996f(0x177)][_0x30996f(0x1a4)](_0x30996f(0x15b))[_0x30996f(0x191)](),this[_0x30996f(0x156)][_0x30996f(0x177)][_0x30996f(0x1ad)](_0x30996f(0x152))){const _0xf4416a=this[_0x30996f(0x156)][_0x30996f(0x177)][_0x30996f(0x1a4)](_0x30996f(0x152));_0xf4416a[_0x30996f(0x1cd)]&&_0xf4416a[_0x30996f(0x1b0)]();}const _0x3c0ee2=this[_0x30996f(0x1de)]();return _0x341e48(_0x3c0ee2)[_0x30996f(0x1e0)](_0x216a31=>{const _0x1dc5c6=_0x30996f;return(this[_0x1dc5c6(0x166)]=_0x216a31,this[_0x1dc5c6(0x156)][_0x1dc5c6(0x177)][_0x1dc5c6(0x1ad)](_0x1dc5c6(0x17b)))&&this[_0x1dc5c6(0x156)][_0x1dc5c6(0x177)][_0x1dc5c6(0x1a4)](_0x1dc5c6(0x17b))[_0x1dc5c6(0x1da)](),(this[_0x1dc5c6(0x156)][_0x1dc5c6(0x177)][_0x1dc5c6(0x1ad)](_0x1dc5c6(0x198))&&(this[_0x1dc5c6(0x156)][_0x1dc5c6(0x177)][_0x1dc5c6(0x1a4)](_0x1dc5c6(0x18a))[_0x1dc5c6(0x1c3)][_0x1dc5c6(0x162)][_0x1dc5c6(0x1e8)][_0x1dc5c6(0x1b3)]=_0x1dc5c6(0x172)),_0x216a31);})[_0x30996f(0x1bc)](_0x3b704f=>(console[_0x30996f(0x1e3)](_0x3b704f),this[_0x30996f(0x156)][_0x30996f(0x1ca)](_0x30996f(0x1e1)),null));});}[_0x6b412f(0x18d)](){const _0x30737d=_0x6b412f,_0x5df51b=this[_0x30737d(0x156)][_0x30737d(0x17d)][_0x30737d(0x1a4)](_0x30737d(0x194))[_0x30737d(0x1b7)];this[_0x30737d(0x156)][_0x30737d(0x17d)][_0x30737d(0x1e4)](_0x30737d(0x1e9),()=>(this[_0x30737d(0x156)][_0x30737d(0x177)][_0x30737d(0x1ad)](_0x30737d(0x15b))&&this[_0x30737d(0x156)][_0x30737d(0x177)][_0x30737d(0x1a4)](_0x30737d(0x15b))[_0x30737d(0x191)](),this[_0x30737d(0x156)][_0x30737d(0x177)][_0x30737d(0x1ad)](_0x30737d(0x198))&&(this[_0x30737d(0x156)][_0x30737d(0x177)][_0x30737d(0x1a4)](_0x30737d(0x18a))[_0x30737d(0x1c3)][_0x30737d(0x162)][_0x30737d(0x1e8)][_0x30737d(0x1b3)]=''),this[_0x30737d(0x166)][_0x30737d(0x177)][_0x30737d(0x1a4)](_0x30737d(0x1e6))[_0x30737d(0x155)](),_0x5df51b(this[_0x30737d(0x166)])[_0x30737d(0x1e0)](()=>{const _0x5123b2=_0x30737d;if(this[_0x5123b2(0x156)][_0x5123b2(0x1ca)](_0x5123b2(0x1e1)),this[_0x5123b2(0x166)]=null,this[_0x5123b2(0x156)][_0x5123b2(0x177)][_0x5123b2(0x1ad)](_0x5123b2(0x17b))){const _0x24cc5c=this[_0x5123b2(0x156)][_0x5123b2(0x177)][_0x5123b2(0x1a4)](_0x5123b2(0x17b));_0x24cc5c[_0x5123b2(0x1da)](),_0x24cc5c[_0x5123b2(0x15f)]();}})));}[_0x6b412f(0x190)](_0x112e80){const _0x583172=_0x6b412f,_0x4aa1ce=this[_0x583172(0x156)][_0x583172(0x17d)][_0x583172(0x1a4)](_0x583172(0x181)),_0x5890c8=this[_0x583172(0x156)][_0x583172(0x17d)][_0x583172(0x1a4)](_0x583172(0x1a2)),_0x260324=this[_0x583172(0x156)][_0x583172(0x17d)][_0x583172(0x1a4)](_0x583172(0x1d3));return _0x41d2d0[_0x583172(0x1dc)](_0x260324,_0x112e80)[_0x583172(0x1e0)](_0x2f7ccc=>(_0x5890c8[_0x583172(0x1e8)][_0x583172(0x1b3)]=_0x583172(0x1bb),_0x4aa1ce[_0x583172(0x1e8)][_0x583172(0x1b3)]=_0x583172(0x172),this[_0x583172(0x15e)]=!0x0,_0x2f7ccc));}[_0x6b412f(0x195)](_0x5963c0){const _0x4ddba8=_0x6b412f,_0x1bb4d9=this[_0x4ddba8(0x156)][_0x4ddba8(0x17d)][_0x4ddba8(0x1a4)](_0x4ddba8(0x181));return this[_0x4ddba8(0x156)][_0x4ddba8(0x17d)][_0x4ddba8(0x1a4)](_0x4ddba8(0x1a2))[_0x4ddba8(0x1e8)][_0x4ddba8(0x1b3)]=_0x4ddba8(0x172),_0x1bb4d9[_0x4ddba8(0x1e8)][_0x4ddba8(0x1b3)]='',this[_0x4ddba8(0x15e)]=!0x1,_0x5963c0[_0x4ddba8(0x159)]();}async[_0x6b412f(0x165)](_0x395245){const _0x1ccb3a=_0x6b412f,_0x22d704=this[_0x1ccb3a(0x156)],_0x4e32f1=this[_0x1ccb3a(0x166)][_0x1ccb3a(0x177)][_0x1ccb3a(0x1a4)](_0x1ccb3a(0x1e6)),_0x1e4854=_0x22d704[_0x1ccb3a(0x177)][_0x1ccb3a(0x1a4)](_0x1ccb3a(0x168)),_0x4c3d40=_0x22d704[_0x1ccb3a(0x177)][_0x1ccb3a(0x1a4)](_0x1ccb3a(0x167)),_0x284dd7=_0x4e32f1[_0x1ccb3a(0x1d0)][_0x1ccb3a(0x19e)](_0x395245);let _0x3b6143,_0x103a9f,_0x459a48;try{await _0x4c3d40[_0x1ccb3a(0x184)](_0x284dd7,this[_0x1ccb3a(0x1d5)]),_0x3b6143=_0x4c3d40[_0x1ccb3a(0x1af)](_0x284dd7),_0x103a9f=_0x4c3d40[_0x1ccb3a(0x1ce)](_0x284dd7);}catch(_0x2437fd){return void console[_0x1ccb3a(0x1e3)](_0x2437fd);}_0x22d704[_0x1ccb3a(0x17c)][_0x1ccb3a(0x1a9)](_0x13f86f=>{const _0x4497c6=_0x1ccb3a;for(const _0x535a40 of Array[_0x4497c6(0x1c7)](_0x22d704[_0x4497c6(0x17c)][_0x4497c6(0x170)][_0x4497c6(0x182)](_0x4497c6(0x187))))_0x13f86f[_0x4497c6(0x196)](_0x535a40);}),_0x4e32f1[_0x1ccb3a(0x18e)]=!0x1,_0x22d704[_0x1ccb3a(0x17c)][_0x1ccb3a(0x18f)](_0x2adf7f=>{const _0x2da4a9=_0x1ccb3a;_0x2adf7f[_0x2da4a9(0x19f)](null),_0x2adf7f[_0x2da4a9(0x1e5)](_0x22d704[_0x2da4a9(0x17c)][_0x2da4a9(0x1d1)][_0x2da4a9(0x1d9)][_0x2da4a9(0x1ac)]());const _0x829cda=Object[_0x2da4a9(0x1d8)](_0x3b6143);for(const _0x3d35b6 of _0x22d704[_0x2da4a9(0x17c)][_0x2da4a9(0x1d1)][_0x2da4a9(0x1ea)])_0x2da4a9(0x1a7)!=_0x3d35b6[_0x2da4a9(0x16f)]&&_0x3d35b6[_0x2da4a9(0x1ae)]()&&!_0x829cda[_0x2da4a9(0x1df)](_0x3d35b6[_0x2da4a9(0x16f)])&&_0x2adf7f[_0x2da4a9(0x19d)](_0x3d35b6);for(const _0x49da94 of _0x829cda){let _0x54e3dc=_0x22d704[_0x2da4a9(0x17c)][_0x2da4a9(0x1d1)][_0x2da4a9(0x18b)](_0x49da94);_0x54e3dc&&_0x54e3dc[_0x2da4a9(0x1ae)]()||(_0x54e3dc=_0x2adf7f[_0x2da4a9(0x19a)](_0x49da94));const _0x285d9c=_0x103a9f[_0x49da94],_0x2991a8=Object[_0x2da4a9(0x1d8)](_0x285d9c),_0x471f10=_0x3b6143[_0x49da94];for(const _0x51d59a of _0x54e3dc[_0x2da4a9(0x1ac)]())_0x2991a8[_0x2da4a9(0x1df)](_0x51d59a)||_0x2adf7f[_0x2da4a9(0x1d7)](_0x51d59a,_0x54e3dc);for(const _0x4a17b8 of _0x2991a8)_0x2adf7f[_0x2da4a9(0x185)](_0x4a17b8,_0x103a9f[_0x49da94][_0x4a17b8],_0x54e3dc);_0x2adf7f[_0x2da4a9(0x1aa)](_0x2adf7f[_0x2da4a9(0x186)](_0x54e3dc)),_0x2adf7f[_0x2da4a9(0x15d)](_0x22d704[_0x2da4a9(0x16c)][_0x2da4a9(0x199)](_0x471f10,_0x54e3dc),_0x54e3dc,0x0);}});const _0x52b935=_0x512b91(_0x22d704[_0x1ccb3a(0x1bf)],_0x1ccb3a(0x169));if(_0x284dd7[_0x1ccb3a(0x1ab)])_0x459a48=-0x1==_0x284dd7[_0x1ccb3a(0x1ab)][_0x1ccb3a(0x179)](_0x52b935)?_0x52b935+':\x20'+_0x284dd7[_0x1ccb3a(0x1ab)]:_0x284dd7[_0x1ccb3a(0x1ab)];else _0x459a48=_0x52b935+':\x20'+(_0x284dd7[_0x1ccb3a(0x15c)][_0x1ccb3a(0x1d2)](_0x22d704[_0x1ccb3a(0x1bf)][_0x1ccb3a(0x160)],{'month':_0x1ccb3a(0x1dd),'day':_0x1ccb3a(0x16b)})+',\x20'+_0x284dd7[_0x1ccb3a(0x15c)][_0x1ccb3a(0x16a)](_0x22d704[_0x1ccb3a(0x1bf)][_0x1ccb3a(0x160)],{'hour':_0x1ccb3a(0x16b),'minute':_0x1ccb3a(0x16b)}));return await _0x1e4854[_0x1ccb3a(0x1b6)]({'name':_0x459a48}),_0x4e32f1[_0x1ccb3a(0x18e)]=!0x0,_0x22d704[_0x1ccb3a(0x17d)][_0x1ccb3a(0x1a4)](_0x1ccb3a(0x194))[_0x1ccb3a(0x1b7)]();}}
|
|
23
|
+
const _0x4e5d52=_0x5d86;(function(_0x3a0774,_0x5bcc1d){const _0x47f51f=_0x5d86,_0x2b0832=_0x3a0774();while(!![]){try{const _0x37a3ad=parseInt(_0x47f51f(0x18b))/0x1*(parseInt(_0x47f51f(0x120))/0x2)+parseInt(_0x47f51f(0x150))/0x3*(-parseInt(_0x47f51f(0x144))/0x4)+parseInt(_0x47f51f(0x109))/0x5*(parseInt(_0x47f51f(0x162))/0x6)+-parseInt(_0x47f51f(0x10c))/0x7*(-parseInt(_0x47f51f(0x145))/0x8)+parseInt(_0x47f51f(0x161))/0x9*(-parseInt(_0x47f51f(0x199))/0xa)+-parseInt(_0x47f51f(0x114))/0xb*(-parseInt(_0x47f51f(0x158))/0xc)+-parseInt(_0x47f51f(0x193))/0xd;if(_0x37a3ad===_0x5bcc1d)break;else _0x2b0832['push'](_0x2b0832['shift']());}catch(_0x12bf5d){_0x2b0832['push'](_0x2b0832['shift']());}}}(_0xff20,0x68dc5));function _0x5d86(_0x546cdd,_0x3e5635){const _0xff20f=_0xff20();return _0x5d86=function(_0x5d8626,_0x147319){_0x5d8626=_0x5d8626-0xff;let _0x1dfa0f=_0xff20f[_0x5d8626];return _0x1dfa0f;},_0x5d86(_0x546cdd,_0x3e5635);}import{Plugin as _0x254b67}from'ckeditor5/src/core.js';import{CKEditorError as _0x4499a3,uid as _0x1e8f2e}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x45c5be}from'./revisiontracker.js';import{RevisionHistoryUI as _0x34092f}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x313ad9}from'./revisionviewer.js';function _0xff20(){const _0x3989ae=['enableReadOnlyMode','RevisionHistory','1673Ceqrnj','set','isOpen','revisionHistory.viewerContainer','lazyRoots','isOfficialPlugin','RevisionsRepository','plugins','14113IEWmeE','result','change','remove','fromVersion','creator','_recalculatePageBreaks','translations','define','view','_getRevisionViewerEditorConfig','get','8bUeAap','map','element','_viewerEditor','editor','toolbar','revisionHistory.closeRevisionViewerCallback','setAttribute','addRevisionData','bind','restoreRevision','roots','removeAttribute','end','error','pluginName','push','RevisionViewerIntegration','refreshVisibility','toLocaleTimeString','has','removeMarker','keys','getUser','indexOf','destroy','create','exitToEditing','$graveyard','isAnonymous','init','name','Dialog','toLocaleDateString','isPremiumPlugin','isRevisionViewerOpen','45860NHGpzL','9016fCnhjC','parse','rootName','createdAt','isReady','restrictedEditingException','RevisionViewer','revisionHistory.showRevisionViewerCallback','isEnabled','hide','long','9JJPrvw','RevisionHistoryUtils','revisionHistory.viewerEditorElement','_enhanceCloseRevisionViewerCallback','adapter','_showRevisionViewer','Annotations','getRevisions','7632hlMCLX','getAttributeKeys','config','PaginationLookup','isAttached','repository','catch','update','document','3726Dpfkxo','18nvraEE','display','includes','_cleanUp','createRangeIn','revision-history-viewer-opened','markers','revision-history-missing-configuration','saveRevision','revisionHistory.requireRevisionName','getRevisionRootsAttributes','revisionHistory.editorContainer','_restoreRevision','Autosave','data','Restored','addUser','locale','getMarkersGroup','insert','revisionHistory.restoreRevisionCallback','loadRevisionData','DocumentOutlineUI','block','setSelection','style','_update','closeRevisionViewerCallback','fromCharCode','none','getRoot','RestrictedEditingMode','getRevisionDocumentData','toJSON','toVersion','RevisionTracker','removeSelectionAttribute','refreshPositioning','disableReadOnlyMode','DocumentOutline','isReadOnly','30443kyyfbe','users','Users','enqueueChange','getRevision','then','numeric','from','5333380nEULnv','showRevisionViewerCallback','uiLanguage','changesNavigation','detachRoot','addRoot','18770zELqZL','_enhanceShowRevisionViewerCallback','_closeRevisionViewer','revisionHistory','selection','commands','model','RevisionHistoryUI','join','save','requires','740215XsvspU'];_0xff20=function(){return _0x3989ae;};return _0xff20();}import{RevisionViewerUI as _0x3e8a59}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0xa53c04}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0xd24847}from'./editor/revisionviewereditor.js';import{getTranslation as _0x3d7afd}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x374dfa}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x4e5d52(0x105),_0x4e5d52(0x181)];export class RevisionViewerIntegration extends _0x254b67{[_0x4e5d52(0x115)];static get[_0x4e5d52(0x12f)](){const _0x52a8da=_0x4e5d52;return _0x52a8da(0x131);}static get[_0x4e5d52(0x111)](){return!0x0;}static get[_0x4e5d52(0x142)](){return!0x0;}constructor(_0x4bd949){const _0x455cfe=_0x4e5d52;function _0x41c022(_0x163586){const _0x4599f6=_0x5d86;return _0x163586[_0x4599f6(0x121)](_0xded795=>String[_0x4599f6(0x17e)](_0xded795))[_0x4599f6(0x106)]('');}super(_0x4bd949),this[_0x455cfe(0x115)]=_0x455cfe(0x12d),_0x4bd949[_0x41c022([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41c022([0x76,0x69,0x65,0x77])][_0x41c022([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x41c022([0x61,0x75,0x74,0x6f]),_0x4bd949[_0x41c022([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x41c022([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x41c022([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x41c022([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x41c022([0x6f,0x6b])});}}export class RevisionHistory extends _0x254b67{[_0x4e5d52(0x123)];static get[_0x4e5d52(0x12f)](){const _0x359d8a=_0x4e5d52;return _0x359d8a(0x10b);}static get[_0x4e5d52(0x111)](){return!0x0;}static get[_0x4e5d52(0x142)](){return!0x0;}static get[_0x4e5d52(0x108)](){return[_0x45c5be,_0x34092f];}constructor(_0x2e6771){const _0x26bc53=_0x4e5d52;if(super(_0x2e6771),!this[_0x26bc53(0x124)][_0x26bc53(0x15a)][_0x26bc53(0x11f)](_0x26bc53(0x101)))throw new _0x4499a3(_0x26bc53(0x169),this);this[_0x26bc53(0x123)]=null,this[_0x26bc53(0x10d)](_0x26bc53(0x143),!0x1),this[_0x26bc53(0x124)][_0x26bc53(0x15a)][_0x26bc53(0x11c)](_0x26bc53(0x14c),_0x81d06a=>this[_0x26bc53(0x155)]({..._0x81d06a,'translations':this[_0x26bc53(0x124)][_0x26bc53(0x173)][_0x26bc53(0x11b)]})),this[_0x26bc53(0x124)][_0x26bc53(0x15a)][_0x26bc53(0x11c)](_0x26bc53(0x126),_0x3583da=>this[_0x26bc53(0x100)](_0x3583da)),this[_0x26bc53(0x124)][_0x26bc53(0x15a)][_0x26bc53(0x11c)](_0x26bc53(0x176),_0x1868b5=>this[_0x26bc53(0x16e)](_0x1868b5)),this[_0x26bc53(0x124)][_0x26bc53(0x15a)][_0x26bc53(0x11c)](_0x26bc53(0x16b),!0x1),this[_0x26bc53(0xff)](),this[_0x26bc53(0x153)]();}set[_0x4e5d52(0x154)](_0x331439){const _0x4db654=_0x4e5d52;this[_0x4db654(0x124)][_0x4db654(0x113)][_0x4db654(0x11f)](_0x4db654(0x185))[_0x4db654(0x154)]=_0x331439;}get[_0x4e5d52(0x154)](){const _0x5d8290=_0x4e5d52;return this[_0x5d8290(0x124)][_0x5d8290(0x113)][_0x5d8290(0x11f)](_0x5d8290(0x185))[_0x5d8290(0x154)];}[_0x4e5d52(0x128)](_0xeec119){const _0x4ad580=_0x4e5d52;return this[_0x4ad580(0x124)][_0x4ad580(0x113)][_0x4ad580(0x11f)](_0x4ad580(0x185))[_0x4ad580(0x128)](_0xeec119);}[_0x4e5d52(0x18f)](_0x43d943){const _0x535e23=_0x4e5d52;return this[_0x535e23(0x124)][_0x535e23(0x113)][_0x535e23(0x11f)](_0x535e23(0x112))[_0x535e23(0x18f)](_0x43d943);}[_0x4e5d52(0x157)](_0x376df4){const _0x139302=_0x4e5d52;return this[_0x139302(0x124)][_0x139302(0x113)][_0x139302(0x11f)](_0x139302(0x112))[_0x139302(0x157)](_0x376df4||{'toJSON':!0x1});}[_0x4e5d52(0x11e)](){const _0x284067=_0x4e5d52,_0x4a9840=this[_0x284067(0x124)],_0x1e9e56=_0x374dfa(_0x4a9840,d),_0xea7b2d=_0x4a9840[_0x284067(0x113)][_0x284067(0x11f)](_0x284067(0x185)),_0x19c048=_0x4a9840[_0x284067(0x113)][_0x284067(0x11f)](_0x284067(0x18d))[_0x284067(0x18c)];return _0x1e9e56[_0x284067(0x125)]=[_0x284067(0x13b),_0x284067(0x12a),_0x284067(0x196)],delete _0x1e9e56[_0x284067(0x110)],(_0x1e9e56[_0x284067(0x113)][_0x284067(0x130)](RevisionViewerIntegration,_0x313ad9,_0x3e8a59,class extends _0x254b67{static get[_0x284067(0x108)](){const _0x30c3fc=_0x284067;return[_0x313ad9,_0x30c3fc(0x18d)];}[_0x284067(0x13e)](){const _0x482c02=_0x284067,_0x21641a=this[_0x482c02(0x124)][_0x482c02(0x113)][_0x482c02(0x11f)](_0x482c02(0x18d));for(const _0x41f3b6 of _0x19c048)_0x41f3b6[_0x482c02(0x13d)]||_0x21641a[_0x482c02(0x137)](_0x41f3b6['id'])||_0x21641a[_0x482c02(0x172)](_0x41f3b6);const _0x137553=_0xea7b2d[_0x482c02(0x15d)][_0x482c02(0x157)]();let _0x1b8c66=null;const _0x372de7=this[_0x482c02(0x124)][_0x482c02(0x113)][_0x482c02(0x11f)](_0x482c02(0x14b));_0x372de7[_0x482c02(0x154)]=_0xea7b2d[_0x482c02(0x154)],_0x372de7[_0x482c02(0x129)](_0x482c02(0x14d))['to'](_0xea7b2d),this[_0x482c02(0x124)][_0x482c02(0x103)][_0x482c02(0x11f)](_0x482c02(0x12a))[_0x482c02(0x129)](_0x482c02(0x14d))['to'](_0x4a9840,_0x482c02(0x18a),_0x378797=>!_0x378797);for(const _0x1a636e of _0x137553){const _0x35fcc3=null===_0x1a636e[_0x482c02(0x119)];if(_0x35fcc3&&_0x1a636e[_0x482c02(0x184)]===_0x1a636e[_0x482c02(0x118)])continue;const _0x19b720=_0x1a636e[_0x482c02(0x183)]();_0x372de7[_0x482c02(0x128)](_0x19b720,(_0x108b89,_0x44f527,_0x5d5a2b)=>{const _0x592f60=_0x482c02;if(_0x35fcc3){if(_0x1b8c66)_0x1b8c66[_0x592f60(0x17c)](_0x108b89,_0x44f527);else{if(!_0x44f527){const _0x24832a=_0x5d5a2b[_0x592f60(0x183)]();_0x24832a['id']=_0x1e8f2e(),_0xea7b2d[_0x592f60(0x16a)](_0x24832a,_0x5d5a2b[_0x592f60(0x184)])[_0x592f60(0x190)](_0x5ca43e=>{_0x1b8c66=_0x5ca43e;});}}}else _0x1a636e[_0x592f60(0x17c)](_0x108b89,_0x44f527);});}}},_0xa53c04),_0x1e9e56);}[_0x4e5d52(0xff)](){const _0x103bce=_0x4e5d52,_0x57f453=this[_0x103bce(0x124)][_0x103bce(0x15a)][_0x103bce(0x11f)](_0x103bce(0x101))[_0x103bce(0x194)];this[_0x103bce(0x124)][_0x103bce(0x15a)][_0x103bce(0x10d)](_0x103bce(0x14c),async()=>{const _0x484332=_0x103bce;this[_0x484332(0x124)][_0x484332(0x10a)](_0x484332(0x167));const _0x1848f4=this[_0x484332(0x124)][_0x484332(0x113)][_0x484332(0x11f)](_0x484332(0x185));if(this[_0x484332(0x124)][_0x484332(0x113)][_0x484332(0x134)](_0x484332(0x16f))){const _0x5b89a4=this[_0x484332(0x124)][_0x484332(0x113)][_0x484332(0x11f)](_0x484332(0x16f));await _0x5b89a4[_0x484332(0x107)]();}else await _0x1848f4[_0x484332(0x15f)]();if(this[_0x484332(0x124)][_0x484332(0x113)][_0x484332(0x134)](_0x484332(0x15b))&&this[_0x484332(0x124)][_0x484332(0x113)][_0x484332(0x11f)](_0x484332(0x15b))[_0x484332(0x11a)](),this[_0x484332(0x124)][_0x484332(0x113)][_0x484332(0x134)](_0x484332(0x140))){const _0x5ba12a=this[_0x484332(0x124)][_0x484332(0x113)][_0x484332(0x11f)](_0x484332(0x140));_0x5ba12a[_0x484332(0x10e)]&&_0x5ba12a[_0x484332(0x14e)]();}const _0x424d40=this[_0x484332(0x11e)]();return _0x57f453(_0x424d40)[_0x484332(0x190)](_0x9ff4e4=>{const _0x29fcc5=_0x484332;return(this[_0x29fcc5(0x123)]=_0x9ff4e4,this[_0x29fcc5(0x124)][_0x29fcc5(0x113)][_0x29fcc5(0x134)](_0x29fcc5(0x156)))&&this[_0x29fcc5(0x124)][_0x29fcc5(0x113)][_0x29fcc5(0x11f)](_0x29fcc5(0x156))[_0x29fcc5(0x132)](),(this[_0x29fcc5(0x124)][_0x29fcc5(0x113)][_0x29fcc5(0x134)](_0x29fcc5(0x189))&&(this[_0x29fcc5(0x124)][_0x29fcc5(0x113)][_0x29fcc5(0x11f)](_0x29fcc5(0x178))[_0x29fcc5(0x11d)][_0x29fcc5(0x122)][_0x29fcc5(0x17b)][_0x29fcc5(0x163)]=_0x29fcc5(0x17f)),_0x9ff4e4);})[_0x484332(0x15e)](_0x6ad075=>(console[_0x484332(0x12e)](_0x6ad075),this[_0x484332(0x124)][_0x484332(0x188)](_0x484332(0x167)),null));});}[_0x4e5d52(0x153)](){const _0x590a17=_0x4e5d52,_0x2d6c5a=this[_0x590a17(0x124)][_0x590a17(0x15a)][_0x590a17(0x11f)](_0x590a17(0x101))[_0x590a17(0x17d)];this[_0x590a17(0x124)][_0x590a17(0x15a)][_0x590a17(0x10d)](_0x590a17(0x126),()=>(this[_0x590a17(0x124)][_0x590a17(0x113)][_0x590a17(0x134)](_0x590a17(0x15b))&&this[_0x590a17(0x124)][_0x590a17(0x113)][_0x590a17(0x11f)](_0x590a17(0x15b))[_0x590a17(0x11a)](),this[_0x590a17(0x124)][_0x590a17(0x113)][_0x590a17(0x134)](_0x590a17(0x189))&&(this[_0x590a17(0x124)][_0x590a17(0x113)][_0x590a17(0x11f)](_0x590a17(0x178))[_0x590a17(0x11d)][_0x590a17(0x122)][_0x590a17(0x17b)][_0x590a17(0x163)]=''),this[_0x590a17(0x123)][_0x590a17(0x113)][_0x590a17(0x11f)](_0x590a17(0x14b))[_0x590a17(0x165)](),_0x2d6c5a(this[_0x590a17(0x123)])[_0x590a17(0x190)](()=>{const _0x57bbf7=_0x590a17;if(this[_0x57bbf7(0x124)][_0x57bbf7(0x188)](_0x57bbf7(0x167)),this[_0x57bbf7(0x123)]=null,this[_0x57bbf7(0x124)][_0x57bbf7(0x113)][_0x57bbf7(0x134)](_0x57bbf7(0x156))){const _0x3a5f02=this[_0x57bbf7(0x124)][_0x57bbf7(0x113)][_0x57bbf7(0x11f)](_0x57bbf7(0x156));_0x3a5f02[_0x57bbf7(0x132)](),_0x3a5f02[_0x57bbf7(0x187)]();}})));}[_0x4e5d52(0x155)](_0x490603){const _0x4bc8f5=_0x4e5d52,_0x1f19bd=this[_0x4bc8f5(0x124)][_0x4bc8f5(0x15a)][_0x4bc8f5(0x11f)](_0x4bc8f5(0x16d)),_0x25a5b4=this[_0x4bc8f5(0x124)][_0x4bc8f5(0x15a)][_0x4bc8f5(0x11f)](_0x4bc8f5(0x10f)),_0x304926=this[_0x4bc8f5(0x124)][_0x4bc8f5(0x15a)][_0x4bc8f5(0x11f)](_0x4bc8f5(0x152));return _0xd24847[_0x4bc8f5(0x13a)](_0x304926,_0x490603)[_0x4bc8f5(0x190)](_0x1d7e6b=>(_0x25a5b4[_0x4bc8f5(0x17b)][_0x4bc8f5(0x163)]=_0x4bc8f5(0x179),_0x1f19bd[_0x4bc8f5(0x17b)][_0x4bc8f5(0x163)]=_0x4bc8f5(0x17f),this[_0x4bc8f5(0x143)]=!0x0,_0x1d7e6b));}[_0x4e5d52(0x100)](_0x4bb68e){const _0x5fc61c=_0x4e5d52,_0x57fe9f=this[_0x5fc61c(0x124)][_0x5fc61c(0x15a)][_0x5fc61c(0x11f)](_0x5fc61c(0x16d));return this[_0x5fc61c(0x124)][_0x5fc61c(0x15a)][_0x5fc61c(0x11f)](_0x5fc61c(0x10f))[_0x5fc61c(0x17b)][_0x5fc61c(0x163)]=_0x5fc61c(0x17f),_0x57fe9f[_0x5fc61c(0x17b)][_0x5fc61c(0x163)]='',this[_0x5fc61c(0x143)]=!0x1,_0x4bb68e[_0x5fc61c(0x139)]();}async[_0x4e5d52(0x16e)](_0x31f41){const _0x57581b=_0x4e5d52,_0x169942=this[_0x57581b(0x124)],_0x20dd95=this[_0x57581b(0x123)][_0x57581b(0x113)][_0x57581b(0x11f)](_0x57581b(0x14b)),_0x55d06d=_0x169942[_0x57581b(0x113)][_0x57581b(0x11f)](_0x57581b(0x185)),_0x5eaa66=_0x169942[_0x57581b(0x113)][_0x57581b(0x11f)](_0x57581b(0x151)),_0x54ca82=_0x20dd95[_0x57581b(0x15d)][_0x57581b(0x18f)](_0x31f41);let _0x35f0f3,_0x2c1259,_0x330c47;try{await _0x5eaa66[_0x57581b(0x177)](_0x54ca82,this[_0x57581b(0x154)]),_0x35f0f3=_0x5eaa66[_0x57581b(0x182)](_0x54ca82),_0x2c1259=_0x5eaa66[_0x57581b(0x16c)](_0x54ca82);}catch(_0x403190){return void console[_0x57581b(0x12e)](_0x403190);}_0x169942[_0x57581b(0x104)][_0x57581b(0x116)](_0x8aa402=>{const _0x22b056=_0x57581b;for(const _0x1fb9c5 of Array[_0x22b056(0x192)](_0x169942[_0x22b056(0x104)][_0x22b056(0x168)][_0x22b056(0x174)](_0x22b056(0x14a))))_0x8aa402[_0x22b056(0x135)](_0x1fb9c5);}),_0x20dd95[_0x57581b(0x149)]=!0x1,_0x169942[_0x57581b(0x104)][_0x57581b(0x18e)](_0x503a54=>{const _0x5b7055=_0x57581b;_0x503a54[_0x5b7055(0x17a)](null),_0x503a54[_0x5b7055(0x186)](_0x169942[_0x5b7055(0x104)][_0x5b7055(0x160)][_0x5b7055(0x102)][_0x5b7055(0x159)]());const _0x16a012=Object[_0x5b7055(0x136)](_0x35f0f3);for(const _0x59a0f0 of _0x169942[_0x5b7055(0x104)][_0x5b7055(0x160)][_0x5b7055(0x12b)])_0x5b7055(0x13c)!=_0x59a0f0[_0x5b7055(0x147)]&&_0x59a0f0[_0x5b7055(0x15c)]()&&!_0x16a012[_0x5b7055(0x164)](_0x59a0f0[_0x5b7055(0x147)])&&_0x503a54[_0x5b7055(0x197)](_0x59a0f0);for(const _0xc05bdb of _0x16a012){let _0x4da781=_0x169942[_0x5b7055(0x104)][_0x5b7055(0x160)][_0x5b7055(0x180)](_0xc05bdb);_0x4da781&&_0x4da781[_0x5b7055(0x15c)]()||(_0x4da781=_0x503a54[_0x5b7055(0x198)](_0xc05bdb));const _0x3c7a64=_0x2c1259[_0xc05bdb],_0x51d017=Object[_0x5b7055(0x136)](_0x3c7a64),_0x303f64=_0x35f0f3[_0xc05bdb];for(const _0x4fbe5f of _0x4da781[_0x5b7055(0x159)]())_0x51d017[_0x5b7055(0x164)](_0x4fbe5f)||_0x503a54[_0x5b7055(0x12c)](_0x4fbe5f,_0x4da781);for(const _0x466ff6 of _0x51d017)_0x503a54[_0x5b7055(0x127)](_0x466ff6,_0x2c1259[_0xc05bdb][_0x466ff6],_0x4da781);_0x503a54[_0x5b7055(0x117)](_0x503a54[_0x5b7055(0x166)](_0x4da781)),_0x503a54[_0x5b7055(0x175)](_0x169942[_0x5b7055(0x170)][_0x5b7055(0x146)](_0x303f64,_0x4da781),_0x4da781,0x0);}});const _0x1e0036=_0x3d7afd(_0x169942[_0x57581b(0x173)],_0x57581b(0x171));if(_0x54ca82[_0x57581b(0x13f)])_0x330c47=-0x1==_0x54ca82[_0x57581b(0x13f)][_0x57581b(0x138)](_0x1e0036)?_0x1e0036+':\x20'+_0x54ca82[_0x57581b(0x13f)]:_0x54ca82[_0x57581b(0x13f)];else _0x330c47=_0x1e0036+':\x20'+(_0x54ca82[_0x57581b(0x148)][_0x57581b(0x141)](_0x169942[_0x57581b(0x173)][_0x57581b(0x195)],{'month':_0x57581b(0x14f),'day':_0x57581b(0x191)})+',\x20'+_0x54ca82[_0x57581b(0x148)][_0x57581b(0x133)](_0x169942[_0x57581b(0x173)][_0x57581b(0x195)],{'hour':_0x57581b(0x191),'minute':_0x57581b(0x191)}));return await _0x55d06d[_0x57581b(0x16a)]({'name':_0x330c47}),_0x20dd95[_0x57581b(0x149)]=!0x0,_0x169942[_0x57581b(0x15a)][_0x57581b(0x11f)](_0x57581b(0x101))[_0x57581b(0x17d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25b168=_0x4e8c;(function(_0x507fb7,_0x493f35){const _0x1ca448=_0x4e8c,_0x15bf63=_0x507fb7();while(!![]){try{const _0x19fd3a=parseInt(_0x1ca448(0x20b))/0x1*(parseInt(_0x1ca448(0x20a))/0x2)+parseInt(_0x1ca448(0x1fe))/0x3*(-parseInt(_0x1ca448(0x1e7))/0x4)+-parseInt(_0x1ca448(0x1cb))/0x5+-parseInt(_0x1ca448(0x1e5))/0x6+parseInt(_0x1ca448(0x1ce))/0x7+-parseInt(_0x1ca448(0x1f0))/0x8+-parseInt(_0x1ca448(0x1f7))/0x9*(-parseInt(_0x1ca448(0x1ef))/0xa);if(_0x19fd3a===_0x493f35)break;else _0x15bf63['push'](_0x15bf63['shift']());}catch(_0x4bef35){_0x15bf63['push'](_0x15bf63['shift']());}}}(_0x35e4,0x5cd74));import{Plugin as _0x443e7f}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x429537,ViewText as _0x4b9d45,ViewElement as _0x421c2a,ViewContainerElement as _0x257ea9,ViewAttributeElement as _0x3d424f,ViewEmptyElement as _0x3e19a6,ViewRawElement as _0x51987b,ViewUIElement as _0x411832}from'ckeditor5/src/engine.js';export class RevisionHistoryUtils extends _0x443e7f{static get[_0x25b168(0x1f5)](){const _0x4f619b=_0x25b168;return _0x4f619b(0x1d9);}static get[_0x25b168(0x1eb)](){return!0x0;}static get[_0x25b168(0x1e2)](){return!0x0;}[_0x25b168(0x1c5)]=new Map([[_0x257ea9,'c'],[_0x3d424f,'a'],[_0x3e19a6,'e'],[_0x51987b,'r'],[_0x411832,'u']]);[_0x25b168(0x1ca)]=new Map([['c',_0x257ea9],['a',_0x3d424f],['e',_0x3e19a6],['r',_0x51987b],['u',_0x411832]]);async[_0x25b168(0x1dd)](_0x17cc16,_0x6f3ea8){const _0x7da09e=_0x25b168;if(_0x17cc16[_0x7da09e(0x208)]||!_0x6f3ea8)return;const _0x1d132c=this[_0x7da09e(0x1d7)][_0x7da09e(0x205)][_0x7da09e(0x1f6)](_0x7da09e(0x1ea)),_0xa885cb=await _0x6f3ea8[_0x7da09e(0x1da)]({'channelId':_0x1d132c,'revisionId':_0x17cc16['id']});_0x17cc16[_0x7da09e(0x208)]=_0xa885cb[_0x7da09e(0x208)];}[_0x25b168(0x1e0)](_0x57c3e2){const _0x4d0742=_0x25b168,_0x1728d8={};for(const _0x123e6f in _0x57c3e2[_0x4d0742(0x208)]){if(_0x57c3e2[_0x4d0742(0x208)][_0x123e6f][_0x4d0742(0x1c7)]&&!_0x57c3e2[_0x4d0742(0x208)][_0x123e6f][_0x4d0742(0x1c7)][_0x4d0742(0x1ec)])continue;const _0x21ddfa=this[_0x4d0742(0x204)](JSON[_0x4d0742(0x200)](_0x57c3e2[_0x4d0742(0x208)][_0x123e6f][_0x4d0742(0x1c6)])),_0x28b9bf=this[_0x4d0742(0x1d7)][_0x4d0742(0x1fa)][_0x4d0742(0x1fb)][_0x4d0742(0x1cc)],_0x4fbc93=new _0x429537(_0x28b9bf,_0x21ddfa[_0x4d0742(0x1ee)](_0x3f2bca=>this[_0x4d0742(0x1c9)](_0x3f2bca,!0x1)));this[_0x4d0742(0x1d7)][_0x4d0742(0x1f4)][_0x4d0742(0x202)][_0x4d0742(0x1fd)](_0x4d0742(0x1c8)),_0x1728d8[_0x123e6f]=this[_0x4d0742(0x1d7)][_0x4d0742(0x1f4)][_0x4d0742(0x202)][_0x4d0742(0x1f8)](_0x4fbc93),this[_0x4d0742(0x1d7)][_0x4d0742(0x1f4)][_0x4d0742(0x202)][_0x4d0742(0x1fd)](_0x4d0742(0x1e4));}return _0x1728d8;}[_0x25b168(0x1fc)](_0x2cfd3f){const _0x2b09e3=_0x25b168,_0x5b7fa1={};for(const _0x25f28e in _0x2cfd3f[_0x2b09e3(0x208)])_0x2cfd3f[_0x2b09e3(0x208)][_0x25f28e][_0x2b09e3(0x1c7)]&&!_0x2cfd3f[_0x2b09e3(0x208)][_0x25f28e][_0x2b09e3(0x1c7)][_0x2b09e3(0x1ec)]||(_0x5b7fa1[_0x25f28e]=_0x2cfd3f[_0x2b09e3(0x208)][_0x25f28e][_0x2b09e3(0x1e9)]||{});return _0x5b7fa1;}[_0x25b168(0x207)](_0x2a74f2){const _0x36a6d4=_0x25b168;return this[_0x36a6d4(0x1c5)][_0x36a6d4(0x1f6)](_0x2a74f2[_0x36a6d4(0x20c)]);}[_0x25b168(0x1c9)](_0xfc54d3,_0x51fdf6){const _0x3a32fe=_0x25b168,_0x639f40=this[_0x3a32fe(0x1d7)][_0x3a32fe(0x1fa)][_0x3a32fe(0x1fb)][_0x3a32fe(0x1cc)];if(_0x3a32fe(0x1d6)==typeof _0xfc54d3)return new _0x4b9d45(_0x639f40,_0xfc54d3);{let _0xb77de9,_0x518d75;_0x518d75='u'==_0xfc54d3[_0x3a32fe(0x1f2)]||'r'==_0xfc54d3[_0x3a32fe(0x1f2)]?[]:_0xfc54d3[_0x3a32fe(0x1cd)][_0x3a32fe(0x1ee)](_0x5db200=>this[_0x3a32fe(0x1c9)](_0x5db200,_0x51fdf6));const _0x4cef45=this[_0x3a32fe(0x1ca)][_0x3a32fe(0x1f6)](_0xfc54d3[_0x3a32fe(0x1f2)])||_0x421c2a,_0x242093=this[_0x3a32fe(0x1d7)][_0x3a32fe(0x1f4)][_0x3a32fe(0x1e3)][_0x3a32fe(0x1d3)];if(_0xb77de9=new _0x4cef45(_0x639f40,_0xfc54d3[_0x3a32fe(0x1f3)],_0xfc54d3[_0x3a32fe(0x1dc)],_0x518d75),'u'==_0xfc54d3[_0x3a32fe(0x1f2)]&&_0xfc54d3[_0x3a32fe(0x1cd)][0x0]){const _0x5d8e05=_0xfc54d3[_0x3a32fe(0x1cd)][0x0];if(_0xb77de9[_0x3a32fe(0x1ff)]=function(_0x2beba6){const _0x15a7a2=_0x3a32fe,_0x1cfc01=_0x2beba6[_0x15a7a2(0x1e6)](_0x15a7a2(0x1d1));return _0x1cfc01[_0x15a7a2(0x1de)]=_0x5d8e05,_0x1cfc01[_0x15a7a2(0x1d2)][0x0];},_0x51fdf6){const _0x4b7208=new _0x429537(_0x639f40);_0x4b7208[_0x3a32fe(0x203)](_0xb77de9);const _0x58ae6e=Array[_0x3a32fe(0x209)](_0x242093[_0x3a32fe(0x1df)](_0x4b7208,{'bind':!0x1})),_0x56bb4c=_0x242093[_0x3a32fe(0x1cf)][_0x3a32fe(0x1e6)](_0x3a32fe(0x1d1));_0x56bb4c[_0x3a32fe(0x1db)](..._0x58ae6e),_0xb77de9=Array[_0x3a32fe(0x209)](_0x242093[_0x3a32fe(0x1d8)](_0x56bb4c))[0x0];}}else{if('r'==_0xfc54d3[_0x3a32fe(0x1f2)]&&_0xfc54d3[_0x3a32fe(0x1cd)][0x0]){const _0x1d5318=_0xfc54d3[_0x3a32fe(0x1cd)][0x0];if(_0xb77de9[_0x3a32fe(0x1ff)]=function(_0x785132){const _0xc9017f=_0x3a32fe;_0x785132[_0xc9017f(0x1de)]=_0x1d5318;},_0x51fdf6){const _0x4b017d=new _0x429537(_0x639f40);_0x4b017d[_0x3a32fe(0x203)](_0xb77de9);const _0x349a7d=Array[_0x3a32fe(0x209)](_0x242093[_0x3a32fe(0x1df)](_0x4b017d,{'bind':!0x1})),_0x13d999=_0x242093[_0x3a32fe(0x1cf)][_0x3a32fe(0x1e6)](_0x3a32fe(0x1d1));_0x13d999[_0x3a32fe(0x1db)](..._0x349a7d);const _0x51233c=Array[_0x3a32fe(0x209)](_0x242093[_0x3a32fe(0x1d8)](_0x13d999));_0x51233c[_0x3a32fe(0x1ed)]>0x1?_0xb77de9[_0x3a32fe(0x203)](_0x51233c):_0xb77de9=_0x51233c[0x0];}}}if(_0xfc54d3[_0x3a32fe(0x1e8)]){for(const [_0x25bd47,_0x46ad35]of _0xfc54d3[_0x3a32fe(0x1e8)])_0xb77de9[_0x3a32fe(0x1f1)](_0x25bd47,_0x46ad35);}const _0x4a2dd3=void 0x0===_0xfc54d3[_0x3a32fe(0x1c3)]?null:_0xfc54d3[_0x3a32fe(0x1c3)];return null!==_0x4a2dd3&&(_0xb77de9[_0x3a32fe(0x201)]=()=>_0x4a2dd3),_0xb77de9;}}[_0x25b168(0x206)](_0x32b7ee){const _0x5726f8=_0x25b168,_0x450218=JSON[_0x5726f8(0x200)](_0x32b7ee),_0x5abfeb=this[_0x5726f8(0x1d7)][_0x5726f8(0x1fa)][_0x5726f8(0x1fb)][_0x5726f8(0x1cc)],_0x3e98ff=new _0x429537(_0x5abfeb,_0x450218[_0x5726f8(0x1ee)](_0x445f60=>this[_0x5726f8(0x1c9)](_0x445f60,!0x0)));return this[_0x5726f8(0x1d7)][_0x5726f8(0x1f4)][_0x5726f8(0x20d)](_0x3e98ff);}[_0x25b168(0x204)](_0x5cb0fe){const _0x2c6616=_0x25b168;return(_0x5cb0fe=_0x5cb0fe[_0x2c6616(0x1d5)](_0xe32717=>!_0xe32717[_0x2c6616(0x1f3)]||_0x2c6616(0x1d0)!==_0xe32717[_0x2c6616(0x1f3)]&&_0x2c6616(0x1c4)!==_0xe32717[_0x2c6616(0x1f3)]))[_0x2c6616(0x1d4)](_0x2bd820=>{const _0x3b56e0=_0x2c6616;_0x3b56e0(0x1d6)!=typeof _0x2bd820&&(_0x2bd820[_0x3b56e0(0x1cd)]=this[_0x3b56e0(0x204)](_0x2bd820[_0x3b56e0(0x1cd)]),_0x2bd820[_0x3b56e0(0x1dc)]=_0x2bd820[_0x3b56e0(0x1dc)][_0x3b56e0(0x1d5)](_0x23d21d=>!_0x23d21d[0x0][_0x3b56e0(0x1e1)](_0x3b56e0(0x1f9))));}),_0x5cb0fe;}}function _0x4e8c(_0x2166a4,_0x4a0c70){const _0x35e4a1=_0x35e4();return _0x4e8c=function(_0x4e8c77,_0x490659){_0x4e8c77=_0x4e8c77-0x1c3;let _0x12ea6b=_0x35e4a1[_0x4e8c77];return _0x12ea6b;},_0x4e8c(_0x2166a4,_0x4a0c70);}function _0x35e4(){const _0x1f1b4d=['attributes','loadRevisionData','innerHTML','viewChildrenToDom','getRevisionDocumentData','startsWith','isPremiumPlugin','htmlProcessor','default','2519022UjCfmP','createElement','881556YOxosE','customProperties','attributesAfter','collaboration.channelId','isOfficialPlugin','isAttached','length','map','10vgGQkX','3099848PvpaHN','_setCustomProperty','type','name','data','pluginName','get','18387315UMeLwz','toData','data-revision-','editing','view','getRevisionRootsAttributes','useFillerType','6oMEXgr','render','parse','getFillerOffset','processor','_appendChild','_removeRevisionMarkers','config','_makeModelFromViewString','_getTypeCharForViewElement','diffData','from','48594SCAQEf','2JqVqyX','constructor','toModel','fillerOffset','revision-end','_viewClassToTypeChar','insertions','attachChange','marked','_getViewFromDiffObj','_typeCharToViewClass','2439755LoNiYe','document','children','172858tXIVKZ','domDocument','revision-start','div','childNodes','domConverter','forEach','filter','string','editor','domChildrenToView','RevisionHistoryUtils','getRevision','append'];_0x35e4=function(){return _0x1f1b4d;};return _0x35e4();}
|