@ckeditor/ckeditor5-revision-history 46.0.2-alpha.1 → 46.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.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
|
+
(_0x1517bb=>{const {vi:{dictionary:_0x32d781,getPluralForm:_0x2ad4e4}}={'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':_0x4f0a73=>0x0}};_0x1517bb['vi']||={'dictionary':{},'getPluralForm':null},_0x1517bb['vi']['dictionary']=Object['assign'](_0x1517bb['vi']['dictionary'],_0x32d781),_0x1517bb['vi']['getPluralForm']=_0x2ad4e4;})(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':_0xee54bb=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x168d33=>{const {'zh-cn':{dictionary:_0x9fcc9c,getPluralForm:_0x198284}}={'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':_0x38e71c=>0x0}};_0x168d33['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x168d33['zh-cn']['dictionary']=Object['assign'](_0x168d33['zh-cn']['dictionary'],_0x9fcc9c),_0x168d33['zh-cn']['getPluralForm']=_0x198284;})(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':_0x30eb3d=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x25d4cb=>{const {zh:{dictionary:_0xd7dc17,getPluralForm:_0x1218bd}}={'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':_0xda4402=>0x0}};_0x25d4cb['zh']||={'dictionary':{},'getPluralForm':null},_0x25d4cb['zh']['dictionary']=Object['assign'](_0x25d4cb['zh']['dictionary'],_0xd7dc17),_0x25d4cb['zh']['getPluralForm']=_0x1218bd;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "46.0.
|
|
3
|
+
"version": "46.0.3",
|
|
4
4
|
"description": "Document revision history feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-autosave": "46.0.
|
|
43
|
-
"@ckeditor/ckeditor5-comments": "46.0.
|
|
44
|
-
"@ckeditor/ckeditor5-core": "46.0.
|
|
45
|
-
"@ckeditor/ckeditor5-editor-classic": "46.0.
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "46.0.
|
|
47
|
-
"@ckeditor/ckeditor5-icons": "46.0.
|
|
48
|
-
"@ckeditor/ckeditor5-ui": "46.0.
|
|
49
|
-
"@ckeditor/ckeditor5-utils": "46.0.
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "46.0.3",
|
|
43
|
+
"@ckeditor/ckeditor5-comments": "46.0.3",
|
|
44
|
+
"@ckeditor/ckeditor5-core": "46.0.3",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-classic": "46.0.3",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "46.0.3",
|
|
47
|
+
"@ckeditor/ckeditor5-icons": "46.0.3",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "46.0.3",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "46.0.3",
|
|
50
50
|
"@types/luxon": "3.6.2",
|
|
51
|
-
"ckeditor5": "46.0.
|
|
52
|
-
"ckeditor5-collaboration": "46.0.
|
|
51
|
+
"ckeditor5": "46.0.3",
|
|
52
|
+
"ckeditor5-collaboration": "46.0.3",
|
|
53
53
|
"es-toolkit": "1.39.5",
|
|
54
54
|
"luxon": "3.6.1"
|
|
55
55
|
},
|
package/src/changeitem.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
var _0x483149=_0x5ab0;function _0x2baa(){var _0x427114=['704814nZWWvb','createdAt','94GcbPay','3139680OZADgp','data','1102098qGEKwZ','8MofEUU','4050620SchpTn','author','19018dEAAVH','type','set','2934632eIsYSl','toJSON','rootName','28mNQbZq','4050261eimZwD'];_0x2baa=function(){return _0x427114;};return _0x2baa();}(function(_0x58d9d7,_0x10e2d0){var _0x2b572b=_0x5ab0,_0x44bf71=_0x58d9d7();while(!![]){try{var _0x30fc61=-parseInt(_0x2b572b(0x1e7))/0x1*(parseInt(_0x2b572b(0x1ee))/0x2)+-parseInt(_0x2b572b(0x1ea))/0x3+parseInt(_0x2b572b(0x1f1))/0x4+parseInt(_0x2b572b(0x1e8))/0x5+parseInt(_0x2b572b(0x1e5))/0x6*(-parseInt(_0x2b572b(0x1e3))/0x7)+parseInt(_0x2b572b(0x1eb))/0x8*(parseInt(_0x2b572b(0x1e4))/0x9)+parseInt(_0x2b572b(0x1ec))/0xa;if(_0x30fc61===_0x10e2d0)break;else _0x44bf71['push'](_0x44bf71['shift']());}catch(_0x45e00b){_0x44bf71['push'](_0x44bf71['shift']());}}}(_0x2baa,0x768dd));function _0x5ab0(_0x2cf065,_0x3f700d){var _0x2baacb=_0x2baa();return _0x5ab0=function(_0x5ab073,_0x1db0dd){_0x5ab073=_0x5ab073-0x1e3;var _0xea9901=_0x2baacb[_0x5ab073];return _0xea9901;},_0x5ab0(_0x2cf065,_0x3f700d);}import{ObservableMixin as _0x226954,uid as _0x1f445f}from'ckeditor5/src/utils.js';export class ChangeItem extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x226954(){['id'];[_0x483149(0x1ed)];[_0x483149(0x1ef)];[_0x483149(0x1e9)];[_0x483149(0x1f3)];constructor(_0x1244c0){var _0x2fe49c=_0x483149;super(),this['id']=_0x1244c0['id']||_0x1f445f(),this[_0x2fe49c(0x1ed)]=_0x1244c0[_0x2fe49c(0x1ed)],this[_0x2fe49c(0x1ef)]=_0x1244c0[_0x2fe49c(0x1ef)],this[_0x2fe49c(0x1e9)]=_0x1244c0[_0x2fe49c(0x1e9)]||{},this[_0x2fe49c(0x1f3)]=_0x1244c0[_0x2fe49c(0x1f3)],this[_0x2fe49c(0x1f0)](_0x2fe49c(0x1e6),_0x1244c0[_0x2fe49c(0x1e6)]);}[_0x483149(0x1f2)](){var _0xbd3da8=_0x483149;return{'id':this['id'],'authorId':this[_0xbd3da8(0x1ed)]['id'],'type':this[_0xbd3da8(0x1ef)],'data':this[_0xbd3da8(0x1e9)],'createdAt':this[_0xbd3da8(0x1e6)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x5b7a24=_0x5c9c;(function(_0x2c2984,_0x5c2b61){const _0x178b69=_0x5c9c,_0x4ac248=_0x2c2984();while(!![]){try{const _0x311ed1=-parseInt(_0x178b69(0x10f))/0x1*(-parseInt(_0x178b69(0x107))/0x2)+parseInt(_0x178b69(0x11b))/0x3+parseInt(_0x178b69(0x10e))/0x4*(-parseInt(_0x178b69(0x10b))/0x5)+-parseInt(_0x178b69(0x118))/0x6+parseInt(_0x178b69(0x119))/0x7*(parseInt(_0x178b69(0x106))/0x8)+parseInt(_0x178b69(0x11f))/0x9+-parseInt(_0x178b69(0x111))/0xa;if(_0x311ed1===_0x5c2b61)break;else _0x4ac248['push'](_0x4ac248['shift']());}catch(_0x5a025e){_0x4ac248['push'](_0x4ac248['shift']());}}}(_0x4e24,0x18e9c));import{Editor as _0x487848,ElementApiMixin as _0x4fab86}from'ckeditor5/src/core.js';import{RevisionViewerEditorUI as _0x27518c}from'./revisionviewereditorui.js';function _0x4e24(){const _0xb3954a=['view','432168fVOOKr','createRoot','model','config','405702sYkbDY','get','fire','initialData','280OSDkGm','8438toPyjX','document','sourceElement','destroy','23275wchhiM','ready','data','148Nidcye','29GvhDiB','locale','1235690ixIrqV','create','editing','updateSourceElement','_ui','initPlugins','init','166212kFWJqF','22813rIbSCh'];_0x4e24=function(){return _0xb3954a;};return _0x4e24();}import{RevisionViewerEditorUIView as _0x262fc1}from'./revisionviewereditoruiview.js';function _0x5c9c(_0x49fe07,_0x2103bb){const _0x4e24a9=_0x4e24();return _0x5c9c=function(_0x5c9c3a,_0x3b8922){_0x5c9c3a=_0x5c9c3a-0x106;let _0x2d76aa=_0x4e24a9[_0x5c9c3a];return _0x2d76aa;},_0x5c9c(_0x49fe07,_0x2103bb);}export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4fab86(_0x487848){[_0x5b7a24(0x115)];get['ui'](){const _0xa021a1=_0x5b7a24;return this[_0xa021a1(0x115)];}constructor(_0x419281,_0x3536b3){const _0x33518a=_0x5b7a24;super(_0x3536b3),this[_0x33518a(0x109)]=_0x419281,this[_0x33518a(0x11d)][_0x33518a(0x108)][_0x33518a(0x11c)]();const _0x33f386=new _0x262fc1(this[_0x33518a(0x110)],this[_0x33518a(0x113)][_0x33518a(0x11a)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x33518a(0x115)]=new _0x27518c(this,_0x33f386);}[_0x5b7a24(0x10a)](){const _0x38b468=_0x5b7a24;return this[_0x38b468(0x114)](),this['ui'][_0x38b468(0x10a)](),super[_0x38b468(0x10a)]();}static async[_0x5b7a24(0x112)](_0x39eb12,_0x1e8bfe){const _0x1db8e4=_0x5b7a24,_0x41cd8f=new this(_0x39eb12,_0x1e8bfe);return await _0x41cd8f[_0x1db8e4(0x116)](),await _0x41cd8f['ui'][_0x1db8e4(0x117)](_0x39eb12),await _0x41cd8f[_0x1db8e4(0x10d)][_0x1db8e4(0x117)](_0x41cd8f[_0x1db8e4(0x11e)][_0x1db8e4(0x120)](_0x1db8e4(0x122))||''),_0x41cd8f[_0x1db8e4(0x121)](_0x1db8e4(0x10c)),_0x41cd8f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4dd6b2=_0x5e67;function _0x5e67(_0x1137ec,_0x5aed48){const _0x105dac=_0x105d();return _0x5e67=function(_0x5e6795,_0xac0bd1){_0x5e6795=_0x5e6795-0x6a;let _0x2e0d73=_0x105dac[_0x5e6795];return _0x2e0d73;},_0x5e67(_0x1137ec,_0x5aed48);}(function(_0x45b651,_0x5bd479){const _0x288b41=_0x5e67,_0x2c980a=_0x45b651();while(!![]){try{const _0x164b17=-parseInt(_0x288b41(0x91))/0x1+parseInt(_0x288b41(0x7c))/0x2+parseInt(_0x288b41(0x78))/0x3+-parseInt(_0x288b41(0x76))/0x4*(parseInt(_0x288b41(0x6c))/0x5)+parseInt(_0x288b41(0x8f))/0x6+parseInt(_0x288b41(0x80))/0x7+-parseInt(_0x288b41(0x96))/0x8*(-parseInt(_0x288b41(0x8b))/0x9);if(_0x164b17===_0x5bd479)break;else _0x2c980a['push'](_0x2c980a['shift']());}catch(_0x35005b){_0x2c980a['push'](_0x2c980a['shift']());}}}(_0x105d,0xeadea));import{EditorUI as _0x32929e,normalizeToolbarConfig as _0x5a4f6c}from'ckeditor5/src/ui.js';import{ElementReplacer as _0xfc4ab7}from'ckeditor5/src/utils.js';function _0x105d(){const _0x4c6fd6=['rootName','12076323SJclSI','editable','_view','render','addToolbar','fillFromConfig','stickyPanel','_initToolbar','editing','name','detachDomRoot','1452051CjQlDF','init','fire','limiterElement','2284092zvNDaI','document','716542ZoTCQi','bind','restore','replace','focusTracker','8WJNexw','editor','_elementReplacer','view','45bcVpxm','config','get','viewportOffset','componentFactory','attachDomRoot','ready','isActive','isFocused','getRoot','785832fOvhZG','toolbar','386559aTJsjR','viewportTopOffset','setEditableElement','element','2101254pXKhoS','_toolbarConfig','destroy'];_0x105d=function(){return _0x4c6fd6;};return _0x105d();}export class RevisionViewerEditorUI extends _0x32929e{[_0x4dd6b2(0x82)];[_0x4dd6b2(0x7d)];[_0x4dd6b2(0x6a)];get[_0x4dd6b2(0x6b)](){const _0x5a265c=_0x4dd6b2;return this[_0x5a265c(0x82)];}constructor(_0x18bf56,_0x2f450b){const _0x3ac50b=_0x4dd6b2;super(_0x18bf56),this[_0x3ac50b(0x82)]=_0x2f450b,this[_0x3ac50b(0x7d)]=_0x5a4f6c(_0x18bf56[_0x3ac50b(0x6d)][_0x3ac50b(0x6e)](_0x3ac50b(0x77))),this[_0x3ac50b(0x6a)]=new _0xfc4ab7();}get[_0x4dd6b2(0x7b)](){const _0x45f166=_0x4dd6b2;return this[_0x45f166(0x6b)][_0x45f166(0x7b)];}[_0x4dd6b2(0x8c)](_0x32dc89){const _0xbf6a89=_0x4dd6b2,_0x34521c=this[_0xbf6a89(0x97)],_0x15a50f=this[_0xbf6a89(0x6b)],_0x3cdadf=_0x34521c[_0xbf6a89(0x88)][_0xbf6a89(0x6b)],_0x3ea87d=_0x15a50f[_0xbf6a89(0x81)],_0x47d868=_0x3cdadf[_0xbf6a89(0x90)][_0xbf6a89(0x75)]();_0x3ea87d[_0xbf6a89(0x89)]=_0x47d868[_0xbf6a89(0x7f)],_0x15a50f[_0xbf6a89(0x83)]();const _0x202e4e=_0x3ea87d[_0xbf6a89(0x7b)];this[_0xbf6a89(0x7a)](_0x3ea87d[_0xbf6a89(0x89)],_0x202e4e),_0x15a50f[_0xbf6a89(0x81)][_0xbf6a89(0x92)](_0xbf6a89(0x74))['to'](this[_0xbf6a89(0x95)]),_0x3cdadf[_0xbf6a89(0x71)](_0x202e4e),this[_0xbf6a89(0x6a)][_0xbf6a89(0x94)](_0x32dc89,this[_0xbf6a89(0x7b)]),this[_0xbf6a89(0x87)](),this[_0xbf6a89(0x8d)](_0xbf6a89(0x72));}[_0x4dd6b2(0x7e)](){const _0x250c79=_0x4dd6b2;super[_0x250c79(0x7e)]();const _0xe09ab7=this[_0x250c79(0x6b)],_0x23a87f=this[_0x250c79(0x97)][_0x250c79(0x88)][_0x250c79(0x6b)];this[_0x250c79(0x6a)][_0x250c79(0x93)](),_0x23a87f[_0x250c79(0x8a)](_0xe09ab7[_0x250c79(0x81)][_0x250c79(0x89)]),_0xe09ab7[_0x250c79(0x7e)]();}[_0x4dd6b2(0x87)](){const _0x590739=_0x4dd6b2,_0x29d9f6=this[_0x590739(0x6b)];_0x29d9f6[_0x590739(0x86)][_0x590739(0x92)](_0x590739(0x73))['to'](this[_0x590739(0x95)],_0x590739(0x74)),_0x29d9f6[_0x590739(0x86)][_0x590739(0x8e)]=_0x29d9f6[_0x590739(0x7b)],_0x29d9f6[_0x590739(0x86)][_0x590739(0x92)](_0x590739(0x79))['to'](this,_0x590739(0x6f),({top:_0x516874})=>_0x516874),_0x29d9f6[_0x590739(0x77)][_0x590739(0x85)](this[_0x590739(0x7d)],this[_0x590739(0x70)]),this[_0x590739(0x84)](_0x29d9f6[_0x590739(0x77)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5ec8(){var _0x59cd25=['8246pGhwHH','shouldToolbarGroupWhenFull','content','stickyPanel','11249359QpYPLT','add','render','358jlFlZE','2580369jlBfrv','342666gSodMI','4SNhmFE','_editable','9idIXEc','editable','toolbar','11748392kxNsRO','4060370USOmLj','top','175aqVxvk','4010980Dkccbd','main'];_0x5ec8=function(){return _0x59cd25;};return _0x5ec8();}function _0xa347(_0x51b269,_0x4acc8e){var _0x5ec8e5=_0x5ec8();return _0xa347=function(_0xa34777,_0xd4ded6){_0xa34777=_0xa34777-0x146;var _0x188741=_0x5ec8e5[_0xa34777];return _0x188741;},_0xa347(_0x51b269,_0x4acc8e);}var _0x2b1a3c=_0xa347;(function(_0x293ec7,_0x54f9ee){var _0x258efc=_0xa347,_0x20d14d=_0x293ec7();while(!![]){try{var _0x252a29=-parseInt(_0x258efc(0x151))/0x1*(-parseInt(_0x258efc(0x158))/0x2)+parseInt(_0x258efc(0x159))/0x3*(parseInt(_0x258efc(0x146))/0x4)+parseInt(_0x258efc(0x14f))/0x5+parseInt(_0x258efc(0x15a))/0x6*(-parseInt(_0x258efc(0x14e))/0x7)+parseInt(_0x258efc(0x14b))/0x8*(-parseInt(_0x258efc(0x148))/0x9)+-parseInt(_0x258efc(0x14c))/0xa+parseInt(_0x258efc(0x155))/0xb;if(_0x252a29===_0x54f9ee)break;else _0x20d14d['push'](_0x20d14d['shift']());}catch(_0x16a013){_0x20d14d['push'](_0x20d14d['shift']());}}}(_0x5ec8,0xd1a25));import{BoxedEditorUIView as _0x4c01bf,InlineEditableUIView as _0x5df86d,StickyPanelView as _0x4e8cf8,ToolbarView as _0x27e24c}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export class RevisionViewerEditorUIView extends _0x4c01bf{[_0x2b1a3c(0x147)];[_0x2b1a3c(0x154)];[_0x2b1a3c(0x14a)];get[_0x2b1a3c(0x149)](){var _0x3835a4=_0x2b1a3c;return this[_0x3835a4(0x147)];}constructor(_0x153e93,_0x49dfe4,_0x584f9e={}){var _0x1ab455=_0x2b1a3c;super(_0x153e93),this[_0x1ab455(0x154)]=new _0x4e8cf8(_0x153e93),this[_0x1ab455(0x14a)]=new _0x27e24c(_0x153e93,{'shouldGroupWhenFull':_0x584f9e[_0x1ab455(0x152)]}),this[_0x1ab455(0x147)]=new _0x5df86d(_0x153e93,_0x49dfe4);}[_0x2b1a3c(0x157)](){var _0x5642b7=_0x2b1a3c;super[_0x5642b7(0x157)](),this[_0x5642b7(0x154)][_0x5642b7(0x153)][_0x5642b7(0x156)](this[_0x5642b7(0x14a)]),this[_0x5642b7(0x14d)][_0x5642b7(0x156)](this[_0x5642b7(0x154)]),this[_0x5642b7(0x150)][_0x5642b7(0x156)](this[_0x5642b7(0x149)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x48f3cb,_0x662cf0){var _0x6b9850=_0x5bf3,_0x3de568=_0x48f3cb();while(!![]){try{var _0x457446=-parseInt(_0x6b9850(0x137))/0x1+parseInt(_0x6b9850(0x13d))/0x2*(-parseInt(_0x6b9850(0x135))/0x3)+parseInt(_0x6b9850(0x133))/0x4*(-parseInt(_0x6b9850(0x13b))/0x5)+-parseInt(_0x6b9850(0x136))/0x6+parseInt(_0x6b9850(0x139))/0x7*(parseInt(_0x6b9850(0x134))/0x8)+parseInt(_0x6b9850(0x138))/0x9+-parseInt(_0x6b9850(0x13c))/0xa*(-parseInt(_0x6b9850(0x13a))/0xb);if(_0x457446===_0x662cf0)break;else _0x3de568['push'](_0x3de568['shift']());}catch(_0x135d0b){_0x3de568['push'](_0x3de568['shift']());}}}(_0x32e3,0x5d68c));function _0x32e3(){var _0x51b68a=['4034272bPKfuT','15vvGKIE','2471256mEOSgp','172302HFQVhb','5685102yQViBF','7Nxahlu','3443AQttnd','221270dgWOpC','15430DdVwql','243154sMdxJN','4qHwNAR'];_0x32e3=function(){return _0x51b68a;};return _0x32e3();}export{Revision}from'./revision.js';export{RevisionHistory,RevisionViewerIntegration}from'./revisionhistory.js';export{RevisionsRepository}from'./revisionsrepository.js';function _0x5bf3(_0x380006,_0x84f9b2){var _0x32e3cc=_0x32e3();return _0x5bf3=function(_0x5bf30c,_0x3179e7){_0x5bf30c=_0x5bf30c-0x133;var _0x4d9e1b=_0x32e3cc[_0x5bf30c];return _0x4d9e1b;},_0x5bf3(_0x380006,_0x84f9b2);}export{RevisionHistoryUtils}from'./revisionhistoryutils.js';export{RevisionViewerLoadingOverlay}from'./ui/revisionviewer/revisionviewerloadingoverlay.js';export{RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';export{RevisionTracker}from'./revisiontracker.js';export{RevisionViewer,RestoreRevisionCommand,ShowChangeCommand}from'./revisionviewer.js';export{RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';export{RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';export{RevisionViewerEditor}from'./editor/revisionviewereditor.js';import'./augmentation.js';
|
package/src/revision.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x36f9bf=_0x1107;(function(_0x3022b3,_0x51aa79){const _0x36cda0=_0x1107,_0x3ddf16=_0x3022b3();while(!![]){try{const _0xa69e74=-parseInt(_0x36cda0(0x11e))/0x1+-parseInt(_0x36cda0(0x135))/0x2+-parseInt(_0x36cda0(0x12b))/0x3*(-parseInt(_0x36cda0(0x120))/0x4)+-parseInt(_0x36cda0(0x12c))/0x5+parseInt(_0x36cda0(0x131))/0x6*(-parseInt(_0x36cda0(0x138))/0x7)+parseInt(_0x36cda0(0x124))/0x8+parseInt(_0x36cda0(0x133))/0x9;if(_0xa69e74===_0x51aa79)break;else _0x3ddf16['push'](_0x3ddf16['shift']());}catch(_0x44bb0e){_0x3ddf16['push'](_0x3ddf16['shift']());}}}(_0x533d,0x8e8e9));import{ObservableMixin as _0x56cb54,uid as _0x4f9d90}from'ckeditor5/src/utils.js';import{cloneDeep as _0x44e3b6,set as _0xca6121,unset as _0x59a31a}from'es-toolkit/compat';function _0x1107(_0x41b395,_0x577102){const _0x533d3a=_0x533d();return _0x1107=function(_0x1107a7,_0x4de6bf){_0x1107a7=_0x1107a7-0x11d;let _0x484dfd=_0x533d3a[_0x1107a7];return _0x484dfd;},_0x1107(_0x41b395,_0x577102);}function _0x533d(){const _0x2f397c=['model','name','3SrEZGl','4740905kEimOS','toJSON','diffData','creator','fromVersion','2886sOEQUq','creatorId','13854519EfliVI','_update','1920310noEybq','map','setName','8659lpzbIY','authors','90006FkPFcp','setAttribute','4460180qFELzS','createdAt','toVersion','fire','4182528UcmmGK','set','authorsIds','attributes','removeAttribute'];_0x533d=function(){return _0x2f397c;};return _0x533d();}export class Revision extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x56cb54(){['id'];[_0x36f9bf(0x12f)];[_0x36f9bf(0x11d)];[_0x36f9bf(0x12e)];[_0x36f9bf(0x122)];[_0x36f9bf(0x130)];[_0x36f9bf(0x129)];constructor(_0x1f85e0){const _0x27e996=_0x36f9bf;super(),this['id']=_0x1f85e0['id']||_0x4f9d90(),this[_0x27e996(0x12f)]=_0x1f85e0[_0x27e996(0x12f)]||null,this[_0x27e996(0x11d)]=_0x1f85e0[_0x27e996(0x11d)]||[],this[_0x27e996(0x12e)]=_0x1f85e0[_0x27e996(0x12e)]||null,this[_0x27e996(0x122)]=_0x1f85e0[_0x27e996(0x122)]||0x0,this[_0x27e996(0x130)]=_0x1f85e0[_0x27e996(0x130)]||0x0,this[_0x27e996(0x125)](_0x27e996(0x12a),_0x1f85e0[_0x27e996(0x12a)]||''),this[_0x27e996(0x125)](_0x27e996(0x121),_0x1f85e0[_0x27e996(0x121)]||new Date()),this[_0x27e996(0x125)](_0x27e996(0x127),_0x1f85e0[_0x27e996(0x127)]||{});}[_0x36f9bf(0x137)](_0x41854a){const _0x401a61=_0x36f9bf;this[_0x401a61(0x134)]({'name':_0x41854a});}[_0x36f9bf(0x11f)](_0x4eb55e,_0x37cd20){const _0x557db1=_0x36f9bf,_0x2b6c35=_0x44e3b6(this[_0x557db1(0x127)]);_0xca6121(_0x2b6c35,_0x4eb55e,_0x37cd20),this[_0x557db1(0x134)]({'attributes':_0x2b6c35});}[_0x36f9bf(0x128)](_0x4933c3){const _0x128127=_0x36f9bf,_0x184f05=_0x44e3b6(this[_0x128127(0x127)]);_0x59a31a(_0x184f05,_0x4933c3),this[_0x128127(0x134)]({'attributes':_0x184f05});}[_0x36f9bf(0x134)](_0x51fe63,_0x3005d0=!0x1){const _0x48e8f2=_0x36f9bf;let _0x33fcb6=!0x1;const _0xbc3234={'id':this['id']},_0x5077a0=[_0x48e8f2(0x12a),_0x48e8f2(0x121),_0x48e8f2(0x12e),_0x48e8f2(0x11d),_0x48e8f2(0x127),_0x48e8f2(0x122),_0x48e8f2(0x130),_0x48e8f2(0x132)];for(const _0x3708ca of _0x5077a0){const _0x22a307=_0x51fe63[_0x3708ca];void 0x0!==_0x22a307&&_0x22a307!==this[_0x3708ca]&&(this[_0x3708ca]=_0x22a307,_0xbc3234[_0x3708ca]=_0x22a307,_0x33fcb6=!0x0);}_0x33fcb6&&(_0xbc3234[_0x48e8f2(0x11d)]&&(_0xbc3234[_0x48e8f2(0x126)]=_0xbc3234[_0x48e8f2(0x11d)][_0x48e8f2(0x136)](_0x486695=>_0x486695['id']),delete _0xbc3234[_0x48e8f2(0x11d)]),this[_0x48e8f2(0x123)](_0x48e8f2(0x134),_0xbc3234,_0x3005d0));}[_0x36f9bf(0x12d)](){const _0x476b84=_0x36f9bf;return{'id':this['id'],'name':this[_0x476b84(0x12a)],'creatorId':this[_0x476b84(0x12f)]?this[_0x476b84(0x12f)]['id']:null,'authorsIds':this[_0x476b84(0x11d)][_0x476b84(0x136)](_0x180a1f=>_0x180a1f['id']),'diffData':this[_0x476b84(0x12e)],'createdAt':this[_0x476b84(0x121)],'attributes':this[_0x476b84(0x127)],'fromVersion':this[_0x476b84(0x130)],'toVersion':this[_0x476b84(0x122)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48e317=_0x530a;function _0x58fc(){const _0x43a9d1=['2211010fCljhI','add','896080bhtONA','10SaNlxe','10012coxlwj','27PyQkBs','5Xjecfh','changes','1583461qMYOqo','2607624MCpbpj','oldRevisionId','7xELAlA','4038032oRYVXg','_setChanges','2083389WBvvwZ','newRevisionId'];_0x58fc=function(){return _0x43a9d1;};return _0x58fc();}function _0x530a(_0x21eebe,_0x2d4093){const _0x58fc89=_0x58fc();return _0x530a=function(_0x530a86,_0x5245d4){_0x530a86=_0x530a86-0x17f;let _0x5a62f4=_0x58fc89[_0x530a86];return _0x5a62f4;},_0x530a(_0x21eebe,_0x2d4093);}(function(_0x38da63,_0x2ff670){const _0x4d24db=_0x530a,_0x518ba9=_0x38da63();while(!![]){try{const _0x2ecf4b=-parseInt(_0x4d24db(0x18c))/0x1*(parseInt(_0x4d24db(0x18d))/0x2)+parseInt(_0x4d24db(0x187))/0x3+-parseInt(_0x4d24db(0x18b))/0x4*(-parseInt(_0x4d24db(0x17f))/0x5)+-parseInt(_0x4d24db(0x182))/0x6*(parseInt(_0x4d24db(0x184))/0x7)+-parseInt(_0x4d24db(0x185))/0x8+-parseInt(_0x4d24db(0x18e))/0x9*(-parseInt(_0x4d24db(0x189))/0xa)+-parseInt(_0x4d24db(0x181))/0xb;if(_0x2ecf4b===_0x2ff670)break;else _0x518ba9['push'](_0x518ba9['shift']());}catch(_0x10467d){_0x518ba9['push'](_0x518ba9['shift']());}}}(_0x58fc,0x6d7a1));import{Collection as _0x4fce38}from'ckeditor5/src/utils.js';export class RevisionDiff{[_0x48e317(0x188)];[_0x48e317(0x183)];[_0x48e317(0x180)];constructor(_0x3da887,_0x14b354){const _0x51563d=_0x48e317;this[_0x51563d(0x188)]=_0x3da887,this[_0x51563d(0x183)]=_0x14b354,this[_0x51563d(0x180)]=new _0x4fce38();}[_0x48e317(0x186)](_0x594bdb){const _0xa5f741=_0x48e317;for(const _0x3f4fdd of _0x594bdb)this[_0xa5f741(0x180)][_0xa5f741(0x18a)](_0x3f4fdd);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4baaab=_0x296a;function _0x296a(_0x33a657,_0x3466c1){const _0x50121f=_0x5012();return _0x296a=function(_0x296a8e,_0x4ad4ce){_0x296a8e=_0x296a8e-0x8b;let _0x272f31=_0x50121f[_0x296a8e];return _0x272f31;},_0x296a(_0x33a657,_0x3466c1);}(function(_0x4ca00f,_0x4c39f3){const _0x12e7c3=_0x296a,_0x433bc7=_0x4ca00f();while(!![]){try{const _0xf66bcf=-parseInt(_0x12e7c3(0xc3))/0x1+-parseInt(_0x12e7c3(0xe2))/0x2+-parseInt(_0x12e7c3(0xe3))/0x3+parseInt(_0x12e7c3(0x95))/0x4*(parseInt(_0x12e7c3(0x109))/0x5)+parseInt(_0x12e7c3(0xbb))/0x6*(-parseInt(_0x12e7c3(0x10a))/0x7)+-parseInt(_0x12e7c3(0xd7))/0x8+parseInt(_0x12e7c3(0xf8))/0x9*(parseInt(_0x12e7c3(0xaf))/0xa);if(_0xf66bcf===_0x4c39f3)break;else _0x433bc7['push'](_0x433bc7['shift']());}catch(_0x10dbc7){_0x433bc7['push'](_0x433bc7['shift']());}}}(_0x5012,0xe0397));import{Plugin as _0x5ef81a}from'ckeditor5/src/core.js';import{CKEditorError as _0x5adf1d,uid as _0x43eead}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x5cb502}from'./revisiontracker.js';import{RevisionHistoryUI as _0x4ed842}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x368998}from'./revisionviewer.js';import{RevisionViewerUI as _0x31d801}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x5aa01d}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x2b6324}from'./editor/revisionviewereditor.js';import{getTranslation as _0x284225}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x302dc2}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5012(){const _0x921e03=['translations','addUser','users','_getRevisionViewerEditorConfig','setSelection','isOpen','toolbar','bind','insert','revisionHistory.closeRevisionViewerCallback','revision-history-viewer-opened','_restoreRevision','toLocaleTimeString','showRevisionViewerCallback','RevisionHistoryUtils','set','2260QMkgdw','revisionHistory.restoreRevisionCallback','roots','toLocaleDateString','style','removeMarker','data','plugins','disableReadOnlyMode','isAttached','revisionHistory.viewerEditorElement','isReady','6rAQHoj','requires','lazyRoots','refreshVisibility','enableReadOnlyMode','init','fromVersion','commands','263136ubtiBQ','editor','getRevision','refreshPositioning','Autosave','define','update','model','hide','RevisionViewer','_showRevisionViewer','restoreRevision','destroy','create','restrictedEditingException','getMarkersGroup','locale','RevisionViewerIntegration','isAnonymous','Annotations','12033688HUyynA','toVersion','rootName','createdAt','getRevisionRootsAttributes','uiLanguage','_enhanceCloseRevisionViewerCallback','isOfficialPlugin','has','DocumentOutline','numeric','713136GmpdDp','4526883cINpFe','isPremiumPlugin','then','setAttribute','getRevisions','name','Restored','isRevisionViewerOpen','change','isReadOnly','keys','Dialog','_closeRevisionViewer','_cleanUp','markers','getRevisionDocumentData','saveRevision','removeSelectionAttribute','Users','block','revisionHistory.viewerContainer','180405cgtUeE','revisionHistory','_viewerEditor','display','result','getRoot','closeRevisionViewerCallback','get','push','revisionHistory.showRevisionViewerCallback','parse','revisionHistory.requireRevisionName','none','changesNavigation','addRevisionData','loadRevisionData','getUser','4340PNABix','247037OXhtjf','RestrictedEditingMode','revisionHistory.editorContainer','DocumentOutlineUI','RevisionTracker','remove','join','getAttributeKeys','from','RevisionHistory','save','detachRoot','_recalculatePageBreaks','$graveyard','addRoot','repository','createRangeIn','end','_enhanceShowRevisionViewerCallback','long','_update','toJSON','adapter','catch','fromCharCode','removeAttribute','pluginName','PaginationLookup','indexOf','config','error','document','RevisionsRepository','isEnabled','revision-history-missing-configuration','260CKpytd','includes','enqueueChange','view','RevisionHistoryUI','element','selection','map','creator','exitToEditing'];_0x5012=function(){return _0x921e03;};return _0x5012();}const d=[_0x4baaab(0x99),_0x4baaab(0x10b)];export class RevisionViewerIntegration extends _0x5ef81a{[_0x4baaab(0xfc)];static get[_0x4baaab(0x8c)](){const _0x5c8a61=_0x4baaab;return _0x5c8a61(0xd4);}static get[_0x4baaab(0xde)](){return!0x0;}static get[_0x4baaab(0xe4)](){return!0x0;}constructor(_0x2da49a){const _0x3bb5b2=_0x4baaab;function _0xe4d181(_0x3196e5){const _0x450553=_0x296a;return _0x3196e5[_0x450553(0x9c)](_0x40b1f2=>String[_0x450553(0x122)](_0x40b1f2))[_0x450553(0x110)]('');}super(_0x2da49a),this[_0x3bb5b2(0xfc)]=_0x3bb5b2(0x11b),_0x2da49a[_0xe4d181([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe4d181([0x76,0x69,0x65,0x77])][_0xe4d181([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe4d181([0x61,0x75,0x74,0x6f]),_0x2da49a[_0xe4d181([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0xe4d181([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe4d181([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0xe4d181([0x73,0x74,0x61,0x74,0x75,0x73])]:_0xe4d181([0x6f,0x6b])});}}export class RevisionHistory extends _0x5ef81a{[_0x4baaab(0xfa)];static get[_0x4baaab(0x8c)](){const _0xe8ec43=_0x4baaab;return _0xe8ec43(0x113);}static get[_0x4baaab(0xde)](){return!0x0;}static get[_0x4baaab(0xe4)](){return!0x0;}static get[_0x4baaab(0xbc)](){return[_0x5cb502,_0x4ed842];}constructor(_0x4b88c5){const _0x5deec3=_0x4baaab;if(super(_0x4b88c5),!this[_0x5deec3(0xc4)][_0x5deec3(0x8f)][_0x5deec3(0xff)](_0x5deec3(0xf9)))throw new _0x5adf1d(_0x5deec3(0x94),this);this[_0x5deec3(0xfa)]=null,this[_0x5deec3(0xae)](_0x5deec3(0xea),!0x1),this[_0x5deec3(0xc4)][_0x5deec3(0x8f)][_0x5deec3(0xc8)](_0x5deec3(0x101),_0x4e8f1a=>this[_0x5deec3(0xcd)]({..._0x4e8f1a,'translations':this[_0x5deec3(0xc4)][_0x5deec3(0xd3)][_0x5deec3(0x9f)]})),this[_0x5deec3(0xc4)][_0x5deec3(0x8f)][_0x5deec3(0xc8)](_0x5deec3(0xa8),_0x42f33c=>this[_0x5deec3(0xef)](_0x42f33c)),this[_0x5deec3(0xc4)][_0x5deec3(0x8f)][_0x5deec3(0xc8)](_0x5deec3(0xb0),_0x428f60=>this[_0x5deec3(0xaa)](_0x428f60)),this[_0x5deec3(0xc4)][_0x5deec3(0x8f)][_0x5deec3(0xc8)](_0x5deec3(0x103),!0x1),this[_0x5deec3(0x11c)](),this[_0x5deec3(0xdd)]();}set[_0x4baaab(0x120)](_0x1693eb){const _0x235a4a=_0x4baaab;this[_0x235a4a(0xc4)][_0x235a4a(0xb6)][_0x235a4a(0xff)](_0x235a4a(0x10e))[_0x235a4a(0x120)]=_0x1693eb;}get[_0x4baaab(0x120)](){const _0x5ab69b=_0x4baaab;return this[_0x5ab69b(0xc4)][_0x5ab69b(0xb6)][_0x5ab69b(0xff)](_0x5ab69b(0x10e))[_0x5ab69b(0x120)];}[_0x4baaab(0x106)](_0x5713ee){const _0x2bcc75=_0x4baaab;return this[_0x2bcc75(0xc4)][_0x2bcc75(0xb6)][_0x2bcc75(0xff)](_0x2bcc75(0x10e))[_0x2bcc75(0x106)](_0x5713ee);}[_0x4baaab(0xc5)](_0x343ca4){const _0x4bb097=_0x4baaab;return this[_0x4bb097(0xc4)][_0x4bb097(0xb6)][_0x4bb097(0xff)](_0x4bb097(0x92))[_0x4bb097(0xc5)](_0x343ca4);}[_0x4baaab(0xe7)](_0x4d4af9){const _0x53e36a=_0x4baaab;return this[_0x53e36a(0xc4)][_0x53e36a(0xb6)][_0x53e36a(0xff)](_0x53e36a(0x92))[_0x53e36a(0xe7)](_0x4d4af9||{'toJSON':!0x1});}[_0x4baaab(0xa2)](){const _0x217dce=_0x4baaab,_0x362302=this[_0x217dce(0xc4)],_0x2ac0fc=_0x302dc2(_0x362302,d),_0x59e6a7=_0x362302[_0x217dce(0xb6)][_0x217dce(0xff)](_0x217dce(0x10e)),_0x221d04=_0x362302[_0x217dce(0xb6)][_0x217dce(0xff)](_0x217dce(0xf5))[_0x217dce(0xa1)];return _0x2ac0fc[_0x217dce(0xa5)]=[_0x217dce(0x9e),_0x217dce(0xce),_0x217dce(0x105)],delete _0x2ac0fc[_0x217dce(0xbd)],(_0x2ac0fc[_0x217dce(0xb6)][_0x217dce(0x100)](RevisionViewerIntegration,_0x368998,_0x31d801,class extends _0x5ef81a{static get[_0x217dce(0xbc)](){const _0x25a24a=_0x217dce;return[_0x368998,_0x25a24a(0xf5)];}[_0x217dce(0xc0)](){const _0x58e473=_0x217dce,_0x2d4fc7=this[_0x58e473(0xc4)][_0x58e473(0xb6)][_0x58e473(0xff)](_0x58e473(0xf5));for(const _0x3a4547 of _0x221d04)_0x3a4547[_0x58e473(0xd5)]||_0x2d4fc7[_0x58e473(0x108)](_0x3a4547['id'])||_0x2d4fc7[_0x58e473(0xa0)](_0x3a4547);const _0x38f8fa=_0x59e6a7[_0x58e473(0x119)][_0x58e473(0xe7)]();let _0x296668=null;const _0x4f339a=this[_0x58e473(0xc4)][_0x58e473(0xb6)][_0x58e473(0xff)](_0x58e473(0xcc));_0x4f339a[_0x58e473(0x120)]=_0x59e6a7[_0x58e473(0x120)],_0x4f339a[_0x58e473(0xa6)](_0x58e473(0x93))['to'](_0x59e6a7),this[_0x58e473(0xc4)][_0x58e473(0xc2)][_0x58e473(0xff)](_0x58e473(0xce))[_0x58e473(0xa6)](_0x58e473(0x93))['to'](_0x362302,_0x58e473(0xec),_0x4a2e8e=>!_0x4a2e8e);for(const _0x35dcd6 of _0x38f8fa){const _0x349deb=null===_0x35dcd6[_0x58e473(0x9d)];if(_0x349deb&&_0x35dcd6[_0x58e473(0xd8)]===_0x35dcd6[_0x58e473(0xc1)])continue;const _0x2169d7=_0x35dcd6[_0x58e473(0x11f)]();_0x4f339a[_0x58e473(0x106)](_0x2169d7,(_0x2cba84,_0x1c63be,_0x5e9cb8)=>{const _0x599cd5=_0x58e473;if(_0x349deb){if(_0x296668)_0x296668[_0x599cd5(0x11e)](_0x2cba84,_0x1c63be);else{if(!_0x1c63be){const _0x55dae2=_0x5e9cb8[_0x599cd5(0x11f)]();_0x55dae2['id']=_0x43eead(),_0x59e6a7[_0x599cd5(0xf3)](_0x55dae2,_0x5e9cb8[_0x599cd5(0xd8)])[_0x599cd5(0xe5)](_0x30ef1e=>{_0x296668=_0x30ef1e;});}}}else _0x35dcd6[_0x599cd5(0x11e)](_0x2cba84,_0x1c63be);});}}},_0x5aa01d),_0x2ac0fc);}[_0x4baaab(0x11c)](){const _0x40f8a9=_0x4baaab,_0x97157=this[_0x40f8a9(0xc4)][_0x40f8a9(0x8f)][_0x40f8a9(0xff)](_0x40f8a9(0xf9))[_0x40f8a9(0xac)];this[_0x40f8a9(0xc4)][_0x40f8a9(0x8f)][_0x40f8a9(0xae)](_0x40f8a9(0x101),async()=>{const _0xd6769c=_0x40f8a9;this[_0xd6769c(0xc4)][_0xd6769c(0xbf)](_0xd6769c(0xa9));const _0x51ca54=this[_0xd6769c(0xc4)][_0xd6769c(0xb6)][_0xd6769c(0xff)](_0xd6769c(0x10e));if(this[_0xd6769c(0xc4)][_0xd6769c(0xb6)][_0xd6769c(0xdf)](_0xd6769c(0xc7))){const _0x50bae2=this[_0xd6769c(0xc4)][_0xd6769c(0xb6)][_0xd6769c(0xff)](_0xd6769c(0xc7));await _0x50bae2[_0xd6769c(0x114)]();}else await _0x51ca54[_0xd6769c(0xc9)]();if(this[_0xd6769c(0xc4)][_0xd6769c(0xb6)][_0xd6769c(0xdf)](_0xd6769c(0x8d))&&this[_0xd6769c(0xc4)][_0xd6769c(0xb6)][_0xd6769c(0xff)](_0xd6769c(0x8d))[_0xd6769c(0x116)](),this[_0xd6769c(0xc4)][_0xd6769c(0xb6)][_0xd6769c(0xdf)](_0xd6769c(0xee))){const _0x4da165=this[_0xd6769c(0xc4)][_0xd6769c(0xb6)][_0xd6769c(0xff)](_0xd6769c(0xee));_0x4da165[_0xd6769c(0xa4)]&&_0x4da165[_0xd6769c(0xcb)]();}const _0x1ad0bd=this[_0xd6769c(0xa2)]();return _0x97157(_0x1ad0bd)[_0xd6769c(0xe5)](_0x445c27=>{const _0x5e28a0=_0xd6769c;return(this[_0x5e28a0(0xfa)]=_0x445c27,this[_0x5e28a0(0xc4)][_0x5e28a0(0xb6)][_0x5e28a0(0xdf)](_0x5e28a0(0xd6)))&&this[_0x5e28a0(0xc4)][_0x5e28a0(0xb6)][_0x5e28a0(0xff)](_0x5e28a0(0xd6))[_0x5e28a0(0xbe)](),(this[_0x5e28a0(0xc4)][_0x5e28a0(0xb6)][_0x5e28a0(0xdf)](_0x5e28a0(0xe0))&&(this[_0x5e28a0(0xc4)][_0x5e28a0(0xb6)][_0x5e28a0(0xff)](_0x5e28a0(0x10d))[_0x5e28a0(0x98)][_0x5e28a0(0x9a)][_0x5e28a0(0xb3)][_0x5e28a0(0xfb)]=_0x5e28a0(0x104)),_0x445c27);})[_0xd6769c(0x121)](_0xa7958b=>(console[_0xd6769c(0x90)](_0xa7958b),this[_0xd6769c(0xc4)][_0xd6769c(0xb7)](_0xd6769c(0xa9)),null));});}[_0x4baaab(0xdd)](){const _0x42b1d1=_0x4baaab,_0x2b281d=this[_0x42b1d1(0xc4)][_0x42b1d1(0x8f)][_0x42b1d1(0xff)](_0x42b1d1(0xf9))[_0x42b1d1(0xfe)];this[_0x42b1d1(0xc4)][_0x42b1d1(0x8f)][_0x42b1d1(0xae)](_0x42b1d1(0xa8),()=>(this[_0x42b1d1(0xc4)][_0x42b1d1(0xb6)][_0x42b1d1(0xdf)](_0x42b1d1(0x8d))&&this[_0x42b1d1(0xc4)][_0x42b1d1(0xb6)][_0x42b1d1(0xff)](_0x42b1d1(0x8d))[_0x42b1d1(0x116)](),this[_0x42b1d1(0xc4)][_0x42b1d1(0xb6)][_0x42b1d1(0xdf)](_0x42b1d1(0xe0))&&(this[_0x42b1d1(0xc4)][_0x42b1d1(0xb6)][_0x42b1d1(0xff)](_0x42b1d1(0x10d))[_0x42b1d1(0x98)][_0x42b1d1(0x9a)][_0x42b1d1(0xb3)][_0x42b1d1(0xfb)]=''),this[_0x42b1d1(0xfa)][_0x42b1d1(0xb6)][_0x42b1d1(0xff)](_0x42b1d1(0xcc))[_0x42b1d1(0xf0)](),_0x2b281d(this[_0x42b1d1(0xfa)])[_0x42b1d1(0xe5)](()=>{const _0x30560a=_0x42b1d1;if(this[_0x30560a(0xc4)][_0x30560a(0xb7)](_0x30560a(0xa9)),this[_0x30560a(0xfa)]=null,this[_0x30560a(0xc4)][_0x30560a(0xb6)][_0x30560a(0xdf)](_0x30560a(0xd6))){const _0x65b49c=this[_0x30560a(0xc4)][_0x30560a(0xb6)][_0x30560a(0xff)](_0x30560a(0xd6));_0x65b49c[_0x30560a(0xbe)](),_0x65b49c[_0x30560a(0xc6)]();}})));}[_0x4baaab(0xcd)](_0x32539e){const _0x2eccbc=_0x4baaab,_0x362f76=this[_0x2eccbc(0xc4)][_0x2eccbc(0x8f)][_0x2eccbc(0xff)](_0x2eccbc(0x10c)),_0x349720=this[_0x2eccbc(0xc4)][_0x2eccbc(0x8f)][_0x2eccbc(0xff)](_0x2eccbc(0xf7)),_0x24fbb0=this[_0x2eccbc(0xc4)][_0x2eccbc(0x8f)][_0x2eccbc(0xff)](_0x2eccbc(0xb9));return _0x2b6324[_0x2eccbc(0xd0)](_0x24fbb0,_0x32539e)[_0x2eccbc(0xe5)](_0x3cc28c=>(_0x349720[_0x2eccbc(0xb3)][_0x2eccbc(0xfb)]=_0x2eccbc(0xf6),_0x362f76[_0x2eccbc(0xb3)][_0x2eccbc(0xfb)]=_0x2eccbc(0x104),this[_0x2eccbc(0xea)]=!0x0,_0x3cc28c));}[_0x4baaab(0xef)](_0x128389){const _0x58ded9=_0x4baaab,_0xa1436f=this[_0x58ded9(0xc4)][_0x58ded9(0x8f)][_0x58ded9(0xff)](_0x58ded9(0x10c));return this[_0x58ded9(0xc4)][_0x58ded9(0x8f)][_0x58ded9(0xff)](_0x58ded9(0xf7))[_0x58ded9(0xb3)][_0x58ded9(0xfb)]=_0x58ded9(0x104),_0xa1436f[_0x58ded9(0xb3)][_0x58ded9(0xfb)]='',this[_0x58ded9(0xea)]=!0x1,_0x128389[_0x58ded9(0xcf)]();}async[_0x4baaab(0xaa)](_0x7ccc54){const _0xeacbc=_0x4baaab,_0x7f587b=this[_0xeacbc(0xc4)],_0x233fbd=this[_0xeacbc(0xfa)][_0xeacbc(0xb6)][_0xeacbc(0xff)](_0xeacbc(0xcc)),_0xc2e50d=_0x7f587b[_0xeacbc(0xb6)][_0xeacbc(0xff)](_0xeacbc(0x10e)),_0x3324b8=_0x7f587b[_0xeacbc(0xb6)][_0xeacbc(0xff)](_0xeacbc(0xad)),_0xbb6378=_0x233fbd[_0xeacbc(0x119)][_0xeacbc(0xc5)](_0x7ccc54);let _0x2113a5,_0x2b275e,_0x5257fc;try{await _0x3324b8[_0xeacbc(0x107)](_0xbb6378,this[_0xeacbc(0x120)]),_0x2113a5=_0x3324b8[_0xeacbc(0xf2)](_0xbb6378),_0x2b275e=_0x3324b8[_0xeacbc(0xdb)](_0xbb6378);}catch(_0x6465a8){return void console[_0xeacbc(0x90)](_0x6465a8);}_0x7f587b[_0xeacbc(0xca)][_0xeacbc(0xeb)](_0x522324=>{const _0x1745e8=_0xeacbc;for(const _0x18dbc1 of Array[_0x1745e8(0x112)](_0x7f587b[_0x1745e8(0xca)][_0x1745e8(0xf1)][_0x1745e8(0xd2)](_0x1745e8(0xd1))))_0x522324[_0x1745e8(0xb4)](_0x18dbc1);}),_0x233fbd[_0xeacbc(0xba)]=!0x1,_0x7f587b[_0xeacbc(0xca)][_0xeacbc(0x97)](_0x180dbc=>{const _0x4dd063=_0xeacbc;_0x180dbc[_0x4dd063(0xa3)](null),_0x180dbc[_0x4dd063(0xf4)](_0x7f587b[_0x4dd063(0xca)][_0x4dd063(0x91)][_0x4dd063(0x9b)][_0x4dd063(0x111)]());const _0x101306=Object[_0x4dd063(0xed)](_0x2113a5);for(const _0x4ef0ad of _0x7f587b[_0x4dd063(0xca)][_0x4dd063(0x91)][_0x4dd063(0xb1)])_0x4dd063(0x117)!=_0x4ef0ad[_0x4dd063(0xd9)]&&_0x4ef0ad[_0x4dd063(0xb8)]()&&!_0x101306[_0x4dd063(0x96)](_0x4ef0ad[_0x4dd063(0xd9)])&&_0x180dbc[_0x4dd063(0x115)](_0x4ef0ad);for(const _0x741666 of _0x101306){let _0x5ca01e=_0x7f587b[_0x4dd063(0xca)][_0x4dd063(0x91)][_0x4dd063(0xfd)](_0x741666);_0x5ca01e&&_0x5ca01e[_0x4dd063(0xb8)]()||(_0x5ca01e=_0x180dbc[_0x4dd063(0x118)](_0x741666));const _0x4328f8=_0x2b275e[_0x741666],_0x31dc7c=Object[_0x4dd063(0xed)](_0x4328f8),_0x1f445f=_0x2113a5[_0x741666];for(const _0x276b67 of _0x5ca01e[_0x4dd063(0x111)]())_0x31dc7c[_0x4dd063(0x96)](_0x276b67)||_0x180dbc[_0x4dd063(0x8b)](_0x276b67,_0x5ca01e);for(const _0x304c39 of _0x31dc7c)_0x180dbc[_0x4dd063(0xe6)](_0x304c39,_0x2b275e[_0x741666][_0x304c39],_0x5ca01e);_0x180dbc[_0x4dd063(0x10f)](_0x180dbc[_0x4dd063(0x11a)](_0x5ca01e)),_0x180dbc[_0x4dd063(0xa7)](_0x7f587b[_0x4dd063(0xb5)][_0x4dd063(0x102)](_0x1f445f,_0x5ca01e),_0x5ca01e,0x0);}});const _0x41eac4=_0x284225(_0x7f587b[_0xeacbc(0xd3)],_0xeacbc(0xe9));if(_0xbb6378[_0xeacbc(0xe8)])_0x5257fc=-0x1==_0xbb6378[_0xeacbc(0xe8)][_0xeacbc(0x8e)](_0x41eac4)?_0x41eac4+':\x20'+_0xbb6378[_0xeacbc(0xe8)]:_0xbb6378[_0xeacbc(0xe8)];else _0x5257fc=_0x41eac4+':\x20'+(_0xbb6378[_0xeacbc(0xda)][_0xeacbc(0xb2)](_0x7f587b[_0xeacbc(0xd3)][_0xeacbc(0xdc)],{'month':_0xeacbc(0x11d),'day':_0xeacbc(0xe1)})+',\x20'+_0xbb6378[_0xeacbc(0xda)][_0xeacbc(0xab)](_0x7f587b[_0xeacbc(0xd3)][_0xeacbc(0xdc)],{'hour':_0xeacbc(0xe1),'minute':_0xeacbc(0xe1)}));return await _0xc2e50d[_0xeacbc(0xf3)]({'name':_0x5257fc}),_0x233fbd[_0xeacbc(0xba)]=!0x0,_0x7f587b[_0xeacbc(0x8f)][_0xeacbc(0xff)](_0xeacbc(0xf9))[_0xeacbc(0xfe)]();}}
|
|
23
|
+
const _0x2e2312=_0xf4f0;(function(_0x2e7196,_0x4ce5ef){const _0x1bc8f5=_0xf4f0,_0x5bebd2=_0x2e7196();while(!![]){try{const _0x12369b=parseInt(_0x1bc8f5(0x157))/0x1*(parseInt(_0x1bc8f5(0x17d))/0x2)+-parseInt(_0x1bc8f5(0x1af))/0x3*(parseInt(_0x1bc8f5(0x175))/0x4)+parseInt(_0x1bc8f5(0x1dc))/0x5+-parseInt(_0x1bc8f5(0x18f))/0x6+parseInt(_0x1bc8f5(0x1c0))/0x7*(parseInt(_0x1bc8f5(0x1e2))/0x8)+parseInt(_0x1bc8f5(0x173))/0x9*(-parseInt(_0x1bc8f5(0x1a6))/0xa)+-parseInt(_0x1bc8f5(0x1d9))/0xb*(-parseInt(_0x1bc8f5(0x159))/0xc);if(_0x12369b===_0x4ce5ef)break;else _0x5bebd2['push'](_0x5bebd2['shift']());}catch(_0x2f110c){_0x5bebd2['push'](_0x5bebd2['shift']());}}}(_0x4125,0xde440));import{Plugin as _0x307999}from'ckeditor5/src/core.js';import{CKEditorError as _0x9ee85,uid as _0x5d6f9b}from'ckeditor5/src/utils.js';import{RevisionTracker as _0xdea33a}from'./revisiontracker.js';import{RevisionHistoryUI as _0x3e5d1f}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x407bb9}from'./revisionviewer.js';import{RevisionViewerUI as _0x28ec69}from'./ui/revisionviewer/revisionviewerui.js';function _0x4125(){const _0x5bdb70=['define','create','has','removeMarker','update','repository','parse','_enhanceShowRevisionViewerCallback','toolbar','_closeRevisionViewer','from','creator','revision-history-missing-configuration','saveRevision','hide','changesNavigation','_showRevisionViewer','Restored','refreshVisibility','11705990zoCDLe','removeAttribute','remove','save','enableReadOnlyMode','revisionHistory','_cleanUp','setAttribute','revisionHistory.viewerEditorElement','8838edrcxh','init','Annotations','fromCharCode','error','locale','Autosave','fromVersion','plugins','data','isReadOnly','disableReadOnlyMode','roots','revisionHistory.requireRevisionName','isOfficialPlugin','users','lazyRoots','21aeiWwS','RevisionTracker','getAttributeKeys','document','catch','set','createRangeIn','exitToEditing','end','view','createdAt','then','includes','isEnabled','getRevisionDocumentData','style','getRevisionRootsAttributes','toLocaleDateString','push','enqueueChange','getRoot','destroy','getMarkersGroup','showRevisionViewerCallback','change','737tTCicY','bind','revisionHistory.editorContainer','3721045kbdqdw','detachRoot','RevisionViewerIntegration','revisionHistory.closeRevisionViewerCallback','getUser','_restoreRevision','2430016cZKgdZ','toLocaleTimeString','long','block','$graveyard','RevisionHistoryUtils','removeSelectionAttribute','Users','getRevisions','_viewerEditor','selection','DocumentOutlineUI','result','closeRevisionViewerCallback','addRevisionData','1582XSUAXO','addUser','628116xHTdiS','refreshPositioning','editor','name','RevisionHistory','revision-history-viewer-opened','join','markers','model','getRevision','_update','RestrictedEditingMode','revisionHistory.restoreRevisionCallback','revisionHistory.viewerContainer','DocumentOutline','none','rootName','isRevisionViewerOpen','_getRevisionViewerEditorConfig','PaginationLookup','map','_recalculatePageBreaks','get','isOpen','Dialog','element','9cTdYvl','numeric','2240fEUrUP','pluginName','keys','toJSON','uiLanguage','addRoot','config','restrictedEditingException','108JZpUah','restoreRevision','isReady','isAnonymous','toVersion','display','isPremiumPlugin','isAttached','indexOf','commands','adapter','RevisionHistoryUI','requires','revisionHistory.showRevisionViewerCallback','loadRevisionData','RevisionsRepository','_enhanceCloseRevisionViewerCallback','setSelection','9102690HQdIFZ','translations','insert','RevisionViewer'];_0x4125=function(){return _0x5bdb70;};return _0x4125();}function _0xf4f0(_0x596891,_0x3307d0){const _0x412571=_0x4125();return _0xf4f0=function(_0xf4f072,_0x49aba3){_0xf4f072=_0xf4f072-0x14f;let _0x3fd480=_0x412571[_0xf4f072];return _0x3fd480;},_0xf4f0(_0x596891,_0x3307d0);}import{RevisionsSidebar as _0x548264}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x599178}from'./editor/revisionviewereditor.js';import{getTranslation as _0x13fe30}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x494352}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x2e2312(0x188),_0x2e2312(0x164)];export class RevisionViewerIntegration extends _0x307999{[_0x2e2312(0x154)];static get[_0x2e2312(0x176)](){const _0x251c22=_0x2e2312;return _0x251c22(0x1de);}static get[_0x2e2312(0x1bd)](){return!0x0;}static get[_0x2e2312(0x183)](){return!0x0;}constructor(_0x2c2210){const _0x2d7c42=_0x2e2312;function _0x4d9a07(_0x4e6809){const _0x7891b0=_0xf4f0;return _0x4e6809[_0x7891b0(0x16d)](_0x56a523=>String[_0x7891b0(0x1b2)](_0x56a523))[_0x7891b0(0x15f)]('');}super(_0x2c2210),this[_0x2d7c42(0x154)]=_0x2d7c42(0x1c8),_0x2c2210[_0x4d9a07([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d9a07([0x76,0x69,0x65,0x77])][_0x4d9a07([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4d9a07([0x61,0x75,0x74,0x6f]),_0x2c2210[_0x4d9a07([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x4d9a07([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4d9a07([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x4d9a07([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x4d9a07([0x6f,0x6b])});}}export class RevisionHistory extends _0x307999{[_0x2e2312(0x151)];static get[_0x2e2312(0x176)](){const _0x895181=_0x2e2312;return _0x895181(0x15d);}static get[_0x2e2312(0x1bd)](){return!0x0;}static get[_0x2e2312(0x183)](){return!0x0;}static get[_0x2e2312(0x189)](){return[_0xdea33a,_0x3e5d1f];}constructor(_0x5895e1){const _0x252be1=_0x2e2312;if(super(_0x5895e1),!this[_0x252be1(0x15b)][_0x252be1(0x17b)][_0x252be1(0x16f)](_0x252be1(0x1ab)))throw new _0x9ee85(_0x252be1(0x19f),this);this[_0x252be1(0x151)]=null,this[_0x252be1(0x1c5)](_0x252be1(0x16a),!0x1),this[_0x252be1(0x15b)][_0x252be1(0x17b)][_0x252be1(0x193)](_0x252be1(0x18a),_0x85387b=>this[_0x252be1(0x1a3)]({..._0x85387b,'translations':this[_0x252be1(0x15b)][_0x252be1(0x1b4)][_0x252be1(0x190)]})),this[_0x252be1(0x15b)][_0x252be1(0x17b)][_0x252be1(0x193)](_0x252be1(0x1df),_0x1923e3=>this[_0x252be1(0x19c)](_0x1923e3)),this[_0x252be1(0x15b)][_0x252be1(0x17b)][_0x252be1(0x193)](_0x252be1(0x165),_0x46993f=>this[_0x252be1(0x1e1)](_0x46993f)),this[_0x252be1(0x15b)][_0x252be1(0x17b)][_0x252be1(0x193)](_0x252be1(0x1bc),!0x1),this[_0x252be1(0x19a)](),this[_0x252be1(0x18d)]();}set[_0x2e2312(0x187)](_0x4f8c14){const _0x1445d1=_0x2e2312;this[_0x1445d1(0x15b)][_0x1445d1(0x1b7)][_0x1445d1(0x16f)](_0x1445d1(0x1c1))[_0x1445d1(0x187)]=_0x4f8c14;}get[_0x2e2312(0x187)](){const _0x129324=_0x2e2312;return this[_0x129324(0x15b)][_0x129324(0x1b7)][_0x129324(0x16f)](_0x129324(0x1c1))[_0x129324(0x187)];}[_0x2e2312(0x156)](_0x26b378){const _0x43062b=_0x2e2312;return this[_0x43062b(0x15b)][_0x43062b(0x1b7)][_0x43062b(0x16f)](_0x43062b(0x1c1))[_0x43062b(0x156)](_0x26b378);}[_0x2e2312(0x162)](_0x4d7b25){const _0x32362f=_0x2e2312;return this[_0x32362f(0x15b)][_0x32362f(0x1b7)][_0x32362f(0x16f)](_0x32362f(0x18c))[_0x32362f(0x162)](_0x4d7b25);}[_0x2e2312(0x150)](_0x19c732){const _0x1cb03=_0x2e2312;return this[_0x1cb03(0x15b)][_0x1cb03(0x1b7)][_0x1cb03(0x16f)](_0x1cb03(0x18c))[_0x1cb03(0x150)](_0x19c732||{'toJSON':!0x1});}[_0x2e2312(0x16b)](){const _0x599963=_0x2e2312,_0x2d9acf=this[_0x599963(0x15b)],_0x5391d8=_0x494352(_0x2d9acf,d),_0xbe95c=_0x2d9acf[_0x599963(0x1b7)][_0x599963(0x16f)](_0x599963(0x1c1)),_0xd629f2=_0x2d9acf[_0x599963(0x1b7)][_0x599963(0x16f)](_0x599963(0x14f))[_0x599963(0x1be)];return _0x5391d8[_0x599963(0x19b)]=[_0x599963(0x1c7),_0x599963(0x17e),_0x599963(0x1a2)],delete _0x5391d8[_0x599963(0x1bf)],(_0x5391d8[_0x599963(0x1b7)][_0x599963(0x1d2)](RevisionViewerIntegration,_0x407bb9,_0x28ec69,class extends _0x307999{static get[_0x599963(0x189)](){const _0x28ca29=_0x599963;return[_0x407bb9,_0x28ca29(0x14f)];}[_0x599963(0x1b0)](){const _0x27b6e4=_0x599963,_0x4dc0cb=this[_0x27b6e4(0x15b)][_0x27b6e4(0x1b7)][_0x27b6e4(0x16f)](_0x27b6e4(0x14f));for(const _0x51beba of _0xd629f2)_0x51beba[_0x27b6e4(0x180)]||_0x4dc0cb[_0x27b6e4(0x1e0)](_0x51beba['id'])||_0x4dc0cb[_0x27b6e4(0x158)](_0x51beba);const _0x2be550=_0xbe95c[_0x27b6e4(0x198)][_0x27b6e4(0x150)]();let _0x33a3d8=null;const _0x53c9c5=this[_0x27b6e4(0x15b)][_0x27b6e4(0x1b7)][_0x27b6e4(0x16f)](_0x27b6e4(0x192));_0x53c9c5[_0x27b6e4(0x187)]=_0xbe95c[_0x27b6e4(0x187)],_0x53c9c5[_0x27b6e4(0x1da)](_0x27b6e4(0x1cd))['to'](_0xbe95c),this[_0x27b6e4(0x15b)][_0x27b6e4(0x186)][_0x27b6e4(0x16f)](_0x27b6e4(0x17e))[_0x27b6e4(0x1da)](_0x27b6e4(0x1cd))['to'](_0x2d9acf,_0x27b6e4(0x1b9),_0x345281=>!_0x345281);for(const _0x3607cc of _0x2be550){const _0x425507=null===_0x3607cc[_0x27b6e4(0x19e)];if(_0x425507&&_0x3607cc[_0x27b6e4(0x181)]===_0x3607cc[_0x27b6e4(0x1b6)])continue;const _0x51c098=_0x3607cc[_0x27b6e4(0x178)]();_0x53c9c5[_0x27b6e4(0x156)](_0x51c098,(_0x5622a7,_0x241216,_0x3b3129)=>{const _0x291338=_0x27b6e4;if(_0x425507){if(_0x33a3d8)_0x33a3d8[_0x291338(0x163)](_0x5622a7,_0x241216);else{if(!_0x241216){const _0x25db76=_0x3b3129[_0x291338(0x178)]();_0x25db76['id']=_0x5d6f9b(),_0xbe95c[_0x291338(0x1a0)](_0x25db76,_0x3b3129[_0x291338(0x181)])[_0x291338(0x1cb)](_0x27bf63=>{_0x33a3d8=_0x27bf63;});}}}else _0x3607cc[_0x291338(0x163)](_0x5622a7,_0x241216);});}}},_0x548264),_0x5391d8);}[_0x2e2312(0x19a)](){const _0x190877=_0x2e2312,_0x471c2a=this[_0x190877(0x15b)][_0x190877(0x17b)][_0x190877(0x16f)](_0x190877(0x1ab))[_0x190877(0x1d7)];this[_0x190877(0x15b)][_0x190877(0x17b)][_0x190877(0x1c5)](_0x190877(0x18a),async()=>{const _0x4aeea3=_0x190877;this[_0x4aeea3(0x15b)][_0x4aeea3(0x1aa)](_0x4aeea3(0x15e));const _0x1b03cd=this[_0x4aeea3(0x15b)][_0x4aeea3(0x1b7)][_0x4aeea3(0x16f)](_0x4aeea3(0x1c1));if(this[_0x4aeea3(0x15b)][_0x4aeea3(0x1b7)][_0x4aeea3(0x195)](_0x4aeea3(0x1b5))){const _0x30b0ba=this[_0x4aeea3(0x15b)][_0x4aeea3(0x1b7)][_0x4aeea3(0x16f)](_0x4aeea3(0x1b5));await _0x30b0ba[_0x4aeea3(0x1a9)]();}else await _0x1b03cd[_0x4aeea3(0x197)]();if(this[_0x4aeea3(0x15b)][_0x4aeea3(0x1b7)][_0x4aeea3(0x195)](_0x4aeea3(0x16c))&&this[_0x4aeea3(0x15b)][_0x4aeea3(0x1b7)][_0x4aeea3(0x16f)](_0x4aeea3(0x16c))[_0x4aeea3(0x16e)](),this[_0x4aeea3(0x15b)][_0x4aeea3(0x1b7)][_0x4aeea3(0x195)](_0x4aeea3(0x171))){const _0x353a37=this[_0x4aeea3(0x15b)][_0x4aeea3(0x1b7)][_0x4aeea3(0x16f)](_0x4aeea3(0x171));_0x353a37[_0x4aeea3(0x170)]&&_0x353a37[_0x4aeea3(0x1a1)]();}const _0x277bc3=this[_0x4aeea3(0x16b)]();return _0x471c2a(_0x277bc3)[_0x4aeea3(0x1cb)](_0x51eb0b=>{const _0x3a2979=_0x4aeea3;return(this[_0x3a2979(0x151)]=_0x51eb0b,this[_0x3a2979(0x15b)][_0x3a2979(0x1b7)][_0x3a2979(0x195)](_0x3a2979(0x1b1)))&&this[_0x3a2979(0x15b)][_0x3a2979(0x1b7)][_0x3a2979(0x16f)](_0x3a2979(0x1b1))[_0x3a2979(0x1a5)](),(this[_0x3a2979(0x15b)][_0x3a2979(0x1b7)][_0x3a2979(0x195)](_0x3a2979(0x167))&&(this[_0x3a2979(0x15b)][_0x3a2979(0x1b7)][_0x3a2979(0x16f)](_0x3a2979(0x153))[_0x3a2979(0x1c9)][_0x3a2979(0x172)][_0x3a2979(0x1cf)][_0x3a2979(0x182)]=_0x3a2979(0x168)),_0x51eb0b);})[_0x4aeea3(0x1c4)](_0x1bbb09=>(console[_0x4aeea3(0x1b3)](_0x1bbb09),this[_0x4aeea3(0x15b)][_0x4aeea3(0x1ba)](_0x4aeea3(0x15e)),null));});}[_0x2e2312(0x18d)](){const _0x3e9ccd=_0x2e2312,_0x267d17=this[_0x3e9ccd(0x15b)][_0x3e9ccd(0x17b)][_0x3e9ccd(0x16f)](_0x3e9ccd(0x1ab))[_0x3e9ccd(0x155)];this[_0x3e9ccd(0x15b)][_0x3e9ccd(0x17b)][_0x3e9ccd(0x1c5)](_0x3e9ccd(0x1df),()=>(this[_0x3e9ccd(0x15b)][_0x3e9ccd(0x1b7)][_0x3e9ccd(0x195)](_0x3e9ccd(0x16c))&&this[_0x3e9ccd(0x15b)][_0x3e9ccd(0x1b7)][_0x3e9ccd(0x16f)](_0x3e9ccd(0x16c))[_0x3e9ccd(0x16e)](),this[_0x3e9ccd(0x15b)][_0x3e9ccd(0x1b7)][_0x3e9ccd(0x195)](_0x3e9ccd(0x167))&&(this[_0x3e9ccd(0x15b)][_0x3e9ccd(0x1b7)][_0x3e9ccd(0x16f)](_0x3e9ccd(0x153))[_0x3e9ccd(0x1c9)][_0x3e9ccd(0x172)][_0x3e9ccd(0x1cf)][_0x3e9ccd(0x182)]=''),this[_0x3e9ccd(0x151)][_0x3e9ccd(0x1b7)][_0x3e9ccd(0x16f)](_0x3e9ccd(0x192))[_0x3e9ccd(0x1ac)](),_0x267d17(this[_0x3e9ccd(0x151)])[_0x3e9ccd(0x1cb)](()=>{const _0x33c1a2=_0x3e9ccd;if(this[_0x33c1a2(0x15b)][_0x33c1a2(0x1ba)](_0x33c1a2(0x15e)),this[_0x33c1a2(0x151)]=null,this[_0x33c1a2(0x15b)][_0x33c1a2(0x1b7)][_0x33c1a2(0x195)](_0x33c1a2(0x1b1))){const _0x32c88e=this[_0x33c1a2(0x15b)][_0x33c1a2(0x1b7)][_0x33c1a2(0x16f)](_0x33c1a2(0x1b1));_0x32c88e[_0x33c1a2(0x1a5)](),_0x32c88e[_0x33c1a2(0x15a)]();}})));}[_0x2e2312(0x1a3)](_0x6fc436){const _0x486efe=_0x2e2312,_0x2f9d99=this[_0x486efe(0x15b)][_0x486efe(0x17b)][_0x486efe(0x16f)](_0x486efe(0x1db)),_0x167033=this[_0x486efe(0x15b)][_0x486efe(0x17b)][_0x486efe(0x16f)](_0x486efe(0x166)),_0x566132=this[_0x486efe(0x15b)][_0x486efe(0x17b)][_0x486efe(0x16f)](_0x486efe(0x1ae));return _0x599178[_0x486efe(0x194)](_0x566132,_0x6fc436)[_0x486efe(0x1cb)](_0x53590a=>(_0x167033[_0x486efe(0x1cf)][_0x486efe(0x182)]=_0x486efe(0x1e5),_0x2f9d99[_0x486efe(0x1cf)][_0x486efe(0x182)]=_0x486efe(0x168),this[_0x486efe(0x16a)]=!0x0,_0x53590a));}[_0x2e2312(0x19c)](_0x33c94d){const _0x3a3010=_0x2e2312,_0xa91720=this[_0x3a3010(0x15b)][_0x3a3010(0x17b)][_0x3a3010(0x16f)](_0x3a3010(0x1db));return this[_0x3a3010(0x15b)][_0x3a3010(0x17b)][_0x3a3010(0x16f)](_0x3a3010(0x166))[_0x3a3010(0x1cf)][_0x3a3010(0x182)]=_0x3a3010(0x168),_0xa91720[_0x3a3010(0x1cf)][_0x3a3010(0x182)]='',this[_0x3a3010(0x16a)]=!0x1,_0x33c94d[_0x3a3010(0x1d5)]();}async[_0x2e2312(0x1e1)](_0x417e93){const _0x2319c3=_0x2e2312,_0x183c10=this[_0x2319c3(0x15b)],_0x2b71b3=this[_0x2319c3(0x151)][_0x2319c3(0x1b7)][_0x2319c3(0x16f)](_0x2319c3(0x192)),_0xc10f31=_0x183c10[_0x2319c3(0x1b7)][_0x2319c3(0x16f)](_0x2319c3(0x1c1)),_0x28f873=_0x183c10[_0x2319c3(0x1b7)][_0x2319c3(0x16f)](_0x2319c3(0x1e7)),_0x1c2887=_0x2b71b3[_0x2319c3(0x198)][_0x2319c3(0x162)](_0x417e93);let _0x88d44c,_0x137526,_0x4dd22c;try{await _0x28f873[_0x2319c3(0x18b)](_0x1c2887,this[_0x2319c3(0x187)]),_0x88d44c=_0x28f873[_0x2319c3(0x1ce)](_0x1c2887),_0x137526=_0x28f873[_0x2319c3(0x1d0)](_0x1c2887);}catch(_0x534d41){return void console[_0x2319c3(0x1b3)](_0x534d41);}_0x183c10[_0x2319c3(0x161)][_0x2319c3(0x1d8)](_0x1f1d4c=>{const _0x3c3be2=_0x2319c3;for(const _0x517491 of Array[_0x3c3be2(0x19d)](_0x183c10[_0x3c3be2(0x161)][_0x3c3be2(0x160)][_0x3c3be2(0x1d6)](_0x3c3be2(0x17c))))_0x1f1d4c[_0x3c3be2(0x196)](_0x517491);}),_0x2b71b3[_0x2319c3(0x17f)]=!0x1,_0x183c10[_0x2319c3(0x161)][_0x2319c3(0x1d3)](_0x3b5c23=>{const _0x59429d=_0x2319c3;_0x3b5c23[_0x59429d(0x18e)](null),_0x3b5c23[_0x59429d(0x1e8)](_0x183c10[_0x59429d(0x161)][_0x59429d(0x1c3)][_0x59429d(0x152)][_0x59429d(0x1c2)]());const _0x58ad70=Object[_0x59429d(0x177)](_0x88d44c);for(const _0x56008a of _0x183c10[_0x59429d(0x161)][_0x59429d(0x1c3)][_0x59429d(0x1bb)])_0x59429d(0x1e6)!=_0x56008a[_0x59429d(0x169)]&&_0x56008a[_0x59429d(0x184)]()&&!_0x58ad70[_0x59429d(0x1cc)](_0x56008a[_0x59429d(0x169)])&&_0x3b5c23[_0x59429d(0x1dd)](_0x56008a);for(const _0x2146e4 of _0x58ad70){let _0x229d2c=_0x183c10[_0x59429d(0x161)][_0x59429d(0x1c3)][_0x59429d(0x1d4)](_0x2146e4);_0x229d2c&&_0x229d2c[_0x59429d(0x184)]()||(_0x229d2c=_0x3b5c23[_0x59429d(0x17a)](_0x2146e4));const _0x56cbb0=_0x137526[_0x2146e4],_0x281233=Object[_0x59429d(0x177)](_0x56cbb0),_0x190d4b=_0x88d44c[_0x2146e4];for(const _0x264fa8 of _0x229d2c[_0x59429d(0x1c2)]())_0x281233[_0x59429d(0x1cc)](_0x264fa8)||_0x3b5c23[_0x59429d(0x1a7)](_0x264fa8,_0x229d2c);for(const _0x11f770 of _0x281233)_0x3b5c23[_0x59429d(0x1ad)](_0x11f770,_0x137526[_0x2146e4][_0x11f770],_0x229d2c);_0x3b5c23[_0x59429d(0x1a8)](_0x3b5c23[_0x59429d(0x1c6)](_0x229d2c)),_0x3b5c23[_0x59429d(0x191)](_0x183c10[_0x59429d(0x1b8)][_0x59429d(0x199)](_0x190d4b,_0x229d2c),_0x229d2c,0x0);}});const _0x57888c=_0x13fe30(_0x183c10[_0x2319c3(0x1b4)],_0x2319c3(0x1a4));if(_0x1c2887[_0x2319c3(0x15c)])_0x4dd22c=-0x1==_0x1c2887[_0x2319c3(0x15c)][_0x2319c3(0x185)](_0x57888c)?_0x57888c+':\x20'+_0x1c2887[_0x2319c3(0x15c)]:_0x1c2887[_0x2319c3(0x15c)];else _0x4dd22c=_0x57888c+':\x20'+(_0x1c2887[_0x2319c3(0x1ca)][_0x2319c3(0x1d1)](_0x183c10[_0x2319c3(0x1b4)][_0x2319c3(0x179)],{'month':_0x2319c3(0x1e4),'day':_0x2319c3(0x174)})+',\x20'+_0x1c2887[_0x2319c3(0x1ca)][_0x2319c3(0x1e3)](_0x183c10[_0x2319c3(0x1b4)][_0x2319c3(0x179)],{'hour':_0x2319c3(0x174),'minute':_0x2319c3(0x174)}));return await _0xc10f31[_0x2319c3(0x1a0)]({'name':_0x4dd22c}),_0x2b71b3[_0x2319c3(0x17f)]=!0x0,_0x183c10[_0x2319c3(0x17b)][_0x2319c3(0x16f)](_0x2319c3(0x1ab))[_0x2319c3(0x155)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5995(_0x4000b3,_0x49c247){const _0x22553c=_0x2255();return _0x5995=function(_0x599529,_0x2bd31c){_0x599529=_0x599529-0xdf;let _0x29ba28=_0x22553c[_0x599529];return _0x29ba28;},_0x5995(_0x4000b3,_0x49c247);}const _0x11c590=_0x5995;(function(_0x155704,_0x5c703e){const _0x45c3a9=_0x5995,_0x4d6f18=_0x155704();while(!![]){try{const _0x36f089=parseInt(_0x45c3a9(0x129))/0x1*(-parseInt(_0x45c3a9(0xf5))/0x2)+parseInt(_0x45c3a9(0x100))/0x3*(parseInt(_0x45c3a9(0xf8))/0x4)+parseInt(_0x45c3a9(0x10b))/0x5+parseInt(_0x45c3a9(0x123))/0x6+-parseInt(_0x45c3a9(0xe4))/0x7+parseInt(_0x45c3a9(0xe6))/0x8*(-parseInt(_0x45c3a9(0x120))/0x9)+parseInt(_0x45c3a9(0x128))/0xa*(-parseInt(_0x45c3a9(0xfc))/0xb);if(_0x36f089===_0x5c703e)break;else _0x4d6f18['push'](_0x4d6f18['shift']());}catch(_0x346a09){_0x4d6f18['push'](_0x4d6f18['shift']());}}}(_0x2255,0x72f38));import{Plugin as _0x2e6327}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x370abf,ViewText as _0x389091,ViewElement as _0x48cdc2,ViewContainerElement as _0x517870,ViewAttributeElement as _0x59f8df,ViewEmptyElement as _0x5c71d7,ViewRawElement as _0x19055e,ViewUIElement as _0x5278c4}from'ckeditor5/src/engine.js';function _0x2255(){const _0x33ba0b=['domConverter','processor','attributesAfter','filter','forEach','type','RevisionHistoryUtils','string','_viewClassToTypeChar','_getTypeCharForViewElement','getRevisionRootsAttributes','isPremiumPlugin','4fOalZt','document','getFillerOffset','116WEUcwa','getRevisionDocumentData','createElement','default','55UUAJcd','marked','attachChange','constructor','77481uNNWwX','render','view','domChildrenToView','_removeRevisionMarkers','editor','editing','revision-end','htmlProcessor','_appendChild','toData','4672600JEDrOt','getRevision','map','isAttached','attributes','collaboration.channelId','parse','diffData','fillerOffset','name','data-revision-','append','_makeModelFromViewString','revision-start','viewChildrenToDom','childNodes','insertions','loadRevisionData','children','get','customProperties','2642958SjXMtQ','_setCustomProperty','from','2401560sEkdZe','useFillerType','config','data','pluginName','1052710RFyGuI','32716rrHaJX','isOfficialPlugin','length','_typeCharToViewClass','innerHTML','_getViewFromDiffObj','div','5092318OFIUqK','toModel','8lgsfBk','startsWith','domDocument'];_0x2255=function(){return _0x33ba0b;};return _0x2255();}export class RevisionHistoryUtils extends _0x2e6327{static get[_0x11c590(0x127)](){const _0x274b06=_0x11c590;return _0x274b06(0xef);}static get[_0x11c590(0x12a)](){return!0x0;}static get[_0x11c590(0xf4)](){return!0x0;}[_0x11c590(0xf1)]=new Map([[_0x517870,'c'],[_0x59f8df,'a'],[_0x5c71d7,'e'],[_0x19055e,'r'],[_0x5278c4,'u']]);[_0x11c590(0xe0)]=new Map([['c',_0x517870],['a',_0x59f8df],['e',_0x5c71d7],['r',_0x19055e],['u',_0x5278c4]]);async[_0x11c590(0x11c)](_0x22151e,_0x4bbabd){const _0x344cb7=_0x11c590;if(_0x22151e[_0x344cb7(0x112)]||!_0x4bbabd)return;const _0x1cb42c=this[_0x344cb7(0x105)][_0x344cb7(0x125)][_0x344cb7(0x11e)](_0x344cb7(0x110)),_0x4d8fec=await _0x4bbabd[_0x344cb7(0x10c)]({'channelId':_0x1cb42c,'revisionId':_0x22151e['id']});_0x22151e[_0x344cb7(0x112)]=_0x4d8fec[_0x344cb7(0x112)];}[_0x11c590(0xf9)](_0x506346){const _0x32f5fd=_0x11c590,_0x2dbbcd={};for(const _0x44d23d in _0x506346[_0x32f5fd(0x112)]){if(_0x506346[_0x32f5fd(0x112)][_0x44d23d][_0x32f5fd(0xfe)]&&!_0x506346[_0x32f5fd(0x112)][_0x44d23d][_0x32f5fd(0xfe)][_0x32f5fd(0x10e)])continue;const _0x27781a=this[_0x32f5fd(0x104)](JSON[_0x32f5fd(0x111)](_0x506346[_0x32f5fd(0x112)][_0x44d23d][_0x32f5fd(0x11b)])),_0x48a7b1=this[_0x32f5fd(0x105)][_0x32f5fd(0x106)][_0x32f5fd(0x102)][_0x32f5fd(0xf6)],_0x3c2e35=new _0x370abf(_0x48a7b1,_0x27781a[_0x32f5fd(0x10d)](_0x55c46a=>this[_0x32f5fd(0xe2)](_0x55c46a,!0x1)));this[_0x32f5fd(0x105)][_0x32f5fd(0x126)][_0x32f5fd(0xea)][_0x32f5fd(0x124)](_0x32f5fd(0xfd)),_0x2dbbcd[_0x44d23d]=this[_0x32f5fd(0x105)][_0x32f5fd(0x126)][_0x32f5fd(0xea)][_0x32f5fd(0x10a)](_0x3c2e35),this[_0x32f5fd(0x105)][_0x32f5fd(0x126)][_0x32f5fd(0xea)][_0x32f5fd(0x124)](_0x32f5fd(0xfb));}return _0x2dbbcd;}[_0x11c590(0xf3)](_0x5ea46a){const _0x4240d5=_0x11c590,_0x3c17be={};for(const _0x4a4038 in _0x5ea46a[_0x4240d5(0x112)])_0x5ea46a[_0x4240d5(0x112)][_0x4a4038][_0x4240d5(0xfe)]&&!_0x5ea46a[_0x4240d5(0x112)][_0x4a4038][_0x4240d5(0xfe)][_0x4240d5(0x10e)]||(_0x3c17be[_0x4a4038]=_0x5ea46a[_0x4240d5(0x112)][_0x4a4038][_0x4240d5(0xeb)]||{});return _0x3c17be;}[_0x11c590(0xf2)](_0x40446f){const _0x585100=_0x11c590;return this[_0x585100(0xf1)][_0x585100(0x11e)](_0x40446f[_0x585100(0xff)]);}[_0x11c590(0xe2)](_0x44e9c7,_0x351495){const _0x4e8d15=_0x11c590,_0x38694f=this[_0x4e8d15(0x105)][_0x4e8d15(0x106)][_0x4e8d15(0x102)][_0x4e8d15(0xf6)];if(_0x4e8d15(0xf0)==typeof _0x44e9c7)return new _0x389091(_0x38694f,_0x44e9c7);{let _0x3f752b,_0x34b1a5;_0x34b1a5='u'==_0x44e9c7[_0x4e8d15(0xee)]||'r'==_0x44e9c7[_0x4e8d15(0xee)]?[]:_0x44e9c7[_0x4e8d15(0x11d)][_0x4e8d15(0x10d)](_0x314bee=>this[_0x4e8d15(0xe2)](_0x314bee,_0x351495));const _0x1d86f0=this[_0x4e8d15(0xe0)][_0x4e8d15(0x11e)](_0x44e9c7[_0x4e8d15(0xee)])||_0x48cdc2,_0x5657b1=this[_0x4e8d15(0x105)][_0x4e8d15(0x126)][_0x4e8d15(0x108)][_0x4e8d15(0xe9)];if(_0x3f752b=new _0x1d86f0(_0x38694f,_0x44e9c7[_0x4e8d15(0x114)],_0x44e9c7[_0x4e8d15(0x10f)],_0x34b1a5),'u'==_0x44e9c7[_0x4e8d15(0xee)]&&_0x44e9c7[_0x4e8d15(0x11d)][0x0]){const _0x2affde=_0x44e9c7[_0x4e8d15(0x11d)][0x0];if(_0x3f752b[_0x4e8d15(0x101)]=function(_0x427d28){const _0x356256=_0x4e8d15,_0x2bd305=_0x427d28[_0x356256(0xfa)](_0x356256(0xe3));return _0x2bd305[_0x356256(0xe1)]=_0x2affde,_0x2bd305[_0x356256(0x11a)][0x0];},_0x351495){const _0xed359c=new _0x370abf(_0x38694f);_0xed359c[_0x4e8d15(0x109)](_0x3f752b);const _0xc317e0=Array[_0x4e8d15(0x122)](_0x5657b1[_0x4e8d15(0x119)](_0xed359c,{'bind':!0x1})),_0x5ac997=_0x5657b1[_0x4e8d15(0xe8)][_0x4e8d15(0xfa)](_0x4e8d15(0xe3));_0x5ac997[_0x4e8d15(0x116)](..._0xc317e0),_0x3f752b=Array[_0x4e8d15(0x122)](_0x5657b1[_0x4e8d15(0x103)](_0x5ac997))[0x0];}}else{if('r'==_0x44e9c7[_0x4e8d15(0xee)]&&_0x44e9c7[_0x4e8d15(0x11d)][0x0]){const _0x14c4cc=_0x44e9c7[_0x4e8d15(0x11d)][0x0];if(_0x3f752b[_0x4e8d15(0x101)]=function(_0x2e1bcc){const _0x357fbd=_0x4e8d15;_0x2e1bcc[_0x357fbd(0xe1)]=_0x14c4cc;},_0x351495){const _0x3d0878=new _0x370abf(_0x38694f);_0x3d0878[_0x4e8d15(0x109)](_0x3f752b);const _0xf0e50c=Array[_0x4e8d15(0x122)](_0x5657b1[_0x4e8d15(0x119)](_0x3d0878,{'bind':!0x1})),_0x331b11=_0x5657b1[_0x4e8d15(0xe8)][_0x4e8d15(0xfa)](_0x4e8d15(0xe3));_0x331b11[_0x4e8d15(0x116)](..._0xf0e50c);const _0x1a1f81=Array[_0x4e8d15(0x122)](_0x5657b1[_0x4e8d15(0x103)](_0x331b11));_0x1a1f81[_0x4e8d15(0xdf)]>0x1?_0x3f752b[_0x4e8d15(0x109)](_0x1a1f81):_0x3f752b=_0x1a1f81[0x0];}}}if(_0x44e9c7[_0x4e8d15(0x11f)]){for(const [_0x277356,_0xcdcad2]of _0x44e9c7[_0x4e8d15(0x11f)])_0x3f752b[_0x4e8d15(0x121)](_0x277356,_0xcdcad2);}const _0x30f8d4=void 0x0===_0x44e9c7[_0x4e8d15(0x113)]?null:_0x44e9c7[_0x4e8d15(0x113)];return null!==_0x30f8d4&&(_0x3f752b[_0x4e8d15(0xf7)]=()=>_0x30f8d4),_0x3f752b;}}[_0x11c590(0x117)](_0x4c0219){const _0x4e27d8=_0x11c590,_0x274b94=JSON[_0x4e27d8(0x111)](_0x4c0219),_0x1dc225=this[_0x4e27d8(0x105)][_0x4e27d8(0x106)][_0x4e27d8(0x102)][_0x4e27d8(0xf6)],_0x126ed6=new _0x370abf(_0x1dc225,_0x274b94[_0x4e27d8(0x10d)](_0x3db37e=>this[_0x4e27d8(0xe2)](_0x3db37e,!0x0)));return this[_0x4e27d8(0x105)][_0x4e27d8(0x126)][_0x4e27d8(0xe5)](_0x126ed6);}[_0x11c590(0x104)](_0x371ca4){const _0x52304e=_0x11c590;return(_0x371ca4=_0x371ca4[_0x52304e(0xec)](_0x28c365=>!_0x28c365[_0x52304e(0x114)]||_0x52304e(0x118)!==_0x28c365[_0x52304e(0x114)]&&_0x52304e(0x107)!==_0x28c365[_0x52304e(0x114)]))[_0x52304e(0xed)](_0x1b38a9=>{const _0x511b07=_0x52304e;_0x511b07(0xf0)!=typeof _0x1b38a9&&(_0x1b38a9[_0x511b07(0x11d)]=this[_0x511b07(0x104)](_0x1b38a9[_0x511b07(0x11d)]),_0x1b38a9[_0x511b07(0x10f)]=_0x1b38a9[_0x511b07(0x10f)][_0x511b07(0xec)](_0x2ad5c4=>!_0x2ad5c4[0x0][_0x511b07(0xe7)](_0x511b07(0x115))));}),_0x371ca4;}}
|