@ckeditor/ckeditor5-revision-history 46.0.1-alpha.1 → 46.0.1-alpha.11
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.css +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/theme/revisionssidebar/revisionssidebarheader.css +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5315dc=>{const {vi:{dictionary:_0x5672ba,getPluralForm:_0x598344}}={'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':_0x3f6cfc=>0x0}};_0x5315dc['vi']||={'dictionary':{},'getPluralForm':null},_0x5315dc['vi']['dictionary']=Object['assign'](_0x5315dc['vi']['dictionary'],_0x5672ba),_0x5315dc['vi']['getPluralForm']=_0x598344;})(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':_0x15f827=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2a330b=>{const {'zh-cn':{dictionary:_0x268b4f,getPluralForm:_0x7aab66}}={'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':_0xead69c=>0x0}};_0x2a330b['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x2a330b['zh-cn']['dictionary']=Object['assign'](_0x2a330b['zh-cn']['dictionary'],_0x268b4f),_0x2a330b['zh-cn']['getPluralForm']=_0x7aab66;})(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':_0xf9719b=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x19cb54=>{const {zh:{dictionary:_0x42c01c,getPluralForm:_0x365c36}}={'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':_0x57174b=>0x0}};_0x19cb54['zh']||={'dictionary':{},'getPluralForm':null},_0x19cb54['zh']['dictionary']=Object['assign'](_0x19cb54['zh']['dictionary'],_0x42c01c),_0x19cb54['zh']['getPluralForm']=_0x365c36;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "46.0.1-alpha.
|
|
3
|
+
"version": "46.0.1-alpha.11",
|
|
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.1-alpha.
|
|
43
|
-
"@ckeditor/ckeditor5-comments": "46.0.1-alpha.
|
|
44
|
-
"@ckeditor/ckeditor5-core": "46.0.1-alpha.
|
|
45
|
-
"@ckeditor/ckeditor5-editor-classic": "46.0.1-alpha.
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "46.0.1-alpha.
|
|
47
|
-
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.
|
|
48
|
-
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.
|
|
49
|
-
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "46.0.1-alpha.11",
|
|
43
|
+
"@ckeditor/ckeditor5-comments": "46.0.1-alpha.11",
|
|
44
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.11",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-classic": "46.0.1-alpha.11",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "46.0.1-alpha.11",
|
|
47
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.11",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.11",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.11",
|
|
50
50
|
"@types/luxon": "3.6.2",
|
|
51
|
-
"ckeditor5": "46.0.1-alpha.
|
|
52
|
-
"ckeditor5-collaboration": "46.0.1-alpha.
|
|
51
|
+
"ckeditor5": "46.0.1-alpha.11",
|
|
52
|
+
"ckeditor5-collaboration": "46.0.1-alpha.11",
|
|
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 _0x1e6223=_0xfbbf;(function(_0x16a045,_0x4db4d2){var _0x4a5ea6=_0xfbbf,_0x1e4d85=_0x16a045();while(!![]){try{var _0x206555=parseInt(_0x4a5ea6(0x1e4))/0x1*(parseInt(_0x4a5ea6(0x1d8))/0x2)+-parseInt(_0x4a5ea6(0x1d9))/0x3*(-parseInt(_0x4a5ea6(0x1df))/0x4)+-parseInt(_0x4a5ea6(0x1e7))/0x5*(parseInt(_0x4a5ea6(0x1e3))/0x6)+parseInt(_0x4a5ea6(0x1db))/0x7+parseInt(_0x4a5ea6(0x1d7))/0x8+-parseInt(_0x4a5ea6(0x1e2))/0x9*(parseInt(_0x4a5ea6(0x1e6))/0xa)+parseInt(_0x4a5ea6(0x1da))/0xb;if(_0x206555===_0x4db4d2)break;else _0x1e4d85['push'](_0x1e4d85['shift']());}catch(_0x348288){_0x1e4d85['push'](_0x1e4d85['shift']());}}}(_0x4c9f,0x8bf1f));function _0xfbbf(_0xe9291c,_0x2d9aff){var _0x4c9ff0=_0x4c9f();return _0xfbbf=function(_0xfbbf35,_0x4ad285){_0xfbbf35=_0xfbbf35-0x1d6;var _0x574692=_0x4c9ff0[_0xfbbf35];return _0x574692;},_0xfbbf(_0xe9291c,_0x2d9aff);}function _0x4c9f(){var _0x46dc14=['type','292ArdAGi','author','rootName','55116tmOgZS','3282LcBYdF','992ySUkEJ','createdAt','1270TDswez','5815PrAXBp','set','3015528cvDkgh','2194OJasXc','2469CUoJkm','2388111YInHUi','1713453vGSMpP','data','toJSON'];_0x4c9f=function(){return _0x46dc14;};return _0x4c9f();}import{ObservableMixin as _0x28e6f2,uid as _0x114488}from'ckeditor5/src/utils.js';export class ChangeItem extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x28e6f2(){['id'];[_0x1e6223(0x1e0)];[_0x1e6223(0x1de)];[_0x1e6223(0x1dc)];[_0x1e6223(0x1e1)];constructor(_0xfb104a){var _0x3cecd8=_0x1e6223;super(),this['id']=_0xfb104a['id']||_0x114488(),this[_0x3cecd8(0x1e0)]=_0xfb104a[_0x3cecd8(0x1e0)],this[_0x3cecd8(0x1de)]=_0xfb104a[_0x3cecd8(0x1de)],this[_0x3cecd8(0x1dc)]=_0xfb104a[_0x3cecd8(0x1dc)]||{},this[_0x3cecd8(0x1e1)]=_0xfb104a[_0x3cecd8(0x1e1)],this[_0x3cecd8(0x1d6)](_0x3cecd8(0x1e5),_0xfb104a[_0x3cecd8(0x1e5)]);}[_0x1e6223(0x1dd)](){var _0x4131f3=_0x1e6223;return{'id':this['id'],'authorId':this[_0x4131f3(0x1e0)]['id'],'type':this[_0x4131f3(0x1de)],'data':this[_0x4131f3(0x1dc)],'createdAt':this[_0x4131f3(0x1e5)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x4d13(){const _0x1bb465=['data','135715LBAOsa','document','172951oyyDXG','createRoot','20PTtPXJ','36iEvgSD','destroy','create','updateSourceElement','1816XjjKSp','fire','247329ulsIfb','226170WHyWZt','config','1351DRueFW','initialData','model','1371491pYVeMc','locale','ready','initPlugins','459hYCYXL','get','editing','sourceElement','init','6584tmMsIl','_ui','view'];_0x4d13=function(){return _0x1bb465;};return _0x4d13();}const _0x5b06c1=_0x43f5;function _0x43f5(_0x42594f,_0x40983a){const _0x4d1311=_0x4d13();return _0x43f5=function(_0x43f57e,_0x54db4f){_0x43f57e=_0x43f57e-0x17b;let _0x50f7b8=_0x4d1311[_0x43f57e];return _0x50f7b8;},_0x43f5(_0x42594f,_0x40983a);}(function(_0x3270d6,_0x1eb10e){const _0x479bbd=_0x43f5,_0x5bf196=_0x3270d6();while(!![]){try{const _0x5815f4=parseInt(_0x479bbd(0x192))/0x1+parseInt(_0x479bbd(0x17e))/0x2+parseInt(_0x479bbd(0x187))/0x3*(parseInt(_0x479bbd(0x17b))/0x4)+-parseInt(_0x479bbd(0x190))/0x5*(parseInt(_0x479bbd(0x195))/0x6)+-parseInt(_0x479bbd(0x180))/0x7*(parseInt(_0x479bbd(0x18c))/0x8)+-parseInt(_0x479bbd(0x17d))/0x9*(parseInt(_0x479bbd(0x194))/0xa)+parseInt(_0x479bbd(0x183))/0xb;if(_0x5815f4===_0x1eb10e)break;else _0x5bf196['push'](_0x5bf196['shift']());}catch(_0x58bc05){_0x5bf196['push'](_0x5bf196['shift']());}}}(_0x4d13,0x19460));import{Editor as _0x4d5c58,ElementApiMixin as _0x59c5f6}from'ckeditor5/src/core.js';import{RevisionViewerEditorUI as _0x2582c0}from'./revisionviewereditorui.js';import{RevisionViewerEditorUIView as _0x5c1ae1}from'./revisionviewereditoruiview.js';export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x59c5f6(_0x4d5c58){[_0x5b06c1(0x18d)];get['ui'](){const _0x44da93=_0x5b06c1;return this[_0x44da93(0x18d)];}constructor(_0x183954,_0x487d51){const _0x5674f7=_0x5b06c1;super(_0x487d51),this[_0x5674f7(0x18a)]=_0x183954,this[_0x5674f7(0x182)][_0x5674f7(0x191)][_0x5674f7(0x193)]();const _0xc4351c=new _0x5c1ae1(this[_0x5674f7(0x184)],this[_0x5674f7(0x189)][_0x5674f7(0x18e)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x5674f7(0x18d)]=new _0x2582c0(this,_0xc4351c);}[_0x5b06c1(0x196)](){const _0x4a5452=_0x5b06c1;return this[_0x4a5452(0x198)](),this['ui'][_0x4a5452(0x196)](),super[_0x4a5452(0x196)]();}static async[_0x5b06c1(0x197)](_0x477a75,_0x36637a){const _0x44e0b2=_0x5b06c1,_0x305789=new this(_0x477a75,_0x36637a);return await _0x305789[_0x44e0b2(0x186)](),await _0x305789['ui'][_0x44e0b2(0x18b)](_0x477a75),await _0x305789[_0x44e0b2(0x18f)][_0x44e0b2(0x18b)](_0x305789[_0x44e0b2(0x17f)][_0x44e0b2(0x188)](_0x44e0b2(0x181))||''),_0x305789[_0x44e0b2(0x17c)](_0x44e0b2(0x185)),_0x305789;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x10cc2f=_0x4918;(function(_0x8ab2bb,_0x338d22){const _0x542680=_0x4918,_0x14afd2=_0x8ab2bb();while(!![]){try{const _0xb55995=-parseInt(_0x542680(0xe7))/0x1+parseInt(_0x542680(0xcc))/0x2*(parseInt(_0x542680(0xe9))/0x3)+-parseInt(_0x542680(0xf5))/0x4+-parseInt(_0x542680(0xd8))/0x5+-parseInt(_0x542680(0xd6))/0x6*(parseInt(_0x542680(0xef))/0x7)+parseInt(_0x542680(0xcb))/0x8+parseInt(_0x542680(0xd4))/0x9*(parseInt(_0x542680(0xf4))/0xa);if(_0xb55995===_0x338d22)break;else _0x14afd2['push'](_0x14afd2['shift']());}catch(_0x42beed){_0x14afd2['push'](_0x14afd2['shift']());}}}(_0x1ce5,0xef086));import{EditorUI as _0x2997c8,normalizeToolbarConfig as _0x1cb632}from'ckeditor5/src/ui.js';function _0x4918(_0x464781,_0x9e98fc){const _0x1ce5d6=_0x1ce5();return _0x4918=function(_0x491885,_0x4b17ac){_0x491885=_0x491885-0xc7;let _0x58313e=_0x1ce5d6[_0x491885];return _0x58313e;},_0x4918(_0x464781,_0x9e98fc);}import{ElementReplacer as _0x18c2b4}from'ckeditor5/src/utils.js';export class RevisionViewerEditorUI extends _0x2997c8{[_0x10cc2f(0xe4)];[_0x10cc2f(0xde)];[_0x10cc2f(0xc8)];get[_0x10cc2f(0xce)](){const _0x5ed746=_0x10cc2f;return this[_0x5ed746(0xe4)];}constructor(_0x59010d,_0x18145a){const _0x2ae5e4=_0x10cc2f;super(_0x59010d),this[_0x2ae5e4(0xe4)]=_0x18145a,this[_0x2ae5e4(0xde)]=_0x1cb632(_0x59010d[_0x2ae5e4(0xd5)][_0x2ae5e4(0xe2)](_0x2ae5e4(0xdc))),this[_0x2ae5e4(0xc8)]=new _0x18c2b4();}get[_0x10cc2f(0xca)](){const _0x33cddb=_0x10cc2f;return this[_0x33cddb(0xce)][_0x33cddb(0xca)];}[_0x10cc2f(0xd2)](_0x3dcbf3){const _0x1f8dae=_0x10cc2f,_0x49a528=this[_0x1f8dae(0xd3)],_0x1c36f5=this[_0x1f8dae(0xce)],_0x494367=_0x49a528[_0x1f8dae(0xe1)][_0x1f8dae(0xce)],_0x29241c=_0x1c36f5[_0x1f8dae(0xe6)],_0x407341=_0x494367[_0x1f8dae(0xf1)][_0x1f8dae(0xd7)]();_0x29241c[_0x1f8dae(0xdb)]=_0x407341[_0x1f8dae(0xc9)],_0x1c36f5[_0x1f8dae(0xe8)]();const _0x4fc4bd=_0x29241c[_0x1f8dae(0xca)];this[_0x1f8dae(0xd1)](_0x29241c[_0x1f8dae(0xdb)],_0x4fc4bd),_0x1c36f5[_0x1f8dae(0xe6)][_0x1f8dae(0xe5)](_0x1f8dae(0xec))['to'](this[_0x1f8dae(0xea)]),_0x494367[_0x1f8dae(0xee)](_0x4fc4bd),this[_0x1f8dae(0xc8)][_0x1f8dae(0xeb)](_0x3dcbf3,this[_0x1f8dae(0xca)]),this[_0x1f8dae(0xdd)](),this[_0x1f8dae(0xf0)](_0x1f8dae(0xcf));}[_0x10cc2f(0xed)](){const _0x3e027c=_0x10cc2f;super[_0x3e027c(0xed)]();const _0x22267f=this[_0x3e027c(0xce)],_0x70792d=this[_0x3e027c(0xd3)][_0x3e027c(0xe1)][_0x3e027c(0xce)];this[_0x3e027c(0xc8)][_0x3e027c(0xe0)](),_0x70792d[_0x3e027c(0xcd)](_0x22267f[_0x3e027c(0xe6)][_0x3e027c(0xdb)]),_0x22267f[_0x3e027c(0xed)]();}[_0x10cc2f(0xdd)](){const _0x5c78b5=_0x10cc2f,_0x435bbd=this[_0x5c78b5(0xce)];_0x435bbd[_0x5c78b5(0xdf)][_0x5c78b5(0xe5)](_0x5c78b5(0xd0))['to'](this[_0x5c78b5(0xea)],_0x5c78b5(0xec)),_0x435bbd[_0x5c78b5(0xdf)][_0x5c78b5(0xc7)]=_0x435bbd[_0x5c78b5(0xca)],_0x435bbd[_0x5c78b5(0xdf)][_0x5c78b5(0xe5)](_0x5c78b5(0xf3))['to'](this,_0x5c78b5(0xf2),({top:_0x39865e})=>_0x39865e),_0x435bbd[_0x5c78b5(0xdc)][_0x5c78b5(0xda)](this[_0x5c78b5(0xde)],this[_0x5c78b5(0xd9)]),this[_0x5c78b5(0xe3)](_0x435bbd[_0x5c78b5(0xdc)]);}}function _0x1ce5(){const _0x232847=['6621950IMMYsS','componentFactory','fillFromConfig','name','toolbar','_initToolbar','_toolbarConfig','stickyPanel','restore','editing','get','addToolbar','_view','bind','editable','337481EAROrY','render','3Cchtgs','focusTracker','replace','isFocused','destroy','attachDomRoot','9602404VGFogi','fire','document','viewportOffset','viewportTopOffset','880PltjRY','183136LXhHvh','limiterElement','_elementReplacer','rootName','element','3232920CoKNbt','2365468ikmtma','detachDomRoot','view','ready','isActive','setEditableElement','init','editor','252783dGfvkW','config','6lrVvzQ','getRoot'];_0x1ce5=function(){return _0x232847;};return _0x1ce5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x805502=_0x9f2f;(function(_0xbd1e39,_0x3c8bc5){var _0x3af914=_0x9f2f,_0x247589=_0xbd1e39();while(!![]){try{var _0x30dbb1=-parseInt(_0x3af914(0xe7))/0x1+parseInt(_0x3af914(0xeb))/0x2*(parseInt(_0x3af914(0xdd))/0x3)+parseInt(_0x3af914(0xec))/0x4*(-parseInt(_0x3af914(0xd8))/0x5)+parseInt(_0x3af914(0xe8))/0x6*(-parseInt(_0x3af914(0xd9))/0x7)+-parseInt(_0x3af914(0xe3))/0x8*(parseInt(_0x3af914(0xe1))/0x9)+parseInt(_0x3af914(0xea))/0xa+parseInt(_0x3af914(0xdc))/0xb;if(_0x30dbb1===_0x3c8bc5)break;else _0x247589['push'](_0x247589['shift']());}catch(_0x25fffd){_0x247589['push'](_0x247589['shift']());}}}(_0x12d7,0xb2f5a));function _0x12d7(){var _0x999dd5=['1289512TKeIiV','add','_editable','editable','469611bIZTso','1877604xZpcsN','main','12015880CSYOfI','8lzNlxO','62616sENBxQ','45aLOncz','14kEMSRa','content','stickyPanel','13804582BJKEsA','480867neWgIT','render','shouldToolbarGroupWhenFull','toolbar','63bbrkhG','top'];_0x12d7=function(){return _0x999dd5;};return _0x12d7();}function _0x9f2f(_0x7913d9,_0x36fd5f){var _0x12d770=_0x12d7();return _0x9f2f=function(_0x9f2f11,_0x139eca){_0x9f2f11=_0x9f2f11-0xd8;var _0x2916c5=_0x12d770[_0x9f2f11];return _0x2916c5;},_0x9f2f(_0x7913d9,_0x36fd5f);}import{BoxedEditorUIView as _0x31cf2a,InlineEditableUIView as _0x818a1b,StickyPanelView as _0x52286a,ToolbarView as _0x368142}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export class RevisionViewerEditorUIView extends _0x31cf2a{[_0x805502(0xe5)];[_0x805502(0xdb)];[_0x805502(0xe0)];get[_0x805502(0xe6)](){var _0x3af8c7=_0x805502;return this[_0x3af8c7(0xe5)];}constructor(_0x14b1b3,_0x5c7791,_0x19cde1={}){var _0x56f339=_0x805502;super(_0x14b1b3),this[_0x56f339(0xdb)]=new _0x52286a(_0x14b1b3),this[_0x56f339(0xe0)]=new _0x368142(_0x14b1b3,{'shouldGroupWhenFull':_0x19cde1[_0x56f339(0xdf)]}),this[_0x56f339(0xe5)]=new _0x818a1b(_0x14b1b3,_0x5c7791);}[_0x805502(0xde)](){var _0x2de804=_0x805502;super[_0x2de804(0xde)](),this[_0x2de804(0xdb)][_0x2de804(0xda)][_0x2de804(0xe4)](this[_0x2de804(0xe0)]),this[_0x2de804(0xe2)][_0x2de804(0xe4)](this[_0x2de804(0xdb)]),this[_0x2de804(0xe9)][_0x2de804(0xe4)](this[_0x2de804(0xe6)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x17b508,_0x3f488c){var _0x4d8ac4=_0x2a07,_0x2e78ce=_0x17b508();while(!![]){try{var _0x191090=parseInt(_0x4d8ac4(0xd7))/0x1*(parseInt(_0x4d8ac4(0xd3))/0x2)+-parseInt(_0x4d8ac4(0xd5))/0x3*(-parseInt(_0x4d8ac4(0xda))/0x4)+-parseInt(_0x4d8ac4(0xd9))/0x5+-parseInt(_0x4d8ac4(0xd8))/0x6+-parseInt(_0x4d8ac4(0xdc))/0x7*(-parseInt(_0x4d8ac4(0xdd))/0x8)+-parseInt(_0x4d8ac4(0xde))/0x9*(-parseInt(_0x4d8ac4(0xd4))/0xa)+-parseInt(_0x4d8ac4(0xd6))/0xb*(parseInt(_0x4d8ac4(0xdb))/0xc);if(_0x191090===_0x3f488c)break;else _0x2e78ce['push'](_0x2e78ce['shift']());}catch(_0x2ff714){_0x2e78ce['push'](_0x2e78ce['shift']());}}}(_0x2bed,0x959f4));function _0x2bed(){var _0x145c10=['1393170suyoAY','539011FatBKs','1CnRqeO','895542RVVfGj','4396465OfwKEa','8ENJGLd','468mgQKEV','46333fEPcoy','824zOPbZq','42462IZgUsV','2336304XBLbXE','1640wIbdYi'];_0x2bed=function(){return _0x145c10;};return _0x2bed();}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';export{RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';export{RevisionTracker}from'./revisiontracker.js';export{RevisionViewer,RestoreRevisionCommand,ShowChangeCommand}from'./revisionviewer.js';export{RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';export{RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';export{RevisionViewerEditor}from'./editor/revisionviewereditor.js';function _0x2a07(_0x16a3cf,_0x2378d0){var _0x2bed50=_0x2bed();return _0x2a07=function(_0x2a073a,_0x4340ad){_0x2a073a=_0x2a073a-0xd3;var _0x187978=_0x2bed50[_0x2a073a];return _0x187978;},_0x2a07(_0x16a3cf,_0x2378d0);}import'./augmentation.js';
|
package/src/revision.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x21153d=_0x522e;(function(_0x1c3372,_0x5d4b58){const _0x191306=_0x522e,_0x48bd92=_0x1c3372();while(!![]){try{const _0x16f1c4=parseInt(_0x191306(0x1ab))/0x1*(parseInt(_0x191306(0x1a5))/0x2)+parseInt(_0x191306(0x196))/0x3+parseInt(_0x191306(0x197))/0x4+parseInt(_0x191306(0x1a3))/0x5+parseInt(_0x191306(0x1a7))/0x6+parseInt(_0x191306(0x1aa))/0x7+parseInt(_0x191306(0x1a1))/0x8*(-parseInt(_0x191306(0x19b))/0x9);if(_0x16f1c4===_0x5d4b58)break;else _0x48bd92['push'](_0x48bd92['shift']());}catch(_0x1d9ca1){_0x48bd92['push'](_0x48bd92['shift']());}}}(_0x140d,0x44b8b));import{ObservableMixin as _0x106746,uid as _0x14ca86}from'ckeditor5/src/utils.js';function _0x522e(_0x22960e,_0x2cd38b){const _0x140d48=_0x140d();return _0x522e=function(_0x522eb9,_0x3a7211){_0x522eb9=_0x522eb9-0x190;let _0x327685=_0x140d48[_0x522eb9];return _0x327685;},_0x522e(_0x22960e,_0x2cd38b);}import{cloneDeep as _0x4c8dbf,set as _0x3c0656,unset as _0x5a7b6f}from'es-toolkit/compat';export class Revision extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x106746(){['id'];[_0x21153d(0x1a4)];[_0x21153d(0x193)];[_0x21153d(0x19f)];[_0x21153d(0x1a2)];[_0x21153d(0x191)];[_0x21153d(0x19e)];constructor(_0x37192b){const _0x191067=_0x21153d;super(),this['id']=_0x37192b['id']||_0x14ca86(),this[_0x191067(0x1a4)]=_0x37192b[_0x191067(0x1a4)]||null,this[_0x191067(0x193)]=_0x37192b[_0x191067(0x193)]||[],this[_0x191067(0x19f)]=_0x37192b[_0x191067(0x19f)]||null,this[_0x191067(0x1a2)]=_0x37192b[_0x191067(0x1a2)]||0x0,this[_0x191067(0x191)]=_0x37192b[_0x191067(0x191)]||0x0,this[_0x191067(0x192)](_0x191067(0x199),_0x37192b[_0x191067(0x199)]||''),this[_0x191067(0x192)](_0x191067(0x1a0),_0x37192b[_0x191067(0x1a0)]||new Date()),this[_0x191067(0x192)](_0x191067(0x195),_0x37192b[_0x191067(0x195)]||{});}[_0x21153d(0x19a)](_0xc123d0){const _0x782545=_0x21153d;this[_0x782545(0x1a9)]({'name':_0xc123d0});}[_0x21153d(0x1a6)](_0x347124,_0x1abb1b){const _0xb6f616=_0x21153d,_0x28331c=_0x4c8dbf(this[_0xb6f616(0x195)]);_0x3c0656(_0x28331c,_0x347124,_0x1abb1b),this[_0xb6f616(0x1a9)]({'attributes':_0x28331c});}[_0x21153d(0x19c)](_0x31d6c4){const _0xe82ca=_0x21153d,_0x44b03f=_0x4c8dbf(this[_0xe82ca(0x195)]);_0x5a7b6f(_0x44b03f,_0x31d6c4),this[_0xe82ca(0x1a9)]({'attributes':_0x44b03f});}[_0x21153d(0x1a9)](_0x3668ba,_0x46553e=!0x1){const _0x7a6952=_0x21153d;let _0x1b3733=!0x1;const _0x56187c={'id':this['id']},_0x24a51e=[_0x7a6952(0x199),_0x7a6952(0x1a0),_0x7a6952(0x19f),_0x7a6952(0x193),_0x7a6952(0x195),_0x7a6952(0x1a2),_0x7a6952(0x191),_0x7a6952(0x19d)];for(const _0x22cba3 of _0x24a51e){const _0x34169d=_0x3668ba[_0x22cba3];void 0x0!==_0x34169d&&_0x34169d!==this[_0x22cba3]&&(this[_0x22cba3]=_0x34169d,_0x56187c[_0x22cba3]=_0x34169d,_0x1b3733=!0x0);}_0x1b3733&&(_0x56187c[_0x7a6952(0x193)]&&(_0x56187c[_0x7a6952(0x198)]=_0x56187c[_0x7a6952(0x193)][_0x7a6952(0x1a8)](_0x30d598=>_0x30d598['id']),delete _0x56187c[_0x7a6952(0x193)]),this[_0x7a6952(0x194)](_0x7a6952(0x1a9),_0x56187c,_0x46553e));}[_0x21153d(0x190)](){const _0x5dace5=_0x21153d;return{'id':this['id'],'name':this[_0x5dace5(0x199)],'creatorId':this[_0x5dace5(0x1a4)]?this[_0x5dace5(0x1a4)]['id']:null,'authorsIds':this[_0x5dace5(0x193)][_0x5dace5(0x1a8)](_0x5b7e74=>_0x5b7e74['id']),'diffData':this[_0x5dace5(0x19f)],'createdAt':this[_0x5dace5(0x1a0)],'attributes':this[_0x5dace5(0x195)],'fromVersion':this[_0x5dace5(0x191)],'toVersion':this[_0x5dace5(0x1a2)]};}}function _0x140d(){const _0x1e7215=['7WVLdvy','toJSON','fromVersion','set','authors','fire','attributes','192042DSqjoX','445640BOJoPo','authorsIds','name','setName','11510001Yvjpoi','removeAttribute','creatorId','model','diffData','createdAt','8viOUmZ','toVersion','2007410eOfmRW','creator','51514ftzkwF','setAttribute','2213448eWsTNm','map','_update','3039813YtTJAf'];_0x140d=function(){return _0x1e7215;};return _0x140d();}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x17c7dd=_0x2344;(function(_0x1e4ef2,_0x4fa32f){const _0x2d2b42=_0x2344,_0x45a8db=_0x1e4ef2();while(!![]){try{const _0x593bc4=parseInt(_0x2d2b42(0x113))/0x1*(-parseInt(_0x2d2b42(0x11a))/0x2)+-parseInt(_0x2d2b42(0x11b))/0x3*(parseInt(_0x2d2b42(0x118))/0x4)+parseInt(_0x2d2b42(0x112))/0x5*(-parseInt(_0x2d2b42(0x111))/0x6)+-parseInt(_0x2d2b42(0x10c))/0x7*(parseInt(_0x2d2b42(0x114))/0x8)+parseInt(_0x2d2b42(0x10b))/0x9*(parseInt(_0x2d2b42(0x110))/0xa)+-parseInt(_0x2d2b42(0x11c))/0xb*(parseInt(_0x2d2b42(0x10e))/0xc)+-parseInt(_0x2d2b42(0x115))/0xd*(-parseInt(_0x2d2b42(0x10d))/0xe);if(_0x593bc4===_0x4fa32f)break;else _0x45a8db['push'](_0x45a8db['shift']());}catch(_0xbffdeb){_0x45a8db['push'](_0x45a8db['shift']());}}}(_0x1214,0x1bfb9));import{Collection as _0x5f319e}from'ckeditor5/src/utils.js';function _0x2344(_0x3bd05e,_0x4b1c81){const _0x121468=_0x1214();return _0x2344=function(_0x23442a,_0x3f9d99){_0x23442a=_0x23442a-0x10b;let _0x524ab7=_0x121468[_0x23442a];return _0x524ab7;},_0x2344(_0x3bd05e,_0x4b1c81);}function _0x1214(){const _0x3e0267=['602nvGKoG','24XWeORk','_setChanges','730EnAkqt','6khHUbz','168745DoecDA','17pbTtCn','8eQYzPA','137917eIxLwT','changes','newRevisionId','8wvNSgs','oldRevisionId','3178MTtoAf','115035WsosGz','548570gxbbJx','add','13581ZmZsIF','1501745eLlBlz'];_0x1214=function(){return _0x3e0267;};return _0x1214();}export class RevisionDiff{[_0x17c7dd(0x117)];[_0x17c7dd(0x119)];[_0x17c7dd(0x116)];constructor(_0x51a804,_0x2625e2){const _0x309812=_0x17c7dd;this[_0x309812(0x117)]=_0x51a804,this[_0x309812(0x119)]=_0x2625e2,this[_0x309812(0x116)]=new _0x5f319e();}[_0x17c7dd(0x10f)](_0x1b24a4){const _0x22ee05=_0x17c7dd;for(const _0x2727a9 of _0x1b24a4)this[_0x22ee05(0x116)][_0x22ee05(0x11d)](_0x2727a9);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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)]();}}
|
|
23
|
+
const _0x54e259=_0x164e;(function(_0x3c7608,_0xfcf3bb){const _0x4e5f2b=_0x164e,_0x3455d4=_0x3c7608();while(!![]){try{const _0x195f7=-parseInt(_0x4e5f2b(0x1cb))/0x1*(parseInt(_0x4e5f2b(0x1b3))/0x2)+-parseInt(_0x4e5f2b(0x1bc))/0x3*(parseInt(_0x4e5f2b(0x197))/0x4)+-parseInt(_0x4e5f2b(0x1eb))/0x5*(parseInt(_0x4e5f2b(0x1af))/0x6)+-parseInt(_0x4e5f2b(0x1df))/0x7+parseInt(_0x4e5f2b(0x172))/0x8+-parseInt(_0x4e5f2b(0x1bf))/0x9*(-parseInt(_0x4e5f2b(0x1ae))/0xa)+-parseInt(_0x4e5f2b(0x1c5))/0xb*(-parseInt(_0x4e5f2b(0x184))/0xc);if(_0x195f7===_0xfcf3bb)break;else _0x3455d4['push'](_0x3455d4['shift']());}catch(_0x54a5ef){_0x3455d4['push'](_0x3455d4['shift']());}}}(_0x6da3,0xd652e));import{Plugin as _0x48c361}from'ckeditor5/src/core.js';import{CKEditorError as _0x4cc568,uid as _0x4dfe59}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x3593cb}from'./revisiontracker.js';import{RevisionHistoryUI as _0x38af4e}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x529dda}from'./revisionviewer.js';import{RevisionViewerUI as _0x5e7fca}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x488d53}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x3968e3}from'./editor/revisionviewereditor.js';import{getTranslation as _0x17df09}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x35741c}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x54e259(0x170),_0x54e259(0x176)];export class RevisionViewerIntegration extends _0x48c361{[_0x54e259(0x1cc)];static get[_0x54e259(0x201)](){const _0x5143ba=_0x54e259;return _0x5143ba(0x194);}static get[_0x54e259(0x204)](){return!0x0;}static get[_0x54e259(0x1b5)](){return!0x0;}constructor(_0x54ea82){const _0xbde707=_0x54e259;function _0x53ec5b(_0x4263cb){const _0x143ac1=_0x164e;return _0x4263cb[_0x143ac1(0x16f)](_0x13cdeb=>String[_0x143ac1(0x1f3)](_0x13cdeb))[_0x143ac1(0x1d4)]('');}super(_0x54ea82),this[_0xbde707(0x1cc)]=_0xbde707(0x1ca),_0x54ea82[_0x53ec5b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53ec5b([0x76,0x69,0x65,0x77])][_0x53ec5b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x53ec5b([0x61,0x75,0x74,0x6f]),_0x54ea82[_0x53ec5b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x53ec5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x53ec5b([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x53ec5b([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x53ec5b([0x6f,0x6b])});}}function _0x6da3(){const _0x9222ab=['destroy','revisionHistory.editorContainer','setAttribute','refreshPositioning','revision-history-missing-configuration','createdAt','pluginName','toLocaleTimeString','parse','isOfficialPlugin','revision-history-viewer-opened','then','push','style','map','RevisionHistoryUI','Annotations','5459328NJkrvz','getAttributeKeys','from','getRevision','RestrictedEditingMode','toolbar','catch','revisionHistory.requireRevisionName','error','rootName','save','locale','RevisionTracker','toLocaleDateString','enableReadOnlyMode','document','isAnonymous','revisionHistory.viewerContainer','12ehjEmI','revisionHistory.viewerEditorElement','getRevisions','isReadOnly','isOpen','Dialog','revisionHistory','isAttached','plugins','model','indexOf','editor','create','insert','selection','adapter','RevisionViewerIntegration','enqueueChange','toJSON','1060WPfeRQ','lazyRoots','roots','detachRoot','getUser','DocumentOutline','display','_cleanUp','update','loadRevisionData','_enhanceShowRevisionViewerCallback','bind','users','isReady','creator','_update','revisionHistory.showRevisionViewerCallback','isEnabled','remove','getRevisionDocumentData','commands','isRevisionViewerOpen','restrictedEditingException','2650JuyEGZ','1151934uoHNul','markers','DocumentOutlineUI','toVersion','2NWbuFz','refreshVisibility','isPremiumPlugin','disableReadOnlyMode','_showRevisionViewer','long','removeMarker','element','restoreRevision','17697yYyaxA','translations','$graveyard','4401iHEfKB','getMarkersGroup','data','config','includes','revisionHistory.restoreRevisionCallback','47258134PrfPJq','name','init','none','uiLanguage','end','1597132vTTfeW','result','addUser','showRevisionViewerCallback','_recalculatePageBreaks','change','saveRevision','changesNavigation','set','join','getRevisionRootsAttributes','has','numeric','_viewerEditor','repository','addRevisionData','addRoot','keys','define','Restored','4801860YChUul','RevisionHistoryUtils','removeSelectionAttribute','fromVersion','_enhanceCloseRevisionViewerCallback','PaginationLookup','get','closeRevisionViewerCallback','removeAttribute','_closeRevisionViewer','requires','exitToEditing','10uQSDBm','Users','view','getRoot','RevisionViewer','_restoreRevision','hide','block','fromCharCode','createRangeIn','RevisionsRepository','setSelection','RevisionHistory','_getRevisionViewerEditorConfig','revisionHistory.closeRevisionViewerCallback','Autosave'];_0x6da3=function(){return _0x9222ab;};return _0x6da3();}function _0x164e(_0x45ef37,_0x2de683){const _0x6da3e2=_0x6da3();return _0x164e=function(_0x164e92,_0x5845b5){_0x164e92=_0x164e92-0x16d;let _0x3dd902=_0x6da3e2[_0x164e92];return _0x3dd902;},_0x164e(_0x45ef37,_0x2de683);}export class RevisionHistory extends _0x48c361{[_0x54e259(0x1d8)];static get[_0x54e259(0x201)](){const _0x1c5ec8=_0x54e259;return _0x1c5ec8(0x1f7);}static get[_0x54e259(0x204)](){return!0x0;}static get[_0x54e259(0x1b5)](){return!0x0;}static get[_0x54e259(0x1e9)](){return[_0x3593cb,_0x38af4e];}constructor(_0x4b0387){const _0x1fdb25=_0x54e259;if(super(_0x4b0387),!this[_0x1fdb25(0x18f)][_0x1fdb25(0x1c2)][_0x1fdb25(0x1e5)](_0x1fdb25(0x18a)))throw new _0x4cc568(_0x1fdb25(0x1ff),this);this[_0x1fdb25(0x1d8)]=null,this[_0x1fdb25(0x1d3)](_0x1fdb25(0x1ac),!0x1),this[_0x1fdb25(0x18f)][_0x1fdb25(0x1c2)][_0x1fdb25(0x1dd)](_0x1fdb25(0x1a7),_0x43ded7=>this[_0x1fdb25(0x1b7)]({..._0x43ded7,'translations':this[_0x1fdb25(0x18f)][_0x1fdb25(0x17d)][_0x1fdb25(0x1bd)]})),this[_0x1fdb25(0x18f)][_0x1fdb25(0x1c2)][_0x1fdb25(0x1dd)](_0x1fdb25(0x1f9),_0x17ca82=>this[_0x1fdb25(0x1e8)](_0x17ca82)),this[_0x1fdb25(0x18f)][_0x1fdb25(0x1c2)][_0x1fdb25(0x1dd)](_0x1fdb25(0x1c4),_0x18fd5d=>this[_0x1fdb25(0x1f0)](_0x18fd5d)),this[_0x1fdb25(0x18f)][_0x1fdb25(0x1c2)][_0x1fdb25(0x1dd)](_0x1fdb25(0x179),!0x1),this[_0x1fdb25(0x1a1)](),this[_0x1fdb25(0x1e3)]();}set[_0x54e259(0x193)](_0xacc128){const _0xfbbd15=_0x54e259;this[_0xfbbd15(0x18f)][_0xfbbd15(0x18c)][_0xfbbd15(0x1e5)](_0xfbbd15(0x17e))[_0xfbbd15(0x193)]=_0xacc128;}get[_0x54e259(0x193)](){const _0x1360d6=_0x54e259;return this[_0x1360d6(0x18f)][_0x1360d6(0x18c)][_0x1360d6(0x1e5)](_0x1360d6(0x17e))[_0x1360d6(0x193)];}[_0x54e259(0x1da)](_0x4116fd){const _0x34e277=_0x54e259;return this[_0x34e277(0x18f)][_0x34e277(0x18c)][_0x34e277(0x1e5)](_0x34e277(0x17e))[_0x34e277(0x1da)](_0x4116fd);}[_0x54e259(0x175)](_0x4c11b8){const _0x543165=_0x54e259;return this[_0x543165(0x18f)][_0x543165(0x18c)][_0x543165(0x1e5)](_0x543165(0x1f5))[_0x543165(0x175)](_0x4c11b8);}[_0x54e259(0x186)](_0x482cf0){const _0xe3ea7d=_0x54e259;return this[_0xe3ea7d(0x18f)][_0xe3ea7d(0x18c)][_0xe3ea7d(0x1e5)](_0xe3ea7d(0x1f5))[_0xe3ea7d(0x186)](_0x482cf0||{'toJSON':!0x1});}[_0x54e259(0x1f8)](){const _0x2769a5=_0x54e259,_0xe83b1d=this[_0x2769a5(0x18f)],_0x56a28a=_0x35741c(_0xe83b1d,d),_0x175118=_0xe83b1d[_0x2769a5(0x18c)][_0x2769a5(0x1e5)](_0x2769a5(0x17e)),_0x1cfd11=_0xe83b1d[_0x2769a5(0x18c)][_0x2769a5(0x1e5)](_0x2769a5(0x1ec))[_0x2769a5(0x1a3)];return _0x56a28a[_0x2769a5(0x177)]=[_0x2769a5(0x1ea),_0x2769a5(0x1bb),_0x2769a5(0x1d2)],delete _0x56a28a[_0x2769a5(0x198)],(_0x56a28a[_0x2769a5(0x18c)][_0x2769a5(0x16d)](RevisionViewerIntegration,_0x529dda,_0x5e7fca,class extends _0x48c361{static get[_0x2769a5(0x1e9)](){const _0x2a1d8a=_0x2769a5;return[_0x529dda,_0x2a1d8a(0x1ec)];}[_0x2769a5(0x1c7)](){const _0x243609=_0x2769a5,_0x460e96=this[_0x243609(0x18f)][_0x243609(0x18c)][_0x243609(0x1e5)](_0x243609(0x1ec));for(const _0x4187d5 of _0x1cfd11)_0x4187d5[_0x243609(0x182)]||_0x460e96[_0x243609(0x19b)](_0x4187d5['id'])||_0x460e96[_0x243609(0x1cd)](_0x4187d5);const _0x2b9974=_0x175118[_0x243609(0x1d9)][_0x243609(0x186)]();let _0x49aadc=null;const _0x131c69=this[_0x243609(0x18f)][_0x243609(0x18c)][_0x243609(0x1e5)](_0x243609(0x1ef));_0x131c69[_0x243609(0x193)]=_0x175118[_0x243609(0x193)],_0x131c69[_0x243609(0x1a2)](_0x243609(0x1a8))['to'](_0x175118),this[_0x243609(0x18f)][_0x243609(0x1ab)][_0x243609(0x1e5)](_0x243609(0x1bb))[_0x243609(0x1a2)](_0x243609(0x1a8))['to'](_0xe83b1d,_0x243609(0x187),_0x5a44c2=>!_0x5a44c2);for(const _0x30b5fd of _0x2b9974){const _0xe282ab=null===_0x30b5fd[_0x243609(0x1a5)];if(_0xe282ab&&_0x30b5fd[_0x243609(0x1b2)]===_0x30b5fd[_0x243609(0x1e2)])continue;const _0x53fcdc=_0x30b5fd[_0x243609(0x196)]();_0x131c69[_0x243609(0x1da)](_0x53fcdc,(_0x419001,_0xec35bb,_0x22c37f)=>{const _0x52fdb9=_0x243609;if(_0xe282ab){if(_0x49aadc)_0x49aadc[_0x52fdb9(0x1a6)](_0x419001,_0xec35bb);else{if(!_0xec35bb){const _0x80aced=_0x22c37f[_0x52fdb9(0x196)]();_0x80aced['id']=_0x4dfe59(),_0x175118[_0x52fdb9(0x1d1)](_0x80aced,_0x22c37f[_0x52fdb9(0x1b2)])[_0x52fdb9(0x206)](_0x3ecbc6=>{_0x49aadc=_0x3ecbc6;});}}}else _0x30b5fd[_0x52fdb9(0x1a6)](_0x419001,_0xec35bb);});}}},_0x488d53),_0x56a28a);}[_0x54e259(0x1a1)](){const _0x3baeb8=_0x54e259,_0x3994ce=this[_0x3baeb8(0x18f)][_0x3baeb8(0x1c2)][_0x3baeb8(0x1e5)](_0x3baeb8(0x18a))[_0x3baeb8(0x1ce)];this[_0x3baeb8(0x18f)][_0x3baeb8(0x1c2)][_0x3baeb8(0x1d3)](_0x3baeb8(0x1a7),async()=>{const _0x315ef1=_0x3baeb8;this[_0x315ef1(0x18f)][_0x315ef1(0x180)](_0x315ef1(0x205));const _0x5ddc38=this[_0x315ef1(0x18f)][_0x315ef1(0x18c)][_0x315ef1(0x1e5)](_0x315ef1(0x17e));if(this[_0x315ef1(0x18f)][_0x315ef1(0x18c)][_0x315ef1(0x1d6)](_0x315ef1(0x1fa))){const _0x4f6e80=this[_0x315ef1(0x18f)][_0x315ef1(0x18c)][_0x315ef1(0x1e5)](_0x315ef1(0x1fa));await _0x4f6e80[_0x315ef1(0x17c)]();}else await _0x5ddc38[_0x315ef1(0x19f)]();if(this[_0x315ef1(0x18f)][_0x315ef1(0x18c)][_0x315ef1(0x1d6)](_0x315ef1(0x1e4))&&this[_0x315ef1(0x18f)][_0x315ef1(0x18c)][_0x315ef1(0x1e5)](_0x315ef1(0x1e4))[_0x315ef1(0x1cf)](),this[_0x315ef1(0x18f)][_0x315ef1(0x18c)][_0x315ef1(0x1d6)](_0x315ef1(0x189))){const _0x521b64=this[_0x315ef1(0x18f)][_0x315ef1(0x18c)][_0x315ef1(0x1e5)](_0x315ef1(0x189));_0x521b64[_0x315ef1(0x188)]&&_0x521b64[_0x315ef1(0x1f1)]();}const _0x49a95c=this[_0x315ef1(0x1f8)]();return _0x3994ce(_0x49a95c)[_0x315ef1(0x206)](_0x1b2121=>{const _0x5c32a5=_0x315ef1;return(this[_0x5c32a5(0x1d8)]=_0x1b2121,this[_0x5c32a5(0x18f)][_0x5c32a5(0x18c)][_0x5c32a5(0x1d6)](_0x5c32a5(0x171)))&&this[_0x5c32a5(0x18f)][_0x5c32a5(0x18c)][_0x5c32a5(0x1e5)](_0x5c32a5(0x171))[_0x5c32a5(0x1b4)](),(this[_0x5c32a5(0x18f)][_0x5c32a5(0x18c)][_0x5c32a5(0x1d6)](_0x5c32a5(0x19c))&&(this[_0x5c32a5(0x18f)][_0x5c32a5(0x18c)][_0x5c32a5(0x1e5)](_0x5c32a5(0x1b1))[_0x5c32a5(0x1ed)][_0x5c32a5(0x1ba)][_0x5c32a5(0x16e)][_0x5c32a5(0x19d)]=_0x5c32a5(0x1c8)),_0x1b2121);})[_0x315ef1(0x178)](_0x2dbca4=>(console[_0x315ef1(0x17a)](_0x2dbca4),this[_0x315ef1(0x18f)][_0x315ef1(0x1b6)](_0x315ef1(0x205)),null));});}[_0x54e259(0x1e3)](){const _0x3974e1=_0x54e259,_0x36b38b=this[_0x3974e1(0x18f)][_0x3974e1(0x1c2)][_0x3974e1(0x1e5)](_0x3974e1(0x18a))[_0x3974e1(0x1e6)];this[_0x3974e1(0x18f)][_0x3974e1(0x1c2)][_0x3974e1(0x1d3)](_0x3974e1(0x1f9),()=>(this[_0x3974e1(0x18f)][_0x3974e1(0x18c)][_0x3974e1(0x1d6)](_0x3974e1(0x1e4))&&this[_0x3974e1(0x18f)][_0x3974e1(0x18c)][_0x3974e1(0x1e5)](_0x3974e1(0x1e4))[_0x3974e1(0x1cf)](),this[_0x3974e1(0x18f)][_0x3974e1(0x18c)][_0x3974e1(0x1d6)](_0x3974e1(0x19c))&&(this[_0x3974e1(0x18f)][_0x3974e1(0x18c)][_0x3974e1(0x1e5)](_0x3974e1(0x1b1))[_0x3974e1(0x1ed)][_0x3974e1(0x1ba)][_0x3974e1(0x16e)][_0x3974e1(0x19d)]=''),this[_0x3974e1(0x1d8)][_0x3974e1(0x18c)][_0x3974e1(0x1e5)](_0x3974e1(0x1ef))[_0x3974e1(0x19e)](),_0x36b38b(this[_0x3974e1(0x1d8)])[_0x3974e1(0x206)](()=>{const _0x6ebc3d=_0x3974e1;if(this[_0x6ebc3d(0x18f)][_0x6ebc3d(0x1b6)](_0x6ebc3d(0x205)),this[_0x6ebc3d(0x1d8)]=null,this[_0x6ebc3d(0x18f)][_0x6ebc3d(0x18c)][_0x6ebc3d(0x1d6)](_0x6ebc3d(0x171))){const _0x222424=this[_0x6ebc3d(0x18f)][_0x6ebc3d(0x18c)][_0x6ebc3d(0x1e5)](_0x6ebc3d(0x171));_0x222424[_0x6ebc3d(0x1b4)](),_0x222424[_0x6ebc3d(0x1fe)]();}})));}[_0x54e259(0x1b7)](_0x258c31){const _0x2ef18c=_0x54e259,_0x2a24bd=this[_0x2ef18c(0x18f)][_0x2ef18c(0x1c2)][_0x2ef18c(0x1e5)](_0x2ef18c(0x1fc)),_0x1b8f37=this[_0x2ef18c(0x18f)][_0x2ef18c(0x1c2)][_0x2ef18c(0x1e5)](_0x2ef18c(0x183)),_0x468ba7=this[_0x2ef18c(0x18f)][_0x2ef18c(0x1c2)][_0x2ef18c(0x1e5)](_0x2ef18c(0x185));return _0x3968e3[_0x2ef18c(0x190)](_0x468ba7,_0x258c31)[_0x2ef18c(0x206)](_0x1360d2=>(_0x1b8f37[_0x2ef18c(0x16e)][_0x2ef18c(0x19d)]=_0x2ef18c(0x1f2),_0x2a24bd[_0x2ef18c(0x16e)][_0x2ef18c(0x19d)]=_0x2ef18c(0x1c8),this[_0x2ef18c(0x1ac)]=!0x0,_0x1360d2));}[_0x54e259(0x1e8)](_0x21f26e){const _0x2309db=_0x54e259,_0x585395=this[_0x2309db(0x18f)][_0x2309db(0x1c2)][_0x2309db(0x1e5)](_0x2309db(0x1fc));return this[_0x2309db(0x18f)][_0x2309db(0x1c2)][_0x2309db(0x1e5)](_0x2309db(0x183))[_0x2309db(0x16e)][_0x2309db(0x19d)]=_0x2309db(0x1c8),_0x585395[_0x2309db(0x16e)][_0x2309db(0x19d)]='',this[_0x2309db(0x1ac)]=!0x1,_0x21f26e[_0x2309db(0x1fb)]();}async[_0x54e259(0x1f0)](_0x467bd5){const _0x5eb390=_0x54e259,_0x3e3b95=this[_0x5eb390(0x18f)],_0x240f6a=this[_0x5eb390(0x1d8)][_0x5eb390(0x18c)][_0x5eb390(0x1e5)](_0x5eb390(0x1ef)),_0x5ddbbb=_0x3e3b95[_0x5eb390(0x18c)][_0x5eb390(0x1e5)](_0x5eb390(0x17e)),_0x521201=_0x3e3b95[_0x5eb390(0x18c)][_0x5eb390(0x1e5)](_0x5eb390(0x1e0)),_0x437b26=_0x240f6a[_0x5eb390(0x1d9)][_0x5eb390(0x175)](_0x467bd5);let _0x3e9e98,_0x3b3fde,_0x1fc799;try{await _0x521201[_0x5eb390(0x1a0)](_0x437b26,this[_0x5eb390(0x193)]),_0x3e9e98=_0x521201[_0x5eb390(0x1aa)](_0x437b26),_0x3b3fde=_0x521201[_0x5eb390(0x1d5)](_0x437b26);}catch(_0x11cd9a){return void console[_0x5eb390(0x17a)](_0x11cd9a);}_0x3e3b95[_0x5eb390(0x18d)][_0x5eb390(0x1d0)](_0x1a2c9=>{const _0x4fdea1=_0x5eb390;for(const _0x4a3929 of Array[_0x4fdea1(0x174)](_0x3e3b95[_0x4fdea1(0x18d)][_0x4fdea1(0x1b0)][_0x4fdea1(0x1c0)](_0x4fdea1(0x1ad))))_0x1a2c9[_0x4fdea1(0x1b9)](_0x4a3929);}),_0x240f6a[_0x5eb390(0x1a4)]=!0x1,_0x3e3b95[_0x5eb390(0x18d)][_0x5eb390(0x195)](_0x3735a7=>{const _0x263bf6=_0x5eb390;_0x3735a7[_0x263bf6(0x1f6)](null),_0x3735a7[_0x263bf6(0x1e1)](_0x3e3b95[_0x263bf6(0x18d)][_0x263bf6(0x181)][_0x263bf6(0x192)][_0x263bf6(0x173)]());const _0x4d7245=Object[_0x263bf6(0x1dc)](_0x3e9e98);for(const _0x2498b0 of _0x3e3b95[_0x263bf6(0x18d)][_0x263bf6(0x181)][_0x263bf6(0x199)])_0x263bf6(0x1be)!=_0x2498b0[_0x263bf6(0x17b)]&&_0x2498b0[_0x263bf6(0x18b)]()&&!_0x4d7245[_0x263bf6(0x1c3)](_0x2498b0[_0x263bf6(0x17b)])&&_0x3735a7[_0x263bf6(0x19a)](_0x2498b0);for(const _0x31b07 of _0x4d7245){let _0x142a40=_0x3e3b95[_0x263bf6(0x18d)][_0x263bf6(0x181)][_0x263bf6(0x1ee)](_0x31b07);_0x142a40&&_0x142a40[_0x263bf6(0x18b)]()||(_0x142a40=_0x3735a7[_0x263bf6(0x1db)](_0x31b07));const _0x1676e1=_0x3b3fde[_0x31b07],_0x247585=Object[_0x263bf6(0x1dc)](_0x1676e1),_0x46bb49=_0x3e9e98[_0x31b07];for(const _0x5d32d5 of _0x142a40[_0x263bf6(0x173)]())_0x247585[_0x263bf6(0x1c3)](_0x5d32d5)||_0x3735a7[_0x263bf6(0x1e7)](_0x5d32d5,_0x142a40);for(const _0x1e90f6 of _0x247585)_0x3735a7[_0x263bf6(0x1fd)](_0x1e90f6,_0x3b3fde[_0x31b07][_0x1e90f6],_0x142a40);_0x3735a7[_0x263bf6(0x1a9)](_0x3735a7[_0x263bf6(0x1f4)](_0x142a40)),_0x3735a7[_0x263bf6(0x191)](_0x3e3b95[_0x263bf6(0x1c1)][_0x263bf6(0x203)](_0x46bb49,_0x142a40),_0x142a40,0x0);}});const _0x18b53b=_0x17df09(_0x3e3b95[_0x5eb390(0x17d)],_0x5eb390(0x1de));if(_0x437b26[_0x5eb390(0x1c6)])_0x1fc799=-0x1==_0x437b26[_0x5eb390(0x1c6)][_0x5eb390(0x18e)](_0x18b53b)?_0x18b53b+':\x20'+_0x437b26[_0x5eb390(0x1c6)]:_0x437b26[_0x5eb390(0x1c6)];else _0x1fc799=_0x18b53b+':\x20'+(_0x437b26[_0x5eb390(0x200)][_0x5eb390(0x17f)](_0x3e3b95[_0x5eb390(0x17d)][_0x5eb390(0x1c9)],{'month':_0x5eb390(0x1b8),'day':_0x5eb390(0x1d7)})+',\x20'+_0x437b26[_0x5eb390(0x200)][_0x5eb390(0x202)](_0x3e3b95[_0x5eb390(0x17d)][_0x5eb390(0x1c9)],{'hour':_0x5eb390(0x1d7),'minute':_0x5eb390(0x1d7)}));return await _0x5ddbbb[_0x5eb390(0x1d1)]({'name':_0x1fc799}),_0x240f6a[_0x5eb390(0x1a4)]=!0x0,_0x3e3b95[_0x5eb390(0x1c2)][_0x5eb390(0x1e5)](_0x5eb390(0x18a))[_0x5eb390(0x1e6)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x184df0=_0x83a1;function _0x83a1(_0x4bcf5f,_0x39bb60){const _0xd02c0e=_0xd02c();return _0x83a1=function(_0x83a112,_0x3ffbfc){_0x83a112=_0x83a112-0xc5;let _0x442a26=_0xd02c0e[_0x83a112];return _0x442a26;},_0x83a1(_0x4bcf5f,_0x39bb60);}function _0xd02c(){const _0x1533d6=['config','getRevisionDocumentData','htmlProcessor','getFillerOffset','getRevision','viewChildrenToDom','324729vwZgBr','revision-end','1503336cPYqoG','3315110SJFtXk','pluginName','from','append','revision-start','52xCVtAY','toModel','domConverter','_typeCharToViewClass','attachChange','data','name','isAttached','get','175YwNmaF','isOfficialPlugin','diffData','RevisionHistoryUtils','processor','children','startsWith','domChildrenToView','insertions','_appendChild','constructor','isPremiumPlugin','customProperties','string','div','11qhcugt','getRevisionRootsAttributes','useFillerType','toData','_makeModelFromViewString','domDocument','innerHTML','forEach','attributes','_viewClassToTypeChar','_getTypeCharForViewElement','331788EBQnhp','map','document','_getViewFromDiffObj','default','data-revision-','length','collaboration.channelId','9ULdNdt','filter','createElement','55525380CaaTVW','type','parse','editing','101fgokWQ','childNodes','render','9734qGMRrO','330285uSjSAE','_setCustomProperty','_removeRevisionMarkers','attributesAfter','marked','loadRevisionData','editor','view','fillerOffset'];_0xd02c=function(){return _0x1533d6;};return _0xd02c();}(function(_0xb7ef4d,_0xc224a){const _0x195ba0=_0x83a1,_0xdbaf36=_0xb7ef4d();while(!![]){try{const _0x50e79a=parseInt(_0x195ba0(0xf1))/0x1*(-parseInt(_0x195ba0(0xf4))/0x2)+parseInt(_0x195ba0(0x104))/0x3*(-parseInt(_0x195ba0(0x10c))/0x4)+-parseInt(_0x195ba0(0xf5))/0x5+-parseInt(_0x195ba0(0xe2))/0x6*(parseInt(_0x195ba0(0xc8))/0x7)+-parseInt(_0x195ba0(0x106))/0x8+-parseInt(_0x195ba0(0xea))/0x9*(parseInt(_0x195ba0(0x107))/0xa)+-parseInt(_0x195ba0(0xd7))/0xb*(-parseInt(_0x195ba0(0xed))/0xc);if(_0x50e79a===_0xc224a)break;else _0xdbaf36['push'](_0xdbaf36['shift']());}catch(_0x4d1d31){_0xdbaf36['push'](_0xdbaf36['shift']());}}}(_0xd02c,0xb9a86));import{Plugin as _0x9288b0}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x450f8c,ViewText as _0x237e97,ViewElement as _0x269920,ViewContainerElement as _0x4695ec,ViewAttributeElement as _0x22d985,ViewEmptyElement as _0x4a8707,ViewRawElement as _0x562df3,ViewUIElement as _0x603d3}from'ckeditor5/src/engine.js';export class RevisionHistoryUtils extends _0x9288b0{static get[_0x184df0(0x108)](){const _0x1d5532=_0x184df0;return _0x1d5532(0xcb);}static get[_0x184df0(0xc9)](){return!0x0;}static get[_0x184df0(0xd3)](){return!0x0;}[_0x184df0(0xe0)]=new Map([[_0x4695ec,'c'],[_0x22d985,'a'],[_0x4a8707,'e'],[_0x562df3,'r'],[_0x603d3,'u']]);[_0x184df0(0x10f)]=new Map([['c',_0x4695ec],['a',_0x22d985],['e',_0x4a8707],['r',_0x562df3],['u',_0x603d3]]);async[_0x184df0(0xfa)](_0x4e2638,_0xc6c581){const _0x3838d2=_0x184df0;if(_0x4e2638[_0x3838d2(0xca)]||!_0xc6c581)return;const _0x44b738=this[_0x3838d2(0xfb)][_0x3838d2(0xfe)][_0x3838d2(0xc7)](_0x3838d2(0xe9)),_0x5d888f=await _0xc6c581[_0x3838d2(0x102)]({'channelId':_0x44b738,'revisionId':_0x4e2638['id']});_0x4e2638[_0x3838d2(0xca)]=_0x5d888f[_0x3838d2(0xca)];}[_0x184df0(0xff)](_0x7817cf){const _0x28b7d7=_0x184df0,_0x194790={};for(const _0x54bce2 in _0x7817cf[_0x28b7d7(0xca)]){if(_0x7817cf[_0x28b7d7(0xca)][_0x54bce2][_0x28b7d7(0x110)]&&!_0x7817cf[_0x28b7d7(0xca)][_0x54bce2][_0x28b7d7(0x110)][_0x28b7d7(0xc6)])continue;const _0x517112=this[_0x28b7d7(0xf7)](JSON[_0x28b7d7(0xef)](_0x7817cf[_0x28b7d7(0xca)][_0x54bce2][_0x28b7d7(0xd0)])),_0x22d3e0=this[_0x28b7d7(0xfb)][_0x28b7d7(0xf0)][_0x28b7d7(0xfc)][_0x28b7d7(0xe4)],_0x42548f=new _0x450f8c(_0x22d3e0,_0x517112[_0x28b7d7(0xe3)](_0xaafa69=>this[_0x28b7d7(0xe5)](_0xaafa69,!0x1)));this[_0x28b7d7(0xfb)][_0x28b7d7(0x111)][_0x28b7d7(0xcc)][_0x28b7d7(0xd9)](_0x28b7d7(0xf9)),_0x194790[_0x54bce2]=this[_0x28b7d7(0xfb)][_0x28b7d7(0x111)][_0x28b7d7(0xcc)][_0x28b7d7(0xda)](_0x42548f),this[_0x28b7d7(0xfb)][_0x28b7d7(0x111)][_0x28b7d7(0xcc)][_0x28b7d7(0xd9)](_0x28b7d7(0xe6));}return _0x194790;}[_0x184df0(0xd8)](_0x3539fd){const _0x4682a6=_0x184df0,_0xa65986={};for(const _0x51bea4 in _0x3539fd[_0x4682a6(0xca)])_0x3539fd[_0x4682a6(0xca)][_0x51bea4][_0x4682a6(0x110)]&&!_0x3539fd[_0x4682a6(0xca)][_0x51bea4][_0x4682a6(0x110)][_0x4682a6(0xc6)]||(_0xa65986[_0x51bea4]=_0x3539fd[_0x4682a6(0xca)][_0x51bea4][_0x4682a6(0xf8)]||{});return _0xa65986;}[_0x184df0(0xe1)](_0x446bcb){const _0x552a35=_0x184df0;return this[_0x552a35(0xe0)][_0x552a35(0xc7)](_0x446bcb[_0x552a35(0xd2)]);}[_0x184df0(0xe5)](_0x3c3f6b,_0x202560){const _0x11d0e3=_0x184df0,_0x14e2fb=this[_0x11d0e3(0xfb)][_0x11d0e3(0xf0)][_0x11d0e3(0xfc)][_0x11d0e3(0xe4)];if(_0x11d0e3(0xd5)==typeof _0x3c3f6b)return new _0x237e97(_0x14e2fb,_0x3c3f6b);{let _0xca18f0,_0x3041b5;_0x3041b5='u'==_0x3c3f6b[_0x11d0e3(0xee)]||'r'==_0x3c3f6b[_0x11d0e3(0xee)]?[]:_0x3c3f6b[_0x11d0e3(0xcd)][_0x11d0e3(0xe3)](_0x1503ab=>this[_0x11d0e3(0xe5)](_0x1503ab,_0x202560));const _0x259e80=this[_0x11d0e3(0x10f)][_0x11d0e3(0xc7)](_0x3c3f6b[_0x11d0e3(0xee)])||_0x269920,_0x27a8f8=this[_0x11d0e3(0xfb)][_0x11d0e3(0x111)][_0x11d0e3(0x100)][_0x11d0e3(0x10e)];if(_0xca18f0=new _0x259e80(_0x14e2fb,_0x3c3f6b[_0x11d0e3(0xc5)],_0x3c3f6b[_0x11d0e3(0xdf)],_0x3041b5),'u'==_0x3c3f6b[_0x11d0e3(0xee)]&&_0x3c3f6b[_0x11d0e3(0xcd)][0x0]){const _0x4cb9da=_0x3c3f6b[_0x11d0e3(0xcd)][0x0];if(_0xca18f0[_0x11d0e3(0xf3)]=function(_0x96b573){const _0x4adfef=_0x11d0e3,_0x8ab244=_0x96b573[_0x4adfef(0xec)](_0x4adfef(0xd6));return _0x8ab244[_0x4adfef(0xdd)]=_0x4cb9da,_0x8ab244[_0x4adfef(0xf2)][0x0];},_0x202560){const _0x19b2da=new _0x450f8c(_0x14e2fb);_0x19b2da[_0x11d0e3(0xd1)](_0xca18f0);const _0x27bd85=Array[_0x11d0e3(0x109)](_0x27a8f8[_0x11d0e3(0x103)](_0x19b2da,{'bind':!0x1})),_0x11f8a0=_0x27a8f8[_0x11d0e3(0xdc)][_0x11d0e3(0xec)](_0x11d0e3(0xd6));_0x11f8a0[_0x11d0e3(0x10a)](..._0x27bd85),_0xca18f0=Array[_0x11d0e3(0x109)](_0x27a8f8[_0x11d0e3(0xcf)](_0x11f8a0))[0x0];}}else{if('r'==_0x3c3f6b[_0x11d0e3(0xee)]&&_0x3c3f6b[_0x11d0e3(0xcd)][0x0]){const _0x218e92=_0x3c3f6b[_0x11d0e3(0xcd)][0x0];if(_0xca18f0[_0x11d0e3(0xf3)]=function(_0x211ba7){const _0x846635=_0x11d0e3;_0x211ba7[_0x846635(0xdd)]=_0x218e92;},_0x202560){const _0x8b8fe9=new _0x450f8c(_0x14e2fb);_0x8b8fe9[_0x11d0e3(0xd1)](_0xca18f0);const _0x2f713e=Array[_0x11d0e3(0x109)](_0x27a8f8[_0x11d0e3(0x103)](_0x8b8fe9,{'bind':!0x1})),_0x5f05ba=_0x27a8f8[_0x11d0e3(0xdc)][_0x11d0e3(0xec)](_0x11d0e3(0xd6));_0x5f05ba[_0x11d0e3(0x10a)](..._0x2f713e);const _0x1d2335=Array[_0x11d0e3(0x109)](_0x27a8f8[_0x11d0e3(0xcf)](_0x5f05ba));_0x1d2335[_0x11d0e3(0xe8)]>0x1?_0xca18f0[_0x11d0e3(0xd1)](_0x1d2335):_0xca18f0=_0x1d2335[0x0];}}}if(_0x3c3f6b[_0x11d0e3(0xd4)]){for(const [_0x9f38f3,_0x2dba38]of _0x3c3f6b[_0x11d0e3(0xd4)])_0xca18f0[_0x11d0e3(0xf6)](_0x9f38f3,_0x2dba38);}const _0xa7ee48=void 0x0===_0x3c3f6b[_0x11d0e3(0xfd)]?null:_0x3c3f6b[_0x11d0e3(0xfd)];return null!==_0xa7ee48&&(_0xca18f0[_0x11d0e3(0x101)]=()=>_0xa7ee48),_0xca18f0;}}[_0x184df0(0xdb)](_0x489882){const _0xafa343=_0x184df0,_0xf56011=JSON[_0xafa343(0xef)](_0x489882),_0x5aef08=this[_0xafa343(0xfb)][_0xafa343(0xf0)][_0xafa343(0xfc)][_0xafa343(0xe4)],_0x48aaee=new _0x450f8c(_0x5aef08,_0xf56011[_0xafa343(0xe3)](_0x28bcb3=>this[_0xafa343(0xe5)](_0x28bcb3,!0x0)));return this[_0xafa343(0xfb)][_0xafa343(0x111)][_0xafa343(0x10d)](_0x48aaee);}[_0x184df0(0xf7)](_0x381e60){const _0x582a4d=_0x184df0;return(_0x381e60=_0x381e60[_0x582a4d(0xeb)](_0x35a043=>!_0x35a043[_0x582a4d(0xc5)]||_0x582a4d(0x10b)!==_0x35a043[_0x582a4d(0xc5)]&&_0x582a4d(0x105)!==_0x35a043[_0x582a4d(0xc5)]))[_0x582a4d(0xde)](_0x220c8c=>{const _0x32ee1=_0x582a4d;_0x32ee1(0xd5)!=typeof _0x220c8c&&(_0x220c8c[_0x32ee1(0xcd)]=this[_0x32ee1(0xf7)](_0x220c8c[_0x32ee1(0xcd)]),_0x220c8c[_0x32ee1(0xdf)]=_0x220c8c[_0x32ee1(0xdf)][_0x32ee1(0xeb)](_0x27118b=>!_0x27118b[0x0][_0x32ee1(0xce)](_0x32ee1(0xe7))));}),_0x381e60;}}
|