@ckeditor/ckeditor5-revision-history 47.0.0-alpha.2 → 47.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +12 -12
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x29a2d9=>{const {vi:{dictionary:_0x24871b,getPluralForm:_0x1f415f}}={'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':_0x19b70f=>0x0}};_0x29a2d9['vi']||={'dictionary':{},'getPluralForm':null},_0x29a2d9['vi']['dictionary']=Object['assign'](_0x29a2d9['vi']['dictionary'],_0x24871b),_0x29a2d9['vi']['getPluralForm']=_0x1f415f;})(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':_0x4e6439=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x27c6d1=>{const {'zh-cn':{dictionary:_0x1fe903,getPluralForm:_0x3cf247}}={'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':_0x5e2b09=>0x0}};_0x27c6d1['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x27c6d1['zh-cn']['dictionary']=Object['assign'](_0x27c6d1['zh-cn']['dictionary'],_0x1fe903),_0x27c6d1['zh-cn']['getPluralForm']=_0x3cf247;})(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':_0xf668b8=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xff5e6f=>{const {zh:{dictionary:_0x49cba5,getPluralForm:_0x2d1907}}={'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':_0x2aed31=>0x0}};_0xff5e6f['zh']||={'dictionary':{},'getPluralForm':null},_0xff5e6f['zh']['dictionary']=Object['assign'](_0xff5e6f['zh']['dictionary'],_0x49cba5),_0xff5e6f['zh']['getPluralForm']=_0x2d1907;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "47.0.0-alpha.
|
|
3
|
+
"version": "47.0.0-alpha.3",
|
|
4
4
|
"description": "Document revision history feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,18 +39,18 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-autosave": "47.0.0-alpha.
|
|
43
|
-
"@ckeditor/ckeditor5-collaboration-core": "47.0.0-alpha.
|
|
44
|
-
"@ckeditor/ckeditor5-comments": "47.0.0-alpha.
|
|
45
|
-
"@ckeditor/ckeditor5-core": "47.0.0-alpha.
|
|
46
|
-
"@ckeditor/ckeditor5-editor-classic": "47.0.0-alpha.
|
|
47
|
-
"@ckeditor/ckeditor5-engine": "47.0.0-alpha.
|
|
48
|
-
"@ckeditor/ckeditor5-icons": "47.0.0-alpha.
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "47.0.0-alpha.
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "47.0.0-alpha.
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "47.0.0-alpha.3",
|
|
43
|
+
"@ckeditor/ckeditor5-collaboration-core": "47.0.0-alpha.3",
|
|
44
|
+
"@ckeditor/ckeditor5-comments": "47.0.0-alpha.3",
|
|
45
|
+
"@ckeditor/ckeditor5-core": "47.0.0-alpha.3",
|
|
46
|
+
"@ckeditor/ckeditor5-editor-classic": "47.0.0-alpha.3",
|
|
47
|
+
"@ckeditor/ckeditor5-engine": "47.0.0-alpha.3",
|
|
48
|
+
"@ckeditor/ckeditor5-icons": "47.0.0-alpha.3",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "47.0.0-alpha.3",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "47.0.0-alpha.3",
|
|
51
51
|
"@types/luxon": "3.6.2",
|
|
52
|
-
"ckeditor5": "47.0.0-alpha.
|
|
53
|
-
"ckeditor5-collaboration": "47.0.0-alpha.
|
|
52
|
+
"ckeditor5": "47.0.0-alpha.3",
|
|
53
|
+
"ckeditor5-collaboration": "47.0.0-alpha.3",
|
|
54
54
|
"es-toolkit": "1.39.5",
|
|
55
55
|
"luxon": "3.6.1"
|
|
56
56
|
},
|
package/src/changeitem.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
24
|
-
|
|
23
|
+
function _0x272b(){var _0x5e4582=['type','set','11vWLqRf','7908kCBqtV','data','author','229956scVyNB','18616cWYiTq','1041120nexOpY','2ZNNJFg','createdAt','25LhaWKe','11972nupEnX','3987hbPzNn','1137444qfGblo','toJSON','3ifavbW','8411pMWWMh','11244422VlJliE','rootName'];_0x272b=function(){return _0x5e4582;};return _0x272b();}function _0x58fe(_0x46b125,_0x31a07d){var _0x272bd3=_0x272b();return _0x58fe=function(_0x58fea1,_0x37f510){_0x58fea1=_0x58fea1-0xfd;var _0x462ece=_0x272bd3[_0x58fea1];return _0x462ece;},_0x58fe(_0x46b125,_0x31a07d);}var _0x58c471=_0x58fe;(function(_0x21a357,_0x1a1dbb){var _0x309558=_0x58fe,_0x5076b6=_0x21a357();while(!![]){try{var _0x281deb=parseInt(_0x309558(0x10f))/0x1*(parseInt(_0x309558(0x10c))/0x2)+-parseInt(_0x309558(0xff))/0x3*(parseInt(_0x309558(0xfd))/0x4)+parseInt(_0x309558(0x10e))/0x5*(parseInt(_0x309558(0x109))/0x6)+parseInt(_0x309558(0x101))/0x7+parseInt(_0x309558(0x10a))/0x8*(-parseInt(_0x309558(0x110))/0x9)+-parseInt(_0x309558(0x10b))/0xa*(parseInt(_0x309558(0x105))/0xb)+parseInt(_0x309558(0x106))/0xc*(parseInt(_0x309558(0x100))/0xd);if(_0x281deb===_0x1a1dbb)break;else _0x5076b6['push'](_0x5076b6['shift']());}catch(_0x2e7502){_0x5076b6['push'](_0x5076b6['shift']());}}}(_0x272b,0xc775b));import{ObservableMixin as _0x1db103,uid as _0x580a98}from'ckeditor5/src/utils.js';export class ChangeItem extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1db103(){['id'];[_0x58c471(0x108)];[_0x58c471(0x103)];[_0x58c471(0x107)];[_0x58c471(0x102)];constructor(_0x34f878){var _0x478305=_0x58c471;super(),this['id']=_0x34f878['id']||_0x580a98(),this[_0x478305(0x108)]=_0x34f878[_0x478305(0x108)],this[_0x478305(0x103)]=_0x34f878[_0x478305(0x103)],this[_0x478305(0x107)]=_0x34f878[_0x478305(0x107)]||{},this[_0x478305(0x102)]=_0x34f878[_0x478305(0x102)],this[_0x478305(0x104)](_0x478305(0x10d),_0x34f878[_0x478305(0x10d)]);}[_0x58c471(0xfe)](){var _0x46d7ae=_0x58c471;return{'id':this['id'],'authorId':this[_0x46d7ae(0x108)]['id'],'type':this[_0x46d7ae(0x103)],'data':this[_0x46d7ae(0x107)],'createdAt':this[_0x46d7ae(0x10d)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x1d98(){const _0x1a0f1d=['1839335AqoXmm','view','_ui','fire','editing','1774682UFouBt','sourceElement','destroy','141096kqFfDE','model','12mFCAxe','document','init','ready','locale','create','updateSourceElement','647224jUYApk','config','initPlugins','54nZljHQ','781ZcSonf','2204384IUcNOn','data','get','initialData','createRoot','13659xeddYl','87870wrubpO','212WnATmK'];_0x1d98=function(){return _0x1a0f1d;};return _0x1d98();}const _0x568f1c=_0x2548;(function(_0x438057,_0x8b932a){const _0x2b859b=_0x2548,_0x228fbd=_0x438057();while(!![]){try{const _0x2f645c=-parseInt(_0x2b859b(0xca))/0x1+parseInt(_0x2b859b(0xc7))/0x2+parseInt(_0x2b859b(0xbf))/0x3*(-parseInt(_0x2b859b(0xc1))/0x4)+parseInt(_0x2b859b(0xc2))/0x5*(parseInt(_0x2b859b(0xcc))/0x6)+parseInt(_0x2b859b(0xba))/0x7+parseInt(_0x2b859b(0xb5))/0x8*(-parseInt(_0x2b859b(0xb8))/0x9)+parseInt(_0x2b859b(0xc0))/0xa*(-parseInt(_0x2b859b(0xb9))/0xb);if(_0x2f645c===_0x8b932a)break;else _0x228fbd['push'](_0x228fbd['shift']());}catch(_0x16bf5d){_0x228fbd['push'](_0x228fbd['shift']());}}}(_0x1d98,0x6cf4f));import{Editor as _0x5127e7,ElementApiMixin as _0x4dc6b9}from'ckeditor5/src/core.js';function _0x2548(_0x2aaf6e,_0x56e1a6){const _0x1d984d=_0x1d98();return _0x2548=function(_0x254846,_0x3338e4){_0x254846=_0x254846-0xb2;let _0x880d8=_0x1d984d[_0x254846];return _0x880d8;},_0x2548(_0x2aaf6e,_0x56e1a6);}import{RevisionViewerEditorUI as _0x35ac51}from'./revisionviewereditorui.js';import{RevisionViewerEditorUIView as _0x1d6eb4}from'./revisionviewereditoruiview.js';export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4dc6b9(_0x5127e7){[_0x568f1c(0xc4)];get['ui'](){const _0x4e2270=_0x568f1c;return this[_0x4e2270(0xc4)];}constructor(_0x26c35c,_0x4cc15f){const _0x5b4934=_0x568f1c;super(_0x4cc15f),this[_0x5b4934(0xc8)]=_0x26c35c,this[_0x5b4934(0xcb)][_0x5b4934(0xcd)][_0x5b4934(0xbe)]();const _0x45b260=new _0x1d6eb4(this[_0x5b4934(0xb2)],this[_0x5b4934(0xc6)][_0x5b4934(0xc3)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x5b4934(0xc4)]=new _0x35ac51(this,_0x45b260);}[_0x568f1c(0xc9)](){const _0x22310b=_0x568f1c;return this[_0x22310b(0xb4)](),this['ui'][_0x22310b(0xc9)](),super[_0x22310b(0xc9)]();}static async[_0x568f1c(0xb3)](_0x5df4cb,_0x41bf4f){const _0x2c8f90=_0x568f1c,_0x20bca6=new this(_0x5df4cb,_0x41bf4f);return await _0x20bca6[_0x2c8f90(0xb7)](),await _0x20bca6['ui'][_0x2c8f90(0xce)](_0x5df4cb),await _0x20bca6[_0x2c8f90(0xbb)][_0x2c8f90(0xce)](_0x20bca6[_0x2c8f90(0xb6)][_0x2c8f90(0xbc)](_0x2c8f90(0xbd))||''),_0x20bca6[_0x2c8f90(0xc5)](_0x2c8f90(0xcf)),_0x20bca6;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5687a2=_0x25da;function _0x3f7e(){const _0x42c98b=['_initToolbar','fillFromConfig','1469565fBmtxk','toolbar','document','viewportOffset','focusTracker','editing','get','1599266ITcrqv','_toolbarConfig','isActive','element','bind','render','isFocused','6BCMEye','restore','view','init','componentFactory','destroy','fire','replace','stickyPanel','viewportTopOffset','10145056DnlabS','addToolbar','_view','getRoot','editable','name','54672471HkmvTx','9638139pmeoxo','setEditableElement','editor','attachDomRoot','2236287JgBhEf','ready','detachDomRoot','4mDflUz','limiterElement','rootName','861404SzQbVN','_elementReplacer','config'];_0x3f7e=function(){return _0x42c98b;};return _0x3f7e();}(function(_0x56caa1,_0x53f007){const _0x1cd04b=_0x25da,_0x4f79d7=_0x56caa1();while(!![]){try{const _0xe2c838=-parseInt(_0x1cd04b(0x13f))/0x1+-parseInt(_0x1cd04b(0x14b))/0x2+-parseInt(_0x1cd04b(0x139))/0x3*(parseInt(_0x1cd04b(0x13c))/0x4)+-parseInt(_0x1cd04b(0x144))/0x5+parseInt(_0x1cd04b(0x152))/0x6*(-parseInt(_0x1cd04b(0x135))/0x7)+-parseInt(_0x1cd04b(0x12e))/0x8+parseInt(_0x1cd04b(0x134))/0x9;if(_0xe2c838===_0x53f007)break;else _0x4f79d7['push'](_0x4f79d7['shift']());}catch(_0x510b39){_0x4f79d7['push'](_0x4f79d7['shift']());}}}(_0x3f7e,0xb20f3));import{EditorUI as _0x413b7e,normalizeToolbarConfig as _0x27a5a7}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x30fc77}from'ckeditor5/src/utils.js';function _0x25da(_0x21f350,_0x2450c7){const _0x3f7ed0=_0x3f7e();return _0x25da=function(_0x25da02,_0x16b972){_0x25da02=_0x25da02-0x12d;let _0x45ef45=_0x3f7ed0[_0x25da02];return _0x45ef45;},_0x25da(_0x21f350,_0x2450c7);}export class RevisionViewerEditorUI extends _0x413b7e{[_0x5687a2(0x130)];[_0x5687a2(0x14c)];[_0x5687a2(0x140)];get[_0x5687a2(0x154)](){const _0xfc7630=_0x5687a2;return this[_0xfc7630(0x130)];}constructor(_0x40666f,_0x4f4c2f){const _0x2747c1=_0x5687a2;super(_0x40666f),this[_0x2747c1(0x130)]=_0x4f4c2f,this[_0x2747c1(0x14c)]=_0x27a5a7(_0x40666f[_0x2747c1(0x141)][_0x2747c1(0x14a)](_0x2747c1(0x145))),this[_0x2747c1(0x140)]=new _0x30fc77();}get[_0x5687a2(0x14e)](){const _0x1e2e72=_0x5687a2;return this[_0x1e2e72(0x154)][_0x1e2e72(0x14e)];}[_0x5687a2(0x155)](_0x43682e){const _0x1b6920=_0x5687a2,_0x2e7918=this[_0x1b6920(0x137)],_0x503853=this[_0x1b6920(0x154)],_0x4c05ec=_0x2e7918[_0x1b6920(0x149)][_0x1b6920(0x154)],_0x18facf=_0x503853[_0x1b6920(0x132)],_0x5eae4e=_0x4c05ec[_0x1b6920(0x146)][_0x1b6920(0x131)]();_0x18facf[_0x1b6920(0x133)]=_0x5eae4e[_0x1b6920(0x13e)],_0x503853[_0x1b6920(0x150)]();const _0x333738=_0x18facf[_0x1b6920(0x14e)];this[_0x1b6920(0x136)](_0x18facf[_0x1b6920(0x133)],_0x333738),_0x503853[_0x1b6920(0x132)][_0x1b6920(0x14f)](_0x1b6920(0x151))['to'](this[_0x1b6920(0x148)]),_0x4c05ec[_0x1b6920(0x138)](_0x333738),this[_0x1b6920(0x140)][_0x1b6920(0x159)](_0x43682e,this[_0x1b6920(0x14e)]),this[_0x1b6920(0x142)](),this[_0x1b6920(0x158)](_0x1b6920(0x13a));}[_0x5687a2(0x157)](){const _0xfef3ae=_0x5687a2;super[_0xfef3ae(0x157)]();const _0x47b2ba=this[_0xfef3ae(0x154)],_0x212fad=this[_0xfef3ae(0x137)][_0xfef3ae(0x149)][_0xfef3ae(0x154)];this[_0xfef3ae(0x140)][_0xfef3ae(0x153)](),_0x212fad[_0xfef3ae(0x13b)](_0x47b2ba[_0xfef3ae(0x132)][_0xfef3ae(0x133)]),_0x47b2ba[_0xfef3ae(0x157)]();}[_0x5687a2(0x142)](){const _0x5a66ed=_0x5687a2,_0x8f7ad1=this[_0x5a66ed(0x154)];_0x8f7ad1[_0x5a66ed(0x15a)][_0x5a66ed(0x14f)](_0x5a66ed(0x14d))['to'](this[_0x5a66ed(0x148)],_0x5a66ed(0x151)),_0x8f7ad1[_0x5a66ed(0x15a)][_0x5a66ed(0x13d)]=_0x8f7ad1[_0x5a66ed(0x14e)],_0x8f7ad1[_0x5a66ed(0x15a)][_0x5a66ed(0x14f)](_0x5a66ed(0x12d))['to'](this,_0x5a66ed(0x147),({top:_0x3dbfe5})=>_0x3dbfe5),_0x8f7ad1[_0x5a66ed(0x145)][_0x5a66ed(0x143)](this[_0x5a66ed(0x14c)],this[_0x5a66ed(0x156)]),this[_0x5a66ed(0x12f)](_0x8f7ad1[_0x5a66ed(0x145)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0xf0c75f=_0x338c;function _0x338c(_0x323f60,_0x671b20){var _0x3d668e=_0x3d66();return _0x338c=function(_0x338c63,_0x5b855b){_0x338c63=_0x338c63-0x139;var _0xafec09=_0x3d668e[_0x338c63];return _0xafec09;},_0x338c(_0x323f60,_0x671b20);}(function(_0x53b2d1,_0x39fbfe){var _0x5e1b5e=_0x338c,_0x5eef36=_0x53b2d1();while(!![]){try{var _0x237040=parseInt(_0x5e1b5e(0x140))/0x1+parseInt(_0x5e1b5e(0x145))/0x2*(parseInt(_0x5e1b5e(0x143))/0x3)+parseInt(_0x5e1b5e(0x147))/0x4+parseInt(_0x5e1b5e(0x13f))/0x5*(parseInt(_0x5e1b5e(0x13e))/0x6)+-parseInt(_0x5e1b5e(0x14d))/0x7+-parseInt(_0x5e1b5e(0x14c))/0x8*(-parseInt(_0x5e1b5e(0x14a))/0x9)+parseInt(_0x5e1b5e(0x13a))/0xa*(-parseInt(_0x5e1b5e(0x149))/0xb);if(_0x237040===_0x39fbfe)break;else _0x5eef36['push'](_0x5eef36['shift']());}catch(_0x14194a){_0x5eef36['push'](_0x5eef36['shift']());}}}(_0x3d66,0xe70c9));function _0x3d66(){var _0xfc1bbf=['shouldToolbarGroupWhenFull','497464osRpWH','3412197soazGa','render','8HViJUz','11556104CMRrjb','stickyPanel','640RvQMoD','top','toolbar','content','18Yfatxb','1543985vQNDVI','652291ffZbRM','add','_editable','501LgBqOo','editable','20422XZXksA','main','7314132UUeiix'];_0x3d66=function(){return _0xfc1bbf;};return _0x3d66();}import{BoxedEditorUIView as _0x3fd1f7,InlineEditableUIView as _0x2d0af4,StickyPanelView as _0x2df472,ToolbarView as _0x420999}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export class RevisionViewerEditorUIView extends _0x3fd1f7{[_0xf0c75f(0x142)];[_0xf0c75f(0x139)];[_0xf0c75f(0x13c)];get[_0xf0c75f(0x144)](){var _0x33ea84=_0xf0c75f;return this[_0x33ea84(0x142)];}constructor(_0xb19e49,_0x183ccc,_0x5f4bf6={}){var _0x4e7048=_0xf0c75f;super(_0xb19e49),this[_0x4e7048(0x139)]=new _0x2df472(_0xb19e49),this[_0x4e7048(0x13c)]=new _0x420999(_0xb19e49,{'shouldGroupWhenFull':_0x5f4bf6[_0x4e7048(0x148)]}),this[_0x4e7048(0x142)]=new _0x2d0af4(_0xb19e49,_0x183ccc);}[_0xf0c75f(0x14b)](){var _0x4b38ec=_0xf0c75f;super[_0x4b38ec(0x14b)](),this[_0x4b38ec(0x139)][_0x4b38ec(0x13d)][_0x4b38ec(0x141)](this[_0x4b38ec(0x13c)]),this[_0x4b38ec(0x13b)][_0x4b38ec(0x141)](this[_0x4b38ec(0x139)]),this[_0x4b38ec(0x146)][_0x4b38ec(0x141)](this[_0x4b38ec(0x144)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3352(_0x15e8bc,_0x183814){var _0x2d4133=_0x2d41();return _0x3352=function(_0x3352a5,_0x136ef9){_0x3352a5=_0x3352a5-0x171;var _0x5780c0=_0x2d4133[_0x3352a5];return _0x5780c0;},_0x3352(_0x15e8bc,_0x183814);}(function(_0x47aa69,_0x1bca64){var _0x23786d=_0x3352,_0x3e4f50=_0x47aa69();while(!![]){try{var _0x534c56=-parseInt(_0x23786d(0x176))/0x1*(-parseInt(_0x23786d(0x179))/0x2)+parseInt(_0x23786d(0x178))/0x3*(-parseInt(_0x23786d(0x175))/0x4)+parseInt(_0x23786d(0x177))/0x5+-parseInt(_0x23786d(0x171))/0x6*(-parseInt(_0x23786d(0x172))/0x7)+parseInt(_0x23786d(0x174))/0x8+-parseInt(_0x23786d(0x17c))/0x9*(parseInt(_0x23786d(0x17b))/0xa)+parseInt(_0x23786d(0x173))/0xb*(-parseInt(_0x23786d(0x17a))/0xc);if(_0x534c56===_0x1bca64)break;else _0x3e4f50['push'](_0x3e4f50['shift']());}catch(_0x4226a9){_0x3e4f50['push'](_0x3e4f50['shift']());}}}(_0x2d41,0x27b91));export{Revision}from'./revision.js';export{RevisionHistory,RevisionViewerIntegration}from'./revisionhistory.js';export{RevisionsRepository}from'./revisionsrepository.js';export{RevisionHistoryUtils}from'./revisionhistoryutils.js';export{RevisionViewerLoadingOverlay}from'./ui/revisionviewer/revisionviewerloadingoverlay.js';export{RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';export{RevisionTracker}from'./revisiontracker.js';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';function _0x2d41(){var _0x3fc9da=['2Stalla','12YIxXId','20kYZkjT','119673MnXMaK','300szbUrT','25179cKhHsU','4918001xSXSfI','1770512UXrPRP','367408wrxbWa','56909iotBBo','1350845xikubH','3JNKdgO'];_0x2d41=function(){return _0x3fc9da;};return _0x2d41();}
|
package/src/revision.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x130e(){const _0x405d5c=['35TSzeXG','name','map','fromVersion','creator','setAttribute','1122886ZYXobO','creatorId','authors','260562cyuVZD','removeAttribute','attributes','2008tANFxW','toVersion','1902092JxLNYj','authorsIds','set','899394BMjoHD','fire','model','_update','8169CpACsp','9043137fEdDeM','35044550SXgMDf','setName','diffData','6KKnzNc','toJSON','createdAt'];_0x130e=function(){return _0x405d5c;};return _0x130e();}function _0x1ff6(_0x4aa475,_0x38d189){const _0x130ebc=_0x130e();return _0x1ff6=function(_0x1ff60d,_0x1c311b){_0x1ff60d=_0x1ff60d-0x1c4;let _0x598375=_0x130ebc[_0x1ff60d];return _0x598375;},_0x1ff6(_0x4aa475,_0x38d189);}const _0x1cd19c=_0x1ff6;(function(_0x519dc3,_0x2aa0a6){const _0x29c6a3=_0x1ff6,_0x2a7a5=_0x519dc3();while(!![]){try{const _0xe2ce36=parseInt(_0x29c6a3(0x1e0))/0x1+parseInt(_0x29c6a3(0x1d5))/0x2+parseInt(_0x29c6a3(0x1cc))/0x3*(parseInt(_0x29c6a3(0x1dd))/0x4)+-parseInt(_0x29c6a3(0x1cf))/0x5*(-parseInt(_0x29c6a3(0x1d8))/0x6)+parseInt(_0x29c6a3(0x1c7))/0x7*(parseInt(_0x29c6a3(0x1db))/0x8)+parseInt(_0x29c6a3(0x1c8))/0x9+-parseInt(_0x29c6a3(0x1c9))/0xa;if(_0xe2ce36===_0x2aa0a6)break;else _0x2a7a5['push'](_0x2a7a5['shift']());}catch(_0x5d314d){_0x2a7a5['push'](_0x2a7a5['shift']());}}}(_0x130e,0x7c4c7));import{ObservableMixin as _0x5e5613,uid as _0x3d24bd}from'ckeditor5/src/utils.js';import{cloneDeep as _0x5e0b5b,set as _0x3badb5,unset as _0x2e34f1}from'es-toolkit/compat';export class Revision extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5e5613(){['id'];[_0x1cd19c(0x1d3)];[_0x1cd19c(0x1d7)];[_0x1cd19c(0x1cb)];[_0x1cd19c(0x1dc)];[_0x1cd19c(0x1d2)];[_0x1cd19c(0x1c5)];constructor(_0x9f345b){const _0x2c5554=_0x1cd19c;super(),this['id']=_0x9f345b['id']||_0x3d24bd(),this[_0x2c5554(0x1d3)]=_0x9f345b[_0x2c5554(0x1d3)]||null,this[_0x2c5554(0x1d7)]=_0x9f345b[_0x2c5554(0x1d7)]||[],this[_0x2c5554(0x1cb)]=_0x9f345b[_0x2c5554(0x1cb)]||null,this[_0x2c5554(0x1dc)]=_0x9f345b[_0x2c5554(0x1dc)]||0x0,this[_0x2c5554(0x1d2)]=_0x9f345b[_0x2c5554(0x1d2)]||0x0,this[_0x2c5554(0x1df)](_0x2c5554(0x1d0),_0x9f345b[_0x2c5554(0x1d0)]||''),this[_0x2c5554(0x1df)](_0x2c5554(0x1ce),_0x9f345b[_0x2c5554(0x1ce)]||new Date()),this[_0x2c5554(0x1df)](_0x2c5554(0x1da),_0x9f345b[_0x2c5554(0x1da)]||{});}[_0x1cd19c(0x1ca)](_0x1351e1){const _0x2c1b8c=_0x1cd19c;this[_0x2c1b8c(0x1c6)]({'name':_0x1351e1});}[_0x1cd19c(0x1d4)](_0x21ca42,_0x1b0674){const _0x395fed=_0x1cd19c,_0x412d80=_0x5e0b5b(this[_0x395fed(0x1da)]);_0x3badb5(_0x412d80,_0x21ca42,_0x1b0674),this[_0x395fed(0x1c6)]({'attributes':_0x412d80});}[_0x1cd19c(0x1d9)](_0x401894){const _0x253a12=_0x1cd19c,_0x3e0b67=_0x5e0b5b(this[_0x253a12(0x1da)]);_0x2e34f1(_0x3e0b67,_0x401894),this[_0x253a12(0x1c6)]({'attributes':_0x3e0b67});}[_0x1cd19c(0x1c6)](_0x43a93b,_0x5d1b93=!0x1){const _0x21cfcb=_0x1cd19c;let _0x3d5299=!0x1;const _0x945fcb={'id':this['id']},_0x4bd735=[_0x21cfcb(0x1d0),_0x21cfcb(0x1ce),_0x21cfcb(0x1cb),_0x21cfcb(0x1d7),_0x21cfcb(0x1da),_0x21cfcb(0x1dc),_0x21cfcb(0x1d2),_0x21cfcb(0x1d6)];for(const _0x1bfe1e of _0x4bd735){const _0x5b5202=_0x43a93b[_0x1bfe1e];void 0x0!==_0x5b5202&&_0x5b5202!==this[_0x1bfe1e]&&(this[_0x1bfe1e]=_0x5b5202,_0x945fcb[_0x1bfe1e]=_0x5b5202,_0x3d5299=!0x0);}_0x3d5299&&(_0x945fcb[_0x21cfcb(0x1d7)]&&(_0x945fcb[_0x21cfcb(0x1de)]=_0x945fcb[_0x21cfcb(0x1d7)][_0x21cfcb(0x1d1)](_0x403170=>_0x403170['id']),delete _0x945fcb[_0x21cfcb(0x1d7)]),this[_0x21cfcb(0x1c4)](_0x21cfcb(0x1c6),_0x945fcb,_0x5d1b93));}[_0x1cd19c(0x1cd)](){const _0x45f1f2=_0x1cd19c;return{'id':this['id'],'name':this[_0x45f1f2(0x1d0)],'creatorId':this[_0x45f1f2(0x1d3)]?this[_0x45f1f2(0x1d3)]['id']:null,'authorsIds':this[_0x45f1f2(0x1d7)][_0x45f1f2(0x1d1)](_0x14bb7c=>_0x14bb7c['id']),'diffData':this[_0x45f1f2(0x1cb)],'createdAt':this[_0x45f1f2(0x1ce)],'attributes':this[_0x45f1f2(0x1da)],'fromVersion':this[_0x45f1f2(0x1d2)],'toVersion':this[_0x45f1f2(0x1dc)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x58b028=_0x64ec;(function(_0xf1678c,_0x4c0648){const _0x5d091e=_0x64ec,_0x5a6d34=_0xf1678c();while(!![]){try{const _0x4c5a08=parseInt(_0x5d091e(0xbc))/0x1*(parseInt(_0x5d091e(0xbd))/0x2)+-parseInt(_0x5d091e(0xc5))/0x3*(-parseInt(_0x5d091e(0xc2))/0x4)+-parseInt(_0x5d091e(0xc0))/0x5+parseInt(_0x5d091e(0xc4))/0x6+parseInt(_0x5d091e(0xc8))/0x7+-parseInt(_0x5d091e(0xc7))/0x8+parseInt(_0x5d091e(0xc3))/0x9*(-parseInt(_0x5d091e(0xca))/0xa);if(_0x4c5a08===_0x4c0648)break;else _0x5a6d34['push'](_0x5a6d34['shift']());}catch(_0x46fa42){_0x5a6d34['push'](_0x5a6d34['shift']());}}}(_0x40f6,0x34340));import{Collection as _0x2e8461}from'ckeditor5/src/utils.js';function _0x64ec(_0xae6def,_0x55e805){const _0x40f610=_0x40f6();return _0x64ec=function(_0x64ecdb,_0x2541d6){_0x64ecdb=_0x64ecdb-0xbc;let _0x31a407=_0x40f610[_0x64ecdb];return _0x31a407;},_0x64ec(_0xae6def,_0x55e805);}function _0x40f6(){const _0x228995=['changes','970450tcZLst','newRevisionId','304zGgTQw','639pwkCyL','1437426vfEfil','9249MJVxuZ','_setChanges','2002992UsEAIv','798819CPXJde','oldRevisionId','8740GQJsJV','1SHZaDF','264692AHsLTp','add'];_0x40f6=function(){return _0x228995;};return _0x40f6();}export class RevisionDiff{[_0x58b028(0xc1)];[_0x58b028(0xc9)];[_0x58b028(0xbf)];constructor(_0x4630f3,_0x38f93b){const _0x47c78f=_0x58b028;this[_0x47c78f(0xc1)]=_0x4630f3,this[_0x47c78f(0xc9)]=_0x38f93b,this[_0x47c78f(0xbf)]=new _0x2e8461();}[_0x58b028(0xc6)](_0xd5a0f5){const _0x16435d=_0x58b028;for(const _0x594d58 of _0xd5a0f5)this[_0x16435d(0xbf)][_0x16435d(0xbe)](_0x594d58);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4b68(_0x5a4f26,_0x90e91d){const _0x41290b=_0x4129();return _0x4b68=function(_0x4b686c,_0x3f3523){_0x4b686c=_0x4b686c-0x8f;let _0x231729=_0x41290b[_0x4b686c];return _0x231729;},_0x4b68(_0x5a4f26,_0x90e91d);}const _0x49b5de=_0x4b68;(function(_0x32c52f,_0x56a925){const _0x4e18ef=_0x4b68,_0x43577f=_0x32c52f();while(!![]){try{const _0x593955=parseInt(_0x4e18ef(0xde))/0x1*(-parseInt(_0x4e18ef(0x11f))/0x2)+parseInt(_0x4e18ef(0xef))/0x3+parseInt(_0x4e18ef(0x127))/0x4*(parseInt(_0x4e18ef(0xb5))/0x5)+-parseInt(_0x4e18ef(0x124))/0x6*(-parseInt(_0x4e18ef(0x122))/0x7)+-parseInt(_0x4e18ef(0xd1))/0x8+-parseInt(_0x4e18ef(0x116))/0x9*(parseInt(_0x4e18ef(0x123))/0xa)+-parseInt(_0x4e18ef(0xf6))/0xb*(-parseInt(_0x4e18ef(0xd5))/0xc);if(_0x593955===_0x56a925)break;else _0x43577f['push'](_0x43577f['shift']());}catch(_0x39a5ac){_0x43577f['push'](_0x43577f['shift']());}}}(_0x4129,0xcb4c7));import{Plugin as _0x4dd422}from'ckeditor5/src/core.js';import{CKEditorError as _0x507fcf,uid as _0x593cff}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x39c16b}from'./revisiontracker.js';import{RevisionHistoryUI as _0x4554ab}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x1e1a30}from'./revisionviewer.js';import{RevisionViewerUI as _0x2eadc2}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x37012d}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x2ebc22}from'./editor/revisionviewereditor.js';import{getTranslation as _0xa336b4}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x1e6be3}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x49b5de(0xc3),_0x49b5de(0xfc)];export class RevisionViewerIntegration extends _0x4dd422{[_0x49b5de(0xf0)];static get[_0x49b5de(0xbb)](){const _0xc5f151=_0x49b5de;return _0xc5f151(0x9f);}static get[_0x49b5de(0x115)](){return!0x0;}static get[_0x49b5de(0xee)](){return!0x0;}constructor(_0x404b0e){const _0x5926af=_0x49b5de;function _0x5db564(_0x3b75b3){const _0x425855=_0x4b68;return _0x3b75b3[_0x425855(0xd6)](_0x45d6e5=>String[_0x425855(0xd7)](_0x45d6e5))[_0x425855(0x10e)]('');}super(_0x404b0e),this[_0x5926af(0xf0)]=_0x5926af(0xbc),_0x404b0e[_0x5db564([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5db564([0x76,0x69,0x65,0x77])][_0x5db564([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5db564([0x61,0x75,0x74,0x6f]),_0x404b0e[_0x5db564([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x5db564([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5db564([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x5db564([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x5db564([0x6f,0x6b])});}}export class RevisionHistory extends _0x4dd422{[_0x49b5de(0x10a)];static get[_0x49b5de(0xbb)](){const _0x4785d3=_0x49b5de;return _0x4785d3(0xe7);}static get[_0x49b5de(0x115)](){return!0x0;}static get[_0x49b5de(0xee)](){return!0x0;}static get[_0x49b5de(0xcd)](){return[_0x39c16b,_0x4554ab];}constructor(_0x16c7b1){const _0x12b506=_0x49b5de;if(super(_0x16c7b1),!this[_0x12b506(0x128)][_0x12b506(0xb8)][_0x12b506(0xcc)](_0x12b506(0xc8)))throw new _0x507fcf(_0x12b506(0x9a),this);this[_0x12b506(0x10a)]=null,this[_0x12b506(0xa4)](_0x12b506(0xb6),!0x1),this[_0x12b506(0x128)][_0x12b506(0xb8)][_0x12b506(0xe0)](_0x12b506(0xa1),_0x550cdf=>this[_0x12b506(0xf5)]({..._0x550cdf,'translations':this[_0x12b506(0x128)][_0x12b506(0x9e)][_0x12b506(0x10b)]})),this[_0x12b506(0x128)][_0x12b506(0xb8)][_0x12b506(0xe0)](_0x12b506(0xbe),_0xf89f5b=>this[_0x12b506(0x104)](_0xf89f5b)),this[_0x12b506(0x128)][_0x12b506(0xb8)][_0x12b506(0xe0)](_0x12b506(0xb1),_0x241e1e=>this[_0x12b506(0x10f)](_0x241e1e)),this[_0x12b506(0x128)][_0x12b506(0xb8)][_0x12b506(0xe0)](_0x12b506(0x8f),!0x1),this[_0x12b506(0xaf)](),this[_0x12b506(0x110)]();}set[_0x49b5de(0xf8)](_0x18f2de){const _0x2a0999=_0x49b5de;this[_0x2a0999(0x128)][_0x2a0999(0xc2)][_0x2a0999(0xcc)](_0x2a0999(0xe4))[_0x2a0999(0xf8)]=_0x18f2de;}get[_0x49b5de(0xf8)](){const _0x5888a3=_0x49b5de;return this[_0x5888a3(0x128)][_0x5888a3(0xc2)][_0x5888a3(0xcc)](_0x5888a3(0xe4))[_0x5888a3(0xf8)];}[_0x49b5de(0xd3)](_0x40a66f){const _0x1b307c=_0x49b5de;return this[_0x1b307c(0x128)][_0x1b307c(0xc2)][_0x1b307c(0xcc)](_0x1b307c(0xe4))[_0x1b307c(0xd3)](_0x40a66f);}[_0x49b5de(0x118)](_0x15f849){const _0x2fd19c=_0x49b5de;return this[_0x2fd19c(0x128)][_0x2fd19c(0xc2)][_0x2fd19c(0xcc)](_0x2fd19c(0x10d))[_0x2fd19c(0x118)](_0x15f849);}[_0x49b5de(0xf7)](_0x2a5928){const _0x3ca14d=_0x49b5de;return this[_0x3ca14d(0x128)][_0x3ca14d(0xc2)][_0x3ca14d(0xcc)](_0x3ca14d(0x10d))[_0x3ca14d(0xf7)](_0x2a5928||{'toJSON':!0x1});}[_0x49b5de(0xac)](){const _0x3fd74e=_0x49b5de,_0x1f95a9=this[_0x3fd74e(0x128)],_0x4260bb=_0x1e6be3(_0x1f95a9,d),_0x2f999c=_0x1f95a9[_0x3fd74e(0xc2)][_0x3fd74e(0xcc)](_0x3fd74e(0xe4)),_0x282be1=_0x1f95a9[_0x3fd74e(0xc2)][_0x3fd74e(0xcc)](_0x3fd74e(0x107))[_0x3fd74e(0xcf)];return _0x4260bb[_0x3fd74e(0xfd)]=[_0x3fd74e(0x113),_0x3fd74e(0xca),_0x3fd74e(0xe1)],delete _0x4260bb[_0x3fd74e(0xfe)],(_0x4260bb[_0x3fd74e(0xc2)][_0x3fd74e(0xf1)](RevisionViewerIntegration,_0x1e1a30,_0x2eadc2,class extends _0x4dd422{static get[_0x3fd74e(0xcd)](){const _0x1d03af=_0x3fd74e;return[_0x1e1a30,_0x1d03af(0x107)];}[_0x3fd74e(0xc0)](){const _0x394092=_0x3fd74e,_0xf72985=this[_0x394092(0x128)][_0x394092(0xc2)][_0x394092(0xcc)](_0x394092(0x107));for(const _0x185ba5 of _0x282be1)_0x185ba5[_0x394092(0xfa)]||_0xf72985[_0x394092(0xed)](_0x185ba5['id'])||_0xf72985[_0x394092(0xa3)](_0x185ba5);const _0x10722d=_0x2f999c[_0x394092(0xb0)][_0x394092(0xf7)]();let _0x419701=null;const _0x307876=this[_0x394092(0x128)][_0x394092(0xc2)][_0x394092(0xcc)](_0x394092(0x90));_0x307876[_0x394092(0xf8)]=_0x2f999c[_0x394092(0xf8)],_0x307876[_0x394092(0xa6)](_0x394092(0xbf))['to'](_0x2f999c),this[_0x394092(0x128)][_0x394092(0x11e)][_0x394092(0xcc)](_0x394092(0xca))[_0x394092(0xa6)](_0x394092(0xbf))['to'](_0x1f95a9,_0x394092(0xcb),_0x3d8220=>!_0x3d8220);for(const _0x42472c of _0x10722d){const _0x22f058=null===_0x42472c[_0x394092(0x111)];if(_0x22f058&&_0x42472c[_0x394092(0xb3)]===_0x42472c[_0x394092(0x93)])continue;const _0xecd1da=_0x42472c[_0x394092(0xa2)]();_0x307876[_0x394092(0xd3)](_0xecd1da,(_0x53e4a4,_0x4c0715,_0x1bd2cb)=>{const _0x23b736=_0x394092;if(_0x22f058){if(_0x419701)_0x419701[_0x23b736(0x126)](_0x53e4a4,_0x4c0715);else{if(!_0x4c0715){const _0x2a3020=_0x1bd2cb[_0x23b736(0xa2)]();_0x2a3020['id']=_0x593cff(),_0x2f999c[_0x23b736(0x92)](_0x2a3020,_0x1bd2cb[_0x23b736(0xb3)])[_0x23b736(0xea)](_0x4a11a6=>{_0x419701=_0x4a11a6;});}}}else _0x42472c[_0x23b736(0x126)](_0x53e4a4,_0x4c0715);});}}},_0x37012d),_0x4260bb);}[_0x49b5de(0xaf)](){const _0x46f2d1=_0x49b5de,_0x5f5601=this[_0x46f2d1(0x128)][_0x46f2d1(0xb8)][_0x46f2d1(0xcc)](_0x46f2d1(0xc8))[_0x46f2d1(0x97)];this[_0x46f2d1(0x128)][_0x46f2d1(0xb8)][_0x46f2d1(0xa4)](_0x46f2d1(0xa1),async()=>{const _0xdadb8e=_0x46f2d1;this[_0xdadb8e(0x128)][_0xdadb8e(0xeb)](_0xdadb8e(0xf9));const _0x20e781=this[_0xdadb8e(0x128)][_0xdadb8e(0xc2)][_0xdadb8e(0xcc)](_0xdadb8e(0xe4));if(this[_0xdadb8e(0x128)][_0xdadb8e(0xc2)][_0xdadb8e(0xad)](_0xdadb8e(0x106))){const _0x3d3dee=this[_0xdadb8e(0x128)][_0xdadb8e(0xc2)][_0xdadb8e(0xcc)](_0xdadb8e(0x106));await _0x3d3dee[_0xdadb8e(0x112)]();}else await _0x20e781[_0xdadb8e(0xa0)]();if(this[_0xdadb8e(0x128)][_0xdadb8e(0xc2)][_0xdadb8e(0xad)](_0xdadb8e(0xe5))&&this[_0xdadb8e(0x128)][_0xdadb8e(0xc2)][_0xdadb8e(0xcc)](_0xdadb8e(0xe5))[_0xdadb8e(0xc6)](),this[_0xdadb8e(0x128)][_0xdadb8e(0xc2)][_0xdadb8e(0xad)](_0xdadb8e(0xe9))){const _0x20492=this[_0xdadb8e(0x128)][_0xdadb8e(0xc2)][_0xdadb8e(0xcc)](_0xdadb8e(0xe9));_0x20492[_0xdadb8e(0xe8)]&&_0x20492[_0xdadb8e(0x108)]();}const _0x786f64=this[_0xdadb8e(0xac)]();return _0x5f5601(_0x786f64)[_0xdadb8e(0xea)](_0x547187=>{const _0x4d049e=_0xdadb8e;return(this[_0x4d049e(0x10a)]=_0x547187,this[_0x4d049e(0x128)][_0x4d049e(0xc2)][_0x4d049e(0xad)](_0x4d049e(0x11b)))&&this[_0x4d049e(0x128)][_0x4d049e(0xc2)][_0x4d049e(0xcc)](_0x4d049e(0x11b))[_0x4d049e(0x91)](),(this[_0x4d049e(0x128)][_0x4d049e(0xc2)][_0x4d049e(0xad)](_0x4d049e(0x103))&&(this[_0x4d049e(0x128)][_0x4d049e(0xc2)][_0x4d049e(0xcc)](_0x4d049e(0xc1))[_0x4d049e(0xb9)][_0x4d049e(0xa7)][_0x4d049e(0x98)][_0x4d049e(0xaa)]=_0x4d049e(0xdc)),_0x547187);})[_0xdadb8e(0xec)](_0x2c7a7a=>(console[_0xdadb8e(0xdb)](_0x2c7a7a),this[_0xdadb8e(0x128)][_0xdadb8e(0x9c)](_0xdadb8e(0xf9)),null));});}[_0x49b5de(0x110)](){const _0x755b20=_0x49b5de,_0x39f3bb=this[_0x755b20(0x128)][_0x755b20(0xb8)][_0x755b20(0xcc)](_0x755b20(0xc8))[_0x755b20(0xf4)];this[_0x755b20(0x128)][_0x755b20(0xb8)][_0x755b20(0xa4)](_0x755b20(0xbe),()=>(this[_0x755b20(0x128)][_0x755b20(0xc2)][_0x755b20(0xad)](_0x755b20(0xe5))&&this[_0x755b20(0x128)][_0x755b20(0xc2)][_0x755b20(0xcc)](_0x755b20(0xe5))[_0x755b20(0xc6)](),this[_0x755b20(0x128)][_0x755b20(0xc2)][_0x755b20(0xad)](_0x755b20(0x103))&&(this[_0x755b20(0x128)][_0x755b20(0xc2)][_0x755b20(0xcc)](_0x755b20(0xc1))[_0x755b20(0xb9)][_0x755b20(0xa7)][_0x755b20(0x98)][_0x755b20(0xaa)]=''),this[_0x755b20(0x10a)][_0x755b20(0xc2)][_0x755b20(0xcc)](_0x755b20(0x90))[_0x755b20(0x114)](),_0x39f3bb(this[_0x755b20(0x10a)])[_0x755b20(0xea)](()=>{const _0x533946=_0x755b20;if(this[_0x533946(0x128)][_0x533946(0x9c)](_0x533946(0xf9)),this[_0x533946(0x10a)]=null,this[_0x533946(0x128)][_0x533946(0xc2)][_0x533946(0xad)](_0x533946(0x11b))){const _0x13edfa=this[_0x533946(0x128)][_0x533946(0xc2)][_0x533946(0xcc)](_0x533946(0x11b));_0x13edfa[_0x533946(0x91)](),_0x13edfa[_0x533946(0x101)]();}})));}[_0x49b5de(0xf5)](_0x188ae9){const _0x1c5cc2=_0x49b5de,_0x4eed6b=this[_0x1c5cc2(0x128)][_0x1c5cc2(0xb8)][_0x1c5cc2(0xcc)](_0x1c5cc2(0xf3)),_0x3b545f=this[_0x1c5cc2(0x128)][_0x1c5cc2(0xb8)][_0x1c5cc2(0xcc)](_0x1c5cc2(0xd8)),_0x4a13ee=this[_0x1c5cc2(0x128)][_0x1c5cc2(0xb8)][_0x1c5cc2(0xcc)](_0x1c5cc2(0x125));return _0x2ebc22[_0x1c5cc2(0xba)](_0x4a13ee,_0x188ae9)[_0x1c5cc2(0xea)](_0x5b4814=>(_0x3b545f[_0x1c5cc2(0x98)][_0x1c5cc2(0xaa)]=_0x1c5cc2(0xb4),_0x4eed6b[_0x1c5cc2(0x98)][_0x1c5cc2(0xaa)]=_0x1c5cc2(0xdc),this[_0x1c5cc2(0xb6)]=!0x0,_0x5b4814));}[_0x49b5de(0x104)](_0x32b84c){const _0x322744=_0x49b5de,_0x2068ce=this[_0x322744(0x128)][_0x322744(0xb8)][_0x322744(0xcc)](_0x322744(0xf3));return this[_0x322744(0x128)][_0x322744(0xb8)][_0x322744(0xcc)](_0x322744(0xd8))[_0x322744(0x98)][_0x322744(0xaa)]=_0x322744(0xdc),_0x2068ce[_0x322744(0x98)][_0x322744(0xaa)]='',this[_0x322744(0xb6)]=!0x1,_0x32b84c[_0x322744(0x109)]();}async[_0x49b5de(0x10f)](_0xf6893a){const _0x509118=_0x49b5de,_0x238163=this[_0x509118(0x128)],_0x2d0a56=this[_0x509118(0x10a)][_0x509118(0xc2)][_0x509118(0xcc)](_0x509118(0x90)),_0x29ac36=_0x238163[_0x509118(0xc2)][_0x509118(0xcc)](_0x509118(0xe4)),_0x129397=_0x238163[_0x509118(0xc2)][_0x509118(0xcc)](_0x509118(0xfb)),_0x1dc048=_0x2d0a56[_0x509118(0xb0)][_0x509118(0x118)](_0xf6893a);let _0x1a9ee9,_0x45d860,_0x587213;try{await _0x129397[_0x509118(0x11a)](_0x1dc048,this[_0x509118(0xf8)]),_0x1a9ee9=_0x129397[_0x509118(0xc7)](_0x1dc048),_0x45d860=_0x129397[_0x509118(0x120)](_0x1dc048);}catch(_0xe96d60){return void console[_0x509118(0xdb)](_0xe96d60);}_0x238163[_0x509118(0xdf)][_0x509118(0xe6)](_0x1c06a2=>{const _0x256af9=_0x509118;for(const _0x2e6fc9 of Array[_0x256af9(0x94)](_0x238163[_0x256af9(0xdf)][_0x256af9(0xf2)][_0x256af9(0xce)](_0x256af9(0xb7))))_0x1c06a2[_0x256af9(0xd0)](_0x2e6fc9);}),_0x2d0a56[_0x509118(0x10c)]=!0x1,_0x238163[_0x509118(0xdf)][_0x509118(0x96)](_0x2cdc1a=>{const _0x2b940a=_0x509118;_0x2cdc1a[_0x2b940a(0x99)](null),_0x2cdc1a[_0x2b940a(0xd4)](_0x238163[_0x2b940a(0xdf)][_0x2b940a(0x100)][_0x2b940a(0x119)][_0x2b940a(0x117)]());const _0x130f14=Object[_0x2b940a(0x11d)](_0x1a9ee9);for(const _0x37b03e of _0x238163[_0x2b940a(0xdf)][_0x2b940a(0x100)][_0x2b940a(0xe2)])_0x2b940a(0xa5)!=_0x37b03e[_0x2b940a(0xa9)]&&_0x37b03e[_0x2b940a(0xc5)]()&&!_0x130f14[_0x2b940a(0xda)](_0x37b03e[_0x2b940a(0xa9)])&&_0x2cdc1a[_0x2b940a(0x11c)](_0x37b03e);for(const _0x5abed6 of _0x130f14){let _0xe5ac7e=_0x238163[_0x2b940a(0xdf)][_0x2b940a(0x100)][_0x2b940a(0xab)](_0x5abed6);_0xe5ac7e&&_0xe5ac7e[_0x2b940a(0xc5)]()||(_0xe5ac7e=_0x2cdc1a[_0x2b940a(0x9b)](_0x5abed6));const _0x1cef0e=_0x45d860[_0x5abed6],_0x2b1709=Object[_0x2b940a(0x11d)](_0x1cef0e),_0xc377d2=_0x1a9ee9[_0x5abed6];for(const _0x3169b7 of _0xe5ac7e[_0x2b940a(0x117)]())_0x2b1709[_0x2b940a(0xda)](_0x3169b7)||_0x2cdc1a[_0x2b940a(0xbd)](_0x3169b7,_0xe5ac7e);for(const _0x5f8c41 of _0x2b1709)_0x2cdc1a[_0x2b940a(0xc9)](_0x5f8c41,_0x45d860[_0x5abed6][_0x5f8c41],_0xe5ac7e);_0x2cdc1a[_0x2b940a(0xdd)](_0x2cdc1a[_0x2b940a(0xb2)](_0xe5ac7e)),_0x2cdc1a[_0x2b940a(0xe3)](_0x238163[_0x2b940a(0x105)][_0x2b940a(0x9d)](_0xc377d2,_0xe5ac7e),_0xe5ac7e,0x0);}});const _0x5c439e=_0xa336b4(_0x238163[_0x509118(0x9e)],_0x509118(0x95));if(_0x1dc048[_0x509118(0xd9)])_0x587213=-0x1==_0x1dc048[_0x509118(0xd9)][_0x509118(0xff)](_0x5c439e)?_0x5c439e+':\x20'+_0x1dc048[_0x509118(0xd9)]:_0x1dc048[_0x509118(0xd9)];else _0x587213=_0x5c439e+':\x20'+(_0x1dc048[_0x509118(0x102)][_0x509118(0xd2)](_0x238163[_0x509118(0x9e)][_0x509118(0xc4)],{'month':_0x509118(0x121),'day':_0x509118(0xae)})+',\x20'+_0x1dc048[_0x509118(0x102)][_0x509118(0xa8)](_0x238163[_0x509118(0x9e)][_0x509118(0xc4)],{'hour':_0x509118(0xae),'minute':_0x509118(0xae)}));return await _0x29ac36[_0x509118(0x92)]({'name':_0x587213}),_0x2d0a56[_0x509118(0x10c)]=!0x0,_0x238163[_0x509118(0xb8)][_0x509118(0xcc)](_0x509118(0xc8))[_0x509118(0xf4)]();}}function _0x4129(){const _0x13bdfd=['hide','destroy','_viewerEditor','translations','isReady','RevisionsRepository','join','_restoreRevision','_enhanceCloseRevisionViewerCallback','creator','save','exitToEditing','_cleanUp','isOfficialPlugin','9pQgDjr','getAttributeKeys','getRevision','selection','loadRevisionData','Annotations','detachRoot','keys','commands','12268LQtySc','getRevisionRootsAttributes','long','726698mreDtZ','11187310WniILG','60tJoCkY','revisionHistory.viewerEditorElement','_update','1078776XCYQmx','editor','revisionHistory.requireRevisionName','RevisionViewer','refreshVisibility','saveRevision','fromVersion','from','Restored','enqueueChange','showRevisionViewerCallback','style','setSelection','revision-history-missing-configuration','addRoot','disableReadOnlyMode','parse','locale','RevisionViewerIntegration','update','revisionHistory.showRevisionViewerCallback','toJSON','addUser','set','$graveyard','bind','element','toLocaleTimeString','rootName','display','getRoot','_getRevisionViewerEditorConfig','has','numeric','_enhanceShowRevisionViewerCallback','repository','revisionHistory.restoreRevisionCallback','createRangeIn','toVersion','block','15zsprNd','isRevisionViewerOpen','restrictedEditingException','config','view','create','pluginName','end','removeAttribute','revisionHistory.closeRevisionViewerCallback','isEnabled','init','DocumentOutlineUI','plugins','RevisionHistoryUI','uiLanguage','isAttached','_recalculatePageBreaks','getRevisionDocumentData','revisionHistory','setAttribute','restoreRevision','isReadOnly','get','requires','getMarkersGroup','users','removeMarker','6012856iRCwYN','toLocaleDateString','addRevisionData','removeSelectionAttribute','1142928avWcbj','map','fromCharCode','revisionHistory.viewerContainer','name','includes','error','none','remove','158EofSqP','model','define','changesNavigation','roots','insert','RevisionTracker','PaginationLookup','change','RevisionHistory','isOpen','Dialog','then','enableReadOnlyMode','catch','getUser','isPremiumPlugin','1189017GyGIgU','result','push','markers','revisionHistory.editorContainer','closeRevisionViewerCallback','_showRevisionViewer','165vmHSPe','getRevisions','adapter','revision-history-viewer-opened','isAnonymous','RevisionHistoryUtils','RestrictedEditingMode','toolbar','lazyRoots','indexOf','document','refreshPositioning','createdAt','DocumentOutline','_closeRevisionViewer','data','Autosave','Users'];_0x4129=function(){return _0x13bdfd;};return _0x4129();}
|
|
23
|
+
function _0x50e3(){const _0x19c335=['data','getRevisionRootsAttributes','join','createRangeIn','config','774zaWrLb','revisionHistory','locale','disableReadOnlyMode','insert','hide','fromVersion','uiLanguage','getRevision','Users','repository','roots','136PJJdCW','createdAt','toolbar','87mUhZpB','revisionHistory.viewerEditorElement','RevisionHistory','restrictedEditingException','exitToEditing','bind','revisionHistory.closeRevisionViewerCallback','setAttribute','830540vJZxQi','map','pluginName','isReadOnly','indexOf','change','markers','Autosave','_enhanceShowRevisionViewerCallback','revisionHistory.viewerContainer','selection','editor','isOpen','from','remove','display','_cleanUp','_update','destroy','refreshVisibility','_enhanceCloseRevisionViewerCallback','RevisionViewer','removeSelectionAttribute','_restoreRevision','addRevisionData','getRevisionDocumentData','_viewerEditor','users','restoreRevision','get','requires','error','commands','45909ldSsJs','includes','update','block','rootName','element','$graveyard','plugins','long','isOfficialPlugin','Restored','RestrictedEditingMode','init','revisionHistory.restoreRevisionCallback','revisionHistory.showRevisionViewerCallback','RevisionTracker','removeMarker','view','isRevisionViewerOpen','Annotations','revisionHistory.editorContainer','name','style','31913rqMurJ','refreshPositioning','keys','setSelection','toLocaleDateString','getUser','enqueueChange','895685wCfBzL','then','model','isAnonymous','toVersion','save','loadRevisionData','removeAttribute','660370zLvjCq','result','getMarkersGroup','DocumentOutline','none','12175UwMcvG','set','addUser','has','catch','showRevisionViewerCallback','isPremiumPlugin','revision-history-viewer-opened','define','changesNavigation','document','lazyRoots','toLocaleTimeString','isEnabled','detachRoot','_getRevisionViewerEditorConfig','PaginationLookup','creator','getAttributeKeys','RevisionHistoryUI','RevisionViewerIntegration','adapter','fromCharCode','RevisionHistoryUtils','revision-history-missing-configuration','enableReadOnlyMode','_recalculatePageBreaks','getRevisions','end','parse','push','6436FTKICW','_showRevisionViewer','numeric','isReady','_closeRevisionViewer','DocumentOutlineUI','create','getRoot','revisionHistory.requireRevisionName','addRoot','saveRevision','translations','RevisionsRepository','closeRevisionViewerCallback','isAttached','toJSON','Dialog'];_0x50e3=function(){return _0x19c335;};return _0x50e3();}const _0x2ebbc8=_0x5320;(function(_0x4bb0e4,_0x505057){const _0x4e8802=_0x5320,_0x10acf6=_0x4bb0e4();while(!![]){try{const _0xced5a2=parseInt(_0x4e8802(0xde))/0x1+-parseInt(_0x4e8802(0xa6))/0x2+parseInt(_0x4e8802(0x9e))/0x3*(parseInt(_0x4e8802(0x111))/0x4)+parseInt(_0x4e8802(0xf2))/0x5*(parseInt(_0x4e8802(0x127))/0x6)+parseInt(_0x4e8802(0xe5))/0x7+parseInt(_0x4e8802(0x9b))/0x8*(parseInt(_0x4e8802(0xc7))/0x9)+parseInt(_0x4e8802(0xed))/0xa;if(_0xced5a2===_0x505057)break;else _0x10acf6['push'](_0x10acf6['shift']());}catch(_0x2db0b3){_0x10acf6['push'](_0x10acf6['shift']());}}}(_0x50e3,0x3f050));import{Plugin as _0x7cb866}from'ckeditor5/src/core.js';import{CKEditorError as _0x25172a,uid as _0x2c2b12}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x1ef3af}from'./revisiontracker.js';import{RevisionHistoryUI as _0x9fbbfe}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x3cff96}from'./revisionviewer.js';import{RevisionViewerUI as _0x47298c}from'./ui/revisionviewer/revisionviewerui.js';function _0x5320(_0x2ec434,_0x15d622){const _0x50e385=_0x50e3();return _0x5320=function(_0x53201f,_0x4c22f4){_0x53201f=_0x53201f-0x91;let _0x805d5=_0x50e385[_0x53201f];return _0x805d5;},_0x5320(_0x2ec434,_0x15d622);}import{RevisionsSidebar as _0x3d60d5}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x23c950}from'./editor/revisionviewereditor.js';import{getTranslation as _0x3f53de}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x3a83d4}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x2ebbc8(0x105),_0x2ebbc8(0xd2)];export class RevisionViewerIntegration extends _0x7cb866{[_0x2ebbc8(0xee)];static get[_0x2ebbc8(0xa8)](){const _0xb52022=_0x2ebbc8;return _0xb52022(0x106);}static get[_0x2ebbc8(0xd0)](){return!0x0;}static get[_0x2ebbc8(0xf8)](){return!0x0;}constructor(_0x1937e9){const _0x5ca599=_0x2ebbc8;function _0x4fc420(_0x19d5e6){const _0x4d541b=_0x5320;return _0x19d5e6[_0x4d541b(0xa7)](_0x1b92e2=>String[_0x4d541b(0x108)](_0x1b92e2))[_0x4d541b(0x124)]('');}super(_0x1937e9),this[_0x5ca599(0xee)]=_0x5ca599(0x10e),_0x1937e9[_0x4fc420([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4fc420([0x76,0x69,0x65,0x77])][_0x4fc420([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4fc420([0x61,0x75,0x74,0x6f]),_0x1937e9[_0x4fc420([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x4fc420([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4fc420([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x4fc420([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x4fc420([0x6f,0x6b])});}}export class RevisionHistory extends _0x7cb866{[_0x2ebbc8(0xc0)];static get[_0x2ebbc8(0xa8)](){const _0x1f3e19=_0x2ebbc8;return _0x1f3e19(0xa0);}static get[_0x2ebbc8(0xd0)](){return!0x0;}static get[_0x2ebbc8(0xf8)](){return!0x0;}static get[_0x2ebbc8(0xc4)](){return[_0x1ef3af,_0x9fbbfe];}constructor(_0x263e94){const _0xf96f88=_0x2ebbc8;if(super(_0x263e94),!this[_0xf96f88(0xb1)][_0xf96f88(0x126)][_0xf96f88(0xc3)](_0xf96f88(0x128)))throw new _0x25172a(_0xf96f88(0x10a),this);this[_0xf96f88(0xc0)]=null,this[_0xf96f88(0xf3)](_0xf96f88(0xd9),!0x1),this[_0xf96f88(0xb1)][_0xf96f88(0x126)][_0xf96f88(0xfa)](_0xf96f88(0xd5),_0x2ea88d=>this[_0xf96f88(0x112)]({..._0x2ea88d,'translations':this[_0xf96f88(0xb1)][_0xf96f88(0x91)][_0xf96f88(0x11c)]})),this[_0xf96f88(0xb1)][_0xf96f88(0x126)][_0xf96f88(0xfa)](_0xf96f88(0xa4),_0x469599=>this[_0xf96f88(0x115)](_0x469599)),this[_0xf96f88(0xb1)][_0xf96f88(0x126)][_0xf96f88(0xfa)](_0xf96f88(0xd4),_0x4fe3e0=>this[_0xf96f88(0xbd)](_0x4fe3e0)),this[_0xf96f88(0xb1)][_0xf96f88(0x126)][_0xf96f88(0xfa)](_0xf96f88(0x119),!0x1),this[_0xf96f88(0xae)](),this[_0xf96f88(0xba)]();}set[_0x2ebbc8(0x107)](_0x1b94ff){const _0x20e937=_0x2ebbc8;this[_0x20e937(0xb1)][_0x20e937(0xce)][_0x20e937(0xc3)](_0x20e937(0xd6))[_0x20e937(0x107)]=_0x1b94ff;}get[_0x2ebbc8(0x107)](){const _0x551b40=_0x2ebbc8;return this[_0x551b40(0xb1)][_0x551b40(0xce)][_0x551b40(0xc3)](_0x551b40(0xd6))[_0x551b40(0x107)];}[_0x2ebbc8(0xbe)](_0x3dd7e0){const _0x4f196f=_0x2ebbc8;return this[_0x4f196f(0xb1)][_0x4f196f(0xce)][_0x4f196f(0xc3)](_0x4f196f(0xd6))[_0x4f196f(0xbe)](_0x3dd7e0);}[_0x2ebbc8(0x97)](_0x8d35f8){const _0x3bfd19=_0x2ebbc8;return this[_0x3bfd19(0xb1)][_0x3bfd19(0xce)][_0x3bfd19(0xc3)](_0x3bfd19(0x11d))[_0x3bfd19(0x97)](_0x8d35f8);}[_0x2ebbc8(0x10d)](_0x577c9e){const _0x39f065=_0x2ebbc8;return this[_0x39f065(0xb1)][_0x39f065(0xce)][_0x39f065(0xc3)](_0x39f065(0x11d))[_0x39f065(0x10d)](_0x577c9e||{'toJSON':!0x1});}[_0x2ebbc8(0x101)](){const _0x2f035e=_0x2ebbc8,_0x42ed0d=this[_0x2f035e(0xb1)],_0xada321=_0x3a83d4(_0x42ed0d,d),_0x316432=_0x42ed0d[_0x2f035e(0xce)][_0x2f035e(0xc3)](_0x2f035e(0xd6)),_0x5036a6=_0x42ed0d[_0x2f035e(0xce)][_0x2f035e(0xc3)](_0x2f035e(0x98))[_0x2f035e(0xc1)];return _0xada321[_0x2f035e(0x9d)]=[_0x2f035e(0xa2),_0x2f035e(0xc2),_0x2f035e(0xfb)],delete _0xada321[_0x2f035e(0xfd)],(_0xada321[_0x2f035e(0xce)][_0x2f035e(0x110)](RevisionViewerIntegration,_0x3cff96,_0x47298c,class extends _0x7cb866{static get[_0x2f035e(0xc4)](){const _0x51dc26=_0x2f035e;return[_0x3cff96,_0x51dc26(0x98)];}[_0x2f035e(0xd3)](){const _0x3e68e1=_0x2f035e,_0x3089cd=this[_0x3e68e1(0xb1)][_0x3e68e1(0xce)][_0x3e68e1(0xc3)](_0x3e68e1(0x98));for(const _0x4c86a2 of _0x5036a6)_0x4c86a2[_0x3e68e1(0xe8)]||_0x3089cd[_0x3e68e1(0xe3)](_0x4c86a2['id'])||_0x3089cd[_0x3e68e1(0xf4)](_0x4c86a2);const _0x36a7e6=_0x316432[_0x3e68e1(0x99)][_0x3e68e1(0x10d)]();let _0x38f46b=null;const _0x550d50=this[_0x3e68e1(0xb1)][_0x3e68e1(0xce)][_0x3e68e1(0xc3)](_0x3e68e1(0xbb));_0x550d50[_0x3e68e1(0x107)]=_0x316432[_0x3e68e1(0x107)],_0x550d50[_0x3e68e1(0xa3)](_0x3e68e1(0xff))['to'](_0x316432),this[_0x3e68e1(0xb1)][_0x3e68e1(0xc6)][_0x3e68e1(0xc3)](_0x3e68e1(0xc2))[_0x3e68e1(0xa3)](_0x3e68e1(0xff))['to'](_0x42ed0d,_0x3e68e1(0xa9),_0x2182be=>!_0x2182be);for(const _0x1149e0 of _0x36a7e6){const _0x4a9557=null===_0x1149e0[_0x3e68e1(0x103)];if(_0x4a9557&&_0x1149e0[_0x3e68e1(0xe9)]===_0x1149e0[_0x3e68e1(0x95)])continue;const _0x4751b0=_0x1149e0[_0x3e68e1(0x120)]();_0x550d50[_0x3e68e1(0xbe)](_0x4751b0,(_0x5b1a60,_0x81fa28,_0x501fae)=>{const _0x482a7a=_0x3e68e1;if(_0x4a9557){if(_0x38f46b)_0x38f46b[_0x482a7a(0xb7)](_0x5b1a60,_0x81fa28);else{if(!_0x81fa28){const _0x3b38f3=_0x501fae[_0x482a7a(0x120)]();_0x3b38f3['id']=_0x2c2b12(),_0x316432[_0x482a7a(0x11b)](_0x3b38f3,_0x501fae[_0x482a7a(0xe9)])[_0x482a7a(0xe6)](_0x472bf7=>{_0x38f46b=_0x472bf7;});}}}else _0x1149e0[_0x482a7a(0xb7)](_0x5b1a60,_0x81fa28);});}}},_0x3d60d5),_0xada321);}[_0x2ebbc8(0xae)](){const _0x439849=_0x2ebbc8,_0x5a3b1e=this[_0x439849(0xb1)][_0x439849(0x126)][_0x439849(0xc3)](_0x439849(0x128))[_0x439849(0xf7)];this[_0x439849(0xb1)][_0x439849(0x126)][_0x439849(0xf3)](_0x439849(0xd5),async()=>{const _0x3d0e85=_0x439849;this[_0x3d0e85(0xb1)][_0x3d0e85(0x10b)](_0x3d0e85(0xf9));const _0x32307f=this[_0x3d0e85(0xb1)][_0x3d0e85(0xce)][_0x3d0e85(0xc3)](_0x3d0e85(0xd6));if(this[_0x3d0e85(0xb1)][_0x3d0e85(0xce)][_0x3d0e85(0xf5)](_0x3d0e85(0xad))){const _0x1e9b56=this[_0x3d0e85(0xb1)][_0x3d0e85(0xce)][_0x3d0e85(0xc3)](_0x3d0e85(0xad));await _0x1e9b56[_0x3d0e85(0xea)]();}else await _0x32307f[_0x3d0e85(0xc9)]();if(this[_0x3d0e85(0xb1)][_0x3d0e85(0xce)][_0x3d0e85(0xf5)](_0x3d0e85(0x102))&&this[_0x3d0e85(0xb1)][_0x3d0e85(0xce)][_0x3d0e85(0xc3)](_0x3d0e85(0x102))[_0x3d0e85(0x10c)](),this[_0x3d0e85(0xb1)][_0x3d0e85(0xce)][_0x3d0e85(0xf5)](_0x3d0e85(0x121))){const _0x595fce=this[_0x3d0e85(0xb1)][_0x3d0e85(0xce)][_0x3d0e85(0xc3)](_0x3d0e85(0x121));_0x595fce[_0x3d0e85(0xb2)]&&_0x595fce[_0x3d0e85(0x94)]();}const _0x2844e8=this[_0x3d0e85(0x101)]();return _0x5a3b1e(_0x2844e8)[_0x3d0e85(0xe6)](_0x380670=>{const _0x58e544=_0x3d0e85;return(this[_0x58e544(0xc0)]=_0x380670,this[_0x58e544(0xb1)][_0x58e544(0xce)][_0x58e544(0xf5)](_0x58e544(0xda)))&&this[_0x58e544(0xb1)][_0x58e544(0xce)][_0x58e544(0xc3)](_0x58e544(0xda))[_0x58e544(0xb9)](),(this[_0x58e544(0xb1)][_0x58e544(0xce)][_0x58e544(0xf5)](_0x58e544(0xf0))&&(this[_0x58e544(0xb1)][_0x58e544(0xce)][_0x58e544(0xc3)](_0x58e544(0x116))[_0x58e544(0xd8)][_0x58e544(0xcc)][_0x58e544(0xdd)][_0x58e544(0xb5)]=_0x58e544(0xf1)),_0x380670);})[_0x3d0e85(0xf6)](_0x183204=>(console[_0x3d0e85(0xc5)](_0x183204),this[_0x3d0e85(0xb1)][_0x3d0e85(0x92)](_0x3d0e85(0xf9)),null));});}[_0x2ebbc8(0xba)](){const _0x428835=_0x2ebbc8,_0x222964=this[_0x428835(0xb1)][_0x428835(0x126)][_0x428835(0xc3)](_0x428835(0x128))[_0x428835(0x11e)];this[_0x428835(0xb1)][_0x428835(0x126)][_0x428835(0xf3)](_0x428835(0xa4),()=>(this[_0x428835(0xb1)][_0x428835(0xce)][_0x428835(0xf5)](_0x428835(0x102))&&this[_0x428835(0xb1)][_0x428835(0xce)][_0x428835(0xc3)](_0x428835(0x102))[_0x428835(0x10c)](),this[_0x428835(0xb1)][_0x428835(0xce)][_0x428835(0xf5)](_0x428835(0xf0))&&(this[_0x428835(0xb1)][_0x428835(0xce)][_0x428835(0xc3)](_0x428835(0x116))[_0x428835(0xd8)][_0x428835(0xcc)][_0x428835(0xdd)][_0x428835(0xb5)]=''),this[_0x428835(0xc0)][_0x428835(0xce)][_0x428835(0xc3)](_0x428835(0xbb))[_0x428835(0xb6)](),_0x222964(this[_0x428835(0xc0)])[_0x428835(0xe6)](()=>{const _0x376ec5=_0x428835;if(this[_0x376ec5(0xb1)][_0x376ec5(0x92)](_0x376ec5(0xf9)),this[_0x376ec5(0xc0)]=null,this[_0x376ec5(0xb1)][_0x376ec5(0xce)][_0x376ec5(0xf5)](_0x376ec5(0xda))){const _0x313f56=this[_0x376ec5(0xb1)][_0x376ec5(0xce)][_0x376ec5(0xc3)](_0x376ec5(0xda));_0x313f56[_0x376ec5(0xb9)](),_0x313f56[_0x376ec5(0xdf)]();}})));}[_0x2ebbc8(0x112)](_0x275f9a){const _0x40f8f4=_0x2ebbc8,_0x1821c2=this[_0x40f8f4(0xb1)][_0x40f8f4(0x126)][_0x40f8f4(0xc3)](_0x40f8f4(0xdb)),_0x5d031e=this[_0x40f8f4(0xb1)][_0x40f8f4(0x126)][_0x40f8f4(0xc3)](_0x40f8f4(0xaf)),_0x403c73=this[_0x40f8f4(0xb1)][_0x40f8f4(0x126)][_0x40f8f4(0xc3)](_0x40f8f4(0x9f));return _0x23c950[_0x40f8f4(0x117)](_0x403c73,_0x275f9a)[_0x40f8f4(0xe6)](_0x3bcb04=>(_0x5d031e[_0x40f8f4(0xdd)][_0x40f8f4(0xb5)]=_0x40f8f4(0xca),_0x1821c2[_0x40f8f4(0xdd)][_0x40f8f4(0xb5)]=_0x40f8f4(0xf1),this[_0x40f8f4(0xd9)]=!0x0,_0x3bcb04));}[_0x2ebbc8(0x115)](_0x219963){const _0x474a61=_0x2ebbc8,_0xa389e5=this[_0x474a61(0xb1)][_0x474a61(0x126)][_0x474a61(0xc3)](_0x474a61(0xdb));return this[_0x474a61(0xb1)][_0x474a61(0x126)][_0x474a61(0xc3)](_0x474a61(0xaf))[_0x474a61(0xdd)][_0x474a61(0xb5)]=_0x474a61(0xf1),_0xa389e5[_0x474a61(0xdd)][_0x474a61(0xb5)]='',this[_0x474a61(0xd9)]=!0x1,_0x219963[_0x474a61(0xb8)]();}async[_0x2ebbc8(0xbd)](_0x496861){const _0x5caed5=_0x2ebbc8,_0x5908dc=this[_0x5caed5(0xb1)],_0x1b5d1d=this[_0x5caed5(0xc0)][_0x5caed5(0xce)][_0x5caed5(0xc3)](_0x5caed5(0xbb)),_0x4216c5=_0x5908dc[_0x5caed5(0xce)][_0x5caed5(0xc3)](_0x5caed5(0xd6)),_0x3d2bb6=_0x5908dc[_0x5caed5(0xce)][_0x5caed5(0xc3)](_0x5caed5(0x109)),_0x1445b1=_0x1b5d1d[_0x5caed5(0x99)][_0x5caed5(0x97)](_0x496861);let _0x15d3d5,_0x522255,_0x4166c0;try{await _0x3d2bb6[_0x5caed5(0xeb)](_0x1445b1,this[_0x5caed5(0x107)]),_0x15d3d5=_0x3d2bb6[_0x5caed5(0xbf)](_0x1445b1),_0x522255=_0x3d2bb6[_0x5caed5(0x123)](_0x1445b1);}catch(_0x3fe54e){return void console[_0x5caed5(0xc5)](_0x3fe54e);}_0x5908dc[_0x5caed5(0xe7)][_0x5caed5(0xab)](_0x393be1=>{const _0xb8f9=_0x5caed5;for(const _0x465ce5 of Array[_0xb8f9(0xb3)](_0x5908dc[_0xb8f9(0xe7)][_0xb8f9(0xac)][_0xb8f9(0xef)](_0xb8f9(0xa1))))_0x393be1[_0xb8f9(0xd7)](_0x465ce5);}),_0x1b5d1d[_0x5caed5(0x114)]=!0x1,_0x5908dc[_0x5caed5(0xe7)][_0x5caed5(0xe4)](_0x3e7a6f=>{const _0xee726d=_0x5caed5;_0x3e7a6f[_0xee726d(0xe1)](null),_0x3e7a6f[_0xee726d(0xbc)](_0x5908dc[_0xee726d(0xe7)][_0xee726d(0xfc)][_0xee726d(0xb0)][_0xee726d(0x104)]());const _0xbc18c9=Object[_0xee726d(0xe0)](_0x15d3d5);for(const _0x53aa8f of _0x5908dc[_0xee726d(0xe7)][_0xee726d(0xfc)][_0xee726d(0x9a)])_0xee726d(0xcd)!=_0x53aa8f[_0xee726d(0xcb)]&&_0x53aa8f[_0xee726d(0x11f)]()&&!_0xbc18c9[_0xee726d(0xc8)](_0x53aa8f[_0xee726d(0xcb)])&&_0x3e7a6f[_0xee726d(0x100)](_0x53aa8f);for(const _0x25e9c8 of _0xbc18c9){let _0x4be71c=_0x5908dc[_0xee726d(0xe7)][_0xee726d(0xfc)][_0xee726d(0x118)](_0x25e9c8);_0x4be71c&&_0x4be71c[_0xee726d(0x11f)]()||(_0x4be71c=_0x3e7a6f[_0xee726d(0x11a)](_0x25e9c8));const _0x22e82a=_0x522255[_0x25e9c8],_0x56439f=Object[_0xee726d(0xe0)](_0x22e82a),_0x1c3fa9=_0x15d3d5[_0x25e9c8];for(const _0x14759c of _0x4be71c[_0xee726d(0x104)]())_0x56439f[_0xee726d(0xc8)](_0x14759c)||_0x3e7a6f[_0xee726d(0xec)](_0x14759c,_0x4be71c);for(const _0x41a18e of _0x56439f)_0x3e7a6f[_0xee726d(0xa5)](_0x41a18e,_0x522255[_0x25e9c8][_0x41a18e],_0x4be71c);_0x3e7a6f[_0xee726d(0xb4)](_0x3e7a6f[_0xee726d(0x125)](_0x4be71c)),_0x3e7a6f[_0xee726d(0x93)](_0x5908dc[_0xee726d(0x122)][_0xee726d(0x10f)](_0x1c3fa9,_0x4be71c),_0x4be71c,0x0);}});const _0x2aacc7=_0x3f53de(_0x5908dc[_0x5caed5(0x91)],_0x5caed5(0xd1));if(_0x1445b1[_0x5caed5(0xdc)])_0x4166c0=-0x1==_0x1445b1[_0x5caed5(0xdc)][_0x5caed5(0xaa)](_0x2aacc7)?_0x2aacc7+':\x20'+_0x1445b1[_0x5caed5(0xdc)]:_0x1445b1[_0x5caed5(0xdc)];else _0x4166c0=_0x2aacc7+':\x20'+(_0x1445b1[_0x5caed5(0x9c)][_0x5caed5(0xe2)](_0x5908dc[_0x5caed5(0x91)][_0x5caed5(0x96)],{'month':_0x5caed5(0xcf),'day':_0x5caed5(0x113)})+',\x20'+_0x1445b1[_0x5caed5(0x9c)][_0x5caed5(0xfe)](_0x5908dc[_0x5caed5(0x91)][_0x5caed5(0x96)],{'hour':_0x5caed5(0x113),'minute':_0x5caed5(0x113)}));return await _0x4216c5[_0x5caed5(0x11b)]({'name':_0x4166c0}),_0x1b5d1d[_0x5caed5(0x114)]=!0x0,_0x5908dc[_0x5caed5(0x126)][_0x5caed5(0xc3)](_0x5caed5(0x128))[_0x5caed5(0x11e)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3189(_0x56f200,_0x3ea739){const _0x5beb31=_0x5beb();return _0x3189=function(_0x318973,_0x210daf){_0x318973=_0x318973-0xb8;let _0x3d5356=_0x5beb31[_0x318973];return _0x3d5356;},_0x3189(_0x56f200,_0x3ea739);}function _0x5beb(){const _0x275f04=['attachChange','data-revision-','innerHTML','_getTypeCharForViewElement','collaboration.channelId','isOfficialPlugin','default','loadRevisionData','getRevisionDocumentData','config','getFillerOffset','string','document','insertions','47401SaMPMb','length','domChildrenToView','forEach','_getViewFromDiffObj','filter','toData','pluginName','_makeModelFromViewString','revision-end','fillerOffset','processor','diffData','isPremiumPlugin','10CxMDAc','customProperties','attributes','editing','toModel','2167732pOlWyk','15ONVIoL','_typeCharToViewClass','htmlProcessor','getRevisionRootsAttributes','childNodes','type','102708QsuLhH','children','13331197akJBVX','useFillerType','viewChildrenToDom','createElement','_appendChild','map','domConverter','get','div','parse','append','marked','_viewClassToTypeChar','startsWith','editor','6eTNkfE','getRevision','_removeRevisionMarkers','constructor','276618LoLOlh','revision-start','name','from','440AgxrhU','data','view','_setCustomProperty','render','2684004XZeIDY','attributesAfter','RevisionHistoryUtils','1270820JTzsZX','domDocument','isAttached'];_0x5beb=function(){return _0x275f04;};return _0x5beb();}const _0x248385=_0x3189;(function(_0x3f6eda,_0x5f40dd){const _0x281340=_0x3189,_0x52aeec=_0x3f6eda();while(!![]){try{const _0x73410=parseInt(_0x281340(0xe9))/0x1*(-parseInt(_0x281340(0xc8))/0x2)+parseInt(_0x281340(0xd5))/0x3+parseInt(_0x281340(0xd8))/0x4*(-parseInt(_0x281340(0xfd))/0x5)+parseInt(_0x281340(0xcc))/0x6+parseInt(_0x281340(0xfc))/0x7+-parseInt(_0x281340(0xd0))/0x8*(parseInt(_0x281340(0x103))/0x9)+-parseInt(_0x281340(0xf7))/0xa*(-parseInt(_0x281340(0xb9))/0xb);if(_0x73410===_0x5f40dd)break;else _0x52aeec['push'](_0x52aeec['shift']());}catch(_0x58792b){_0x52aeec['push'](_0x52aeec['shift']());}}}(_0x5beb,0xb4844));import{Plugin as _0x3b75f7}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x3a4eec,ViewText as _0x52fd3e,ViewElement as _0x2420d2,ViewContainerElement as _0x2bd5d2,ViewAttributeElement as _0x658495,ViewEmptyElement as _0x4d3de1,ViewRawElement as _0x3efe82,ViewUIElement as _0x4dc4e6}from'ckeditor5/src/engine.js';export class RevisionHistoryUtils extends _0x3b75f7{static get[_0x248385(0xf0)](){const _0x44d3f4=_0x248385;return _0x44d3f4(0xd7);}static get[_0x248385(0xe0)](){return!0x0;}static get[_0x248385(0xf6)](){return!0x0;}[_0x248385(0xc5)]=new Map([[_0x2bd5d2,'c'],[_0x658495,'a'],[_0x4d3de1,'e'],[_0x3efe82,'r'],[_0x4dc4e6,'u']]);[_0x248385(0xfe)]=new Map([['c',_0x2bd5d2],['a',_0x658495],['e',_0x4d3de1],['r',_0x3efe82],['u',_0x4dc4e6]]);async[_0x248385(0xe2)](_0x3ccf2a,_0x2f1fd9){const _0x390e50=_0x248385;if(_0x3ccf2a[_0x390e50(0xf5)]||!_0x2f1fd9)return;const _0x56074b=this[_0x390e50(0xc7)][_0x390e50(0xe4)][_0x390e50(0xc0)](_0x390e50(0xdf)),_0xd699b3=await _0x2f1fd9[_0x390e50(0xc9)]({'channelId':_0x56074b,'revisionId':_0x3ccf2a['id']});_0x3ccf2a[_0x390e50(0xf5)]=_0xd699b3[_0x390e50(0xf5)];}[_0x248385(0xe3)](_0x2a8799){const _0x5f2ef4=_0x248385,_0x579f6e={};for(const _0x3e14be in _0x2a8799[_0x5f2ef4(0xf5)]){if(_0x2a8799[_0x5f2ef4(0xf5)][_0x3e14be][_0x5f2ef4(0xdb)]&&!_0x2a8799[_0x5f2ef4(0xf5)][_0x3e14be][_0x5f2ef4(0xdb)][_0x5f2ef4(0xda)])continue;const _0x52a4f0=this[_0x5f2ef4(0xca)](JSON[_0x5f2ef4(0xc2)](_0x2a8799[_0x5f2ef4(0xf5)][_0x3e14be][_0x5f2ef4(0xe8)])),_0x40120d=this[_0x5f2ef4(0xc7)][_0x5f2ef4(0xfa)][_0x5f2ef4(0xd2)][_0x5f2ef4(0xe7)],_0x325a0d=new _0x3a4eec(_0x40120d,_0x52a4f0[_0x5f2ef4(0xbe)](_0xd44197=>this[_0x5f2ef4(0xed)](_0xd44197,!0x1)));this[_0x5f2ef4(0xc7)][_0x5f2ef4(0xd1)][_0x5f2ef4(0xf4)][_0x5f2ef4(0xba)](_0x5f2ef4(0xc4)),_0x579f6e[_0x3e14be]=this[_0x5f2ef4(0xc7)][_0x5f2ef4(0xd1)][_0x5f2ef4(0xf4)][_0x5f2ef4(0xef)](_0x325a0d),this[_0x5f2ef4(0xc7)][_0x5f2ef4(0xd1)][_0x5f2ef4(0xf4)][_0x5f2ef4(0xba)](_0x5f2ef4(0xe1));}return _0x579f6e;}[_0x248385(0x100)](_0x39d111){const _0x3ddff6=_0x248385,_0x273a89={};for(const _0x3a9149 in _0x39d111[_0x3ddff6(0xf5)])_0x39d111[_0x3ddff6(0xf5)][_0x3a9149][_0x3ddff6(0xdb)]&&!_0x39d111[_0x3ddff6(0xf5)][_0x3a9149][_0x3ddff6(0xdb)][_0x3ddff6(0xda)]||(_0x273a89[_0x3a9149]=_0x39d111[_0x3ddff6(0xf5)][_0x3a9149][_0x3ddff6(0xd6)]||{});return _0x273a89;}[_0x248385(0xde)](_0x3c6a87){const _0x527ae4=_0x248385;return this[_0x527ae4(0xc5)][_0x527ae4(0xc0)](_0x3c6a87[_0x527ae4(0xcb)]);}[_0x248385(0xed)](_0x261149,_0x336512){const _0x101010=_0x248385,_0x535bf3=this[_0x101010(0xc7)][_0x101010(0xfa)][_0x101010(0xd2)][_0x101010(0xe7)];if(_0x101010(0xe6)==typeof _0x261149)return new _0x52fd3e(_0x535bf3,_0x261149);{let _0x4902c0,_0x27756c;_0x27756c='u'==_0x261149[_0x101010(0x102)]||'r'==_0x261149[_0x101010(0x102)]?[]:_0x261149[_0x101010(0xb8)][_0x101010(0xbe)](_0x3f4deb=>this[_0x101010(0xed)](_0x3f4deb,_0x336512));const _0x13db9f=this[_0x101010(0xfe)][_0x101010(0xc0)](_0x261149[_0x101010(0x102)])||_0x2420d2,_0xe6831=this[_0x101010(0xc7)][_0x101010(0xd1)][_0x101010(0xff)][_0x101010(0xbf)];if(_0x4902c0=new _0x13db9f(_0x535bf3,_0x261149[_0x101010(0xce)],_0x261149[_0x101010(0xf9)],_0x27756c),'u'==_0x261149[_0x101010(0x102)]&&_0x261149[_0x101010(0xb8)][0x0]){const _0x1de882=_0x261149[_0x101010(0xb8)][0x0];if(_0x4902c0[_0x101010(0xd4)]=function(_0x34cff4){const _0x54f0ce=_0x101010,_0x264141=_0x34cff4[_0x54f0ce(0xbc)](_0x54f0ce(0xc1));return _0x264141[_0x54f0ce(0xdd)]=_0x1de882,_0x264141[_0x54f0ce(0x101)][0x0];},_0x336512){const _0xbf21c5=new _0x3a4eec(_0x535bf3);_0xbf21c5[_0x101010(0xbd)](_0x4902c0);const _0x5e0f52=Array[_0x101010(0xcf)](_0xe6831[_0x101010(0xbb)](_0xbf21c5,{'bind':!0x1})),_0x1507c8=_0xe6831[_0x101010(0xd9)][_0x101010(0xbc)](_0x101010(0xc1));_0x1507c8[_0x101010(0xc3)](..._0x5e0f52),_0x4902c0=Array[_0x101010(0xcf)](_0xe6831[_0x101010(0xeb)](_0x1507c8))[0x0];}}else{if('r'==_0x261149[_0x101010(0x102)]&&_0x261149[_0x101010(0xb8)][0x0]){const _0x55142e=_0x261149[_0x101010(0xb8)][0x0];if(_0x4902c0[_0x101010(0xd4)]=function(_0x97a728){const _0x13b3da=_0x101010;_0x97a728[_0x13b3da(0xdd)]=_0x55142e;},_0x336512){const _0x1dd815=new _0x3a4eec(_0x535bf3);_0x1dd815[_0x101010(0xbd)](_0x4902c0);const _0x13da16=Array[_0x101010(0xcf)](_0xe6831[_0x101010(0xbb)](_0x1dd815,{'bind':!0x1})),_0x49cd2b=_0xe6831[_0x101010(0xd9)][_0x101010(0xbc)](_0x101010(0xc1));_0x49cd2b[_0x101010(0xc3)](..._0x13da16);const _0x263867=Array[_0x101010(0xcf)](_0xe6831[_0x101010(0xeb)](_0x49cd2b));_0x263867[_0x101010(0xea)]>0x1?_0x4902c0[_0x101010(0xbd)](_0x263867):_0x4902c0=_0x263867[0x0];}}}if(_0x261149[_0x101010(0xf8)]){for(const [_0x36a6ed,_0x3137ff]of _0x261149[_0x101010(0xf8)])_0x4902c0[_0x101010(0xd3)](_0x36a6ed,_0x3137ff);}const _0x49fe49=void 0x0===_0x261149[_0x101010(0xf3)]?null:_0x261149[_0x101010(0xf3)];return null!==_0x49fe49&&(_0x4902c0[_0x101010(0xe5)]=()=>_0x49fe49),_0x4902c0;}}[_0x248385(0xf1)](_0x392e57){const _0xa08e55=_0x248385,_0x32e534=JSON[_0xa08e55(0xc2)](_0x392e57),_0x1a67ea=this[_0xa08e55(0xc7)][_0xa08e55(0xfa)][_0xa08e55(0xd2)][_0xa08e55(0xe7)],_0x2fefe0=new _0x3a4eec(_0x1a67ea,_0x32e534[_0xa08e55(0xbe)](_0x37c87e=>this[_0xa08e55(0xed)](_0x37c87e,!0x0)));return this[_0xa08e55(0xc7)][_0xa08e55(0xd1)][_0xa08e55(0xfb)](_0x2fefe0);}[_0x248385(0xca)](_0x590295){const _0x1efeeb=_0x248385;return(_0x590295=_0x590295[_0x1efeeb(0xee)](_0x456427=>!_0x456427[_0x1efeeb(0xce)]||_0x1efeeb(0xcd)!==_0x456427[_0x1efeeb(0xce)]&&_0x1efeeb(0xf2)!==_0x456427[_0x1efeeb(0xce)]))[_0x1efeeb(0xec)](_0x1266f6=>{const _0xc2ecae=_0x1efeeb;_0xc2ecae(0xe6)!=typeof _0x1266f6&&(_0x1266f6[_0xc2ecae(0xb8)]=this[_0xc2ecae(0xca)](_0x1266f6[_0xc2ecae(0xb8)]),_0x1266f6[_0xc2ecae(0xf9)]=_0x1266f6[_0xc2ecae(0xf9)][_0xc2ecae(0xee)](_0x3e03ea=>!_0x3e03ea[0x0][_0xc2ecae(0xc6)](_0xc2ecae(0xdc))));}),_0x590295;}}
|