@ckeditor/ckeditor5-revision-history 46.0.0-alpha.7 → 46.0.0
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
|
+
(_0x2b3495=>{const {vi:{dictionary:_0xaca4a7,getPluralForm:_0x154485}}={'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':_0x32faea=>0x0}};_0x2b3495['vi']||={'dictionary':{},'getPluralForm':null},_0x2b3495['vi']['dictionary']=Object['assign'](_0x2b3495['vi']['dictionary'],_0xaca4a7),_0x2b3495['vi']['getPluralForm']=_0x154485;})(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':_0x42ddaa=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3c41cb=>{const {'zh-cn':{dictionary:_0x1280d5,getPluralForm:_0x23c1b6}}={'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':_0x32022b=>0x0}};_0x3c41cb['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x3c41cb['zh-cn']['dictionary']=Object['assign'](_0x3c41cb['zh-cn']['dictionary'],_0x1280d5),_0x3c41cb['zh-cn']['getPluralForm']=_0x23c1b6;})(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':_0x10e242=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5e319f=>{const {zh:{dictionary:_0xbb191a,getPluralForm:_0x4e4b5c}}={'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':_0x1836e5=>0x0}};_0x5e319f['zh']||={'dictionary':{},'getPluralForm':null},_0x5e319f['zh']['dictionary']=Object['assign'](_0x5e319f['zh']['dictionary'],_0xbb191a),_0x5e319f['zh']['getPluralForm']=_0x4e4b5c;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "46.0.0
|
|
3
|
+
"version": "46.0.0",
|
|
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.0
|
|
43
|
-
"@ckeditor/ckeditor5-comments": "46.0.0
|
|
44
|
-
"@ckeditor/ckeditor5-core": "46.0.0
|
|
45
|
-
"@ckeditor/ckeditor5-editor-classic": "46.0.0
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "46.0.0
|
|
47
|
-
"@ckeditor/ckeditor5-icons": "46.0.0
|
|
48
|
-
"@ckeditor/ckeditor5-ui": "46.0.0
|
|
49
|
-
"@ckeditor/ckeditor5-utils": "46.0.0
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "46.0.0",
|
|
43
|
+
"@ckeditor/ckeditor5-comments": "46.0.0",
|
|
44
|
+
"@ckeditor/ckeditor5-core": "46.0.0",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-classic": "46.0.0",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "46.0.0",
|
|
47
|
+
"@ckeditor/ckeditor5-icons": "46.0.0",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "46.0.0",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "46.0.0",
|
|
50
50
|
"@types/luxon": "3.6.2",
|
|
51
|
-
"ckeditor5": "46.0.0
|
|
52
|
-
"ckeditor5-collaboration": "46.0.0
|
|
51
|
+
"ckeditor5": "46.0.0",
|
|
52
|
+
"ckeditor5-collaboration": "46.0.0",
|
|
53
53
|
"es-toolkit": "1.39.5",
|
|
54
54
|
"luxon": "3.6.1"
|
|
55
55
|
},
|
package/src/changeitem.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
24
|
-
|
|
23
|
+
var _0x334fa7=_0x2026;(function(_0x999d14,_0x2e5b24){var _0x20fa4a=_0x2026,_0x22db21=_0x999d14();while(!![]){try{var _0x293e49=-parseInt(_0x20fa4a(0x17a))/0x1*(parseInt(_0x20fa4a(0x179))/0x2)+parseInt(_0x20fa4a(0x17e))/0x3+-parseInt(_0x20fa4a(0x182))/0x4+parseInt(_0x20fa4a(0x185))/0x5+-parseInt(_0x20fa4a(0x189))/0x6*(parseInt(_0x20fa4a(0x17b))/0x7)+-parseInt(_0x20fa4a(0x184))/0x8*(parseInt(_0x20fa4a(0x186))/0x9)+-parseInt(_0x20fa4a(0x187))/0xa*(-parseInt(_0x20fa4a(0x188))/0xb);if(_0x293e49===_0x2e5b24)break;else _0x22db21['push'](_0x22db21['shift']());}catch(_0x5d6591){_0x22db21['push'](_0x22db21['shift']());}}}(_0x1231,0xc1037));import{ObservableMixin as _0x1102d0,uid as _0x5b0209}from'ckeditor5/src/utils.js';function _0x1231(){var _0x55cb88=['createdAt','2264652XfeyPk','author','data','rootName','1057852OtAscB','set','8ZlCuqD','1953025ELuoQT','6971823IfZxHW','4952680eteAGY','66JaHaGL','1575066XNFwPy','type','2XNvijw','1499871SeCSqz','21tEKZhF','toJSON'];_0x1231=function(){return _0x55cb88;};return _0x1231();}function _0x2026(_0xf3022b,_0x568c81){var _0x123171=_0x1231();return _0x2026=function(_0x2026a3,_0x4b97c0){_0x2026a3=_0x2026a3-0x178;var _0x136640=_0x123171[_0x2026a3];return _0x136640;},_0x2026(_0xf3022b,_0x568c81);}export class ChangeItem extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1102d0(){['id'];[_0x334fa7(0x17f)];[_0x334fa7(0x178)];[_0x334fa7(0x180)];[_0x334fa7(0x181)];constructor(_0x360641){var _0x24ecc4=_0x334fa7;super(),this['id']=_0x360641['id']||_0x5b0209(),this[_0x24ecc4(0x17f)]=_0x360641[_0x24ecc4(0x17f)],this[_0x24ecc4(0x178)]=_0x360641[_0x24ecc4(0x178)],this[_0x24ecc4(0x180)]=_0x360641[_0x24ecc4(0x180)]||{},this[_0x24ecc4(0x181)]=_0x360641[_0x24ecc4(0x181)],this[_0x24ecc4(0x183)](_0x24ecc4(0x17d),_0x360641[_0x24ecc4(0x17d)]);}[_0x334fa7(0x17c)](){var _0x66708b=_0x334fa7;return{'id':this['id'],'authorId':this[_0x66708b(0x17f)]['id'],'type':this[_0x66708b(0x178)],'data':this[_0x66708b(0x180)],'createdAt':this[_0x66708b(0x17d)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x108900=_0x25c8;(function(_0x11637c,_0x1c6a7a){const _0x3b55b6=_0x25c8,_0x3e9f9e=_0x11637c();while(!![]){try{const _0x44b855=-parseInt(_0x3b55b6(0x204))/0x1+parseInt(_0x3b55b6(0x1f2))/0x2*(-parseInt(_0x3b55b6(0x1f6))/0x3)+parseInt(_0x3b55b6(0x205))/0x4+-parseInt(_0x3b55b6(0x1fb))/0x5+-parseInt(_0x3b55b6(0x1f5))/0x6*(parseInt(_0x3b55b6(0x1fc))/0x7)+parseInt(_0x3b55b6(0x201))/0x8*(-parseInt(_0x3b55b6(0x1f4))/0x9)+parseInt(_0x3b55b6(0x20b))/0xa*(parseInt(_0x3b55b6(0x200))/0xb);if(_0x44b855===_0x1c6a7a)break;else _0x3e9f9e['push'](_0x3e9f9e['shift']());}catch(_0x2a17bd){_0x3e9f9e['push'](_0x3e9f9e['shift']());}}}(_0x4adc,0xf422d));import{Editor as _0x469472,ElementApiMixin as _0x1f2f82}from'ckeditor5/src/core.js';function _0x4adc(){const _0x2131ff=['4HROQSg','config','308853OZxvQS','10372338XibwPS','169179IUKhqy','initialData','editing','locale','sourceElement','3488085WLQwmo','7Hbomkw','ready','_ui','model','1133gZhrIG','376kBsxnV','createRoot','create','8102HlMuXz','7943828bKUrrc','view','get','initPlugins','updateSourceElement','data','308170OjeOYs','document','fire','destroy','init'];_0x4adc=function(){return _0x2131ff;};return _0x4adc();}import{RevisionViewerEditorUI as _0x354c57}from'./revisionviewereditorui.js';function _0x25c8(_0x58538e,_0x493115){const _0x4adc81=_0x4adc();return _0x25c8=function(_0x25c852,_0x2ea765){_0x25c852=_0x25c852-0x1f0;let _0x47c83b=_0x4adc81[_0x25c852];return _0x47c83b;},_0x25c8(_0x58538e,_0x493115);}import{RevisionViewerEditorUIView as _0x3abcb4}from'./revisionviewereditoruiview.js';export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1f2f82(_0x469472){[_0x108900(0x1fe)];get['ui'](){const _0x1adf5b=_0x108900;return this[_0x1adf5b(0x1fe)];}constructor(_0x1c6f02,_0x2f5ab6){const _0x3f856b=_0x108900;super(_0x2f5ab6),this[_0x3f856b(0x1fa)]=_0x1c6f02,this[_0x3f856b(0x1ff)][_0x3f856b(0x20c)][_0x3f856b(0x202)]();const _0x36aeb2=new _0x3abcb4(this[_0x3f856b(0x1f9)],this[_0x3f856b(0x1f8)][_0x3f856b(0x206)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x3f856b(0x1fe)]=new _0x354c57(this,_0x36aeb2);}[_0x108900(0x1f0)](){const _0x5470f1=_0x108900;return this[_0x5470f1(0x209)](),this['ui'][_0x5470f1(0x1f0)](),super[_0x5470f1(0x1f0)]();}static async[_0x108900(0x203)](_0x2326f1,_0x4ba058){const _0x34e315=_0x108900,_0x1ad5d5=new this(_0x2326f1,_0x4ba058);return await _0x1ad5d5[_0x34e315(0x208)](),await _0x1ad5d5['ui'][_0x34e315(0x1f1)](_0x2326f1),await _0x1ad5d5[_0x34e315(0x20a)][_0x34e315(0x1f1)](_0x1ad5d5[_0x34e315(0x1f3)][_0x34e315(0x207)](_0x34e315(0x1f7))||''),_0x1ad5d5[_0x34e315(0x20d)](_0x34e315(0x1fd)),_0x1ad5d5;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x318a(_0x3f6ad9,_0x482c8f){const _0xaa674c=_0xaa67();return _0x318a=function(_0x318ad2,_0x3a25b0){_0x318ad2=_0x318ad2-0x152;let _0x4f91dc=_0xaa674c[_0x318ad2];return _0x4f91dc;},_0x318a(_0x3f6ad9,_0x482c8f);}function _0xaa67(){const _0x9e5612=['destroy','setEditableElement','959941ZdmqNC','getRoot','document','5816anEdxt','rootName','detachDomRoot','element','addToolbar','56yyGfCM','stickyPanel','name','_initToolbar','viewportTopOffset','192aXcjqR','replace','1560056xyUDvN','fire','bind','ready','limiterElement','240003vCHzuF','_toolbarConfig','restore','componentFactory','9443588CXefqR','view','11131780RUiQfH','get','isActive','attachDomRoot','editor','isFocused','focusTracker','render','init','config','_view','fillFromConfig','2229KwwJFF','toolbar','viewportOffset','21015GITCkH','editable','editing','_elementReplacer'];_0xaa67=function(){return _0x9e5612;};return _0xaa67();}const _0xec375b=_0x318a;(function(_0x3afd6c,_0x48001a){const _0xdf69d4=_0x318a,_0x34c487=_0x3afd6c();while(!![]){try{const _0x3e369e=-parseInt(_0xdf69d4(0x180))/0x1+parseInt(_0xdf69d4(0x160))/0x2+parseInt(_0xdf69d4(0x177))/0x3*(parseInt(_0xdf69d4(0x154))/0x4)+-parseInt(_0xdf69d4(0x17a))/0x5*(parseInt(_0xdf69d4(0x15e))/0x6)+parseInt(_0xdf69d4(0x169))/0x7+parseInt(_0xdf69d4(0x159))/0x8*(-parseInt(_0xdf69d4(0x165))/0x9)+-parseInt(_0xdf69d4(0x16b))/0xa;if(_0x3e369e===_0x48001a)break;else _0x34c487['push'](_0x34c487['shift']());}catch(_0x4daced){_0x34c487['push'](_0x34c487['shift']());}}}(_0xaa67,0xc702e));import{EditorUI as _0xdb906d,normalizeToolbarConfig as _0x1046af}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x466fdb}from'ckeditor5/src/utils.js';export class RevisionViewerEditorUI extends _0xdb906d{[_0xec375b(0x175)];[_0xec375b(0x166)];[_0xec375b(0x17d)];get[_0xec375b(0x16a)](){const _0x55990e=_0xec375b;return this[_0x55990e(0x175)];}constructor(_0x44b703,_0x344e2){const _0x1a3151=_0xec375b;super(_0x44b703),this[_0x1a3151(0x175)]=_0x344e2,this[_0x1a3151(0x166)]=_0x1046af(_0x44b703[_0x1a3151(0x174)][_0x1a3151(0x16c)](_0x1a3151(0x178))),this[_0x1a3151(0x17d)]=new _0x466fdb();}get[_0xec375b(0x157)](){const _0x3b4a9f=_0xec375b;return this[_0x3b4a9f(0x16a)][_0x3b4a9f(0x157)];}[_0xec375b(0x173)](_0x3bfa6d){const _0xc41cb7=_0xec375b,_0x4dd9d7=this[_0xc41cb7(0x16f)],_0x275175=this[_0xc41cb7(0x16a)],_0x2bd850=_0x4dd9d7[_0xc41cb7(0x17c)][_0xc41cb7(0x16a)],_0x2079cd=_0x275175[_0xc41cb7(0x17b)],_0x59af13=_0x2bd850[_0xc41cb7(0x153)][_0xc41cb7(0x152)]();_0x2079cd[_0xc41cb7(0x15b)]=_0x59af13[_0xc41cb7(0x155)],_0x275175[_0xc41cb7(0x172)]();const _0x56b54d=_0x2079cd[_0xc41cb7(0x157)];this[_0xc41cb7(0x17f)](_0x2079cd[_0xc41cb7(0x15b)],_0x56b54d),_0x275175[_0xc41cb7(0x17b)][_0xc41cb7(0x162)](_0xc41cb7(0x170))['to'](this[_0xc41cb7(0x171)]),_0x2bd850[_0xc41cb7(0x16e)](_0x56b54d),this[_0xc41cb7(0x17d)][_0xc41cb7(0x15f)](_0x3bfa6d,this[_0xc41cb7(0x157)]),this[_0xc41cb7(0x15c)](),this[_0xc41cb7(0x161)](_0xc41cb7(0x163));}[_0xec375b(0x17e)](){const _0x16e401=_0xec375b;super[_0x16e401(0x17e)]();const _0x42175a=this[_0x16e401(0x16a)],_0xe6f3e4=this[_0x16e401(0x16f)][_0x16e401(0x17c)][_0x16e401(0x16a)];this[_0x16e401(0x17d)][_0x16e401(0x167)](),_0xe6f3e4[_0x16e401(0x156)](_0x42175a[_0x16e401(0x17b)][_0x16e401(0x15b)]),_0x42175a[_0x16e401(0x17e)]();}[_0xec375b(0x15c)](){const _0xac5ecd=_0xec375b,_0xd6885a=this[_0xac5ecd(0x16a)];_0xd6885a[_0xac5ecd(0x15a)][_0xac5ecd(0x162)](_0xac5ecd(0x16d))['to'](this[_0xac5ecd(0x171)],_0xac5ecd(0x170)),_0xd6885a[_0xac5ecd(0x15a)][_0xac5ecd(0x164)]=_0xd6885a[_0xac5ecd(0x157)],_0xd6885a[_0xac5ecd(0x15a)][_0xac5ecd(0x162)](_0xac5ecd(0x15d))['to'](this,_0xac5ecd(0x179),({top:_0x5900c8})=>_0x5900c8),_0xd6885a[_0xac5ecd(0x178)][_0xac5ecd(0x176)](this[_0xac5ecd(0x166)],this[_0xac5ecd(0x168)]),this[_0xac5ecd(0x158)](_0xd6885a[_0xac5ecd(0x178)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x36a990=_0x2a22;function _0x28d6(){var _0x1f2ef3=['content','2505330eqvQcy','stickyPanel','744532pxXVrP','12FjMlnX','70FJENSb','editable','toolbar','_editable','446852JnDMBd','render','198666Idetsd','150036iyXZlW','top','5078144NZQQkp','715710PDeTHD','main','shouldToolbarGroupWhenFull','182FoouDF','add'];_0x28d6=function(){return _0x1f2ef3;};return _0x28d6();}function _0x2a22(_0x28ea9d,_0x4d2c28){var _0x28d6dd=_0x28d6();return _0x2a22=function(_0x2a220d,_0x526dca){_0x2a220d=_0x2a220d-0x15a;var _0x579b4a=_0x28d6dd[_0x2a220d];return _0x579b4a;},_0x2a22(_0x28ea9d,_0x4d2c28);}(function(_0x3980ef,_0x1f45d1){var _0x481953=_0x2a22,_0x3cd4f6=_0x3980ef();while(!![]){try{var _0x52d217=parseInt(_0x481953(0x160))/0x1+parseInt(_0x481953(0x166))/0x2*(-parseInt(_0x481953(0x161))/0x3)+parseInt(_0x481953(0x169))/0x4*(-parseInt(_0x481953(0x162))/0x5)+parseInt(_0x481953(0x168))/0x6*(parseInt(_0x481953(0x15b))/0x7)+parseInt(_0x481953(0x16b))/0x8+-parseInt(_0x481953(0x15e))/0x9+-parseInt(_0x481953(0x16c))/0xa;if(_0x52d217===_0x1f45d1)break;else _0x3cd4f6['push'](_0x3cd4f6['shift']());}catch(_0x552c41){_0x3cd4f6['push'](_0x3cd4f6['shift']());}}}(_0x28d6,0x73177));import{BoxedEditorUIView as _0x4e9cf1,InlineEditableUIView as _0x43df64,StickyPanelView as _0x626dea,ToolbarView as _0x8437e9}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export class RevisionViewerEditorUIView extends _0x4e9cf1{[_0x36a990(0x165)];[_0x36a990(0x15f)];[_0x36a990(0x164)];get[_0x36a990(0x163)](){var _0x3a7217=_0x36a990;return this[_0x3a7217(0x165)];}constructor(_0x558e5e,_0x27fca3,_0xae42c5={}){var _0x478bbb=_0x36a990;super(_0x558e5e),this[_0x478bbb(0x15f)]=new _0x626dea(_0x558e5e),this[_0x478bbb(0x164)]=new _0x8437e9(_0x558e5e,{'shouldGroupWhenFull':_0xae42c5[_0x478bbb(0x15a)]}),this[_0x478bbb(0x165)]=new _0x43df64(_0x558e5e,_0x27fca3);}[_0x36a990(0x167)](){var _0x353d2f=_0x36a990;super[_0x353d2f(0x167)](),this[_0x353d2f(0x15f)][_0x353d2f(0x15d)][_0x353d2f(0x15c)](this[_0x353d2f(0x164)]),this[_0x353d2f(0x16a)][_0x353d2f(0x15c)](this[_0x353d2f(0x15f)]),this[_0x353d2f(0x16d)][_0x353d2f(0x15c)](this[_0x353d2f(0x163)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1f1da8,_0x5b0a56){var _0x3f3769=_0x43de,_0x44ef4b=_0x1f1da8();while(!![]){try{var _0x1e3fd7=-parseInt(_0x3f3769(0x195))/0x1*(-parseInt(_0x3f3769(0x198))/0x2)+-parseInt(_0x3f3769(0x194))/0x3*(parseInt(_0x3f3769(0x19c))/0x4)+-parseInt(_0x3f3769(0x196))/0x5+parseInt(_0x3f3769(0x197))/0x6*(-parseInt(_0x3f3769(0x19b))/0x7)+parseInt(_0x3f3769(0x199))/0x8+parseInt(_0x3f3769(0x193))/0x9+-parseInt(_0x3f3769(0x19a))/0xa*(-parseInt(_0x3f3769(0x192))/0xb);if(_0x1e3fd7===_0x5b0a56)break;else _0x44ef4b['push'](_0x44ef4b['shift']());}catch(_0x3e9d47){_0x44ef4b['push'](_0x44ef4b['shift']());}}}(_0x3918,0xea8e7));export{Revision}from'./revision.js';export{RevisionHistory}from'./revisionhistory.js';export{RevisionsRepository}from'./revisionsrepository.js';function _0x43de(_0x1ac4fc,_0x8d9a3b){var _0x391867=_0x3918();return _0x43de=function(_0x43dec6,_0x34fb3e){_0x43dec6=_0x43dec6-0x192;var _0x49dcaf=_0x391867[_0x43dec6];return _0x49dcaf;},_0x43de(_0x1ac4fc,_0x8d9a3b);}function _0x3918(){var _0x4f936b=['8105310XADkJV','6099ybJqlQ','484171XxATRI','3087515VNSpEF','18orDqxX','2NnyuJr','6052872yIawEO','3110IdcojM','3531073srPDCk','1592tYTHur','62227xOsoeH'];_0x3918=function(){return _0x4f936b;};return _0x3918();}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
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xaf762a=_0x3181;(function(_0x13771a,_0x335f14){const _0xcfb13f=_0x3181,_0x37def6=_0x13771a();while(!![]){try{const _0x26c122=parseInt(_0xcfb13f(0x1b5))/0x1+parseInt(_0xcfb13f(0x1bf))/0x2*(-parseInt(_0xcfb13f(0x1bd))/0x3)+parseInt(_0xcfb13f(0x1b6))/0x4+parseInt(_0xcfb13f(0x1a5))/0x5*(-parseInt(_0xcfb13f(0x1b0))/0x6)+-parseInt(_0xcfb13f(0x1ad))/0x7+-parseInt(_0xcfb13f(0x1aa))/0x8+-parseInt(_0xcfb13f(0x1a8))/0x9*(-parseInt(_0xcfb13f(0x1ab))/0xa);if(_0x26c122===_0x335f14)break;else _0x37def6['push'](_0x37def6['shift']());}catch(_0x406bcd){_0x37def6['push'](_0x37def6['shift']());}}}(_0x4ad8,0xbc5cd));import{ObservableMixin as _0x12d011,uid as _0x432d04}from'ckeditor5/src/utils.js';import{cloneDeep as _0x731c43,set as _0x4dfeb6,unset as _0x104d9f}from'es-toolkit/compat';function _0x3181(_0x5ad893,_0x3b8c15){const _0x4ad8de=_0x4ad8();return _0x3181=function(_0x318112,_0x5ed1f9){_0x318112=_0x318112-0x1a5;let _0x4e3d94=_0x4ad8de[_0x318112];return _0x4e3d94;},_0x3181(_0x5ad893,_0x3b8c15);}export class Revision extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x12d011(){['id'];[_0xaf762a(0x1ba)];[_0xaf762a(0x1a6)];[_0xaf762a(0x1b3)];[_0xaf762a(0x1af)];[_0xaf762a(0x1b2)];[_0xaf762a(0x1bc)];constructor(_0x1f349b){const _0x12b5ae=_0xaf762a;super(),this['id']=_0x1f349b['id']||_0x432d04(),this[_0x12b5ae(0x1ba)]=_0x1f349b[_0x12b5ae(0x1ba)]||null,this[_0x12b5ae(0x1a6)]=_0x1f349b[_0x12b5ae(0x1a6)]||[],this[_0x12b5ae(0x1b3)]=_0x1f349b[_0x12b5ae(0x1b3)]||null,this[_0x12b5ae(0x1af)]=_0x1f349b[_0x12b5ae(0x1af)]||0x0,this[_0x12b5ae(0x1b2)]=_0x1f349b[_0x12b5ae(0x1b2)]||0x0,this[_0x12b5ae(0x1ae)](_0x12b5ae(0x1be),_0x1f349b[_0x12b5ae(0x1be)]||''),this[_0x12b5ae(0x1ae)](_0x12b5ae(0x1b7),_0x1f349b[_0x12b5ae(0x1b7)]||new Date()),this[_0x12b5ae(0x1ae)](_0x12b5ae(0x1b8),_0x1f349b[_0x12b5ae(0x1b8)]||{});}[_0xaf762a(0x1c0)](_0x44e79d){const _0x97b35c=_0xaf762a;this[_0x97b35c(0x1b9)]({'name':_0x44e79d});}[_0xaf762a(0x1a7)](_0x49f86e,_0x3fb24b){const _0x4a116d=_0xaf762a,_0x5f2c36=_0x731c43(this[_0x4a116d(0x1b8)]);_0x4dfeb6(_0x5f2c36,_0x49f86e,_0x3fb24b),this[_0x4a116d(0x1b9)]({'attributes':_0x5f2c36});}[_0xaf762a(0x1bb)](_0x180c88){const _0xd460c=_0xaf762a,_0x164c69=_0x731c43(this[_0xd460c(0x1b8)]);_0x104d9f(_0x164c69,_0x180c88),this[_0xd460c(0x1b9)]({'attributes':_0x164c69});}[_0xaf762a(0x1b9)](_0x1b83db,_0x702699=!0x1){const _0x42e599=_0xaf762a;let _0x25b08a=!0x1;const _0x1b902c={'id':this['id']},_0x2498e3=[_0x42e599(0x1be),_0x42e599(0x1b7),_0x42e599(0x1b3),_0x42e599(0x1a6),_0x42e599(0x1b8),_0x42e599(0x1af),_0x42e599(0x1b2),_0x42e599(0x1ac)];for(const _0x21575d of _0x2498e3){const _0xe09cb0=_0x1b83db[_0x21575d];void 0x0!==_0xe09cb0&&_0xe09cb0!==this[_0x21575d]&&(this[_0x21575d]=_0xe09cb0,_0x1b902c[_0x21575d]=_0xe09cb0,_0x25b08a=!0x0);}_0x25b08a&&(_0x1b902c[_0x42e599(0x1a6)]&&(_0x1b902c[_0x42e599(0x1b1)]=_0x1b902c[_0x42e599(0x1a6)][_0x42e599(0x1a9)](_0x489f44=>_0x489f44['id']),delete _0x1b902c[_0x42e599(0x1a6)]),this[_0x42e599(0x1c1)](_0x42e599(0x1b9),_0x1b902c,_0x702699));}[_0xaf762a(0x1b4)](){const _0x4a19cd=_0xaf762a;return{'id':this['id'],'name':this[_0x4a19cd(0x1be)],'creatorId':this[_0x4a19cd(0x1ba)]?this[_0x4a19cd(0x1ba)]['id']:null,'authorsIds':this[_0x4a19cd(0x1a6)][_0x4a19cd(0x1a9)](_0x100ad0=>_0x100ad0['id']),'diffData':this[_0x4a19cd(0x1b3)],'createdAt':this[_0x4a19cd(0x1b7)],'attributes':this[_0x4a19cd(0x1b8)],'fromVersion':this[_0x4a19cd(0x1b2)],'toVersion':this[_0x4a19cd(0x1af)]};}}function _0x4ad8(){const _0x27f4b1=['90400GldAUV','790068YQuDFs','createdAt','attributes','_update','creator','removeAttribute','model','3BGsoSc','name','1649974VDSLYy','setName','fire','30275YGMTnn','authors','setAttribute','144LOsFlp','map','566128WdjKzv','1200750ureXte','creatorId','2139802FAEeTX','set','toVersion','234mwzcov','authorsIds','fromVersion','diffData','toJSON'];_0x4ad8=function(){return _0x27f4b1;};return _0x4ad8();}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35b53f=_0x3fe0;(function(_0x574cb3,_0x5c2ed6){const _0x56312f=_0x3fe0,_0x31faa9=_0x574cb3();while(!![]){try{const _0x89c292=-parseInt(_0x56312f(0x83))/0x1*(-parseInt(_0x56312f(0x81))/0x2)+parseInt(_0x56312f(0x88))/0x3+-parseInt(_0x56312f(0x84))/0x4+-parseInt(_0x56312f(0x87))/0x5+-parseInt(_0x56312f(0x8a))/0x6+parseInt(_0x56312f(0x7f))/0x7+-parseInt(_0x56312f(0x82))/0x8*(-parseInt(_0x56312f(0x85))/0x9);if(_0x89c292===_0x5c2ed6)break;else _0x31faa9['push'](_0x31faa9['shift']());}catch(_0x22aece){_0x31faa9['push'](_0x31faa9['shift']());}}}(_0x5b5c,0xddbb5));function _0x5b5c(){const _0x4f8923=['_setChanges','2551145BoBlJL','2994144gdIwUt','newRevisionId','5593314DDCcDt','add','changes','2281321vzlsKt','oldRevisionId','12YeSqNL','200AYBvjr','288329tEcfvO','6984956nRojeQ','375471PlPYqH'];_0x5b5c=function(){return _0x4f8923;};return _0x5b5c();}function _0x3fe0(_0x570bea,_0x51ec59){const _0x5b5c53=_0x5b5c();return _0x3fe0=function(_0x3fe03b,_0x3f774b){_0x3fe03b=_0x3fe03b-0x7d;let _0x417a68=_0x5b5c53[_0x3fe03b];return _0x417a68;},_0x3fe0(_0x570bea,_0x51ec59);}import{Collection as _0x29d8d0}from'ckeditor5/src/utils.js';export class RevisionDiff{[_0x35b53f(0x89)];[_0x35b53f(0x80)];[_0x35b53f(0x7e)];constructor(_0x2a9d8e,_0x3243f5){const _0x43e4ea=_0x35b53f;this[_0x43e4ea(0x89)]=_0x2a9d8e,this[_0x43e4ea(0x80)]=_0x3243f5,this[_0x43e4ea(0x7e)]=new _0x29d8d0();}[_0x35b53f(0x86)](_0x3b0c1b){const _0x2566b1=_0x35b53f;for(const _0x5be92d of _0x3b0c1b)this[_0x2566b1(0x7e)][_0x2566b1(0x7d)](_0x5be92d);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x11031a=_0x11db;(function(_0x7d0deb,_0x4d131b){const _0x4e4545=_0x11db,_0x1e2857=_0x7d0deb();while(!![]){try{const _0x19b74b=parseInt(_0x4e4545(0x115))/0x1+parseInt(_0x4e4545(0x12d))/0x2*(-parseInt(_0x4e4545(0xd5))/0x3)+-parseInt(_0x4e4545(0xca))/0x4+-parseInt(_0x4e4545(0xf3))/0x5*(-parseInt(_0x4e4545(0xc9))/0x6)+-parseInt(_0x4e4545(0xeb))/0x7+-parseInt(_0x4e4545(0xc8))/0x8+parseInt(_0x4e4545(0xbc))/0x9*(parseInt(_0x4e4545(0xe4))/0xa);if(_0x19b74b===_0x4d131b)break;else _0x1e2857['push'](_0x1e2857['shift']());}catch(_0x21b81a){_0x1e2857['push'](_0x1e2857['shift']());}}}(_0x35a3,0x20ec8));import{Plugin as _0x2af258}from'ckeditor5/src/core.js';import{CKEditorError as _0xed0e46,uid as _0xa98779}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x538474}from'./revisiontracker.js';import{RevisionHistoryUI as _0x426086}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x322873}from'./revisionviewer.js';import{RevisionViewerUI as _0x11da26}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x22a816}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x38cdde}from'./editor/revisionviewereditor.js';import{getTranslation as _0x53fe46}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x424f01}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x11031a(0x116),_0x11031a(0x139)];function _0x11db(_0x39c7a4,_0x26e543){const _0x35a33a=_0x35a3();return _0x11db=function(_0x11dbf7,_0x127ca8){_0x11dbf7=_0x11dbf7-0xa5;let _0x184bac=_0x35a33a[_0x11dbf7];return _0x184bac;},_0x11db(_0x39c7a4,_0x26e543);}export class RevisionViewerIntegration extends _0x2af258{[_0x11031a(0xb2)];static get[_0x11031a(0x120)](){const _0x3a3ec8=_0x11031a;return _0x3a3ec8(0xb4);}static get[_0x11031a(0xe8)](){return!0x0;}static get[_0x11031a(0xc1)](){return!0x0;}constructor(_0x273dda){const _0x2609ac=_0x11031a;function _0x4a90b7(_0x74b726){const _0x5cdd69=_0x11db;return _0x74b726[_0x5cdd69(0xd0)](_0x1200c8=>String[_0x5cdd69(0xfc)](_0x1200c8))[_0x5cdd69(0x127)]('');}super(_0x273dda),this[_0x2609ac(0xb2)]=_0x2609ac(0xba),_0x273dda[_0x4a90b7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a90b7([0x76,0x69,0x65,0x77])][_0x4a90b7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a90b7([0x61,0x75,0x74,0x6f]),_0x273dda[_0x4a90b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x4a90b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a90b7([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x4a90b7([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x4a90b7([0x6f,0x6b])});}}function _0x35a3(){const _0xe62a65=['_cleanUp','getUser','removeMarker','isOfficialPlugin','block','bind','437283maxcEt','fromVersion','document','revisionHistory.showRevisionViewerCallback','revisionHistory.restoreRevisionCallback','closeRevisionViewerCallback','loadRevisionData','PaginationLookup','2135YioTTv','catch','toolbar','remove','isOpen','roots','revisionHistory.editorContainer','DocumentOutline','define','fromCharCode','_getRevisionViewerEditorConfig','adapter','hide','showRevisionViewerCallback','isAttached','addRevisionData','RevisionHistoryUtils','refreshVisibility','users','removeSelectionAttribute','rootName','model','name','update','setAttribute','translations','none','Autosave','plugins','_showRevisionViewer','RevisionViewer','uiLanguage','display','disableReadOnlyMode','210822oNRPFF','RevisionHistoryUI','push','createdAt','revisionHistory.viewerEditorElement','setSelection','Users','toJSON','getRoot','revision-history-missing-configuration','style','pluginName','changesNavigation','commands','numeric','DocumentOutlineUI','getRevisionDocumentData','RevisionHistory','join','getRevision','_viewerEditor','isAnonymous','toLocaleDateString','toVersion','217598eIGzhZ','isEnabled','revisionHistory.closeRevisionViewerCallback','revisionHistory.viewerContainer','revisionHistory.requireRevisionName','save','destroy','repository','detachRoot','locale','enableReadOnlyMode','revision-history-viewer-opened','RestrictedEditingMode','isReadOnly','addRoot','from','has','Restored','saveRevision','editor','_closeRevisionViewer','isReady','restoreRevision','enqueueChange','Annotations','element','includes','lazyRoots','creator','result','RevisionTracker','RevisionViewerIntegration','_enhanceCloseRevisionViewerCallback','_recalculatePageBreaks','error','create','Dialog','end','set','162JiMRum','requires','long','restrictedEditingException','getMarkersGroup','isPremiumPlugin','data','then','addUser','_enhanceShowRevisionViewerCallback','getRevisions','change','362200jZAlnU','3468omZcaX','543068RvJaiL','toLocaleTimeString','get','markers','indexOf','getRevisionRootsAttributes','map','config','view','init','_update','3ADDKjE','selection','revisionHistory','insert','getAttributeKeys','isRevisionViewerOpen','RevisionsRepository','parse','refreshPositioning','createRangeIn','$graveyard','_restoreRevision','exitToEditing','keys','removeAttribute','16410YHLDuE'];_0x35a3=function(){return _0xe62a65;};return _0x35a3();}export class RevisionHistory extends _0x2af258{[_0x11031a(0x129)];static get[_0x11031a(0x120)](){const _0x223341=_0x11031a;return _0x223341(0x126);}static get[_0x11031a(0xe8)](){return!0x0;}static get[_0x11031a(0xc1)](){return!0x0;}static get[_0x11031a(0xbd)](){return[_0x538474,_0x426086];}constructor(_0x2fdca9){const _0x1b36b4=_0x11031a;if(super(_0x2fdca9),!this[_0x1b36b4(0xa8)][_0x1b36b4(0xd1)][_0x1b36b4(0xcc)](_0x1b36b4(0xd7)))throw new _0xed0e46(_0x1b36b4(0x11e),this);this[_0x1b36b4(0x129)]=null,this[_0x1b36b4(0xbb)](_0x1b36b4(0xda),!0x1),this[_0x1b36b4(0xa8)][_0x1b36b4(0xd1)][_0x1b36b4(0xfb)](_0x1b36b4(0xee),_0x49d3d1=>this[_0x1b36b4(0x110)]({..._0x49d3d1,'translations':this[_0x1b36b4(0xa8)][_0x1b36b4(0x136)][_0x1b36b4(0x10c)]})),this[_0x1b36b4(0xa8)][_0x1b36b4(0xd1)][_0x1b36b4(0xfb)](_0x1b36b4(0x12f),_0x2ed62c=>this[_0x1b36b4(0xa9)](_0x2ed62c)),this[_0x1b36b4(0xa8)][_0x1b36b4(0xd1)][_0x1b36b4(0xfb)](_0x1b36b4(0xef),_0x1ef34c=>this[_0x1b36b4(0xe0)](_0x1ef34c)),this[_0x1b36b4(0xa8)][_0x1b36b4(0xd1)][_0x1b36b4(0xfb)](_0x1b36b4(0x131),!0x1),this[_0x1b36b4(0xc5)](),this[_0x1b36b4(0xb5)]();}set[_0x11031a(0xfe)](_0x519c96){const _0x2167d4=_0x11031a;this[_0x2167d4(0xa8)][_0x2167d4(0x10f)][_0x2167d4(0xcc)](_0x2167d4(0xb3))[_0x2167d4(0xfe)]=_0x519c96;}get[_0x11031a(0xfe)](){const _0x77b144=_0x11031a;return this[_0x77b144(0xa8)][_0x77b144(0x10f)][_0x77b144(0xcc)](_0x77b144(0xb3))[_0x77b144(0xfe)];}[_0x11031a(0x102)](_0x43604f){const _0x20ec24=_0x11031a;return this[_0x20ec24(0xa8)][_0x20ec24(0x10f)][_0x20ec24(0xcc)](_0x20ec24(0xb3))[_0x20ec24(0x102)](_0x43604f);}[_0x11031a(0x128)](_0x249b68){const _0x2732b5=_0x11031a;return this[_0x2732b5(0xa8)][_0x2732b5(0x10f)][_0x2732b5(0xcc)](_0x2732b5(0xdb))[_0x2732b5(0x128)](_0x249b68);}[_0x11031a(0xc6)](_0x4e9589){const _0x545de3=_0x11031a;return this[_0x545de3(0xa8)][_0x545de3(0x10f)][_0x545de3(0xcc)](_0x545de3(0xdb))[_0x545de3(0xc6)](_0x4e9589||{'toJSON':!0x1});}[_0x11031a(0xfd)](){const _0x3346b2=_0x11031a,_0x299330=this[_0x3346b2(0xa8)],_0x57f539=_0x424f01(_0x299330,d),_0x209481=_0x299330[_0x3346b2(0x10f)][_0x3346b2(0xcc)](_0x3346b2(0xb3)),_0x2b20f0=_0x299330[_0x3346b2(0x10f)][_0x3346b2(0xcc)](_0x3346b2(0x11b))[_0x3346b2(0x105)];return _0x57f539[_0x3346b2(0xf5)]=[_0x3346b2(0xe1),_0x3346b2(0xab),_0x3346b2(0x121)],delete _0x57f539[_0x3346b2(0xb0)],(_0x57f539[_0x3346b2(0x10f)][_0x3346b2(0x117)](RevisionViewerIntegration,_0x322873,_0x11da26,class extends _0x2af258{static get[_0x3346b2(0xbd)](){const _0x1d19c0=_0x3346b2;return[_0x322873,_0x1d19c0(0x11b)];}[_0x3346b2(0xd3)](){const _0x3aaf8c=_0x3346b2,_0x3aef03=this[_0x3aaf8c(0xa8)][_0x3aaf8c(0x10f)][_0x3aaf8c(0xcc)](_0x3aaf8c(0x11b));for(const _0x3cf112 of _0x2b20f0)_0x3cf112[_0x3aaf8c(0x12a)]||_0x3aef03[_0x3aaf8c(0xe6)](_0x3cf112['id'])||_0x3aef03[_0x3aaf8c(0xc4)](_0x3cf112);const _0x359bf0=_0x209481[_0x3aaf8c(0x134)][_0x3aaf8c(0xc6)]();let _0x5256e8=null;const _0x2b1425=this[_0x3aaf8c(0xa8)][_0x3aaf8c(0x10f)][_0x3aaf8c(0xcc)](_0x3aaf8c(0x111));_0x2b1425[_0x3aaf8c(0xfe)]=_0x209481[_0x3aaf8c(0xfe)],_0x2b1425[_0x3aaf8c(0xea)](_0x3aaf8c(0x12e))['to'](_0x209481),this[_0x3aaf8c(0xa8)][_0x3aaf8c(0x122)][_0x3aaf8c(0xcc)](_0x3aaf8c(0xab))[_0x3aaf8c(0xea)](_0x3aaf8c(0x12e))['to'](_0x299330,_0x3aaf8c(0x13a),_0x340bca=>!_0x340bca);for(const _0x158e38 of _0x359bf0){const _0x432131=null===_0x158e38[_0x3aaf8c(0xb1)];if(_0x432131&&_0x158e38[_0x3aaf8c(0x12c)]===_0x158e38[_0x3aaf8c(0xec)])continue;const _0xeda853=_0x158e38[_0x3aaf8c(0x11c)]();_0x2b1425[_0x3aaf8c(0x102)](_0xeda853,(_0x56b1e1,_0x2dfdd1,_0x144aef)=>{const _0x3d1080=_0x3aaf8c;if(_0x432131){if(_0x5256e8)_0x5256e8[_0x3d1080(0xd4)](_0x56b1e1,_0x2dfdd1);else{if(!_0x2dfdd1){const _0x5462ba=_0x144aef[_0x3d1080(0x11c)]();_0x5462ba['id']=_0xa98779(),_0x209481[_0x3d1080(0xa7)](_0x5462ba,_0x144aef[_0x3d1080(0x12c)])[_0x3d1080(0xc3)](_0x3bcd0c=>{_0x5256e8=_0x3bcd0c;});}}}else _0x158e38[_0x3d1080(0xd4)](_0x56b1e1,_0x2dfdd1);});}}},_0x22a816),_0x57f539);}[_0x11031a(0xc5)](){const _0x456330=_0x11031a,_0x1edd44=this[_0x456330(0xa8)][_0x456330(0xd1)][_0x456330(0xcc)](_0x456330(0xd7))[_0x456330(0x100)];this[_0x456330(0xa8)][_0x456330(0xd1)][_0x456330(0xbb)](_0x456330(0xee),async()=>{const _0x1bcce7=_0x456330;this[_0x1bcce7(0xa8)][_0x1bcce7(0x137)](_0x1bcce7(0x138));const _0x3a1a4c=this[_0x1bcce7(0xa8)][_0x1bcce7(0x10f)][_0x1bcce7(0xcc)](_0x1bcce7(0xb3));if(this[_0x1bcce7(0xa8)][_0x1bcce7(0x10f)][_0x1bcce7(0xa5)](_0x1bcce7(0x10e))){const _0x8744=this[_0x1bcce7(0xa8)][_0x1bcce7(0x10f)][_0x1bcce7(0xcc)](_0x1bcce7(0x10e));await _0x8744[_0x1bcce7(0x132)]();}else await _0x3a1a4c[_0x1bcce7(0x10a)]();if(this[_0x1bcce7(0xa8)][_0x1bcce7(0x10f)][_0x1bcce7(0xa5)](_0x1bcce7(0xf2))&&this[_0x1bcce7(0xa8)][_0x1bcce7(0x10f)][_0x1bcce7(0xcc)](_0x1bcce7(0xf2))[_0x1bcce7(0xb6)](),this[_0x1bcce7(0xa8)][_0x1bcce7(0x10f)][_0x1bcce7(0xa5)](_0x1bcce7(0xb9))){const _0x34c3df=this[_0x1bcce7(0xa8)][_0x1bcce7(0x10f)][_0x1bcce7(0xcc)](_0x1bcce7(0xb9));_0x34c3df[_0x1bcce7(0xf7)]&&_0x34c3df[_0x1bcce7(0xff)]();}const _0x265d4f=this[_0x1bcce7(0xfd)]();return _0x1edd44(_0x265d4f)[_0x1bcce7(0xc3)](_0x55d719=>{const _0x302743=_0x1bcce7;return(this[_0x302743(0x129)]=_0x55d719,this[_0x302743(0xa8)][_0x302743(0x10f)][_0x302743(0xa5)](_0x302743(0xad)))&&this[_0x302743(0xa8)][_0x302743(0x10f)][_0x302743(0xcc)](_0x302743(0xad))[_0x302743(0x104)](),(this[_0x302743(0xa8)][_0x302743(0x10f)][_0x302743(0xa5)](_0x302743(0xfa))&&(this[_0x302743(0xa8)][_0x302743(0x10f)][_0x302743(0xcc)](_0x302743(0x124))[_0x302743(0xd2)][_0x302743(0xae)][_0x302743(0x11f)][_0x302743(0x113)]=_0x302743(0x10d)),_0x55d719);})[_0x1bcce7(0xf4)](_0x10265b=>(console[_0x1bcce7(0xb7)](_0x10265b),this[_0x1bcce7(0xa8)][_0x1bcce7(0x114)](_0x1bcce7(0x138)),null));});}[_0x11031a(0xb5)](){const _0x1d96b2=_0x11031a,_0x5bf2a0=this[_0x1d96b2(0xa8)][_0x1d96b2(0xd1)][_0x1d96b2(0xcc)](_0x1d96b2(0xd7))[_0x1d96b2(0xf0)];this[_0x1d96b2(0xa8)][_0x1d96b2(0xd1)][_0x1d96b2(0xbb)](_0x1d96b2(0x12f),()=>(this[_0x1d96b2(0xa8)][_0x1d96b2(0x10f)][_0x1d96b2(0xa5)](_0x1d96b2(0xf2))&&this[_0x1d96b2(0xa8)][_0x1d96b2(0x10f)][_0x1d96b2(0xcc)](_0x1d96b2(0xf2))[_0x1d96b2(0xb6)](),this[_0x1d96b2(0xa8)][_0x1d96b2(0x10f)][_0x1d96b2(0xa5)](_0x1d96b2(0xfa))&&(this[_0x1d96b2(0xa8)][_0x1d96b2(0x10f)][_0x1d96b2(0xcc)](_0x1d96b2(0x124))[_0x1d96b2(0xd2)][_0x1d96b2(0xae)][_0x1d96b2(0x11f)][_0x1d96b2(0x113)]=''),this[_0x1d96b2(0x129)][_0x1d96b2(0x10f)][_0x1d96b2(0xcc)](_0x1d96b2(0x111))[_0x1d96b2(0xe5)](),_0x5bf2a0(this[_0x1d96b2(0x129)])[_0x1d96b2(0xc3)](()=>{const _0x46135a=_0x1d96b2;if(this[_0x46135a(0xa8)][_0x46135a(0x114)](_0x46135a(0x138)),this[_0x46135a(0x129)]=null,this[_0x46135a(0xa8)][_0x46135a(0x10f)][_0x46135a(0xa5)](_0x46135a(0xad))){const _0x6a7eae=this[_0x46135a(0xa8)][_0x46135a(0x10f)][_0x46135a(0xcc)](_0x46135a(0xad));_0x6a7eae[_0x46135a(0x104)](),_0x6a7eae[_0x46135a(0xdd)]();}})));}[_0x11031a(0x110)](_0xc2d98c){const _0x44444c=_0x11031a,_0x29929b=this[_0x44444c(0xa8)][_0x44444c(0xd1)][_0x44444c(0xcc)](_0x44444c(0xf9)),_0x37fb5c=this[_0x44444c(0xa8)][_0x44444c(0xd1)][_0x44444c(0xcc)](_0x44444c(0x130)),_0x3c15cd=this[_0x44444c(0xa8)][_0x44444c(0xd1)][_0x44444c(0xcc)](_0x44444c(0x119));return _0x38cdde[_0x44444c(0xb8)](_0x3c15cd,_0xc2d98c)[_0x44444c(0xc3)](_0x292630=>(_0x37fb5c[_0x44444c(0x11f)][_0x44444c(0x113)]=_0x44444c(0xe9),_0x29929b[_0x44444c(0x11f)][_0x44444c(0x113)]=_0x44444c(0x10d),this[_0x44444c(0xda)]=!0x0,_0x292630));}[_0x11031a(0xa9)](_0x1650e5){const _0x2167e0=_0x11031a,_0x22bf17=this[_0x2167e0(0xa8)][_0x2167e0(0xd1)][_0x2167e0(0xcc)](_0x2167e0(0xf9));return this[_0x2167e0(0xa8)][_0x2167e0(0xd1)][_0x2167e0(0xcc)](_0x2167e0(0x130))[_0x2167e0(0x11f)][_0x2167e0(0x113)]=_0x2167e0(0x10d),_0x22bf17[_0x2167e0(0x11f)][_0x2167e0(0x113)]='',this[_0x2167e0(0xda)]=!0x1,_0x1650e5[_0x2167e0(0x133)]();}async[_0x11031a(0xe0)](_0x5b560b){const _0x17ab6b=_0x11031a,_0x609da4=this[_0x17ab6b(0xa8)],_0x59f70c=this[_0x17ab6b(0x129)][_0x17ab6b(0x10f)][_0x17ab6b(0xcc)](_0x17ab6b(0x111)),_0x49837c=_0x609da4[_0x17ab6b(0x10f)][_0x17ab6b(0xcc)](_0x17ab6b(0xb3)),_0x5cdc99=_0x609da4[_0x17ab6b(0x10f)][_0x17ab6b(0xcc)](_0x17ab6b(0x103)),_0x46caa5=_0x59f70c[_0x17ab6b(0x134)][_0x17ab6b(0x128)](_0x5b560b);let _0x1188ce,_0x3647ee,_0x471066;try{await _0x5cdc99[_0x17ab6b(0xf1)](_0x46caa5,this[_0x17ab6b(0xfe)]),_0x1188ce=_0x5cdc99[_0x17ab6b(0x125)](_0x46caa5),_0x3647ee=_0x5cdc99[_0x17ab6b(0xcf)](_0x46caa5);}catch(_0x4ca540){return void console[_0x17ab6b(0xb7)](_0x4ca540);}_0x609da4[_0x17ab6b(0x108)][_0x17ab6b(0xc7)](_0x58520c=>{const _0x144b4d=_0x17ab6b;for(const _0x11e78e of Array[_0x144b4d(0x13c)](_0x609da4[_0x144b4d(0x108)][_0x144b4d(0xcd)][_0x144b4d(0xc0)](_0x144b4d(0xbf))))_0x58520c[_0x144b4d(0xe7)](_0x11e78e);}),_0x59f70c[_0x17ab6b(0xaa)]=!0x1,_0x609da4[_0x17ab6b(0x108)][_0x17ab6b(0xac)](_0x80df0e=>{const _0x332013=_0x17ab6b;_0x80df0e[_0x332013(0x11a)](null),_0x80df0e[_0x332013(0x106)](_0x609da4[_0x332013(0x108)][_0x332013(0xed)][_0x332013(0xd6)][_0x332013(0xd9)]());const _0xc0dc0d=Object[_0x332013(0xe2)](_0x1188ce);for(const _0x5e7932 of _0x609da4[_0x332013(0x108)][_0x332013(0xed)][_0x332013(0xf8)])_0x332013(0xdf)!=_0x5e7932[_0x332013(0x107)]&&_0x5e7932[_0x332013(0x101)]()&&!_0xc0dc0d[_0x332013(0xaf)](_0x5e7932[_0x332013(0x107)])&&_0x80df0e[_0x332013(0x135)](_0x5e7932);for(const _0x276d61 of _0xc0dc0d){let _0x3bd963=_0x609da4[_0x332013(0x108)][_0x332013(0xed)][_0x332013(0x11d)](_0x276d61);_0x3bd963&&_0x3bd963[_0x332013(0x101)]()||(_0x3bd963=_0x80df0e[_0x332013(0x13b)](_0x276d61));const _0x2ddd27=_0x3647ee[_0x276d61],_0x3116bc=Object[_0x332013(0xe2)](_0x2ddd27),_0x2f50e7=_0x1188ce[_0x276d61];for(const _0x43450e of _0x3bd963[_0x332013(0xd9)]())_0x3116bc[_0x332013(0xaf)](_0x43450e)||_0x80df0e[_0x332013(0xe3)](_0x43450e,_0x3bd963);for(const _0x509372 of _0x3116bc)_0x80df0e[_0x332013(0x10b)](_0x509372,_0x3647ee[_0x276d61][_0x509372],_0x3bd963);_0x80df0e[_0x332013(0xf6)](_0x80df0e[_0x332013(0xde)](_0x3bd963)),_0x80df0e[_0x332013(0xd8)](_0x609da4[_0x332013(0xc2)][_0x332013(0xdc)](_0x2f50e7,_0x3bd963),_0x3bd963,0x0);}});const _0x3f4ed1=_0x53fe46(_0x609da4[_0x17ab6b(0x136)],_0x17ab6b(0xa6));if(_0x46caa5[_0x17ab6b(0x109)])_0x471066=-0x1==_0x46caa5[_0x17ab6b(0x109)][_0x17ab6b(0xce)](_0x3f4ed1)?_0x3f4ed1+':\x20'+_0x46caa5[_0x17ab6b(0x109)]:_0x46caa5[_0x17ab6b(0x109)];else _0x471066=_0x3f4ed1+':\x20'+(_0x46caa5[_0x17ab6b(0x118)][_0x17ab6b(0x12b)](_0x609da4[_0x17ab6b(0x136)][_0x17ab6b(0x112)],{'month':_0x17ab6b(0xbe),'day':_0x17ab6b(0x123)})+',\x20'+_0x46caa5[_0x17ab6b(0x118)][_0x17ab6b(0xcb)](_0x609da4[_0x17ab6b(0x136)][_0x17ab6b(0x112)],{'hour':_0x17ab6b(0x123),'minute':_0x17ab6b(0x123)}));return await _0x49837c[_0x17ab6b(0xa7)]({'name':_0x471066}),_0x59f70c[_0x17ab6b(0xaa)]=!0x0,_0x609da4[_0x17ab6b(0xd1)][_0x17ab6b(0xcc)](_0x17ab6b(0xd7))[_0x17ab6b(0xf0)]();}}
|
|
23
|
+
const _0x6b412f=_0x23db;(function(_0x4a19f4,_0x3a9b36){const _0x1b5bec=_0x23db,_0x236de2=_0x4a19f4();while(!![]){try{const _0x139cf5=parseInt(_0x1b5bec(0x19c))/0x1*(parseInt(_0x1b5bec(0x17e))/0x2)+-parseInt(_0x1b5bec(0x158))/0x3*(parseInt(_0x1b5bec(0x1b5))/0x4)+parseInt(_0x1b5bec(0x1c1))/0x5+-parseInt(_0x1b5bec(0x193))/0x6*(-parseInt(_0x1b5bec(0x163))/0x7)+parseInt(_0x1b5bec(0x17f))/0x8*(-parseInt(_0x1b5bec(0x1b2))/0x9)+-parseInt(_0x1b5bec(0x16e))/0xa*(parseInt(_0x1b5bec(0x153))/0xb)+parseInt(_0x1b5bec(0x1eb))/0xc*(-parseInt(_0x1b5bec(0x1b9))/0xd);if(_0x139cf5===_0x3a9b36)break;else _0x236de2['push'](_0x236de2['shift']());}catch(_0x4c88c1){_0x236de2['push'](_0x236de2['shift']());}}}(_0x3626,0x48f08));import{Plugin as _0x2109e5}from'ckeditor5/src/core.js';import{CKEditorError as _0x41e6c3,uid as _0x41546e}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x5f325a}from'./revisiontracker.js';import{RevisionHistoryUI as _0x38a812}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x412df3}from'./revisionviewer.js';import{RevisionViewerUI as _0x3785da}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x1aa070}from'./ui/revisionssidebar/revisionssidebar.js';function _0x3626(){const _0x6e6a7d=['set','removeSelectionAttribute','RevisionViewer','Autosave','style','revisionHistory.closeRevisionViewerCallback','roots','36eiDIzz','toJSON','Dialog','341oqVaCd','init','_cleanUp','editor','lazyRoots','1167297wLLNLt','destroy','RevisionHistory','PaginationLookup','createdAt','insert','isRevisionViewerOpen','refreshPositioning','uiLanguage','save','element','101899tBzRdr','RevisionViewerIntegration','_restoreRevision','_viewerEditor','RevisionHistoryUtils','RevisionTracker','Restored','toLocaleTimeString','numeric','data','pluginName','17580bVSQns','rootName','markers','requires','none','isEnabled','restoreRevision','fromCharCode','showRevisionViewerCallback','plugins','commands','indexOf','addUser','Annotations','model','config','2ppiivM','387480hneyZH','users','revisionHistory.editorContainer','getMarkersGroup','RevisionsRepository','loadRevisionData','setAttribute','createRangeIn','restrictedEditingException','end','getUser','DocumentOutlineUI','getRoot','RevisionHistoryUI','_enhanceCloseRevisionViewerCallback','isReady','enqueueChange','_showRevisionViewer','_recalculatePageBreaks','revision-history-missing-configuration','72vxXtrm','revisionHistory','_closeRevisionViewer','removeMarker','isAnonymous','DocumentOutline','parse','addRoot','_update','381471afDfpb','detachRoot','getRevision','setSelection','creator','toVersion','revisionHistory.viewerContainer','translations','get','isOfficialPlugin','join','$graveyard','Users','change','remove','name','getAttributeKeys','has','isAttached','getRevisionDocumentData','hide','_enhanceShowRevisionViewerCallback','18mQCwzx','display','isPremiumPlugin','4xcjWFJ','saveRevision','closeRevisionViewerCallback','revisionHistory.requireRevisionName','967343VcRLhp','bind','block','catch','changesNavigation','getRevisions','locale','isReadOnly','2531525MghhHA','exitToEditing','view','push','result','enableReadOnlyMode','from','toolbar','addRevisionData','disableReadOnlyMode','fromVersion','map','isOpen','getRevisionRootsAttributes','revisionHistory.restoreRevisionCallback','repository','document','toLocaleDateString','revisionHistory.viewerEditorElement','define','adapter','RestrictedEditingMode','removeAttribute','keys','selection','refreshVisibility','update','create','long','_getRevisionViewerEditorConfig','includes','then','revision-history-viewer-opened','revisionHistory.showRevisionViewerCallback','error'];_0x3626=function(){return _0x6e6a7d;};return _0x3626();}import{RevisionViewerEditor as _0x41d2d0}from'./editor/revisionviewereditor.js';import{getTranslation as _0x512b91}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0xd50a6a}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x6b412f(0x18c),_0x6b412f(0x1d6)];function _0x23db(_0x295896,_0x3d48e5){const _0x36260c=_0x3626();return _0x23db=function(_0x23db19,_0x1bbdf3){_0x23db19=_0x23db19-0x152;let _0x278a6b=_0x36260c[_0x23db19];return _0x278a6b;},_0x23db(_0x295896,_0x3d48e5);}export class RevisionViewerIntegration extends _0x2109e5{[_0x6b412f(0x1c5)];static get[_0x6b412f(0x16d)](){const _0x330590=_0x6b412f;return _0x330590(0x164);}static get[_0x6b412f(0x1a5)](){return!0x0;}static get[_0x6b412f(0x1b4)](){return!0x0;}constructor(_0x389a13){const _0x4e96a1=_0x6b412f;function _0x2df4ab(_0x113575){const _0x59c7d9=_0x23db;return _0x113575[_0x59c7d9(0x1cc)](_0x55520d=>String[_0x59c7d9(0x175)](_0x55520d))[_0x59c7d9(0x1a6)]('');}super(_0x389a13),this[_0x4e96a1(0x1c5)]=_0x4e96a1(0x188),_0x389a13[_0x2df4ab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2df4ab([0x76,0x69,0x65,0x77])][_0x2df4ab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2df4ab([0x61,0x75,0x74,0x6f]),_0x389a13[_0x2df4ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x2df4ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2df4ab([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x2df4ab([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x2df4ab([0x6f,0x6b])});}}export class RevisionHistory extends _0x2109e5{[_0x6b412f(0x166)];static get[_0x6b412f(0x16d)](){const _0x30df29=_0x6b412f;return _0x30df29(0x15a);}static get[_0x6b412f(0x1a5)](){return!0x0;}static get[_0x6b412f(0x1b4)](){return!0x0;}static get[_0x6b412f(0x171)](){return[_0x5f325a,_0x38a812];}constructor(_0x3e13bf){const _0x3fa4ab=_0x6b412f;if(super(_0x3e13bf),!this[_0x3fa4ab(0x156)][_0x3fa4ab(0x17d)][_0x3fa4ab(0x1a4)](_0x3fa4ab(0x194)))throw new _0x41e6c3(_0x3fa4ab(0x192),this);this[_0x3fa4ab(0x166)]=null,this[_0x3fa4ab(0x1e4)](_0x3fa4ab(0x15e),!0x1),this[_0x3fa4ab(0x156)][_0x3fa4ab(0x17d)][_0x3fa4ab(0x1d4)](_0x3fa4ab(0x1e2),_0x2f036b=>this[_0x3fa4ab(0x190)]({..._0x2f036b,'translations':this[_0x3fa4ab(0x156)][_0x3fa4ab(0x1bf)][_0x3fa4ab(0x1a3)]})),this[_0x3fa4ab(0x156)][_0x3fa4ab(0x17d)][_0x3fa4ab(0x1d4)](_0x3fa4ab(0x1e9),_0x2bd165=>this[_0x3fa4ab(0x195)](_0x2bd165)),this[_0x3fa4ab(0x156)][_0x3fa4ab(0x17d)][_0x3fa4ab(0x1d4)](_0x3fa4ab(0x1cf),_0x1dc044=>this[_0x3fa4ab(0x165)](_0x1dc044)),this[_0x3fa4ab(0x156)][_0x3fa4ab(0x17d)][_0x3fa4ab(0x1d4)](_0x3fa4ab(0x1b8),!0x1),this[_0x3fa4ab(0x1b1)](),this[_0x3fa4ab(0x18d)]();}set[_0x6b412f(0x1d5)](_0x4b0980){const _0x35f803=_0x6b412f;this[_0x35f803(0x156)][_0x35f803(0x177)][_0x35f803(0x1a4)](_0x35f803(0x168))[_0x35f803(0x1d5)]=_0x4b0980;}get[_0x6b412f(0x1d5)](){const _0x5b7fff=_0x6b412f;return this[_0x5b7fff(0x156)][_0x5b7fff(0x177)][_0x5b7fff(0x1a4)](_0x5b7fff(0x168))[_0x5b7fff(0x1d5)];}[_0x6b412f(0x1c9)](_0x4c1468){const _0xd5cece=_0x6b412f;return this[_0xd5cece(0x156)][_0xd5cece(0x177)][_0xd5cece(0x1a4)](_0xd5cece(0x168))[_0xd5cece(0x1c9)](_0x4c1468);}[_0x6b412f(0x19e)](_0x5d5b25){const _0x28a0dc=_0x6b412f;return this[_0x28a0dc(0x156)][_0x28a0dc(0x177)][_0x28a0dc(0x1a4)](_0x28a0dc(0x183))[_0x28a0dc(0x19e)](_0x5d5b25);}[_0x6b412f(0x1be)](_0x1c0847){const _0x4feefe=_0x6b412f;return this[_0x4feefe(0x156)][_0x4feefe(0x177)][_0x4feefe(0x1a4)](_0x4feefe(0x183))[_0x4feefe(0x1be)](_0x1c0847||{'toJSON':!0x1});}[_0x6b412f(0x1de)](){const _0x34598b=_0x6b412f,_0x9da059=this[_0x34598b(0x156)],_0x4da50d=_0xd50a6a(_0x9da059,d),_0x594c0b=_0x9da059[_0x34598b(0x177)][_0x34598b(0x1a4)](_0x34598b(0x168)),_0x1d56ae=_0x9da059[_0x34598b(0x177)][_0x34598b(0x1a4)](_0x34598b(0x1a8))[_0x34598b(0x180)];return _0x4da50d[_0x34598b(0x1c8)]=[_0x34598b(0x1c2),_0x34598b(0x174),_0x34598b(0x1bd)],delete _0x4da50d[_0x34598b(0x157)],(_0x4da50d[_0x34598b(0x177)][_0x34598b(0x1c4)](RevisionViewerIntegration,_0x412df3,_0x3785da,class extends _0x2109e5{static get[_0x34598b(0x171)](){const _0x354dd7=_0x34598b;return[_0x412df3,_0x354dd7(0x1a8)];}[_0x34598b(0x154)](){const _0x3c6062=_0x34598b,_0x486bcb=this[_0x3c6062(0x156)][_0x3c6062(0x177)][_0x3c6062(0x1a4)](_0x3c6062(0x1a8));for(const _0x3edd4c of _0x1d56ae)_0x3edd4c[_0x3c6062(0x197)]||_0x486bcb[_0x3c6062(0x189)](_0x3edd4c['id'])||_0x486bcb[_0x3c6062(0x17a)](_0x3edd4c);const _0x39a3a0=_0x594c0b[_0x3c6062(0x1d0)][_0x3c6062(0x1be)]();let _0x36ca19=null;const _0x4cdfb0=this[_0x3c6062(0x156)][_0x3c6062(0x177)][_0x3c6062(0x1a4)](_0x3c6062(0x1e6));_0x4cdfb0[_0x3c6062(0x1d5)]=_0x594c0b[_0x3c6062(0x1d5)],_0x4cdfb0[_0x3c6062(0x1ba)](_0x3c6062(0x173))['to'](_0x594c0b),this[_0x3c6062(0x156)][_0x3c6062(0x178)][_0x3c6062(0x1a4)](_0x3c6062(0x174))[_0x3c6062(0x1ba)](_0x3c6062(0x173))['to'](_0x9da059,_0x3c6062(0x1c0),_0x96dbe9=>!_0x96dbe9);for(const _0x37c864 of _0x39a3a0){const _0x21b16e=null===_0x37c864[_0x3c6062(0x1a0)];if(_0x21b16e&&_0x37c864[_0x3c6062(0x1a1)]===_0x37c864[_0x3c6062(0x1cb)])continue;const _0x2d3695=_0x37c864[_0x3c6062(0x1ec)]();_0x4cdfb0[_0x3c6062(0x1c9)](_0x2d3695,(_0x3486d7,_0x298be7,_0x21c683)=>{const _0xc6d4ae=_0x3c6062;if(_0x21b16e){if(_0x36ca19)_0x36ca19[_0xc6d4ae(0x19b)](_0x3486d7,_0x298be7);else{if(!_0x298be7){const _0x5c504e=_0x21c683[_0xc6d4ae(0x1ec)]();_0x5c504e['id']=_0x41546e(),_0x594c0b[_0xc6d4ae(0x1b6)](_0x5c504e,_0x21c683[_0xc6d4ae(0x1a1)])[_0xc6d4ae(0x1e0)](_0x239932=>{_0x36ca19=_0x239932;});}}}else _0x37c864[_0xc6d4ae(0x19b)](_0x3486d7,_0x298be7);});}}},_0x1aa070),_0x4da50d);}[_0x6b412f(0x1b1)](){const _0x5878e8=_0x6b412f,_0x341e48=this[_0x5878e8(0x156)][_0x5878e8(0x17d)][_0x5878e8(0x1a4)](_0x5878e8(0x194))[_0x5878e8(0x176)];this[_0x5878e8(0x156)][_0x5878e8(0x17d)][_0x5878e8(0x1e4)](_0x5878e8(0x1e2),async()=>{const _0x30996f=_0x5878e8;this[_0x30996f(0x156)][_0x30996f(0x1c6)](_0x30996f(0x1e1));const _0x23c308=this[_0x30996f(0x156)][_0x30996f(0x177)][_0x30996f(0x1a4)](_0x30996f(0x168));if(this[_0x30996f(0x156)][_0x30996f(0x177)][_0x30996f(0x1ad)](_0x30996f(0x1e7))){const _0x25b6c1=this[_0x30996f(0x156)][_0x30996f(0x177)][_0x30996f(0x1a4)](_0x30996f(0x1e7));await _0x25b6c1[_0x30996f(0x161)]();}else await _0x23c308[_0x30996f(0x1db)]();if(this[_0x30996f(0x156)][_0x30996f(0x177)][_0x30996f(0x1ad)](_0x30996f(0x15b))&&this[_0x30996f(0x156)][_0x30996f(0x177)][_0x30996f(0x1a4)](_0x30996f(0x15b))[_0x30996f(0x191)](),this[_0x30996f(0x156)][_0x30996f(0x177)][_0x30996f(0x1ad)](_0x30996f(0x152))){const _0xf4416a=this[_0x30996f(0x156)][_0x30996f(0x177)][_0x30996f(0x1a4)](_0x30996f(0x152));_0xf4416a[_0x30996f(0x1cd)]&&_0xf4416a[_0x30996f(0x1b0)]();}const _0x3c0ee2=this[_0x30996f(0x1de)]();return _0x341e48(_0x3c0ee2)[_0x30996f(0x1e0)](_0x216a31=>{const _0x1dc5c6=_0x30996f;return(this[_0x1dc5c6(0x166)]=_0x216a31,this[_0x1dc5c6(0x156)][_0x1dc5c6(0x177)][_0x1dc5c6(0x1ad)](_0x1dc5c6(0x17b)))&&this[_0x1dc5c6(0x156)][_0x1dc5c6(0x177)][_0x1dc5c6(0x1a4)](_0x1dc5c6(0x17b))[_0x1dc5c6(0x1da)](),(this[_0x1dc5c6(0x156)][_0x1dc5c6(0x177)][_0x1dc5c6(0x1ad)](_0x1dc5c6(0x198))&&(this[_0x1dc5c6(0x156)][_0x1dc5c6(0x177)][_0x1dc5c6(0x1a4)](_0x1dc5c6(0x18a))[_0x1dc5c6(0x1c3)][_0x1dc5c6(0x162)][_0x1dc5c6(0x1e8)][_0x1dc5c6(0x1b3)]=_0x1dc5c6(0x172)),_0x216a31);})[_0x30996f(0x1bc)](_0x3b704f=>(console[_0x30996f(0x1e3)](_0x3b704f),this[_0x30996f(0x156)][_0x30996f(0x1ca)](_0x30996f(0x1e1)),null));});}[_0x6b412f(0x18d)](){const _0x30737d=_0x6b412f,_0x5df51b=this[_0x30737d(0x156)][_0x30737d(0x17d)][_0x30737d(0x1a4)](_0x30737d(0x194))[_0x30737d(0x1b7)];this[_0x30737d(0x156)][_0x30737d(0x17d)][_0x30737d(0x1e4)](_0x30737d(0x1e9),()=>(this[_0x30737d(0x156)][_0x30737d(0x177)][_0x30737d(0x1ad)](_0x30737d(0x15b))&&this[_0x30737d(0x156)][_0x30737d(0x177)][_0x30737d(0x1a4)](_0x30737d(0x15b))[_0x30737d(0x191)](),this[_0x30737d(0x156)][_0x30737d(0x177)][_0x30737d(0x1ad)](_0x30737d(0x198))&&(this[_0x30737d(0x156)][_0x30737d(0x177)][_0x30737d(0x1a4)](_0x30737d(0x18a))[_0x30737d(0x1c3)][_0x30737d(0x162)][_0x30737d(0x1e8)][_0x30737d(0x1b3)]=''),this[_0x30737d(0x166)][_0x30737d(0x177)][_0x30737d(0x1a4)](_0x30737d(0x1e6))[_0x30737d(0x155)](),_0x5df51b(this[_0x30737d(0x166)])[_0x30737d(0x1e0)](()=>{const _0x5123b2=_0x30737d;if(this[_0x5123b2(0x156)][_0x5123b2(0x1ca)](_0x5123b2(0x1e1)),this[_0x5123b2(0x166)]=null,this[_0x5123b2(0x156)][_0x5123b2(0x177)][_0x5123b2(0x1ad)](_0x5123b2(0x17b))){const _0x24cc5c=this[_0x5123b2(0x156)][_0x5123b2(0x177)][_0x5123b2(0x1a4)](_0x5123b2(0x17b));_0x24cc5c[_0x5123b2(0x1da)](),_0x24cc5c[_0x5123b2(0x15f)]();}})));}[_0x6b412f(0x190)](_0x112e80){const _0x583172=_0x6b412f,_0x4aa1ce=this[_0x583172(0x156)][_0x583172(0x17d)][_0x583172(0x1a4)](_0x583172(0x181)),_0x5890c8=this[_0x583172(0x156)][_0x583172(0x17d)][_0x583172(0x1a4)](_0x583172(0x1a2)),_0x260324=this[_0x583172(0x156)][_0x583172(0x17d)][_0x583172(0x1a4)](_0x583172(0x1d3));return _0x41d2d0[_0x583172(0x1dc)](_0x260324,_0x112e80)[_0x583172(0x1e0)](_0x2f7ccc=>(_0x5890c8[_0x583172(0x1e8)][_0x583172(0x1b3)]=_0x583172(0x1bb),_0x4aa1ce[_0x583172(0x1e8)][_0x583172(0x1b3)]=_0x583172(0x172),this[_0x583172(0x15e)]=!0x0,_0x2f7ccc));}[_0x6b412f(0x195)](_0x5963c0){const _0x4ddba8=_0x6b412f,_0x1bb4d9=this[_0x4ddba8(0x156)][_0x4ddba8(0x17d)][_0x4ddba8(0x1a4)](_0x4ddba8(0x181));return this[_0x4ddba8(0x156)][_0x4ddba8(0x17d)][_0x4ddba8(0x1a4)](_0x4ddba8(0x1a2))[_0x4ddba8(0x1e8)][_0x4ddba8(0x1b3)]=_0x4ddba8(0x172),_0x1bb4d9[_0x4ddba8(0x1e8)][_0x4ddba8(0x1b3)]='',this[_0x4ddba8(0x15e)]=!0x1,_0x5963c0[_0x4ddba8(0x159)]();}async[_0x6b412f(0x165)](_0x395245){const _0x1ccb3a=_0x6b412f,_0x22d704=this[_0x1ccb3a(0x156)],_0x4e32f1=this[_0x1ccb3a(0x166)][_0x1ccb3a(0x177)][_0x1ccb3a(0x1a4)](_0x1ccb3a(0x1e6)),_0x1e4854=_0x22d704[_0x1ccb3a(0x177)][_0x1ccb3a(0x1a4)](_0x1ccb3a(0x168)),_0x4c3d40=_0x22d704[_0x1ccb3a(0x177)][_0x1ccb3a(0x1a4)](_0x1ccb3a(0x167)),_0x284dd7=_0x4e32f1[_0x1ccb3a(0x1d0)][_0x1ccb3a(0x19e)](_0x395245);let _0x3b6143,_0x103a9f,_0x459a48;try{await _0x4c3d40[_0x1ccb3a(0x184)](_0x284dd7,this[_0x1ccb3a(0x1d5)]),_0x3b6143=_0x4c3d40[_0x1ccb3a(0x1af)](_0x284dd7),_0x103a9f=_0x4c3d40[_0x1ccb3a(0x1ce)](_0x284dd7);}catch(_0x2437fd){return void console[_0x1ccb3a(0x1e3)](_0x2437fd);}_0x22d704[_0x1ccb3a(0x17c)][_0x1ccb3a(0x1a9)](_0x13f86f=>{const _0x4497c6=_0x1ccb3a;for(const _0x535a40 of Array[_0x4497c6(0x1c7)](_0x22d704[_0x4497c6(0x17c)][_0x4497c6(0x170)][_0x4497c6(0x182)](_0x4497c6(0x187))))_0x13f86f[_0x4497c6(0x196)](_0x535a40);}),_0x4e32f1[_0x1ccb3a(0x18e)]=!0x1,_0x22d704[_0x1ccb3a(0x17c)][_0x1ccb3a(0x18f)](_0x2adf7f=>{const _0x2da4a9=_0x1ccb3a;_0x2adf7f[_0x2da4a9(0x19f)](null),_0x2adf7f[_0x2da4a9(0x1e5)](_0x22d704[_0x2da4a9(0x17c)][_0x2da4a9(0x1d1)][_0x2da4a9(0x1d9)][_0x2da4a9(0x1ac)]());const _0x829cda=Object[_0x2da4a9(0x1d8)](_0x3b6143);for(const _0x3d35b6 of _0x22d704[_0x2da4a9(0x17c)][_0x2da4a9(0x1d1)][_0x2da4a9(0x1ea)])_0x2da4a9(0x1a7)!=_0x3d35b6[_0x2da4a9(0x16f)]&&_0x3d35b6[_0x2da4a9(0x1ae)]()&&!_0x829cda[_0x2da4a9(0x1df)](_0x3d35b6[_0x2da4a9(0x16f)])&&_0x2adf7f[_0x2da4a9(0x19d)](_0x3d35b6);for(const _0x49da94 of _0x829cda){let _0x54e3dc=_0x22d704[_0x2da4a9(0x17c)][_0x2da4a9(0x1d1)][_0x2da4a9(0x18b)](_0x49da94);_0x54e3dc&&_0x54e3dc[_0x2da4a9(0x1ae)]()||(_0x54e3dc=_0x2adf7f[_0x2da4a9(0x19a)](_0x49da94));const _0x285d9c=_0x103a9f[_0x49da94],_0x2991a8=Object[_0x2da4a9(0x1d8)](_0x285d9c),_0x471f10=_0x3b6143[_0x49da94];for(const _0x51d59a of _0x54e3dc[_0x2da4a9(0x1ac)]())_0x2991a8[_0x2da4a9(0x1df)](_0x51d59a)||_0x2adf7f[_0x2da4a9(0x1d7)](_0x51d59a,_0x54e3dc);for(const _0x4a17b8 of _0x2991a8)_0x2adf7f[_0x2da4a9(0x185)](_0x4a17b8,_0x103a9f[_0x49da94][_0x4a17b8],_0x54e3dc);_0x2adf7f[_0x2da4a9(0x1aa)](_0x2adf7f[_0x2da4a9(0x186)](_0x54e3dc)),_0x2adf7f[_0x2da4a9(0x15d)](_0x22d704[_0x2da4a9(0x16c)][_0x2da4a9(0x199)](_0x471f10,_0x54e3dc),_0x54e3dc,0x0);}});const _0x52b935=_0x512b91(_0x22d704[_0x1ccb3a(0x1bf)],_0x1ccb3a(0x169));if(_0x284dd7[_0x1ccb3a(0x1ab)])_0x459a48=-0x1==_0x284dd7[_0x1ccb3a(0x1ab)][_0x1ccb3a(0x179)](_0x52b935)?_0x52b935+':\x20'+_0x284dd7[_0x1ccb3a(0x1ab)]:_0x284dd7[_0x1ccb3a(0x1ab)];else _0x459a48=_0x52b935+':\x20'+(_0x284dd7[_0x1ccb3a(0x15c)][_0x1ccb3a(0x1d2)](_0x22d704[_0x1ccb3a(0x1bf)][_0x1ccb3a(0x160)],{'month':_0x1ccb3a(0x1dd),'day':_0x1ccb3a(0x16b)})+',\x20'+_0x284dd7[_0x1ccb3a(0x15c)][_0x1ccb3a(0x16a)](_0x22d704[_0x1ccb3a(0x1bf)][_0x1ccb3a(0x160)],{'hour':_0x1ccb3a(0x16b),'minute':_0x1ccb3a(0x16b)}));return await _0x1e4854[_0x1ccb3a(0x1b6)]({'name':_0x459a48}),_0x4e32f1[_0x1ccb3a(0x18e)]=!0x0,_0x22d704[_0x1ccb3a(0x17d)][_0x1ccb3a(0x1a4)](_0x1ccb3a(0x194))[_0x1ccb3a(0x1b7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5df829=_0x87dd;(function(_0x3a030e,_0x5352c0){const _0x35d43a=_0x87dd,_0x503f1b=_0x3a030e();while(!![]){try{const _0x59a365=parseInt(_0x35d43a(0xb6))/0x1*(parseInt(_0x35d43a(0xa0))/0x2)+-parseInt(_0x35d43a(0xa7))/0x3+-parseInt(_0x35d43a(0xae))/0x4+parseInt(_0x35d43a(0xb4))/0x5+parseInt(_0x35d43a(0x8c))/0x6+parseInt(_0x35d43a(0x7a))/0x7*(parseInt(_0x35d43a(0xac))/0x8)+-parseInt(_0x35d43a(0x94))/0x9*(parseInt(_0x35d43a(0xa4))/0xa);if(_0x59a365===_0x5352c0)break;else _0x503f1b['push'](_0x503f1b['shift']());}catch(_0x349ece){_0x503f1b['push'](_0x503f1b['shift']());}}}(_0x9c07,0x43964));import{Plugin as _0x22c8df}from'ckeditor5/src/core.js';function _0x87dd(_0x2214c5,_0x37213c){const _0x9c07e8=_0x9c07();return _0x87dd=function(_0x87dd71,_0x1e1443){_0x87dd71=_0x87dd71-0x74;let _0x3b5337=_0x9c07e8[_0x87dd71];return _0x3b5337;},_0x87dd(_0x2214c5,_0x37213c);}import{ViewDocumentFragment as _0x42f8ee,ViewText as _0x30eba9,ViewElement as _0x3bcb77,ViewContainerElement as _0x3a3107,ViewAttributeElement as _0x3e1052,ViewEmptyElement as _0x1a8ec0,ViewRawElement as _0x4982b0,ViewUIElement as _0x73320d}from'ckeditor5/src/engine.js';function _0x9c07(){const _0x13b5ed=['_typeCharToViewClass','getFillerOffset','editing','391454VLtWyX','editor','data','innerHTML','from','document','getRevisionRootsAttributes','filter','customProperties','length','revision-end','_viewClassToTypeChar','config','revision-start','map','attributes','string','_makeModelFromViewString','1735080jEFbhs','render','domConverter','parse','default','forEach','pluginName','toData','27pFeXpa','_appendChild','isPremiumPlugin','children','viewChildrenToDom','name','view','domChildrenToView','getRevision','_removeRevisionMarkers','childNodes','isAttached','771698MPunZM','htmlProcessor','createElement','get','2488270xLZSjy','loadRevisionData','isOfficialPlugin','683586DZyVxT','insertions','processor','fillerOffset','toModel','56rFDFAE','constructor','449472ELihSV','attachChange','attributesAfter','div','RevisionHistoryUtils','_setCustomProperty','1485320VnyzYs','data-revision-','1uFrRnP','type','diffData','useFillerType','domDocument','marked','_getViewFromDiffObj','_getTypeCharForViewElement','append','getRevisionDocumentData','collaboration.channelId','startsWith'];_0x9c07=function(){return _0x13b5ed;};return _0x9c07();}export class RevisionHistoryUtils extends _0x22c8df{static get[_0x5df829(0x92)](){const _0x42d68d=_0x5df829;return _0x42d68d(0xb2);}static get[_0x5df829(0xa6)](){return!0x0;}static get[_0x5df829(0x96)](){return!0x0;}[_0x5df829(0x85)]=new Map([[_0x3a3107,'c'],[_0x3e1052,'a'],[_0x1a8ec0,'e'],[_0x4982b0,'r'],[_0x73320d,'u']]);[_0x5df829(0x77)]=new Map([['c',_0x3a3107],['a',_0x3e1052],['e',_0x1a8ec0],['r',_0x4982b0],['u',_0x73320d]]);async[_0x5df829(0xa5)](_0x301722,_0x14315a){const _0x33185a=_0x5df829;if(_0x301722[_0x33185a(0xb8)]||!_0x14315a)return;const _0x508594=this[_0x33185a(0x7b)][_0x33185a(0x86)][_0x33185a(0xa3)](_0x33185a(0x75)),_0x9bb74e=await _0x14315a[_0x33185a(0x9c)]({'channelId':_0x508594,'revisionId':_0x301722['id']});_0x301722[_0x33185a(0xb8)]=_0x9bb74e[_0x33185a(0xb8)];}[_0x5df829(0x74)](_0x2fb29e){const _0x52fb9a=_0x5df829,_0xa98cd8={};for(const _0x12bf64 in _0x2fb29e[_0x52fb9a(0xb8)]){if(_0x2fb29e[_0x52fb9a(0xb8)][_0x12bf64][_0x52fb9a(0xaf)]&&!_0x2fb29e[_0x52fb9a(0xb8)][_0x12bf64][_0x52fb9a(0xaf)][_0x52fb9a(0x9f)])continue;const _0x59fa2b=this[_0x52fb9a(0x9d)](JSON[_0x52fb9a(0x8f)](_0x2fb29e[_0x52fb9a(0xb8)][_0x12bf64][_0x52fb9a(0xa8)])),_0x13127e=this[_0x52fb9a(0x7b)][_0x52fb9a(0x79)][_0x52fb9a(0x9a)][_0x52fb9a(0x7f)],_0x108c66=new _0x42f8ee(_0x13127e,_0x59fa2b[_0x52fb9a(0x88)](_0xee7f5=>this[_0x52fb9a(0xbc)](_0xee7f5,!0x1)));this[_0x52fb9a(0x7b)][_0x52fb9a(0x7c)][_0x52fb9a(0xa9)][_0x52fb9a(0xb9)](_0x52fb9a(0xbb)),_0xa98cd8[_0x12bf64]=this[_0x52fb9a(0x7b)][_0x52fb9a(0x7c)][_0x52fb9a(0xa9)][_0x52fb9a(0x93)](_0x108c66),this[_0x52fb9a(0x7b)][_0x52fb9a(0x7c)][_0x52fb9a(0xa9)][_0x52fb9a(0xb9)](_0x52fb9a(0x90));}return _0xa98cd8;}[_0x5df829(0x80)](_0x473f74){const _0x28b0eb=_0x5df829,_0x3d8586={};for(const _0x3a4ac3 in _0x473f74[_0x28b0eb(0xb8)])_0x473f74[_0x28b0eb(0xb8)][_0x3a4ac3][_0x28b0eb(0xaf)]&&!_0x473f74[_0x28b0eb(0xb8)][_0x3a4ac3][_0x28b0eb(0xaf)][_0x28b0eb(0x9f)]||(_0x3d8586[_0x3a4ac3]=_0x473f74[_0x28b0eb(0xb8)][_0x3a4ac3][_0x28b0eb(0xb0)]||{});return _0x3d8586;}[_0x5df829(0xbd)](_0x24f903){const _0x2b159f=_0x5df829;return this[_0x2b159f(0x85)][_0x2b159f(0xa3)](_0x24f903[_0x2b159f(0xad)]);}[_0x5df829(0xbc)](_0xf54e92,_0x1209ca){const _0x5428ac=_0x5df829,_0x1cff6c=this[_0x5428ac(0x7b)][_0x5428ac(0x79)][_0x5428ac(0x9a)][_0x5428ac(0x7f)];if(_0x5428ac(0x8a)==typeof _0xf54e92)return new _0x30eba9(_0x1cff6c,_0xf54e92);{let _0x1d3aa9,_0x3dcd42;_0x3dcd42='u'==_0xf54e92[_0x5428ac(0xb7)]||'r'==_0xf54e92[_0x5428ac(0xb7)]?[]:_0xf54e92[_0x5428ac(0x97)][_0x5428ac(0x88)](_0x235903=>this[_0x5428ac(0xbc)](_0x235903,_0x1209ca));const _0x3bd184=this[_0x5428ac(0x77)][_0x5428ac(0xa3)](_0xf54e92[_0x5428ac(0xb7)])||_0x3bcb77,_0x453d6a=this[_0x5428ac(0x7b)][_0x5428ac(0x7c)][_0x5428ac(0xa1)][_0x5428ac(0x8e)];if(_0x1d3aa9=new _0x3bd184(_0x1cff6c,_0xf54e92[_0x5428ac(0x99)],_0xf54e92[_0x5428ac(0x89)],_0x3dcd42),'u'==_0xf54e92[_0x5428ac(0xb7)]&&_0xf54e92[_0x5428ac(0x97)][0x0]){const _0x540fa5=_0xf54e92[_0x5428ac(0x97)][0x0];if(_0x1d3aa9[_0x5428ac(0x8d)]=function(_0x4b0bf9){const _0x1605a5=_0x5428ac,_0x14b335=_0x4b0bf9[_0x1605a5(0xa2)](_0x1605a5(0xb1));return _0x14b335[_0x1605a5(0x7d)]=_0x540fa5,_0x14b335[_0x1605a5(0x9e)][0x0];},_0x1209ca){const _0x10d833=new _0x42f8ee(_0x1cff6c);_0x10d833[_0x5428ac(0x95)](_0x1d3aa9);const _0x5bfb18=Array[_0x5428ac(0x7e)](_0x453d6a[_0x5428ac(0x98)](_0x10d833,{'bind':!0x1})),_0xa02958=_0x453d6a[_0x5428ac(0xba)][_0x5428ac(0xa2)](_0x5428ac(0xb1));_0xa02958[_0x5428ac(0xbe)](..._0x5bfb18),_0x1d3aa9=Array[_0x5428ac(0x7e)](_0x453d6a[_0x5428ac(0x9b)](_0xa02958))[0x0];}}else{if('r'==_0xf54e92[_0x5428ac(0xb7)]&&_0xf54e92[_0x5428ac(0x97)][0x0]){const _0x5be13e=_0xf54e92[_0x5428ac(0x97)][0x0];if(_0x1d3aa9[_0x5428ac(0x8d)]=function(_0x1b3fb9){const _0x5daf66=_0x5428ac;_0x1b3fb9[_0x5daf66(0x7d)]=_0x5be13e;},_0x1209ca){const _0x55206a=new _0x42f8ee(_0x1cff6c);_0x55206a[_0x5428ac(0x95)](_0x1d3aa9);const _0x5e93c2=Array[_0x5428ac(0x7e)](_0x453d6a[_0x5428ac(0x98)](_0x55206a,{'bind':!0x1})),_0x37eb06=_0x453d6a[_0x5428ac(0xba)][_0x5428ac(0xa2)](_0x5428ac(0xb1));_0x37eb06[_0x5428ac(0xbe)](..._0x5e93c2);const _0x2f1e57=Array[_0x5428ac(0x7e)](_0x453d6a[_0x5428ac(0x9b)](_0x37eb06));_0x2f1e57[_0x5428ac(0x83)]>0x1?_0x1d3aa9[_0x5428ac(0x95)](_0x2f1e57):_0x1d3aa9=_0x2f1e57[0x0];}}}if(_0xf54e92[_0x5428ac(0x82)]){for(const [_0x4b34b5,_0xdc56ad]of _0xf54e92[_0x5428ac(0x82)])_0x1d3aa9[_0x5428ac(0xb3)](_0x4b34b5,_0xdc56ad);}const _0x2567af=void 0x0===_0xf54e92[_0x5428ac(0xaa)]?null:_0xf54e92[_0x5428ac(0xaa)];return null!==_0x2567af&&(_0x1d3aa9[_0x5428ac(0x78)]=()=>_0x2567af),_0x1d3aa9;}}[_0x5df829(0x8b)](_0xdd30ad){const _0x394f8a=_0x5df829,_0x26451b=JSON[_0x394f8a(0x8f)](_0xdd30ad),_0x59ff96=this[_0x394f8a(0x7b)][_0x394f8a(0x79)][_0x394f8a(0x9a)][_0x394f8a(0x7f)],_0x44cff3=new _0x42f8ee(_0x59ff96,_0x26451b[_0x394f8a(0x88)](_0x68a6b5=>this[_0x394f8a(0xbc)](_0x68a6b5,!0x0)));return this[_0x394f8a(0x7b)][_0x394f8a(0x7c)][_0x394f8a(0xab)](_0x44cff3);}[_0x5df829(0x9d)](_0x26b2bd){const _0x52593b=_0x5df829;return(_0x26b2bd=_0x26b2bd[_0x52593b(0x81)](_0x134bba=>!_0x134bba[_0x52593b(0x99)]||_0x52593b(0x87)!==_0x134bba[_0x52593b(0x99)]&&_0x52593b(0x84)!==_0x134bba[_0x52593b(0x99)]))[_0x52593b(0x91)](_0x3d1c96=>{const _0x5ede0c=_0x52593b;_0x5ede0c(0x8a)!=typeof _0x3d1c96&&(_0x3d1c96[_0x5ede0c(0x97)]=this[_0x5ede0c(0x9d)](_0x3d1c96[_0x5ede0c(0x97)]),_0x3d1c96[_0x5ede0c(0x89)]=_0x3d1c96[_0x5ede0c(0x89)][_0x5ede0c(0x81)](_0x3946f9=>!_0x3946f9[0x0][_0x5ede0c(0x76)](_0x5ede0c(0xb5))));}),_0x26b2bd;}}
|