@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250707.0 → 0.0.0-nightly-20250710.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
|
+
(_0x2b9f5d=>{const {vi:{dictionary:_0x521ed4,getPluralForm:_0x312603}}={'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':_0x25296b=>0x0}};_0x2b9f5d['vi']||={'dictionary':{},'getPluralForm':null},_0x2b9f5d['vi']['dictionary']=Object['assign'](_0x2b9f5d['vi']['dictionary'],_0x521ed4),_0x2b9f5d['vi']['getPluralForm']=_0x312603;})(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':_0x105a8f=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2de580=>{const {'zh-cn':{dictionary:_0x3d8acf,getPluralForm:_0x1cd306}}={'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':_0x36d599=>0x0}};_0x2de580['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x2de580['zh-cn']['dictionary']=Object['assign'](_0x2de580['zh-cn']['dictionary'],_0x3d8acf),_0x2de580['zh-cn']['getPluralForm']=_0x1cd306;})(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':_0x499f64=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3c310f=>{const {zh:{dictionary:_0x50ac89,getPluralForm:_0x13f816}}={'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':_0x73cc52=>0x0}};_0x3c310f['zh']||={'dictionary':{},'getPluralForm':null},_0x3c310f['zh']['dictionary']=Object['assign'](_0x3c310f['zh']['dictionary'],_0x50ac89),_0x3c310f['zh']['getPluralForm']=_0x13f816;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250710.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": "0.0.0-nightly-
|
|
43
|
-
"@ckeditor/ckeditor5-comments": "0.0.0-nightly-
|
|
44
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
45
|
-
"@ckeditor/ckeditor5-editor-classic": "0.0.0-nightly-
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
47
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
48
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
49
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "0.0.0-nightly-20250710.0",
|
|
43
|
+
"@ckeditor/ckeditor5-comments": "0.0.0-nightly-20250710.0",
|
|
44
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250710.0",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-classic": "0.0.0-nightly-20250710.0",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250710.0",
|
|
47
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250710.0",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250710.0",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250710.0",
|
|
50
50
|
"@types/luxon": "3.6.2",
|
|
51
|
-
"ckeditor5": "0.0.0-nightly-
|
|
52
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
51
|
+
"ckeditor5": "0.0.0-nightly-20250710.0",
|
|
52
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20250710.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
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x38a4(_0x444a0b,_0x379c1d){var _0x174397=_0x1743();return _0x38a4=function(_0x38a423,_0x460dd3){_0x38a423=_0x38a423-0x167;var _0x48504d=_0x174397[_0x38a423];return _0x48504d;},_0x38a4(_0x444a0b,_0x379c1d);}var _0x3edbf8=_0x38a4;(function(_0x45282e,_0x1f457c){var _0x11fe26=_0x38a4,_0x408076=_0x45282e();while(!![]){try{var _0x85d90b=-parseInt(_0x11fe26(0x175))/0x1+parseInt(_0x11fe26(0x173))/0x2*(parseInt(_0x11fe26(0x16c))/0x3)+-parseInt(_0x11fe26(0x16b))/0x4*(parseInt(_0x11fe26(0x16f))/0x5)+parseInt(_0x11fe26(0x176))/0x6+-parseInt(_0x11fe26(0x174))/0x7+-parseInt(_0x11fe26(0x16e))/0x8+parseInt(_0x11fe26(0x172))/0x9;if(_0x85d90b===_0x1f457c)break;else _0x408076['push'](_0x408076['shift']());}catch(_0x71580c){_0x408076['push'](_0x408076['shift']());}}}(_0x1743,0x2a506));function _0x1743(){var _0xa578b=['69eEPZTY','set','534936qMLenb','738065pnzfkB','data','toJSON','2373471WqgAKe','8578JPoTXb','1028860rAXleS','23549NbTSkA','1175766FjtcqC','createdAt','type','rootName','author','4xWAtwO'];_0x1743=function(){return _0xa578b;};return _0x1743();}import{ObservableMixin as _0x3c0d47,uid as _0x5201dc}from'ckeditor5/src/utils.js';export class ChangeItem extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3c0d47(){['id'];[_0x3edbf8(0x16a)];[_0x3edbf8(0x168)];[_0x3edbf8(0x170)];[_0x3edbf8(0x169)];constructor(_0x5050bc){var _0x2a6b8b=_0x3edbf8;super(),this['id']=_0x5050bc['id']||_0x5201dc(),this[_0x2a6b8b(0x16a)]=_0x5050bc[_0x2a6b8b(0x16a)],this[_0x2a6b8b(0x168)]=_0x5050bc[_0x2a6b8b(0x168)],this[_0x2a6b8b(0x170)]=_0x5050bc[_0x2a6b8b(0x170)]||{},this[_0x2a6b8b(0x169)]=_0x5050bc[_0x2a6b8b(0x169)],this[_0x2a6b8b(0x16d)](_0x2a6b8b(0x167),_0x5050bc[_0x2a6b8b(0x167)]);}[_0x3edbf8(0x171)](){var _0x409f57=_0x3edbf8;return{'id':this['id'],'authorId':this[_0x409f57(0x16a)]['id'],'type':this[_0x409f57(0x168)],'data':this[_0x409f57(0x170)],'createdAt':this[_0x409f57(0x167)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x98a18c=_0x13c7;(function(_0x4061df,_0x4dbee3){const _0x1c65e2=_0x13c7,_0x4c97ef=_0x4061df();while(!![]){try{const _0x362666=parseInt(_0x1c65e2(0xd1))/0x1*(parseInt(_0x1c65e2(0xc4))/0x2)+parseInt(_0x1c65e2(0xc2))/0x3+-parseInt(_0x1c65e2(0xbf))/0x4+parseInt(_0x1c65e2(0xc0))/0x5+-parseInt(_0x1c65e2(0xca))/0x6*(-parseInt(_0x1c65e2(0xc5))/0x7)+-parseInt(_0x1c65e2(0xd6))/0x8+parseInt(_0x1c65e2(0xc9))/0x9*(-parseInt(_0x1c65e2(0xc6))/0xa);if(_0x362666===_0x4dbee3)break;else _0x4c97ef['push'](_0x4c97ef['shift']());}catch(_0xc42819){_0x4c97ef['push'](_0x4c97ef['shift']());}}}(_0x528b,0xf1e08));import{Editor as _0x58850a,ElementApiMixin as _0x4e88a3}from'ckeditor5/src/core.js';function _0x528b(){const _0x48e880=['fire','destroy','data','create','createRoot','model','4673WxorfM','init','initialData','editing','updateSourceElement','10639016eKuDLF','initPlugins','_ui','get','locale','ready','606828kpWgZn','8089520gWcmEc','sourceElement','5864526AljEHc','document','334pXusbG','276451gQItfj','270dfbUQD','config','view','1035036xAMHlJ','186iqeSwR'];_0x528b=function(){return _0x48e880;};return _0x528b();}import{RevisionViewerEditorUI as _0x542954}from'./revisionviewereditorui.js';function _0x13c7(_0x34c08d,_0x25c7f6){const _0x528b76=_0x528b();return _0x13c7=function(_0x13c705,_0x2d76aa){_0x13c705=_0x13c705-0xbf;let _0x144f80=_0x528b76[_0x13c705];return _0x144f80;},_0x13c7(_0x34c08d,_0x25c7f6);}import{RevisionViewerEditorUIView as _0x56e80a}from'./revisionviewereditoruiview.js';export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4e88a3(_0x58850a){[_0x98a18c(0xd8)];get['ui'](){const _0x2be5c0=_0x98a18c;return this[_0x2be5c0(0xd8)];}constructor(_0xb2344f,_0x5a7234){const _0x39bcb8=_0x98a18c;super(_0x5a7234),this[_0x39bcb8(0xc1)]=_0xb2344f,this[_0x39bcb8(0xd0)][_0x39bcb8(0xc3)][_0x39bcb8(0xcf)]();const _0x8539d4=new _0x56e80a(this[_0x39bcb8(0xda)],this[_0x39bcb8(0xd4)][_0x39bcb8(0xc8)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x39bcb8(0xd8)]=new _0x542954(this,_0x8539d4);}[_0x98a18c(0xcc)](){const _0x236f9c=_0x98a18c;return this[_0x236f9c(0xd5)](),this['ui'][_0x236f9c(0xcc)](),super[_0x236f9c(0xcc)]();}static async[_0x98a18c(0xce)](_0x73464b,_0x167df6){const _0x54f835=_0x98a18c,_0x436084=new this(_0x73464b,_0x167df6);return await _0x436084[_0x54f835(0xd7)](),await _0x436084['ui'][_0x54f835(0xd2)](_0x73464b),await _0x436084[_0x54f835(0xcd)][_0x54f835(0xd2)](_0x436084[_0x54f835(0xc7)][_0x54f835(0xd9)](_0x54f835(0xd3))||''),_0x436084[_0x54f835(0xcb)](_0x54f835(0xdb)),_0x436084;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x70b4(){const _0x79cd3c=['3002IVmkag','_view','isFocused','176307WRFLSx','_elementReplacer','_toolbarConfig','93DYqMvo','render','isActive','getRoot','replace','restore','addToolbar','viewportTopOffset','fillFromConfig','_initToolbar','3320550DayXdR','init','6433272sGDpyq','viewportOffset','bind','4670248DXdckp','editable','ready','focusTracker','element','config','rootName','detachDomRoot','editor','fire','document','7qhkuGw','setEditableElement','5558648LOjfKe','destroy','componentFactory','name','editing','limiterElement','toolbar','attachDomRoot','stickyPanel','view','get','5551245PDvHSy'];_0x70b4=function(){return _0x79cd3c;};return _0x70b4();}const _0x1e8d1a=_0xf98e;(function(_0x2a2f06,_0x588ee4){const _0x41fd8b=_0xf98e,_0x35b59e=_0x2a2f06();while(!![]){try{const _0x2fa615=parseInt(_0x41fd8b(0x167))/0x1+parseInt(_0x41fd8b(0x164))/0x2*(-parseInt(_0x41fd8b(0x16a))/0x3)+-parseInt(_0x41fd8b(0x179))/0x4+parseInt(_0x41fd8b(0x163))/0x5+parseInt(_0x41fd8b(0x176))/0x6+parseInt(_0x41fd8b(0x184))/0x7*(-parseInt(_0x41fd8b(0x186))/0x8)+parseInt(_0x41fd8b(0x174))/0x9;if(_0x2fa615===_0x588ee4)break;else _0x35b59e['push'](_0x35b59e['shift']());}catch(_0x2cc261){_0x35b59e['push'](_0x35b59e['shift']());}}}(_0x70b4,0xc7e6a));function _0xf98e(_0x132389,_0x4d84fd){const _0x70b490=_0x70b4();return _0xf98e=function(_0xf98e7a,_0x23d844){_0xf98e7a=_0xf98e7a-0x159;let _0x26d096=_0x70b490[_0xf98e7a];return _0x26d096;},_0xf98e(_0x132389,_0x4d84fd);}import{EditorUI as _0x31aebd,normalizeToolbarConfig as _0x147aef}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x3f617c}from'ckeditor5/src/utils.js';export class RevisionViewerEditorUI extends _0x31aebd{[_0x1e8d1a(0x165)];[_0x1e8d1a(0x169)];[_0x1e8d1a(0x168)];get[_0x1e8d1a(0x161)](){const _0x5b071b=_0x1e8d1a;return this[_0x5b071b(0x165)];}constructor(_0x18ae29,_0x4e579b){const _0x5b0670=_0x1e8d1a;super(_0x18ae29),this[_0x5b0670(0x165)]=_0x4e579b,this[_0x5b0670(0x169)]=_0x147aef(_0x18ae29[_0x5b0670(0x17e)][_0x5b0670(0x162)](_0x5b0670(0x15e))),this[_0x5b0670(0x168)]=new _0x3f617c();}get[_0x1e8d1a(0x17d)](){const _0x65fd74=_0x1e8d1a;return this[_0x65fd74(0x161)][_0x65fd74(0x17d)];}[_0x1e8d1a(0x175)](_0x684006){const _0x374983=_0x1e8d1a,_0x374542=this[_0x374983(0x181)],_0x40d759=this[_0x374983(0x161)],_0x3880a6=_0x374542[_0x374983(0x15c)][_0x374983(0x161)],_0x1c859e=_0x40d759[_0x374983(0x17a)],_0x5474e2=_0x3880a6[_0x374983(0x183)][_0x374983(0x16d)]();_0x1c859e[_0x374983(0x15b)]=_0x5474e2[_0x374983(0x17f)],_0x40d759[_0x374983(0x16b)]();const _0x2d6ec5=_0x1c859e[_0x374983(0x17d)];this[_0x374983(0x185)](_0x1c859e[_0x374983(0x15b)],_0x2d6ec5),_0x40d759[_0x374983(0x17a)][_0x374983(0x178)](_0x374983(0x166))['to'](this[_0x374983(0x17c)]),_0x3880a6[_0x374983(0x15f)](_0x2d6ec5),this[_0x374983(0x168)][_0x374983(0x16e)](_0x684006,this[_0x374983(0x17d)]),this[_0x374983(0x173)](),this[_0x374983(0x182)](_0x374983(0x17b));}[_0x1e8d1a(0x159)](){const _0x1c4663=_0x1e8d1a;super[_0x1c4663(0x159)]();const _0x5a3f24=this[_0x1c4663(0x161)],_0xf286c1=this[_0x1c4663(0x181)][_0x1c4663(0x15c)][_0x1c4663(0x161)];this[_0x1c4663(0x168)][_0x1c4663(0x16f)](),_0xf286c1[_0x1c4663(0x180)](_0x5a3f24[_0x1c4663(0x17a)][_0x1c4663(0x15b)]),_0x5a3f24[_0x1c4663(0x159)]();}[_0x1e8d1a(0x173)](){const _0x48f3a5=_0x1e8d1a,_0x1856f5=this[_0x48f3a5(0x161)];_0x1856f5[_0x48f3a5(0x160)][_0x48f3a5(0x178)](_0x48f3a5(0x16c))['to'](this[_0x48f3a5(0x17c)],_0x48f3a5(0x166)),_0x1856f5[_0x48f3a5(0x160)][_0x48f3a5(0x15d)]=_0x1856f5[_0x48f3a5(0x17d)],_0x1856f5[_0x48f3a5(0x160)][_0x48f3a5(0x178)](_0x48f3a5(0x171))['to'](this,_0x48f3a5(0x177),({top:_0x5196e2})=>_0x5196e2),_0x1856f5[_0x48f3a5(0x15e)][_0x48f3a5(0x172)](this[_0x48f3a5(0x169)],this[_0x48f3a5(0x15a)]),this[_0x48f3a5(0x170)](_0x1856f5[_0x48f3a5(0x15e)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0xea18(_0x16c2d8,_0x24391b){var _0x310a7d=_0x310a();return _0xea18=function(_0xea1874,_0x543f56){_0xea1874=_0xea1874-0xf9;var _0x3c6da5=_0x310a7d[_0xea1874];return _0x3c6da5;},_0xea18(_0x16c2d8,_0x24391b);}var _0x51d550=_0xea18;function _0x310a(){var _0x3f31c0=['167CKDyet','16QJiFMQ','_editable','1342101MoDNTt','8445507OZneax','6349508KvnGyK','7811178apadut','add','render','22060mDZBBr','toolbar','editable','top','main','shouldToolbarGroupWhenFull','70jxxQOo','content','stickyPanel','535DRsnxy','622179wcEFoM','502vnyPVY'];_0x310a=function(){return _0x3f31c0;};return _0x310a();}(function(_0x31ee28,_0x3ebd79){var _0x1ff024=_0xea18,_0xb6a5eb=_0x31ee28();while(!![]){try{var _0x2910e2=-parseInt(_0x1ff024(0x101))/0x1*(-parseInt(_0x1ff024(0x100))/0x2)+-parseInt(_0x1ff024(0x104))/0x3+-parseInt(_0x1ff024(0x10a))/0x4*(parseInt(_0x1ff024(0xfe))/0x5)+-parseInt(_0x1ff024(0x107))/0x6+-parseInt(_0x1ff024(0x105))/0x7+parseInt(_0x1ff024(0x102))/0x8*(parseInt(_0x1ff024(0xff))/0x9)+-parseInt(_0x1ff024(0xfb))/0xa*(-parseInt(_0x1ff024(0x106))/0xb);if(_0x2910e2===_0x3ebd79)break;else _0xb6a5eb['push'](_0xb6a5eb['shift']());}catch(_0x31f321){_0xb6a5eb['push'](_0xb6a5eb['shift']());}}}(_0x310a,0xa4c7b));import{BoxedEditorUIView as _0x1ecb8f,InlineEditableUIView as _0x44ff39,StickyPanelView as _0x1803d3,ToolbarView as _0x5268ad}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export class RevisionViewerEditorUIView extends _0x1ecb8f{[_0x51d550(0x103)];[_0x51d550(0xfd)];[_0x51d550(0x10b)];get[_0x51d550(0x10c)](){var _0x240e08=_0x51d550;return this[_0x240e08(0x103)];}constructor(_0x143d29,_0x493abb,_0x1f2927={}){var _0x1a0e58=_0x51d550;super(_0x143d29),this[_0x1a0e58(0xfd)]=new _0x1803d3(_0x143d29),this[_0x1a0e58(0x10b)]=new _0x5268ad(_0x143d29,{'shouldGroupWhenFull':_0x1f2927[_0x1a0e58(0xfa)]}),this[_0x1a0e58(0x103)]=new _0x44ff39(_0x143d29,_0x493abb);}[_0x51d550(0x109)](){var _0x29f81a=_0x51d550;super[_0x29f81a(0x109)](),this[_0x29f81a(0xfd)][_0x29f81a(0xfc)][_0x29f81a(0x108)](this[_0x29f81a(0x10b)]),this[_0x29f81a(0x10d)][_0x29f81a(0x108)](this[_0x29f81a(0xfd)]),this[_0x29f81a(0xf9)][_0x29f81a(0x108)](this[_0x29f81a(0x10c)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x12ecab,_0x13aadb){var _0x425918=_0xbe0d,_0x58c7cf=_0x12ecab();while(!![]){try{var _0x4c456e=parseInt(_0x425918(0xf7))/0x1*(parseInt(_0x425918(0xf4))/0x2)+parseInt(_0x425918(0xf3))/0x3+-parseInt(_0x425918(0xf8))/0x4+-parseInt(_0x425918(0xf0))/0x5+-parseInt(_0x425918(0xf6))/0x6*(parseInt(_0x425918(0xf1))/0x7)+-parseInt(_0x425918(0xf5))/0x8+parseInt(_0x425918(0xf2))/0x9;if(_0x4c456e===_0x13aadb)break;else _0x58c7cf['push'](_0x58c7cf['shift']());}catch(_0x28b19e){_0x58c7cf['push'](_0x58c7cf['shift']());}}}(_0x553f,0xee3ba));export{Revision}from'./revision.js';export{RevisionHistory}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 _0xbe0d(_0x1b0927,_0x3867a9){var _0x553fda=_0x553f();return _0xbe0d=function(_0xbe0d8c,_0x475d2c){_0xbe0d8c=_0xbe0d8c-0xf0;var _0x521e10=_0x553fda[_0xbe0d8c];return _0x521e10;},_0xbe0d(_0x1b0927,_0x3867a9);}export{RevisionViewer,RestoreRevisionCommand,ShowChangeCommand}from'./revisionviewer.js';export{RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';function _0x553f(){var _0x2ec977=['3549144wYlOBA','5VJHAte','2822472LdPmZj','3817065PiCQAP','7MnXRlM','24639048NbXBwg','2804130JszbGu','390930RfYqDe','12906800UejkgK'];_0x553f=function(){return _0x2ec977;};return _0x553f();}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 _0x5ca782=_0x59d7;(function(_0x4ea8a2,_0x4d5441){const _0x27e768=_0x59d7,_0x1ff2f3=_0x4ea8a2();while(!![]){try{const _0x96e544=-parseInt(_0x27e768(0x1be))/0x1+-parseInt(_0x27e768(0x1b7))/0x2*(-parseInt(_0x27e768(0x1aa))/0x3)+parseInt(_0x27e768(0x1c5))/0x4*(-parseInt(_0x27e768(0x1c3))/0x5)+parseInt(_0x27e768(0x1b1))/0x6*(-parseInt(_0x27e768(0x1af))/0x7)+-parseInt(_0x27e768(0x1bc))/0x8*(-parseInt(_0x27e768(0x1b5))/0x9)+parseInt(_0x27e768(0x1ac))/0xa+parseInt(_0x27e768(0x1c6))/0xb*(parseInt(_0x27e768(0x1b2))/0xc);if(_0x96e544===_0x4d5441)break;else _0x1ff2f3['push'](_0x1ff2f3['shift']());}catch(_0x6547c1){_0x1ff2f3['push'](_0x1ff2f3['shift']());}}}(_0x3f86,0xa2c40));import{ObservableMixin as _0x529395,uid as _0x762367}from'ckeditor5/src/utils.js';function _0x59d7(_0x57cb4d,_0x2a50a0){const _0x3f86f1=_0x3f86();return _0x59d7=function(_0x59d7c1,_0x182c77){_0x59d7c1=_0x59d7c1-0x1aa;let _0x138b74=_0x3f86f1[_0x59d7c1];return _0x138b74;},_0x59d7(_0x57cb4d,_0x2a50a0);}import{cloneDeep as _0x306d53,set as _0x1ee87d,unset as _0x61a9af}from'es-toolkit/compat';function _0x3f86(){const _0x4aea77=['369440Masepd','createdAt','56djOxnU','1441eBsmwU','setName','model','184431XCSBkG','attributes','6363360qBkscq','authorsIds','setAttribute','1155vrJIuo','diffData','35520eaRRZT','212316pjpgry','toJSON','set','9cJasVu','_update','2iJwoBE','name','toVersion','authors','fire','5088488NbuYHV','removeAttribute','973737bVNBEU','creator','map','fromVersion','creatorId'];_0x3f86=function(){return _0x4aea77;};return _0x3f86();}export class Revision extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x529395(){['id'];[_0x5ca782(0x1bf)];[_0x5ca782(0x1ba)];[_0x5ca782(0x1b0)];[_0x5ca782(0x1b9)];[_0x5ca782(0x1c1)];[_0x5ca782(0x1c8)];constructor(_0xebc81){const _0x538ff5=_0x5ca782;super(),this['id']=_0xebc81['id']||_0x762367(),this[_0x538ff5(0x1bf)]=_0xebc81[_0x538ff5(0x1bf)]||null,this[_0x538ff5(0x1ba)]=_0xebc81[_0x538ff5(0x1ba)]||[],this[_0x538ff5(0x1b0)]=_0xebc81[_0x538ff5(0x1b0)]||null,this[_0x538ff5(0x1b9)]=_0xebc81[_0x538ff5(0x1b9)]||0x0,this[_0x538ff5(0x1c1)]=_0xebc81[_0x538ff5(0x1c1)]||0x0,this[_0x538ff5(0x1b4)](_0x538ff5(0x1b8),_0xebc81[_0x538ff5(0x1b8)]||''),this[_0x538ff5(0x1b4)](_0x538ff5(0x1c4),_0xebc81[_0x538ff5(0x1c4)]||new Date()),this[_0x538ff5(0x1b4)](_0x538ff5(0x1ab),_0xebc81[_0x538ff5(0x1ab)]||{});}[_0x5ca782(0x1c7)](_0x321de2){const _0x13950e=_0x5ca782;this[_0x13950e(0x1b6)]({'name':_0x321de2});}[_0x5ca782(0x1ae)](_0x2647a5,_0x42ccda){const _0x3f8c30=_0x5ca782,_0x2b9542=_0x306d53(this[_0x3f8c30(0x1ab)]);_0x1ee87d(_0x2b9542,_0x2647a5,_0x42ccda),this[_0x3f8c30(0x1b6)]({'attributes':_0x2b9542});}[_0x5ca782(0x1bd)](_0x4d1e2f){const _0x298b1e=_0x5ca782,_0x2439c5=_0x306d53(this[_0x298b1e(0x1ab)]);_0x61a9af(_0x2439c5,_0x4d1e2f),this[_0x298b1e(0x1b6)]({'attributes':_0x2439c5});}[_0x5ca782(0x1b6)](_0x5cdc82,_0x17aa30=!0x1){const _0x2b8fec=_0x5ca782;let _0x26f77e=!0x1;const _0x25fb5d={'id':this['id']},_0x3fcdfd=[_0x2b8fec(0x1b8),_0x2b8fec(0x1c4),_0x2b8fec(0x1b0),_0x2b8fec(0x1ba),_0x2b8fec(0x1ab),_0x2b8fec(0x1b9),_0x2b8fec(0x1c1),_0x2b8fec(0x1c2)];for(const _0x3a299f of _0x3fcdfd){const _0x448b00=_0x5cdc82[_0x3a299f];void 0x0!==_0x448b00&&_0x448b00!==this[_0x3a299f]&&(this[_0x3a299f]=_0x448b00,_0x25fb5d[_0x3a299f]=_0x448b00,_0x26f77e=!0x0);}_0x26f77e&&(_0x25fb5d[_0x2b8fec(0x1ba)]&&(_0x25fb5d[_0x2b8fec(0x1ad)]=_0x25fb5d[_0x2b8fec(0x1ba)][_0x2b8fec(0x1c0)](_0x1b3879=>_0x1b3879['id']),delete _0x25fb5d[_0x2b8fec(0x1ba)]),this[_0x2b8fec(0x1bb)](_0x2b8fec(0x1b6),_0x25fb5d,_0x17aa30));}[_0x5ca782(0x1b3)](){const _0x712943=_0x5ca782;return{'id':this['id'],'name':this[_0x712943(0x1b8)],'creatorId':this[_0x712943(0x1bf)]?this[_0x712943(0x1bf)]['id']:null,'authorsIds':this[_0x712943(0x1ba)][_0x712943(0x1c0)](_0x4c5539=>_0x4c5539['id']),'diffData':this[_0x712943(0x1b0)],'createdAt':this[_0x712943(0x1c4)],'attributes':this[_0x712943(0x1ab)],'fromVersion':this[_0x712943(0x1c1)],'toVersion':this[_0x712943(0x1b9)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd8905=_0x19c7;(function(_0x18e000,_0x381ada){const _0xe4ff15=_0x19c7,_0x3cb333=_0x18e000();while(!![]){try{const _0x38ec45=parseInt(_0xe4ff15(0x68))/0x1*(-parseInt(_0xe4ff15(0x69))/0x2)+parseInt(_0xe4ff15(0x73))/0x3+parseInt(_0xe4ff15(0x6e))/0x4*(-parseInt(_0xe4ff15(0x76))/0x5)+-parseInt(_0xe4ff15(0x77))/0x6*(parseInt(_0xe4ff15(0x6a))/0x7)+parseInt(_0xe4ff15(0x6b))/0x8+parseInt(_0xe4ff15(0x72))/0x9+parseInt(_0xe4ff15(0x6d))/0xa*(parseInt(_0xe4ff15(0x6c))/0xb);if(_0x38ec45===_0x381ada)break;else _0x3cb333['push'](_0x3cb333['shift']());}catch(_0x209e59){_0x3cb333['push'](_0x3cb333['shift']());}}}(_0x3660,0x4360d));import{Collection as _0x3b8277}from'ckeditor5/src/utils.js';function _0x19c7(_0x5cbd5e,_0xd8463e){const _0x36600f=_0x3660();return _0x19c7=function(_0x19c721,_0x5a3fd3){_0x19c721=_0x19c721-0x68;let _0x3a2ffa=_0x36600f[_0x19c721];return _0x3a2ffa;},_0x19c7(_0x5cbd5e,_0xd8463e);}export class RevisionDiff{[_0xd8905(0x71)];[_0xd8905(0x70)];[_0xd8905(0x74)];constructor(_0x1bcdba,_0x28b525){const _0x52dc3f=_0xd8905;this[_0x52dc3f(0x71)]=_0x1bcdba,this[_0x52dc3f(0x70)]=_0x28b525,this[_0x52dc3f(0x74)]=new _0x3b8277();}[_0xd8905(0x6f)](_0x58062e){const _0x746b54=_0xd8905;for(const _0x2f1573 of _0x58062e)this[_0x746b54(0x74)][_0x746b54(0x75)](_0x2f1573);}}function _0x3660(){const _0x37a65f=['152420Mwjufv','_setChanges','oldRevisionId','newRevisionId','542376zmfXKn','2703nZMWcH','changes','add','5BeOnxB','318yWSAUb','521966rOuMYO','2vuZsJX','52941PUJZDB','3510328yUhWkR','2702095fxRxjV','30hXIbLy'];_0x3660=function(){return _0x37a65f;};return _0x3660();}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x25c420=_0x50bb;(function(_0x47ad4e,_0x1c94b3){const _0x16c127=_0x50bb,_0x4ae408=_0x47ad4e();while(!![]){try{const _0x4fec10=parseInt(_0x16c127(0x16a))/0x1+-parseInt(_0x16c127(0xf5))/0x2*(parseInt(_0x16c127(0x11c))/0x3)+parseInt(_0x16c127(0xe9))/0x4+-parseInt(_0x16c127(0x128))/0x5+-parseInt(_0x16c127(0x16d))/0x6*(-parseInt(_0x16c127(0x146))/0x7)+parseInt(_0x16c127(0x101))/0x8*(-parseInt(_0x16c127(0x115))/0x9)+parseInt(_0x16c127(0xed))/0xa;if(_0x4fec10===_0x1c94b3)break;else _0x4ae408['push'](_0x4ae408['shift']());}catch(_0x6a15cc){_0x4ae408['push'](_0x4ae408['shift']());}}}(_0x52a8,0x692b4));import{Plugin as _0x2add3d}from'ckeditor5/src/core.js';import{CKEditorError as _0x2cf360,uid as _0x31bfe8}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x24fed4}from'./revisiontracker.js';import{RevisionHistoryUI as _0x4c1dfc}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x1ab6d0}from'./revisionviewer.js';import{RevisionViewerUI as _0x57dd2c}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x3e9591}from'./ui/revisionssidebar/revisionssidebar.js';function _0x52a8(){const _0x14b163=['push','isAnonymous','style','RevisionHistoryUtils','init','save','join','remove','creator','enqueueChange','model','isOfficialPlugin','insert','_showRevisionViewer','fromCharCode','isRevisionViewerOpen','enableReadOnlyMode','saveRevision','toVersion','4419SHjLuJ','requires','result','element','$graveyard','Restored','config','2410566xRkiIU','then','closeRevisionViewerCallback','markers','includes','_enhanceCloseRevisionViewerCallback','loadRevisionData','revision-history-missing-configuration','create','refreshPositioning','numeric','indexOf','3127130mtSdwX','display','setSelection','disableReadOnlyMode','PaginationLookup','define','restoreRevision','translations','_viewerEditor','createdAt','none','getRevisionDocumentData','set','setAttribute','block','exitToEditing','repository','roots','isReady','removeSelectionAttribute','RevisionViewer','uiLanguage','Users','revisionHistory.requireRevisionName','error','getUser','addUser','removeMarker','catch','data','4962993WTgstV','_getRevisionViewerEditorConfig','revisionHistory.viewerEditorElement','_recalculatePageBreaks','RevisionHistory','getMarkersGroup','getRevisions','isEnabled','toLocaleDateString','getRevision','pluginName','destroy','long','view','getAttributeKeys','_update','adapter','getRevisionRootsAttributes','Dialog','rootName','isPremiumPlugin','get','toolbar','_enhanceShowRevisionViewerCallback','plugins','map','removeAttribute','revision-history-viewer-opened','_cleanUp','locale','revisionHistory.restoreRevisionCallback','revisionHistory.editorContainer','RevisionViewerIntegration','getRoot','isOpen','RevisionTracker','472700WSMfXt','refreshVisibility','addRoot','6APqBVB','parse','RevisionHistoryUI','restrictedEditingException','revisionHistory.showRevisionViewerCallback','commands','RestrictedEditingMode','_restoreRevision','toJSON','Annotations','Autosave','RevisionsRepository','change','DocumentOutline','lazyRoots','DocumentOutlineUI','has','revisionHistory.closeRevisionViewerCallback','document','keys','1816860XpIRNh','changesNavigation','editor','isReadOnly','5233160UVJtAW','name','selection','showRevisionViewerCallback','addRevisionData','end','_closeRevisionViewer','createRangeIn','2JxoIkj','users','isAttached','bind','toLocaleTimeString','from','revisionHistory','detachRoot','hide','update','fromVersion','revisionHistory.viewerContainer','4880OXwPwH'];_0x52a8=function(){return _0x14b163;};return _0x52a8();}import{RevisionViewerEditor as _0x54e33a}from'./editor/revisionviewereditor.js';import{getTranslation as _0x3024d2}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x19ca0b}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x25c420(0xd7),_0x25c420(0xdb)];export class RevisionViewerIntegration extends _0x2add3d{[_0x25c420(0x117)];static get[_0x25c420(0x150)](){const _0x592504=_0x25c420;return _0x592504(0x166);}static get[_0x25c420(0x10d)](){return!0x0;}static get[_0x25c420(0x15a)](){return!0x0;}constructor(_0x769a7b){const _0x248a85=_0x25c420;function _0x168544(_0x33ba3c){const _0x4c18fb=_0x50bb;return _0x33ba3c[_0x4c18fb(0x15f)](_0x501db0=>String[_0x4c18fb(0x110)](_0x501db0))[_0x4c18fb(0x108)]('');}super(_0x769a7b),this[_0x248a85(0x117)]=_0x248a85(0xf2),_0x769a7b[_0x168544([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x168544([0x76,0x69,0x65,0x77])][_0x168544([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x168544([0x61,0x75,0x74,0x6f]),_0x769a7b[_0x168544([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x168544([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x168544([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x168544([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x168544([0x6f,0x6b])});}}function _0x50bb(_0x3b951f,_0x30e3aa){const _0x52a8d4=_0x52a8();return _0x50bb=function(_0x50bbac,_0x314c5e){_0x50bbac=_0x50bbac-0xd7;let _0x1d8740=_0x52a8d4[_0x50bbac];return _0x1d8740;},_0x50bb(_0x3b951f,_0x30e3aa);}export class RevisionHistory extends _0x2add3d{[_0x25c420(0x130)];static get[_0x25c420(0x150)](){const _0x3cb0ee=_0x25c420;return _0x3cb0ee(0x14a);}static get[_0x25c420(0x10d)](){return!0x0;}static get[_0x25c420(0x15a)](){return!0x0;}static get[_0x25c420(0x116)](){return[_0x24fed4,_0x4c1dfc];}constructor(_0x130cb0){const _0x5182c0=_0x25c420;if(super(_0x130cb0),!this[_0x5182c0(0xeb)][_0x5182c0(0x11b)][_0x5182c0(0x15b)](_0x5182c0(0xfb)))throw new _0x2cf360(_0x5182c0(0x123),this);this[_0x5182c0(0x130)]=null,this[_0x5182c0(0x134)](_0x5182c0(0x111),!0x1),this[_0x5182c0(0xeb)][_0x5182c0(0x11b)][_0x5182c0(0x12d)](_0x5182c0(0xd9),_0x187c57=>this[_0x5182c0(0x10f)]({..._0x187c57,'translations':this[_0x5182c0(0xeb)][_0x5182c0(0x163)][_0x5182c0(0x12f)]})),this[_0x5182c0(0xeb)][_0x5182c0(0x11b)][_0x5182c0(0x12d)](_0x5182c0(0xe6),_0x4a27b8=>this[_0x5182c0(0xf3)](_0x4a27b8)),this[_0x5182c0(0xeb)][_0x5182c0(0x11b)][_0x5182c0(0x12d)](_0x5182c0(0x164),_0x32835e=>this[_0x5182c0(0xdc)](_0x32835e)),this[_0x5182c0(0xeb)][_0x5182c0(0x11b)][_0x5182c0(0x12d)](_0x5182c0(0x13f),!0x1),this[_0x5182c0(0x15d)](),this[_0x5182c0(0x121)]();}set[_0x25c420(0x156)](_0x59607c){const _0x496b72=_0x25c420;this[_0x496b72(0xeb)][_0x496b72(0x15e)][_0x496b72(0x15b)](_0x496b72(0x169))[_0x496b72(0x156)]=_0x59607c;}get[_0x25c420(0x156)](){const _0x196476=_0x25c420;return this[_0x196476(0xeb)][_0x196476(0x15e)][_0x196476(0x15b)](_0x196476(0x169))[_0x196476(0x156)];}[_0x25c420(0xf1)](_0x13f47a){const _0x8aca=_0x25c420;return this[_0x8aca(0xeb)][_0x8aca(0x15e)][_0x8aca(0x15b)](_0x8aca(0x169))[_0x8aca(0xf1)](_0x13f47a);}[_0x25c420(0x14f)](_0xdf7568){const _0x4e7224=_0x25c420;return this[_0x4e7224(0xeb)][_0x4e7224(0x15e)][_0x4e7224(0x15b)](_0x4e7224(0xe0))[_0x4e7224(0x14f)](_0xdf7568);}[_0x25c420(0x14c)](_0x554a77){const _0xc323ca=_0x25c420;return this[_0xc323ca(0xeb)][_0xc323ca(0x15e)][_0xc323ca(0x15b)](_0xc323ca(0xe0))[_0xc323ca(0x14c)](_0x554a77||{'toJSON':!0x1});}[_0x25c420(0x147)](){const _0x40c667=_0x25c420,_0x514753=this[_0x40c667(0xeb)],_0x55d390=_0x19ca0b(_0x514753,d),_0x12d80d=_0x514753[_0x40c667(0x15e)][_0x40c667(0x15b)](_0x40c667(0x169)),_0x400bb6=_0x514753[_0x40c667(0x15e)][_0x40c667(0x15b)](_0x40c667(0x13e))[_0x40c667(0xf6)];return _0x55d390[_0x40c667(0x15c)]=[_0x40c667(0x137),_0x40c667(0x12e),_0x40c667(0xea)],delete _0x55d390[_0x40c667(0xe3)],(_0x55d390[_0x40c667(0x15e)][_0x40c667(0x102)](RevisionViewerIntegration,_0x1ab6d0,_0x57dd2c,class extends _0x2add3d{static get[_0x40c667(0x116)](){const _0x3e2061=_0x40c667;return[_0x1ab6d0,_0x3e2061(0x13e)];}[_0x40c667(0x106)](){const _0x6b438b=_0x40c667,_0x1c6114=this[_0x6b438b(0xeb)][_0x6b438b(0x15e)][_0x6b438b(0x15b)](_0x6b438b(0x13e));for(const _0x5c072d of _0x400bb6)_0x5c072d[_0x6b438b(0x103)]||_0x1c6114[_0x6b438b(0x141)](_0x5c072d['id'])||_0x1c6114[_0x6b438b(0x142)](_0x5c072d);const _0x265322=_0x12d80d[_0x6b438b(0x138)][_0x6b438b(0x14c)]();let _0x11c6c0=null;const _0x3c5325=this[_0x6b438b(0xeb)][_0x6b438b(0x15e)][_0x6b438b(0x15b)](_0x6b438b(0x13c));_0x3c5325[_0x6b438b(0x156)]=_0x12d80d[_0x6b438b(0x156)],_0x3c5325[_0x6b438b(0xf8)](_0x6b438b(0x14d))['to'](_0x12d80d),this[_0x6b438b(0xeb)][_0x6b438b(0xda)][_0x6b438b(0x15b)](_0x6b438b(0x12e))[_0x6b438b(0xf8)](_0x6b438b(0x14d))['to'](_0x514753,_0x6b438b(0xec),_0x299e71=>!_0x299e71);for(const _0x412579 of _0x265322){const _0x37f521=null===_0x412579[_0x6b438b(0x10a)];if(_0x37f521&&_0x412579[_0x6b438b(0x114)]===_0x412579[_0x6b438b(0xff)])continue;const _0x32b41b=_0x412579[_0x6b438b(0xdd)]();_0x3c5325[_0x6b438b(0xf1)](_0x32b41b,(_0x57d3ed,_0x1ed273,_0x1f3ae1)=>{const _0x602b65=_0x6b438b;if(_0x37f521){if(_0x11c6c0)_0x11c6c0[_0x602b65(0x155)](_0x57d3ed,_0x1ed273);else{if(!_0x1ed273){const _0xdeba22=_0x1f3ae1[_0x602b65(0xdd)]();_0xdeba22['id']=_0x31bfe8(),_0x12d80d[_0x602b65(0x113)](_0xdeba22,_0x1f3ae1[_0x602b65(0x114)])[_0x602b65(0x11d)](_0x4e9674=>{_0x11c6c0=_0x4e9674;});}}}else _0x412579[_0x602b65(0x155)](_0x57d3ed,_0x1ed273);});}}},_0x3e9591),_0x55d390);}[_0x25c420(0x15d)](){const _0xe8620e=_0x25c420,_0x12257e=this[_0xe8620e(0xeb)][_0xe8620e(0x11b)][_0xe8620e(0x15b)](_0xe8620e(0xfb))[_0xe8620e(0xf0)];this[_0xe8620e(0xeb)][_0xe8620e(0x11b)][_0xe8620e(0x134)](_0xe8620e(0xd9),async()=>{const _0x277fe4=_0xe8620e;this[_0x277fe4(0xeb)][_0x277fe4(0x112)](_0x277fe4(0x161));const _0x39c1ea=this[_0x277fe4(0xeb)][_0x277fe4(0x15e)][_0x277fe4(0x15b)](_0x277fe4(0x169));if(this[_0x277fe4(0xeb)][_0x277fe4(0x15e)][_0x277fe4(0xe5)](_0x277fe4(0xdf))){const _0x49646f=this[_0x277fe4(0xeb)][_0x277fe4(0x15e)][_0x277fe4(0x15b)](_0x277fe4(0xdf));await _0x49646f[_0x277fe4(0x107)]();}else await _0x39c1ea[_0x277fe4(0xfe)]();if(this[_0x277fe4(0xeb)][_0x277fe4(0x15e)][_0x277fe4(0xe5)](_0x277fe4(0x12c))&&this[_0x277fe4(0xeb)][_0x277fe4(0x15e)][_0x277fe4(0x15b)](_0x277fe4(0x12c))[_0x277fe4(0x149)](),this[_0x277fe4(0xeb)][_0x277fe4(0x15e)][_0x277fe4(0xe5)](_0x277fe4(0x158))){const _0x2e379d=this[_0x277fe4(0xeb)][_0x277fe4(0x15e)][_0x277fe4(0x15b)](_0x277fe4(0x158));_0x2e379d[_0x277fe4(0x168)]&&_0x2e379d[_0x277fe4(0xfd)]();}const _0x2b062b=this[_0x277fe4(0x147)]();return _0x12257e(_0x2b062b)[_0x277fe4(0x11d)](_0x3bc0ff=>{const _0x2734ce=_0x277fe4;return(this[_0x2734ce(0x130)]=_0x3bc0ff,this[_0x2734ce(0xeb)][_0x2734ce(0x15e)][_0x2734ce(0xe5)](_0x2734ce(0xde)))&&this[_0x2734ce(0xeb)][_0x2734ce(0x15e)][_0x2734ce(0x15b)](_0x2734ce(0xde))[_0x2734ce(0x16b)](),(this[_0x2734ce(0xeb)][_0x2734ce(0x15e)][_0x2734ce(0xe5)](_0x2734ce(0xe2))&&(this[_0x2734ce(0xeb)][_0x2734ce(0x15e)][_0x2734ce(0x15b)](_0x2734ce(0xe4))[_0x2734ce(0x153)][_0x2734ce(0x118)][_0x2734ce(0x104)][_0x2734ce(0x129)]=_0x2734ce(0x132)),_0x3bc0ff);})[_0x277fe4(0x144)](_0x1ee553=>(console[_0x277fe4(0x140)](_0x1ee553),this[_0x277fe4(0xeb)][_0x277fe4(0x12b)](_0x277fe4(0x161)),null));});}[_0x25c420(0x121)](){const _0x528fa6=_0x25c420,_0x45a310=this[_0x528fa6(0xeb)][_0x528fa6(0x11b)][_0x528fa6(0x15b)](_0x528fa6(0xfb))[_0x528fa6(0x11e)];this[_0x528fa6(0xeb)][_0x528fa6(0x11b)][_0x528fa6(0x134)](_0x528fa6(0xe6),()=>(this[_0x528fa6(0xeb)][_0x528fa6(0x15e)][_0x528fa6(0xe5)](_0x528fa6(0x12c))&&this[_0x528fa6(0xeb)][_0x528fa6(0x15e)][_0x528fa6(0x15b)](_0x528fa6(0x12c))[_0x528fa6(0x149)](),this[_0x528fa6(0xeb)][_0x528fa6(0x15e)][_0x528fa6(0xe5)](_0x528fa6(0xe2))&&(this[_0x528fa6(0xeb)][_0x528fa6(0x15e)][_0x528fa6(0x15b)](_0x528fa6(0xe4))[_0x528fa6(0x153)][_0x528fa6(0x118)][_0x528fa6(0x104)][_0x528fa6(0x129)]=''),this[_0x528fa6(0x130)][_0x528fa6(0x15e)][_0x528fa6(0x15b)](_0x528fa6(0x13c))[_0x528fa6(0x162)](),_0x45a310(this[_0x528fa6(0x130)])[_0x528fa6(0x11d)](()=>{const _0x424747=_0x528fa6;if(this[_0x424747(0xeb)][_0x424747(0x12b)](_0x424747(0x161)),this[_0x424747(0x130)]=null,this[_0x424747(0xeb)][_0x424747(0x15e)][_0x424747(0xe5)](_0x424747(0xde))){const _0x144eb6=this[_0x424747(0xeb)][_0x424747(0x15e)][_0x424747(0x15b)](_0x424747(0xde));_0x144eb6[_0x424747(0x16b)](),_0x144eb6[_0x424747(0x125)]();}})));}[_0x25c420(0x10f)](_0x12901a){const _0x1333f6=_0x25c420,_0x579b9a=this[_0x1333f6(0xeb)][_0x1333f6(0x11b)][_0x1333f6(0x15b)](_0x1333f6(0x165)),_0x2d8846=this[_0x1333f6(0xeb)][_0x1333f6(0x11b)][_0x1333f6(0x15b)](_0x1333f6(0x100)),_0x54c0de=this[_0x1333f6(0xeb)][_0x1333f6(0x11b)][_0x1333f6(0x15b)](_0x1333f6(0x148));return _0x54e33a[_0x1333f6(0x124)](_0x54c0de,_0x12901a)[_0x1333f6(0x11d)](_0x9a2c6b=>(_0x2d8846[_0x1333f6(0x104)][_0x1333f6(0x129)]=_0x1333f6(0x136),_0x579b9a[_0x1333f6(0x104)][_0x1333f6(0x129)]=_0x1333f6(0x132),this[_0x1333f6(0x111)]=!0x0,_0x9a2c6b));}[_0x25c420(0xf3)](_0x19582a){const _0x277d4b=_0x25c420,_0x11bb6a=this[_0x277d4b(0xeb)][_0x277d4b(0x11b)][_0x277d4b(0x15b)](_0x277d4b(0x165));return this[_0x277d4b(0xeb)][_0x277d4b(0x11b)][_0x277d4b(0x15b)](_0x277d4b(0x100))[_0x277d4b(0x104)][_0x277d4b(0x129)]=_0x277d4b(0x132),_0x11bb6a[_0x277d4b(0x104)][_0x277d4b(0x129)]='',this[_0x277d4b(0x111)]=!0x1,_0x19582a[_0x277d4b(0x151)]();}async[_0x25c420(0xdc)](_0x544c3c){const _0x3638e3=_0x25c420,_0x5b60f3=this[_0x3638e3(0xeb)],_0x19f9a3=this[_0x3638e3(0x130)][_0x3638e3(0x15e)][_0x3638e3(0x15b)](_0x3638e3(0x13c)),_0x4bc407=_0x5b60f3[_0x3638e3(0x15e)][_0x3638e3(0x15b)](_0x3638e3(0x169)),_0xdde1b1=_0x5b60f3[_0x3638e3(0x15e)][_0x3638e3(0x15b)](_0x3638e3(0x105)),_0x203103=_0x19f9a3[_0x3638e3(0x138)][_0x3638e3(0x14f)](_0x544c3c);let _0x7bcec0,_0x3dce40,_0x6db966;try{await _0xdde1b1[_0x3638e3(0x122)](_0x203103,this[_0x3638e3(0x156)]),_0x7bcec0=_0xdde1b1[_0x3638e3(0x133)](_0x203103),_0x3dce40=_0xdde1b1[_0x3638e3(0x157)](_0x203103);}catch(_0x1d88ce){return void console[_0x3638e3(0x140)](_0x1d88ce);}_0x5b60f3[_0x3638e3(0x10c)][_0x3638e3(0xe1)](_0x1121a7=>{const _0x3cae24=_0x3638e3;for(const _0x4d618b of Array[_0x3cae24(0xfa)](_0x5b60f3[_0x3cae24(0x10c)][_0x3cae24(0x11f)][_0x3cae24(0x14b)](_0x3cae24(0xd8))))_0x1121a7[_0x3cae24(0x143)](_0x4d618b);}),_0x19f9a3[_0x3638e3(0x13a)]=!0x1,_0x5b60f3[_0x3638e3(0x10c)][_0x3638e3(0x10b)](_0x40991f=>{const _0x5ab3fd=_0x3638e3;_0x40991f[_0x5ab3fd(0x12a)](null),_0x40991f[_0x5ab3fd(0x13b)](_0x5b60f3[_0x5ab3fd(0x10c)][_0x5ab3fd(0xe7)][_0x5ab3fd(0xef)][_0x5ab3fd(0x154)]());const _0xba3284=Object[_0x5ab3fd(0xe8)](_0x7bcec0);for(const _0x9d8ba9 of _0x5b60f3[_0x5ab3fd(0x10c)][_0x5ab3fd(0xe7)][_0x5ab3fd(0x139)])_0x5ab3fd(0x119)!=_0x9d8ba9[_0x5ab3fd(0x159)]&&_0x9d8ba9[_0x5ab3fd(0xf7)]()&&!_0xba3284[_0x5ab3fd(0x120)](_0x9d8ba9[_0x5ab3fd(0x159)])&&_0x40991f[_0x5ab3fd(0xfc)](_0x9d8ba9);for(const _0x29b14c of _0xba3284){let _0x44ab33=_0x5b60f3[_0x5ab3fd(0x10c)][_0x5ab3fd(0xe7)][_0x5ab3fd(0x167)](_0x29b14c);_0x44ab33&&_0x44ab33[_0x5ab3fd(0xf7)]()||(_0x44ab33=_0x40991f[_0x5ab3fd(0x16c)](_0x29b14c));const _0x564b81=_0x3dce40[_0x29b14c],_0x23b8d2=Object[_0x5ab3fd(0xe8)](_0x564b81),_0x207f86=_0x7bcec0[_0x29b14c];for(const _0x1ff25b of _0x44ab33[_0x5ab3fd(0x154)]())_0x23b8d2[_0x5ab3fd(0x120)](_0x1ff25b)||_0x40991f[_0x5ab3fd(0x160)](_0x1ff25b,_0x44ab33);for(const _0x3de7da of _0x23b8d2)_0x40991f[_0x5ab3fd(0x135)](_0x3de7da,_0x3dce40[_0x29b14c][_0x3de7da],_0x44ab33);_0x40991f[_0x5ab3fd(0x109)](_0x40991f[_0x5ab3fd(0xf4)](_0x44ab33)),_0x40991f[_0x5ab3fd(0x10e)](_0x5b60f3[_0x5ab3fd(0x145)][_0x5ab3fd(0x16e)](_0x207f86,_0x44ab33),_0x44ab33,0x0);}});const _0x460c80=_0x3024d2(_0x5b60f3[_0x3638e3(0x163)],_0x3638e3(0x11a));if(_0x203103[_0x3638e3(0xee)])_0x6db966=-0x1==_0x203103[_0x3638e3(0xee)][_0x3638e3(0x127)](_0x460c80)?_0x460c80+':\x20'+_0x203103[_0x3638e3(0xee)]:_0x203103[_0x3638e3(0xee)];else _0x6db966=_0x460c80+':\x20'+(_0x203103[_0x3638e3(0x131)][_0x3638e3(0x14e)](_0x5b60f3[_0x3638e3(0x163)][_0x3638e3(0x13d)],{'month':_0x3638e3(0x152),'day':_0x3638e3(0x126)})+',\x20'+_0x203103[_0x3638e3(0x131)][_0x3638e3(0xf9)](_0x5b60f3[_0x3638e3(0x163)][_0x3638e3(0x13d)],{'hour':_0x3638e3(0x126),'minute':_0x3638e3(0x126)}));return await _0x4bc407[_0x3638e3(0x113)]({'name':_0x6db966}),_0x19f9a3[_0x3638e3(0x13a)]=!0x0,_0x5b60f3[_0x3638e3(0x11b)][_0x3638e3(0x15b)](_0x3638e3(0xfb))[_0x3638e3(0x11e)]();}}
|
|
23
|
+
const _0x54beb2=_0x520e;(function(_0xf565da,_0x3093f2){const _0x275fa9=_0x520e,_0x5f1da3=_0xf565da();while(!![]){try{const _0xa2d0ba=parseInt(_0x275fa9(0x228))/0x1*(-parseInt(_0x275fa9(0x1c0))/0x2)+parseInt(_0x275fa9(0x1df))/0x3*(-parseInt(_0x275fa9(0x221))/0x4)+-parseInt(_0x275fa9(0x207))/0x5*(parseInt(_0x275fa9(0x1ba))/0x6)+-parseInt(_0x275fa9(0x1f1))/0x7*(-parseInt(_0x275fa9(0x1d5))/0x8)+parseInt(_0x275fa9(0x22a))/0x9+-parseInt(_0x275fa9(0x1b5))/0xa*(-parseInt(_0x275fa9(0x23f))/0xb)+-parseInt(_0x275fa9(0x23d))/0xc;if(_0xa2d0ba===_0x3093f2)break;else _0x5f1da3['push'](_0x5f1da3['shift']());}catch(_0x3be8ba){_0x5f1da3['push'](_0x5f1da3['shift']());}}}(_0x27fc,0x2f456));import{Plugin as _0x58cb2d}from'ckeditor5/src/core.js';import{CKEditorError as _0x276207,uid as _0x10389b}from'ckeditor5/src/utils.js';import{RevisionTracker as _0xf9ba23}from'./revisiontracker.js';import{RevisionHistoryUI as _0xd484f9}from'./ui/revisionhistory/revisionhistoryui.js';function _0x27fc(){const _0x2e6af5=['removeMarker','revisionHistory.showRevisionViewerCallback','_getRevisionViewerEditorConfig','getRevisions','addUser','isReadOnly','map','isReady','_enhanceShowRevisionViewerCallback','DocumentOutlineUI','indexOf','removeAttribute','uiLanguage','RevisionViewer','init','removeSelectionAttribute','2704880YqNIbx','restoreRevision','bind','lazyRoots','toJSON','selection','commands','isOpen','$graveyard','revisionHistory.closeRevisionViewerCallback','2082NXdamv','RestrictedEditingMode','pluginName','RevisionTracker','revisionHistory.viewerEditorElement','plugins','users','RevisionsRepository','DocumentOutline','includes','long','result','_restoreRevision','toolbar','update','isRevisionViewerOpen','setSelection','getUser','7eUDzLD','creator','loadRevisionData','set','display','getRoot','revisionHistory','PaginationLookup','locale','isEnabled','revision-history-missing-configuration','change','editor','rootName','name','Autosave','get','addRevisionData','parse','then','changesNavigation','disableReadOnlyMode','65cEntEA','hide','repository','getAttributeKeys','exitToEditing','end','saveRevision','getRevision','document','enqueueChange','insert','join','catch','data','enableReadOnlyMode','none','define','adapter','getRevisionDocumentData','_recalculatePageBreaks','translations','_update','getRevisionRootsAttributes','toLocaleDateString','fromCharCode','restrictedEditingException','100zpDTts','addRoot','fromVersion','markers','RevisionViewerIntegration','RevisionHistoryUI','push','13991xPnhAT','_viewerEditor','701370RECaGh','keys','createRangeIn','has','_closeRevisionViewer','toLocaleTimeString','revisionHistory.editorContainer','Dialog','revisionHistory.viewerContainer','revision-history-viewer-opened','numeric','isAnonymous','_cleanUp','setAttribute','isOfficialPlugin','block','revisionHistory.restoreRevisionCallback','_showRevisionViewer','view','979584lmnkKC','element','1220428kieQtO','style','refreshVisibility','Users','error','RevisionHistoryUtils','model','requires','Annotations','from','getMarkersGroup','_enhanceCloseRevisionViewerCallback','toVersion','closeRevisionViewerCallback','destroy','isPremiumPlugin','10FUdPWC','roots','create','showRevisionViewerCallback','detachRoot','37146yKGJDI','refreshPositioning','RevisionHistory','config','remove','revisionHistory.requireRevisionName','22NJIoNz','createdAt','Restored','isAttached','save'];_0x27fc=function(){return _0x2e6af5;};return _0x27fc();}import{RevisionViewer as _0x2f16c6}from'./revisionviewer.js';import{RevisionViewerUI as _0x8a71f1}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x5e4c8b}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x15da74}from'./editor/revisionviewereditor.js';function _0x520e(_0x4d7854,_0x20aa55){const _0x27fc50=_0x27fc();return _0x520e=function(_0x520e6c,_0x1d56fd){_0x520e6c=_0x520e6c-0x1b4;let _0x2b2809=_0x27fc50[_0x520e6c];return _0x2b2809;},_0x520e(_0x4d7854,_0x20aa55);}import{getTranslation as _0x3e2fd6}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x1e29f2}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x54beb2(0x226),_0x54beb2(0x1e0)];export class RevisionViewerIntegration extends _0x58cb2d{[_0x54beb2(0x1ea)];static get[_0x54beb2(0x1e1)](){const _0x513c46=_0x54beb2;return _0x513c46(0x225);}static get[_0x54beb2(0x238)](){return!0x0;}static get[_0x54beb2(0x1b4)](){return!0x0;}constructor(_0x5236f5){const _0x51a7d7=_0x54beb2;function _0x294bca(_0x407b35){const _0x12065e=_0x520e;return _0x407b35[_0x12065e(0x1cb)](_0x1ad7ca=>String[_0x12065e(0x21f)](_0x1ad7ca))[_0x12065e(0x212)]('');}super(_0x5236f5),this[_0x51a7d7(0x1ea)]=_0x51a7d7(0x20c),_0x5236f5[_0x294bca([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x294bca([0x76,0x69,0x65,0x77])][_0x294bca([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x294bca([0x61,0x75,0x74,0x6f]),_0x5236f5[_0x294bca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x294bca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x294bca([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x294bca([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x294bca([0x6f,0x6b])});}}export class RevisionHistory extends _0x58cb2d{[_0x54beb2(0x229)];static get[_0x54beb2(0x1e1)](){const _0x339bfa=_0x54beb2;return _0x339bfa(0x1bc);}static get[_0x54beb2(0x238)](){return!0x0;}static get[_0x54beb2(0x1b4)](){return!0x0;}static get[_0x54beb2(0x246)](){return[_0xf9ba23,_0xd484f9];}constructor(_0x198f81){const _0x154122=_0x54beb2;if(super(_0x198f81),!this[_0x154122(0x1fd)][_0x154122(0x1bd)][_0x154122(0x201)](_0x154122(0x1f7)))throw new _0x276207(_0x154122(0x1fb),this);this[_0x154122(0x229)]=null,this[_0x154122(0x1f4)](_0x154122(0x1ee),!0x1),this[_0x154122(0x1fd)][_0x154122(0x1bd)][_0x154122(0x217)](_0x154122(0x1c6),_0x2582ed=>this[_0x154122(0x23b)]({..._0x2582ed,'translations':this[_0x154122(0x1fd)][_0x154122(0x1f9)][_0x154122(0x21b)]})),this[_0x154122(0x1fd)][_0x154122(0x1bd)][_0x154122(0x217)](_0x154122(0x1de),_0x27dea9=>this[_0x154122(0x22e)](_0x27dea9)),this[_0x154122(0x1fd)][_0x154122(0x1bd)][_0x154122(0x217)](_0x154122(0x23a),_0x2cac88=>this[_0x154122(0x1eb)](_0x2cac88)),this[_0x154122(0x1fd)][_0x154122(0x1bd)][_0x154122(0x217)](_0x154122(0x1bf),!0x1),this[_0x154122(0x1cd)](),this[_0x154122(0x24a)]();}set[_0x54beb2(0x218)](_0x4f3193){const _0x527d5c=_0x54beb2;this[_0x527d5c(0x1fd)][_0x527d5c(0x1e4)][_0x527d5c(0x201)](_0x527d5c(0x1e2))[_0x527d5c(0x218)]=_0x4f3193;}get[_0x54beb2(0x218)](){const _0x17e5b5=_0x54beb2;return this[_0x17e5b5(0x1fd)][_0x17e5b5(0x1e4)][_0x17e5b5(0x201)](_0x17e5b5(0x1e2))[_0x17e5b5(0x218)];}[_0x54beb2(0x202)](_0x50baec){const _0x264a46=_0x54beb2;return this[_0x264a46(0x1fd)][_0x264a46(0x1e4)][_0x264a46(0x201)](_0x264a46(0x1e2))[_0x264a46(0x202)](_0x50baec);}[_0x54beb2(0x20e)](_0x316e55){const _0x1aac4a=_0x54beb2;return this[_0x1aac4a(0x1fd)][_0x1aac4a(0x1e4)][_0x1aac4a(0x201)](_0x1aac4a(0x1e6))[_0x1aac4a(0x20e)](_0x316e55);}[_0x54beb2(0x1c8)](_0x4cfc44){const _0x3ef86e=_0x54beb2;return this[_0x3ef86e(0x1fd)][_0x3ef86e(0x1e4)][_0x3ef86e(0x201)](_0x3ef86e(0x1e6))[_0x3ef86e(0x1c8)](_0x4cfc44||{'toJSON':!0x1});}[_0x54beb2(0x1c7)](){const _0x27cab1=_0x54beb2,_0x2bd747=this[_0x27cab1(0x1fd)],_0x1c4227=_0x1e29f2(_0x2bd747,d),_0x26812b=_0x2bd747[_0x27cab1(0x1e4)][_0x27cab1(0x201)](_0x27cab1(0x1e2)),_0x208695=_0x2bd747[_0x27cab1(0x1e4)][_0x27cab1(0x201)](_0x27cab1(0x242))[_0x27cab1(0x1e5)];return _0x1c4227[_0x27cab1(0x1ec)]=[_0x27cab1(0x20b),_0x27cab1(0x1d6),_0x27cab1(0x205)],delete _0x1c4227[_0x27cab1(0x1d8)],(_0x1c4227[_0x27cab1(0x1e4)][_0x27cab1(0x227)](RevisionViewerIntegration,_0x2f16c6,_0x8a71f1,class extends _0x58cb2d{static get[_0x27cab1(0x246)](){const _0x235e8d=_0x27cab1;return[_0x2f16c6,_0x235e8d(0x242)];}[_0x27cab1(0x1d3)](){const _0x4d8e9e=_0x27cab1,_0x469dd0=this[_0x4d8e9e(0x1fd)][_0x4d8e9e(0x1e4)][_0x4d8e9e(0x201)](_0x4d8e9e(0x242));for(const _0x316e72 of _0x208695)_0x316e72[_0x4d8e9e(0x235)]||_0x469dd0[_0x4d8e9e(0x1f0)](_0x316e72['id'])||_0x469dd0[_0x4d8e9e(0x1c9)](_0x316e72);const _0x4973c5=_0x26812b[_0x4d8e9e(0x209)][_0x4d8e9e(0x1c8)]();let _0x488877=null;const _0x29c1a1=this[_0x4d8e9e(0x1fd)][_0x4d8e9e(0x1e4)][_0x4d8e9e(0x201)](_0x4d8e9e(0x1d2));_0x29c1a1[_0x4d8e9e(0x218)]=_0x26812b[_0x4d8e9e(0x218)],_0x29c1a1[_0x4d8e9e(0x1d7)](_0x4d8e9e(0x1fa))['to'](_0x26812b),this[_0x4d8e9e(0x1fd)][_0x4d8e9e(0x1db)][_0x4d8e9e(0x201)](_0x4d8e9e(0x1d6))[_0x4d8e9e(0x1d7)](_0x4d8e9e(0x1fa))['to'](_0x2bd747,_0x4d8e9e(0x1ca),_0x1909d0=>!_0x1909d0);for(const _0x1dec9a of _0x4973c5){const _0x5b6e39=null===_0x1dec9a[_0x4d8e9e(0x1f2)];if(_0x5b6e39&&_0x1dec9a[_0x4d8e9e(0x24b)]===_0x1dec9a[_0x4d8e9e(0x223)])continue;const _0x37305f=_0x1dec9a[_0x4d8e9e(0x1d9)]();_0x29c1a1[_0x4d8e9e(0x202)](_0x37305f,(_0x1f9dbe,_0x2b28e5,_0x1dc4c2)=>{const _0x5e2ff4=_0x4d8e9e;if(_0x5b6e39){if(_0x488877)_0x488877[_0x5e2ff4(0x21c)](_0x1f9dbe,_0x2b28e5);else{if(!_0x2b28e5){const _0xeb783=_0x1dc4c2[_0x5e2ff4(0x1d9)]();_0xeb783['id']=_0x10389b(),_0x26812b[_0x5e2ff4(0x20d)](_0xeb783,_0x1dc4c2[_0x5e2ff4(0x24b)])[_0x5e2ff4(0x204)](_0x10d87b=>{_0x488877=_0x10d87b;});}}}else _0x1dec9a[_0x5e2ff4(0x21c)](_0x1f9dbe,_0x2b28e5);});}}},_0x5e4c8b),_0x1c4227);}[_0x54beb2(0x1cd)](){const _0x38e25f=_0x54beb2,_0x324c19=this[_0x38e25f(0x1fd)][_0x38e25f(0x1bd)][_0x38e25f(0x201)](_0x38e25f(0x1f7))[_0x38e25f(0x1b8)];this[_0x38e25f(0x1fd)][_0x38e25f(0x1bd)][_0x38e25f(0x1f4)](_0x38e25f(0x1c6),async()=>{const _0xa41df2=_0x38e25f;this[_0xa41df2(0x1fd)][_0xa41df2(0x215)](_0xa41df2(0x233));const _0x4e6dd3=this[_0xa41df2(0x1fd)][_0xa41df2(0x1e4)][_0xa41df2(0x201)](_0xa41df2(0x1e2));if(this[_0xa41df2(0x1fd)][_0xa41df2(0x1e4)][_0xa41df2(0x22d)](_0xa41df2(0x200))){const _0x1b49f3=this[_0xa41df2(0x1fd)][_0xa41df2(0x1e4)][_0xa41df2(0x201)](_0xa41df2(0x200));await _0x1b49f3[_0xa41df2(0x1c4)]();}else await _0x4e6dd3[_0xa41df2(0x1ed)]();if(this[_0xa41df2(0x1fd)][_0xa41df2(0x1e4)][_0xa41df2(0x22d)](_0xa41df2(0x1f8))&&this[_0xa41df2(0x1fd)][_0xa41df2(0x1e4)][_0xa41df2(0x201)](_0xa41df2(0x1f8))[_0xa41df2(0x21a)](),this[_0xa41df2(0x1fd)][_0xa41df2(0x1e4)][_0xa41df2(0x22d)](_0xa41df2(0x231))){const _0x334979=this[_0xa41df2(0x1fd)][_0xa41df2(0x1e4)][_0xa41df2(0x201)](_0xa41df2(0x231));_0x334979[_0xa41df2(0x1dc)]&&_0x334979[_0xa41df2(0x208)]();}const _0x3c409f=this[_0xa41df2(0x1c7)]();return _0x324c19(_0x3c409f)[_0xa41df2(0x204)](_0x1b2b9f=>{const _0x29e041=_0xa41df2;return(this[_0x29e041(0x229)]=_0x1b2b9f,this[_0x29e041(0x1fd)][_0x29e041(0x1e4)][_0x29e041(0x22d)](_0x29e041(0x247)))&&this[_0x29e041(0x1fd)][_0x29e041(0x1e4)][_0x29e041(0x201)](_0x29e041(0x247))[_0x29e041(0x241)](),(this[_0x29e041(0x1fd)][_0x29e041(0x1e4)][_0x29e041(0x22d)](_0x29e041(0x1e7))&&(this[_0x29e041(0x1fd)][_0x29e041(0x1e4)][_0x29e041(0x201)](_0x29e041(0x1ce))[_0x29e041(0x23c)][_0x29e041(0x23e)][_0x29e041(0x240)][_0x29e041(0x1f5)]=_0x29e041(0x216)),_0x1b2b9f);})[_0xa41df2(0x213)](_0x2d2041=>(console[_0xa41df2(0x243)](_0x2d2041),this[_0xa41df2(0x1fd)][_0xa41df2(0x206)](_0xa41df2(0x233)),null));});}[_0x54beb2(0x24a)](){const _0x567dee=_0x54beb2,_0xda7e5=this[_0x567dee(0x1fd)][_0x567dee(0x1bd)][_0x567dee(0x201)](_0x567dee(0x1f7))[_0x567dee(0x24c)];this[_0x567dee(0x1fd)][_0x567dee(0x1bd)][_0x567dee(0x1f4)](_0x567dee(0x1de),()=>(this[_0x567dee(0x1fd)][_0x567dee(0x1e4)][_0x567dee(0x22d)](_0x567dee(0x1f8))&&this[_0x567dee(0x1fd)][_0x567dee(0x1e4)][_0x567dee(0x201)](_0x567dee(0x1f8))[_0x567dee(0x21a)](),this[_0x567dee(0x1fd)][_0x567dee(0x1e4)][_0x567dee(0x22d)](_0x567dee(0x1e7))&&(this[_0x567dee(0x1fd)][_0x567dee(0x1e4)][_0x567dee(0x201)](_0x567dee(0x1ce))[_0x567dee(0x23c)][_0x567dee(0x23e)][_0x567dee(0x240)][_0x567dee(0x1f5)]=''),this[_0x567dee(0x229)][_0x567dee(0x1e4)][_0x567dee(0x201)](_0x567dee(0x1d2))[_0x567dee(0x236)](),_0xda7e5(this[_0x567dee(0x229)])[_0x567dee(0x204)](()=>{const _0x3d5339=_0x567dee;if(this[_0x3d5339(0x1fd)][_0x3d5339(0x206)](_0x3d5339(0x233)),this[_0x3d5339(0x229)]=null,this[_0x3d5339(0x1fd)][_0x3d5339(0x1e4)][_0x3d5339(0x22d)](_0x3d5339(0x247))){const _0x5c56e9=this[_0x3d5339(0x1fd)][_0x3d5339(0x1e4)][_0x3d5339(0x201)](_0x3d5339(0x247));_0x5c56e9[_0x3d5339(0x241)](),_0x5c56e9[_0x3d5339(0x1bb)]();}})));}[_0x54beb2(0x23b)](_0x5667e5){const _0x1d84df=_0x54beb2,_0x551172=this[_0x1d84df(0x1fd)][_0x1d84df(0x1bd)][_0x1d84df(0x201)](_0x1d84df(0x230)),_0x64bf7=this[_0x1d84df(0x1fd)][_0x1d84df(0x1bd)][_0x1d84df(0x201)](_0x1d84df(0x232)),_0xdaca1c=this[_0x1d84df(0x1fd)][_0x1d84df(0x1bd)][_0x1d84df(0x201)](_0x1d84df(0x1e3));return _0x15da74[_0x1d84df(0x1b7)](_0xdaca1c,_0x5667e5)[_0x1d84df(0x204)](_0x2e2367=>(_0x64bf7[_0x1d84df(0x240)][_0x1d84df(0x1f5)]=_0x1d84df(0x239),_0x551172[_0x1d84df(0x240)][_0x1d84df(0x1f5)]=_0x1d84df(0x216),this[_0x1d84df(0x1ee)]=!0x0,_0x2e2367));}[_0x54beb2(0x22e)](_0x24fb4b){const _0x591ddc=_0x54beb2,_0x4f1bf7=this[_0x591ddc(0x1fd)][_0x591ddc(0x1bd)][_0x591ddc(0x201)](_0x591ddc(0x230));return this[_0x591ddc(0x1fd)][_0x591ddc(0x1bd)][_0x591ddc(0x201)](_0x591ddc(0x232))[_0x591ddc(0x240)][_0x591ddc(0x1f5)]=_0x591ddc(0x216),_0x4f1bf7[_0x591ddc(0x240)][_0x591ddc(0x1f5)]='',this[_0x591ddc(0x1ee)]=!0x1,_0x24fb4b[_0x591ddc(0x24d)]();}async[_0x54beb2(0x1eb)](_0x17694a){const _0x5d282c=_0x54beb2,_0xa618cc=this[_0x5d282c(0x1fd)],_0x123796=this[_0x5d282c(0x229)][_0x5d282c(0x1e4)][_0x5d282c(0x201)](_0x5d282c(0x1d2)),_0x1bdfc8=_0xa618cc[_0x5d282c(0x1e4)][_0x5d282c(0x201)](_0x5d282c(0x1e2)),_0x4a0d64=_0xa618cc[_0x5d282c(0x1e4)][_0x5d282c(0x201)](_0x5d282c(0x244)),_0x2867d0=_0x123796[_0x5d282c(0x209)][_0x5d282c(0x20e)](_0x17694a);let _0x501ce2,_0x5e42b6,_0x49179f;try{await _0x4a0d64[_0x5d282c(0x1f3)](_0x2867d0,this[_0x5d282c(0x218)]),_0x501ce2=_0x4a0d64[_0x5d282c(0x219)](_0x2867d0),_0x5e42b6=_0x4a0d64[_0x5d282c(0x21d)](_0x2867d0);}catch(_0xae3006){return void console[_0x5d282c(0x243)](_0xae3006);}_0xa618cc[_0x5d282c(0x245)][_0x5d282c(0x1fc)](_0x399976=>{const _0x17b939=_0x5d282c;for(const _0x269c8b of Array[_0x17b939(0x248)](_0xa618cc[_0x17b939(0x245)][_0x17b939(0x224)][_0x17b939(0x249)](_0x17b939(0x220))))_0x399976[_0x17b939(0x1c5)](_0x269c8b);}),_0x123796[_0x5d282c(0x1cc)]=!0x1,_0xa618cc[_0x5d282c(0x245)][_0x5d282c(0x210)](_0x32e9b3=>{const _0x13746e=_0x5d282c;_0x32e9b3[_0x13746e(0x1ef)](null),_0x32e9b3[_0x13746e(0x1d4)](_0xa618cc[_0x13746e(0x245)][_0x13746e(0x20f)][_0x13746e(0x1da)][_0x13746e(0x20a)]());const _0x1b1c95=Object[_0x13746e(0x22b)](_0x501ce2);for(const _0x2d0f18 of _0xa618cc[_0x13746e(0x245)][_0x13746e(0x20f)][_0x13746e(0x1b6)])_0x13746e(0x1dd)!=_0x2d0f18[_0x13746e(0x1fe)]&&_0x2d0f18[_0x13746e(0x1c3)]()&&!_0x1b1c95[_0x13746e(0x1e8)](_0x2d0f18[_0x13746e(0x1fe)])&&_0x32e9b3[_0x13746e(0x1b9)](_0x2d0f18);for(const _0x27fce6 of _0x1b1c95){let _0x28fff0=_0xa618cc[_0x13746e(0x245)][_0x13746e(0x20f)][_0x13746e(0x1f6)](_0x27fce6);_0x28fff0&&_0x28fff0[_0x13746e(0x1c3)]()||(_0x28fff0=_0x32e9b3[_0x13746e(0x222)](_0x27fce6));const _0x2d36e4=_0x5e42b6[_0x27fce6],_0xc44bc4=Object[_0x13746e(0x22b)](_0x2d36e4),_0x8bbf90=_0x501ce2[_0x27fce6];for(const _0x30555f of _0x28fff0[_0x13746e(0x20a)]())_0xc44bc4[_0x13746e(0x1e8)](_0x30555f)||_0x32e9b3[_0x13746e(0x1d0)](_0x30555f,_0x28fff0);for(const _0x3392db of _0xc44bc4)_0x32e9b3[_0x13746e(0x237)](_0x3392db,_0x5e42b6[_0x27fce6][_0x3392db],_0x28fff0);_0x32e9b3[_0x13746e(0x1be)](_0x32e9b3[_0x13746e(0x22c)](_0x28fff0)),_0x32e9b3[_0x13746e(0x211)](_0xa618cc[_0x13746e(0x214)][_0x13746e(0x203)](_0x8bbf90,_0x28fff0),_0x28fff0,0x0);}});const _0x5b2083=_0x3e2fd6(_0xa618cc[_0x5d282c(0x1f9)],_0x5d282c(0x1c2));if(_0x2867d0[_0x5d282c(0x1ff)])_0x49179f=-0x1==_0x2867d0[_0x5d282c(0x1ff)][_0x5d282c(0x1cf)](_0x5b2083)?_0x5b2083+':\x20'+_0x2867d0[_0x5d282c(0x1ff)]:_0x2867d0[_0x5d282c(0x1ff)];else _0x49179f=_0x5b2083+':\x20'+(_0x2867d0[_0x5d282c(0x1c1)][_0x5d282c(0x21e)](_0xa618cc[_0x5d282c(0x1f9)][_0x5d282c(0x1d1)],{'month':_0x5d282c(0x1e9),'day':_0x5d282c(0x234)})+',\x20'+_0x2867d0[_0x5d282c(0x1c1)][_0x5d282c(0x22f)](_0xa618cc[_0x5d282c(0x1f9)][_0x5d282c(0x1d1)],{'hour':_0x5d282c(0x234),'minute':_0x5d282c(0x234)}));return await _0x1bdfc8[_0x5d282c(0x20d)]({'name':_0x49179f}),_0x123796[_0x5d282c(0x1cc)]=!0x0,_0xa618cc[_0x5d282c(0x1bd)][_0x5d282c(0x201)](_0x5d282c(0x1f7))[_0x5d282c(0x24c)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x58a285=_0xa629;function _0xa629(_0x35f796,_0x1e361b){const _0x1cb1e8=_0x1cb1();return _0xa629=function(_0xa62966,_0x5ad645){_0xa62966=_0xa62966-0xa4;let _0x2cb4e9=_0x1cb1e8[_0xa62966];return _0x2cb4e9;},_0xa629(_0x35f796,_0x1e361b);}function _0x1cb1(){const _0xec5b44=['marked','_setCustomProperty','editor','toModel','isPremiumPlugin','_makeModelFromViewString','customProperties','18BajfsD','name','730SJhglN','49705AaAHiL','isOfficialPlugin','_getViewFromDiffObj','getRevisionDocumentData','_getTypeCharForViewElement','toData','attachChange','pluginName','125158IhkLfx','domChildrenToView','from','render','_viewClassToTypeChar','useFillerType','config','childNodes','parse','revision-start','_typeCharToViewClass','domDocument','1692elfLMD','startsWith','2cWHCqn','editing','append','domConverter','RevisionHistoryUtils','getFillerOffset','8lnxeOD','revision-end','attributesAfter','isAttached','string','createElement','_appendChild','map','457877oeYkmN','processor','970492sAgvbq','div','1343730sIzgCF','collaboration.channelId','getRevision','default','79091pXcCBM','366qIaVkg','children','getRevisionRootsAttributes','innerHTML','htmlProcessor','_removeRevisionMarkers','forEach','get','data','viewChildrenToDom','view','attributes','length','document','constructor','data-revision-','diffData','loadRevisionData','insertions','filter','type','fillerOffset'];_0x1cb1=function(){return _0xec5b44;};return _0x1cb1();}(function(_0x11d9e4,_0x512a60){const _0x35901f=_0xa629,_0x3810f1=_0x11d9e4();while(!![]){try{const _0x8232d6=-parseInt(_0x35901f(0xc0))/0x1*(-parseInt(_0x35901f(0xaa))/0x2)+-parseInt(_0x35901f(0xbc))/0x3+-parseInt(_0x35901f(0xba))/0x4+parseInt(_0x35901f(0xe1))/0x5*(-parseInt(_0x35901f(0xc1))/0x6)+-parseInt(_0x35901f(0xb8))/0x7*(parseInt(_0x35901f(0xb0))/0x8)+parseInt(_0x35901f(0xde))/0x9*(-parseInt(_0x35901f(0xe0))/0xa)+parseInt(_0x35901f(0xe9))/0xb*(parseInt(_0x35901f(0xa8))/0xc);if(_0x8232d6===_0x512a60)break;else _0x3810f1['push'](_0x3810f1['shift']());}catch(_0x2dc9cf){_0x3810f1['push'](_0x3810f1['shift']());}}}(_0x1cb1,0x4e582));import{Plugin as _0x55d7b6}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x114c9b,ViewText as _0x49a813,ViewElement as _0x2695b8,ViewContainerElement as _0x11147a,ViewAttributeElement as _0x314036,ViewEmptyElement as _0x34a3e1,ViewRawElement as _0x3526c7,ViewUIElement as _0x59133c}from'ckeditor5/src/engine.js';export class RevisionHistoryUtils extends _0x55d7b6{static get[_0x58a285(0xe8)](){const _0x54f2d2=_0x58a285;return _0x54f2d2(0xae);}static get[_0x58a285(0xe2)](){return!0x0;}static get[_0x58a285(0xdb)](){return!0x0;}[_0x58a285(0xed)]=new Map([[_0x11147a,'c'],[_0x314036,'a'],[_0x34a3e1,'e'],[_0x3526c7,'r'],[_0x59133c,'u']]);[_0x58a285(0xa6)]=new Map([['c',_0x11147a],['a',_0x314036],['e',_0x34a3e1],['r',_0x3526c7],['u',_0x59133c]]);async[_0x58a285(0xd2)](_0x3a5a86,_0x3f66af){const _0x56f280=_0x58a285;if(_0x3a5a86[_0x56f280(0xd1)]||!_0x3f66af)return;const _0x3c2326=this[_0x56f280(0xd9)][_0x56f280(0xef)][_0x56f280(0xc8)](_0x56f280(0xbd)),_0x10dadb=await _0x3f66af[_0x56f280(0xbe)]({'channelId':_0x3c2326,'revisionId':_0x3a5a86['id']});_0x3a5a86[_0x56f280(0xd1)]=_0x10dadb[_0x56f280(0xd1)];}[_0x58a285(0xe4)](_0x142d0){const _0x993614=_0x58a285,_0xa6651a={};for(const _0x451dd3 in _0x142d0[_0x993614(0xd1)]){if(_0x142d0[_0x993614(0xd1)][_0x451dd3][_0x993614(0xe7)]&&!_0x142d0[_0x993614(0xd1)][_0x451dd3][_0x993614(0xe7)][_0x993614(0xb3)])continue;const _0x5d3071=this[_0x993614(0xc6)](JSON[_0x993614(0xa4)](_0x142d0[_0x993614(0xd1)][_0x451dd3][_0x993614(0xd3)])),_0x477cde=this[_0x993614(0xd9)][_0x993614(0xab)][_0x993614(0xcb)][_0x993614(0xce)],_0x33f1b7=new _0x114c9b(_0x477cde,_0x5d3071[_0x993614(0xb7)](_0x507f53=>this[_0x993614(0xe3)](_0x507f53,!0x1)));this[_0x993614(0xd9)][_0x993614(0xc9)][_0x993614(0xb9)][_0x993614(0xee)](_0x993614(0xd7)),_0xa6651a[_0x451dd3]=this[_0x993614(0xd9)][_0x993614(0xc9)][_0x993614(0xb9)][_0x993614(0xe6)](_0x33f1b7),this[_0x993614(0xd9)][_0x993614(0xc9)][_0x993614(0xb9)][_0x993614(0xee)](_0x993614(0xbf));}return _0xa6651a;}[_0x58a285(0xc3)](_0x39b789){const _0xe2f116=_0x58a285,_0x572e08={};for(const _0x3d45d1 in _0x39b789[_0xe2f116(0xd1)])_0x39b789[_0xe2f116(0xd1)][_0x3d45d1][_0xe2f116(0xe7)]&&!_0x39b789[_0xe2f116(0xd1)][_0x3d45d1][_0xe2f116(0xe7)][_0xe2f116(0xb3)]||(_0x572e08[_0x3d45d1]=_0x39b789[_0xe2f116(0xd1)][_0x3d45d1][_0xe2f116(0xb2)]||{});return _0x572e08;}[_0x58a285(0xe5)](_0x48813a){const _0x4b8f49=_0x58a285;return this[_0x4b8f49(0xed)][_0x4b8f49(0xc8)](_0x48813a[_0x4b8f49(0xcf)]);}[_0x58a285(0xe3)](_0x406e56,_0x3b2b03){const _0x21d765=_0x58a285,_0x535d08=this[_0x21d765(0xd9)][_0x21d765(0xab)][_0x21d765(0xcb)][_0x21d765(0xce)];if(_0x21d765(0xb4)==typeof _0x406e56)return new _0x49a813(_0x535d08,_0x406e56);{let _0x6f7f98,_0xa53397;_0xa53397='u'==_0x406e56[_0x21d765(0xd5)]||'r'==_0x406e56[_0x21d765(0xd5)]?[]:_0x406e56[_0x21d765(0xc2)][_0x21d765(0xb7)](_0x276d15=>this[_0x21d765(0xe3)](_0x276d15,_0x3b2b03));const _0x1fc7b3=this[_0x21d765(0xa6)][_0x21d765(0xc8)](_0x406e56[_0x21d765(0xd5)])||_0x2695b8,_0x26045f=this[_0x21d765(0xd9)][_0x21d765(0xc9)][_0x21d765(0xc5)][_0x21d765(0xad)];if(_0x6f7f98=new _0x1fc7b3(_0x535d08,_0x406e56[_0x21d765(0xdf)],_0x406e56[_0x21d765(0xcc)],_0xa53397),'u'==_0x406e56[_0x21d765(0xd5)]&&_0x406e56[_0x21d765(0xc2)][0x0]){const _0xb4a574=_0x406e56[_0x21d765(0xc2)][0x0];if(_0x6f7f98[_0x21d765(0xec)]=function(_0xf87bab){const _0x4ef650=_0x21d765,_0x86c3aa=_0xf87bab[_0x4ef650(0xb5)](_0x4ef650(0xbb));return _0x86c3aa[_0x4ef650(0xc4)]=_0xb4a574,_0x86c3aa[_0x4ef650(0xf0)][0x0];},_0x3b2b03){const _0x428f95=new _0x114c9b(_0x535d08);_0x428f95[_0x21d765(0xb6)](_0x6f7f98);const _0x1d63f4=Array[_0x21d765(0xeb)](_0x26045f[_0x21d765(0xca)](_0x428f95,{'bind':!0x1})),_0xb9b781=_0x26045f[_0x21d765(0xa7)][_0x21d765(0xb5)](_0x21d765(0xbb));_0xb9b781[_0x21d765(0xac)](..._0x1d63f4),_0x6f7f98=Array[_0x21d765(0xeb)](_0x26045f[_0x21d765(0xea)](_0xb9b781))[0x0];}}else{if('r'==_0x406e56[_0x21d765(0xd5)]&&_0x406e56[_0x21d765(0xc2)][0x0]){const _0x336913=_0x406e56[_0x21d765(0xc2)][0x0];if(_0x6f7f98[_0x21d765(0xec)]=function(_0x380f68){const _0x2b2f06=_0x21d765;_0x380f68[_0x2b2f06(0xc4)]=_0x336913;},_0x3b2b03){const _0x1a7284=new _0x114c9b(_0x535d08);_0x1a7284[_0x21d765(0xb6)](_0x6f7f98);const _0x22832e=Array[_0x21d765(0xeb)](_0x26045f[_0x21d765(0xca)](_0x1a7284,{'bind':!0x1})),_0x50f3b6=_0x26045f[_0x21d765(0xa7)][_0x21d765(0xb5)](_0x21d765(0xbb));_0x50f3b6[_0x21d765(0xac)](..._0x22832e);const _0x3e07aa=Array[_0x21d765(0xeb)](_0x26045f[_0x21d765(0xea)](_0x50f3b6));_0x3e07aa[_0x21d765(0xcd)]>0x1?_0x6f7f98[_0x21d765(0xb6)](_0x3e07aa):_0x6f7f98=_0x3e07aa[0x0];}}}if(_0x406e56[_0x21d765(0xdd)]){for(const [_0x5f0bc3,_0x7851d1]of _0x406e56[_0x21d765(0xdd)])_0x6f7f98[_0x21d765(0xd8)](_0x5f0bc3,_0x7851d1);}const _0x586d2b=void 0x0===_0x406e56[_0x21d765(0xd6)]?null:_0x406e56[_0x21d765(0xd6)];return null!==_0x586d2b&&(_0x6f7f98[_0x21d765(0xaf)]=()=>_0x586d2b),_0x6f7f98;}}[_0x58a285(0xdc)](_0x120aef){const _0x512c15=_0x58a285,_0xfe6af1=JSON[_0x512c15(0xa4)](_0x120aef),_0xd1a693=this[_0x512c15(0xd9)][_0x512c15(0xab)][_0x512c15(0xcb)][_0x512c15(0xce)],_0x42ba43=new _0x114c9b(_0xd1a693,_0xfe6af1[_0x512c15(0xb7)](_0x148aec=>this[_0x512c15(0xe3)](_0x148aec,!0x0)));return this[_0x512c15(0xd9)][_0x512c15(0xc9)][_0x512c15(0xda)](_0x42ba43);}[_0x58a285(0xc6)](_0x309c54){const _0xff365=_0x58a285;return(_0x309c54=_0x309c54[_0xff365(0xd4)](_0x2254f=>!_0x2254f[_0xff365(0xdf)]||_0xff365(0xa5)!==_0x2254f[_0xff365(0xdf)]&&_0xff365(0xb1)!==_0x2254f[_0xff365(0xdf)]))[_0xff365(0xc7)](_0x44463b=>{const _0x44d48f=_0xff365;_0x44d48f(0xb4)!=typeof _0x44463b&&(_0x44463b[_0x44d48f(0xc2)]=this[_0x44d48f(0xc6)](_0x44463b[_0x44d48f(0xc2)]),_0x44463b[_0x44d48f(0xcc)]=_0x44463b[_0x44d48f(0xcc)][_0x44d48f(0xd4)](_0x432986=>!_0x432986[0x0][_0x44d48f(0xa9)](_0x44d48f(0xd0))));}),_0x309c54;}}
|