@ckeditor/ckeditor5-revision-history 46.0.0-alpha.8 → 46.0.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.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": "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.0",
|
|
43
|
+
"@ckeditor/ckeditor5-comments": "46.0.1-alpha.0",
|
|
44
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.0",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-classic": "46.0.1-alpha.0",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "46.0.1-alpha.0",
|
|
47
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.0",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.0",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.0",
|
|
50
50
|
"@types/luxon": "3.6.2",
|
|
51
|
-
"ckeditor5": "46.0.
|
|
52
|
-
"ckeditor5-collaboration": "46.0.
|
|
51
|
+
"ckeditor5": "46.0.1-alpha.0",
|
|
52
|
+
"ckeditor5-collaboration": "46.0.1-alpha.0",
|
|
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
|
-
|
|
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
|
-
|
|
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 _0x11031a=_0x11db;(function(_0x7d0deb,_0x4d131b){const _0x4e4545=_0x11db,_0x1e2857=_0x7d0deb();while(!![]){try{const _0x19b74b=parseInt(_0x4e4545(0x115))/0x1+parseInt(_0x4e4545(0x12d))/0x2*(-parseInt(_0x4e4545(0xd5))/0x3)+-parseInt(_0x4e4545(0xca))/0x4+-parseInt(_0x4e4545(0xf3))/0x5*(-parseInt(_0x4e4545(0xc9))/0x6)+-parseInt(_0x4e4545(0xeb))/0x7+-parseInt(_0x4e4545(0xc8))/0x8+parseInt(_0x4e4545(0xbc))/0x9*(parseInt(_0x4e4545(0xe4))/0xa);if(_0x19b74b===_0x4d131b)break;else _0x1e2857['push'](_0x1e2857['shift']());}catch(_0x21b81a){_0x1e2857['push'](_0x1e2857['shift']());}}}(_0x35a3,0x20ec8));import{Plugin as _0x2af258}from'ckeditor5/src/core.js';import{CKEditorError as _0xed0e46,uid as _0xa98779}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x538474}from'./revisiontracker.js';import{RevisionHistoryUI as _0x426086}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x322873}from'./revisionviewer.js';import{RevisionViewerUI as _0x11da26}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x22a816}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x38cdde}from'./editor/revisionviewereditor.js';import{getTranslation as _0x53fe46}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x424f01}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x11031a(0x116),_0x11031a(0x139)];function _0x11db(_0x39c7a4,_0x26e543){const _0x35a33a=_0x35a3();return _0x11db=function(_0x11dbf7,_0x127ca8){_0x11dbf7=_0x11dbf7-0xa5;let _0x184bac=_0x35a33a[_0x11dbf7];return _0x184bac;},_0x11db(_0x39c7a4,_0x26e543);}export class RevisionViewerIntegration extends _0x2af258{[_0x11031a(0xb2)];static get[_0x11031a(0x120)](){const _0x3a3ec8=_0x11031a;return _0x3a3ec8(0xb4);}static get[_0x11031a(0xe8)](){return!0x0;}static get[_0x11031a(0xc1)](){return!0x0;}constructor(_0x273dda){const _0x2609ac=_0x11031a;function _0x4a90b7(_0x74b726){const _0x5cdd69=_0x11db;return _0x74b726[_0x5cdd69(0xd0)](_0x1200c8=>String[_0x5cdd69(0xfc)](_0x1200c8))[_0x5cdd69(0x127)]('');}super(_0x273dda),this[_0x2609ac(0xb2)]=_0x2609ac(0xba),_0x273dda[_0x4a90b7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a90b7([0x76,0x69,0x65,0x77])][_0x4a90b7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a90b7([0x61,0x75,0x74,0x6f]),_0x273dda[_0x4a90b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x4a90b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a90b7([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x4a90b7([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x4a90b7([0x6f,0x6b])});}}function _0x35a3(){const _0xe62a65=['_cleanUp','getUser','removeMarker','isOfficialPlugin','block','bind','437283maxcEt','fromVersion','document','revisionHistory.showRevisionViewerCallback','revisionHistory.restoreRevisionCallback','closeRevisionViewerCallback','loadRevisionData','PaginationLookup','2135YioTTv','catch','toolbar','remove','isOpen','roots','revisionHistory.editorContainer','DocumentOutline','define','fromCharCode','_getRevisionViewerEditorConfig','adapter','hide','showRevisionViewerCallback','isAttached','addRevisionData','RevisionHistoryUtils','refreshVisibility','users','removeSelectionAttribute','rootName','model','name','update','setAttribute','translations','none','Autosave','plugins','_showRevisionViewer','RevisionViewer','uiLanguage','display','disableReadOnlyMode','210822oNRPFF','RevisionHistoryUI','push','createdAt','revisionHistory.viewerEditorElement','setSelection','Users','toJSON','getRoot','revision-history-missing-configuration','style','pluginName','changesNavigation','commands','numeric','DocumentOutlineUI','getRevisionDocumentData','RevisionHistory','join','getRevision','_viewerEditor','isAnonymous','toLocaleDateString','toVersion','217598eIGzhZ','isEnabled','revisionHistory.closeRevisionViewerCallback','revisionHistory.viewerContainer','revisionHistory.requireRevisionName','save','destroy','repository','detachRoot','locale','enableReadOnlyMode','revision-history-viewer-opened','RestrictedEditingMode','isReadOnly','addRoot','from','has','Restored','saveRevision','editor','_closeRevisionViewer','isReady','restoreRevision','enqueueChange','Annotations','element','includes','lazyRoots','creator','result','RevisionTracker','RevisionViewerIntegration','_enhanceCloseRevisionViewerCallback','_recalculatePageBreaks','error','create','Dialog','end','set','162JiMRum','requires','long','restrictedEditingException','getMarkersGroup','isPremiumPlugin','data','then','addUser','_enhanceShowRevisionViewerCallback','getRevisions','change','362200jZAlnU','3468omZcaX','543068RvJaiL','toLocaleTimeString','get','markers','indexOf','getRevisionRootsAttributes','map','config','view','init','_update','3ADDKjE','selection','revisionHistory','insert','getAttributeKeys','isRevisionViewerOpen','RevisionsRepository','parse','refreshPositioning','createRangeIn','$graveyard','_restoreRevision','exitToEditing','keys','removeAttribute','16410YHLDuE'];_0x35a3=function(){return _0xe62a65;};return _0x35a3();}export class RevisionHistory extends _0x2af258{[_0x11031a(0x129)];static get[_0x11031a(0x120)](){const _0x223341=_0x11031a;return _0x223341(0x126);}static get[_0x11031a(0xe8)](){return!0x0;}static get[_0x11031a(0xc1)](){return!0x0;}static get[_0x11031a(0xbd)](){return[_0x538474,_0x426086];}constructor(_0x2fdca9){const _0x1b36b4=_0x11031a;if(super(_0x2fdca9),!this[_0x1b36b4(0xa8)][_0x1b36b4(0xd1)][_0x1b36b4(0xcc)](_0x1b36b4(0xd7)))throw new _0xed0e46(_0x1b36b4(0x11e),this);this[_0x1b36b4(0x129)]=null,this[_0x1b36b4(0xbb)](_0x1b36b4(0xda),!0x1),this[_0x1b36b4(0xa8)][_0x1b36b4(0xd1)][_0x1b36b4(0xfb)](_0x1b36b4(0xee),_0x49d3d1=>this[_0x1b36b4(0x110)]({..._0x49d3d1,'translations':this[_0x1b36b4(0xa8)][_0x1b36b4(0x136)][_0x1b36b4(0x10c)]})),this[_0x1b36b4(0xa8)][_0x1b36b4(0xd1)][_0x1b36b4(0xfb)](_0x1b36b4(0x12f),_0x2ed62c=>this[_0x1b36b4(0xa9)](_0x2ed62c)),this[_0x1b36b4(0xa8)][_0x1b36b4(0xd1)][_0x1b36b4(0xfb)](_0x1b36b4(0xef),_0x1ef34c=>this[_0x1b36b4(0xe0)](_0x1ef34c)),this[_0x1b36b4(0xa8)][_0x1b36b4(0xd1)][_0x1b36b4(0xfb)](_0x1b36b4(0x131),!0x1),this[_0x1b36b4(0xc5)](),this[_0x1b36b4(0xb5)]();}set[_0x11031a(0xfe)](_0x519c96){const _0x2167d4=_0x11031a;this[_0x2167d4(0xa8)][_0x2167d4(0x10f)][_0x2167d4(0xcc)](_0x2167d4(0xb3))[_0x2167d4(0xfe)]=_0x519c96;}get[_0x11031a(0xfe)](){const _0x77b144=_0x11031a;return this[_0x77b144(0xa8)][_0x77b144(0x10f)][_0x77b144(0xcc)](_0x77b144(0xb3))[_0x77b144(0xfe)];}[_0x11031a(0x102)](_0x43604f){const _0x20ec24=_0x11031a;return this[_0x20ec24(0xa8)][_0x20ec24(0x10f)][_0x20ec24(0xcc)](_0x20ec24(0xb3))[_0x20ec24(0x102)](_0x43604f);}[_0x11031a(0x128)](_0x249b68){const _0x2732b5=_0x11031a;return this[_0x2732b5(0xa8)][_0x2732b5(0x10f)][_0x2732b5(0xcc)](_0x2732b5(0xdb))[_0x2732b5(0x128)](_0x249b68);}[_0x11031a(0xc6)](_0x4e9589){const _0x545de3=_0x11031a;return this[_0x545de3(0xa8)][_0x545de3(0x10f)][_0x545de3(0xcc)](_0x545de3(0xdb))[_0x545de3(0xc6)](_0x4e9589||{'toJSON':!0x1});}[_0x11031a(0xfd)](){const _0x3346b2=_0x11031a,_0x299330=this[_0x3346b2(0xa8)],_0x57f539=_0x424f01(_0x299330,d),_0x209481=_0x299330[_0x3346b2(0x10f)][_0x3346b2(0xcc)](_0x3346b2(0xb3)),_0x2b20f0=_0x299330[_0x3346b2(0x10f)][_0x3346b2(0xcc)](_0x3346b2(0x11b))[_0x3346b2(0x105)];return _0x57f539[_0x3346b2(0xf5)]=[_0x3346b2(0xe1),_0x3346b2(0xab),_0x3346b2(0x121)],delete _0x57f539[_0x3346b2(0xb0)],(_0x57f539[_0x3346b2(0x10f)][_0x3346b2(0x117)](RevisionViewerIntegration,_0x322873,_0x11da26,class extends _0x2af258{static get[_0x3346b2(0xbd)](){const _0x1d19c0=_0x3346b2;return[_0x322873,_0x1d19c0(0x11b)];}[_0x3346b2(0xd3)](){const _0x3aaf8c=_0x3346b2,_0x3aef03=this[_0x3aaf8c(0xa8)][_0x3aaf8c(0x10f)][_0x3aaf8c(0xcc)](_0x3aaf8c(0x11b));for(const _0x3cf112 of _0x2b20f0)_0x3cf112[_0x3aaf8c(0x12a)]||_0x3aef03[_0x3aaf8c(0xe6)](_0x3cf112['id'])||_0x3aef03[_0x3aaf8c(0xc4)](_0x3cf112);const _0x359bf0=_0x209481[_0x3aaf8c(0x134)][_0x3aaf8c(0xc6)]();let _0x5256e8=null;const _0x2b1425=this[_0x3aaf8c(0xa8)][_0x3aaf8c(0x10f)][_0x3aaf8c(0xcc)](_0x3aaf8c(0x111));_0x2b1425[_0x3aaf8c(0xfe)]=_0x209481[_0x3aaf8c(0xfe)],_0x2b1425[_0x3aaf8c(0xea)](_0x3aaf8c(0x12e))['to'](_0x209481),this[_0x3aaf8c(0xa8)][_0x3aaf8c(0x122)][_0x3aaf8c(0xcc)](_0x3aaf8c(0xab))[_0x3aaf8c(0xea)](_0x3aaf8c(0x12e))['to'](_0x299330,_0x3aaf8c(0x13a),_0x340bca=>!_0x340bca);for(const _0x158e38 of _0x359bf0){const _0x432131=null===_0x158e38[_0x3aaf8c(0xb1)];if(_0x432131&&_0x158e38[_0x3aaf8c(0x12c)]===_0x158e38[_0x3aaf8c(0xec)])continue;const _0xeda853=_0x158e38[_0x3aaf8c(0x11c)]();_0x2b1425[_0x3aaf8c(0x102)](_0xeda853,(_0x56b1e1,_0x2dfdd1,_0x144aef)=>{const _0x3d1080=_0x3aaf8c;if(_0x432131){if(_0x5256e8)_0x5256e8[_0x3d1080(0xd4)](_0x56b1e1,_0x2dfdd1);else{if(!_0x2dfdd1){const _0x5462ba=_0x144aef[_0x3d1080(0x11c)]();_0x5462ba['id']=_0xa98779(),_0x209481[_0x3d1080(0xa7)](_0x5462ba,_0x144aef[_0x3d1080(0x12c)])[_0x3d1080(0xc3)](_0x3bcd0c=>{_0x5256e8=_0x3bcd0c;});}}}else _0x158e38[_0x3d1080(0xd4)](_0x56b1e1,_0x2dfdd1);});}}},_0x22a816),_0x57f539);}[_0x11031a(0xc5)](){const _0x456330=_0x11031a,_0x1edd44=this[_0x456330(0xa8)][_0x456330(0xd1)][_0x456330(0xcc)](_0x456330(0xd7))[_0x456330(0x100)];this[_0x456330(0xa8)][_0x456330(0xd1)][_0x456330(0xbb)](_0x456330(0xee),async()=>{const _0x1bcce7=_0x456330;this[_0x1bcce7(0xa8)][_0x1bcce7(0x137)](_0x1bcce7(0x138));const _0x3a1a4c=this[_0x1bcce7(0xa8)][_0x1bcce7(0x10f)][_0x1bcce7(0xcc)](_0x1bcce7(0xb3));if(this[_0x1bcce7(0xa8)][_0x1bcce7(0x10f)][_0x1bcce7(0xa5)](_0x1bcce7(0x10e))){const _0x8744=this[_0x1bcce7(0xa8)][_0x1bcce7(0x10f)][_0x1bcce7(0xcc)](_0x1bcce7(0x10e));await _0x8744[_0x1bcce7(0x132)]();}else await _0x3a1a4c[_0x1bcce7(0x10a)]();if(this[_0x1bcce7(0xa8)][_0x1bcce7(0x10f)][_0x1bcce7(0xa5)](_0x1bcce7(0xf2))&&this[_0x1bcce7(0xa8)][_0x1bcce7(0x10f)][_0x1bcce7(0xcc)](_0x1bcce7(0xf2))[_0x1bcce7(0xb6)](),this[_0x1bcce7(0xa8)][_0x1bcce7(0x10f)][_0x1bcce7(0xa5)](_0x1bcce7(0xb9))){const _0x34c3df=this[_0x1bcce7(0xa8)][_0x1bcce7(0x10f)][_0x1bcce7(0xcc)](_0x1bcce7(0xb9));_0x34c3df[_0x1bcce7(0xf7)]&&_0x34c3df[_0x1bcce7(0xff)]();}const _0x265d4f=this[_0x1bcce7(0xfd)]();return _0x1edd44(_0x265d4f)[_0x1bcce7(0xc3)](_0x55d719=>{const _0x302743=_0x1bcce7;return(this[_0x302743(0x129)]=_0x55d719,this[_0x302743(0xa8)][_0x302743(0x10f)][_0x302743(0xa5)](_0x302743(0xad)))&&this[_0x302743(0xa8)][_0x302743(0x10f)][_0x302743(0xcc)](_0x302743(0xad))[_0x302743(0x104)](),(this[_0x302743(0xa8)][_0x302743(0x10f)][_0x302743(0xa5)](_0x302743(0xfa))&&(this[_0x302743(0xa8)][_0x302743(0x10f)][_0x302743(0xcc)](_0x302743(0x124))[_0x302743(0xd2)][_0x302743(0xae)][_0x302743(0x11f)][_0x302743(0x113)]=_0x302743(0x10d)),_0x55d719);})[_0x1bcce7(0xf4)](_0x10265b=>(console[_0x1bcce7(0xb7)](_0x10265b),this[_0x1bcce7(0xa8)][_0x1bcce7(0x114)](_0x1bcce7(0x138)),null));});}[_0x11031a(0xb5)](){const _0x1d96b2=_0x11031a,_0x5bf2a0=this[_0x1d96b2(0xa8)][_0x1d96b2(0xd1)][_0x1d96b2(0xcc)](_0x1d96b2(0xd7))[_0x1d96b2(0xf0)];this[_0x1d96b2(0xa8)][_0x1d96b2(0xd1)][_0x1d96b2(0xbb)](_0x1d96b2(0x12f),()=>(this[_0x1d96b2(0xa8)][_0x1d96b2(0x10f)][_0x1d96b2(0xa5)](_0x1d96b2(0xf2))&&this[_0x1d96b2(0xa8)][_0x1d96b2(0x10f)][_0x1d96b2(0xcc)](_0x1d96b2(0xf2))[_0x1d96b2(0xb6)](),this[_0x1d96b2(0xa8)][_0x1d96b2(0x10f)][_0x1d96b2(0xa5)](_0x1d96b2(0xfa))&&(this[_0x1d96b2(0xa8)][_0x1d96b2(0x10f)][_0x1d96b2(0xcc)](_0x1d96b2(0x124))[_0x1d96b2(0xd2)][_0x1d96b2(0xae)][_0x1d96b2(0x11f)][_0x1d96b2(0x113)]=''),this[_0x1d96b2(0x129)][_0x1d96b2(0x10f)][_0x1d96b2(0xcc)](_0x1d96b2(0x111))[_0x1d96b2(0xe5)](),_0x5bf2a0(this[_0x1d96b2(0x129)])[_0x1d96b2(0xc3)](()=>{const _0x46135a=_0x1d96b2;if(this[_0x46135a(0xa8)][_0x46135a(0x114)](_0x46135a(0x138)),this[_0x46135a(0x129)]=null,this[_0x46135a(0xa8)][_0x46135a(0x10f)][_0x46135a(0xa5)](_0x46135a(0xad))){const _0x6a7eae=this[_0x46135a(0xa8)][_0x46135a(0x10f)][_0x46135a(0xcc)](_0x46135a(0xad));_0x6a7eae[_0x46135a(0x104)](),_0x6a7eae[_0x46135a(0xdd)]();}})));}[_0x11031a(0x110)](_0xc2d98c){const _0x44444c=_0x11031a,_0x29929b=this[_0x44444c(0xa8)][_0x44444c(0xd1)][_0x44444c(0xcc)](_0x44444c(0xf9)),_0x37fb5c=this[_0x44444c(0xa8)][_0x44444c(0xd1)][_0x44444c(0xcc)](_0x44444c(0x130)),_0x3c15cd=this[_0x44444c(0xa8)][_0x44444c(0xd1)][_0x44444c(0xcc)](_0x44444c(0x119));return _0x38cdde[_0x44444c(0xb8)](_0x3c15cd,_0xc2d98c)[_0x44444c(0xc3)](_0x292630=>(_0x37fb5c[_0x44444c(0x11f)][_0x44444c(0x113)]=_0x44444c(0xe9),_0x29929b[_0x44444c(0x11f)][_0x44444c(0x113)]=_0x44444c(0x10d),this[_0x44444c(0xda)]=!0x0,_0x292630));}[_0x11031a(0xa9)](_0x1650e5){const _0x2167e0=_0x11031a,_0x22bf17=this[_0x2167e0(0xa8)][_0x2167e0(0xd1)][_0x2167e0(0xcc)](_0x2167e0(0xf9));return this[_0x2167e0(0xa8)][_0x2167e0(0xd1)][_0x2167e0(0xcc)](_0x2167e0(0x130))[_0x2167e0(0x11f)][_0x2167e0(0x113)]=_0x2167e0(0x10d),_0x22bf17[_0x2167e0(0x11f)][_0x2167e0(0x113)]='',this[_0x2167e0(0xda)]=!0x1,_0x1650e5[_0x2167e0(0x133)]();}async[_0x11031a(0xe0)](_0x5b560b){const _0x17ab6b=_0x11031a,_0x609da4=this[_0x17ab6b(0xa8)],_0x59f70c=this[_0x17ab6b(0x129)][_0x17ab6b(0x10f)][_0x17ab6b(0xcc)](_0x17ab6b(0x111)),_0x49837c=_0x609da4[_0x17ab6b(0x10f)][_0x17ab6b(0xcc)](_0x17ab6b(0xb3)),_0x5cdc99=_0x609da4[_0x17ab6b(0x10f)][_0x17ab6b(0xcc)](_0x17ab6b(0x103)),_0x46caa5=_0x59f70c[_0x17ab6b(0x134)][_0x17ab6b(0x128)](_0x5b560b);let _0x1188ce,_0x3647ee,_0x471066;try{await _0x5cdc99[_0x17ab6b(0xf1)](_0x46caa5,this[_0x17ab6b(0xfe)]),_0x1188ce=_0x5cdc99[_0x17ab6b(0x125)](_0x46caa5),_0x3647ee=_0x5cdc99[_0x17ab6b(0xcf)](_0x46caa5);}catch(_0x4ca540){return void console[_0x17ab6b(0xb7)](_0x4ca540);}_0x609da4[_0x17ab6b(0x108)][_0x17ab6b(0xc7)](_0x58520c=>{const _0x144b4d=_0x17ab6b;for(const _0x11e78e of Array[_0x144b4d(0x13c)](_0x609da4[_0x144b4d(0x108)][_0x144b4d(0xcd)][_0x144b4d(0xc0)](_0x144b4d(0xbf))))_0x58520c[_0x144b4d(0xe7)](_0x11e78e);}),_0x59f70c[_0x17ab6b(0xaa)]=!0x1,_0x609da4[_0x17ab6b(0x108)][_0x17ab6b(0xac)](_0x80df0e=>{const _0x332013=_0x17ab6b;_0x80df0e[_0x332013(0x11a)](null),_0x80df0e[_0x332013(0x106)](_0x609da4[_0x332013(0x108)][_0x332013(0xed)][_0x332013(0xd6)][_0x332013(0xd9)]());const _0xc0dc0d=Object[_0x332013(0xe2)](_0x1188ce);for(const _0x5e7932 of _0x609da4[_0x332013(0x108)][_0x332013(0xed)][_0x332013(0xf8)])_0x332013(0xdf)!=_0x5e7932[_0x332013(0x107)]&&_0x5e7932[_0x332013(0x101)]()&&!_0xc0dc0d[_0x332013(0xaf)](_0x5e7932[_0x332013(0x107)])&&_0x80df0e[_0x332013(0x135)](_0x5e7932);for(const _0x276d61 of _0xc0dc0d){let _0x3bd963=_0x609da4[_0x332013(0x108)][_0x332013(0xed)][_0x332013(0x11d)](_0x276d61);_0x3bd963&&_0x3bd963[_0x332013(0x101)]()||(_0x3bd963=_0x80df0e[_0x332013(0x13b)](_0x276d61));const _0x2ddd27=_0x3647ee[_0x276d61],_0x3116bc=Object[_0x332013(0xe2)](_0x2ddd27),_0x2f50e7=_0x1188ce[_0x276d61];for(const _0x43450e of _0x3bd963[_0x332013(0xd9)]())_0x3116bc[_0x332013(0xaf)](_0x43450e)||_0x80df0e[_0x332013(0xe3)](_0x43450e,_0x3bd963);for(const _0x509372 of _0x3116bc)_0x80df0e[_0x332013(0x10b)](_0x509372,_0x3647ee[_0x276d61][_0x509372],_0x3bd963);_0x80df0e[_0x332013(0xf6)](_0x80df0e[_0x332013(0xde)](_0x3bd963)),_0x80df0e[_0x332013(0xd8)](_0x609da4[_0x332013(0xc2)][_0x332013(0xdc)](_0x2f50e7,_0x3bd963),_0x3bd963,0x0);}});const _0x3f4ed1=_0x53fe46(_0x609da4[_0x17ab6b(0x136)],_0x17ab6b(0xa6));if(_0x46caa5[_0x17ab6b(0x109)])_0x471066=-0x1==_0x46caa5[_0x17ab6b(0x109)][_0x17ab6b(0xce)](_0x3f4ed1)?_0x3f4ed1+':\x20'+_0x46caa5[_0x17ab6b(0x109)]:_0x46caa5[_0x17ab6b(0x109)];else _0x471066=_0x3f4ed1+':\x20'+(_0x46caa5[_0x17ab6b(0x118)][_0x17ab6b(0x12b)](_0x609da4[_0x17ab6b(0x136)][_0x17ab6b(0x112)],{'month':_0x17ab6b(0xbe),'day':_0x17ab6b(0x123)})+',\x20'+_0x46caa5[_0x17ab6b(0x118)][_0x17ab6b(0xcb)](_0x609da4[_0x17ab6b(0x136)][_0x17ab6b(0x112)],{'hour':_0x17ab6b(0x123),'minute':_0x17ab6b(0x123)}));return await _0x49837c[_0x17ab6b(0xa7)]({'name':_0x471066}),_0x59f70c[_0x17ab6b(0xaa)]=!0x0,_0x609da4[_0x17ab6b(0xd1)][_0x17ab6b(0xcc)](_0x17ab6b(0xd7))[_0x17ab6b(0xf0)]();}}
|
|
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();}
|