@ckeditor/ckeditor5-revision-history 47.0.0-alpha.3 → 47.0.0-alpha.5
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
|
+
(_0x3e3ede=>{const {vi:{dictionary:_0x64d9aa,getPluralForm:_0x305245}}={'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':_0xdc04fe=>0x0}};_0x3e3ede['vi']||={'dictionary':{},'getPluralForm':null},_0x3e3ede['vi']['dictionary']=Object['assign'](_0x3e3ede['vi']['dictionary'],_0x64d9aa),_0x3e3ede['vi']['getPluralForm']=_0x305245;})(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':_0x3e2ca2=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d2bbb=>{const {'zh-cn':{dictionary:_0x3da1ee,getPluralForm:_0xb321fd}}={'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':_0xc51d6f=>0x0}};_0x2d2bbb['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x2d2bbb['zh-cn']['dictionary']=Object['assign'](_0x2d2bbb['zh-cn']['dictionary'],_0x3da1ee),_0x2d2bbb['zh-cn']['getPluralForm']=_0xb321fd;})(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':_0x6eaf5=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2c63be=>{const {zh:{dictionary:_0x5f3ffa,getPluralForm:_0x15c02f}}={'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':_0x129b43=>0x0}};_0x2c63be['zh']||={'dictionary':{},'getPluralForm':null},_0x2c63be['zh']['dictionary']=Object['assign'](_0x2c63be['zh']['dictionary'],_0x5f3ffa),_0x2c63be['zh']['getPluralForm']=_0x15c02f;})(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.5",
|
|
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.5",
|
|
43
|
+
"@ckeditor/ckeditor5-collaboration-core": "47.0.0-alpha.5",
|
|
44
|
+
"@ckeditor/ckeditor5-comments": "47.0.0-alpha.5",
|
|
45
|
+
"@ckeditor/ckeditor5-core": "47.0.0-alpha.5",
|
|
46
|
+
"@ckeditor/ckeditor5-editor-classic": "47.0.0-alpha.5",
|
|
47
|
+
"@ckeditor/ckeditor5-engine": "47.0.0-alpha.5",
|
|
48
|
+
"@ckeditor/ckeditor5-icons": "47.0.0-alpha.5",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "47.0.0-alpha.5",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "47.0.0-alpha.5",
|
|
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.5",
|
|
53
|
+
"ckeditor5-collaboration": "47.0.0-alpha.5",
|
|
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
|
-
|
|
24
|
-
|
|
23
|
+
var _0x9f2dff=_0x3ff2;(function(_0xecfe3b,_0xa63398){var _0x462213=_0x3ff2,_0x30b1ab=_0xecfe3b();while(!![]){try{var _0x50cdfd=parseInt(_0x462213(0x183))/0x1+-parseInt(_0x462213(0x17c))/0x2+parseInt(_0x462213(0x17b))/0x3+parseInt(_0x462213(0x182))/0x4*(parseInt(_0x462213(0x187))/0x5)+-parseInt(_0x462213(0x184))/0x6+parseInt(_0x462213(0x17e))/0x7+-parseInt(_0x462213(0x17d))/0x8;if(_0x50cdfd===_0xa63398)break;else _0x30b1ab['push'](_0x30b1ab['shift']());}catch(_0x145e9e){_0x30b1ab['push'](_0x30b1ab['shift']());}}}(_0x1461,0xb7a38));import{ObservableMixin as _0x204e37,uid as _0x1d9f3f}from'ckeditor5/src/utils.js';function _0x1461(){var _0x5c5189=['1066088DyZrIV','17156840syYrPO','7351421clzSTo','createdAt','data','set','8qGlRRD','1176026ANdEgF','204966ifnzHW','rootName','author','1321775LXHdhQ','type','toJSON','2127165BhHrjd'];_0x1461=function(){return _0x5c5189;};return _0x1461();}function _0x3ff2(_0x5c8d49,_0x2d8bb1){var _0x146191=_0x1461();return _0x3ff2=function(_0x3ff288,_0x1e54ca){_0x3ff288=_0x3ff288-0x179;var _0x1f6543=_0x146191[_0x3ff288];return _0x1f6543;},_0x3ff2(_0x5c8d49,_0x2d8bb1);}export class ChangeItem extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x204e37(){['id'];[_0x9f2dff(0x186)];[_0x9f2dff(0x179)];[_0x9f2dff(0x180)];[_0x9f2dff(0x185)];constructor(_0x5474bf){var _0x10135b=_0x9f2dff;super(),this['id']=_0x5474bf['id']||_0x1d9f3f(),this[_0x10135b(0x186)]=_0x5474bf[_0x10135b(0x186)],this[_0x10135b(0x179)]=_0x5474bf[_0x10135b(0x179)],this[_0x10135b(0x180)]=_0x5474bf[_0x10135b(0x180)]||{},this[_0x10135b(0x185)]=_0x5474bf[_0x10135b(0x185)],this[_0x10135b(0x181)](_0x10135b(0x17f),_0x5474bf[_0x10135b(0x17f)]);}[_0x9f2dff(0x17a)](){var _0x273dfe=_0x9f2dff;return{'id':this['id'],'authorId':this[_0x273dfe(0x186)]['id'],'type':this[_0x273dfe(0x179)],'data':this[_0x273dfe(0x180)],'createdAt':this[_0x273dfe(0x17f)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x329c2b=_0xc1c1;function _0xc1c1(_0x3e2fd6,_0x48b83e){const _0x1d2887=_0x1d28();return _0xc1c1=function(_0xc1c1a5,_0x41ca9d){_0xc1c1a5=_0xc1c1a5-0x76;let _0x5ed8e2=_0x1d2887[_0xc1c1a5];return _0x5ed8e2;},_0xc1c1(_0x3e2fd6,_0x48b83e);}(function(_0x1e6cc8,_0x121e01){const _0x5adcbf=_0xc1c1,_0x581d0a=_0x1e6cc8();while(!![]){try{const _0x5ca8f1=parseInt(_0x5adcbf(0x8c))/0x1+-parseInt(_0x5adcbf(0x89))/0x2+-parseInt(_0x5adcbf(0x92))/0x3*(parseInt(_0x5adcbf(0x90))/0x4)+parseInt(_0x5adcbf(0x91))/0x5*(parseInt(_0x5adcbf(0x78))/0x6)+parseInt(_0x5adcbf(0x7c))/0x7*(-parseInt(_0x5adcbf(0x85))/0x8)+-parseInt(_0x5adcbf(0x7e))/0x9+parseInt(_0x5adcbf(0x7d))/0xa*(parseInt(_0x5adcbf(0x76))/0xb);if(_0x5ca8f1===_0x121e01)break;else _0x581d0a['push'](_0x581d0a['shift']());}catch(_0x36ab12){_0x581d0a['push'](_0x581d0a['shift']());}}}(_0x1d28,0x94f18));import{Editor as _0x192f05,ElementApiMixin as _0x27347e}from'ckeditor5/src/core.js';import{RevisionViewerEditorUI as _0x57ffdd}from'./revisionviewereditorui.js';import{RevisionViewerEditorUIView as _0x327c21}from'./revisionviewereditoruiview.js';export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x27347e(_0x192f05){[_0x329c2b(0x81)];get['ui'](){const _0x36fda1=_0x329c2b;return this[_0x36fda1(0x81)];}constructor(_0x1e7846,_0x5f05e4){const _0x517eb2=_0x329c2b;super(_0x5f05e4),this[_0x517eb2(0x86)]=_0x1e7846,this[_0x517eb2(0x77)][_0x517eb2(0x93)][_0x517eb2(0x7b)]();const _0x3b9937=new _0x327c21(this[_0x517eb2(0x8b)],this[_0x517eb2(0x8e)][_0x517eb2(0x79)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x517eb2(0x81)]=new _0x57ffdd(this,_0x3b9937);}[_0x329c2b(0x84)](){const _0x36c3e9=_0x329c2b;return this[_0x36c3e9(0x83)](),this['ui'][_0x36c3e9(0x84)](),super[_0x36c3e9(0x84)]();}static async[_0x329c2b(0x80)](_0x235b3e,_0x1c56b0){const _0x1731ef=_0x329c2b,_0x255a04=new this(_0x235b3e,_0x1c56b0);return await _0x255a04[_0x1731ef(0x8d)](),await _0x255a04['ui'][_0x1731ef(0x8f)](_0x235b3e),await _0x255a04[_0x1731ef(0x88)][_0x1731ef(0x8f)](_0x255a04[_0x1731ef(0x7f)][_0x1731ef(0x87)](_0x1731ef(0x82))||''),_0x255a04[_0x1731ef(0x7a)](_0x1731ef(0x8a)),_0x255a04;}}function _0x1d28(){const _0x340cf4=['2362048QJKnOZ','ready','locale','692748tijwcE','initPlugins','editing','init','4frBKnc','4648510BysLOM','344235TSjuNa','document','1397izsRVU','model','6yzezZC','view','fire','createRoot','133yOVynI','170090mNGNzd','6160689YydVxo','config','create','_ui','initialData','updateSourceElement','destroy','501992giWpZD','sourceElement','get','data'];_0x1d28=function(){return _0x340cf4;};return _0x1d28();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe37c2c=_0x48f8;(function(_0x627d47,_0x4c329d){const _0x314454=_0x48f8,_0x377c5b=_0x627d47();while(!![]){try{const _0x5a5ff9=-parseInt(_0x314454(0x19c))/0x1*(parseInt(_0x314454(0x198))/0x2)+parseInt(_0x314454(0x192))/0x3*(parseInt(_0x314454(0x1ac))/0x4)+parseInt(_0x314454(0x18e))/0x5*(-parseInt(_0x314454(0x1a0))/0x6)+-parseInt(_0x314454(0x189))/0x7*(parseInt(_0x314454(0x1b0))/0x8)+parseInt(_0x314454(0x1aa))/0x9*(parseInt(_0x314454(0x18d))/0xa)+-parseInt(_0x314454(0x1af))/0xb*(-parseInt(_0x314454(0x19a))/0xc)+-parseInt(_0x314454(0x1a3))/0xd;if(_0x5a5ff9===_0x4c329d)break;else _0x377c5b['push'](_0x377c5b['shift']());}catch(_0x4eea8a){_0x377c5b['push'](_0x377c5b['shift']());}}}(_0x4a16,0x514fb));import{EditorUI as _0x3afe2e,normalizeToolbarConfig as _0x5f0549}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x317a78}from'ckeditor5/src/utils.js';function _0x4a16(){const _0x1da45f=['init','5691202QJYXzh','81544cjxKUd','setEditableElement','_initToolbar','_view','componentFactory','limiterElement','fire','document','editable','render','destroy','77OVoAsi','rootName','_toolbarConfig','_elementReplacer','1070iblJwq','83055ITdPpl','viewportTopOffset','replace','getRoot','5262wXHILx','editor','get','viewportOffset','name','detachDomRoot','1012vaaWQi','isFocused','12jVJdbV','ready','389ZNqOUt','fillFromConfig','restore','isActive','6EKNoah','toolbar','focusTracker','4873518iYwUWt','view','addToolbar','bind','attachDomRoot','config','stickyPanel','31167ikSZnJ','editing','332Ficsok','element'];_0x4a16=function(){return _0x1da45f;};return _0x4a16();}function _0x48f8(_0x458d5d,_0x27272a){const _0x4a16b2=_0x4a16();return _0x48f8=function(_0x48f8be,_0x47f9cb){_0x48f8be=_0x48f8be-0x188;let _0x2d819a=_0x4a16b2[_0x48f8be];return _0x2d819a;},_0x48f8(_0x458d5d,_0x27272a);}export class RevisionViewerEditorUI extends _0x3afe2e{[_0xe37c2c(0x1b3)];[_0xe37c2c(0x18b)];[_0xe37c2c(0x18c)];get[_0xe37c2c(0x1a4)](){const _0x2ff969=_0xe37c2c;return this[_0x2ff969(0x1b3)];}constructor(_0x21d599,_0x291029){const _0x35a0ce=_0xe37c2c;super(_0x21d599),this[_0x35a0ce(0x1b3)]=_0x291029,this[_0x35a0ce(0x18b)]=_0x5f0549(_0x21d599[_0x35a0ce(0x1a8)][_0x35a0ce(0x194)](_0x35a0ce(0x1a1))),this[_0x35a0ce(0x18c)]=new _0x317a78();}get[_0xe37c2c(0x1ad)](){const _0x4f2d45=_0xe37c2c;return this[_0x4f2d45(0x1a4)][_0x4f2d45(0x1ad)];}[_0xe37c2c(0x1ae)](_0x3550cb){const _0x3c7249=_0xe37c2c,_0xeac626=this[_0x3c7249(0x193)],_0x3f6077=this[_0x3c7249(0x1a4)],_0xfaa7dc=_0xeac626[_0x3c7249(0x1ab)][_0x3c7249(0x1a4)],_0x2b09e7=_0x3f6077[_0x3c7249(0x1b8)],_0x333018=_0xfaa7dc[_0x3c7249(0x1b7)][_0x3c7249(0x191)]();_0x2b09e7[_0x3c7249(0x196)]=_0x333018[_0x3c7249(0x18a)],_0x3f6077[_0x3c7249(0x1b9)]();const _0x526161=_0x2b09e7[_0x3c7249(0x1ad)];this[_0x3c7249(0x1b1)](_0x2b09e7[_0x3c7249(0x196)],_0x526161),_0x3f6077[_0x3c7249(0x1b8)][_0x3c7249(0x1a6)](_0x3c7249(0x199))['to'](this[_0x3c7249(0x1a2)]),_0xfaa7dc[_0x3c7249(0x1a7)](_0x526161),this[_0x3c7249(0x18c)][_0x3c7249(0x190)](_0x3550cb,this[_0x3c7249(0x1ad)]),this[_0x3c7249(0x1b2)](),this[_0x3c7249(0x1b6)](_0x3c7249(0x19b));}[_0xe37c2c(0x188)](){const _0x1cff36=_0xe37c2c;super[_0x1cff36(0x188)]();const _0x39697c=this[_0x1cff36(0x1a4)],_0x985fff=this[_0x1cff36(0x193)][_0x1cff36(0x1ab)][_0x1cff36(0x1a4)];this[_0x1cff36(0x18c)][_0x1cff36(0x19e)](),_0x985fff[_0x1cff36(0x197)](_0x39697c[_0x1cff36(0x1b8)][_0x1cff36(0x196)]),_0x39697c[_0x1cff36(0x188)]();}[_0xe37c2c(0x1b2)](){const _0x138638=_0xe37c2c,_0x453281=this[_0x138638(0x1a4)];_0x453281[_0x138638(0x1a9)][_0x138638(0x1a6)](_0x138638(0x19f))['to'](this[_0x138638(0x1a2)],_0x138638(0x199)),_0x453281[_0x138638(0x1a9)][_0x138638(0x1b5)]=_0x453281[_0x138638(0x1ad)],_0x453281[_0x138638(0x1a9)][_0x138638(0x1a6)](_0x138638(0x18f))['to'](this,_0x138638(0x195),({top:_0x42a175})=>_0x42a175),_0x453281[_0x138638(0x1a1)][_0x138638(0x19d)](this[_0x138638(0x18b)],this[_0x138638(0x1b4)]),this[_0x138638(0x1a5)](_0x453281[_0x138638(0x1a1)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1bb206=_0x171d;function _0x4f5f(){var _0x3f06d9=['540679tgXeRR','_editable','1949780PghTTp','top','15ZvqvdA','toolbar','content','2361191kERhFr','2300574FhBpxI','main','stickyPanel','5441689YKmhHV','shouldToolbarGroupWhenFull','add','8qWLFDy','2HkcVhs','editable','2349561rIDlKL','36wJpchH','render','50szprVH','1027449UTwPar'];_0x4f5f=function(){return _0x3f06d9;};return _0x4f5f();}(function(_0x2588e6,_0x3067ff){var _0x2e5bde=_0x171d,_0x3ea515=_0x2588e6();while(!![]){try{var _0x3f3ed0=-parseInt(_0x2e5bde(0x1ec))/0x1*(parseInt(_0x2e5bde(0x1e5))/0x2)+-parseInt(_0x2e5bde(0x1e7))/0x3+-parseInt(_0x2e5bde(0x1ee))/0x4+parseInt(_0x2e5bde(0x1f0))/0x5*(parseInt(_0x2e5bde(0x1de))/0x6)+parseInt(_0x2e5bde(0x1dd))/0x7*(parseInt(_0x2e5bde(0x1e4))/0x8)+parseInt(_0x2e5bde(0x1eb))/0x9*(-parseInt(_0x2e5bde(0x1ea))/0xa)+-parseInt(_0x2e5bde(0x1e1))/0xb*(-parseInt(_0x2e5bde(0x1e8))/0xc);if(_0x3f3ed0===_0x3067ff)break;else _0x3ea515['push'](_0x3ea515['shift']());}catch(_0xf10a3d){_0x3ea515['push'](_0x3ea515['shift']());}}}(_0x4f5f,0x8ff0d));import{BoxedEditorUIView as _0x3e66b9,InlineEditableUIView as _0x4a63b0,StickyPanelView as _0x53f052,ToolbarView as _0x2f8836}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';function _0x171d(_0xd369f7,_0x2cbb2e){var _0x4f5f8f=_0x4f5f();return _0x171d=function(_0x171d66,_0x1d6ded){_0x171d66=_0x171d66-0x1db;var _0x1150d0=_0x4f5f8f[_0x171d66];return _0x1150d0;},_0x171d(_0xd369f7,_0x2cbb2e);}export class RevisionViewerEditorUIView extends _0x3e66b9{[_0x1bb206(0x1ed)];[_0x1bb206(0x1e0)];[_0x1bb206(0x1db)];get[_0x1bb206(0x1e6)](){var _0x32b9b3=_0x1bb206;return this[_0x32b9b3(0x1ed)];}constructor(_0x44cc83,_0x48e847,_0x1657e4={}){var _0x6fb71a=_0x1bb206;super(_0x44cc83),this[_0x6fb71a(0x1e0)]=new _0x53f052(_0x44cc83),this[_0x6fb71a(0x1db)]=new _0x2f8836(_0x44cc83,{'shouldGroupWhenFull':_0x1657e4[_0x6fb71a(0x1e2)]}),this[_0x6fb71a(0x1ed)]=new _0x4a63b0(_0x44cc83,_0x48e847);}[_0x1bb206(0x1e9)](){var _0xb0f7af=_0x1bb206;super[_0xb0f7af(0x1e9)](),this[_0xb0f7af(0x1e0)][_0xb0f7af(0x1dc)][_0xb0f7af(0x1e3)](this[_0xb0f7af(0x1db)]),this[_0xb0f7af(0x1ef)][_0xb0f7af(0x1e3)](this[_0xb0f7af(0x1e0)]),this[_0xb0f7af(0x1df)][_0xb0f7af(0x1e3)](this[_0xb0f7af(0x1e6)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x303d31,_0x212f86){var _0x58de1e=_0x26db,_0x12dd29=_0x303d31();while(!![]){try{var _0x3e9812=parseInt(_0x58de1e(0x199))/0x1*(-parseInt(_0x58de1e(0x19e))/0x2)+-parseInt(_0x58de1e(0x1a0))/0x3*(parseInt(_0x58de1e(0x1a5))/0x4)+parseInt(_0x58de1e(0x19d))/0x5*(parseInt(_0x58de1e(0x19f))/0x6)+-parseInt(_0x58de1e(0x198))/0x7*(parseInt(_0x58de1e(0x1a3))/0x8)+parseInt(_0x58de1e(0x1a1))/0x9*(-parseInt(_0x58de1e(0x19a))/0xa)+-parseInt(_0x58de1e(0x19c))/0xb*(parseInt(_0x58de1e(0x19b))/0xc)+parseInt(_0x58de1e(0x1a2))/0xd*(parseInt(_0x58de1e(0x1a4))/0xe);if(_0x3e9812===_0x212f86)break;else _0x12dd29['push'](_0x12dd29['shift']());}catch(_0x559459){_0x12dd29['push'](_0x12dd29['shift']());}}}(_0x320b,0x58d0e));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';function _0x26db(_0x58d6f7,_0x3d9089){var _0x320b4a=_0x320b();return _0x26db=function(_0x26db9f,_0x5abfcd){_0x26db9f=_0x26db9f-0x198;var _0x3ef86c=_0x320b4a[_0x26db9f];return _0x3ef86c;},_0x26db(_0x58d6f7,_0x3d9089);}function _0x320b(){var _0x39928b=['937430srddRY','6XotQxf','6TdgTMa','1884864gAWFlQ','17541tWbeYU','30422314Fsenee','16FparxX','14VNOBTt','4JignTN','1805237ZMfLCQ','59EQtncx','2920viMpfq','3156egwJTk','18843IYttzN'];_0x320b=function(){return _0x39928b;};return _0x320b();}export{RevisionViewer,RestoreRevisionCommand,ShowChangeCommand}from'./revisionviewer.js';export{RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';export{RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';export{RevisionViewerEditor}from'./editor/revisionviewereditor.js';import'./augmentation.js';
|
package/src/revision.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x6e9de3=_0x1b27;(function(_0x2400f0,_0x290853){const _0x5a4190=_0x1b27,_0x4389ea=_0x2400f0();while(!![]){try{const _0x4fd8e3=parseInt(_0x5a4190(0x203))/0x1+parseInt(_0x5a4190(0x200))/0x2*(-parseInt(_0x5a4190(0x1f2))/0x3)+-parseInt(_0x5a4190(0x204))/0x4+-parseInt(_0x5a4190(0x208))/0x5+parseInt(_0x5a4190(0x1f6))/0x6*(-parseInt(_0x5a4190(0x1f5))/0x7)+-parseInt(_0x5a4190(0x1f0))/0x8+parseInt(_0x5a4190(0x1fd))/0x9;if(_0x4fd8e3===_0x290853)break;else _0x4389ea['push'](_0x4389ea['shift']());}catch(_0x12eb0a){_0x4389ea['push'](_0x4389ea['shift']());}}}(_0xe7fa,0x94dd5));import{ObservableMixin as _0x34444b,uid as _0x532d6e}from'ckeditor5/src/utils.js';import{cloneDeep as _0x4267cb,set as _0xcdb033,unset as _0x2e8364}from'es-toolkit/compat';function _0x1b27(_0x126611,_0x8f655c){const _0xe7faf6=_0xe7fa();return _0x1b27=function(_0x1b2733,_0x2df1cd){_0x1b2733=_0x1b2733-0x1ef;let _0x190144=_0xe7faf6[_0x1b2733];return _0x190144;},_0x1b27(_0x126611,_0x8f655c);}export class Revision extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x34444b(){['id'];[_0x6e9de3(0x209)];[_0x6e9de3(0x1f8)];[_0x6e9de3(0x205)];[_0x6e9de3(0x201)];[_0x6e9de3(0x1f3)];[_0x6e9de3(0x1f7)];constructor(_0x33c735){const _0x57bf94=_0x6e9de3;super(),this['id']=_0x33c735['id']||_0x532d6e(),this[_0x57bf94(0x209)]=_0x33c735[_0x57bf94(0x209)]||null,this[_0x57bf94(0x1f8)]=_0x33c735[_0x57bf94(0x1f8)]||[],this[_0x57bf94(0x205)]=_0x33c735[_0x57bf94(0x205)]||null,this[_0x57bf94(0x201)]=_0x33c735[_0x57bf94(0x201)]||0x0,this[_0x57bf94(0x1f3)]=_0x33c735[_0x57bf94(0x1f3)]||0x0,this[_0x57bf94(0x1f4)](_0x57bf94(0x1f1),_0x33c735[_0x57bf94(0x1f1)]||''),this[_0x57bf94(0x1f4)](_0x57bf94(0x1fb),_0x33c735[_0x57bf94(0x1fb)]||new Date()),this[_0x57bf94(0x1f4)](_0x57bf94(0x1fe),_0x33c735[_0x57bf94(0x1fe)]||{});}[_0x6e9de3(0x1f9)](_0x14d1f0){const _0x39982b=_0x6e9de3;this[_0x39982b(0x1ef)]({'name':_0x14d1f0});}[_0x6e9de3(0x207)](_0x48d77e,_0x571c23){const _0x4d6dd6=_0x6e9de3,_0x2749e5=_0x4267cb(this[_0x4d6dd6(0x1fe)]);_0xcdb033(_0x2749e5,_0x48d77e,_0x571c23),this[_0x4d6dd6(0x1ef)]({'attributes':_0x2749e5});}[_0x6e9de3(0x1ff)](_0x47d30b){const _0x59b5bb=_0x6e9de3,_0x4deed0=_0x4267cb(this[_0x59b5bb(0x1fe)]);_0x2e8364(_0x4deed0,_0x47d30b),this[_0x59b5bb(0x1ef)]({'attributes':_0x4deed0});}[_0x6e9de3(0x1ef)](_0x1af2e5,_0x3f48e8=!0x1){const _0x1f784f=_0x6e9de3;let _0x2a8e44=!0x1;const _0x22ce37={'id':this['id']},_0x356c1f=[_0x1f784f(0x1f1),_0x1f784f(0x1fb),_0x1f784f(0x205),_0x1f784f(0x1f8),_0x1f784f(0x1fe),_0x1f784f(0x201),_0x1f784f(0x1f3),_0x1f784f(0x20a)];for(const _0x9ac715 of _0x356c1f){const _0x5b645d=_0x1af2e5[_0x9ac715];void 0x0!==_0x5b645d&&_0x5b645d!==this[_0x9ac715]&&(this[_0x9ac715]=_0x5b645d,_0x22ce37[_0x9ac715]=_0x5b645d,_0x2a8e44=!0x0);}_0x2a8e44&&(_0x22ce37[_0x1f784f(0x1f8)]&&(_0x22ce37[_0x1f784f(0x202)]=_0x22ce37[_0x1f784f(0x1f8)][_0x1f784f(0x206)](_0x5a9d8a=>_0x5a9d8a['id']),delete _0x22ce37[_0x1f784f(0x1f8)]),this[_0x1f784f(0x1fc)](_0x1f784f(0x1ef),_0x22ce37,_0x3f48e8));}[_0x6e9de3(0x1fa)](){const _0x11acf9=_0x6e9de3;return{'id':this['id'],'name':this[_0x11acf9(0x1f1)],'creatorId':this[_0x11acf9(0x209)]?this[_0x11acf9(0x209)]['id']:null,'authorsIds':this[_0x11acf9(0x1f8)][_0x11acf9(0x206)](_0x188ddb=>_0x188ddb['id']),'diffData':this[_0x11acf9(0x205)],'createdAt':this[_0x11acf9(0x1fb)],'attributes':this[_0x11acf9(0x1fe)],'fromVersion':this[_0x11acf9(0x1f3)],'toVersion':this[_0x11acf9(0x201)]};}}function _0xe7fa(){const _0x192361=['1099121txATfb','4603644Rphobc','diffData','map','setAttribute','4631185HZLwZd','creator','creatorId','_update','1880392BZntnb','name','9ydQJde','fromVersion','set','21JQMLag','1320870CVuiIZ','model','authors','setName','toJSON','createdAt','fire','24791949ZcwXZp','attributes','removeAttribute','180934wqIDxz','toVersion','authorsIds'];_0xe7fa=function(){return _0x192361;};return _0xe7fa();}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f3d2b=_0x2518;(function(_0x16c724,_0xf8e2c8){const _0x365a37=_0x2518,_0x14e027=_0x16c724();while(!![]){try{const _0x444074=-parseInt(_0x365a37(0x73))/0x1*(-parseInt(_0x365a37(0x75))/0x2)+-parseInt(_0x365a37(0x79))/0x3+parseInt(_0x365a37(0x78))/0x4*(parseInt(_0x365a37(0x71))/0x5)+-parseInt(_0x365a37(0x70))/0x6+-parseInt(_0x365a37(0x72))/0x7+-parseInt(_0x365a37(0x76))/0x8+parseInt(_0x365a37(0x7a))/0x9;if(_0x444074===_0xf8e2c8)break;else _0x14e027['push'](_0x14e027['shift']());}catch(_0x504bcd){_0x14e027['push'](_0x14e027['shift']());}}}(_0x41cc,0x5eed5));function _0x41cc(){const _0x15fc05=['703818tFXJcH','8097354WryruN','oldRevisionId','_setChanges','newRevisionId','555204eoyGXs','317815oLvDvw','1712998NHIMDZ','310438bDJFhs','changes','2TdSUzT','6063784pxYLvN','add','32rAAcJG'];_0x41cc=function(){return _0x15fc05;};return _0x41cc();}function _0x2518(_0xf71410,_0x1a5498){const _0x41cce2=_0x41cc();return _0x2518=function(_0x251836,_0x269765){_0x251836=_0x251836-0x70;let _0x293261=_0x41cce2[_0x251836];return _0x293261;},_0x2518(_0xf71410,_0x1a5498);}import{Collection as _0x168fa8}from'ckeditor5/src/utils.js';export class RevisionDiff{[_0x1f3d2b(0x7d)];[_0x1f3d2b(0x7b)];[_0x1f3d2b(0x74)];constructor(_0x2d6aab,_0x22c4a6){const _0x527803=_0x1f3d2b;this[_0x527803(0x7d)]=_0x2d6aab,this[_0x527803(0x7b)]=_0x22c4a6,this[_0x527803(0x74)]=new _0x168fa8();}[_0x1f3d2b(0x7c)](_0x589004){const _0x2747f0=_0x1f3d2b;for(const _0x540544 of _0x589004)this[_0x2747f0(0x74)][_0x2747f0(0x77)](_0x540544);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x50e3(){const _0x19c335=['data','getRevisionRootsAttributes','join','createRangeIn','config','774zaWrLb','revisionHistory','locale','disableReadOnlyMode','insert','hide','fromVersion','uiLanguage','getRevision','Users','repository','roots','136PJJdCW','createdAt','toolbar','87mUhZpB','revisionHistory.viewerEditorElement','RevisionHistory','restrictedEditingException','exitToEditing','bind','revisionHistory.closeRevisionViewerCallback','setAttribute','830540vJZxQi','map','pluginName','isReadOnly','indexOf','change','markers','Autosave','_enhanceShowRevisionViewerCallback','revisionHistory.viewerContainer','selection','editor','isOpen','from','remove','display','_cleanUp','_update','destroy','refreshVisibility','_enhanceCloseRevisionViewerCallback','RevisionViewer','removeSelectionAttribute','_restoreRevision','addRevisionData','getRevisionDocumentData','_viewerEditor','users','restoreRevision','get','requires','error','commands','45909ldSsJs','includes','update','block','rootName','element','$graveyard','plugins','long','isOfficialPlugin','Restored','RestrictedEditingMode','init','revisionHistory.restoreRevisionCallback','revisionHistory.showRevisionViewerCallback','RevisionTracker','removeMarker','view','isRevisionViewerOpen','Annotations','revisionHistory.editorContainer','name','style','31913rqMurJ','refreshPositioning','keys','setSelection','toLocaleDateString','getUser','enqueueChange','895685wCfBzL','then','model','isAnonymous','toVersion','save','loadRevisionData','removeAttribute','660370zLvjCq','result','getMarkersGroup','DocumentOutline','none','12175UwMcvG','set','addUser','has','catch','showRevisionViewerCallback','isPremiumPlugin','revision-history-viewer-opened','define','changesNavigation','document','lazyRoots','toLocaleTimeString','isEnabled','detachRoot','_getRevisionViewerEditorConfig','PaginationLookup','creator','getAttributeKeys','RevisionHistoryUI','RevisionViewerIntegration','adapter','fromCharCode','RevisionHistoryUtils','revision-history-missing-configuration','enableReadOnlyMode','_recalculatePageBreaks','getRevisions','end','parse','push','6436FTKICW','_showRevisionViewer','numeric','isReady','_closeRevisionViewer','DocumentOutlineUI','create','getRoot','revisionHistory.requireRevisionName','addRoot','saveRevision','translations','RevisionsRepository','closeRevisionViewerCallback','isAttached','toJSON','Dialog'];_0x50e3=function(){return _0x19c335;};return _0x50e3();}const _0x2ebbc8=_0x5320;(function(_0x4bb0e4,_0x505057){const _0x4e8802=_0x5320,_0x10acf6=_0x4bb0e4();while(!![]){try{const _0xced5a2=parseInt(_0x4e8802(0xde))/0x1+-parseInt(_0x4e8802(0xa6))/0x2+parseInt(_0x4e8802(0x9e))/0x3*(parseInt(_0x4e8802(0x111))/0x4)+parseInt(_0x4e8802(0xf2))/0x5*(parseInt(_0x4e8802(0x127))/0x6)+parseInt(_0x4e8802(0xe5))/0x7+parseInt(_0x4e8802(0x9b))/0x8*(parseInt(_0x4e8802(0xc7))/0x9)+parseInt(_0x4e8802(0xed))/0xa;if(_0xced5a2===_0x505057)break;else _0x10acf6['push'](_0x10acf6['shift']());}catch(_0x2db0b3){_0x10acf6['push'](_0x10acf6['shift']());}}}(_0x50e3,0x3f050));import{Plugin as _0x7cb866}from'ckeditor5/src/core.js';import{CKEditorError as _0x25172a,uid as _0x2c2b12}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x1ef3af}from'./revisiontracker.js';import{RevisionHistoryUI as _0x9fbbfe}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x3cff96}from'./revisionviewer.js';import{RevisionViewerUI as _0x47298c}from'./ui/revisionviewer/revisionviewerui.js';function _0x5320(_0x2ec434,_0x15d622){const _0x50e385=_0x50e3();return _0x5320=function(_0x53201f,_0x4c22f4){_0x53201f=_0x53201f-0x91;let _0x805d5=_0x50e385[_0x53201f];return _0x805d5;},_0x5320(_0x2ec434,_0x15d622);}import{RevisionsSidebar as _0x3d60d5}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x23c950}from'./editor/revisionviewereditor.js';import{getTranslation as _0x3f53de}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x3a83d4}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x2ebbc8(0x105),_0x2ebbc8(0xd2)];export class RevisionViewerIntegration extends _0x7cb866{[_0x2ebbc8(0xee)];static get[_0x2ebbc8(0xa8)](){const _0xb52022=_0x2ebbc8;return _0xb52022(0x106);}static get[_0x2ebbc8(0xd0)](){return!0x0;}static get[_0x2ebbc8(0xf8)](){return!0x0;}constructor(_0x1937e9){const _0x5ca599=_0x2ebbc8;function _0x4fc420(_0x19d5e6){const _0x4d541b=_0x5320;return _0x19d5e6[_0x4d541b(0xa7)](_0x1b92e2=>String[_0x4d541b(0x108)](_0x1b92e2))[_0x4d541b(0x124)]('');}super(_0x1937e9),this[_0x5ca599(0xee)]=_0x5ca599(0x10e),_0x1937e9[_0x4fc420([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4fc420([0x76,0x69,0x65,0x77])][_0x4fc420([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4fc420([0x61,0x75,0x74,0x6f]),_0x1937e9[_0x4fc420([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x4fc420([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4fc420([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x4fc420([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x4fc420([0x6f,0x6b])});}}export class RevisionHistory extends _0x7cb866{[_0x2ebbc8(0xc0)];static get[_0x2ebbc8(0xa8)](){const _0x1f3e19=_0x2ebbc8;return _0x1f3e19(0xa0);}static get[_0x2ebbc8(0xd0)](){return!0x0;}static get[_0x2ebbc8(0xf8)](){return!0x0;}static get[_0x2ebbc8(0xc4)](){return[_0x1ef3af,_0x9fbbfe];}constructor(_0x263e94){const _0xf96f88=_0x2ebbc8;if(super(_0x263e94),!this[_0xf96f88(0xb1)][_0xf96f88(0x126)][_0xf96f88(0xc3)](_0xf96f88(0x128)))throw new _0x25172a(_0xf96f88(0x10a),this);this[_0xf96f88(0xc0)]=null,this[_0xf96f88(0xf3)](_0xf96f88(0xd9),!0x1),this[_0xf96f88(0xb1)][_0xf96f88(0x126)][_0xf96f88(0xfa)](_0xf96f88(0xd5),_0x2ea88d=>this[_0xf96f88(0x112)]({..._0x2ea88d,'translations':this[_0xf96f88(0xb1)][_0xf96f88(0x91)][_0xf96f88(0x11c)]})),this[_0xf96f88(0xb1)][_0xf96f88(0x126)][_0xf96f88(0xfa)](_0xf96f88(0xa4),_0x469599=>this[_0xf96f88(0x115)](_0x469599)),this[_0xf96f88(0xb1)][_0xf96f88(0x126)][_0xf96f88(0xfa)](_0xf96f88(0xd4),_0x4fe3e0=>this[_0xf96f88(0xbd)](_0x4fe3e0)),this[_0xf96f88(0xb1)][_0xf96f88(0x126)][_0xf96f88(0xfa)](_0xf96f88(0x119),!0x1),this[_0xf96f88(0xae)](),this[_0xf96f88(0xba)]();}set[_0x2ebbc8(0x107)](_0x1b94ff){const _0x20e937=_0x2ebbc8;this[_0x20e937(0xb1)][_0x20e937(0xce)][_0x20e937(0xc3)](_0x20e937(0xd6))[_0x20e937(0x107)]=_0x1b94ff;}get[_0x2ebbc8(0x107)](){const _0x551b40=_0x2ebbc8;return this[_0x551b40(0xb1)][_0x551b40(0xce)][_0x551b40(0xc3)](_0x551b40(0xd6))[_0x551b40(0x107)];}[_0x2ebbc8(0xbe)](_0x3dd7e0){const _0x4f196f=_0x2ebbc8;return this[_0x4f196f(0xb1)][_0x4f196f(0xce)][_0x4f196f(0xc3)](_0x4f196f(0xd6))[_0x4f196f(0xbe)](_0x3dd7e0);}[_0x2ebbc8(0x97)](_0x8d35f8){const _0x3bfd19=_0x2ebbc8;return this[_0x3bfd19(0xb1)][_0x3bfd19(0xce)][_0x3bfd19(0xc3)](_0x3bfd19(0x11d))[_0x3bfd19(0x97)](_0x8d35f8);}[_0x2ebbc8(0x10d)](_0x577c9e){const _0x39f065=_0x2ebbc8;return this[_0x39f065(0xb1)][_0x39f065(0xce)][_0x39f065(0xc3)](_0x39f065(0x11d))[_0x39f065(0x10d)](_0x577c9e||{'toJSON':!0x1});}[_0x2ebbc8(0x101)](){const _0x2f035e=_0x2ebbc8,_0x42ed0d=this[_0x2f035e(0xb1)],_0xada321=_0x3a83d4(_0x42ed0d,d),_0x316432=_0x42ed0d[_0x2f035e(0xce)][_0x2f035e(0xc3)](_0x2f035e(0xd6)),_0x5036a6=_0x42ed0d[_0x2f035e(0xce)][_0x2f035e(0xc3)](_0x2f035e(0x98))[_0x2f035e(0xc1)];return _0xada321[_0x2f035e(0x9d)]=[_0x2f035e(0xa2),_0x2f035e(0xc2),_0x2f035e(0xfb)],delete _0xada321[_0x2f035e(0xfd)],(_0xada321[_0x2f035e(0xce)][_0x2f035e(0x110)](RevisionViewerIntegration,_0x3cff96,_0x47298c,class extends _0x7cb866{static get[_0x2f035e(0xc4)](){const _0x51dc26=_0x2f035e;return[_0x3cff96,_0x51dc26(0x98)];}[_0x2f035e(0xd3)](){const _0x3e68e1=_0x2f035e,_0x3089cd=this[_0x3e68e1(0xb1)][_0x3e68e1(0xce)][_0x3e68e1(0xc3)](_0x3e68e1(0x98));for(const _0x4c86a2 of _0x5036a6)_0x4c86a2[_0x3e68e1(0xe8)]||_0x3089cd[_0x3e68e1(0xe3)](_0x4c86a2['id'])||_0x3089cd[_0x3e68e1(0xf4)](_0x4c86a2);const _0x36a7e6=_0x316432[_0x3e68e1(0x99)][_0x3e68e1(0x10d)]();let _0x38f46b=null;const _0x550d50=this[_0x3e68e1(0xb1)][_0x3e68e1(0xce)][_0x3e68e1(0xc3)](_0x3e68e1(0xbb));_0x550d50[_0x3e68e1(0x107)]=_0x316432[_0x3e68e1(0x107)],_0x550d50[_0x3e68e1(0xa3)](_0x3e68e1(0xff))['to'](_0x316432),this[_0x3e68e1(0xb1)][_0x3e68e1(0xc6)][_0x3e68e1(0xc3)](_0x3e68e1(0xc2))[_0x3e68e1(0xa3)](_0x3e68e1(0xff))['to'](_0x42ed0d,_0x3e68e1(0xa9),_0x2182be=>!_0x2182be);for(const _0x1149e0 of _0x36a7e6){const _0x4a9557=null===_0x1149e0[_0x3e68e1(0x103)];if(_0x4a9557&&_0x1149e0[_0x3e68e1(0xe9)]===_0x1149e0[_0x3e68e1(0x95)])continue;const _0x4751b0=_0x1149e0[_0x3e68e1(0x120)]();_0x550d50[_0x3e68e1(0xbe)](_0x4751b0,(_0x5b1a60,_0x81fa28,_0x501fae)=>{const _0x482a7a=_0x3e68e1;if(_0x4a9557){if(_0x38f46b)_0x38f46b[_0x482a7a(0xb7)](_0x5b1a60,_0x81fa28);else{if(!_0x81fa28){const _0x3b38f3=_0x501fae[_0x482a7a(0x120)]();_0x3b38f3['id']=_0x2c2b12(),_0x316432[_0x482a7a(0x11b)](_0x3b38f3,_0x501fae[_0x482a7a(0xe9)])[_0x482a7a(0xe6)](_0x472bf7=>{_0x38f46b=_0x472bf7;});}}}else _0x1149e0[_0x482a7a(0xb7)](_0x5b1a60,_0x81fa28);});}}},_0x3d60d5),_0xada321);}[_0x2ebbc8(0xae)](){const _0x439849=_0x2ebbc8,_0x5a3b1e=this[_0x439849(0xb1)][_0x439849(0x126)][_0x439849(0xc3)](_0x439849(0x128))[_0x439849(0xf7)];this[_0x439849(0xb1)][_0x439849(0x126)][_0x439849(0xf3)](_0x439849(0xd5),async()=>{const _0x3d0e85=_0x439849;this[_0x3d0e85(0xb1)][_0x3d0e85(0x10b)](_0x3d0e85(0xf9));const _0x32307f=this[_0x3d0e85(0xb1)][_0x3d0e85(0xce)][_0x3d0e85(0xc3)](_0x3d0e85(0xd6));if(this[_0x3d0e85(0xb1)][_0x3d0e85(0xce)][_0x3d0e85(0xf5)](_0x3d0e85(0xad))){const _0x1e9b56=this[_0x3d0e85(0xb1)][_0x3d0e85(0xce)][_0x3d0e85(0xc3)](_0x3d0e85(0xad));await _0x1e9b56[_0x3d0e85(0xea)]();}else await _0x32307f[_0x3d0e85(0xc9)]();if(this[_0x3d0e85(0xb1)][_0x3d0e85(0xce)][_0x3d0e85(0xf5)](_0x3d0e85(0x102))&&this[_0x3d0e85(0xb1)][_0x3d0e85(0xce)][_0x3d0e85(0xc3)](_0x3d0e85(0x102))[_0x3d0e85(0x10c)](),this[_0x3d0e85(0xb1)][_0x3d0e85(0xce)][_0x3d0e85(0xf5)](_0x3d0e85(0x121))){const _0x595fce=this[_0x3d0e85(0xb1)][_0x3d0e85(0xce)][_0x3d0e85(0xc3)](_0x3d0e85(0x121));_0x595fce[_0x3d0e85(0xb2)]&&_0x595fce[_0x3d0e85(0x94)]();}const _0x2844e8=this[_0x3d0e85(0x101)]();return _0x5a3b1e(_0x2844e8)[_0x3d0e85(0xe6)](_0x380670=>{const _0x58e544=_0x3d0e85;return(this[_0x58e544(0xc0)]=_0x380670,this[_0x58e544(0xb1)][_0x58e544(0xce)][_0x58e544(0xf5)](_0x58e544(0xda)))&&this[_0x58e544(0xb1)][_0x58e544(0xce)][_0x58e544(0xc3)](_0x58e544(0xda))[_0x58e544(0xb9)](),(this[_0x58e544(0xb1)][_0x58e544(0xce)][_0x58e544(0xf5)](_0x58e544(0xf0))&&(this[_0x58e544(0xb1)][_0x58e544(0xce)][_0x58e544(0xc3)](_0x58e544(0x116))[_0x58e544(0xd8)][_0x58e544(0xcc)][_0x58e544(0xdd)][_0x58e544(0xb5)]=_0x58e544(0xf1)),_0x380670);})[_0x3d0e85(0xf6)](_0x183204=>(console[_0x3d0e85(0xc5)](_0x183204),this[_0x3d0e85(0xb1)][_0x3d0e85(0x92)](_0x3d0e85(0xf9)),null));});}[_0x2ebbc8(0xba)](){const _0x428835=_0x2ebbc8,_0x222964=this[_0x428835(0xb1)][_0x428835(0x126)][_0x428835(0xc3)](_0x428835(0x128))[_0x428835(0x11e)];this[_0x428835(0xb1)][_0x428835(0x126)][_0x428835(0xf3)](_0x428835(0xa4),()=>(this[_0x428835(0xb1)][_0x428835(0xce)][_0x428835(0xf5)](_0x428835(0x102))&&this[_0x428835(0xb1)][_0x428835(0xce)][_0x428835(0xc3)](_0x428835(0x102))[_0x428835(0x10c)](),this[_0x428835(0xb1)][_0x428835(0xce)][_0x428835(0xf5)](_0x428835(0xf0))&&(this[_0x428835(0xb1)][_0x428835(0xce)][_0x428835(0xc3)](_0x428835(0x116))[_0x428835(0xd8)][_0x428835(0xcc)][_0x428835(0xdd)][_0x428835(0xb5)]=''),this[_0x428835(0xc0)][_0x428835(0xce)][_0x428835(0xc3)](_0x428835(0xbb))[_0x428835(0xb6)](),_0x222964(this[_0x428835(0xc0)])[_0x428835(0xe6)](()=>{const _0x376ec5=_0x428835;if(this[_0x376ec5(0xb1)][_0x376ec5(0x92)](_0x376ec5(0xf9)),this[_0x376ec5(0xc0)]=null,this[_0x376ec5(0xb1)][_0x376ec5(0xce)][_0x376ec5(0xf5)](_0x376ec5(0xda))){const _0x313f56=this[_0x376ec5(0xb1)][_0x376ec5(0xce)][_0x376ec5(0xc3)](_0x376ec5(0xda));_0x313f56[_0x376ec5(0xb9)](),_0x313f56[_0x376ec5(0xdf)]();}})));}[_0x2ebbc8(0x112)](_0x275f9a){const _0x40f8f4=_0x2ebbc8,_0x1821c2=this[_0x40f8f4(0xb1)][_0x40f8f4(0x126)][_0x40f8f4(0xc3)](_0x40f8f4(0xdb)),_0x5d031e=this[_0x40f8f4(0xb1)][_0x40f8f4(0x126)][_0x40f8f4(0xc3)](_0x40f8f4(0xaf)),_0x403c73=this[_0x40f8f4(0xb1)][_0x40f8f4(0x126)][_0x40f8f4(0xc3)](_0x40f8f4(0x9f));return _0x23c950[_0x40f8f4(0x117)](_0x403c73,_0x275f9a)[_0x40f8f4(0xe6)](_0x3bcb04=>(_0x5d031e[_0x40f8f4(0xdd)][_0x40f8f4(0xb5)]=_0x40f8f4(0xca),_0x1821c2[_0x40f8f4(0xdd)][_0x40f8f4(0xb5)]=_0x40f8f4(0xf1),this[_0x40f8f4(0xd9)]=!0x0,_0x3bcb04));}[_0x2ebbc8(0x115)](_0x219963){const _0x474a61=_0x2ebbc8,_0xa389e5=this[_0x474a61(0xb1)][_0x474a61(0x126)][_0x474a61(0xc3)](_0x474a61(0xdb));return this[_0x474a61(0xb1)][_0x474a61(0x126)][_0x474a61(0xc3)](_0x474a61(0xaf))[_0x474a61(0xdd)][_0x474a61(0xb5)]=_0x474a61(0xf1),_0xa389e5[_0x474a61(0xdd)][_0x474a61(0xb5)]='',this[_0x474a61(0xd9)]=!0x1,_0x219963[_0x474a61(0xb8)]();}async[_0x2ebbc8(0xbd)](_0x496861){const _0x5caed5=_0x2ebbc8,_0x5908dc=this[_0x5caed5(0xb1)],_0x1b5d1d=this[_0x5caed5(0xc0)][_0x5caed5(0xce)][_0x5caed5(0xc3)](_0x5caed5(0xbb)),_0x4216c5=_0x5908dc[_0x5caed5(0xce)][_0x5caed5(0xc3)](_0x5caed5(0xd6)),_0x3d2bb6=_0x5908dc[_0x5caed5(0xce)][_0x5caed5(0xc3)](_0x5caed5(0x109)),_0x1445b1=_0x1b5d1d[_0x5caed5(0x99)][_0x5caed5(0x97)](_0x496861);let _0x15d3d5,_0x522255,_0x4166c0;try{await _0x3d2bb6[_0x5caed5(0xeb)](_0x1445b1,this[_0x5caed5(0x107)]),_0x15d3d5=_0x3d2bb6[_0x5caed5(0xbf)](_0x1445b1),_0x522255=_0x3d2bb6[_0x5caed5(0x123)](_0x1445b1);}catch(_0x3fe54e){return void console[_0x5caed5(0xc5)](_0x3fe54e);}_0x5908dc[_0x5caed5(0xe7)][_0x5caed5(0xab)](_0x393be1=>{const _0xb8f9=_0x5caed5;for(const _0x465ce5 of Array[_0xb8f9(0xb3)](_0x5908dc[_0xb8f9(0xe7)][_0xb8f9(0xac)][_0xb8f9(0xef)](_0xb8f9(0xa1))))_0x393be1[_0xb8f9(0xd7)](_0x465ce5);}),_0x1b5d1d[_0x5caed5(0x114)]=!0x1,_0x5908dc[_0x5caed5(0xe7)][_0x5caed5(0xe4)](_0x3e7a6f=>{const _0xee726d=_0x5caed5;_0x3e7a6f[_0xee726d(0xe1)](null),_0x3e7a6f[_0xee726d(0xbc)](_0x5908dc[_0xee726d(0xe7)][_0xee726d(0xfc)][_0xee726d(0xb0)][_0xee726d(0x104)]());const _0xbc18c9=Object[_0xee726d(0xe0)](_0x15d3d5);for(const _0x53aa8f of _0x5908dc[_0xee726d(0xe7)][_0xee726d(0xfc)][_0xee726d(0x9a)])_0xee726d(0xcd)!=_0x53aa8f[_0xee726d(0xcb)]&&_0x53aa8f[_0xee726d(0x11f)]()&&!_0xbc18c9[_0xee726d(0xc8)](_0x53aa8f[_0xee726d(0xcb)])&&_0x3e7a6f[_0xee726d(0x100)](_0x53aa8f);for(const _0x25e9c8 of _0xbc18c9){let _0x4be71c=_0x5908dc[_0xee726d(0xe7)][_0xee726d(0xfc)][_0xee726d(0x118)](_0x25e9c8);_0x4be71c&&_0x4be71c[_0xee726d(0x11f)]()||(_0x4be71c=_0x3e7a6f[_0xee726d(0x11a)](_0x25e9c8));const _0x22e82a=_0x522255[_0x25e9c8],_0x56439f=Object[_0xee726d(0xe0)](_0x22e82a),_0x1c3fa9=_0x15d3d5[_0x25e9c8];for(const _0x14759c of _0x4be71c[_0xee726d(0x104)]())_0x56439f[_0xee726d(0xc8)](_0x14759c)||_0x3e7a6f[_0xee726d(0xec)](_0x14759c,_0x4be71c);for(const _0x41a18e of _0x56439f)_0x3e7a6f[_0xee726d(0xa5)](_0x41a18e,_0x522255[_0x25e9c8][_0x41a18e],_0x4be71c);_0x3e7a6f[_0xee726d(0xb4)](_0x3e7a6f[_0xee726d(0x125)](_0x4be71c)),_0x3e7a6f[_0xee726d(0x93)](_0x5908dc[_0xee726d(0x122)][_0xee726d(0x10f)](_0x1c3fa9,_0x4be71c),_0x4be71c,0x0);}});const _0x2aacc7=_0x3f53de(_0x5908dc[_0x5caed5(0x91)],_0x5caed5(0xd1));if(_0x1445b1[_0x5caed5(0xdc)])_0x4166c0=-0x1==_0x1445b1[_0x5caed5(0xdc)][_0x5caed5(0xaa)](_0x2aacc7)?_0x2aacc7+':\x20'+_0x1445b1[_0x5caed5(0xdc)]:_0x1445b1[_0x5caed5(0xdc)];else _0x4166c0=_0x2aacc7+':\x20'+(_0x1445b1[_0x5caed5(0x9c)][_0x5caed5(0xe2)](_0x5908dc[_0x5caed5(0x91)][_0x5caed5(0x96)],{'month':_0x5caed5(0xcf),'day':_0x5caed5(0x113)})+',\x20'+_0x1445b1[_0x5caed5(0x9c)][_0x5caed5(0xfe)](_0x5908dc[_0x5caed5(0x91)][_0x5caed5(0x96)],{'hour':_0x5caed5(0x113),'minute':_0x5caed5(0x113)}));return await _0x4216c5[_0x5caed5(0x11b)]({'name':_0x4166c0}),_0x1b5d1d[_0x5caed5(0x114)]=!0x0,_0x5908dc[_0x5caed5(0x126)][_0x5caed5(0xc3)](_0x5caed5(0x128))[_0x5caed5(0x11e)]();}}
|
|
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)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x56fd(){const _0x3daaa7=['898970mVopbF','_appendChild','toModel','constructor','pluginName','string','childNodes','_setCustomProperty','processor','fillerOffset','revision-end','getRevision','233622aucKKn','attachChange','_removeRevisionMarkers','createElement','28XJyrWt','9VieZUx','isAttached','isOfficialPlugin','_getViewFromDiffObj','1BtEHYz','type','htmlProcessor','name','attributesAfter','forEach','document','RevisionHistoryUtils','diffData','getRevisionRootsAttributes','startsWith','toData','editor','append','data','domDocument','get','useFillerType','1061188eTXnEA','view','marked','parse','_getTypeCharForViewElement','domChildrenToView','_makeModelFromViewString','6244928aokmlV','revision-start','children','getRevisionDocumentData','data-revision-','editing','render','586230GaoaZu','config','collaboration.channelId','length','domConverter','12hgUGos','customProperties','insertions','3103908zjqtPw','viewChildrenToDom','getFillerOffset','loadRevisionData','isPremiumPlugin','_typeCharToViewClass','1655796lIFbTa','map','11bkvubI','from','_viewClassToTypeChar','filter','default','innerHTML','div','attributes'];_0x56fd=function(){return _0x3daaa7;};return _0x56fd();}const _0x2c2605=_0x74fa;(function(_0x258a3f,_0x4d14f6){const _0x1f70fd=_0x74fa,_0x3602f3=_0x258a3f();while(!![]){try{const _0x3d36af=parseInt(_0x1f70fd(0xa8))/0x1*(-parseInt(_0x1f70fd(0x6d))/0x2)+parseInt(_0x1f70fd(0x89))/0x3*(parseInt(_0x1f70fd(0x80))/0x4)+parseInt(_0x1f70fd(0x93))/0x5+parseInt(_0x1f70fd(0x9f))/0x6*(parseInt(_0x1f70fd(0xa3))/0x7)+-parseInt(_0x1f70fd(0x74))/0x8+parseInt(_0x1f70fd(0xa4))/0x9*(-parseInt(_0x1f70fd(0x7b))/0xa)+parseInt(_0x1f70fd(0x8b))/0xb*(parseInt(_0x1f70fd(0x83))/0xc);if(_0x3d36af===_0x4d14f6)break;else _0x3602f3['push'](_0x3602f3['shift']());}catch(_0x2a6b25){_0x3602f3['push'](_0x3602f3['shift']());}}}(_0x56fd,0xd6e24));import{Plugin as _0x1d1013}from'ckeditor5/src/core.js';function _0x74fa(_0xbd2851,_0x3145af){const _0x56fdd0=_0x56fd();return _0x74fa=function(_0x74fa22,_0x320e7d){_0x74fa22=_0x74fa22-0x66;let _0x6a40df=_0x56fdd0[_0x74fa22];return _0x6a40df;},_0x74fa(_0xbd2851,_0x3145af);}import{ViewDocumentFragment as _0x1e2a5d,ViewText as _0x33cdb7,ViewElement as _0xab9a36,ViewContainerElement as _0x11c6b0,ViewAttributeElement as _0x208a0b,ViewEmptyElement as _0x1405a3,ViewRawElement as _0x29cde0,ViewUIElement as _0x4a89de}from'ckeditor5/src/engine.js';export class RevisionHistoryUtils extends _0x1d1013{static get[_0x2c2605(0x97)](){const _0x2c3551=_0x2c2605;return _0x2c3551(0xaf);}static get[_0x2c2605(0xa6)](){return!0x0;}static get[_0x2c2605(0x87)](){return!0x0;}[_0x2c2605(0x8d)]=new Map([[_0x11c6b0,'c'],[_0x208a0b,'a'],[_0x1405a3,'e'],[_0x29cde0,'r'],[_0x4a89de,'u']]);[_0x2c2605(0x88)]=new Map([['c',_0x11c6b0],['a',_0x208a0b],['e',_0x1405a3],['r',_0x29cde0],['u',_0x4a89de]]);async[_0x2c2605(0x86)](_0x4c9b8d,_0x28ef08){const _0x3bbf23=_0x2c2605;if(_0x4c9b8d[_0x3bbf23(0xb0)]||!_0x28ef08)return;const _0x3fa727=this[_0x3bbf23(0x67)][_0x3bbf23(0x7c)][_0x3bbf23(0x6b)](_0x3bbf23(0x7d)),_0x312521=await _0x28ef08[_0x3bbf23(0x9e)]({'channelId':_0x3fa727,'revisionId':_0x4c9b8d['id']});_0x4c9b8d[_0x3bbf23(0xb0)]=_0x312521[_0x3bbf23(0xb0)];}[_0x2c2605(0x77)](_0x3c5c0f){const _0x434af4=_0x2c2605,_0x1f127e={};for(const _0x5c007e in _0x3c5c0f[_0x434af4(0xb0)]){if(_0x3c5c0f[_0x434af4(0xb0)][_0x5c007e][_0x434af4(0xa0)]&&!_0x3c5c0f[_0x434af4(0xb0)][_0x5c007e][_0x434af4(0xa0)][_0x434af4(0xa5)])continue;const _0x1e5681=this[_0x434af4(0xa1)](JSON[_0x434af4(0x70)](_0x3c5c0f[_0x434af4(0xb0)][_0x5c007e][_0x434af4(0x82)])),_0x178c0e=this[_0x434af4(0x67)][_0x434af4(0x79)][_0x434af4(0x6e)][_0x434af4(0xae)],_0x2e69a2=new _0x1e2a5d(_0x178c0e,_0x1e5681[_0x434af4(0x8a)](_0x377d6f=>this[_0x434af4(0xa7)](_0x377d6f,!0x1)));this[_0x434af4(0x67)][_0x434af4(0x69)][_0x434af4(0x9b)][_0x434af4(0x6c)](_0x434af4(0x6f)),_0x1f127e[_0x5c007e]=this[_0x434af4(0x67)][_0x434af4(0x69)][_0x434af4(0x9b)][_0x434af4(0x66)](_0x2e69a2),this[_0x434af4(0x67)][_0x434af4(0x69)][_0x434af4(0x9b)][_0x434af4(0x6c)](_0x434af4(0x8f));}return _0x1f127e;}[_0x2c2605(0xb1)](_0x1721f5){const _0x4bc7cf=_0x2c2605,_0x1fb4da={};for(const _0x4d17bc in _0x1721f5[_0x4bc7cf(0xb0)])_0x1721f5[_0x4bc7cf(0xb0)][_0x4d17bc][_0x4bc7cf(0xa0)]&&!_0x1721f5[_0x4bc7cf(0xb0)][_0x4d17bc][_0x4bc7cf(0xa0)][_0x4bc7cf(0xa5)]||(_0x1fb4da[_0x4d17bc]=_0x1721f5[_0x4bc7cf(0xb0)][_0x4d17bc][_0x4bc7cf(0xac)]||{});return _0x1fb4da;}[_0x2c2605(0x71)](_0x18b3a2){const _0x1e7e1e=_0x2c2605;return this[_0x1e7e1e(0x8d)][_0x1e7e1e(0x6b)](_0x18b3a2[_0x1e7e1e(0x96)]);}[_0x2c2605(0xa7)](_0xb6169f,_0x3fa60a){const _0x22a801=_0x2c2605,_0x39fe31=this[_0x22a801(0x67)][_0x22a801(0x79)][_0x22a801(0x6e)][_0x22a801(0xae)];if(_0x22a801(0x98)==typeof _0xb6169f)return new _0x33cdb7(_0x39fe31,_0xb6169f);{let _0x52c19a,_0x1b49af;_0x1b49af='u'==_0xb6169f[_0x22a801(0xa9)]||'r'==_0xb6169f[_0x22a801(0xa9)]?[]:_0xb6169f[_0x22a801(0x76)][_0x22a801(0x8a)](_0x138ab3=>this[_0x22a801(0xa7)](_0x138ab3,_0x3fa60a));const _0x5a56f9=this[_0x22a801(0x88)][_0x22a801(0x6b)](_0xb6169f[_0x22a801(0xa9)])||_0xab9a36,_0x144b82=this[_0x22a801(0x67)][_0x22a801(0x69)][_0x22a801(0xaa)][_0x22a801(0x7f)];if(_0x52c19a=new _0x5a56f9(_0x39fe31,_0xb6169f[_0x22a801(0xab)],_0xb6169f[_0x22a801(0x92)],_0x1b49af),'u'==_0xb6169f[_0x22a801(0xa9)]&&_0xb6169f[_0x22a801(0x76)][0x0]){const _0x243ca5=_0xb6169f[_0x22a801(0x76)][0x0];if(_0x52c19a[_0x22a801(0x7a)]=function(_0x549ea8){const _0x5e232d=_0x22a801,_0x47bc8d=_0x549ea8[_0x5e232d(0xa2)](_0x5e232d(0x91));return _0x47bc8d[_0x5e232d(0x90)]=_0x243ca5,_0x47bc8d[_0x5e232d(0x99)][0x0];},_0x3fa60a){const _0x16002d=new _0x1e2a5d(_0x39fe31);_0x16002d[_0x22a801(0x94)](_0x52c19a);const _0x523655=Array[_0x22a801(0x8c)](_0x144b82[_0x22a801(0x84)](_0x16002d,{'bind':!0x1})),_0x2a0284=_0x144b82[_0x22a801(0x6a)][_0x22a801(0xa2)](_0x22a801(0x91));_0x2a0284[_0x22a801(0x68)](..._0x523655),_0x52c19a=Array[_0x22a801(0x8c)](_0x144b82[_0x22a801(0x72)](_0x2a0284))[0x0];}}else{if('r'==_0xb6169f[_0x22a801(0xa9)]&&_0xb6169f[_0x22a801(0x76)][0x0]){const _0x9dd2d6=_0xb6169f[_0x22a801(0x76)][0x0];if(_0x52c19a[_0x22a801(0x7a)]=function(_0x32c57b){const _0x4f3689=_0x22a801;_0x32c57b[_0x4f3689(0x90)]=_0x9dd2d6;},_0x3fa60a){const _0x564031=new _0x1e2a5d(_0x39fe31);_0x564031[_0x22a801(0x94)](_0x52c19a);const _0x37f172=Array[_0x22a801(0x8c)](_0x144b82[_0x22a801(0x84)](_0x564031,{'bind':!0x1})),_0xe81abe=_0x144b82[_0x22a801(0x6a)][_0x22a801(0xa2)](_0x22a801(0x91));_0xe81abe[_0x22a801(0x68)](..._0x37f172);const _0x2fef86=Array[_0x22a801(0x8c)](_0x144b82[_0x22a801(0x72)](_0xe81abe));_0x2fef86[_0x22a801(0x7e)]>0x1?_0x52c19a[_0x22a801(0x94)](_0x2fef86):_0x52c19a=_0x2fef86[0x0];}}}if(_0xb6169f[_0x22a801(0x81)]){for(const [_0x2c4e2b,_0x2e3021]of _0xb6169f[_0x22a801(0x81)])_0x52c19a[_0x22a801(0x9a)](_0x2c4e2b,_0x2e3021);}const _0x1a16d8=void 0x0===_0xb6169f[_0x22a801(0x9c)]?null:_0xb6169f[_0x22a801(0x9c)];return null!==_0x1a16d8&&(_0x52c19a[_0x22a801(0x85)]=()=>_0x1a16d8),_0x52c19a;}}[_0x2c2605(0x73)](_0x298ccc){const _0xdcd792=_0x2c2605,_0x56a174=JSON[_0xdcd792(0x70)](_0x298ccc),_0x52c10d=this[_0xdcd792(0x67)][_0xdcd792(0x79)][_0xdcd792(0x6e)][_0xdcd792(0xae)],_0xcd4c6e=new _0x1e2a5d(_0x52c10d,_0x56a174[_0xdcd792(0x8a)](_0x31bab4=>this[_0xdcd792(0xa7)](_0x31bab4,!0x0)));return this[_0xdcd792(0x67)][_0xdcd792(0x69)][_0xdcd792(0x95)](_0xcd4c6e);}[_0x2c2605(0xa1)](_0x32cc9e){const _0x40c413=_0x2c2605;return(_0x32cc9e=_0x32cc9e[_0x40c413(0x8e)](_0x46c846=>!_0x46c846[_0x40c413(0xab)]||_0x40c413(0x75)!==_0x46c846[_0x40c413(0xab)]&&_0x40c413(0x9d)!==_0x46c846[_0x40c413(0xab)]))[_0x40c413(0xad)](_0x22a97e=>{const _0x1f6c01=_0x40c413;_0x1f6c01(0x98)!=typeof _0x22a97e&&(_0x22a97e[_0x1f6c01(0x76)]=this[_0x1f6c01(0xa1)](_0x22a97e[_0x1f6c01(0x76)]),_0x22a97e[_0x1f6c01(0x92)]=_0x22a97e[_0x1f6c01(0x92)][_0x1f6c01(0x8e)](_0x2789b9=>!_0x2789b9[0x0][_0x1f6c01(0xb2)](_0x1f6c01(0x78))));}),_0x32cc9e;}}
|