@ckeditor/ckeditor5-revision-history 46.0.1 → 46.0.2-alpha.1
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
|
+
(_0x47e112=>{const {vi:{dictionary:_0x329bf8,getPluralForm:_0x471e69}}={'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':_0x1d8f47=>0x0}};_0x47e112['vi']||={'dictionary':{},'getPluralForm':null},_0x47e112['vi']['dictionary']=Object['assign'](_0x47e112['vi']['dictionary'],_0x329bf8),_0x47e112['vi']['getPluralForm']=_0x471e69;})(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':_0x53254d=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xe98f9a=>{const {'zh-cn':{dictionary:_0x4f214a,getPluralForm:_0x85d81e}}={'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':_0x28a1a5=>0x0}};_0xe98f9a['zh-cn']||={'dictionary':{},'getPluralForm':null},_0xe98f9a['zh-cn']['dictionary']=Object['assign'](_0xe98f9a['zh-cn']['dictionary'],_0x4f214a),_0xe98f9a['zh-cn']['getPluralForm']=_0x85d81e;})(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':_0x1ca06c=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e7714=>{const {zh:{dictionary:_0x12578b,getPluralForm:_0x15d718}}={'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':_0x435cb8=>0x0}};_0x3e7714['zh']||={'dictionary':{},'getPluralForm':null},_0x3e7714['zh']['dictionary']=Object['assign'](_0x3e7714['zh']['dictionary'],_0x12578b),_0x3e7714['zh']['getPluralForm']=_0x15d718;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "46.0.1",
|
|
3
|
+
"version": "46.0.2-alpha.1",
|
|
4
4
|
"description": "Document revision history feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-autosave": "46.0.1",
|
|
43
|
-
"@ckeditor/ckeditor5-comments": "46.0.1",
|
|
44
|
-
"@ckeditor/ckeditor5-core": "46.0.1",
|
|
45
|
-
"@ckeditor/ckeditor5-editor-classic": "46.0.1",
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "46.0.1",
|
|
47
|
-
"@ckeditor/ckeditor5-icons": "46.0.1",
|
|
48
|
-
"@ckeditor/ckeditor5-ui": "46.0.1",
|
|
49
|
-
"@ckeditor/ckeditor5-utils": "46.0.1",
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "46.0.2-alpha.1",
|
|
43
|
+
"@ckeditor/ckeditor5-comments": "46.0.2-alpha.1",
|
|
44
|
+
"@ckeditor/ckeditor5-core": "46.0.2-alpha.1",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-classic": "46.0.2-alpha.1",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "46.0.2-alpha.1",
|
|
47
|
+
"@ckeditor/ckeditor5-icons": "46.0.2-alpha.1",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "46.0.2-alpha.1",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "46.0.2-alpha.1",
|
|
50
50
|
"@types/luxon": "3.6.2",
|
|
51
|
-
"ckeditor5": "46.0.1",
|
|
52
|
-
"ckeditor5-collaboration": "46.0.1",
|
|
51
|
+
"ckeditor5": "46.0.2-alpha.1",
|
|
52
|
+
"ckeditor5-collaboration": "46.0.2-alpha.1",
|
|
53
53
|
"es-toolkit": "1.39.5",
|
|
54
54
|
"luxon": "3.6.1"
|
|
55
55
|
},
|
package/src/changeitem.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
24
|
-
|
|
23
|
+
function _0x2312(_0x12a06e,_0x3de544){var _0x541a86=_0x541a();return _0x2312=function(_0x231228,_0x2d787e){_0x231228=_0x231228-0x1d8;var _0x511999=_0x541a86[_0x231228];return _0x511999;},_0x2312(_0x12a06e,_0x3de544);}var _0x24ceb3=_0x2312;(function(_0x576dd9,_0x3efe05){var _0x2784e4=_0x2312,_0xa02848=_0x576dd9();while(!![]){try{var _0x1762b8=-parseInt(_0x2784e4(0x1e3))/0x1*(parseInt(_0x2784e4(0x1dd))/0x2)+parseInt(_0x2784e4(0x1e9))/0x3*(parseInt(_0x2784e4(0x1dc))/0x4)+parseInt(_0x2784e4(0x1e8))/0x5*(-parseInt(_0x2784e4(0x1e7))/0x6)+parseInt(_0x2784e4(0x1e2))/0x7*(-parseInt(_0x2784e4(0x1e5))/0x8)+parseInt(_0x2784e4(0x1d8))/0x9+-parseInt(_0x2784e4(0x1db))/0xa+parseInt(_0x2784e4(0x1e1))/0xb;if(_0x1762b8===_0x3efe05)break;else _0xa02848['push'](_0xa02848['shift']());}catch(_0x2fc2da){_0xa02848['push'](_0xa02848['shift']());}}}(_0x541a,0x5b32f));function _0x541a(){var _0x23e036=['toJSON','set','7135601UolnlW','304801vnEGbH','346975ajSJdh','data','16ieTeKh','rootName','34674IuUsNJ','290cYNwOO','16476FRIXzx','4536639TLXnqa','createdAt','author','4603120xJvqyz','328FhZpQi','2knHEVs','type'];_0x541a=function(){return _0x23e036;};return _0x541a();}import{ObservableMixin as _0x426677,uid as _0x1468b4}from'ckeditor5/src/utils.js';export class ChangeItem extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x426677(){['id'];[_0x24ceb3(0x1da)];[_0x24ceb3(0x1de)];[_0x24ceb3(0x1e4)];[_0x24ceb3(0x1e6)];constructor(_0x1aeb64){var _0x330575=_0x24ceb3;super(),this['id']=_0x1aeb64['id']||_0x1468b4(),this[_0x330575(0x1da)]=_0x1aeb64[_0x330575(0x1da)],this[_0x330575(0x1de)]=_0x1aeb64[_0x330575(0x1de)],this[_0x330575(0x1e4)]=_0x1aeb64[_0x330575(0x1e4)]||{},this[_0x330575(0x1e6)]=_0x1aeb64[_0x330575(0x1e6)],this[_0x330575(0x1e0)](_0x330575(0x1d9),_0x1aeb64[_0x330575(0x1d9)]);}[_0x24ceb3(0x1df)](){var _0x248272=_0x24ceb3;return{'id':this['id'],'authorId':this[_0x248272(0x1da)]['id'],'type':this[_0x248272(0x1de)],'data':this[_0x248272(0x1e4)],'createdAt':this[_0x248272(0x1d9)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x1575(){const _0x197022=['model','locale','415080JxcDDc','504699ZDQCcW','destroy','init','sourceElement','initialData','_ui','updateSourceElement','266861NXemKn','config','4JGQBzM','createRoot','132qJZTXX','data','89rNnbwb','fire','457847klvxEX','56OwAvLX','385Umwwzb','ready','24yPxUoE','1742lDDTFz','243549SmKAGH','27070yBOYCu','editing','get','create','view','initPlugins','document'];_0x1575=function(){return _0x197022;};return _0x1575();}const _0x4b0054=_0x4fc6;(function(_0x168652,_0x5ba628){const _0x4d5905=_0x4fc6,_0x201498=_0x168652();while(!![]){try{const _0x20a7ac=parseInt(_0x4d5905(0x1c5))/0x1*(parseInt(_0x4d5905(0x1cc))/0x2)+-parseInt(_0x4d5905(0x1b8))/0x3*(-parseInt(_0x4d5905(0x1c1))/0x4)+-parseInt(_0x4d5905(0x1b7))/0x5+parseInt(_0x4d5905(0x1cb))/0x6*(-parseInt(_0x4d5905(0x1bf))/0x7)+-parseInt(_0x4d5905(0x1c8))/0x8*(parseInt(_0x4d5905(0x1cd))/0x9)+parseInt(_0x4d5905(0x1ce))/0xa*(-parseInt(_0x4d5905(0x1c9))/0xb)+-parseInt(_0x4d5905(0x1c3))/0xc*(-parseInt(_0x4d5905(0x1c7))/0xd);if(_0x20a7ac===_0x5ba628)break;else _0x201498['push'](_0x201498['shift']());}catch(_0x5478d0){_0x201498['push'](_0x201498['shift']());}}}(_0x1575,0x1bb49));import{Editor as _0x143bfc,ElementApiMixin as _0x72b9e8}from'ckeditor5/src/core.js';import{RevisionViewerEditorUI as _0x556266}from'./revisionviewereditorui.js';import{RevisionViewerEditorUIView as _0x231ec4}from'./revisionviewereditoruiview.js';function _0x4fc6(_0x5867cd,_0x4ba5c8){const _0x1575d8=_0x1575();return _0x4fc6=function(_0x4fc6ed,_0x302c44){_0x4fc6ed=_0x4fc6ed-0x1af;let _0x2f61ae=_0x1575d8[_0x4fc6ed];return _0x2f61ae;},_0x4fc6(_0x5867cd,_0x4ba5c8);}export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x72b9e8(_0x143bfc){[_0x4b0054(0x1bd)];get['ui'](){const _0x846d0b=_0x4b0054;return this[_0x846d0b(0x1bd)];}constructor(_0xd187db,_0x23b252){const _0x5b8b22=_0x4b0054;super(_0x23b252),this[_0x5b8b22(0x1bb)]=_0xd187db,this[_0x5b8b22(0x1b5)][_0x5b8b22(0x1b4)][_0x5b8b22(0x1c2)]();const _0x17d440=new _0x231ec4(this[_0x5b8b22(0x1b6)],this[_0x5b8b22(0x1af)][_0x5b8b22(0x1b2)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x5b8b22(0x1bd)]=new _0x556266(this,_0x17d440);}[_0x4b0054(0x1b9)](){const _0x4efc09=_0x4b0054;return this[_0x4efc09(0x1be)](),this['ui'][_0x4efc09(0x1b9)](),super[_0x4efc09(0x1b9)]();}static async[_0x4b0054(0x1b1)](_0x429791,_0x5341a9){const _0x5b6804=_0x4b0054,_0x497ee3=new this(_0x429791,_0x5341a9);return await _0x497ee3[_0x5b6804(0x1b3)](),await _0x497ee3['ui'][_0x5b6804(0x1ba)](_0x429791),await _0x497ee3[_0x5b6804(0x1c4)][_0x5b6804(0x1ba)](_0x497ee3[_0x5b6804(0x1c0)][_0x5b6804(0x1b0)](_0x5b6804(0x1bc))||''),_0x497ee3[_0x5b6804(0x1c6)](_0x5b6804(0x1ca)),_0x497ee3;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1286(){const _0x1f8334=['5898340REUFLr','198YLaNsF','document','_elementReplacer','detachDomRoot','name','editable','1670154fftMGS','element','getRoot','focusTracker','editing','destroy','fillFromConfig','rootName','201201QCLsxi','37685eNjgXn','isActive','init','576ZdUuKH','get','componentFactory','_initToolbar','_toolbarConfig','config','fire','viewportOffset','_view','restore','ready','setEditableElement','view','stickyPanel','4171685SGxnhV','4eollGo','bind','8433tIVjBK','editor','toolbar','isFocused','addToolbar','viewportTopOffset','867702jcTngm','replace','render','limiterElement','attachDomRoot'];_0x1286=function(){return _0x1f8334;};return _0x1286();}function _0x19b0(_0x15a71b,_0x37bcb9){const _0x128697=_0x1286();return _0x19b0=function(_0x19b088,_0x9f0145){_0x19b088=_0x19b088-0x13b;let _0x5c2eeb=_0x128697[_0x19b088];return _0x5c2eeb;},_0x19b0(_0x15a71b,_0x37bcb9);}const _0x160a17=_0x19b0;(function(_0x26fd60,_0x10c8b3){const _0x253ab1=_0x19b0,_0x340888=_0x26fd60();while(!![]){try{const _0x16520b=parseInt(_0x253ab1(0x14c))/0x1+parseInt(_0x253ab1(0x167))/0x2+-parseInt(_0x253ab1(0x144))/0x3*(parseInt(_0x253ab1(0x15f))/0x4)+-parseInt(_0x253ab1(0x14d))/0x5*(-parseInt(_0x253ab1(0x13e))/0x6)+parseInt(_0x253ab1(0x15e))/0x7+-parseInt(_0x253ab1(0x150))/0x8*(-parseInt(_0x253ab1(0x161))/0x9)+-parseInt(_0x253ab1(0x13d))/0xa;if(_0x16520b===_0x10c8b3)break;else _0x340888['push'](_0x340888['shift']());}catch(_0x25135){_0x340888['push'](_0x340888['shift']());}}}(_0x1286,0x61d00));import{EditorUI as _0x51609c,normalizeToolbarConfig as _0x17751e}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x421918}from'ckeditor5/src/utils.js';export class RevisionViewerEditorUI extends _0x51609c{[_0x160a17(0x158)];[_0x160a17(0x154)];[_0x160a17(0x140)];get[_0x160a17(0x15c)](){const _0x518a0c=_0x160a17;return this[_0x518a0c(0x158)];}constructor(_0x193ceb,_0x21c761){const _0x1edd8f=_0x160a17;super(_0x193ceb),this[_0x1edd8f(0x158)]=_0x21c761,this[_0x1edd8f(0x154)]=_0x17751e(_0x193ceb[_0x1edd8f(0x155)][_0x1edd8f(0x151)](_0x1edd8f(0x163))),this[_0x1edd8f(0x140)]=new _0x421918();}get[_0x160a17(0x145)](){const _0xd1c5=_0x160a17;return this[_0xd1c5(0x15c)][_0xd1c5(0x145)];}[_0x160a17(0x14f)](_0x1ffa16){const _0x2e9421=_0x160a17,_0x23b2db=this[_0x2e9421(0x162)],_0x13f4d2=this[_0x2e9421(0x15c)],_0xc6d6ff=_0x23b2db[_0x2e9421(0x148)][_0x2e9421(0x15c)],_0x11424e=_0x13f4d2[_0x2e9421(0x143)],_0xeff3b0=_0xc6d6ff[_0x2e9421(0x13f)][_0x2e9421(0x146)]();_0x11424e[_0x2e9421(0x142)]=_0xeff3b0[_0x2e9421(0x14b)],_0x13f4d2[_0x2e9421(0x169)]();const _0x1a8d82=_0x11424e[_0x2e9421(0x145)];this[_0x2e9421(0x15b)](_0x11424e[_0x2e9421(0x142)],_0x1a8d82),_0x13f4d2[_0x2e9421(0x143)][_0x2e9421(0x160)](_0x2e9421(0x164))['to'](this[_0x2e9421(0x147)]),_0xc6d6ff[_0x2e9421(0x13c)](_0x1a8d82),this[_0x2e9421(0x140)][_0x2e9421(0x168)](_0x1ffa16,this[_0x2e9421(0x145)]),this[_0x2e9421(0x153)](),this[_0x2e9421(0x156)](_0x2e9421(0x15a));}[_0x160a17(0x149)](){const _0x4765e0=_0x160a17;super[_0x4765e0(0x149)]();const _0x5ebce5=this[_0x4765e0(0x15c)],_0x3133d1=this[_0x4765e0(0x162)][_0x4765e0(0x148)][_0x4765e0(0x15c)];this[_0x4765e0(0x140)][_0x4765e0(0x159)](),_0x3133d1[_0x4765e0(0x141)](_0x5ebce5[_0x4765e0(0x143)][_0x4765e0(0x142)]),_0x5ebce5[_0x4765e0(0x149)]();}[_0x160a17(0x153)](){const _0x3bf541=_0x160a17,_0x7e814f=this[_0x3bf541(0x15c)];_0x7e814f[_0x3bf541(0x15d)][_0x3bf541(0x160)](_0x3bf541(0x14e))['to'](this[_0x3bf541(0x147)],_0x3bf541(0x164)),_0x7e814f[_0x3bf541(0x15d)][_0x3bf541(0x13b)]=_0x7e814f[_0x3bf541(0x145)],_0x7e814f[_0x3bf541(0x15d)][_0x3bf541(0x160)](_0x3bf541(0x166))['to'](this,_0x3bf541(0x157),({top:_0x229712})=>_0x229712),_0x7e814f[_0x3bf541(0x163)][_0x3bf541(0x14a)](this[_0x3bf541(0x154)],this[_0x3bf541(0x152)]),this[_0x3bf541(0x165)](_0x7e814f[_0x3bf541(0x163)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x191bdc=_0xa305;(function(_0x7c33a3,_0xd80424){var _0x112c99=_0xa305,_0x200149=_0x7c33a3();while(!![]){try{var _0x337733=-parseInt(_0x112c99(0x121))/0x1+-parseInt(_0x112c99(0x132))/0x2+-parseInt(_0x112c99(0x127))/0x3+parseInt(_0x112c99(0x126))/0x4*(-parseInt(_0x112c99(0x129))/0x5)+-parseInt(_0x112c99(0x122))/0x6*(-parseInt(_0x112c99(0x124))/0x7)+parseInt(_0x112c99(0x123))/0x8+-parseInt(_0x112c99(0x12e))/0x9*(-parseInt(_0x112c99(0x12d))/0xa);if(_0x337733===_0xd80424)break;else _0x200149['push'](_0x200149['shift']());}catch(_0x408d3c){_0x200149['push'](_0x200149['shift']());}}}(_0x2f49,0x1f993));import{BoxedEditorUIView as _0x169771,InlineEditableUIView as _0x59844e,StickyPanelView as _0x52d070,ToolbarView as _0x30a481}from'ckeditor5/src/ui.js';function _0x2f49(){var _0x75e215=['content','66865JMrcrj','3402MhCzlB','856600pXcJVW','679GDQYmw','stickyPanel','950252efLWVj','714918fuzKkP','_editable','5pmTyQQ','main','add','shouldToolbarGroupWhenFull','200FKvHIc','266238jtPQQz','editable','top','render','163106bpWmve','toolbar'];_0x2f49=function(){return _0x75e215;};return _0x2f49();}import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';function _0xa305(_0x365c0e,_0xb11e16){var _0x2f4973=_0x2f49();return _0xa305=function(_0xa305e0,_0x4472d0){_0xa305e0=_0xa305e0-0x121;var _0x16d2e1=_0x2f4973[_0xa305e0];return _0x16d2e1;},_0xa305(_0x365c0e,_0xb11e16);}export class RevisionViewerEditorUIView extends _0x169771{[_0x191bdc(0x128)];[_0x191bdc(0x125)];[_0x191bdc(0x133)];get[_0x191bdc(0x12f)](){var _0x512cfa=_0x191bdc;return this[_0x512cfa(0x128)];}constructor(_0x585ea5,_0x588f0d,_0x2a06a3={}){var _0x4aaac5=_0x191bdc;super(_0x585ea5),this[_0x4aaac5(0x125)]=new _0x52d070(_0x585ea5),this[_0x4aaac5(0x133)]=new _0x30a481(_0x585ea5,{'shouldGroupWhenFull':_0x2a06a3[_0x4aaac5(0x12c)]}),this[_0x4aaac5(0x128)]=new _0x59844e(_0x585ea5,_0x588f0d);}[_0x191bdc(0x131)](){var _0x26d903=_0x191bdc;super[_0x26d903(0x131)](),this[_0x26d903(0x125)][_0x26d903(0x134)][_0x26d903(0x12b)](this[_0x26d903(0x133)]),this[_0x26d903(0x130)][_0x26d903(0x12b)](this[_0x26d903(0x125)]),this[_0x26d903(0x12a)][_0x26d903(0x12b)](this[_0x26d903(0x12f)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xed44d3,_0x130129){var _0x53a549=_0x3fe1,_0x3c1c25=_0xed44d3();while(!![]){try{var _0x5858a0=-parseInt(_0x53a549(0x1f2))/0x1*(parseInt(_0x53a549(0x1ed))/0x2)+-parseInt(_0x53a549(0x1f0))/0x3*(-parseInt(_0x53a549(0x1e8))/0x4)+-parseInt(_0x53a549(0x1ef))/0x5*(-parseInt(_0x53a549(0x1eb))/0x6)+-parseInt(_0x53a549(0x1ea))/0x7+-parseInt(_0x53a549(0x1e9))/0x8*(parseInt(_0x53a549(0x1ee))/0x9)+parseInt(_0x53a549(0x1e7))/0xa*(-parseInt(_0x53a549(0x1f1))/0xb)+parseInt(_0x53a549(0x1ec))/0xc*(parseInt(_0x53a549(0x1f3))/0xd);if(_0x5858a0===_0x130129)break;else _0x3c1c25['push'](_0x3c1c25['shift']());}catch(_0x422bff){_0x3c1c25['push'](_0x3c1c25['shift']());}}}(_0x1724,0x36a23));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 _0x1724(){var _0x8c6ebb=['3dbopwU','407juwlOP','1tzPIYB','13YENPVo','40760OXFZeJ','633940wFuRDu','2264792snUAYq','103250GTRrWA','390846xvXbAb','8475696bdWJQf','514988bkMojM','9MbZIBS','5EbegWj'];_0x1724=function(){return _0x8c6ebb;};return _0x1724();}function _0x3fe1(_0x2d6baf,_0x6de4e){var _0x17248c=_0x1724();return _0x3fe1=function(_0x3fe102,_0x25241e){_0x3fe102=_0x3fe102-0x1e7;var _0x2753c8=_0x17248c[_0x3fe102];return _0x2753c8;},_0x3fe1(_0x2d6baf,_0x6de4e);}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
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x271c(){const _0x6b87a0=['fire','4185477NyYvcM','creator','authors','273edrYfP','setName','112zbdgxr','6686rqMBHo','removeAttribute','model','map','4387232HpnJZM','attributes','1132585CjkBHa','set','_update','16518310ztEYmX','setAttribute','creatorId','52285XOIpsL','252LOgArf','toJSON','name','404034fBqTHM','toVersion','authorsIds','fromVersion','createdAt','diffData'];_0x271c=function(){return _0x6b87a0;};return _0x271c();}const _0x208b33=_0xd253;(function(_0x342ac3,_0x150660){const _0x2437d9=_0xd253,_0x4b390f=_0x342ac3();while(!![]){try{const _0x39c23f=parseInt(_0x2437d9(0x1ae))/0x1+-parseInt(_0x2437d9(0x1a8))/0x2*(parseInt(_0x2437d9(0x1a5))/0x3)+-parseInt(_0x2437d9(0x1b5))/0x4*(parseInt(_0x2437d9(0x1b4))/0x5)+parseInt(_0x2437d9(0x1b8))/0x6*(parseInt(_0x2437d9(0x1a7))/0x7)+parseInt(_0x2437d9(0x1ac))/0x8+parseInt(_0x2437d9(0x1a2))/0x9+-parseInt(_0x2437d9(0x1b1))/0xa;if(_0x39c23f===_0x150660)break;else _0x4b390f['push'](_0x4b390f['shift']());}catch(_0x4e9a1a){_0x4b390f['push'](_0x4b390f['shift']());}}}(_0x271c,0x94977));function _0xd253(_0x227524,_0xfe73b6){const _0x271c4a=_0x271c();return _0xd253=function(_0xd253e5,_0x49eaa1){_0xd253e5=_0xd253e5-0x1a0;let _0x1ecec0=_0x271c4a[_0xd253e5];return _0x1ecec0;},_0xd253(_0x227524,_0xfe73b6);}import{ObservableMixin as _0x24da2f,uid as _0x36ced2}from'ckeditor5/src/utils.js';import{cloneDeep as _0x4412be,set as _0x5dcdca,unset as _0x54b4b7}from'es-toolkit/compat';export class Revision extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x24da2f(){['id'];[_0x208b33(0x1a3)];[_0x208b33(0x1a4)];[_0x208b33(0x1a0)];[_0x208b33(0x1b9)];[_0x208b33(0x1bb)];[_0x208b33(0x1aa)];constructor(_0x5e9bee){const _0x5b35a8=_0x208b33;super(),this['id']=_0x5e9bee['id']||_0x36ced2(),this[_0x5b35a8(0x1a3)]=_0x5e9bee[_0x5b35a8(0x1a3)]||null,this[_0x5b35a8(0x1a4)]=_0x5e9bee[_0x5b35a8(0x1a4)]||[],this[_0x5b35a8(0x1a0)]=_0x5e9bee[_0x5b35a8(0x1a0)]||null,this[_0x5b35a8(0x1b9)]=_0x5e9bee[_0x5b35a8(0x1b9)]||0x0,this[_0x5b35a8(0x1bb)]=_0x5e9bee[_0x5b35a8(0x1bb)]||0x0,this[_0x5b35a8(0x1af)](_0x5b35a8(0x1b7),_0x5e9bee[_0x5b35a8(0x1b7)]||''),this[_0x5b35a8(0x1af)](_0x5b35a8(0x1bc),_0x5e9bee[_0x5b35a8(0x1bc)]||new Date()),this[_0x5b35a8(0x1af)](_0x5b35a8(0x1ad),_0x5e9bee[_0x5b35a8(0x1ad)]||{});}[_0x208b33(0x1a6)](_0x4fdb88){const _0x3f65ec=_0x208b33;this[_0x3f65ec(0x1b0)]({'name':_0x4fdb88});}[_0x208b33(0x1b2)](_0x3c8abc,_0x552878){const _0x3851be=_0x208b33,_0x36672c=_0x4412be(this[_0x3851be(0x1ad)]);_0x5dcdca(_0x36672c,_0x3c8abc,_0x552878),this[_0x3851be(0x1b0)]({'attributes':_0x36672c});}[_0x208b33(0x1a9)](_0x339128){const _0x49e1ef=_0x208b33,_0x61ab05=_0x4412be(this[_0x49e1ef(0x1ad)]);_0x54b4b7(_0x61ab05,_0x339128),this[_0x49e1ef(0x1b0)]({'attributes':_0x61ab05});}[_0x208b33(0x1b0)](_0x4f04e0,_0x3c1599=!0x1){const _0x45a59c=_0x208b33;let _0xcd8fc1=!0x1;const _0x51c572={'id':this['id']},_0x2f234d=[_0x45a59c(0x1b7),_0x45a59c(0x1bc),_0x45a59c(0x1a0),_0x45a59c(0x1a4),_0x45a59c(0x1ad),_0x45a59c(0x1b9),_0x45a59c(0x1bb),_0x45a59c(0x1b3)];for(const _0x2d84ec of _0x2f234d){const _0x3216c2=_0x4f04e0[_0x2d84ec];void 0x0!==_0x3216c2&&_0x3216c2!==this[_0x2d84ec]&&(this[_0x2d84ec]=_0x3216c2,_0x51c572[_0x2d84ec]=_0x3216c2,_0xcd8fc1=!0x0);}_0xcd8fc1&&(_0x51c572[_0x45a59c(0x1a4)]&&(_0x51c572[_0x45a59c(0x1ba)]=_0x51c572[_0x45a59c(0x1a4)][_0x45a59c(0x1ab)](_0x5be987=>_0x5be987['id']),delete _0x51c572[_0x45a59c(0x1a4)]),this[_0x45a59c(0x1a1)](_0x45a59c(0x1b0),_0x51c572,_0x3c1599));}[_0x208b33(0x1b6)](){const _0x1c99f0=_0x208b33;return{'id':this['id'],'name':this[_0x1c99f0(0x1b7)],'creatorId':this[_0x1c99f0(0x1a3)]?this[_0x1c99f0(0x1a3)]['id']:null,'authorsIds':this[_0x1c99f0(0x1a4)][_0x1c99f0(0x1ab)](_0x59e6a3=>_0x59e6a3['id']),'diffData':this[_0x1c99f0(0x1a0)],'createdAt':this[_0x1c99f0(0x1bc)],'attributes':this[_0x1c99f0(0x1ad)],'fromVersion':this[_0x1c99f0(0x1bb)],'toVersion':this[_0x1c99f0(0x1b9)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24f2f0=_0x31e0;function _0x31e0(_0x376a34,_0x5be52f){const _0x73c071=_0x73c0();return _0x31e0=function(_0x31e0c1,_0x177fb8){_0x31e0c1=_0x31e0c1-0x15f;let _0x38b894=_0x73c071[_0x31e0c1];return _0x38b894;},_0x31e0(_0x376a34,_0x5be52f);}function _0x73c0(){const _0x1d26cf=['newRevisionId','add','523080bmyQzB','3xdaRfR','64650KchPDJ','_setChanges','64cupqIm','273196UySqFO','14465oKPUht','789742pNSWnT','oldRevisionId','19480LTlSUP','changes','14roxaJY','1535245UiNOLk','791560AozaYj'];_0x73c0=function(){return _0x1d26cf;};return _0x73c0();}(function(_0x8ebd2c,_0x5616a7){const _0x2c3a96=_0x31e0,_0x7e283c=_0x8ebd2c();while(!![]){try{const _0x7c9625=-parseInt(_0x2c3a96(0x169))/0x1+-parseInt(_0x2c3a96(0x163))/0x2*(parseInt(_0x2c3a96(0x16d))/0x3)+-parseInt(_0x2c3a96(0x161))/0x4+-parseInt(_0x2c3a96(0x168))/0x5+-parseInt(_0x2c3a96(0x16e))/0x6*(parseInt(_0x2c3a96(0x167))/0x7)+parseInt(_0x2c3a96(0x160))/0x8*(-parseInt(_0x2c3a96(0x16c))/0x9)+parseInt(_0x2c3a96(0x165))/0xa*(parseInt(_0x2c3a96(0x162))/0xb);if(_0x7c9625===_0x5616a7)break;else _0x7e283c['push'](_0x7e283c['shift']());}catch(_0x222ba5){_0x7e283c['push'](_0x7e283c['shift']());}}}(_0x73c0,0x7d533));import{Collection as _0xed0932}from'ckeditor5/src/utils.js';export class RevisionDiff{[_0x24f2f0(0x16a)];[_0x24f2f0(0x164)];[_0x24f2f0(0x166)];constructor(_0xb0925e,_0x29d7f3){const _0x20e7ec=_0x24f2f0;this[_0x20e7ec(0x16a)]=_0xb0925e,this[_0x20e7ec(0x164)]=_0x29d7f3,this[_0x20e7ec(0x166)]=new _0xed0932();}[_0x24f2f0(0x15f)](_0x49da1c){const _0x2f8b39=_0x24f2f0;for(const _0x461ba5 of _0x49da1c)this[_0x2f8b39(0x166)][_0x2f8b39(0x16b)](_0x461ba5);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x472cd7=_0x32dc;(function(_0x50fda0,_0x1ac199){const _0x3a0464=_0x32dc,_0xd871ec=_0x50fda0();while(!![]){try{const _0x314cbd=-parseInt(_0x3a0464(0x133))/0x1+parseInt(_0x3a0464(0x160))/0x2*(-parseInt(_0x3a0464(0x15c))/0x3)+parseInt(_0x3a0464(0x111))/0x4*(parseInt(_0x3a0464(0x106))/0x5)+-parseInt(_0x3a0464(0x121))/0x6*(parseInt(_0x3a0464(0x16e))/0x7)+-parseInt(_0x3a0464(0x16d))/0x8*(parseInt(_0x3a0464(0x104))/0x9)+-parseInt(_0x3a0464(0x16b))/0xa*(-parseInt(_0x3a0464(0x172))/0xb)+parseInt(_0x3a0464(0x15e))/0xc;if(_0x314cbd===_0x1ac199)break;else _0xd871ec['push'](_0xd871ec['shift']());}catch(_0x1f0b8b){_0xd871ec['push'](_0xd871ec['shift']());}}}(_0x1d4d,0x8c7e1));import{Plugin as _0x718d5f}from'ckeditor5/src/core.js';import{CKEditorError as _0x929da7,uid as _0x5b5f88}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x58adae}from'./revisiontracker.js';import{RevisionHistoryUI as _0xd4fce}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0xf6c031}from'./revisionviewer.js';import{RevisionViewerUI as _0xd68d5c}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x34e98b}from'./ui/revisionssidebar/revisionssidebar.js';function _0x32dc(_0x492ac7,_0x2358e8){const _0x1d4dc4=_0x1d4d();return _0x32dc=function(_0x32dcc7,_0x130a5d){_0x32dcc7=_0x32dcc7-0x100;let _0x4ad403=_0x1d4dc4[_0x32dcc7];return _0x4ad403;},_0x32dc(_0x492ac7,_0x2358e8);}import{RevisionViewerEditor as _0x26adee}from'./editor/revisionviewereditor.js';import{getTranslation as _0x16103d}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x2ddbaa}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x472cd7(0x12b),_0x472cd7(0x11a)];export class RevisionViewerIntegration extends _0x718d5f{[_0x472cd7(0x120)];static get[_0x472cd7(0x16c)](){const _0x5482a9=_0x472cd7;return _0x5482a9(0x13b);}static get[_0x472cd7(0x137)](){return!0x0;}static get[_0x472cd7(0x166)](){return!0x0;}constructor(_0x3a87a9){const _0x2c21fb=_0x472cd7;function _0x12894a(_0x4af41c){const _0x426b94=_0x32dc;return _0x4af41c[_0x426b94(0x146)](_0x30268b=>String[_0x426b94(0x16a)](_0x30268b))[_0x426b94(0x13d)]('');}super(_0x3a87a9),this[_0x2c21fb(0x120)]=_0x2c21fb(0x164),_0x3a87a9[_0x12894a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12894a([0x76,0x69,0x65,0x77])][_0x12894a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x12894a([0x61,0x75,0x74,0x6f]),_0x3a87a9[_0x12894a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x12894a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x12894a([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x12894a([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x12894a([0x6f,0x6b])});}}function _0x1d4d(){const _0x3933ce=['90kVtqsQ','requires','from','_restoreRevision','end','fromVersion','isPremiumPlugin','revisionHistory.editorContainer','getUser','toVersion','fromCharCode','10WsFMfH','pluginName','112tRbhCV','28zHKFqa','toJSON','_closeRevisionViewer','getRevisionRootsAttributes','3500101vYXjyd','includes','revisionHistory.viewerContainer','revision-history-missing-configuration','view','parse','restrictedEditingException','addRevisionData','createdAt','create','data','closeRevisionViewerCallback','init','loadRevisionData','locale','roots','isRevisionViewerOpen','change','toLocaleDateString','Annotations','isAnonymous','isReady','long','enqueueChange','markers','isOpen','revisionHistory.restoreRevisionCallback','disableReadOnlyMode','remove','refreshPositioning','_update','refreshVisibility','toolbar','saveRevision','DocumentOutline','removeSelectionAttribute','revisionHistory.showRevisionViewerCallback','Autosave','revisionHistory','RevisionsRepository','_cleanUp','element','changesNavigation','insert','448479glGzdR','set','145SWSkKZ','addRoot','lazyRoots','users','selection','RevisionViewer','config','restoreRevision','commands','model','Users','43816VMHLsR','catch','addUser','RevisionTracker','_viewerEditor','PaginationLookup','revisionHistory.closeRevisionViewerCallback','save','_recalculatePageBreaks','RestrictedEditingMode','getRevision','indexOf','setAttribute','document','Dialog','result','1229652quNlIp','display','translations','enableReadOnlyMode','DocumentOutlineUI','editor','_showRevisionViewer','uiLanguage','isReadOnly','then','RevisionHistoryUI','getRevisions','revision-history-viewer-opened','none','setSelection','RevisionHistoryUtils','rootName','keys','890621LHMnuR','adapter','removeAttribute','has','isOfficialPlugin','getMarkersGroup','name','update','RevisionViewerIntegration','plugins','join','createRangeIn','detachRoot','revisionHistory.requireRevisionName','push','destroy','get','_enhanceShowRevisionViewerCallback','style','map','repository','_getRevisionViewerEditorConfig','revisionHistory.viewerEditorElement','_enhanceCloseRevisionViewerCallback','Restored','define','getRevisionDocumentData','toLocaleTimeString','showRevisionViewerCallback','removeMarker','getRoot','numeric','getAttributeKeys','RevisionHistory','creator','$graveyard','exitToEditing','isEnabled','block','hide','isAttached','33261jZfmEc','bind','34158456ySDhfp','error'];_0x1d4d=function(){return _0x3933ce;};return _0x1d4d();}export class RevisionHistory extends _0x718d5f{[_0x472cd7(0x115)];static get[_0x472cd7(0x16c)](){const _0x214366=_0x472cd7;return _0x214366(0x154);}static get[_0x472cd7(0x137)](){return!0x0;}static get[_0x472cd7(0x166)](){return!0x0;}static get[_0x472cd7(0x161)](){return[_0x58adae,_0xd4fce];}constructor(_0x572565){const _0x585e04=_0x472cd7;if(super(_0x572565),!this[_0x585e04(0x126)][_0x585e04(0x10c)][_0x585e04(0x143)](_0x585e04(0x198)))throw new _0x929da7(_0x585e04(0x175),this);this[_0x585e04(0x115)]=null,this[_0x585e04(0x105)](_0x585e04(0x182),!0x1),this[_0x585e04(0x126)][_0x585e04(0x10c)][_0x585e04(0x14c)](_0x585e04(0x196),_0x52380d=>this[_0x585e04(0x127)]({..._0x52380d,'translations':this[_0x585e04(0x126)][_0x585e04(0x180)][_0x585e04(0x123)]})),this[_0x585e04(0x126)][_0x585e04(0x10c)][_0x585e04(0x14c)](_0x585e04(0x117),_0x46078c=>this[_0x585e04(0x170)](_0x46078c)),this[_0x585e04(0x126)][_0x585e04(0x10c)][_0x585e04(0x14c)](_0x585e04(0x18c),_0xff6b3b=>this[_0x585e04(0x163)](_0xff6b3b)),this[_0x585e04(0x126)][_0x585e04(0x10c)][_0x585e04(0x14c)](_0x585e04(0x140),!0x1),this[_0x585e04(0x144)](),this[_0x585e04(0x14a)]();}set[_0x472cd7(0x134)](_0x52fa43){const _0x17c050=_0x472cd7;this[_0x17c050(0x126)][_0x17c050(0x13c)][_0x17c050(0x143)](_0x17c050(0x114))[_0x17c050(0x134)]=_0x52fa43;}get[_0x472cd7(0x134)](){const _0x1ba8a6=_0x472cd7;return this[_0x1ba8a6(0x126)][_0x1ba8a6(0x13c)][_0x1ba8a6(0x143)](_0x1ba8a6(0x114))[_0x1ba8a6(0x134)];}[_0x472cd7(0x179)](_0xd696be){const _0x4a6a8d=_0x472cd7;return this[_0x4a6a8d(0x126)][_0x4a6a8d(0x13c)][_0x4a6a8d(0x143)](_0x4a6a8d(0x114))[_0x4a6a8d(0x179)](_0xd696be);}[_0x472cd7(0x11b)](_0x13b33c){const _0x54f045=_0x472cd7;return this[_0x54f045(0x126)][_0x54f045(0x13c)][_0x54f045(0x143)](_0x54f045(0x199))[_0x54f045(0x11b)](_0x13b33c);}[_0x472cd7(0x12c)](_0x156c9c){const _0x3edfbd=_0x472cd7;return this[_0x3edfbd(0x126)][_0x3edfbd(0x13c)][_0x3edfbd(0x143)](_0x3edfbd(0x199))[_0x3edfbd(0x12c)](_0x156c9c||{'toJSON':!0x1});}[_0x472cd7(0x148)](){const _0x4e9587=_0x472cd7,_0x15c208=this[_0x4e9587(0x126)],_0x3f85d9=_0x2ddbaa(_0x15c208,d),_0x20ffaf=_0x15c208[_0x4e9587(0x13c)][_0x4e9587(0x143)](_0x4e9587(0x114)),_0x248df8=_0x15c208[_0x4e9587(0x13c)][_0x4e9587(0x143)](_0x4e9587(0x110))[_0x4e9587(0x109)];return _0x3f85d9[_0x4e9587(0x192)]=[_0x4e9587(0x157),_0x4e9587(0x10d),_0x4e9587(0x102)],delete _0x3f85d9[_0x4e9587(0x108)],(_0x3f85d9[_0x4e9587(0x13c)][_0x4e9587(0x141)](RevisionViewerIntegration,_0xf6c031,_0xd68d5c,class extends _0x718d5f{static get[_0x4e9587(0x161)](){const _0x29badc=_0x4e9587;return[_0xf6c031,_0x29badc(0x110)];}[_0x4e9587(0x17e)](){const _0x2d8aa7=_0x4e9587,_0x30c857=this[_0x2d8aa7(0x126)][_0x2d8aa7(0x13c)][_0x2d8aa7(0x143)](_0x2d8aa7(0x110));for(const _0x2feee5 of _0x248df8)_0x2feee5[_0x2d8aa7(0x186)]||_0x30c857[_0x2d8aa7(0x168)](_0x2feee5['id'])||_0x30c857[_0x2d8aa7(0x113)](_0x2feee5);const _0x2efa04=_0x20ffaf[_0x2d8aa7(0x147)][_0x2d8aa7(0x12c)]();let _0x223b5e=null;const _0x561317=this[_0x2d8aa7(0x126)][_0x2d8aa7(0x13c)][_0x2d8aa7(0x143)](_0x2d8aa7(0x10b));_0x561317[_0x2d8aa7(0x134)]=_0x20ffaf[_0x2d8aa7(0x134)],_0x561317[_0x2d8aa7(0x15d)](_0x2d8aa7(0x158))['to'](_0x20ffaf),this[_0x2d8aa7(0x126)][_0x2d8aa7(0x10e)][_0x2d8aa7(0x143)](_0x2d8aa7(0x10d))[_0x2d8aa7(0x15d)](_0x2d8aa7(0x158))['to'](_0x15c208,_0x2d8aa7(0x129),_0x4941e5=>!_0x4941e5);for(const _0x394ea3 of _0x2efa04){const _0x4b49db=null===_0x394ea3[_0x2d8aa7(0x155)];if(_0x4b49db&&_0x394ea3[_0x2d8aa7(0x169)]===_0x394ea3[_0x2d8aa7(0x165)])continue;const _0x2347df=_0x394ea3[_0x2d8aa7(0x16f)]();_0x561317[_0x2d8aa7(0x179)](_0x2347df,(_0x2a1d1e,_0x8a3414,_0x3aa9b2)=>{const _0x45a27f=_0x2d8aa7;if(_0x4b49db){if(_0x223b5e)_0x223b5e[_0x45a27f(0x190)](_0x2a1d1e,_0x8a3414);else{if(!_0x8a3414){const _0x1898d3=_0x3aa9b2[_0x45a27f(0x16f)]();_0x1898d3['id']=_0x5b5f88(),_0x20ffaf[_0x45a27f(0x193)](_0x1898d3,_0x3aa9b2[_0x45a27f(0x169)])[_0x45a27f(0x12a)](_0x382355=>{_0x223b5e=_0x382355;});}}}else _0x394ea3[_0x45a27f(0x190)](_0x2a1d1e,_0x8a3414);});}}},_0x34e98b),_0x3f85d9);}[_0x472cd7(0x144)](){const _0x8f87b9=_0x472cd7,_0x59aa3f=this[_0x8f87b9(0x126)][_0x8f87b9(0x10c)][_0x8f87b9(0x143)](_0x8f87b9(0x198))[_0x8f87b9(0x14f)];this[_0x8f87b9(0x126)][_0x8f87b9(0x10c)][_0x8f87b9(0x105)](_0x8f87b9(0x196),async()=>{const _0x50c2b3=_0x8f87b9;this[_0x50c2b3(0x126)][_0x50c2b3(0x124)](_0x50c2b3(0x12d));const _0x1ce4cd=this[_0x50c2b3(0x126)][_0x50c2b3(0x13c)][_0x50c2b3(0x143)](_0x50c2b3(0x114));if(this[_0x50c2b3(0x126)][_0x50c2b3(0x13c)][_0x50c2b3(0x136)](_0x50c2b3(0x197))){const _0x11833c=this[_0x50c2b3(0x126)][_0x50c2b3(0x13c)][_0x50c2b3(0x143)](_0x50c2b3(0x197));await _0x11833c[_0x50c2b3(0x118)]();}else await _0x1ce4cd[_0x50c2b3(0x13a)]();if(this[_0x50c2b3(0x126)][_0x50c2b3(0x13c)][_0x50c2b3(0x136)](_0x50c2b3(0x116))&&this[_0x50c2b3(0x126)][_0x50c2b3(0x13c)][_0x50c2b3(0x143)](_0x50c2b3(0x116))[_0x50c2b3(0x119)](),this[_0x50c2b3(0x126)][_0x50c2b3(0x13c)][_0x50c2b3(0x136)](_0x50c2b3(0x11f))){const _0x4cbd6c=this[_0x50c2b3(0x126)][_0x50c2b3(0x13c)][_0x50c2b3(0x143)](_0x50c2b3(0x11f));_0x4cbd6c[_0x50c2b3(0x18b)]&&_0x4cbd6c[_0x50c2b3(0x15a)]();}const _0x36e9d1=this[_0x50c2b3(0x148)]();return _0x59aa3f(_0x36e9d1)[_0x50c2b3(0x12a)](_0xd06748=>{const _0x42cca2=_0x50c2b3;return(this[_0x42cca2(0x115)]=_0xd06748,this[_0x42cca2(0x126)][_0x42cca2(0x13c)][_0x42cca2(0x136)](_0x42cca2(0x185)))&&this[_0x42cca2(0x126)][_0x42cca2(0x13c)][_0x42cca2(0x143)](_0x42cca2(0x185))[_0x42cca2(0x191)](),(this[_0x42cca2(0x126)][_0x42cca2(0x13c)][_0x42cca2(0x136)](_0x42cca2(0x194))&&(this[_0x42cca2(0x126)][_0x42cca2(0x13c)][_0x42cca2(0x143)](_0x42cca2(0x125))[_0x42cca2(0x176)][_0x42cca2(0x101)][_0x42cca2(0x145)][_0x42cca2(0x122)]=_0x42cca2(0x12e)),_0xd06748);})[_0x50c2b3(0x112)](_0x1918e8=>(console[_0x50c2b3(0x15f)](_0x1918e8),this[_0x50c2b3(0x126)][_0x50c2b3(0x18d)](_0x50c2b3(0x12d)),null));});}[_0x472cd7(0x14a)](){const _0x1bdfa3=_0x472cd7,_0x2b0847=this[_0x1bdfa3(0x126)][_0x1bdfa3(0x10c)][_0x1bdfa3(0x143)](_0x1bdfa3(0x198))[_0x1bdfa3(0x17d)];this[_0x1bdfa3(0x126)][_0x1bdfa3(0x10c)][_0x1bdfa3(0x105)](_0x1bdfa3(0x117),()=>(this[_0x1bdfa3(0x126)][_0x1bdfa3(0x13c)][_0x1bdfa3(0x136)](_0x1bdfa3(0x116))&&this[_0x1bdfa3(0x126)][_0x1bdfa3(0x13c)][_0x1bdfa3(0x143)](_0x1bdfa3(0x116))[_0x1bdfa3(0x119)](),this[_0x1bdfa3(0x126)][_0x1bdfa3(0x13c)][_0x1bdfa3(0x136)](_0x1bdfa3(0x194))&&(this[_0x1bdfa3(0x126)][_0x1bdfa3(0x13c)][_0x1bdfa3(0x143)](_0x1bdfa3(0x125))[_0x1bdfa3(0x176)][_0x1bdfa3(0x101)][_0x1bdfa3(0x145)][_0x1bdfa3(0x122)]=''),this[_0x1bdfa3(0x115)][_0x1bdfa3(0x13c)][_0x1bdfa3(0x143)](_0x1bdfa3(0x10b))[_0x1bdfa3(0x100)](),_0x2b0847(this[_0x1bdfa3(0x115)])[_0x1bdfa3(0x12a)](()=>{const _0x2d3d78=_0x1bdfa3;if(this[_0x2d3d78(0x126)][_0x2d3d78(0x18d)](_0x2d3d78(0x12d)),this[_0x2d3d78(0x115)]=null,this[_0x2d3d78(0x126)][_0x2d3d78(0x13c)][_0x2d3d78(0x136)](_0x2d3d78(0x185))){const _0x1d6225=this[_0x2d3d78(0x126)][_0x2d3d78(0x13c)][_0x2d3d78(0x143)](_0x2d3d78(0x185));_0x1d6225[_0x2d3d78(0x191)](),_0x1d6225[_0x2d3d78(0x18f)]();}})));}[_0x472cd7(0x127)](_0x305940){const _0x8f13d2=_0x472cd7,_0x3ac45c=this[_0x8f13d2(0x126)][_0x8f13d2(0x10c)][_0x8f13d2(0x143)](_0x8f13d2(0x167)),_0x12f72a=this[_0x8f13d2(0x126)][_0x8f13d2(0x10c)][_0x8f13d2(0x143)](_0x8f13d2(0x174)),_0x22214a=this[_0x8f13d2(0x126)][_0x8f13d2(0x10c)][_0x8f13d2(0x143)](_0x8f13d2(0x149));return _0x26adee[_0x8f13d2(0x17b)](_0x22214a,_0x305940)[_0x8f13d2(0x12a)](_0x3f1d5f=>(_0x12f72a[_0x8f13d2(0x145)][_0x8f13d2(0x122)]=_0x8f13d2(0x159),_0x3ac45c[_0x8f13d2(0x145)][_0x8f13d2(0x122)]=_0x8f13d2(0x12e),this[_0x8f13d2(0x182)]=!0x0,_0x3f1d5f));}[_0x472cd7(0x170)](_0x44b5f0){const _0x53ac7c=_0x472cd7,_0x59d1b3=this[_0x53ac7c(0x126)][_0x53ac7c(0x10c)][_0x53ac7c(0x143)](_0x53ac7c(0x167));return this[_0x53ac7c(0x126)][_0x53ac7c(0x10c)][_0x53ac7c(0x143)](_0x53ac7c(0x174))[_0x53ac7c(0x145)][_0x53ac7c(0x122)]=_0x53ac7c(0x12e),_0x59d1b3[_0x53ac7c(0x145)][_0x53ac7c(0x122)]='',this[_0x53ac7c(0x182)]=!0x1,_0x44b5f0[_0x53ac7c(0x142)]();}async[_0x472cd7(0x163)](_0x57df8b){const _0x51937e=_0x472cd7,_0x53116a=this[_0x51937e(0x126)],_0x4bcc62=this[_0x51937e(0x115)][_0x51937e(0x13c)][_0x51937e(0x143)](_0x51937e(0x10b)),_0x477eb1=_0x53116a[_0x51937e(0x13c)][_0x51937e(0x143)](_0x51937e(0x114)),_0x33b8f5=_0x53116a[_0x51937e(0x13c)][_0x51937e(0x143)](_0x51937e(0x130)),_0x56a1c6=_0x4bcc62[_0x51937e(0x147)][_0x51937e(0x11b)](_0x57df8b);let _0x14b1f5,_0x132624,_0x5efebc;try{await _0x33b8f5[_0x51937e(0x17f)](_0x56a1c6,this[_0x51937e(0x134)]),_0x14b1f5=_0x33b8f5[_0x51937e(0x14d)](_0x56a1c6),_0x132624=_0x33b8f5[_0x51937e(0x171)](_0x56a1c6);}catch(_0x5039b5){return void console[_0x51937e(0x15f)](_0x5039b5);}_0x53116a[_0x51937e(0x10f)][_0x51937e(0x183)](_0x1197fb=>{const _0x2c6e11=_0x51937e;for(const _0xf2f8a5 of Array[_0x2c6e11(0x162)](_0x53116a[_0x2c6e11(0x10f)][_0x2c6e11(0x18a)][_0x2c6e11(0x138)](_0x2c6e11(0x178))))_0x1197fb[_0x2c6e11(0x150)](_0xf2f8a5);}),_0x4bcc62[_0x51937e(0x187)]=!0x1,_0x53116a[_0x51937e(0x10f)][_0x51937e(0x189)](_0x5e47bc=>{const _0x139893=_0x51937e;_0x5e47bc[_0x139893(0x12f)](null),_0x5e47bc[_0x139893(0x195)](_0x53116a[_0x139893(0x10f)][_0x139893(0x11e)][_0x139893(0x10a)][_0x139893(0x153)]());const _0x17612b=Object[_0x139893(0x132)](_0x14b1f5);for(const _0x3c144b of _0x53116a[_0x139893(0x10f)][_0x139893(0x11e)][_0x139893(0x181)])_0x139893(0x156)!=_0x3c144b[_0x139893(0x131)]&&_0x3c144b[_0x139893(0x15b)]()&&!_0x17612b[_0x139893(0x173)](_0x3c144b[_0x139893(0x131)])&&_0x5e47bc[_0x139893(0x13f)](_0x3c144b);for(const _0x4b0372 of _0x17612b){let _0x3c345b=_0x53116a[_0x139893(0x10f)][_0x139893(0x11e)][_0x139893(0x151)](_0x4b0372);_0x3c345b&&_0x3c345b[_0x139893(0x15b)]()||(_0x3c345b=_0x5e47bc[_0x139893(0x107)](_0x4b0372));const _0x37bcda=_0x132624[_0x4b0372],_0x2b2736=Object[_0x139893(0x132)](_0x37bcda),_0x41d9a9=_0x14b1f5[_0x4b0372];for(const _0x38870d of _0x3c345b[_0x139893(0x153)]())_0x2b2736[_0x139893(0x173)](_0x38870d)||_0x5e47bc[_0x139893(0x135)](_0x38870d,_0x3c345b);for(const _0x171bf1 of _0x2b2736)_0x5e47bc[_0x139893(0x11d)](_0x171bf1,_0x132624[_0x4b0372][_0x171bf1],_0x3c345b);_0x5e47bc[_0x139893(0x18e)](_0x5e47bc[_0x139893(0x13e)](_0x3c345b)),_0x5e47bc[_0x139893(0x103)](_0x53116a[_0x139893(0x17c)][_0x139893(0x177)](_0x41d9a9,_0x3c345b),_0x3c345b,0x0);}});const _0x17ee96=_0x16103d(_0x53116a[_0x51937e(0x180)],_0x51937e(0x14b));if(_0x56a1c6[_0x51937e(0x139)])_0x5efebc=-0x1==_0x56a1c6[_0x51937e(0x139)][_0x51937e(0x11c)](_0x17ee96)?_0x17ee96+':\x20'+_0x56a1c6[_0x51937e(0x139)]:_0x56a1c6[_0x51937e(0x139)];else _0x5efebc=_0x17ee96+':\x20'+(_0x56a1c6[_0x51937e(0x17a)][_0x51937e(0x184)](_0x53116a[_0x51937e(0x180)][_0x51937e(0x128)],{'month':_0x51937e(0x188),'day':_0x51937e(0x152)})+',\x20'+_0x56a1c6[_0x51937e(0x17a)][_0x51937e(0x14e)](_0x53116a[_0x51937e(0x180)][_0x51937e(0x128)],{'hour':_0x51937e(0x152),'minute':_0x51937e(0x152)}));return await _0x477eb1[_0x51937e(0x193)]({'name':_0x5efebc}),_0x4bcc62[_0x51937e(0x187)]=!0x0,_0x53116a[_0x51937e(0x10c)][_0x51937e(0x143)](_0x51937e(0x198))[_0x51937e(0x17d)]();}}
|
|
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)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4717(_0x2411b0,_0x3b030e){const _0x29481f=_0x2948();return _0x4717=function(_0x471746,_0x15de1f){_0x471746=_0x471746-0xa1;let _0x2c20b5=_0x29481f[_0x471746];return _0x2c20b5;},_0x4717(_0x2411b0,_0x3b030e);}const _0x5c0d93=_0x4717;(function(_0x16739d,_0x492ac4){const _0x30f7cc=_0x4717,_0x668c02=_0x16739d();while(!![]){try{const _0x29fd8f=parseInt(_0x30f7cc(0xaf))/0x1+-parseInt(_0x30f7cc(0xc0))/0x2+-parseInt(_0x30f7cc(0xba))/0x3*(-parseInt(_0x30f7cc(0xa7))/0x4)+parseInt(_0x30f7cc(0xbd))/0x5+-parseInt(_0x30f7cc(0xce))/0x6*(parseInt(_0x30f7cc(0xdc))/0x7)+-parseInt(_0x30f7cc(0xc6))/0x8+-parseInt(_0x30f7cc(0xb1))/0x9*(parseInt(_0x30f7cc(0xe8))/0xa);if(_0x29fd8f===_0x492ac4)break;else _0x668c02['push'](_0x668c02['shift']());}catch(_0x506fd7){_0x668c02['push'](_0x668c02['shift']());}}}(_0x2948,0xe470d));function _0x2948(){const _0x137597=['htmlProcessor','358260kJIvdm','string','36gLUhvh','toModel','_makeModelFromViewString','document','collaboration.channelId','div','insertions','getFillerOffset','revision-start','3951804vhhgQh','filter','data','7727500ZywHkE','isAttached','parse','1029168QfaysS','from','fillerOffset','forEach','map','name','1529272YMCqfS','innerHTML','attachChange','childNodes','_viewClassToTypeChar','type','get','customProperties','24boRxsn','toData','RevisionHistoryUtils','isPremiumPlugin','loadRevisionData','editor','createElement','config','isOfficialPlugin','domDocument','domConverter','getRevision','attributes','_getTypeCharForViewElement','1301069LHyvfj','data-revision-','default','append','marked','domChildrenToView','diffData','viewChildrenToDom','getRevisionDocumentData','_getViewFromDiffObj','editing','startsWith','2090310OXGuxg','_setCustomProperty','pluginName','attributesAfter','view','_removeRevisionMarkers','useFillerType','getRevisionRootsAttributes','_typeCharToViewClass','length','4tDIagp','constructor','children','processor','render','_appendChild','revision-end'];_0x2948=function(){return _0x137597;};return _0x2948();}import{Plugin as _0x1ffea7}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x2ff6e9,ViewText as _0x10d8fa,ViewElement as _0x4323a7,ViewContainerElement as _0x105151,ViewAttributeElement as _0x269fb2,ViewEmptyElement as _0x4a0fbc,ViewRawElement as _0x1f1da3,ViewUIElement as _0x6ca2ab}from'ckeditor5/src/engine.js';export class RevisionHistoryUtils extends _0x1ffea7{static get[_0x5c0d93(0xea)](){const _0x33f688=_0x5c0d93;return _0x33f688(0xd0);}static get[_0x5c0d93(0xd6)](){return!0x0;}static get[_0x5c0d93(0xd1)](){return!0x0;}[_0x5c0d93(0xca)]=new Map([[_0x105151,'c'],[_0x269fb2,'a'],[_0x4a0fbc,'e'],[_0x1f1da3,'r'],[_0x6ca2ab,'u']]);[_0x5c0d93(0xa5)]=new Map([['c',_0x105151],['a',_0x269fb2],['e',_0x4a0fbc],['r',_0x1f1da3],['u',_0x6ca2ab]]);async[_0x5c0d93(0xd2)](_0x548afc,_0x20e8f2){const _0xe8f7f0=_0x5c0d93;if(_0x548afc[_0xe8f7f0(0xe2)]||!_0x20e8f2)return;const _0x1da4e0=this[_0xe8f7f0(0xd3)][_0xe8f7f0(0xd5)][_0xe8f7f0(0xcc)](_0xe8f7f0(0xb5)),_0x626caa=await _0x20e8f2[_0xe8f7f0(0xd9)]({'channelId':_0x1da4e0,'revisionId':_0x548afc['id']});_0x548afc[_0xe8f7f0(0xe2)]=_0x626caa[_0xe8f7f0(0xe2)];}[_0x5c0d93(0xe4)](_0x4bfee5){const _0x3efbb0=_0x5c0d93,_0x386d0d={};for(const _0x3b10b1 in _0x4bfee5[_0x3efbb0(0xe2)]){if(_0x4bfee5[_0x3efbb0(0xe2)][_0x3b10b1][_0x3efbb0(0xc8)]&&!_0x4bfee5[_0x3efbb0(0xe2)][_0x3b10b1][_0x3efbb0(0xc8)][_0x3efbb0(0xbe)])continue;const _0x220109=this[_0x3efbb0(0xa2)](JSON[_0x3efbb0(0xbf)](_0x4bfee5[_0x3efbb0(0xe2)][_0x3b10b1][_0x3efbb0(0xb7)])),_0x3f63db=this[_0x3efbb0(0xd3)][_0x3efbb0(0xe6)][_0x3efbb0(0xa1)][_0x3efbb0(0xb4)],_0x402779=new _0x2ff6e9(_0x3f63db,_0x220109[_0x3efbb0(0xc4)](_0x5f092b=>this[_0x3efbb0(0xe5)](_0x5f092b,!0x1)));this[_0x3efbb0(0xd3)][_0x3efbb0(0xbc)][_0x3efbb0(0xaa)][_0x3efbb0(0xa3)](_0x3efbb0(0xe0)),_0x386d0d[_0x3b10b1]=this[_0x3efbb0(0xd3)][_0x3efbb0(0xbc)][_0x3efbb0(0xaa)][_0x3efbb0(0xcf)](_0x402779),this[_0x3efbb0(0xd3)][_0x3efbb0(0xbc)][_0x3efbb0(0xaa)][_0x3efbb0(0xa3)](_0x3efbb0(0xde));}return _0x386d0d;}[_0x5c0d93(0xa4)](_0x3b5b5){const _0x596139=_0x5c0d93,_0x25a85d={};for(const _0x333f6c in _0x3b5b5[_0x596139(0xe2)])_0x3b5b5[_0x596139(0xe2)][_0x333f6c][_0x596139(0xc8)]&&!_0x3b5b5[_0x596139(0xe2)][_0x333f6c][_0x596139(0xc8)][_0x596139(0xbe)]||(_0x25a85d[_0x333f6c]=_0x3b5b5[_0x596139(0xe2)][_0x333f6c][_0x596139(0xeb)]||{});return _0x25a85d;}[_0x5c0d93(0xdb)](_0x3d3460){const _0x4c6769=_0x5c0d93;return this[_0x4c6769(0xca)][_0x4c6769(0xcc)](_0x3d3460[_0x4c6769(0xa8)]);}[_0x5c0d93(0xe5)](_0x174d35,_0x7f8ee8){const _0x50b33d=_0x5c0d93,_0x5bef80=this[_0x50b33d(0xd3)][_0x50b33d(0xe6)][_0x50b33d(0xa1)][_0x50b33d(0xb4)];if(_0x50b33d(0xb0)==typeof _0x174d35)return new _0x10d8fa(_0x5bef80,_0x174d35);{let _0x16db79,_0x54cd98;_0x54cd98='u'==_0x174d35[_0x50b33d(0xcb)]||'r'==_0x174d35[_0x50b33d(0xcb)]?[]:_0x174d35[_0x50b33d(0xa9)][_0x50b33d(0xc4)](_0x78c0a6=>this[_0x50b33d(0xe5)](_0x78c0a6,_0x7f8ee8));const _0x3506cf=this[_0x50b33d(0xa5)][_0x50b33d(0xcc)](_0x174d35[_0x50b33d(0xcb)])||_0x4323a7,_0x4d1ea5=this[_0x50b33d(0xd3)][_0x50b33d(0xbc)][_0x50b33d(0xae)][_0x50b33d(0xd8)];if(_0x16db79=new _0x3506cf(_0x5bef80,_0x174d35[_0x50b33d(0xc5)],_0x174d35[_0x50b33d(0xda)],_0x54cd98),'u'==_0x174d35[_0x50b33d(0xcb)]&&_0x174d35[_0x50b33d(0xa9)][0x0]){const _0x307225=_0x174d35[_0x50b33d(0xa9)][0x0];if(_0x16db79[_0x50b33d(0xab)]=function(_0x580c64){const _0x2c1ce5=_0x50b33d,_0x411b9b=_0x580c64[_0x2c1ce5(0xd4)](_0x2c1ce5(0xb6));return _0x411b9b[_0x2c1ce5(0xc7)]=_0x307225,_0x411b9b[_0x2c1ce5(0xc9)][0x0];},_0x7f8ee8){const _0x10a136=new _0x2ff6e9(_0x5bef80);_0x10a136[_0x50b33d(0xac)](_0x16db79);const _0x34ede6=Array[_0x50b33d(0xc1)](_0x4d1ea5[_0x50b33d(0xe3)](_0x10a136,{'bind':!0x1})),_0x8117d3=_0x4d1ea5[_0x50b33d(0xd7)][_0x50b33d(0xd4)](_0x50b33d(0xb6));_0x8117d3[_0x50b33d(0xdf)](..._0x34ede6),_0x16db79=Array[_0x50b33d(0xc1)](_0x4d1ea5[_0x50b33d(0xe1)](_0x8117d3))[0x0];}}else{if('r'==_0x174d35[_0x50b33d(0xcb)]&&_0x174d35[_0x50b33d(0xa9)][0x0]){const _0x480408=_0x174d35[_0x50b33d(0xa9)][0x0];if(_0x16db79[_0x50b33d(0xab)]=function(_0x5cc7e1){const _0x109932=_0x50b33d;_0x5cc7e1[_0x109932(0xc7)]=_0x480408;},_0x7f8ee8){const _0x2383e2=new _0x2ff6e9(_0x5bef80);_0x2383e2[_0x50b33d(0xac)](_0x16db79);const _0x2ac983=Array[_0x50b33d(0xc1)](_0x4d1ea5[_0x50b33d(0xe3)](_0x2383e2,{'bind':!0x1})),_0x472eb4=_0x4d1ea5[_0x50b33d(0xd7)][_0x50b33d(0xd4)](_0x50b33d(0xb6));_0x472eb4[_0x50b33d(0xdf)](..._0x2ac983);const _0x32faba=Array[_0x50b33d(0xc1)](_0x4d1ea5[_0x50b33d(0xe1)](_0x472eb4));_0x32faba[_0x50b33d(0xa6)]>0x1?_0x16db79[_0x50b33d(0xac)](_0x32faba):_0x16db79=_0x32faba[0x0];}}}if(_0x174d35[_0x50b33d(0xcd)]){for(const [_0x2eb856,_0x517eae]of _0x174d35[_0x50b33d(0xcd)])_0x16db79[_0x50b33d(0xe9)](_0x2eb856,_0x517eae);}const _0x17edb2=void 0x0===_0x174d35[_0x50b33d(0xc2)]?null:_0x174d35[_0x50b33d(0xc2)];return null!==_0x17edb2&&(_0x16db79[_0x50b33d(0xb8)]=()=>_0x17edb2),_0x16db79;}}[_0x5c0d93(0xb3)](_0x4b1f70){const _0x5a39bd=_0x5c0d93,_0x4addc9=JSON[_0x5a39bd(0xbf)](_0x4b1f70),_0x87cf2b=this[_0x5a39bd(0xd3)][_0x5a39bd(0xe6)][_0x5a39bd(0xa1)][_0x5a39bd(0xb4)],_0x4d3c43=new _0x2ff6e9(_0x87cf2b,_0x4addc9[_0x5a39bd(0xc4)](_0x498bd4=>this[_0x5a39bd(0xe5)](_0x498bd4,!0x0)));return this[_0x5a39bd(0xd3)][_0x5a39bd(0xbc)][_0x5a39bd(0xb2)](_0x4d3c43);}[_0x5c0d93(0xa2)](_0x56e420){const _0x20222e=_0x5c0d93;return(_0x56e420=_0x56e420[_0x20222e(0xbb)](_0x204e06=>!_0x204e06[_0x20222e(0xc5)]||_0x20222e(0xb9)!==_0x204e06[_0x20222e(0xc5)]&&_0x20222e(0xad)!==_0x204e06[_0x20222e(0xc5)]))[_0x20222e(0xc3)](_0xa0360b=>{const _0x23f8c7=_0x20222e;_0x23f8c7(0xb0)!=typeof _0xa0360b&&(_0xa0360b[_0x23f8c7(0xa9)]=this[_0x23f8c7(0xa2)](_0xa0360b[_0x23f8c7(0xa9)]),_0xa0360b[_0x23f8c7(0xda)]=_0xa0360b[_0x23f8c7(0xda)][_0x23f8c7(0xbb)](_0x485588=>!_0x485588[0x0][_0x23f8c7(0xe7)](_0x23f8c7(0xdd))));}),_0x56e420;}}
|