@ckeditor/ckeditor5-revision-history 47.0.0-alpha.5 → 47.0.0-alpha.6
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 +12 -12
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x47c58b=>{const {vi:{dictionary:_0x1a93bd,getPluralForm:_0x10f29e}}={'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':_0x823e42=>0x0}};_0x47c58b['vi']||={'dictionary':{},'getPluralForm':null},_0x47c58b['vi']['dictionary']=Object['assign'](_0x47c58b['vi']['dictionary'],_0x1a93bd),_0x47c58b['vi']['getPluralForm']=_0x10f29e;})(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':_0x97eb5d=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x24d3c8=>{const {'zh-cn':{dictionary:_0x383352,getPluralForm:_0x168f4e}}={'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':_0x54863f=>0x0}};_0x24d3c8['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x24d3c8['zh-cn']['dictionary']=Object['assign'](_0x24d3c8['zh-cn']['dictionary'],_0x383352),_0x24d3c8['zh-cn']['getPluralForm']=_0x168f4e;})(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':_0x1dd874=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xd2384b=>{const {zh:{dictionary:_0x1eaa87,getPluralForm:_0x558a0c}}={'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':_0x4b7ba3=>0x0}};_0xd2384b['zh']||={'dictionary':{},'getPluralForm':null},_0xd2384b['zh']['dictionary']=Object['assign'](_0xd2384b['zh']['dictionary'],_0x1eaa87),_0xd2384b['zh']['getPluralForm']=_0x558a0c;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "47.0.0-alpha.
|
|
3
|
+
"version": "47.0.0-alpha.6",
|
|
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,18 +39,18 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-autosave": "47.0.0-alpha.
|
|
43
|
-
"@ckeditor/ckeditor5-collaboration-core": "47.0.0-alpha.
|
|
44
|
-
"@ckeditor/ckeditor5-comments": "47.0.0-alpha.
|
|
45
|
-
"@ckeditor/ckeditor5-core": "47.0.0-alpha.
|
|
46
|
-
"@ckeditor/ckeditor5-editor-classic": "47.0.0-alpha.
|
|
47
|
-
"@ckeditor/ckeditor5-engine": "47.0.0-alpha.
|
|
48
|
-
"@ckeditor/ckeditor5-icons": "47.0.0-alpha.
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "47.0.0-alpha.
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "47.0.0-alpha.
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "47.0.0-alpha.6",
|
|
43
|
+
"@ckeditor/ckeditor5-collaboration-core": "47.0.0-alpha.6",
|
|
44
|
+
"@ckeditor/ckeditor5-comments": "47.0.0-alpha.6",
|
|
45
|
+
"@ckeditor/ckeditor5-core": "47.0.0-alpha.6",
|
|
46
|
+
"@ckeditor/ckeditor5-editor-classic": "47.0.0-alpha.6",
|
|
47
|
+
"@ckeditor/ckeditor5-engine": "47.0.0-alpha.6",
|
|
48
|
+
"@ckeditor/ckeditor5-icons": "47.0.0-alpha.6",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "47.0.0-alpha.6",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "47.0.0-alpha.6",
|
|
51
51
|
"@types/luxon": "3.6.2",
|
|
52
|
-
"ckeditor5": "47.0.0-alpha.
|
|
53
|
-
"ckeditor5-collaboration": "47.0.0-alpha.
|
|
52
|
+
"ckeditor5": "47.0.0-alpha.6",
|
|
53
|
+
"ckeditor5-collaboration": "47.0.0-alpha.6",
|
|
54
54
|
"es-toolkit": "1.39.5",
|
|
55
55
|
"luxon": "3.6.1"
|
|
56
56
|
},
|
package/src/changeitem.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
24
|
-
|
|
23
|
+
var _0x2f21e7=_0x3b78;function _0x4759(){var _0x13e60a=['753999qlASIv','5JGjUPj','234622hWogzb','data','1535396dIsyAr','33CEpMFl','171848pxkbqS','4261260TtrbVd','2QiQSMK','238XqdOlk','63ikhvlA','author','type','315530dFPOkU','toJSON','5087436klsZCw','createdAt','set','rootName'];_0x4759=function(){return _0x13e60a;};return _0x4759();}(function(_0x12a623,_0x470a75){var _0x256197=_0x3b78,_0x4a8a5b=_0x12a623();while(!![]){try{var _0x4cc4ce=parseInt(_0x256197(0x161))/0x1*(parseInt(_0x256197(0x167))/0x2)+-parseInt(_0x256197(0x15f))/0x3+parseInt(_0x256197(0x163))/0x4*(parseInt(_0x256197(0x160))/0x5)+-parseInt(_0x256197(0x166))/0x6+parseInt(_0x256197(0x168))/0x7*(-parseInt(_0x256197(0x165))/0x8)+-parseInt(_0x256197(0x156))/0x9*(-parseInt(_0x256197(0x159))/0xa)+parseInt(_0x256197(0x164))/0xb*(parseInt(_0x256197(0x15b))/0xc);if(_0x4cc4ce===_0x470a75)break;else _0x4a8a5b['push'](_0x4a8a5b['shift']());}catch(_0x2ba2d5){_0x4a8a5b['push'](_0x4a8a5b['shift']());}}}(_0x4759,0x665e8));import{ObservableMixin as _0x92fe63,uid as _0x50d563}from'ckeditor5/src/utils.js';function _0x3b78(_0x113af8,_0x4c70e0){var _0x475983=_0x4759();return _0x3b78=function(_0x3b78eb,_0x5d3a29){_0x3b78eb=_0x3b78eb-0x156;var _0x29f444=_0x475983[_0x3b78eb];return _0x29f444;},_0x3b78(_0x113af8,_0x4c70e0);}export class ChangeItem extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x92fe63(){['id'];[_0x2f21e7(0x157)];[_0x2f21e7(0x158)];[_0x2f21e7(0x162)];[_0x2f21e7(0x15e)];constructor(_0x1e9ced){var _0x4925ec=_0x2f21e7;super(),this['id']=_0x1e9ced['id']||_0x50d563(),this[_0x4925ec(0x157)]=_0x1e9ced[_0x4925ec(0x157)],this[_0x4925ec(0x158)]=_0x1e9ced[_0x4925ec(0x158)],this[_0x4925ec(0x162)]=_0x1e9ced[_0x4925ec(0x162)]||{},this[_0x4925ec(0x15e)]=_0x1e9ced[_0x4925ec(0x15e)],this[_0x4925ec(0x15d)](_0x4925ec(0x15c),_0x1e9ced[_0x4925ec(0x15c)]);}[_0x2f21e7(0x15a)](){var _0x29d1c9=_0x2f21e7;return{'id':this['id'],'authorId':this[_0x29d1c9(0x157)]['id'],'type':this[_0x29d1c9(0x158)],'data':this[_0x29d1c9(0x162)],'createdAt':this[_0x29d1c9(0x15c)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x342e56=_0x191d;(function(_0x58d5a1,_0x4a9243){const _0x4037e3=_0x191d,_0x224233=_0x58d5a1();while(!![]){try{const _0x4ce178=-parseInt(_0x4037e3(0xff))/0x1+parseInt(_0x4037e3(0xf4))/0x2*(-parseInt(_0x4037e3(0xf1))/0x3)+-parseInt(_0x4037e3(0xef))/0x4*(parseInt(_0x4037e3(0x104))/0x5)+-parseInt(_0x4037e3(0xfd))/0x6+parseInt(_0x4037e3(0x101))/0x7+parseInt(_0x4037e3(0xf2))/0x8*(parseInt(_0x4037e3(0xfc))/0x9)+parseInt(_0x4037e3(0xf5))/0xa;if(_0x4ce178===_0x4a9243)break;else _0x224233['push'](_0x224233['shift']());}catch(_0x1c62a1){_0x224233['push'](_0x224233['shift']());}}}(_0x58fa,0x831c3));import{Editor as _0x2d584b,ElementApiMixin as _0x332e95}from'ckeditor5/src/core.js';import{RevisionViewerEditorUI as _0x2b8485}from'./revisionviewereditorui.js';import{RevisionViewerEditorUIView as _0x2777b7}from'./revisionviewereditoruiview.js';function _0x58fa(){const _0x576e38=['destroy','updateSourceElement','create','9BAvJxk','1585788kgpnjB','fire','444465tqzLrh','view','2118536fHOSXS','document','createRoot','197510DcCQoY','init','initialData','_ui','config','get','model','sourceElement','76zSSXze','initPlugins','11601RGDPLh','1570736VyBAzK','ready','386FYYjaQ','22436690VHHwab','locale','editing','data'];_0x58fa=function(){return _0x576e38;};return _0x58fa();}function _0x191d(_0x36d49f,_0x274b66){const _0x58fa9e=_0x58fa();return _0x191d=function(_0x191d1b,_0x371a1f){_0x191d1b=_0x191d1b-0xe8;let _0x30dfbc=_0x58fa9e[_0x191d1b];return _0x30dfbc;},_0x191d(_0x36d49f,_0x274b66);}export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x332e95(_0x2d584b){[_0x342e56(0xea)];get['ui'](){const _0x5042ce=_0x342e56;return this[_0x5042ce(0xea)];}constructor(_0x448a6c,_0x1e1ed4){const _0x3343aa=_0x342e56;super(_0x1e1ed4),this[_0x3343aa(0xee)]=_0x448a6c,this[_0x3343aa(0xed)][_0x3343aa(0x102)][_0x3343aa(0x103)]();const _0x3c12db=new _0x2777b7(this[_0x3343aa(0xf6)],this[_0x3343aa(0xf7)][_0x3343aa(0x100)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x3343aa(0xea)]=new _0x2b8485(this,_0x3c12db);}[_0x342e56(0xf9)](){const _0x537f5f=_0x342e56;return this[_0x537f5f(0xfa)](),this['ui'][_0x537f5f(0xf9)](),super[_0x537f5f(0xf9)]();}static async[_0x342e56(0xfb)](_0x2357ab,_0x3043f5){const _0xf55cb9=_0x342e56,_0x150a86=new this(_0x2357ab,_0x3043f5);return await _0x150a86[_0xf55cb9(0xf0)](),await _0x150a86['ui'][_0xf55cb9(0xe8)](_0x2357ab),await _0x150a86[_0xf55cb9(0xf8)][_0xf55cb9(0xe8)](_0x150a86[_0xf55cb9(0xeb)][_0xf55cb9(0xec)](_0xf55cb9(0xe9))||''),_0x150a86[_0xf55cb9(0xfe)](_0xf55cb9(0xf3)),_0x150a86;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c3c09=_0x3903;(function(_0x23917c,_0x85bebc){const _0x3765c7=_0x3903,_0x334476=_0x23917c();while(!![]){try{const _0x69e55f=-parseInt(_0x3765c7(0x16f))/0x1+-parseInt(_0x3765c7(0x15c))/0x2*(parseInt(_0x3765c7(0x186))/0x3)+parseInt(_0x3765c7(0x173))/0x4+-parseInt(_0x3765c7(0x17b))/0x5+-parseInt(_0x3765c7(0x189))/0x6*(-parseInt(_0x3765c7(0x180))/0x7)+-parseInt(_0x3765c7(0x172))/0x8+parseInt(_0x3765c7(0x183))/0x9;if(_0x69e55f===_0x85bebc)break;else _0x334476['push'](_0x334476['shift']());}catch(_0x4abf3f){_0x334476['push'](_0x334476['shift']());}}}(_0x39a8,0x486e0));function _0x39a8(){const _0x507e33=['2299780rARjsz','bind','addToolbar','destroy','fillFromConfig','editing','viewportOffset','get','1177110AjStfB','editor','isFocused','name','viewportTopOffset','21FWByib','restore','attachDomRoot','6829749ubNXdG','limiterElement','isActive','9AeWkdf','ready','getRoot','591078pTVVts','241726hMubKF','element','init','fire','document','componentFactory','detachDomRoot','_toolbarConfig','stickyPanel','view','toolbar','focusTracker','_initToolbar','replace','rootName','_elementReplacer','editable','setEditableElement','_view','215143ZEujFi','config','render','4156152YdDuMH'];_0x39a8=function(){return _0x507e33;};return _0x39a8();}import{EditorUI as _0x3ba739,normalizeToolbarConfig as _0x356fc5}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x3201d5}from'ckeditor5/src/utils.js';function _0x3903(_0x2b4fc5,_0x344f64){const _0x39a86e=_0x39a8();return _0x3903=function(_0x3903eb,_0x540436){_0x3903eb=_0x3903eb-0x15c;let _0x4336e6=_0x39a86e[_0x3903eb];return _0x4336e6;},_0x3903(_0x2b4fc5,_0x344f64);}export class RevisionViewerEditorUI extends _0x3ba739{[_0x4c3c09(0x16e)];[_0x4c3c09(0x163)];[_0x4c3c09(0x16b)];get[_0x4c3c09(0x165)](){const _0x3c1991=_0x4c3c09;return this[_0x3c1991(0x16e)];}constructor(_0x3176b8,_0x1cabcb){const _0x20e9d2=_0x4c3c09;super(_0x3176b8),this[_0x20e9d2(0x16e)]=_0x1cabcb,this[_0x20e9d2(0x163)]=_0x356fc5(_0x3176b8[_0x20e9d2(0x170)][_0x20e9d2(0x17a)](_0x20e9d2(0x166))),this[_0x20e9d2(0x16b)]=new _0x3201d5();}get[_0x4c3c09(0x15d)](){const _0x2448a9=_0x4c3c09;return this[_0x2448a9(0x165)][_0x2448a9(0x15d)];}[_0x4c3c09(0x15e)](_0x23d433){const _0x39beaf=_0x4c3c09,_0x540e60=this[_0x39beaf(0x17c)],_0x21c20a=this[_0x39beaf(0x165)],_0xf1c4d4=_0x540e60[_0x39beaf(0x178)][_0x39beaf(0x165)],_0x5efad7=_0x21c20a[_0x39beaf(0x16c)],_0x3d079f=_0xf1c4d4[_0x39beaf(0x160)][_0x39beaf(0x188)]();_0x5efad7[_0x39beaf(0x17e)]=_0x3d079f[_0x39beaf(0x16a)],_0x21c20a[_0x39beaf(0x171)]();const _0x244f2f=_0x5efad7[_0x39beaf(0x15d)];this[_0x39beaf(0x16d)](_0x5efad7[_0x39beaf(0x17e)],_0x244f2f),_0x21c20a[_0x39beaf(0x16c)][_0x39beaf(0x174)](_0x39beaf(0x17d))['to'](this[_0x39beaf(0x167)]),_0xf1c4d4[_0x39beaf(0x182)](_0x244f2f),this[_0x39beaf(0x16b)][_0x39beaf(0x169)](_0x23d433,this[_0x39beaf(0x15d)]),this[_0x39beaf(0x168)](),this[_0x39beaf(0x15f)](_0x39beaf(0x187));}[_0x4c3c09(0x176)](){const _0x5ce181=_0x4c3c09;super[_0x5ce181(0x176)]();const _0x2bc51c=this[_0x5ce181(0x165)],_0x32292a=this[_0x5ce181(0x17c)][_0x5ce181(0x178)][_0x5ce181(0x165)];this[_0x5ce181(0x16b)][_0x5ce181(0x181)](),_0x32292a[_0x5ce181(0x162)](_0x2bc51c[_0x5ce181(0x16c)][_0x5ce181(0x17e)]),_0x2bc51c[_0x5ce181(0x176)]();}[_0x4c3c09(0x168)](){const _0x47682e=_0x4c3c09,_0x239901=this[_0x47682e(0x165)];_0x239901[_0x47682e(0x164)][_0x47682e(0x174)](_0x47682e(0x185))['to'](this[_0x47682e(0x167)],_0x47682e(0x17d)),_0x239901[_0x47682e(0x164)][_0x47682e(0x184)]=_0x239901[_0x47682e(0x15d)],_0x239901[_0x47682e(0x164)][_0x47682e(0x174)](_0x47682e(0x17f))['to'](this,_0x47682e(0x179),({top:_0x38e311})=>_0x38e311),_0x239901[_0x47682e(0x166)][_0x47682e(0x177)](this[_0x47682e(0x163)],this[_0x47682e(0x161)]),this[_0x47682e(0x175)](_0x239901[_0x47682e(0x166)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x38ae(_0x1ea0ee,_0x1c882f){var _0x57935c=_0x5793();return _0x38ae=function(_0x38ae82,_0x21ece9){_0x38ae82=_0x38ae82-0x1ca;var _0xce238e=_0x57935c[_0x38ae82];return _0xce238e;},_0x38ae(_0x1ea0ee,_0x1c882f);}var _0x3ad481=_0x38ae;(function(_0x10b8c5,_0x28cf88){var _0x5eadde=_0x38ae,_0x583057=_0x10b8c5();while(!![]){try{var _0x3c492b=-parseInt(_0x5eadde(0x1d1))/0x1+parseInt(_0x5eadde(0x1d9))/0x2+-parseInt(_0x5eadde(0x1d2))/0x3+-parseInt(_0x5eadde(0x1d3))/0x4+-parseInt(_0x5eadde(0x1cc))/0x5*(parseInt(_0x5eadde(0x1ca))/0x6)+parseInt(_0x5eadde(0x1cf))/0x7+-parseInt(_0x5eadde(0x1d7))/0x8*(-parseInt(_0x5eadde(0x1cd))/0x9);if(_0x3c492b===_0x28cf88)break;else _0x583057['push'](_0x583057['shift']());}catch(_0x40ad50){_0x583057['push'](_0x583057['shift']());}}}(_0x5793,0x56267));import{BoxedEditorUIView as _0x54e67e,InlineEditableUIView as _0x463bca,StickyPanelView as _0x42b446,ToolbarView as _0x466d96}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';function _0x5793(){var _0x536fe8=['render','19495BjjGEL','738pDRBnZ','shouldToolbarGroupWhenFull','618555AidMZa','main','192939EhGVii','1086402Ivkkug','1249928YFIdNS','add','top','content','121048QBcXct','toolbar','539044MGTkRR','stickyPanel','editable','_editable','582HHSoKa'];_0x5793=function(){return _0x536fe8;};return _0x5793();}export class RevisionViewerEditorUIView extends _0x54e67e{[_0x3ad481(0x1dc)];[_0x3ad481(0x1da)];[_0x3ad481(0x1d8)];get[_0x3ad481(0x1db)](){var _0x1089fc=_0x3ad481;return this[_0x1089fc(0x1dc)];}constructor(_0xd59819,_0x10fe17,_0x593d9e={}){var _0x3a3a36=_0x3ad481;super(_0xd59819),this[_0x3a3a36(0x1da)]=new _0x42b446(_0xd59819),this[_0x3a3a36(0x1d8)]=new _0x466d96(_0xd59819,{'shouldGroupWhenFull':_0x593d9e[_0x3a3a36(0x1ce)]}),this[_0x3a3a36(0x1dc)]=new _0x463bca(_0xd59819,_0x10fe17);}[_0x3ad481(0x1cb)](){var _0x341737=_0x3ad481;super[_0x341737(0x1cb)](),this[_0x341737(0x1da)][_0x341737(0x1d6)][_0x341737(0x1d4)](this[_0x341737(0x1d8)]),this[_0x341737(0x1d5)][_0x341737(0x1d4)](this[_0x341737(0x1da)]),this[_0x341737(0x1d0)][_0x341737(0x1d4)](this[_0x341737(0x1db)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x316775,_0x55386f){var _0x3f3c14=_0x3e89,_0x2ef4b9=_0x316775();while(!![]){try{var _0x45fcf8=-parseInt(_0x3f3c14(0xa8))/0x1*(-parseInt(_0x3f3c14(0xa3))/0x2)+parseInt(_0x3f3c14(0xa4))/0x3+parseInt(_0x3f3c14(0xa6))/0x4*(parseInt(_0x3f3c14(0xaa))/0x5)+parseInt(_0x3f3c14(0xa7))/0x6*(parseInt(_0x3f3c14(0xad))/0x7)+parseInt(_0x3f3c14(0xa9))/0x8*(-parseInt(_0x3f3c14(0xae))/0x9)+parseInt(_0x3f3c14(0xa5))/0xa*(parseInt(_0x3f3c14(0xac))/0xb)+-parseInt(_0x3f3c14(0xab))/0xc;if(_0x45fcf8===_0x55386f)break;else _0x2ef4b9['push'](_0x2ef4b9['shift']());}catch(_0x360784){_0x2ef4b9['push'](_0x2ef4b9['shift']());}}}(_0x2a4a,0xf108a));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 _0x3e89(_0x43fc9,_0x58e5a3){var _0x2a4a13=_0x2a4a();return _0x3e89=function(_0x3e896d,_0x151709){_0x3e896d=_0x3e896d-0xa3;var _0x4e5961=_0x2a4a13[_0x3e896d];return _0x4e5961;},_0x3e89(_0x43fc9,_0x58e5a3);}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';function _0x2a4a(){var _0x3598da=['3918230SEaOuZ','4xkOmsx','6OaOHTo','70bWYIYA','2427848zyRhXl','9604870grqlOU','59012436cSMMDg','55COcqrT','1610798TtKsea','18hOyCuT','13874XLDSbI','5748438XZZRhN'];_0x2a4a=function(){return _0x3598da;};return _0x2a4a();}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
|
+
const _0x2e2e90=_0x3532;(function(_0x42a5a0,_0xa4ecc9){const _0x33b89f=_0x3532,_0x2d4e65=_0x42a5a0();while(!![]){try{const _0x2a1c5b=-parseInt(_0x33b89f(0x9e))/0x1+parseInt(_0x33b89f(0xa0))/0x2+parseInt(_0x33b89f(0x9a))/0x3*(parseInt(_0x33b89f(0xa1))/0x4)+-parseInt(_0x33b89f(0x87))/0x5+parseInt(_0x33b89f(0x8e))/0x6+-parseInt(_0x33b89f(0x8d))/0x7*(-parseInt(_0x33b89f(0x93))/0x8)+parseInt(_0x33b89f(0x94))/0x9*(-parseInt(_0x33b89f(0xa2))/0xa);if(_0x2a1c5b===_0xa4ecc9)break;else _0x2d4e65['push'](_0x2d4e65['shift']());}catch(_0x72d9c7){_0x2d4e65['push'](_0x2d4e65['shift']());}}}(_0x5e2e,0x72cc6));function _0x5e2e(){const _0x20fbe6=['1336315jjuekl','toVersion','model','attributes','_update','setAttribute','7wEnqlo','3599262ORBCCG','fromVersion','authors','map','creatorId','3359128gCoHDo','153AlKAfi','createdAt','removeAttribute','diffData','toJSON','set','39FOXGxX','authorsIds','name','creator','111108NTAuvG','setName','1588352kPumNC','110072OJayIv','778290mpVUeK','fire'];_0x5e2e=function(){return _0x20fbe6;};return _0x5e2e();}import{ObservableMixin as _0xcdb7e7,uid as _0x31b120}from'ckeditor5/src/utils.js';import{cloneDeep as _0x5755d7,set as _0x18709a,unset as _0x1db949}from'es-toolkit/compat';function _0x3532(_0x905307,_0x5106cf){const _0x5e2eb5=_0x5e2e();return _0x3532=function(_0x35326a,_0x339aea){_0x35326a=_0x35326a-0x86;let _0x4eb678=_0x5e2eb5[_0x35326a];return _0x4eb678;},_0x3532(_0x905307,_0x5106cf);}export class Revision extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xcdb7e7(){['id'];[_0x2e2e90(0x9d)];[_0x2e2e90(0x90)];[_0x2e2e90(0x97)];[_0x2e2e90(0x88)];[_0x2e2e90(0x8f)];[_0x2e2e90(0x89)];constructor(_0x3cb863){const _0x546c2e=_0x2e2e90;super(),this['id']=_0x3cb863['id']||_0x31b120(),this[_0x546c2e(0x9d)]=_0x3cb863[_0x546c2e(0x9d)]||null,this[_0x546c2e(0x90)]=_0x3cb863[_0x546c2e(0x90)]||[],this[_0x546c2e(0x97)]=_0x3cb863[_0x546c2e(0x97)]||null,this[_0x546c2e(0x88)]=_0x3cb863[_0x546c2e(0x88)]||0x0,this[_0x546c2e(0x8f)]=_0x3cb863[_0x546c2e(0x8f)]||0x0,this[_0x546c2e(0x99)](_0x546c2e(0x9c),_0x3cb863[_0x546c2e(0x9c)]||''),this[_0x546c2e(0x99)](_0x546c2e(0x95),_0x3cb863[_0x546c2e(0x95)]||new Date()),this[_0x546c2e(0x99)](_0x546c2e(0x8a),_0x3cb863[_0x546c2e(0x8a)]||{});}[_0x2e2e90(0x9f)](_0x3bf09c){const _0x4a6bff=_0x2e2e90;this[_0x4a6bff(0x8b)]({'name':_0x3bf09c});}[_0x2e2e90(0x8c)](_0x27b6d9,_0x29c114){const _0x1e19d9=_0x2e2e90,_0x318bfc=_0x5755d7(this[_0x1e19d9(0x8a)]);_0x18709a(_0x318bfc,_0x27b6d9,_0x29c114),this[_0x1e19d9(0x8b)]({'attributes':_0x318bfc});}[_0x2e2e90(0x96)](_0x465e4f){const _0x2e7b41=_0x2e2e90,_0x4a0bd5=_0x5755d7(this[_0x2e7b41(0x8a)]);_0x1db949(_0x4a0bd5,_0x465e4f),this[_0x2e7b41(0x8b)]({'attributes':_0x4a0bd5});}[_0x2e2e90(0x8b)](_0x485360,_0x538493=!0x1){const _0x907560=_0x2e2e90;let _0x54e101=!0x1;const _0x46e1da={'id':this['id']},_0x444175=[_0x907560(0x9c),_0x907560(0x95),_0x907560(0x97),_0x907560(0x90),_0x907560(0x8a),_0x907560(0x88),_0x907560(0x8f),_0x907560(0x92)];for(const _0x5c3190 of _0x444175){const _0x69e5b1=_0x485360[_0x5c3190];void 0x0!==_0x69e5b1&&_0x69e5b1!==this[_0x5c3190]&&(this[_0x5c3190]=_0x69e5b1,_0x46e1da[_0x5c3190]=_0x69e5b1,_0x54e101=!0x0);}_0x54e101&&(_0x46e1da[_0x907560(0x90)]&&(_0x46e1da[_0x907560(0x9b)]=_0x46e1da[_0x907560(0x90)][_0x907560(0x91)](_0x936c7c=>_0x936c7c['id']),delete _0x46e1da[_0x907560(0x90)]),this[_0x907560(0x86)](_0x907560(0x8b),_0x46e1da,_0x538493));}[_0x2e2e90(0x98)](){const _0x39de46=_0x2e2e90;return{'id':this['id'],'name':this[_0x39de46(0x9c)],'creatorId':this[_0x39de46(0x9d)]?this[_0x39de46(0x9d)]['id']:null,'authorsIds':this[_0x39de46(0x90)][_0x39de46(0x91)](_0x466f9b=>_0x466f9b['id']),'diffData':this[_0x39de46(0x97)],'createdAt':this[_0x39de46(0x95)],'attributes':this[_0x39de46(0x8a)],'fromVersion':this[_0x39de46(0x8f)],'toVersion':this[_0x39de46(0x88)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xcef8e7=_0x1a01;(function(_0x251c69,_0x46453c){const _0x4559f4=_0x1a01,_0x51f6de=_0x251c69();while(!![]){try{const _0x501a6f=parseInt(_0x4559f4(0x1f2))/0x1+-parseInt(_0x4559f4(0x1fd))/0x2+-parseInt(_0x4559f4(0x1fa))/0x3+-parseInt(_0x4559f4(0x1f3))/0x4*(parseInt(_0x4559f4(0x1f4))/0x5)+parseInt(_0x4559f4(0x1fc))/0x6+parseInt(_0x4559f4(0x1f0))/0x7+-parseInt(_0x4559f4(0x1fb))/0x8*(-parseInt(_0x4559f4(0x1f5))/0x9);if(_0x501a6f===_0x46453c)break;else _0x51f6de['push'](_0x51f6de['shift']());}catch(_0x225736){_0x51f6de['push'](_0x51f6de['shift']());}}}(_0x141f,0x91756));function _0x141f(){const _0x44e4d2=['oldRevisionId','changes','add','newRevisionId','775497ZJTNmd','2176NuZMQZ','2051640ZmFpPv','1367716jvGiFb','4905964gqErQi','_setChanges','560802uTFkhw','60620ZVlIHf','25OlcYGB','342DiLtPK'];_0x141f=function(){return _0x44e4d2;};return _0x141f();}import{Collection as _0x404bf0}from'ckeditor5/src/utils.js';function _0x1a01(_0x38382d,_0x2360f6){const _0x141f95=_0x141f();return _0x1a01=function(_0x1a0117,_0x1d83c7){_0x1a0117=_0x1a0117-0x1f0;let _0x72a158=_0x141f95[_0x1a0117];return _0x72a158;},_0x1a01(_0x38382d,_0x2360f6);}export class RevisionDiff{[_0xcef8e7(0x1f9)];[_0xcef8e7(0x1f6)];[_0xcef8e7(0x1f7)];constructor(_0x400f40,_0x484a58){const _0x45962b=_0xcef8e7;this[_0x45962b(0x1f9)]=_0x400f40,this[_0x45962b(0x1f6)]=_0x484a58,this[_0x45962b(0x1f7)]=new _0x404bf0();}[_0xcef8e7(0x1f1)](_0x244176){const _0x110b2e=_0xcef8e7;for(const _0x46307b of _0x244176)this[_0x110b2e(0x1f7)][_0x110b2e(0x1f8)](_0x46307b);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3e7766=_0x7309;(function(_0xf4a195,_0x11653d){const _0x122244=_0x7309,_0x80b936=_0xf4a195();while(!![]){try{const _0x368673=parseInt(_0x122244(0x149))/0x1*(-parseInt(_0x122244(0x139))/0x2)+parseInt(_0x122244(0x1b9))/0x3+-parseInt(_0x122244(0x13b))/0x4+parseInt(_0x122244(0x155))/0x5*(-parseInt(_0x122244(0x1a0))/0x6)+-parseInt(_0x122244(0x18a))/0x7*(parseInt(_0x122244(0x150))/0x8)+-parseInt(_0x122244(0x187))/0x9+-parseInt(_0x122244(0x1a3))/0xa*(-parseInt(_0x122244(0x1b6))/0xb);if(_0x368673===_0x11653d)break;else _0x80b936['push'](_0x80b936['shift']());}catch(_0x220e61){_0x80b936['push'](_0x80b936['shift']());}}}(_0x3b9e,0x1c670));import{Plugin as _0xecfa72}from'ckeditor5/src/core.js';function _0x7309(_0x1313eb,_0x477f4a){const _0x3b9eb6=_0x3b9e();return _0x7309=function(_0x730948,_0x514dbf){_0x730948=_0x730948-0x12e;let _0x42f4f4=_0x3b9eb6[_0x730948];return _0x42f4f4;},_0x7309(_0x1313eb,_0x477f4a);}import{CKEditorError as _0x457080,uid as _0x6613f7}from'ckeditor5/src/utils.js';function _0x3b9e(){const _0x4cc7df=['_showRevisionViewer','isEnabled','closeRevisionViewerCallback','commands','save','push','DocumentOutline','error','getRevision','toJSON','document','remove','restoreRevision','enableReadOnlyMode','roots','detachRoot','showRevisionViewerCallback','view','_getRevisionViewerEditorConfig','toLocaleDateString','isPremiumPlugin','disableReadOnlyMode','parse','2kWADUV','join','34900tDXTvc','getUser','_cleanUp','getRevisionRootsAttributes','destroy','revisionHistory.viewerEditorElement','revision-history-missing-configuration','numeric','plugins','Users','RevisionTracker','includes','isOfficialPlugin','toolbar','106121RBcMfC','rootName','getAttributeKeys','setSelection','toLocaleTimeString','bind','Restored','24LqLceN','change','fromCharCode','changesNavigation','selection','115OnoHIV','style','display','saveRevision','map','PaginationLookup','users','_viewerEditor','define','locale','markers','revisionHistory.showRevisionViewerCallback','from','repository','isAnonymous','isRevisionViewerOpen','get','fromVersion','block','Annotations','element','create','addRevisionData','RevisionHistoryUtils','keys','getRevisions','refreshPositioning','Dialog','revision-history-viewer-opened','isReady','createdAt','uiLanguage','revisionHistory','removeMarker','init','addUser','pluginName','has','revisionHistory.viewerContainer','result','revisionHistory.restoreRevisionCallback','_update','loadRevisionData','hide','isAttached','insert','getMarkersGroup','enqueueChange','indexOf','_recalculatePageBreaks','305325XMYUmY','then','requires','417494fpixFh','model','isOpen','$graveyard','toVersion','removeSelectionAttribute','isReadOnly','RevisionHistory','DocumentOutlineUI','removeAttribute','update','RestrictedEditingMode','end','createRangeIn','_closeRevisionViewer','restrictedEditingException','adapter','getRevisionDocumentData','setAttribute','catch','config','creator','20556kbXSPf','_restoreRevision','RevisionsRepository','30yRHLha','addRoot','RevisionHistoryUI','getRoot','data','none','_enhanceCloseRevisionViewerCallback','name','_enhanceShowRevisionViewerCallback','long','revisionHistory.requireRevisionName','RevisionViewer','translations','RevisionViewerIntegration','exitToEditing','Autosave','lazyRoots','revisionHistory.closeRevisionViewerCallback','set','1178023tIEJPv','refreshVisibility','revisionHistory.editorContainer','604656LjzFCx','editor'];_0x3b9e=function(){return _0x4cc7df;};return _0x3b9e();}import{RevisionTracker as _0x121c52}from'./revisiontracker.js';import{RevisionHistoryUI as _0xe49e36}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x16d69c}from'./revisionviewer.js';import{RevisionViewerUI as _0x37352c}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x57ced2}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x4eade5}from'./editor/revisionviewereditor.js';import{getTranslation as _0xfe1cdd}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x15704c}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x3e7766(0x1a5),_0x3e7766(0x195)];export class RevisionViewerIntegration extends _0xecfa72{[_0x3e7766(0x17c)];static get[_0x3e7766(0x179)](){const _0x127b88=_0x3e7766;return _0x127b88(0x1b0);}static get[_0x3e7766(0x147)](){return!0x0;}static get[_0x3e7766(0x136)](){return!0x0;}constructor(_0x58b7ba){const _0x5add2d=_0x3e7766;function _0x56dbc2(_0x39d099){const _0x17877e=_0x7309;return _0x39d099[_0x17877e(0x159)](_0x60c4e4=>String[_0x17877e(0x152)](_0x60c4e4))[_0x17877e(0x13a)]('');}super(_0x58b7ba),this[_0x5add2d(0x17c)]=_0x5add2d(0x196),_0x58b7ba[_0x56dbc2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56dbc2([0x76,0x69,0x65,0x77])][_0x56dbc2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x56dbc2([0x61,0x75,0x74,0x6f]),_0x58b7ba[_0x56dbc2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x56dbc2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x56dbc2([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x56dbc2([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x56dbc2([0x6f,0x6b])});}}export class RevisionHistory extends _0xecfa72{[_0x3e7766(0x15c)];static get[_0x3e7766(0x179)](){const _0x17aefa=_0x3e7766;return _0x17aefa(0x191);}static get[_0x3e7766(0x147)](){return!0x0;}static get[_0x3e7766(0x136)](){return!0x0;}static get[_0x3e7766(0x189)](){return[_0x121c52,_0xe49e36];}constructor(_0x3f56c3){const _0x136611=_0x3e7766;if(super(_0x3f56c3),!this[_0x136611(0x1ba)][_0x136611(0x19e)][_0x136611(0x165)](_0x136611(0x175)))throw new _0x457080(_0x136611(0x141),this);this[_0x136611(0x15c)]=null,this[_0x136611(0x1b5)](_0x136611(0x164),!0x1),this[_0x136611(0x1ba)][_0x136611(0x19e)][_0x136611(0x15d)](_0x136611(0x160),_0x29e729=>this[_0x136611(0x1bb)]({..._0x29e729,'translations':this[_0x136611(0x1ba)][_0x136611(0x15e)][_0x136611(0x1af)]})),this[_0x136611(0x1ba)][_0x136611(0x19e)][_0x136611(0x15d)](_0x136611(0x1b4),_0x3840f4=>this[_0x136611(0x198)](_0x3840f4)),this[_0x136611(0x1ba)][_0x136611(0x19e)][_0x136611(0x15d)](_0x136611(0x17d),_0x4813fd=>this[_0x136611(0x1a1)](_0x4813fd)),this[_0x136611(0x1ba)][_0x136611(0x19e)][_0x136611(0x15d)](_0x136611(0x1ad),!0x1),this[_0x136611(0x1ab)](),this[_0x136611(0x1a9)]();}set[_0x3e7766(0x19a)](_0x449e6e){const _0x46422e=_0x3e7766;this[_0x46422e(0x1ba)][_0x46422e(0x143)][_0x46422e(0x165)](_0x46422e(0x145))[_0x46422e(0x19a)]=_0x449e6e;}get[_0x3e7766(0x19a)](){const _0x453b5d=_0x3e7766;return this[_0x453b5d(0x1ba)][_0x453b5d(0x143)][_0x453b5d(0x165)](_0x453b5d(0x145))[_0x453b5d(0x19a)];}[_0x3e7766(0x16b)](_0x38f652){const _0x19cd31=_0x3e7766;return this[_0x19cd31(0x1ba)][_0x19cd31(0x143)][_0x19cd31(0x165)](_0x19cd31(0x145))[_0x19cd31(0x16b)](_0x38f652);}[_0x3e7766(0x1c3)](_0x33608c){const _0x4af4f7=_0x3e7766;return this[_0x4af4f7(0x1ba)][_0x4af4f7(0x143)][_0x4af4f7(0x165)](_0x4af4f7(0x1a2))[_0x4af4f7(0x1c3)](_0x33608c);}[_0x3e7766(0x16e)](_0x5c546c){const _0x3343df=_0x3e7766;return this[_0x3343df(0x1ba)][_0x3343df(0x143)][_0x3343df(0x165)](_0x3343df(0x1a2))[_0x3343df(0x16e)](_0x5c546c||{'toJSON':!0x1});}[_0x3e7766(0x134)](){const _0x4436dd=_0x3e7766,_0x37f761=this[_0x4436dd(0x1ba)],_0x59eb97=_0x15704c(_0x37f761,d),_0x865944=_0x37f761[_0x4436dd(0x143)][_0x4436dd(0x165)](_0x4436dd(0x145)),_0x3a572d=_0x37f761[_0x4436dd(0x143)][_0x4436dd(0x165)](_0x4436dd(0x144))[_0x4436dd(0x15b)];return _0x59eb97[_0x4436dd(0x148)]=[_0x4436dd(0x1b1),_0x4436dd(0x12e),_0x4436dd(0x153)],delete _0x59eb97[_0x4436dd(0x1b3)],(_0x59eb97[_0x4436dd(0x143)][_0x4436dd(0x1c0)](RevisionViewerIntegration,_0x16d69c,_0x37352c,class extends _0xecfa72{static get[_0x4436dd(0x189)](){const _0x103fdb=_0x4436dd;return[_0x16d69c,_0x103fdb(0x144)];}[_0x4436dd(0x177)](){const _0x24e2ed=_0x4436dd,_0x53d516=this[_0x24e2ed(0x1ba)][_0x24e2ed(0x143)][_0x24e2ed(0x165)](_0x24e2ed(0x144));for(const _0x4dde63 of _0x3a572d)_0x4dde63[_0x24e2ed(0x163)]||_0x53d516[_0x24e2ed(0x13c)](_0x4dde63['id'])||_0x53d516[_0x24e2ed(0x178)](_0x4dde63);const _0x2a5085=_0x865944[_0x24e2ed(0x162)][_0x24e2ed(0x16e)]();let _0x144716=null;const _0x170b8b=this[_0x24e2ed(0x1ba)][_0x24e2ed(0x143)][_0x24e2ed(0x165)](_0x24e2ed(0x1ae));_0x170b8b[_0x24e2ed(0x19a)]=_0x865944[_0x24e2ed(0x19a)],_0x170b8b[_0x24e2ed(0x14e)](_0x24e2ed(0x1bc))['to'](_0x865944),this[_0x24e2ed(0x1ba)][_0x24e2ed(0x1be)][_0x24e2ed(0x165)](_0x24e2ed(0x12e))[_0x24e2ed(0x14e)](_0x24e2ed(0x1bc))['to'](_0x37f761,_0x24e2ed(0x190),_0xc8fcb2=>!_0xc8fcb2);for(const _0x5d7976 of _0x2a5085){const _0x275e28=null===_0x5d7976[_0x24e2ed(0x19f)];if(_0x275e28&&_0x5d7976[_0x24e2ed(0x18e)]===_0x5d7976[_0x24e2ed(0x166)])continue;const _0x3e24bb=_0x5d7976[_0x24e2ed(0x1c4)]();_0x170b8b[_0x24e2ed(0x16b)](_0x3e24bb,(_0x51513c,_0xfded02,_0x1350ba)=>{const _0x3949e5=_0x24e2ed;if(_0x275e28){if(_0x144716)_0x144716[_0x3949e5(0x17e)](_0x51513c,_0xfded02);else{if(!_0xfded02){const _0x44beaa=_0x1350ba[_0x3949e5(0x1c4)]();_0x44beaa['id']=_0x6613f7(),_0x865944[_0x3949e5(0x158)](_0x44beaa,_0x1350ba[_0x3949e5(0x18e)])[_0x3949e5(0x188)](_0x544310=>{_0x144716=_0x544310;});}}}else _0x5d7976[_0x3949e5(0x17e)](_0x51513c,_0xfded02);});}}},_0x57ced2),_0x59eb97);}[_0x3e7766(0x1ab)](){const _0x1a0385=_0x3e7766,_0x3a92f5=this[_0x1a0385(0x1ba)][_0x1a0385(0x19e)][_0x1a0385(0x165)](_0x1a0385(0x175))[_0x1a0385(0x132)];this[_0x1a0385(0x1ba)][_0x1a0385(0x19e)][_0x1a0385(0x1b5)](_0x1a0385(0x160),async()=>{const _0x2cba6c=_0x1a0385;this[_0x2cba6c(0x1ba)][_0x2cba6c(0x12f)](_0x2cba6c(0x171));const _0x3c5ec0=this[_0x2cba6c(0x1ba)][_0x2cba6c(0x143)][_0x2cba6c(0x165)](_0x2cba6c(0x145));if(this[_0x2cba6c(0x1ba)][_0x2cba6c(0x143)][_0x2cba6c(0x17a)](_0x2cba6c(0x1b2))){const _0x31cb68=this[_0x2cba6c(0x1ba)][_0x2cba6c(0x143)][_0x2cba6c(0x165)](_0x2cba6c(0x1b2));await _0x31cb68[_0x2cba6c(0x1bf)]();}else await _0x3c5ec0[_0x2cba6c(0x194)]();if(this[_0x2cba6c(0x1ba)][_0x2cba6c(0x143)][_0x2cba6c(0x17a)](_0x2cba6c(0x15a))&&this[_0x2cba6c(0x1ba)][_0x2cba6c(0x143)][_0x2cba6c(0x165)](_0x2cba6c(0x15a))[_0x2cba6c(0x186)](),this[_0x2cba6c(0x1ba)][_0x2cba6c(0x143)][_0x2cba6c(0x17a)](_0x2cba6c(0x170))){const _0x1afe82=this[_0x2cba6c(0x1ba)][_0x2cba6c(0x143)][_0x2cba6c(0x165)](_0x2cba6c(0x170));_0x1afe82[_0x2cba6c(0x18c)]&&_0x1afe82[_0x2cba6c(0x180)]();}const _0x4d8270=this[_0x2cba6c(0x134)]();return _0x3a92f5(_0x4d8270)[_0x2cba6c(0x188)](_0x294bda=>{const _0x42e21c=_0x2cba6c;return(this[_0x42e21c(0x15c)]=_0x294bda,this[_0x42e21c(0x1ba)][_0x42e21c(0x143)][_0x42e21c(0x17a)](_0x42e21c(0x168)))&&this[_0x42e21c(0x1ba)][_0x42e21c(0x143)][_0x42e21c(0x165)](_0x42e21c(0x168))[_0x42e21c(0x1b7)](),(this[_0x42e21c(0x1ba)][_0x42e21c(0x143)][_0x42e21c(0x17a)](_0x42e21c(0x1c1))&&(this[_0x42e21c(0x1ba)][_0x42e21c(0x143)][_0x42e21c(0x165)](_0x42e21c(0x192))[_0x42e21c(0x133)][_0x42e21c(0x169)][_0x42e21c(0x156)][_0x42e21c(0x157)]=_0x42e21c(0x1a8)),_0x294bda);})[_0x2cba6c(0x19d)](_0xac3175=>(console[_0x2cba6c(0x1c2)](_0xac3175),this[_0x2cba6c(0x1ba)][_0x2cba6c(0x137)](_0x2cba6c(0x171)),null));});}[_0x3e7766(0x1a9)](){const _0x5045d7=_0x3e7766,_0x511f80=this[_0x5045d7(0x1ba)][_0x5045d7(0x19e)][_0x5045d7(0x165)](_0x5045d7(0x175))[_0x5045d7(0x1bd)];this[_0x5045d7(0x1ba)][_0x5045d7(0x19e)][_0x5045d7(0x1b5)](_0x5045d7(0x1b4),()=>(this[_0x5045d7(0x1ba)][_0x5045d7(0x143)][_0x5045d7(0x17a)](_0x5045d7(0x15a))&&this[_0x5045d7(0x1ba)][_0x5045d7(0x143)][_0x5045d7(0x165)](_0x5045d7(0x15a))[_0x5045d7(0x186)](),this[_0x5045d7(0x1ba)][_0x5045d7(0x143)][_0x5045d7(0x17a)](_0x5045d7(0x1c1))&&(this[_0x5045d7(0x1ba)][_0x5045d7(0x143)][_0x5045d7(0x165)](_0x5045d7(0x192))[_0x5045d7(0x133)][_0x5045d7(0x169)][_0x5045d7(0x156)][_0x5045d7(0x157)]=''),this[_0x5045d7(0x15c)][_0x5045d7(0x143)][_0x5045d7(0x165)](_0x5045d7(0x1ae))[_0x5045d7(0x13d)](),_0x511f80(this[_0x5045d7(0x15c)])[_0x5045d7(0x188)](()=>{const _0x3f701e=_0x5045d7;if(this[_0x3f701e(0x1ba)][_0x3f701e(0x137)](_0x3f701e(0x171)),this[_0x3f701e(0x15c)]=null,this[_0x3f701e(0x1ba)][_0x3f701e(0x143)][_0x3f701e(0x17a)](_0x3f701e(0x168))){const _0x166fce=this[_0x3f701e(0x1ba)][_0x3f701e(0x143)][_0x3f701e(0x165)](_0x3f701e(0x168));_0x166fce[_0x3f701e(0x1b7)](),_0x166fce[_0x3f701e(0x16f)]();}})));}[_0x3e7766(0x1bb)](_0x50184e){const _0x4a49d6=_0x3e7766,_0x46ad49=this[_0x4a49d6(0x1ba)][_0x4a49d6(0x19e)][_0x4a49d6(0x165)](_0x4a49d6(0x1b8)),_0x595392=this[_0x4a49d6(0x1ba)][_0x4a49d6(0x19e)][_0x4a49d6(0x165)](_0x4a49d6(0x17b)),_0x146fc2=this[_0x4a49d6(0x1ba)][_0x4a49d6(0x19e)][_0x4a49d6(0x165)](_0x4a49d6(0x140));return _0x4eade5[_0x4a49d6(0x16a)](_0x146fc2,_0x50184e)[_0x4a49d6(0x188)](_0x5ee273=>(_0x595392[_0x4a49d6(0x156)][_0x4a49d6(0x157)]=_0x4a49d6(0x167),_0x46ad49[_0x4a49d6(0x156)][_0x4a49d6(0x157)]=_0x4a49d6(0x1a8),this[_0x4a49d6(0x164)]=!0x0,_0x5ee273));}[_0x3e7766(0x198)](_0x5c6572){const _0x2b1496=_0x3e7766,_0x2aeb63=this[_0x2b1496(0x1ba)][_0x2b1496(0x19e)][_0x2b1496(0x165)](_0x2b1496(0x1b8));return this[_0x2b1496(0x1ba)][_0x2b1496(0x19e)][_0x2b1496(0x165)](_0x2b1496(0x17b))[_0x2b1496(0x156)][_0x2b1496(0x157)]=_0x2b1496(0x1a8),_0x2aeb63[_0x2b1496(0x156)][_0x2b1496(0x157)]='',this[_0x2b1496(0x164)]=!0x1,_0x5c6572[_0x2b1496(0x13f)]();}async[_0x3e7766(0x1a1)](_0x518b19){const _0x911d43=_0x3e7766,_0xa4ecc9=this[_0x911d43(0x1ba)],_0x5bef54=this[_0x911d43(0x15c)][_0x911d43(0x143)][_0x911d43(0x165)](_0x911d43(0x1ae)),_0x37f504=_0xa4ecc9[_0x911d43(0x143)][_0x911d43(0x165)](_0x911d43(0x145)),_0x59d956=_0xa4ecc9[_0x911d43(0x143)][_0x911d43(0x165)](_0x911d43(0x16c)),_0x49a3e3=_0x5bef54[_0x911d43(0x162)][_0x911d43(0x1c3)](_0x518b19);let _0x205063,_0x12b8cd,_0x57b0fa;try{await _0x59d956[_0x911d43(0x17f)](_0x49a3e3,this[_0x911d43(0x19a)]),_0x205063=_0x59d956[_0x911d43(0x19b)](_0x49a3e3),_0x12b8cd=_0x59d956[_0x911d43(0x13e)](_0x49a3e3);}catch(_0x30fb11){return void console[_0x911d43(0x1c2)](_0x30fb11);}_0xa4ecc9[_0x911d43(0x18b)][_0x911d43(0x151)](_0xc055d0=>{const _0x2dd6b4=_0x911d43;for(const _0x30e652 of Array[_0x2dd6b4(0x161)](_0xa4ecc9[_0x2dd6b4(0x18b)][_0x2dd6b4(0x15f)][_0x2dd6b4(0x183)](_0x2dd6b4(0x199))))_0xc055d0[_0x2dd6b4(0x176)](_0x30e652);}),_0x5bef54[_0x911d43(0x172)]=!0x1,_0xa4ecc9[_0x911d43(0x18b)][_0x911d43(0x184)](_0x35ee5f=>{const _0x4d434b=_0x911d43;_0x35ee5f[_0x4d434b(0x14c)](null),_0x35ee5f[_0x4d434b(0x18f)](_0xa4ecc9[_0x4d434b(0x18b)][_0x4d434b(0x1c5)][_0x4d434b(0x154)][_0x4d434b(0x14b)]());const _0x4b3c39=Object[_0x4d434b(0x16d)](_0x205063);for(const _0x5ba5b8 of _0xa4ecc9[_0x4d434b(0x18b)][_0x4d434b(0x1c5)][_0x4d434b(0x130)])_0x4d434b(0x18d)!=_0x5ba5b8[_0x4d434b(0x14a)]&&_0x5ba5b8[_0x4d434b(0x181)]()&&!_0x4b3c39[_0x4d434b(0x146)](_0x5ba5b8[_0x4d434b(0x14a)])&&_0x35ee5f[_0x4d434b(0x131)](_0x5ba5b8);for(const _0x4bd6c4 of _0x4b3c39){let _0x261e7b=_0xa4ecc9[_0x4d434b(0x18b)][_0x4d434b(0x1c5)][_0x4d434b(0x1a6)](_0x4bd6c4);_0x261e7b&&_0x261e7b[_0x4d434b(0x181)]()||(_0x261e7b=_0x35ee5f[_0x4d434b(0x1a4)](_0x4bd6c4));const _0x33d058=_0x12b8cd[_0x4bd6c4],_0x1ed531=Object[_0x4d434b(0x16d)](_0x33d058),_0x45812a=_0x205063[_0x4bd6c4];for(const _0x128704 of _0x261e7b[_0x4d434b(0x14b)]())_0x1ed531[_0x4d434b(0x146)](_0x128704)||_0x35ee5f[_0x4d434b(0x193)](_0x128704,_0x261e7b);for(const _0x163bd5 of _0x1ed531)_0x35ee5f[_0x4d434b(0x19c)](_0x163bd5,_0x12b8cd[_0x4bd6c4][_0x163bd5],_0x261e7b);_0x35ee5f[_0x4d434b(0x1c6)](_0x35ee5f[_0x4d434b(0x197)](_0x261e7b)),_0x35ee5f[_0x4d434b(0x182)](_0xa4ecc9[_0x4d434b(0x1a7)][_0x4d434b(0x138)](_0x45812a,_0x261e7b),_0x261e7b,0x0);}});const _0x14d248=_0xfe1cdd(_0xa4ecc9[_0x911d43(0x15e)],_0x911d43(0x14f));if(_0x49a3e3[_0x911d43(0x1aa)])_0x57b0fa=-0x1==_0x49a3e3[_0x911d43(0x1aa)][_0x911d43(0x185)](_0x14d248)?_0x14d248+':\x20'+_0x49a3e3[_0x911d43(0x1aa)]:_0x49a3e3[_0x911d43(0x1aa)];else _0x57b0fa=_0x14d248+':\x20'+(_0x49a3e3[_0x911d43(0x173)][_0x911d43(0x135)](_0xa4ecc9[_0x911d43(0x15e)][_0x911d43(0x174)],{'month':_0x911d43(0x1ac),'day':_0x911d43(0x142)})+',\x20'+_0x49a3e3[_0x911d43(0x173)][_0x911d43(0x14d)](_0xa4ecc9[_0x911d43(0x15e)][_0x911d43(0x174)],{'hour':_0x911d43(0x142),'minute':_0x911d43(0x142)}));return await _0x37f504[_0x911d43(0x158)]({'name':_0x57b0fa}),_0x5bef54[_0x911d43(0x172)]=!0x0,_0xa4ecc9[_0x911d43(0x19e)][_0x911d43(0x165)](_0x911d43(0x175))[_0x911d43(0x1bd)]();}}
|
|
23
|
+
const _0x5e8927=_0x2533;(function(_0x360d7b,_0x61b4ea){const _0x3c12a6=_0x2533,_0x14eaff=_0x360d7b();while(!![]){try{const _0x1fba5f=parseInt(_0x3c12a6(0x203))/0x1*(parseInt(_0x3c12a6(0x20c))/0x2)+parseInt(_0x3c12a6(0x1e3))/0x3*(-parseInt(_0x3c12a6(0x231))/0x4)+parseInt(_0x3c12a6(0x244))/0x5+-parseInt(_0x3c12a6(0x239))/0x6+-parseInt(_0x3c12a6(0x1f7))/0x7+-parseInt(_0x3c12a6(0x251))/0x8*(parseInt(_0x3c12a6(0x250))/0x9)+parseInt(_0x3c12a6(0x1d3))/0xa;if(_0x1fba5f===_0x61b4ea)break;else _0x14eaff['push'](_0x14eaff['shift']());}catch(_0x487699){_0x14eaff['push'](_0x14eaff['shift']());}}}(_0x3006,0x5d8f1));function _0x3006(){const _0x583dc2=['name','_cleanUp','pluginName','data','1025oJKdwP','isOpen','getRevisions','RevisionHistoryUtils','restrictedEditingException','then','revisionHistory.showRevisionViewerCallback','fromCharCode','_closeRevisionViewer','38oifHxU','repository','insert','closeRevisionViewerCallback','adapter','restoreRevision','addRoot','_restoreRevision','save','define','isEnabled','editor','getMarkersGroup','display','join','createdAt','Autosave','translations','loadRevisionData','getRoot','_enhanceCloseRevisionViewerCallback','get','revisionHistory.closeRevisionViewerCallback','detachRoot','parse','DocumentOutlineUI','element','saveRevision','uiLanguage','toJSON','createRangeIn','config','includes','isPremiumPlugin','revisionHistory.requireRevisionName','refreshVisibility','hide','7340DItKWe','DocumentOutline','getUser','change','numeric','toVersion','set','style','4067004caWRDV','_enhanceShowRevisionViewerCallback','none','catch','PaginationLookup','view','revision-history-missing-configuration','getRevisionDocumentData','commands','has','removeSelectionAttribute','1015950FcPAyA','getRevision','Users','_update','toLocaleTimeString','create','revision-history-viewer-opened','RevisionHistory','revisionHistory.viewerContainer','creator','from','enableReadOnlyMode','4527kDEKcB','1864vqOppW','addRevisionData','isReadOnly','getAttributeKeys','RestrictedEditingMode','lazyRoots','isOfficialPlugin','removeAttribute','destroy','push','showRevisionViewerCallback','$graveyard','fromVersion','model','isReady','disableReadOnlyMode','rootName','roots','result','refreshPositioning','Annotations','Dialog','update','users','Restored','RevisionViewer','17561850SoWfAs','error','addUser','markers','isAnonymous','getRevisionRootsAttributes','_recalculatePageBreaks','_showRevisionViewer','revisionHistory.viewerEditorElement','revisionHistory.restoreRevisionCallback','long','keys','plugins','isAttached','_getRevisionViewerEditorConfig','changesNavigation','888GyJSkf','RevisionsRepository','end','setSelection','toLocaleDateString','_viewerEditor','isRevisionViewerOpen','map','requires','revisionHistory','locale','RevisionTracker','removeMarker','exitToEditing','RevisionHistoryUI','remove','document','enqueueChange','revisionHistory.editorContainer','RevisionViewerIntegration','1802080GaJPne','indexOf','toolbar','block','selection','setAttribute','init','bind'];_0x3006=function(){return _0x583dc2;};return _0x3006();}import{Plugin as _0x2c0f14}from'ckeditor5/src/core.js';function _0x2533(_0x26dcdd,_0x397dd3){const _0x3006ab=_0x3006();return _0x2533=function(_0x253345,_0x12b704){_0x253345=_0x253345-0x1cb;let _0x4c017f=_0x3006ab[_0x253345];return _0x4c017f;},_0x2533(_0x26dcdd,_0x397dd3);}import{CKEditorError as _0x59061e,uid as _0x12cf4d}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x47f673}from'./revisiontracker.js';import{RevisionHistoryUI as _0x10cc16}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x29b5e1}from'./revisionviewer.js';import{RevisionViewerUI as _0x2719ca}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x4eb8b0}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x577e9f}from'./editor/revisionviewereditor.js';import{getTranslation as _0x3c7177}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x3bd3f9}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x5e8927(0x1f1),_0x5e8927(0x255)];export class RevisionViewerIntegration extends _0x2c0f14{[_0x5e8927(0x1cb)];static get[_0x5e8927(0x201)](){const _0x412ba4=_0x5e8927;return _0x412ba4(0x1f6);}static get[_0x5e8927(0x257)](){return!0x0;}static get[_0x5e8927(0x22d)](){return!0x0;}constructor(_0x3c739e){const _0x16328e=_0x5e8927;function _0x456915(_0x4acd22){const _0x1f2d05=_0x2533;return _0x4acd22[_0x1f2d05(0x1ea)](_0xa0925f=>String[_0x1f2d05(0x20a)](_0xa0925f))[_0x1f2d05(0x21a)]('');}super(_0x3c739e),this[_0x16328e(0x1cb)]=_0x16328e(0x1e5),_0x3c739e[_0x456915([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x456915([0x76,0x69,0x65,0x77])][_0x456915([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x456915([0x61,0x75,0x74,0x6f]),_0x3c739e[_0x456915([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x456915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x456915([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x456915([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x456915([0x6f,0x6b])});}}export class RevisionHistory extends _0x2c0f14{[_0x5e8927(0x1e8)];static get[_0x5e8927(0x201)](){const _0x5436a0=_0x5e8927;return _0x5436a0(0x24b);}static get[_0x5e8927(0x257)](){return!0x0;}static get[_0x5e8927(0x22d)](){return!0x0;}static get[_0x5e8927(0x1eb)](){return[_0x47f673,_0x10cc16];}constructor(_0x561394){const _0x3c0c9c=_0x5e8927;if(super(_0x561394),!this[_0x3c0c9c(0x217)][_0x3c0c9c(0x22b)][_0x3c0c9c(0x221)](_0x3c0c9c(0x1ec)))throw new _0x59061e(_0x3c0c9c(0x23f),this);this[_0x3c0c9c(0x1e8)]=null,this[_0x3c0c9c(0x237)](_0x3c0c9c(0x1e9),!0x1),this[_0x3c0c9c(0x217)][_0x3c0c9c(0x22b)][_0x3c0c9c(0x215)](_0x3c0c9c(0x209),_0x430871=>this[_0x3c0c9c(0x1da)]({..._0x430871,'translations':this[_0x3c0c9c(0x217)][_0x3c0c9c(0x1ed)][_0x3c0c9c(0x21d)]})),this[_0x3c0c9c(0x217)][_0x3c0c9c(0x22b)][_0x3c0c9c(0x215)](_0x3c0c9c(0x222),_0x85d91c=>this[_0x3c0c9c(0x20b)](_0x85d91c)),this[_0x3c0c9c(0x217)][_0x3c0c9c(0x22b)][_0x3c0c9c(0x215)](_0x3c0c9c(0x1dc),_0x24a1d5=>this[_0x3c0c9c(0x213)](_0x24a1d5)),this[_0x3c0c9c(0x217)][_0x3c0c9c(0x22b)][_0x3c0c9c(0x215)](_0x3c0c9c(0x22e),!0x1),this[_0x3c0c9c(0x23a)](),this[_0x3c0c9c(0x220)]();}set[_0x5e8927(0x210)](_0x1fedc5){const _0x2ba709=_0x5e8927;this[_0x2ba709(0x217)][_0x2ba709(0x1df)][_0x2ba709(0x221)](_0x2ba709(0x1ee))[_0x2ba709(0x210)]=_0x1fedc5;}get[_0x5e8927(0x210)](){const _0x4f24b3=_0x5e8927;return this[_0x4f24b3(0x217)][_0x4f24b3(0x1df)][_0x4f24b3(0x221)](_0x4f24b3(0x1ee))[_0x4f24b3(0x210)];}[_0x5e8927(0x252)](_0x3bf0cf){const _0x327dd1=_0x5e8927;return this[_0x327dd1(0x217)][_0x327dd1(0x1df)][_0x327dd1(0x221)](_0x327dd1(0x1ee))[_0x327dd1(0x252)](_0x3bf0cf);}[_0x5e8927(0x245)](_0x23872a){const _0x57e6d1=_0x5e8927;return this[_0x57e6d1(0x217)][_0x57e6d1(0x1df)][_0x57e6d1(0x221)](_0x57e6d1(0x1e4))[_0x57e6d1(0x245)](_0x23872a);}[_0x5e8927(0x205)](_0x3a1b06){const _0x345b01=_0x5e8927;return this[_0x345b01(0x217)][_0x345b01(0x1df)][_0x345b01(0x221)](_0x345b01(0x1e4))[_0x345b01(0x205)](_0x3a1b06||{'toJSON':!0x1});}[_0x5e8927(0x1e1)](){const _0x175c83=_0x5e8927,_0x3188b4=this[_0x175c83(0x217)],_0x1eef14=_0x3bd3f9(_0x3188b4,d),_0x4a73a1=_0x3188b4[_0x175c83(0x1df)][_0x175c83(0x221)](_0x175c83(0x1ee)),_0x52a621=_0x3188b4[_0x175c83(0x1df)][_0x175c83(0x221)](_0x175c83(0x246))[_0x175c83(0x1d0)];return _0x1eef14[_0x175c83(0x1f9)]=[_0x175c83(0x1f0),_0x175c83(0x211),_0x175c83(0x1e2)],delete _0x1eef14[_0x175c83(0x256)],(_0x1eef14[_0x175c83(0x1df)][_0x175c83(0x25a)](RevisionViewerIntegration,_0x29b5e1,_0x2719ca,class extends _0x2c0f14{static get[_0x175c83(0x1eb)](){const _0x50387e=_0x175c83;return[_0x29b5e1,_0x50387e(0x246)];}[_0x175c83(0x1fd)](){const _0x32a80e=_0x175c83,_0x5f1af2=this[_0x32a80e(0x217)][_0x32a80e(0x1df)][_0x32a80e(0x221)](_0x32a80e(0x246));for(const _0xe4bdd of _0x52a621)_0xe4bdd[_0x32a80e(0x1d7)]||_0x5f1af2[_0x32a80e(0x233)](_0xe4bdd['id'])||_0x5f1af2[_0x32a80e(0x1d5)](_0xe4bdd);const _0x4d264b=_0x4a73a1[_0x32a80e(0x20d)][_0x32a80e(0x205)]();let _0x120e5f=null;const _0x3f6128=this[_0x32a80e(0x217)][_0x32a80e(0x1df)][_0x32a80e(0x221)](_0x32a80e(0x1d2));_0x3f6128[_0x32a80e(0x210)]=_0x4a73a1[_0x32a80e(0x210)],_0x3f6128[_0x32a80e(0x1fe)](_0x32a80e(0x216))['to'](_0x4a73a1),this[_0x32a80e(0x217)][_0x32a80e(0x241)][_0x32a80e(0x221)](_0x32a80e(0x211))[_0x32a80e(0x1fe)](_0x32a80e(0x216))['to'](_0x3188b4,_0x32a80e(0x253),_0x5cb973=>!_0x5cb973);for(const _0x4a285c of _0x4d264b){const _0x215f19=null===_0x4a285c[_0x32a80e(0x24d)];if(_0x215f19&&_0x4a285c[_0x32a80e(0x236)]===_0x4a285c[_0x32a80e(0x25d)])continue;const _0x3fba25=_0x4a285c[_0x32a80e(0x229)]();_0x3f6128[_0x32a80e(0x252)](_0x3fba25,(_0x3fe5db,_0x3963a2,_0x271ab8)=>{const _0x7b0fcb=_0x32a80e;if(_0x215f19){if(_0x120e5f)_0x120e5f[_0x7b0fcb(0x247)](_0x3fe5db,_0x3963a2);else{if(!_0x3963a2){const _0x2d6a2d=_0x271ab8[_0x7b0fcb(0x229)]();_0x2d6a2d['id']=_0x12cf4d(),_0x4a73a1[_0x7b0fcb(0x227)](_0x2d6a2d,_0x271ab8[_0x7b0fcb(0x236)])[_0x7b0fcb(0x208)](_0xcdca8d=>{_0x120e5f=_0xcdca8d;});}}}else _0x4a285c[_0x7b0fcb(0x247)](_0x3fe5db,_0x3963a2);});}}},_0x4eb8b0),_0x1eef14);}[_0x5e8927(0x23a)](){const _0x2e6c81=_0x5e8927,_0x1daf14=this[_0x2e6c81(0x217)][_0x2e6c81(0x22b)][_0x2e6c81(0x221)](_0x2e6c81(0x1ec))[_0x2e6c81(0x25b)];this[_0x2e6c81(0x217)][_0x2e6c81(0x22b)][_0x2e6c81(0x237)](_0x2e6c81(0x209),async()=>{const _0x111939=_0x2e6c81;this[_0x111939(0x217)][_0x111939(0x24f)](_0x111939(0x24a));const _0x176240=this[_0x111939(0x217)][_0x111939(0x1df)][_0x111939(0x221)](_0x111939(0x1ee));if(this[_0x111939(0x217)][_0x111939(0x1df)][_0x111939(0x242)](_0x111939(0x21c))){const _0x1e7e8f=this[_0x111939(0x217)][_0x111939(0x1df)][_0x111939(0x221)](_0x111939(0x21c));await _0x1e7e8f[_0x111939(0x214)]();}else await _0x176240[_0x111939(0x1cf)]();if(this[_0x111939(0x217)][_0x111939(0x1df)][_0x111939(0x242)](_0x111939(0x23d))&&this[_0x111939(0x217)][_0x111939(0x1df)][_0x111939(0x221)](_0x111939(0x23d))[_0x111939(0x1d9)](),this[_0x111939(0x217)][_0x111939(0x1df)][_0x111939(0x242)](_0x111939(0x1ce))){const _0x37baaa=this[_0x111939(0x217)][_0x111939(0x1df)][_0x111939(0x221)](_0x111939(0x1ce));_0x37baaa[_0x111939(0x204)]&&_0x37baaa[_0x111939(0x230)]();}const _0x1c3a99=this[_0x111939(0x1e1)]();return _0x1daf14(_0x1c3a99)[_0x111939(0x208)](_0x5d55ea=>{const _0x4071a1=_0x111939;return(this[_0x4071a1(0x1e8)]=_0x5d55ea,this[_0x4071a1(0x217)][_0x4071a1(0x1df)][_0x4071a1(0x242)](_0x4071a1(0x1cd)))&&this[_0x4071a1(0x217)][_0x4071a1(0x1df)][_0x4071a1(0x221)](_0x4071a1(0x1cd))[_0x4071a1(0x22f)](),(this[_0x4071a1(0x217)][_0x4071a1(0x1df)][_0x4071a1(0x242)](_0x4071a1(0x232))&&(this[_0x4071a1(0x217)][_0x4071a1(0x1df)][_0x4071a1(0x221)](_0x4071a1(0x225))[_0x4071a1(0x23e)][_0x4071a1(0x226)][_0x4071a1(0x238)][_0x4071a1(0x219)]=_0x4071a1(0x23b)),_0x5d55ea);})[_0x111939(0x23c)](_0x86bd37=>(console[_0x111939(0x1d4)](_0x86bd37),this[_0x111939(0x217)][_0x111939(0x260)](_0x111939(0x24a)),null));});}[_0x5e8927(0x220)](){const _0x4f534c=_0x5e8927,_0x3b9822=this[_0x4f534c(0x217)][_0x4f534c(0x22b)][_0x4f534c(0x221)](_0x4f534c(0x1ec))[_0x4f534c(0x20f)];this[_0x4f534c(0x217)][_0x4f534c(0x22b)][_0x4f534c(0x237)](_0x4f534c(0x222),()=>(this[_0x4f534c(0x217)][_0x4f534c(0x1df)][_0x4f534c(0x242)](_0x4f534c(0x23d))&&this[_0x4f534c(0x217)][_0x4f534c(0x1df)][_0x4f534c(0x221)](_0x4f534c(0x23d))[_0x4f534c(0x1d9)](),this[_0x4f534c(0x217)][_0x4f534c(0x1df)][_0x4f534c(0x242)](_0x4f534c(0x232))&&(this[_0x4f534c(0x217)][_0x4f534c(0x1df)][_0x4f534c(0x221)](_0x4f534c(0x225))[_0x4f534c(0x23e)][_0x4f534c(0x226)][_0x4f534c(0x238)][_0x4f534c(0x219)]=''),this[_0x4f534c(0x1e8)][_0x4f534c(0x1df)][_0x4f534c(0x221)](_0x4f534c(0x1d2))[_0x4f534c(0x200)](),_0x3b9822(this[_0x4f534c(0x1e8)])[_0x4f534c(0x208)](()=>{const _0x1a65c2=_0x4f534c;if(this[_0x1a65c2(0x217)][_0x1a65c2(0x260)](_0x1a65c2(0x24a)),this[_0x1a65c2(0x1e8)]=null,this[_0x1a65c2(0x217)][_0x1a65c2(0x1df)][_0x1a65c2(0x242)](_0x1a65c2(0x1cd))){const _0x3a5cbf=this[_0x1a65c2(0x217)][_0x1a65c2(0x1df)][_0x1a65c2(0x221)](_0x1a65c2(0x1cd));_0x3a5cbf[_0x1a65c2(0x22f)](),_0x3a5cbf[_0x1a65c2(0x1cc)]();}})));}[_0x5e8927(0x1da)](_0x4d3b30){const _0x14ecc7=_0x5e8927,_0x58d86b=this[_0x14ecc7(0x217)][_0x14ecc7(0x22b)][_0x14ecc7(0x221)](_0x14ecc7(0x1f5)),_0x274243=this[_0x14ecc7(0x217)][_0x14ecc7(0x22b)][_0x14ecc7(0x221)](_0x14ecc7(0x24c)),_0x37d8c4=this[_0x14ecc7(0x217)][_0x14ecc7(0x22b)][_0x14ecc7(0x221)](_0x14ecc7(0x1db));return _0x577e9f[_0x14ecc7(0x249)](_0x37d8c4,_0x4d3b30)[_0x14ecc7(0x208)](_0x42a160=>(_0x274243[_0x14ecc7(0x238)][_0x14ecc7(0x219)]=_0x14ecc7(0x1fa),_0x58d86b[_0x14ecc7(0x238)][_0x14ecc7(0x219)]=_0x14ecc7(0x23b),this[_0x14ecc7(0x1e9)]=!0x0,_0x42a160));}[_0x5e8927(0x20b)](_0x47e236){const _0x45a54c=_0x5e8927,_0x4108e4=this[_0x45a54c(0x217)][_0x45a54c(0x22b)][_0x45a54c(0x221)](_0x45a54c(0x1f5));return this[_0x45a54c(0x217)][_0x45a54c(0x22b)][_0x45a54c(0x221)](_0x45a54c(0x24c))[_0x45a54c(0x238)][_0x45a54c(0x219)]=_0x45a54c(0x23b),_0x4108e4[_0x45a54c(0x238)][_0x45a54c(0x219)]='',this[_0x45a54c(0x1e9)]=!0x1,_0x47e236[_0x45a54c(0x259)]();}async[_0x5e8927(0x213)](_0x1b160d){const _0x3760f2=_0x5e8927,_0x4fd015=this[_0x3760f2(0x217)],_0x33244b=this[_0x3760f2(0x1e8)][_0x3760f2(0x1df)][_0x3760f2(0x221)](_0x3760f2(0x1d2)),_0x45645a=_0x4fd015[_0x3760f2(0x1df)][_0x3760f2(0x221)](_0x3760f2(0x1ee)),_0x5dca6c=_0x4fd015[_0x3760f2(0x1df)][_0x3760f2(0x221)](_0x3760f2(0x206)),_0x2ed9bc=_0x33244b[_0x3760f2(0x20d)][_0x3760f2(0x245)](_0x1b160d);let _0x30e7fe,_0xd30c26,_0x905200;try{await _0x5dca6c[_0x3760f2(0x21e)](_0x2ed9bc,this[_0x3760f2(0x210)]),_0x30e7fe=_0x5dca6c[_0x3760f2(0x240)](_0x2ed9bc),_0xd30c26=_0x5dca6c[_0x3760f2(0x1d8)](_0x2ed9bc);}catch(_0x3d9e){return void console[_0x3760f2(0x1d4)](_0x3d9e);}_0x4fd015[_0x3760f2(0x25e)][_0x3760f2(0x234)](_0x2737d3=>{const _0x4a871d=_0x3760f2;for(const _0x3e3a6f of Array[_0x4a871d(0x24e)](_0x4fd015[_0x4a871d(0x25e)][_0x4a871d(0x1d6)][_0x4a871d(0x218)](_0x4a871d(0x207))))_0x2737d3[_0x4a871d(0x1ef)](_0x3e3a6f);}),_0x33244b[_0x3760f2(0x25f)]=!0x1,_0x4fd015[_0x3760f2(0x25e)][_0x3760f2(0x1f4)](_0x10bdb5=>{const _0x470d51=_0x3760f2;_0x10bdb5[_0x470d51(0x1e6)](null),_0x10bdb5[_0x470d51(0x243)](_0x4fd015[_0x470d51(0x25e)][_0x470d51(0x1f3)][_0x470d51(0x1fb)][_0x470d51(0x254)]());const _0x44c14f=Object[_0x470d51(0x1de)](_0x30e7fe);for(const _0x54b87d of _0x4fd015[_0x470d51(0x25e)][_0x470d51(0x1f3)][_0x470d51(0x262)])_0x470d51(0x25c)!=_0x54b87d[_0x470d51(0x261)]&&_0x54b87d[_0x470d51(0x1e0)]()&&!_0x44c14f[_0x470d51(0x22c)](_0x54b87d[_0x470d51(0x261)])&&_0x10bdb5[_0x470d51(0x223)](_0x54b87d);for(const _0x44bb36 of _0x44c14f){let _0x5516b1=_0x4fd015[_0x470d51(0x25e)][_0x470d51(0x1f3)][_0x470d51(0x21f)](_0x44bb36);_0x5516b1&&_0x5516b1[_0x470d51(0x1e0)]()||(_0x5516b1=_0x10bdb5[_0x470d51(0x212)](_0x44bb36));const _0x1d43f3=_0xd30c26[_0x44bb36],_0x314599=Object[_0x470d51(0x1de)](_0x1d43f3),_0x454224=_0x30e7fe[_0x44bb36];for(const _0x4f0172 of _0x5516b1[_0x470d51(0x254)]())_0x314599[_0x470d51(0x22c)](_0x4f0172)||_0x10bdb5[_0x470d51(0x258)](_0x4f0172,_0x5516b1);for(const _0x1ee60d of _0x314599)_0x10bdb5[_0x470d51(0x1fc)](_0x1ee60d,_0xd30c26[_0x44bb36][_0x1ee60d],_0x5516b1);_0x10bdb5[_0x470d51(0x1f2)](_0x10bdb5[_0x470d51(0x22a)](_0x5516b1)),_0x10bdb5[_0x470d51(0x20e)](_0x4fd015[_0x470d51(0x202)][_0x470d51(0x224)](_0x454224,_0x5516b1),_0x5516b1,0x0);}});const _0x1472fe=_0x3c7177(_0x4fd015[_0x3760f2(0x1ed)],_0x3760f2(0x1d1));if(_0x2ed9bc[_0x3760f2(0x1ff)])_0x905200=-0x1==_0x2ed9bc[_0x3760f2(0x1ff)][_0x3760f2(0x1f8)](_0x1472fe)?_0x1472fe+':\x20'+_0x2ed9bc[_0x3760f2(0x1ff)]:_0x2ed9bc[_0x3760f2(0x1ff)];else _0x905200=_0x1472fe+':\x20'+(_0x2ed9bc[_0x3760f2(0x21b)][_0x3760f2(0x1e7)](_0x4fd015[_0x3760f2(0x1ed)][_0x3760f2(0x228)],{'month':_0x3760f2(0x1dd),'day':_0x3760f2(0x235)})+',\x20'+_0x2ed9bc[_0x3760f2(0x21b)][_0x3760f2(0x248)](_0x4fd015[_0x3760f2(0x1ed)][_0x3760f2(0x228)],{'hour':_0x3760f2(0x235),'minute':_0x3760f2(0x235)}));return await _0x45645a[_0x3760f2(0x227)]({'name':_0x905200}),_0x33244b[_0x3760f2(0x25f)]=!0x0,_0x4fd015[_0x3760f2(0x22b)][_0x3760f2(0x221)](_0x3760f2(0x1ec))[_0x3760f2(0x20f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x9e0a(_0x2829a4,_0x1563a0){const _0x1ac817=_0x1ac8();return _0x9e0a=function(_0x9e0a6d,_0x10d433){_0x9e0a6d=_0x9e0a6d-0xb3;let _0x48eb6e=_0x1ac817[_0x9e0a6d];return _0x48eb6e;},_0x9e0a(_0x2829a4,_0x1563a0);}const _0x3d9d69=_0x9e0a;(function(_0x23963c,_0x23089b){const _0x879303=_0x9e0a,_0x31fe9c=_0x23963c();while(!![]){try{const _0x15d1b7=-parseInt(_0x879303(0xd2))/0x1+-parseInt(_0x879303(0xf1))/0x2+parseInt(_0x879303(0xb4))/0x3*(-parseInt(_0x879303(0xf9))/0x4)+-parseInt(_0x879303(0xb5))/0x5+parseInt(_0x879303(0xba))/0x6*(parseInt(_0x879303(0xd5))/0x7)+-parseInt(_0x879303(0xd7))/0x8*(-parseInt(_0x879303(0xce))/0x9)+parseInt(_0x879303(0xd0))/0xa*(parseInt(_0x879303(0xbf))/0xb);if(_0x15d1b7===_0x23089b)break;else _0x31fe9c['push'](_0x31fe9c['shift']());}catch(_0x431705){_0x31fe9c['push'](_0x31fe9c['shift']());}}}(_0x1ac8,0xd795b));import{Plugin as _0x2dabc2}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x533e49,ViewText as _0x485e80,ViewElement as _0x478a83,ViewContainerElement as _0x3a0545,ViewAttributeElement as _0xfab660,ViewEmptyElement as _0x335d52,ViewRawElement as _0x2efcaa,ViewUIElement as _0x586e25}from'ckeditor5/src/engine.js';export class RevisionHistoryUtils extends _0x2dabc2{static get[_0x3d9d69(0xc8)](){const _0x5e907a=_0x3d9d69;return _0x5e907a(0xfa);}static get[_0x3d9d69(0xdd)](){return!0x0;}static get[_0x3d9d69(0xb6)](){return!0x0;}[_0x3d9d69(0xca)]=new Map([[_0x3a0545,'c'],[_0xfab660,'a'],[_0x335d52,'e'],[_0x2efcaa,'r'],[_0x586e25,'u']]);[_0x3d9d69(0xeb)]=new Map([['c',_0x3a0545],['a',_0xfab660],['e',_0x335d52],['r',_0x2efcaa],['u',_0x586e25]]);async[_0x3d9d69(0xf3)](_0x227322,_0x1f1e33){const _0x184f01=_0x3d9d69;if(_0x227322[_0x184f01(0xfe)]||!_0x1f1e33)return;const _0x584f2e=this[_0x184f01(0xf7)][_0x184f01(0xcb)][_0x184f01(0xe3)](_0x184f01(0xe2)),_0x5adbae=await _0x1f1e33[_0x184f01(0xe8)]({'channelId':_0x584f2e,'revisionId':_0x227322['id']});_0x227322[_0x184f01(0xfe)]=_0x5adbae[_0x184f01(0xfe)];}[_0x3d9d69(0xe7)](_0x30e2ed){const _0xc54c82=_0x3d9d69,_0x373fab={};for(const _0x18f713 in _0x30e2ed[_0xc54c82(0xfe)]){if(_0x30e2ed[_0xc54c82(0xfe)][_0x18f713][_0xc54c82(0xed)]&&!_0x30e2ed[_0xc54c82(0xfe)][_0x18f713][_0xc54c82(0xed)][_0xc54c82(0xf6)])continue;const _0x1e5b54=this[_0xc54c82(0xd9)](JSON[_0xc54c82(0xc5)](_0x30e2ed[_0xc54c82(0xfe)][_0x18f713][_0xc54c82(0xb9)])),_0x33e517=this[_0xc54c82(0xf7)][_0xc54c82(0xf0)][_0xc54c82(0xc6)][_0xc54c82(0xe1)],_0x3aaa4a=new _0x533e49(_0x33e517,_0x1e5b54[_0xc54c82(0xc7)](_0xacc8c2=>this[_0xc54c82(0xdc)](_0xacc8c2,!0x1)));this[_0xc54c82(0xf7)][_0xc54c82(0xe0)][_0xc54c82(0xfd)][_0xc54c82(0xbe)](_0xc54c82(0xfc)),_0x373fab[_0x18f713]=this[_0xc54c82(0xf7)][_0xc54c82(0xe0)][_0xc54c82(0xfd)][_0xc54c82(0xb8)](_0x3aaa4a),this[_0xc54c82(0xf7)][_0xc54c82(0xe0)][_0xc54c82(0xfd)][_0xc54c82(0xbe)](_0xc54c82(0xd8));}return _0x373fab;}[_0x3d9d69(0xbc)](_0x5933e2){const _0x5cfa31=_0x3d9d69,_0x352da3={};for(const _0x1c139c in _0x5933e2[_0x5cfa31(0xfe)])_0x5933e2[_0x5cfa31(0xfe)][_0x1c139c][_0x5cfa31(0xed)]&&!_0x5933e2[_0x5cfa31(0xfe)][_0x1c139c][_0x5cfa31(0xed)][_0x5cfa31(0xf6)]||(_0x352da3[_0x1c139c]=_0x5933e2[_0x5cfa31(0xfe)][_0x1c139c][_0x5cfa31(0xef)]||{});return _0x352da3;}[_0x3d9d69(0xcc)](_0x441b29){const _0x2fe87b=_0x3d9d69;return this[_0x2fe87b(0xca)][_0x2fe87b(0xe3)](_0x441b29[_0x2fe87b(0xe5)]);}[_0x3d9d69(0xdc)](_0x423b46,_0x5eb298){const _0x50dbe1=_0x3d9d69,_0x369067=this[_0x50dbe1(0xf7)][_0x50dbe1(0xf0)][_0x50dbe1(0xc6)][_0x50dbe1(0xe1)];if(_0x50dbe1(0xc0)==typeof _0x423b46)return new _0x485e80(_0x369067,_0x423b46);{let _0x54f52f,_0x180a35;_0x180a35='u'==_0x423b46[_0x50dbe1(0xf8)]||'r'==_0x423b46[_0x50dbe1(0xf8)]?[]:_0x423b46[_0x50dbe1(0xb7)][_0x50dbe1(0xc7)](_0x329eb8=>this[_0x50dbe1(0xdc)](_0x329eb8,_0x5eb298));const _0x439c3b=this[_0x50dbe1(0xeb)][_0x50dbe1(0xe3)](_0x423b46[_0x50dbe1(0xf8)])||_0x478a83,_0x3e76b8=this[_0x50dbe1(0xf7)][_0x50dbe1(0xe0)][_0x50dbe1(0xf4)][_0x50dbe1(0xd4)];if(_0x54f52f=new _0x439c3b(_0x369067,_0x423b46[_0x50dbe1(0xda)],_0x423b46[_0x50dbe1(0xe9)],_0x180a35),'u'==_0x423b46[_0x50dbe1(0xf8)]&&_0x423b46[_0x50dbe1(0xb7)][0x0]){const _0x155d62=_0x423b46[_0x50dbe1(0xb7)][0x0];if(_0x54f52f[_0x50dbe1(0xd3)]=function(_0x140680){const _0xa27780=_0x50dbe1,_0x358141=_0x140680[_0xa27780(0xee)](_0xa27780(0xc2));return _0x358141[_0xa27780(0xe4)]=_0x155d62,_0x358141[_0xa27780(0xd6)][0x0];},_0x5eb298){const _0x5de714=new _0x533e49(_0x369067);_0x5de714[_0x50dbe1(0xcd)](_0x54f52f);const _0x140dba=Array[_0x50dbe1(0xf2)](_0x3e76b8[_0x50dbe1(0xc9)](_0x5de714,{'bind':!0x1})),_0xfc9853=_0x3e76b8[_0x50dbe1(0xdb)][_0x50dbe1(0xee)](_0x50dbe1(0xc2));_0xfc9853[_0x50dbe1(0xde)](..._0x140dba),_0x54f52f=Array[_0x50dbe1(0xf2)](_0x3e76b8[_0x50dbe1(0xf5)](_0xfc9853))[0x0];}}else{if('r'==_0x423b46[_0x50dbe1(0xf8)]&&_0x423b46[_0x50dbe1(0xb7)][0x0]){const _0x11fc4c=_0x423b46[_0x50dbe1(0xb7)][0x0];if(_0x54f52f[_0x50dbe1(0xd3)]=function(_0xc0fc4a){const _0x45dbe5=_0x50dbe1;_0xc0fc4a[_0x45dbe5(0xe4)]=_0x11fc4c;},_0x5eb298){const _0x385dc4=new _0x533e49(_0x369067);_0x385dc4[_0x50dbe1(0xcd)](_0x54f52f);const _0x3a7017=Array[_0x50dbe1(0xf2)](_0x3e76b8[_0x50dbe1(0xc9)](_0x385dc4,{'bind':!0x1})),_0x184905=_0x3e76b8[_0x50dbe1(0xdb)][_0x50dbe1(0xee)](_0x50dbe1(0xc2));_0x184905[_0x50dbe1(0xde)](..._0x3a7017);const _0x588628=Array[_0x50dbe1(0xf2)](_0x3e76b8[_0x50dbe1(0xf5)](_0x184905));_0x588628[_0x50dbe1(0xc4)]>0x1?_0x54f52f[_0x50dbe1(0xcd)](_0x588628):_0x54f52f=_0x588628[0x0];}}}if(_0x423b46[_0x50dbe1(0xec)]){for(const [_0x50798a,_0x63485e]of _0x423b46[_0x50dbe1(0xec)])_0x54f52f[_0x50dbe1(0xea)](_0x50798a,_0x63485e);}const _0x45b7d2=void 0x0===_0x423b46[_0x50dbe1(0xfb)]?null:_0x423b46[_0x50dbe1(0xfb)];return null!==_0x45b7d2&&(_0x54f52f[_0x50dbe1(0xdf)]=()=>_0x45b7d2),_0x54f52f;}}[_0x3d9d69(0xd1)](_0x37eeb4){const _0x4ae596=_0x3d9d69,_0x4dc6da=JSON[_0x4ae596(0xc5)](_0x37eeb4),_0x6f4ccf=this[_0x4ae596(0xf7)][_0x4ae596(0xf0)][_0x4ae596(0xc6)][_0x4ae596(0xe1)],_0x3e2995=new _0x533e49(_0x6f4ccf,_0x4dc6da[_0x4ae596(0xc7)](_0x280594=>this[_0x4ae596(0xdc)](_0x280594,!0x0)));return this[_0x4ae596(0xf7)][_0x4ae596(0xe0)][_0x4ae596(0xbb)](_0x3e2995);}[_0x3d9d69(0xd9)](_0x6009b0){const _0x164098=_0x3d9d69;return(_0x6009b0=_0x6009b0[_0x164098(0xb3)](_0x160d18=>!_0x160d18[_0x164098(0xda)]||_0x164098(0xcf)!==_0x160d18[_0x164098(0xda)]&&_0x164098(0xbd)!==_0x160d18[_0x164098(0xda)]))[_0x164098(0xc1)](_0x12214e=>{const _0x4d7bda=_0x164098;_0x4d7bda(0xc0)!=typeof _0x12214e&&(_0x12214e[_0x4d7bda(0xb7)]=this[_0x4d7bda(0xd9)](_0x12214e[_0x4d7bda(0xb7)]),_0x12214e[_0x4d7bda(0xe9)]=_0x12214e[_0x4d7bda(0xe9)][_0x4d7bda(0xb3)](_0x1824b9=>!_0x1824b9[0x0][_0x4d7bda(0xe6)](_0x4d7bda(0xc3))));}),_0x6009b0;}}function _0x1ac8(){const _0x5838b6=['from','loadRevisionData','htmlProcessor','domChildrenToView','isAttached','editor','type','832532GjuIRI','RevisionHistoryUtils','fillerOffset','marked','processor','diffData','filter','3KaOCnT','3444755cUvPaW','isPremiumPlugin','children','toData','insertions','234bPJKqv','toModel','getRevisionRootsAttributes','revision-end','useFillerType','17425397TIoXPZ','string','forEach','div','data-revision-','length','parse','view','map','pluginName','viewChildrenToDom','_viewClassToTypeChar','config','_getTypeCharForViewElement','_appendChild','671553STKktm','revision-start','20ojKUTP','_makeModelFromViewString','1656514EVuzge','render','domConverter','155323PZLABo','childNodes','16hgwnWY','default','_removeRevisionMarkers','name','domDocument','_getViewFromDiffObj','isOfficialPlugin','append','getFillerOffset','data','document','collaboration.channelId','get','innerHTML','constructor','startsWith','getRevisionDocumentData','getRevision','attributes','_setCustomProperty','_typeCharToViewClass','customProperties','attachChange','createElement','attributesAfter','editing','1492452XSAXSA'];_0x1ac8=function(){return _0x5838b6;};return _0x1ac8();}
|