@ckeditor/ckeditor5-revision-history 46.1.1-alpha.3 → 46.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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
|
+
(_0x58f96f=>{const {vi:{dictionary:_0x3cc47e,getPluralForm:_0x4a622b}}={'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':_0x2f603f=>0x0}};_0x58f96f['vi']||={'dictionary':{},'getPluralForm':null},_0x58f96f['vi']['dictionary']=Object['assign'](_0x58f96f['vi']['dictionary'],_0x3cc47e),_0x58f96f['vi']['getPluralForm']=_0x4a622b;})(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':_0x60bddf=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3d0d6c=>{const {'zh-cn':{dictionary:_0x924c67,getPluralForm:_0x1bdbb3}}={'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':_0x2506a8=>0x0}};_0x3d0d6c['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x3d0d6c['zh-cn']['dictionary']=Object['assign'](_0x3d0d6c['zh-cn']['dictionary'],_0x924c67),_0x3d0d6c['zh-cn']['getPluralForm']=_0x1bdbb3;})(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':_0x2f48d1=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x17ccd7=>{const {zh:{dictionary:_0x1a92e0,getPluralForm:_0x2507cc}}={'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':_0x314267=>0x0}};_0x17ccd7['zh']||={'dictionary':{},'getPluralForm':null},_0x17ccd7['zh']['dictionary']=Object['assign'](_0x17ccd7['zh']['dictionary'],_0x1a92e0),_0x17ccd7['zh']['getPluralForm']=_0x2507cc;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "46.1.1
|
|
3
|
+
"version": "46.1.1",
|
|
4
4
|
"description": "Document revision history feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,18 +39,18 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-autosave": "46.1.1
|
|
43
|
-
"@ckeditor/ckeditor5-collaboration-core": "46.1.1
|
|
44
|
-
"@ckeditor/ckeditor5-comments": "46.1.1
|
|
45
|
-
"@ckeditor/ckeditor5-core": "46.1.1
|
|
46
|
-
"@ckeditor/ckeditor5-editor-classic": "46.1.1
|
|
47
|
-
"@ckeditor/ckeditor5-engine": "46.1.1
|
|
48
|
-
"@ckeditor/ckeditor5-icons": "46.1.1
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "46.1.1
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "46.1.1
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "46.1.1",
|
|
43
|
+
"@ckeditor/ckeditor5-collaboration-core": "46.1.1",
|
|
44
|
+
"@ckeditor/ckeditor5-comments": "46.1.1",
|
|
45
|
+
"@ckeditor/ckeditor5-core": "46.1.1",
|
|
46
|
+
"@ckeditor/ckeditor5-editor-classic": "46.1.1",
|
|
47
|
+
"@ckeditor/ckeditor5-engine": "46.1.1",
|
|
48
|
+
"@ckeditor/ckeditor5-icons": "46.1.1",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "46.1.1",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "46.1.1",
|
|
51
51
|
"@types/luxon": "3.6.2",
|
|
52
|
-
"ckeditor5": "46.1.1
|
|
53
|
-
"ckeditor5-collaboration": "46.1.1
|
|
52
|
+
"ckeditor5": "46.1.1",
|
|
53
|
+
"ckeditor5-collaboration": "46.1.1",
|
|
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
|
-
|
|
24
|
-
|
|
23
|
+
function _0x2e92(){var _0x2aacd0=['author','2082pFkwuw','4HhubLX','2110888UJburS','949328TNvCsq','7147DGtluP','111859aTiRYS','238337HjaPTF','set','type','rootName','toJSON','474066TsFgQG','8293932vMUmUl','440JNdDJT','data','10ltpzYM','createdAt'];_0x2e92=function(){return _0x2aacd0;};return _0x2e92();}function _0xd55c(_0xc8c3ac,_0x5ccab6){var _0x2e9286=_0x2e92();return _0xd55c=function(_0xd55c90,_0x5ab25a){_0xd55c90=_0xd55c90-0xde;var _0xa344b6=_0x2e9286[_0xd55c90];return _0xa344b6;},_0xd55c(_0xc8c3ac,_0x5ccab6);}var _0x49f57c=_0xd55c;(function(_0x1b04c5,_0x5155ea){var _0x2cc13d=_0xd55c,_0x48ee98=_0x1b04c5();while(!![]){try{var _0x1815c0=-parseInt(_0x2cc13d(0xe8))/0x1*(parseInt(_0x2cc13d(0xe3))/0x2)+parseInt(_0x2cc13d(0xed))/0x3+parseInt(_0x2cc13d(0xe5))/0x4*(parseInt(_0x2cc13d(0xdf))/0x5)+-parseInt(_0x2cc13d(0xe2))/0x6*(parseInt(_0x2cc13d(0xe6))/0x7)+parseInt(_0x2cc13d(0xe4))/0x8+parseInt(_0x2cc13d(0xee))/0x9+parseInt(_0x2cc13d(0xef))/0xa*(-parseInt(_0x2cc13d(0xe7))/0xb);if(_0x1815c0===_0x5155ea)break;else _0x48ee98['push'](_0x48ee98['shift']());}catch(_0x2b9ee6){_0x48ee98['push'](_0x48ee98['shift']());}}}(_0x2e92,0x83c32));import{ObservableMixin as _0x3ea5b9,uid as _0x12b0fa}from'ckeditor5/src/utils.js';export class ChangeItem extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3ea5b9(){['id'];[_0x49f57c(0xe1)];[_0x49f57c(0xea)];[_0x49f57c(0xde)];[_0x49f57c(0xeb)];constructor(_0x1f6d3d){var _0x49e4d6=_0x49f57c;super(),this['id']=_0x1f6d3d['id']||_0x12b0fa(),this[_0x49e4d6(0xe1)]=_0x1f6d3d[_0x49e4d6(0xe1)],this[_0x49e4d6(0xea)]=_0x1f6d3d[_0x49e4d6(0xea)],this[_0x49e4d6(0xde)]=_0x1f6d3d[_0x49e4d6(0xde)]||{},this[_0x49e4d6(0xeb)]=_0x1f6d3d[_0x49e4d6(0xeb)],this[_0x49e4d6(0xe9)](_0x49e4d6(0xe0),_0x1f6d3d[_0x49e4d6(0xe0)]);}[_0x49f57c(0xec)](){var _0x28a432=_0x49f57c;return{'id':this['id'],'authorId':this[_0x28a432(0xe1)]['id'],'type':this[_0x28a432(0xea)],'data':this[_0x28a432(0xde)],'createdAt':this[_0x28a432(0xe0)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1b493a=_0x1af1;(function(_0x28e40b,_0x3c8339){const _0x4947ea=_0x1af1,_0xb68307=_0x28e40b();while(!![]){try{const _0x2e984d=parseInt(_0x4947ea(0x174))/0x1+-parseInt(_0x4947ea(0x173))/0x2+parseInt(_0x4947ea(0x165))/0x3*(parseInt(_0x4947ea(0x17b))/0x4)+parseInt(_0x4947ea(0x177))/0x5+parseInt(_0x4947ea(0x178))/0x6+parseInt(_0x4947ea(0x16d))/0x7*(-parseInt(_0x4947ea(0x16c))/0x8)+parseInt(_0x4947ea(0x171))/0x9*(-parseInt(_0x4947ea(0x168))/0xa);if(_0x2e984d===_0x3c8339)break;else _0xb68307['push'](_0xb68307['shift']());}catch(_0x4d0738){_0xb68307['push'](_0xb68307['shift']());}}}(_0x380e,0xa936b));import{Editor as _0x25adab,ElementApiMixin as _0x58cce0}from'ckeditor5/src/core.js';function _0x380e(){const _0x577ff4=['ready','fire','576264DfrHAD','42mJuwBp','model','initialData','get','24309yUalYb','initPlugins','146644dvJDoi','559878UJshDC','init','_ui','4664305doCJdl','4989378ogBvZV','data','editing','24pUDjFs','createRoot','config','create','sourceElement','updateSourceElement','document','35430gGIEAd','destroy','locale','4430vnZEhH','view'];_0x380e=function(){return _0x577ff4;};return _0x380e();}import{RevisionViewerEditorUI as _0x498cc3}from'./revisionviewereditorui.js';import{RevisionViewerEditorUIView as _0x3f38c9}from'./revisionviewereditoruiview.js';function _0x1af1(_0x10ff27,_0x16d6f6){const _0x380e7e=_0x380e();return _0x1af1=function(_0x1af18d,_0x2af0ff){_0x1af18d=_0x1af18d-0x161;let _0x66efbc=_0x380e7e[_0x1af18d];return _0x66efbc;},_0x1af1(_0x10ff27,_0x16d6f6);}export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x58cce0(_0x25adab){[_0x1b493a(0x176)];get['ui'](){const _0x5064df=_0x1b493a;return this[_0x5064df(0x176)];}constructor(_0x4412b2,_0x3ccb77){const _0x594f49=_0x1b493a;super(_0x3ccb77),this[_0x594f49(0x162)]=_0x4412b2,this[_0x594f49(0x16e)][_0x594f49(0x164)][_0x594f49(0x17c)]();const _0x15d45d=new _0x3f38c9(this[_0x594f49(0x167)],this[_0x594f49(0x17a)][_0x594f49(0x169)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x594f49(0x176)]=new _0x498cc3(this,_0x15d45d);}[_0x1b493a(0x166)](){const _0x2396be=_0x1b493a;return this[_0x2396be(0x163)](),this['ui'][_0x2396be(0x166)](),super[_0x2396be(0x166)]();}static async[_0x1b493a(0x161)](_0x3298d8,_0x1d1fb1){const _0x66727c=_0x1b493a,_0x360b71=new this(_0x3298d8,_0x1d1fb1);return await _0x360b71[_0x66727c(0x172)](),await _0x360b71['ui'][_0x66727c(0x175)](_0x3298d8),await _0x360b71[_0x66727c(0x179)][_0x66727c(0x175)](_0x360b71[_0x66727c(0x17d)][_0x66727c(0x170)](_0x66727c(0x16f))||''),_0x360b71[_0x66727c(0x16b)](_0x66727c(0x16a)),_0x360b71;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x168cec=_0x18c9;function _0x18c9(_0x54f050,_0x4ce79e){const _0x35e138=_0x35e1();return _0x18c9=function(_0x18c915,_0x57b604){_0x18c915=_0x18c915-0x182;let _0x477a5b=_0x35e138[_0x18c915];return _0x477a5b;},_0x18c9(_0x54f050,_0x4ce79e);}(function(_0x1af99d,_0x47521d){const _0x37a43f=_0x18c9,_0x47a5a4=_0x1af99d();while(!![]){try{const _0x5b2f0d=parseInt(_0x37a43f(0x186))/0x1*(parseInt(_0x37a43f(0x196))/0x2)+-parseInt(_0x37a43f(0x18f))/0x3*(parseInt(_0x37a43f(0x19a))/0x4)+parseInt(_0x37a43f(0x187))/0x5+-parseInt(_0x37a43f(0x1a6))/0x6+parseInt(_0x37a43f(0x1a8))/0x7*(-parseInt(_0x37a43f(0x182))/0x8)+-parseInt(_0x37a43f(0x18d))/0x9+parseInt(_0x37a43f(0x1b1))/0xa*(parseInt(_0x37a43f(0x198))/0xb);if(_0x5b2f0d===_0x47521d)break;else _0x47a5a4['push'](_0x47a5a4['shift']());}catch(_0x2be987){_0x47a5a4['push'](_0x47a5a4['shift']());}}}(_0x35e1,0x47810));import{EditorUI as _0x1170bb,normalizeToolbarConfig as _0x453084}from'ckeditor5/src/ui.js';function _0x35e1(){const _0x2b471a=['document','init','14ZqqDph','1580475sQykiG','detachDomRoot','bind','replace','viewportOffset','render','284841zNSwwT','getRoot','3smOEvn','_initToolbar','setEditableElement','editable','isFocused','ready','viewportTopOffset','50372NaoMaC','_view','286066FJLOCj','stickyPanel','2136884LXUoYK','editor','_elementReplacer','view','isActive','_toolbarConfig','name','attachDomRoot','restore','destroy','focusTracker','addToolbar','1653618MOulEA','element','91asPdYr','config','rootName','limiterElement','fire','fillFromConfig','toolbar','componentFactory','get','250HZkuHa','113536QDWpgx','editing'];_0x35e1=function(){return _0x2b471a;};return _0x35e1();}import{ElementReplacer as _0x5e05f9}from'ckeditor5/src/utils.js';export class RevisionViewerEditorUI extends _0x1170bb{[_0x168cec(0x197)];[_0x168cec(0x19f)];[_0x168cec(0x19c)];get[_0x168cec(0x19d)](){const _0x584738=_0x168cec;return this[_0x584738(0x197)];}constructor(_0x25c222,_0x5035e9){const _0x51e699=_0x168cec;super(_0x25c222),this[_0x51e699(0x197)]=_0x5035e9,this[_0x51e699(0x19f)]=_0x453084(_0x25c222[_0x51e699(0x1a9)][_0x51e699(0x1b0)](_0x51e699(0x1ae))),this[_0x51e699(0x19c)]=new _0x5e05f9();}get[_0x168cec(0x1a7)](){const _0x6d7b4=_0x168cec;return this[_0x6d7b4(0x19d)][_0x6d7b4(0x1a7)];}[_0x168cec(0x185)](_0x4010cf){const _0x4524a5=_0x168cec,_0x52b33c=this[_0x4524a5(0x19b)],_0x411a1b=this[_0x4524a5(0x19d)],_0x2ae0fa=_0x52b33c[_0x4524a5(0x183)][_0x4524a5(0x19d)],_0x42d02d=_0x411a1b[_0x4524a5(0x192)],_0xa090d2=_0x2ae0fa[_0x4524a5(0x184)][_0x4524a5(0x18e)]();_0x42d02d[_0x4524a5(0x1a0)]=_0xa090d2[_0x4524a5(0x1aa)],_0x411a1b[_0x4524a5(0x18c)]();const _0x7d386c=_0x42d02d[_0x4524a5(0x1a7)];this[_0x4524a5(0x191)](_0x42d02d[_0x4524a5(0x1a0)],_0x7d386c),_0x411a1b[_0x4524a5(0x192)][_0x4524a5(0x189)](_0x4524a5(0x193))['to'](this[_0x4524a5(0x1a4)]),_0x2ae0fa[_0x4524a5(0x1a1)](_0x7d386c),this[_0x4524a5(0x19c)][_0x4524a5(0x18a)](_0x4010cf,this[_0x4524a5(0x1a7)]),this[_0x4524a5(0x190)](),this[_0x4524a5(0x1ac)](_0x4524a5(0x194));}[_0x168cec(0x1a3)](){const _0x35ff8b=_0x168cec;super[_0x35ff8b(0x1a3)]();const _0x1b062b=this[_0x35ff8b(0x19d)],_0x1d2da4=this[_0x35ff8b(0x19b)][_0x35ff8b(0x183)][_0x35ff8b(0x19d)];this[_0x35ff8b(0x19c)][_0x35ff8b(0x1a2)](),_0x1d2da4[_0x35ff8b(0x188)](_0x1b062b[_0x35ff8b(0x192)][_0x35ff8b(0x1a0)]),_0x1b062b[_0x35ff8b(0x1a3)]();}[_0x168cec(0x190)](){const _0x2cdc8f=_0x168cec,_0x1f0211=this[_0x2cdc8f(0x19d)];_0x1f0211[_0x2cdc8f(0x199)][_0x2cdc8f(0x189)](_0x2cdc8f(0x19e))['to'](this[_0x2cdc8f(0x1a4)],_0x2cdc8f(0x193)),_0x1f0211[_0x2cdc8f(0x199)][_0x2cdc8f(0x1ab)]=_0x1f0211[_0x2cdc8f(0x1a7)],_0x1f0211[_0x2cdc8f(0x199)][_0x2cdc8f(0x189)](_0x2cdc8f(0x195))['to'](this,_0x2cdc8f(0x18b),({top:_0x317671})=>_0x317671),_0x1f0211[_0x2cdc8f(0x1ae)][_0x2cdc8f(0x1ad)](this[_0x2cdc8f(0x19f)],this[_0x2cdc8f(0x1af)]),this[_0x2cdc8f(0x1a5)](_0x1f0211[_0x2cdc8f(0x1ae)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x4354(_0x55aee7,_0x39a548){var _0x2c4941=_0x2c49();return _0x4354=function(_0x4354a3,_0x560e43){_0x4354a3=_0x4354a3-0x66;var _0x594bf1=_0x2c4941[_0x4354a3];return _0x594bf1;},_0x4354(_0x55aee7,_0x39a548);}var _0xcd06e0=_0x4354;(function(_0x343265,_0x4a84f7){var _0x5278bf=_0x4354,_0xe75696=_0x343265();while(!![]){try{var _0x3b6cb9=parseInt(_0x5278bf(0x72))/0x1+parseInt(_0x5278bf(0x6f))/0x2+parseInt(_0x5278bf(0x75))/0x3*(-parseInt(_0x5278bf(0x6d))/0x4)+-parseInt(_0x5278bf(0x70))/0x5+parseInt(_0x5278bf(0x67))/0x6*(-parseInt(_0x5278bf(0x6e))/0x7)+parseInt(_0x5278bf(0x6a))/0x8+-parseInt(_0x5278bf(0x78))/0x9;if(_0x3b6cb9===_0x4a84f7)break;else _0xe75696['push'](_0xe75696['shift']());}catch(_0x1b0c74){_0xe75696['push'](_0xe75696['shift']());}}}(_0x2c49,0x604a3));import{BoxedEditorUIView as _0xde7062,InlineEditableUIView as _0x1ec768,StickyPanelView as _0x4beb4d,ToolbarView as _0x2816a6}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';function _0x2c49(){var _0x529da0=['639907cpgGvE','shouldToolbarGroupWhenFull','content','6GZaMuJ','main','_editable','5230377uQCBZy','editable','6GKTtVe','toolbar','add','5256088SdsUWR','top','stickyPanel','33484UHWKRj','1062103IaLHpr','1093846lXKbdm','3499070UbAmOU','render'];_0x2c49=function(){return _0x529da0;};return _0x2c49();}export class RevisionViewerEditorUIView extends _0xde7062{[_0xcd06e0(0x77)];[_0xcd06e0(0x6c)];[_0xcd06e0(0x68)];get[_0xcd06e0(0x66)](){var _0x342ae6=_0xcd06e0;return this[_0x342ae6(0x77)];}constructor(_0xd0c362,_0x4cd120,_0x203ca7={}){var _0x376556=_0xcd06e0;super(_0xd0c362),this[_0x376556(0x6c)]=new _0x4beb4d(_0xd0c362),this[_0x376556(0x68)]=new _0x2816a6(_0xd0c362,{'shouldGroupWhenFull':_0x203ca7[_0x376556(0x73)]}),this[_0x376556(0x77)]=new _0x1ec768(_0xd0c362,_0x4cd120);}[_0xcd06e0(0x71)](){var _0x52ba93=_0xcd06e0;super[_0x52ba93(0x71)](),this[_0x52ba93(0x6c)][_0x52ba93(0x74)][_0x52ba93(0x69)](this[_0x52ba93(0x68)]),this[_0x52ba93(0x6b)][_0x52ba93(0x69)](this[_0x52ba93(0x6c)]),this[_0x52ba93(0x76)][_0x52ba93(0x69)](this[_0x52ba93(0x66)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3585e1,_0x27188e){var _0x265419=_0x55e3,_0x39da4a=_0x3585e1();while(!![]){try{var _0xa5e77b=parseInt(_0x265419(0xa1))/0x1+-parseInt(_0x265419(0xa5))/0x2+parseInt(_0x265419(0xa3))/0x3+-parseInt(_0x265419(0xa8))/0x4*(-parseInt(_0x265419(0xa6))/0x5)+parseInt(_0x265419(0xa4))/0x6*(-parseInt(_0x265419(0x9f))/0x7)+-parseInt(_0x265419(0xa0))/0x8+-parseInt(_0x265419(0xa2))/0x9*(-parseInt(_0x265419(0xa7))/0xa);if(_0xa5e77b===_0x27188e)break;else _0x39da4a['push'](_0x39da4a['shift']());}catch(_0x5deade){_0x39da4a['push'](_0x39da4a['shift']());}}}(_0x5c8c,0xcffd6));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';function _0x5c8c(){var _0x3d1f50=['12954912wITova','1273503drULZj','1593vroHNv','748890Ivxsmj','6pDLHpL','3170842fGoHJE','25cDRclQ','172580OXHUHe','886684RJPuzc','11406101yItnjs'];_0x5c8c=function(){return _0x3d1f50;};return _0x5c8c();}function _0x55e3(_0x26f24f,_0x2f0638){var _0x5c8cc2=_0x5c8c();return _0x55e3=function(_0x55e3b4,_0xc361b8){_0x55e3b4=_0x55e3b4-0x9f;var _0x1b7f98=_0x5c8cc2[_0x55e3b4];return _0x1b7f98;},_0x55e3(_0x26f24f,_0x2f0638);}export{RevisionTracker}from'./revisiontracker.js';export{RevisionViewer,RestoreRevisionCommand,ShowChangeCommand}from'./revisionviewer.js';export{RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';export{RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';export{RevisionViewerEditor}from'./editor/revisionviewereditor.js';import'./augmentation.js';
|
package/src/revision.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x502c63=_0xdedd;(function(_0x577005,_0x17906a){const _0x4f3673=_0xdedd,_0x307eec=_0x577005();while(!![]){try{const _0x159d38=parseInt(_0x4f3673(0x119))/0x1*(parseInt(_0x4f3673(0x113))/0x2)+parseInt(_0x4f3673(0x11b))/0x3*(parseInt(_0x4f3673(0x120))/0x4)+-parseInt(_0x4f3673(0x129))/0x5+-parseInt(_0x4f3673(0x11a))/0x6+-parseInt(_0x4f3673(0x123))/0x7+-parseInt(_0x4f3673(0x124))/0x8+parseInt(_0x4f3673(0x11c))/0x9;if(_0x159d38===_0x17906a)break;else _0x307eec['push'](_0x307eec['shift']());}catch(_0x4eaffb){_0x307eec['push'](_0x307eec['shift']());}}}(_0x4100,0x335eb));import{ObservableMixin as _0x148053,uid as _0x2911a7}from'ckeditor5/src/utils.js';function _0xdedd(_0x2b888e,_0x2c6068){const _0x4100d7=_0x4100();return _0xdedd=function(_0xdedd0f,_0x2884a7){_0xdedd0f=_0xdedd0f-0x113;let _0x5d8c7c=_0x4100d7[_0xdedd0f];return _0x5d8c7c;},_0xdedd(_0x2b888e,_0x2c6068);}function _0x4100(){const _0x1c71a3=['creator','340SOWmxQ','authorsIds','fire','1121505CGkEgz','509312pBzeGi','creatorId','_update','model','setName','1247500OXRJAF','name','createdAt','map','toVersion','set','5654WmqylY','attributes','diffData','removeAttribute','toJSON','authors','79dWgGNr','2327178pOrVXo','4797ozhgHq','6411645EuBQzl','fromVersion','setAttribute'];_0x4100=function(){return _0x1c71a3;};return _0x4100();}import{cloneDeep as _0x51b6dd,set as _0x4955e1,unset as _0xcceb36}from'es-toolkit/compat';export class Revision extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x148053(){['id'];[_0x502c63(0x11f)];[_0x502c63(0x118)];[_0x502c63(0x115)];[_0x502c63(0x12d)];[_0x502c63(0x11d)];[_0x502c63(0x127)];constructor(_0x5ab65a){const _0x18b723=_0x502c63;super(),this['id']=_0x5ab65a['id']||_0x2911a7(),this[_0x18b723(0x11f)]=_0x5ab65a[_0x18b723(0x11f)]||null,this[_0x18b723(0x118)]=_0x5ab65a[_0x18b723(0x118)]||[],this[_0x18b723(0x115)]=_0x5ab65a[_0x18b723(0x115)]||null,this[_0x18b723(0x12d)]=_0x5ab65a[_0x18b723(0x12d)]||0x0,this[_0x18b723(0x11d)]=_0x5ab65a[_0x18b723(0x11d)]||0x0,this[_0x18b723(0x12e)](_0x18b723(0x12a),_0x5ab65a[_0x18b723(0x12a)]||''),this[_0x18b723(0x12e)](_0x18b723(0x12b),_0x5ab65a[_0x18b723(0x12b)]||new Date()),this[_0x18b723(0x12e)](_0x18b723(0x114),_0x5ab65a[_0x18b723(0x114)]||{});}[_0x502c63(0x128)](_0x55f050){const _0x1544bc=_0x502c63;this[_0x1544bc(0x126)]({'name':_0x55f050});}[_0x502c63(0x11e)](_0x44d9c7,_0x594f02){const _0x485661=_0x502c63,_0x5bf7b7=_0x51b6dd(this[_0x485661(0x114)]);_0x4955e1(_0x5bf7b7,_0x44d9c7,_0x594f02),this[_0x485661(0x126)]({'attributes':_0x5bf7b7});}[_0x502c63(0x116)](_0x148c31){const _0x3c0d20=_0x502c63,_0x50ea15=_0x51b6dd(this[_0x3c0d20(0x114)]);_0xcceb36(_0x50ea15,_0x148c31),this[_0x3c0d20(0x126)]({'attributes':_0x50ea15});}[_0x502c63(0x126)](_0x4942bc,_0x5297db=!0x1){const _0x44c42b=_0x502c63;let _0x34645d=!0x1;const _0x4c81c6={'id':this['id']},_0x139957=[_0x44c42b(0x12a),_0x44c42b(0x12b),_0x44c42b(0x115),_0x44c42b(0x118),_0x44c42b(0x114),_0x44c42b(0x12d),_0x44c42b(0x11d),_0x44c42b(0x125)];for(const _0x1fb645 of _0x139957){const _0x388214=_0x4942bc[_0x1fb645];void 0x0!==_0x388214&&_0x388214!==this[_0x1fb645]&&(this[_0x1fb645]=_0x388214,_0x4c81c6[_0x1fb645]=_0x388214,_0x34645d=!0x0);}_0x34645d&&(_0x4c81c6[_0x44c42b(0x118)]&&(_0x4c81c6[_0x44c42b(0x121)]=_0x4c81c6[_0x44c42b(0x118)][_0x44c42b(0x12c)](_0x93293d=>_0x93293d['id']),delete _0x4c81c6[_0x44c42b(0x118)]),this[_0x44c42b(0x122)](_0x44c42b(0x126),_0x4c81c6,_0x5297db));}[_0x502c63(0x117)](){const _0x26e457=_0x502c63;return{'id':this['id'],'name':this[_0x26e457(0x12a)],'creatorId':this[_0x26e457(0x11f)]?this[_0x26e457(0x11f)]['id']:null,'authorsIds':this[_0x26e457(0x118)][_0x26e457(0x12c)](_0x4f1f3a=>_0x4f1f3a['id']),'diffData':this[_0x26e457(0x115)],'createdAt':this[_0x26e457(0x12b)],'attributes':this[_0x26e457(0x114)],'fromVersion':this[_0x26e457(0x11d)],'toVersion':this[_0x26e457(0x12d)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3d3d(_0x2468de,_0x1670f3){const _0x398c47=_0x398c();return _0x3d3d=function(_0x3d3dd5,_0x2769c8){_0x3d3dd5=_0x3d3dd5-0x11a;let _0x4a9154=_0x398c47[_0x3d3dd5];return _0x4a9154;},_0x3d3d(_0x2468de,_0x1670f3);}const _0x256fd7=_0x3d3d;(function(_0x461f24,_0x17b6d0){const _0x316a70=_0x3d3d,_0x520570=_0x461f24();while(!![]){try{const _0x56ac67=parseInt(_0x316a70(0x127))/0x1*(-parseInt(_0x316a70(0x124))/0x2)+parseInt(_0x316a70(0x123))/0x3*(parseInt(_0x316a70(0x121))/0x4)+parseInt(_0x316a70(0x120))/0x5*(parseInt(_0x316a70(0x11e))/0x6)+parseInt(_0x316a70(0x122))/0x7+-parseInt(_0x316a70(0x11b))/0x8+parseInt(_0x316a70(0x11a))/0x9+parseInt(_0x316a70(0x128))/0xa;if(_0x56ac67===_0x17b6d0)break;else _0x520570['push'](_0x520570['shift']());}catch(_0x5cd589){_0x520570['push'](_0x520570['shift']());}}}(_0x398c,0xb2486));import{Collection as _0x3de370}from'ckeditor5/src/utils.js';function _0x398c(){const _0x244e47=['178UUUaWf','3393200oRbluq','2477754bGxTjZ','10119416YnZuau','_setChanges','add','18aNROJA','changes','1002515dSwGFG','30276eREiYt','4421137sffTvx','381tUJmGs','9144XAutOx','newRevisionId','oldRevisionId'];_0x398c=function(){return _0x244e47;};return _0x398c();}export class RevisionDiff{[_0x256fd7(0x125)];[_0x256fd7(0x126)];[_0x256fd7(0x11f)];constructor(_0x2dc870,_0xe749ba){const _0x6091dc=_0x256fd7;this[_0x6091dc(0x125)]=_0x2dc870,this[_0x6091dc(0x126)]=_0xe749ba,this[_0x6091dc(0x11f)]=new _0x3de370();}[_0x256fd7(0x11c)](_0x56e72d){const _0x25936c=_0x256fd7;for(const _0x125897 of _0x56e72d)this[_0x25936c(0x11f)][_0x25936c(0x11d)](_0x125897);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x414987=_0x3290;(function(_0x32050a,_0xb709ca){const _0x4cfa65=_0x3290,_0x46cb35=_0x32050a();while(!![]){try{const _0x5dae33=-parseInt(_0x4cfa65(0x254))/0x1+-parseInt(_0x4cfa65(0x206))/0x2+-parseInt(_0x4cfa65(0x268))/0x3+parseInt(_0x4cfa65(0x1f8))/0x4+-parseInt(_0x4cfa65(0x1fa))/0x5*(-parseInt(_0x4cfa65(0x23f))/0x6)+parseInt(_0x4cfa65(0x216))/0x7+parseInt(_0x4cfa65(0x1e6))/0x8;if(_0x5dae33===_0xb709ca)break;else _0x46cb35['push'](_0x46cb35['shift']());}catch(_0x4c635c){_0x46cb35['push'](_0x46cb35['shift']());}}}(_0x31f9,0x36286));import{Plugin as _0x1685e9}from'ckeditor5/src/core.js';import{CKEditorError as _0x44ba75,uid as _0x17f321}from'ckeditor5/src/utils.js';function _0x31f9(){const _0x5c6915=['block','restoreRevision','revisionHistory.showRevisionViewerCallback','removeSelectionAttribute','name','display','style','set','creator','toLocaleTimeString','RestrictedEditingMode','model','_getRevisionViewerEditorConfig','_recalculatePageBreaks','createRangeIn','translations','isReady','setAttribute','selection','166225ZTyDpi','isPremiumPlugin','addUser','_viewerEditor','getAttributeKeys','loadRevisionData','createdAt','change','toJSON','revision-history-missing-configuration','has','RevisionViewer','isEnabled','numeric','error','catch','remove','save','isRevisionViewerOpen','PaginationLookup','347037qKsefP','DocumentOutlineUI','pluginName','getRevisionDocumentData','detachRoot','users','join','Dialog','fromVersion','Autosave','RevisionHistoryUI','restrictedEditingException','getRevisions','config','document','rootName','exitToEditing','revisionHistory.restoreRevisionCallback','editor','RevisionHistory','3547304dmZPjQ','setSelection','DocumentOutline','indexOf','_enhanceShowRevisionViewerCallback','$graveyard','RevisionTracker','changesNavigation','parse','from','isOfficialPlugin','isReadOnly','addRevisionData','hide','lazyRoots','isAnonymous','revisionHistory.viewerContainer','roots','293540iQKWWW','_cleanUp','1288535jSfdUQ','requires','enqueueChange','init','element','create','addRoot','toLocaleDateString','uiLanguage','fromCharCode','_restoreRevision','destroy','629758iLCCRd','saveRevision','closeRevisionViewerCallback','revisionHistory.editorContainer','commands','map','_closeRevisionViewer','get','Users','isOpen','removeMarker','removeAttribute','refreshVisibility','showRevisionViewerCallback','define','revision-history-viewer-opened','308756SHVqyL','getMarkersGroup','getRevisionRootsAttributes','getUser','markers','update','RevisionsRepository','revisionHistory.closeRevisionViewerCallback','result','then','revisionHistory.requireRevisionName','isAttached','adapter','enableReadOnlyMode','long','insert','repository','toVersion','disableReadOnlyMode','revisionHistory','plugins','none','_showRevisionViewer','RevisionHistoryUtils','bind','view','end','revisionHistory.viewerEditorElement','refreshPositioning','Annotations','_update','Restored','toolbar','keys','locale','RevisionViewerIntegration','_enhanceCloseRevisionViewerCallback','push','getRevision','data','getRoot','6kghhlg','includes'];_0x31f9=function(){return _0x5c6915;};return _0x31f9();}import{RevisionTracker as _0x4af006}from'./revisiontracker.js';import{RevisionHistoryUI as _0x595ba5}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0xdf2328}from'./revisionviewer.js';import{RevisionViewerUI as _0x287da4}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x44fac2}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x2d8dbb}from'./editor/revisionviewereditor.js';import{getTranslation as _0x5034ea}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0xcc2f9a}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x414987(0x272),_0x414987(0x24b)];export class RevisionViewerIntegration extends _0x1685e9{[_0x414987(0x21e)];static get[_0x414987(0x26a)](){const _0x2c67d8=_0x414987;return _0x2c67d8(0x239);}static get[_0x414987(0x1f0)](){return!0x0;}static get[_0x414987(0x255)](){return!0x0;}constructor(_0x50e9ff){const _0x51f564=_0x414987;function _0x572f37(_0x2538e9){const _0x3a3125=_0x3290;return _0x2538e9[_0x3a3125(0x20b)](_0x388ea1=>String[_0x3a3125(0x203)](_0x388ea1))[_0x3a3125(0x26e)]('');}super(_0x50e9ff),this[_0x51f564(0x21e)]=_0x51f564(0x230),_0x50e9ff[_0x572f37([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x572f37([0x76,0x69,0x65,0x77])][_0x572f37([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x572f37([0x61,0x75,0x74,0x6f]),_0x50e9ff[_0x572f37([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x572f37([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x572f37([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x572f37([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x572f37([0x6f,0x6b])});}}function _0x3290(_0x5480a0,_0x5e02d1){const _0x31f9ec=_0x31f9();return _0x3290=function(_0x329057,_0x300506){_0x329057=_0x329057-0x1e5;let _0x18b513=_0x31f9ec[_0x329057];return _0x18b513;},_0x3290(_0x5480a0,_0x5e02d1);}export class RevisionHistory extends _0x1685e9{[_0x414987(0x257)];static get[_0x414987(0x26a)](){const _0x1c5aa3=_0x414987;return _0x1c5aa3(0x1e5);}static get[_0x414987(0x1f0)](){return!0x0;}static get[_0x414987(0x255)](){return!0x0;}static get[_0x414987(0x1fb)](){return[_0x4af006,_0x595ba5];}constructor(_0x3027ed){const _0x1a1d75=_0x414987;if(super(_0x3027ed),!this[_0x1a1d75(0x27a)][_0x1a1d75(0x275)][_0x1a1d75(0x20d)](_0x1a1d75(0x229)))throw new _0x44ba75(_0x1a1d75(0x25d),this);this[_0x1a1d75(0x257)]=null,this[_0x1a1d75(0x248)](_0x1a1d75(0x266),!0x1),this[_0x1a1d75(0x27a)][_0x1a1d75(0x275)][_0x1a1d75(0x214)](_0x1a1d75(0x243),_0x480adf=>this[_0x1a1d75(0x22c)]({..._0x480adf,'translations':this[_0x1a1d75(0x27a)][_0x1a1d75(0x238)][_0x1a1d75(0x250)]})),this[_0x1a1d75(0x27a)][_0x1a1d75(0x275)][_0x1a1d75(0x214)](_0x1a1d75(0x21d),_0x371b97=>this[_0x1a1d75(0x20c)](_0x371b97)),this[_0x1a1d75(0x27a)][_0x1a1d75(0x275)][_0x1a1d75(0x214)](_0x1a1d75(0x279),_0x1ab623=>this[_0x1a1d75(0x204)](_0x1ab623)),this[_0x1a1d75(0x27a)][_0x1a1d75(0x275)][_0x1a1d75(0x214)](_0x1a1d75(0x220),!0x1),this[_0x1a1d75(0x1ea)](),this[_0x1a1d75(0x23a)]();}set[_0x414987(0x222)](_0x2168b6){const _0x406a9f=_0x414987;this[_0x406a9f(0x27a)][_0x406a9f(0x22a)][_0x406a9f(0x20d)](_0x406a9f(0x1ec))[_0x406a9f(0x222)]=_0x2168b6;}get[_0x414987(0x222)](){const _0x297b7b=_0x414987;return this[_0x297b7b(0x27a)][_0x297b7b(0x22a)][_0x297b7b(0x20d)](_0x297b7b(0x1ec))[_0x297b7b(0x222)];}[_0x414987(0x1f2)](_0x13d7f8){const _0x554629=_0x414987;return this[_0x554629(0x27a)][_0x554629(0x22a)][_0x554629(0x20d)](_0x554629(0x1ec))[_0x554629(0x1f2)](_0x13d7f8);}[_0x414987(0x23c)](_0x52baff){const _0xb627b0=_0x414987;return this[_0xb627b0(0x27a)][_0xb627b0(0x22a)][_0xb627b0(0x20d)](_0xb627b0(0x21c))[_0xb627b0(0x23c)](_0x52baff);}[_0x414987(0x274)](_0x49ebb0){const _0x465526=_0x414987;return this[_0x465526(0x27a)][_0x465526(0x22a)][_0x465526(0x20d)](_0x465526(0x21c))[_0x465526(0x274)](_0x49ebb0||{'toJSON':!0x1});}[_0x414987(0x24d)](){const _0x2c79f7=_0x414987,_0x1b193c=this[_0x2c79f7(0x27a)],_0x3a1666=_0xcc2f9a(_0x1b193c,d),_0x14c973=_0x1b193c[_0x2c79f7(0x22a)][_0x2c79f7(0x20d)](_0x2c79f7(0x1ec)),_0x5e8391=_0x1b193c[_0x2c79f7(0x22a)][_0x2c79f7(0x20d)](_0x2c79f7(0x20e))[_0x2c79f7(0x26d)];return _0x3a1666[_0x2c79f7(0x236)]=[_0x2c79f7(0x278),_0x2c79f7(0x242),_0x2c79f7(0x1ed)],delete _0x3a1666[_0x2c79f7(0x1f4)],(_0x3a1666[_0x2c79f7(0x22a)][_0x2c79f7(0x23b)](RevisionViewerIntegration,_0xdf2328,_0x287da4,class extends _0x1685e9{static get[_0x2c79f7(0x1fb)](){const _0x29d03a=_0x2c79f7;return[_0xdf2328,_0x29d03a(0x20e)];}[_0x2c79f7(0x1fd)](){const _0x2710fe=_0x2c79f7,_0x5c92f8=this[_0x2710fe(0x27a)][_0x2710fe(0x22a)][_0x2710fe(0x20d)](_0x2710fe(0x20e));for(const _0xf25380 of _0x5e8391)_0xf25380[_0x2710fe(0x1f5)]||_0x5c92f8[_0x2710fe(0x219)](_0xf25380['id'])||_0x5c92f8[_0x2710fe(0x256)](_0xf25380);const _0x15e771=_0x14c973[_0x2710fe(0x226)][_0x2710fe(0x274)]();let _0x820076=null;const _0x52e38d=this[_0x2710fe(0x27a)][_0x2710fe(0x22a)][_0x2710fe(0x20d)](_0x2710fe(0x25f));_0x52e38d[_0x2710fe(0x222)]=_0x14c973[_0x2710fe(0x222)],_0x52e38d[_0x2710fe(0x22e)](_0x2710fe(0x260))['to'](_0x14c973),this[_0x2710fe(0x27a)][_0x2710fe(0x20a)][_0x2710fe(0x20d)](_0x2710fe(0x242))[_0x2710fe(0x22e)](_0x2710fe(0x260))['to'](_0x1b193c,_0x2710fe(0x1f1),_0x3c12c7=>!_0x3c12c7);for(const _0x5e0a3d of _0x15e771){const _0x35edb3=null===_0x5e0a3d[_0x2710fe(0x249)];if(_0x35edb3&&_0x5e0a3d[_0x2710fe(0x227)]===_0x5e0a3d[_0x2710fe(0x270)])continue;const _0x39aa86=_0x5e0a3d[_0x2710fe(0x25c)]();_0x52e38d[_0x2710fe(0x1f2)](_0x39aa86,(_0x279caa,_0xc0f9c,_0x2bf5c2)=>{const _0x4a4173=_0x2710fe;if(_0x35edb3){if(_0x820076)_0x820076[_0x4a4173(0x234)](_0x279caa,_0xc0f9c);else{if(!_0xc0f9c){const _0x246c9d=_0x2bf5c2[_0x4a4173(0x25c)]();_0x246c9d['id']=_0x17f321(),_0x14c973[_0x4a4173(0x207)](_0x246c9d,_0x2bf5c2[_0x4a4173(0x227)])[_0x4a4173(0x21f)](_0x4d61c9=>{_0x820076=_0x4d61c9;});}}}else _0x5e0a3d[_0x4a4173(0x234)](_0x279caa,_0xc0f9c);});}}},_0x44fac2),_0x3a1666);}[_0x414987(0x1ea)](){const _0x248ede=_0x414987,_0x324cdf=this[_0x248ede(0x27a)][_0x248ede(0x275)][_0x248ede(0x20d)](_0x248ede(0x229))[_0x248ede(0x213)];this[_0x248ede(0x27a)][_0x248ede(0x275)][_0x248ede(0x248)](_0x248ede(0x243),async()=>{const _0xfafa0b=_0x248ede;this[_0xfafa0b(0x27a)][_0xfafa0b(0x223)](_0xfafa0b(0x215));const _0x45ecf0=this[_0xfafa0b(0x27a)][_0xfafa0b(0x22a)][_0xfafa0b(0x20d)](_0xfafa0b(0x1ec));if(this[_0xfafa0b(0x27a)][_0xfafa0b(0x22a)][_0xfafa0b(0x25e)](_0xfafa0b(0x271))){const _0x16c9b6=this[_0xfafa0b(0x27a)][_0xfafa0b(0x22a)][_0xfafa0b(0x20d)](_0xfafa0b(0x271));await _0x16c9b6[_0xfafa0b(0x265)]();}else await _0x45ecf0[_0xfafa0b(0x21b)]();if(this[_0xfafa0b(0x27a)][_0xfafa0b(0x22a)][_0xfafa0b(0x25e)](_0xfafa0b(0x267))&&this[_0xfafa0b(0x27a)][_0xfafa0b(0x22a)][_0xfafa0b(0x20d)](_0xfafa0b(0x267))[_0xfafa0b(0x24e)](),this[_0xfafa0b(0x27a)][_0xfafa0b(0x22a)][_0xfafa0b(0x25e)](_0xfafa0b(0x26f))){const _0x12eaf5=this[_0xfafa0b(0x27a)][_0xfafa0b(0x22a)][_0xfafa0b(0x20d)](_0xfafa0b(0x26f));_0x12eaf5[_0xfafa0b(0x20f)]&&_0x12eaf5[_0xfafa0b(0x1f3)]();}const _0x4cdb2c=this[_0xfafa0b(0x24d)]();return _0x324cdf(_0x4cdb2c)[_0xfafa0b(0x21f)](_0x11989a=>{const _0x4e864e=_0xfafa0b;return(this[_0x4e864e(0x257)]=_0x11989a,this[_0x4e864e(0x27a)][_0x4e864e(0x22a)][_0x4e864e(0x25e)](_0x4e864e(0x233)))&&this[_0x4e864e(0x27a)][_0x4e864e(0x22a)][_0x4e864e(0x20d)](_0x4e864e(0x233))[_0x4e864e(0x212)](),(this[_0x4e864e(0x27a)][_0x4e864e(0x22a)][_0x4e864e(0x25e)](_0x4e864e(0x1e8))&&(this[_0x4e864e(0x27a)][_0x4e864e(0x22a)][_0x4e864e(0x20d)](_0x4e864e(0x269))[_0x4e864e(0x22f)][_0x4e864e(0x1fe)][_0x4e864e(0x247)][_0x4e864e(0x246)]=_0x4e864e(0x22b)),_0x11989a);})[_0xfafa0b(0x263)](_0x7d3c35=>(console[_0xfafa0b(0x262)](_0x7d3c35),this[_0xfafa0b(0x27a)][_0xfafa0b(0x228)](_0xfafa0b(0x215)),null));});}[_0x414987(0x23a)](){const _0x464c79=_0x414987,_0x4277d8=this[_0x464c79(0x27a)][_0x464c79(0x275)][_0x464c79(0x20d)](_0x464c79(0x229))[_0x464c79(0x208)];this[_0x464c79(0x27a)][_0x464c79(0x275)][_0x464c79(0x248)](_0x464c79(0x21d),()=>(this[_0x464c79(0x27a)][_0x464c79(0x22a)][_0x464c79(0x25e)](_0x464c79(0x267))&&this[_0x464c79(0x27a)][_0x464c79(0x22a)][_0x464c79(0x20d)](_0x464c79(0x267))[_0x464c79(0x24e)](),this[_0x464c79(0x27a)][_0x464c79(0x22a)][_0x464c79(0x25e)](_0x464c79(0x1e8))&&(this[_0x464c79(0x27a)][_0x464c79(0x22a)][_0x464c79(0x20d)](_0x464c79(0x269))[_0x464c79(0x22f)][_0x464c79(0x1fe)][_0x464c79(0x247)][_0x464c79(0x246)]=''),this[_0x464c79(0x257)][_0x464c79(0x22a)][_0x464c79(0x20d)](_0x464c79(0x25f))[_0x464c79(0x1f9)](),_0x4277d8(this[_0x464c79(0x257)])[_0x464c79(0x21f)](()=>{const _0x439036=_0x464c79;if(this[_0x439036(0x27a)][_0x439036(0x228)](_0x439036(0x215)),this[_0x439036(0x257)]=null,this[_0x439036(0x27a)][_0x439036(0x22a)][_0x439036(0x25e)](_0x439036(0x233))){const _0x216645=this[_0x439036(0x27a)][_0x439036(0x22a)][_0x439036(0x20d)](_0x439036(0x233));_0x216645[_0x439036(0x212)](),_0x216645[_0x439036(0x232)]();}})));}[_0x414987(0x22c)](_0x260252){const _0x16944d=_0x414987,_0xf1ba02=this[_0x16944d(0x27a)][_0x16944d(0x275)][_0x16944d(0x20d)](_0x16944d(0x209)),_0x20527c=this[_0x16944d(0x27a)][_0x16944d(0x275)][_0x16944d(0x20d)](_0x16944d(0x1f6)),_0x5687ea=this[_0x16944d(0x27a)][_0x16944d(0x275)][_0x16944d(0x20d)](_0x16944d(0x231));return _0x2d8dbb[_0x16944d(0x1ff)](_0x5687ea,_0x260252)[_0x16944d(0x21f)](_0x233ebc=>(_0x20527c[_0x16944d(0x247)][_0x16944d(0x246)]=_0x16944d(0x241),_0xf1ba02[_0x16944d(0x247)][_0x16944d(0x246)]=_0x16944d(0x22b),this[_0x16944d(0x266)]=!0x0,_0x233ebc));}[_0x414987(0x20c)](_0x1510e7){const _0x1095fc=_0x414987,_0x1fabad=this[_0x1095fc(0x27a)][_0x1095fc(0x275)][_0x1095fc(0x20d)](_0x1095fc(0x209));return this[_0x1095fc(0x27a)][_0x1095fc(0x275)][_0x1095fc(0x20d)](_0x1095fc(0x1f6))[_0x1095fc(0x247)][_0x1095fc(0x246)]=_0x1095fc(0x22b),_0x1fabad[_0x1095fc(0x247)][_0x1095fc(0x246)]='',this[_0x1095fc(0x266)]=!0x1,_0x1510e7[_0x1095fc(0x205)]();}async[_0x414987(0x204)](_0x2dc2a0){const _0x37dda3=_0x414987,_0x5b01cc=this[_0x37dda3(0x27a)],_0x22c55b=this[_0x37dda3(0x257)][_0x37dda3(0x22a)][_0x37dda3(0x20d)](_0x37dda3(0x25f)),_0x3f8f14=_0x5b01cc[_0x37dda3(0x22a)][_0x37dda3(0x20d)](_0x37dda3(0x1ec)),_0x1541ed=_0x5b01cc[_0x37dda3(0x22a)][_0x37dda3(0x20d)](_0x37dda3(0x22d)),_0x514d82=_0x22c55b[_0x37dda3(0x226)][_0x37dda3(0x23c)](_0x2dc2a0);let _0x1c02c5,_0xca7808,_0x310e63;try{await _0x1541ed[_0x37dda3(0x259)](_0x514d82,this[_0x37dda3(0x222)]),_0x1c02c5=_0x1541ed[_0x37dda3(0x26b)](_0x514d82),_0xca7808=_0x1541ed[_0x37dda3(0x218)](_0x514d82);}catch(_0xc70b5b){return void console[_0x37dda3(0x262)](_0xc70b5b);}_0x5b01cc[_0x37dda3(0x24c)][_0x37dda3(0x25b)](_0x4bb961=>{const _0x3921ff=_0x37dda3;for(const _0x1c6eea of Array[_0x3921ff(0x1ef)](_0x5b01cc[_0x3921ff(0x24c)][_0x3921ff(0x21a)][_0x3921ff(0x217)](_0x3921ff(0x273))))_0x4bb961[_0x3921ff(0x210)](_0x1c6eea);}),_0x22c55b[_0x37dda3(0x251)]=!0x1,_0x5b01cc[_0x37dda3(0x24c)][_0x37dda3(0x1fc)](_0x59b6b6=>{const _0x5f7701=_0x37dda3;_0x59b6b6[_0x5f7701(0x1e7)](null),_0x59b6b6[_0x5f7701(0x244)](_0x5b01cc[_0x5f7701(0x24c)][_0x5f7701(0x276)][_0x5f7701(0x253)][_0x5f7701(0x258)]());const _0x6fdae9=Object[_0x5f7701(0x237)](_0x1c02c5);for(const _0xa3b8a3 of _0x5b01cc[_0x5f7701(0x24c)][_0x5f7701(0x276)][_0x5f7701(0x1f7)])_0x5f7701(0x1eb)!=_0xa3b8a3[_0x5f7701(0x277)]&&_0xa3b8a3[_0x5f7701(0x221)]()&&!_0x6fdae9[_0x5f7701(0x240)](_0xa3b8a3[_0x5f7701(0x277)])&&_0x59b6b6[_0x5f7701(0x26c)](_0xa3b8a3);for(const _0x5e0a76 of _0x6fdae9){let _0x4ff721=_0x5b01cc[_0x5f7701(0x24c)][_0x5f7701(0x276)][_0x5f7701(0x23e)](_0x5e0a76);_0x4ff721&&_0x4ff721[_0x5f7701(0x221)]()||(_0x4ff721=_0x59b6b6[_0x5f7701(0x200)](_0x5e0a76));const _0x1ed9cc=_0xca7808[_0x5e0a76],_0x4be079=Object[_0x5f7701(0x237)](_0x1ed9cc),_0x553bde=_0x1c02c5[_0x5e0a76];for(const _0x4c9f9a of _0x4ff721[_0x5f7701(0x258)]())_0x4be079[_0x5f7701(0x240)](_0x4c9f9a)||_0x59b6b6[_0x5f7701(0x211)](_0x4c9f9a,_0x4ff721);for(const _0x5795cc of _0x4be079)_0x59b6b6[_0x5f7701(0x252)](_0x5795cc,_0xca7808[_0x5e0a76][_0x5795cc],_0x4ff721);_0x59b6b6[_0x5f7701(0x264)](_0x59b6b6[_0x5f7701(0x24f)](_0x4ff721)),_0x59b6b6[_0x5f7701(0x225)](_0x5b01cc[_0x5f7701(0x23d)][_0x5f7701(0x1ee)](_0x553bde,_0x4ff721),_0x4ff721,0x0);}});const _0x42e991=_0x5034ea(_0x5b01cc[_0x37dda3(0x238)],_0x37dda3(0x235));if(_0x514d82[_0x37dda3(0x245)])_0x310e63=-0x1==_0x514d82[_0x37dda3(0x245)][_0x37dda3(0x1e9)](_0x42e991)?_0x42e991+':\x20'+_0x514d82[_0x37dda3(0x245)]:_0x514d82[_0x37dda3(0x245)];else _0x310e63=_0x42e991+':\x20'+(_0x514d82[_0x37dda3(0x25a)][_0x37dda3(0x201)](_0x5b01cc[_0x37dda3(0x238)][_0x37dda3(0x202)],{'month':_0x37dda3(0x224),'day':_0x37dda3(0x261)})+',\x20'+_0x514d82[_0x37dda3(0x25a)][_0x37dda3(0x24a)](_0x5b01cc[_0x37dda3(0x238)][_0x37dda3(0x202)],{'hour':_0x37dda3(0x261),'minute':_0x37dda3(0x261)}));return await _0x3f8f14[_0x37dda3(0x207)]({'name':_0x310e63}),_0x22c55b[_0x37dda3(0x251)]=!0x0,_0x5b01cc[_0x37dda3(0x275)][_0x37dda3(0x20d)](_0x37dda3(0x229))[_0x37dda3(0x208)]();}}
|
|
23
|
+
const _0x22cc25=_0x2160;function _0x2160(_0x44e307,_0x19a565){const _0x5a4152=_0x5a41();return _0x2160=function(_0x216032,_0x193fec){_0x216032=_0x216032-0x144;let _0x1e3ecc=_0x5a4152[_0x216032];return _0x1e3ecc;},_0x2160(_0x44e307,_0x19a565);}(function(_0x29fefe,_0x5cae51){const _0x446e49=_0x2160,_0x2f6ae0=_0x29fefe();while(!![]){try{const _0x1fb3ff=-parseInt(_0x446e49(0x1a4))/0x1*(-parseInt(_0x446e49(0x196))/0x2)+parseInt(_0x446e49(0x1da))/0x3+-parseInt(_0x446e49(0x19d))/0x4*(-parseInt(_0x446e49(0x18a))/0x5)+-parseInt(_0x446e49(0x1a8))/0x6*(-parseInt(_0x446e49(0x161))/0x7)+-parseInt(_0x446e49(0x155))/0x8*(-parseInt(_0x446e49(0x1d9))/0x9)+-parseInt(_0x446e49(0x14d))/0xa*(parseInt(_0x446e49(0x176))/0xb)+-parseInt(_0x446e49(0x186))/0xc*(parseInt(_0x446e49(0x149))/0xd);if(_0x1fb3ff===_0x5cae51)break;else _0x2f6ae0['push'](_0x2f6ae0['shift']());}catch(_0x3933c3){_0x2f6ae0['push'](_0x2f6ae0['shift']());}}}(_0x5a41,0x7ce74));import{Plugin as _0x211925}from'ckeditor5/src/core.js';import{CKEditorError as _0x3afbde,uid as _0x20f267}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x4c3092}from'./revisiontracker.js';import{RevisionHistoryUI as _0x5834ff}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x5077e0}from'./revisionviewer.js';function _0x5a41(){const _0x30678d=['setAttribute','get','_restoreRevision','toLocaleTimeString','RevisionViewer','160494QWYmLs','_viewerEditor','_closeRevisionViewer','lazyRoots','_recalculatePageBreaks','has','removeAttribute','16084DWYvxw','creator','saveRevision','pluginName','createRangeIn','error','removeSelectionAttribute','5emLsoP','view','insert','RevisionHistoryUI','1044WAakQP','revisionHistory.showRevisionViewerCallback','getRevisions','repository','Autosave','parse','includes','style','getRevisionRootsAttributes','push','_showRevisionViewer','toVersion','join','init','editor','$graveyard','isEnabled','isReadOnly','DocumentOutlineUI','createdAt','restoreRevision','addRoot','users','enableReadOnlyMode','DocumentOutline','revisionHistory.restoreRevisionCallback','long','disableReadOnlyMode','remove','numeric','getUser','removeMarker','create','RestrictedEditingMode','translations','refreshVisibility','RevisionHistory','commands','set','changesNavigation','rootName','locale','toJSON','selection','isAnonymous','revisionHistory.requireRevisionName','save','_enhanceShowRevisionViewerCallback','data','261JoIvTN','1677135tNrgmB','_cleanUp','indexOf','revisionHistory.viewerEditorElement','from','detachRoot','map','revision-history-missing-configuration','Users','markers','13QfZCqm','block','then','revision-history-viewer-opened','750qexDAB','revisionHistory.editorContainer','PaginationLookup','isRevisionViewerOpen','toLocaleDateString','revisionHistory','toolbar','revisionHistory.closeRevisionViewerCallback','776pvAwVA','RevisionHistoryUtils','addUser','requires','showRevisionViewerCallback','uiLanguage','setSelection','config','none','change','end','addRevisionData','24129kyHbRq','isReady','getAttributeKeys','update','isPremiumPlugin','getRevisionDocumentData','Annotations','plugins','adapter','keys','fromCharCode','define','Restored','destroy','loadRevisionData','getRoot','RevisionTracker','display','enqueueChange','_getRevisionViewerEditorConfig','roots','95469gcessE','isAttached','_enhanceCloseRevisionViewerCallback','element','getMarkersGroup','result','exitToEditing','closeRevisionViewerCallback','restrictedEditingException','document','isOpen','catch','_update','Dialog','model','fromVersion','14888772lZIveU','revisionHistory.viewerContainer','isOfficialPlugin','getRevision','1045oFaFKb','RevisionViewerIntegration','refreshPositioning','bind','hide','RevisionsRepository','name'];_0x5a41=function(){return _0x30678d;};return _0x5a41();}import{RevisionViewerUI as _0x3fa2d5}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x421926}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x435d3f}from'./editor/revisionviewereditor.js';import{getTranslation as _0x59bb38}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x7f1835}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x22cc25(0x1a7),_0x22cc25(0x1c9)];export class RevisionViewerIntegration extends _0x211925{[_0x22cc25(0x17b)];static get[_0x22cc25(0x1a0)](){const _0xf89d4b=_0x22cc25;return _0xf89d4b(0x18b);}static get[_0x22cc25(0x188)](){return!0x0;}static get[_0x22cc25(0x165)](){return!0x0;}constructor(_0x485255){const _0x2a3173=_0x22cc25;function _0x6ed71(_0x546382){const _0x15dcb9=_0x2160;return _0x546382[_0x15dcb9(0x145)](_0xbfcce3=>String[_0x15dcb9(0x16b)](_0xbfcce3))[_0x15dcb9(0x1b4)]('');}super(_0x485255),this[_0x2a3173(0x17b)]=_0x2a3173(0x15f),_0x485255[_0x6ed71([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6ed71([0x76,0x69,0x65,0x77])][_0x6ed71([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x6ed71([0x61,0x75,0x74,0x6f]),_0x485255[_0x6ed71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x6ed71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x6ed71([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x6ed71([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x6ed71([0x6f,0x6b])});}}export class RevisionHistory extends _0x211925{[_0x22cc25(0x197)];static get[_0x22cc25(0x1a0)](){const _0x143dff=_0x22cc25;return _0x143dff(0x1cc);}static get[_0x22cc25(0x188)](){return!0x0;}static get[_0x22cc25(0x165)](){return!0x0;}static get[_0x22cc25(0x158)](){return[_0x4c3092,_0x5834ff];}constructor(_0xb034e7){const _0x23d46d=_0x22cc25;if(super(_0xb034e7),!this[_0x23d46d(0x1b6)][_0x23d46d(0x15c)][_0x23d46d(0x192)](_0x23d46d(0x152)))throw new _0x3afbde(_0x23d46d(0x146),this);this[_0x23d46d(0x197)]=null,this[_0x23d46d(0x1ce)](_0x23d46d(0x150),!0x1),this[_0x23d46d(0x1b6)][_0x23d46d(0x15c)][_0x23d46d(0x16c)](_0x23d46d(0x1a9),_0x1733b9=>this[_0x23d46d(0x1b2)]({..._0x1733b9,'translations':this[_0x23d46d(0x1b6)][_0x23d46d(0x1d1)][_0x23d46d(0x1ca)]})),this[_0x23d46d(0x1b6)][_0x23d46d(0x15c)][_0x23d46d(0x16c)](_0x23d46d(0x154),_0x3b0176=>this[_0x23d46d(0x198)](_0x3b0176)),this[_0x23d46d(0x1b6)][_0x23d46d(0x15c)][_0x23d46d(0x16c)](_0x23d46d(0x1c1),_0x1dd97a=>this[_0x23d46d(0x193)](_0x1dd97a)),this[_0x23d46d(0x1b6)][_0x23d46d(0x15c)][_0x23d46d(0x16c)](_0x23d46d(0x1d5),!0x1),this[_0x23d46d(0x1d7)](),this[_0x23d46d(0x178)]();}set[_0x22cc25(0x169)](_0x558233){const _0x340c60=_0x22cc25;this[_0x340c60(0x1b6)][_0x340c60(0x168)][_0x340c60(0x192)](_0x340c60(0x171))[_0x340c60(0x169)]=_0x558233;}get[_0x22cc25(0x169)](){const _0xd9ba82=_0x22cc25;return this[_0xd9ba82(0x1b6)][_0xd9ba82(0x168)][_0xd9ba82(0x192)](_0xd9ba82(0x171))[_0xd9ba82(0x169)];}[_0x22cc25(0x160)](_0x3b764f){const _0xec2dd4=_0x22cc25;return this[_0xec2dd4(0x1b6)][_0xec2dd4(0x168)][_0xec2dd4(0x192)](_0xec2dd4(0x171))[_0xec2dd4(0x160)](_0x3b764f);}[_0x22cc25(0x189)](_0x3b6d77){const _0x29942c=_0x22cc25;return this[_0x29942c(0x1b6)][_0x29942c(0x168)][_0x29942c(0x192)](_0x29942c(0x18f))[_0x29942c(0x189)](_0x3b6d77);}[_0x22cc25(0x1aa)](_0x270f9d){const _0x2515ac=_0x22cc25;return this[_0x2515ac(0x1b6)][_0x2515ac(0x168)][_0x2515ac(0x192)](_0x2515ac(0x18f))[_0x2515ac(0x1aa)](_0x270f9d||{'toJSON':!0x1});}[_0x22cc25(0x174)](){const _0x14f9d9=_0x22cc25,_0x59d1cb=this[_0x14f9d9(0x1b6)],_0x3fbf99=_0x7f1835(_0x59d1cb,d),_0x3e9290=_0x59d1cb[_0x14f9d9(0x168)][_0x14f9d9(0x192)](_0x14f9d9(0x171)),_0x81dc06=_0x59d1cb[_0x14f9d9(0x168)][_0x14f9d9(0x192)](_0x14f9d9(0x147))[_0x14f9d9(0x1be)];return _0x3fbf99[_0x14f9d9(0x153)]=[_0x14f9d9(0x17c),_0x14f9d9(0x1bc),_0x14f9d9(0x1cf)],delete _0x3fbf99[_0x14f9d9(0x199)],(_0x3fbf99[_0x14f9d9(0x168)][_0x14f9d9(0x1b1)](RevisionViewerIntegration,_0x5077e0,_0x3fa2d5,class extends _0x211925{static get[_0x14f9d9(0x158)](){const _0x576d53=_0x14f9d9;return[_0x5077e0,_0x576d53(0x147)];}[_0x14f9d9(0x1b5)](){const _0x534a0f=_0x14f9d9,_0x4a75bd=this[_0x534a0f(0x1b6)][_0x534a0f(0x168)][_0x534a0f(0x192)](_0x534a0f(0x147));for(const _0x30430d of _0x81dc06)_0x30430d[_0x534a0f(0x1d4)]||_0x4a75bd[_0x534a0f(0x1c6)](_0x30430d['id'])||_0x4a75bd[_0x534a0f(0x157)](_0x30430d);const _0x1cbad9=_0x3e9290[_0x534a0f(0x1ab)][_0x534a0f(0x1aa)]();let _0x562390=null;const _0x4cf7ae=this[_0x534a0f(0x1b6)][_0x534a0f(0x168)][_0x534a0f(0x192)](_0x534a0f(0x195));_0x4cf7ae[_0x534a0f(0x169)]=_0x3e9290[_0x534a0f(0x169)],_0x4cf7ae[_0x534a0f(0x18d)](_0x534a0f(0x1b8))['to'](_0x3e9290),this[_0x534a0f(0x1b6)][_0x534a0f(0x1cd)][_0x534a0f(0x192)](_0x534a0f(0x1bc))[_0x534a0f(0x18d)](_0x534a0f(0x1b8))['to'](_0x59d1cb,_0x534a0f(0x1b9),_0x4c9d28=>!_0x4c9d28);for(const _0x360687 of _0x1cbad9){const _0x13b593=null===_0x360687[_0x534a0f(0x19e)];if(_0x13b593&&_0x360687[_0x534a0f(0x1b3)]===_0x360687[_0x534a0f(0x185)])continue;const _0x13a504=_0x360687[_0x534a0f(0x1d2)]();_0x4cf7ae[_0x534a0f(0x160)](_0x13a504,(_0x260638,_0x28b2f7,_0x5f3b04)=>{const _0x515f0f=_0x534a0f;if(_0x13b593){if(_0x562390)_0x562390[_0x515f0f(0x182)](_0x260638,_0x28b2f7);else{if(!_0x28b2f7){const _0x5bbb01=_0x5f3b04[_0x515f0f(0x1d2)]();_0x5bbb01['id']=_0x20f267(),_0x3e9290[_0x515f0f(0x19f)](_0x5bbb01,_0x5f3b04[_0x515f0f(0x1b3)])[_0x515f0f(0x14b)](_0x5686c5=>{_0x562390=_0x5686c5;});}}}else _0x360687[_0x515f0f(0x182)](_0x260638,_0x28b2f7);});}}},_0x421926),_0x3fbf99);}[_0x22cc25(0x1d7)](){const _0x474557=_0x22cc25,_0x311c20=this[_0x474557(0x1b6)][_0x474557(0x15c)][_0x474557(0x192)](_0x474557(0x152))[_0x474557(0x159)];this[_0x474557(0x1b6)][_0x474557(0x15c)][_0x474557(0x1ce)](_0x474557(0x1a9),async()=>{const _0x4c2951=_0x474557;this[_0x4c2951(0x1b6)][_0x4c2951(0x1bf)](_0x4c2951(0x14c));const _0x414b3c=this[_0x4c2951(0x1b6)][_0x4c2951(0x168)][_0x4c2951(0x192)](_0x4c2951(0x171));if(this[_0x4c2951(0x1b6)][_0x4c2951(0x168)][_0x4c2951(0x19b)](_0x4c2951(0x1ac))){const _0x22c46d=this[_0x4c2951(0x1b6)][_0x4c2951(0x168)][_0x4c2951(0x192)](_0x4c2951(0x1ac));await _0x22c46d[_0x4c2951(0x1d6)]();}else await _0x414b3c[_0x4c2951(0x164)]();if(this[_0x4c2951(0x1b6)][_0x4c2951(0x168)][_0x4c2951(0x19b)](_0x4c2951(0x14f))&&this[_0x4c2951(0x1b6)][_0x4c2951(0x168)][_0x4c2951(0x192)](_0x4c2951(0x14f))[_0x4c2951(0x19a)](),this[_0x4c2951(0x1b6)][_0x4c2951(0x168)][_0x4c2951(0x19b)](_0x4c2951(0x183))){const _0x3d089d=this[_0x4c2951(0x1b6)][_0x4c2951(0x168)][_0x4c2951(0x192)](_0x4c2951(0x183));_0x3d089d[_0x4c2951(0x180)]&&_0x3d089d[_0x4c2951(0x18e)]();}const _0x3cf931=this[_0x4c2951(0x174)]();return _0x311c20(_0x3cf931)[_0x4c2951(0x14b)](_0x9a3bd4=>{const _0x14ae5a=_0x4c2951;return(this[_0x14ae5a(0x197)]=_0x9a3bd4,this[_0x14ae5a(0x1b6)][_0x14ae5a(0x168)][_0x14ae5a(0x19b)](_0x14ae5a(0x167)))&&this[_0x14ae5a(0x1b6)][_0x14ae5a(0x168)][_0x14ae5a(0x192)](_0x14ae5a(0x167))[_0x14ae5a(0x1cb)](),(this[_0x14ae5a(0x1b6)][_0x14ae5a(0x168)][_0x14ae5a(0x19b)](_0x14ae5a(0x1c0))&&(this[_0x14ae5a(0x1b6)][_0x14ae5a(0x168)][_0x14ae5a(0x192)](_0x14ae5a(0x1ba))[_0x14ae5a(0x1a5)][_0x14ae5a(0x179)][_0x14ae5a(0x1af)][_0x14ae5a(0x172)]=_0x14ae5a(0x15d)),_0x9a3bd4);})[_0x4c2951(0x181)](_0x5ed721=>(console[_0x4c2951(0x1a2)](_0x5ed721),this[_0x4c2951(0x1b6)][_0x4c2951(0x1c3)](_0x4c2951(0x14c)),null));});}[_0x22cc25(0x178)](){const _0x28128c=_0x22cc25,_0x4a8187=this[_0x28128c(0x1b6)][_0x28128c(0x15c)][_0x28128c(0x192)](_0x28128c(0x152))[_0x28128c(0x17d)];this[_0x28128c(0x1b6)][_0x28128c(0x15c)][_0x28128c(0x1ce)](_0x28128c(0x154),()=>(this[_0x28128c(0x1b6)][_0x28128c(0x168)][_0x28128c(0x19b)](_0x28128c(0x14f))&&this[_0x28128c(0x1b6)][_0x28128c(0x168)][_0x28128c(0x192)](_0x28128c(0x14f))[_0x28128c(0x19a)](),this[_0x28128c(0x1b6)][_0x28128c(0x168)][_0x28128c(0x19b)](_0x28128c(0x1c0))&&(this[_0x28128c(0x1b6)][_0x28128c(0x168)][_0x28128c(0x192)](_0x28128c(0x1ba))[_0x28128c(0x1a5)][_0x28128c(0x179)][_0x28128c(0x1af)][_0x28128c(0x172)]=''),this[_0x28128c(0x197)][_0x28128c(0x168)][_0x28128c(0x192)](_0x28128c(0x195))[_0x28128c(0x1db)](),_0x4a8187(this[_0x28128c(0x197)])[_0x28128c(0x14b)](()=>{const _0x3c018a=_0x28128c;if(this[_0x3c018a(0x1b6)][_0x3c018a(0x1c3)](_0x3c018a(0x14c)),this[_0x3c018a(0x197)]=null,this[_0x3c018a(0x1b6)][_0x3c018a(0x168)][_0x3c018a(0x19b)](_0x3c018a(0x167))){const _0x500f9a=this[_0x3c018a(0x1b6)][_0x3c018a(0x168)][_0x3c018a(0x192)](_0x3c018a(0x167));_0x500f9a[_0x3c018a(0x1cb)](),_0x500f9a[_0x3c018a(0x18c)]();}})));}[_0x22cc25(0x1b2)](_0x3124f7){const _0x264716=_0x22cc25,_0x119cbe=this[_0x264716(0x1b6)][_0x264716(0x15c)][_0x264716(0x192)](_0x264716(0x14e)),_0x400aef=this[_0x264716(0x1b6)][_0x264716(0x15c)][_0x264716(0x192)](_0x264716(0x187)),_0x95f6b6=this[_0x264716(0x1b6)][_0x264716(0x15c)][_0x264716(0x192)](_0x264716(0x1dd));return _0x435d3f[_0x264716(0x1c8)](_0x95f6b6,_0x3124f7)[_0x264716(0x14b)](_0x674c7c=>(_0x400aef[_0x264716(0x1af)][_0x264716(0x172)]=_0x264716(0x14a),_0x119cbe[_0x264716(0x1af)][_0x264716(0x172)]=_0x264716(0x15d),this[_0x264716(0x150)]=!0x0,_0x674c7c));}[_0x22cc25(0x198)](_0x1743f8){const _0x5d78e3=_0x22cc25,_0x1eb645=this[_0x5d78e3(0x1b6)][_0x5d78e3(0x15c)][_0x5d78e3(0x192)](_0x5d78e3(0x14e));return this[_0x5d78e3(0x1b6)][_0x5d78e3(0x15c)][_0x5d78e3(0x192)](_0x5d78e3(0x187))[_0x5d78e3(0x1af)][_0x5d78e3(0x172)]=_0x5d78e3(0x15d),_0x1eb645[_0x5d78e3(0x1af)][_0x5d78e3(0x172)]='',this[_0x5d78e3(0x150)]=!0x1,_0x1743f8[_0x5d78e3(0x16e)]();}async[_0x22cc25(0x193)](_0x567287){const _0x3a7953=_0x22cc25,_0x3ed3a4=this[_0x3a7953(0x1b6)],_0x984b4b=this[_0x3a7953(0x197)][_0x3a7953(0x168)][_0x3a7953(0x192)](_0x3a7953(0x195)),_0x58225e=_0x3ed3a4[_0x3a7953(0x168)][_0x3a7953(0x192)](_0x3a7953(0x171)),_0x32e522=_0x3ed3a4[_0x3a7953(0x168)][_0x3a7953(0x192)](_0x3a7953(0x156)),_0x1e8a38=_0x984b4b[_0x3a7953(0x1ab)][_0x3a7953(0x189)](_0x567287);let _0x696e5d,_0x40cb95,_0x2e8bd2;try{await _0x32e522[_0x3a7953(0x16f)](_0x1e8a38,this[_0x3a7953(0x169)]),_0x696e5d=_0x32e522[_0x3a7953(0x166)](_0x1e8a38),_0x40cb95=_0x32e522[_0x3a7953(0x1b0)](_0x1e8a38);}catch(_0x38c9cb){return void console[_0x3a7953(0x1a2)](_0x38c9cb);}_0x3ed3a4[_0x3a7953(0x184)][_0x3a7953(0x15e)](_0x2e6b92=>{const _0x1fc585=_0x3a7953;for(const _0x234fcc of Array[_0x1fc585(0x1de)](_0x3ed3a4[_0x1fc585(0x184)][_0x1fc585(0x148)][_0x1fc585(0x17a)](_0x1fc585(0x17e))))_0x2e6b92[_0x1fc585(0x1c7)](_0x234fcc);}),_0x984b4b[_0x3a7953(0x162)]=!0x1,_0x3ed3a4[_0x3a7953(0x184)][_0x3a7953(0x173)](_0x28b460=>{const _0x25cb13=_0x3a7953;_0x28b460[_0x25cb13(0x15b)](null),_0x28b460[_0x25cb13(0x1a3)](_0x3ed3a4[_0x25cb13(0x184)][_0x25cb13(0x17f)][_0x25cb13(0x1d3)][_0x25cb13(0x163)]());const _0x27a958=Object[_0x25cb13(0x16a)](_0x696e5d);for(const _0x30798f of _0x3ed3a4[_0x25cb13(0x184)][_0x25cb13(0x17f)][_0x25cb13(0x175)])_0x25cb13(0x1b7)!=_0x30798f[_0x25cb13(0x1d0)]&&_0x30798f[_0x25cb13(0x177)]()&&!_0x27a958[_0x25cb13(0x1ae)](_0x30798f[_0x25cb13(0x1d0)])&&_0x28b460[_0x25cb13(0x144)](_0x30798f);for(const _0x3aa34b of _0x27a958){let _0xd459f0=_0x3ed3a4[_0x25cb13(0x184)][_0x25cb13(0x17f)][_0x25cb13(0x170)](_0x3aa34b);_0xd459f0&&_0xd459f0[_0x25cb13(0x177)]()||(_0xd459f0=_0x28b460[_0x25cb13(0x1bd)](_0x3aa34b));const _0x260de8=_0x40cb95[_0x3aa34b],_0x589961=Object[_0x25cb13(0x16a)](_0x260de8),_0x4ebbe3=_0x696e5d[_0x3aa34b];for(const _0x18c82b of _0xd459f0[_0x25cb13(0x163)]())_0x589961[_0x25cb13(0x1ae)](_0x18c82b)||_0x28b460[_0x25cb13(0x19c)](_0x18c82b,_0xd459f0);for(const _0x1a65a6 of _0x589961)_0x28b460[_0x25cb13(0x191)](_0x1a65a6,_0x40cb95[_0x3aa34b][_0x1a65a6],_0xd459f0);_0x28b460[_0x25cb13(0x1c4)](_0x28b460[_0x25cb13(0x1a1)](_0xd459f0)),_0x28b460[_0x25cb13(0x1a6)](_0x3ed3a4[_0x25cb13(0x1d8)][_0x25cb13(0x1ad)](_0x4ebbe3,_0xd459f0),_0xd459f0,0x0);}});const _0x1bc2fb=_0x59bb38(_0x3ed3a4[_0x3a7953(0x1d1)],_0x3a7953(0x16d));if(_0x1e8a38[_0x3a7953(0x190)])_0x2e8bd2=-0x1==_0x1e8a38[_0x3a7953(0x190)][_0x3a7953(0x1dc)](_0x1bc2fb)?_0x1bc2fb+':\x20'+_0x1e8a38[_0x3a7953(0x190)]:_0x1e8a38[_0x3a7953(0x190)];else _0x2e8bd2=_0x1bc2fb+':\x20'+(_0x1e8a38[_0x3a7953(0x1bb)][_0x3a7953(0x151)](_0x3ed3a4[_0x3a7953(0x1d1)][_0x3a7953(0x15a)],{'month':_0x3a7953(0x1c2),'day':_0x3a7953(0x1c5)})+',\x20'+_0x1e8a38[_0x3a7953(0x1bb)][_0x3a7953(0x194)](_0x3ed3a4[_0x3a7953(0x1d1)][_0x3a7953(0x15a)],{'hour':_0x3a7953(0x1c5),'minute':_0x3a7953(0x1c5)}));return await _0x58225e[_0x3a7953(0x19f)]({'name':_0x2e8bd2}),_0x984b4b[_0x3a7953(0x162)]=!0x0,_0x3ed3a4[_0x3a7953(0x15c)][_0x3a7953(0x192)](_0x3a7953(0x152))[_0x3a7953(0x17d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x561a(_0x4f27f0,_0x310651){const _0x8d5c69=_0x8d5c();return _0x561a=function(_0x561ac6,_0x50fa0d){_0x561ac6=_0x561ac6-0x9e;let _0xca669b=_0x8d5c69[_0x561ac6];return _0xca669b;},_0x561a(_0x4f27f0,_0x310651);}const _0x311191=_0x561a;(function(_0x49d968,_0x4b464f){const _0x352699=_0x561a,_0xdc3aeb=_0x49d968();while(!![]){try{const _0x504c63=-parseInt(_0x352699(0xd1))/0x1*(parseInt(_0x352699(0xa0))/0x2)+parseInt(_0x352699(0x9e))/0x3+-parseInt(_0x352699(0xe6))/0x4*(-parseInt(_0x352699(0xda))/0x5)+-parseInt(_0x352699(0x9f))/0x6*(parseInt(_0x352699(0xaf))/0x7)+-parseInt(_0x352699(0xae))/0x8+-parseInt(_0x352699(0xa6))/0x9*(parseInt(_0x352699(0xc3))/0xa)+-parseInt(_0x352699(0xe8))/0xb*(-parseInt(_0x352699(0xc4))/0xc);if(_0x504c63===_0x4b464f)break;else _0xdc3aeb['push'](_0xdc3aeb['shift']());}catch(_0x278ee0){_0xdc3aeb['push'](_0xdc3aeb['shift']());}}}(_0x8d5c,0xb73e8));function _0x8d5c(){const _0x135fb5=['render','isAttached','length','domChildrenToView','isPremiumPlugin','_removeRevisionMarkers','revision-end','fillerOffset','getRevisionDocumentData','innerHTML','view','data','130IeWLCi','1055388wxGaQD','_makeModelFromViewString','domConverter','_typeCharToViewClass','_getViewFromDiffObj','revision-start','customProperties','insertions','name','attachChange','marked','_getTypeCharForViewElement','isOfficialPlugin','188IqeTlz','document','diffData','startsWith','map','from','getFillerOffset','childNodes','getRevisionRootsAttributes','225rMqrJa','_setCustomProperty','getRevision','toData','filter','div','attributes','string','editor','toModel','collaboration.channelId','loadRevisionData','25692bJiSaN','constructor','517KBEnXY','createElement','config','238212IRYkal','330FUCDJw','13104KWojtm','domDocument','default','data-revision-','useFillerType','processor','1017243duWqsi','htmlProcessor','editing','RevisionHistoryUtils','viewChildrenToDom','forEach','attributesAfter','_viewClassToTypeChar','5744296uUiNLT','42294mRZGoC','type','get','pluginName','append','parse','children','_appendChild'];_0x8d5c=function(){return _0x135fb5;};return _0x8d5c();}import{Plugin as _0x403fb2}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x23b884,ViewText as _0x5bdd99,ViewElement as _0x52eae5,ViewContainerElement as _0x159269,ViewAttributeElement as _0x5bd85e,ViewEmptyElement as _0x19d00c,ViewRawElement as _0x7ddab7,ViewUIElement as _0xbf4897}from'ckeditor5/src/engine.js';export class RevisionHistoryUtils extends _0x403fb2{static get[_0x311191(0xb2)](){const _0xb726d8=_0x311191;return _0xb726d8(0xa9);}static get[_0x311191(0xd0)](){return!0x0;}static get[_0x311191(0xbb)](){return!0x0;}[_0x311191(0xad)]=new Map([[_0x159269,'c'],[_0x5bd85e,'a'],[_0x19d00c,'e'],[_0x7ddab7,'r'],[_0xbf4897,'u']]);[_0x311191(0xc7)]=new Map([['c',_0x159269],['a',_0x5bd85e],['e',_0x19d00c],['r',_0x7ddab7],['u',_0xbf4897]]);async[_0x311191(0xe5)](_0x3b38b7,_0x113d5f){const _0xc86ab=_0x311191;if(_0x3b38b7[_0xc86ab(0xd3)]||!_0x113d5f)return;const _0x34c9cf=this[_0xc86ab(0xe2)][_0xc86ab(0xea)][_0xc86ab(0xb1)](_0xc86ab(0xe4)),_0x553501=await _0x113d5f[_0xc86ab(0xdc)]({'channelId':_0x34c9cf,'revisionId':_0x3b38b7['id']});_0x3b38b7[_0xc86ab(0xd3)]=_0x553501[_0xc86ab(0xd3)];}[_0x311191(0xbf)](_0x37a5ce){const _0x10f8d5=_0x311191,_0xfb781d={};for(const _0x47935c in _0x37a5ce[_0x10f8d5(0xd3)]){if(_0x37a5ce[_0x10f8d5(0xd3)][_0x47935c][_0x10f8d5(0xcd)]&&!_0x37a5ce[_0x10f8d5(0xd3)][_0x47935c][_0x10f8d5(0xcd)][_0x10f8d5(0xb8)])continue;const _0x2fbac9=this[_0x10f8d5(0xbc)](JSON[_0x10f8d5(0xb4)](_0x37a5ce[_0x10f8d5(0xd3)][_0x47935c][_0x10f8d5(0xcb)])),_0x192ca2=this[_0x10f8d5(0xe2)][_0x10f8d5(0xa8)][_0x10f8d5(0xc1)][_0x10f8d5(0xd2)],_0x5cd83c=new _0x23b884(_0x192ca2,_0x2fbac9[_0x10f8d5(0xd5)](_0x3b2479=>this[_0x10f8d5(0xc8)](_0x3b2479,!0x1)));this[_0x10f8d5(0xe2)][_0x10f8d5(0xc2)][_0x10f8d5(0xa5)][_0x10f8d5(0xa4)](_0x10f8d5(0xce)),_0xfb781d[_0x47935c]=this[_0x10f8d5(0xe2)][_0x10f8d5(0xc2)][_0x10f8d5(0xa5)][_0x10f8d5(0xdd)](_0x5cd83c),this[_0x10f8d5(0xe2)][_0x10f8d5(0xc2)][_0x10f8d5(0xa5)][_0x10f8d5(0xa4)](_0x10f8d5(0xa2));}return _0xfb781d;}[_0x311191(0xd9)](_0x1ae70e){const _0x568905=_0x311191,_0x164bcf={};for(const _0x521d7b in _0x1ae70e[_0x568905(0xd3)])_0x1ae70e[_0x568905(0xd3)][_0x521d7b][_0x568905(0xcd)]&&!_0x1ae70e[_0x568905(0xd3)][_0x521d7b][_0x568905(0xcd)][_0x568905(0xb8)]||(_0x164bcf[_0x521d7b]=_0x1ae70e[_0x568905(0xd3)][_0x521d7b][_0x568905(0xac)]||{});return _0x164bcf;}[_0x311191(0xcf)](_0xfcd6e5){const _0x249dfc=_0x311191;return this[_0x249dfc(0xad)][_0x249dfc(0xb1)](_0xfcd6e5[_0x249dfc(0xe7)]);}[_0x311191(0xc8)](_0x8acb5c,_0x2b9350){const _0x5ca089=_0x311191,_0x150d2f=this[_0x5ca089(0xe2)][_0x5ca089(0xa8)][_0x5ca089(0xc1)][_0x5ca089(0xd2)];if(_0x5ca089(0xe1)==typeof _0x8acb5c)return new _0x5bdd99(_0x150d2f,_0x8acb5c);{let _0x52cbdb,_0x55e702;_0x55e702='u'==_0x8acb5c[_0x5ca089(0xb0)]||'r'==_0x8acb5c[_0x5ca089(0xb0)]?[]:_0x8acb5c[_0x5ca089(0xb5)][_0x5ca089(0xd5)](_0x45c94d=>this[_0x5ca089(0xc8)](_0x45c94d,_0x2b9350));const _0x5075c3=this[_0x5ca089(0xc7)][_0x5ca089(0xb1)](_0x8acb5c[_0x5ca089(0xb0)])||_0x52eae5,_0x47c49c=this[_0x5ca089(0xe2)][_0x5ca089(0xc2)][_0x5ca089(0xa7)][_0x5ca089(0xc6)];if(_0x52cbdb=new _0x5075c3(_0x150d2f,_0x8acb5c[_0x5ca089(0xcc)],_0x8acb5c[_0x5ca089(0xe0)],_0x55e702),'u'==_0x8acb5c[_0x5ca089(0xb0)]&&_0x8acb5c[_0x5ca089(0xb5)][0x0]){const _0x5d314a=_0x8acb5c[_0x5ca089(0xb5)][0x0];if(_0x52cbdb[_0x5ca089(0xb7)]=function(_0xa2c265){const _0x26fde4=_0x5ca089,_0x383b72=_0xa2c265[_0x26fde4(0xe9)](_0x26fde4(0xdf));return _0x383b72[_0x26fde4(0xc0)]=_0x5d314a,_0x383b72[_0x26fde4(0xd8)][0x0];},_0x2b9350){const _0x1224b6=new _0x23b884(_0x150d2f);_0x1224b6[_0x5ca089(0xb6)](_0x52cbdb);const _0x4299a0=Array[_0x5ca089(0xd6)](_0x47c49c[_0x5ca089(0xaa)](_0x1224b6,{'bind':!0x1})),_0x6f34b8=_0x47c49c[_0x5ca089(0xa1)][_0x5ca089(0xe9)](_0x5ca089(0xdf));_0x6f34b8[_0x5ca089(0xb3)](..._0x4299a0),_0x52cbdb=Array[_0x5ca089(0xd6)](_0x47c49c[_0x5ca089(0xba)](_0x6f34b8))[0x0];}}else{if('r'==_0x8acb5c[_0x5ca089(0xb0)]&&_0x8acb5c[_0x5ca089(0xb5)][0x0]){const _0x3d2968=_0x8acb5c[_0x5ca089(0xb5)][0x0];if(_0x52cbdb[_0x5ca089(0xb7)]=function(_0x58529a){const _0x38a3ec=_0x5ca089;_0x58529a[_0x38a3ec(0xc0)]=_0x3d2968;},_0x2b9350){const _0x462657=new _0x23b884(_0x150d2f);_0x462657[_0x5ca089(0xb6)](_0x52cbdb);const _0x4313c5=Array[_0x5ca089(0xd6)](_0x47c49c[_0x5ca089(0xaa)](_0x462657,{'bind':!0x1})),_0x312cd7=_0x47c49c[_0x5ca089(0xa1)][_0x5ca089(0xe9)](_0x5ca089(0xdf));_0x312cd7[_0x5ca089(0xb3)](..._0x4313c5);const _0xca16a=Array[_0x5ca089(0xd6)](_0x47c49c[_0x5ca089(0xba)](_0x312cd7));_0xca16a[_0x5ca089(0xb9)]>0x1?_0x52cbdb[_0x5ca089(0xb6)](_0xca16a):_0x52cbdb=_0xca16a[0x0];}}}if(_0x8acb5c[_0x5ca089(0xca)]){for(const [_0x2a311a,_0x58406e]of _0x8acb5c[_0x5ca089(0xca)])_0x52cbdb[_0x5ca089(0xdb)](_0x2a311a,_0x58406e);}const _0xdac4c8=void 0x0===_0x8acb5c[_0x5ca089(0xbe)]?null:_0x8acb5c[_0x5ca089(0xbe)];return null!==_0xdac4c8&&(_0x52cbdb[_0x5ca089(0xd7)]=()=>_0xdac4c8),_0x52cbdb;}}[_0x311191(0xc5)](_0x38ea01){const _0x49a2b2=_0x311191,_0x1f330b=JSON[_0x49a2b2(0xb4)](_0x38ea01),_0x5e9c05=this[_0x49a2b2(0xe2)][_0x49a2b2(0xa8)][_0x49a2b2(0xc1)][_0x49a2b2(0xd2)],_0x37a5c2=new _0x23b884(_0x5e9c05,_0x1f330b[_0x49a2b2(0xd5)](_0x4b524a=>this[_0x49a2b2(0xc8)](_0x4b524a,!0x0)));return this[_0x49a2b2(0xe2)][_0x49a2b2(0xc2)][_0x49a2b2(0xe3)](_0x37a5c2);}[_0x311191(0xbc)](_0x4b1b14){const _0x369975=_0x311191;return(_0x4b1b14=_0x4b1b14[_0x369975(0xde)](_0x21b9c5=>!_0x21b9c5[_0x369975(0xcc)]||_0x369975(0xc9)!==_0x21b9c5[_0x369975(0xcc)]&&_0x369975(0xbd)!==_0x21b9c5[_0x369975(0xcc)]))[_0x369975(0xab)](_0x23f466=>{const _0x354ea3=_0x369975;_0x354ea3(0xe1)!=typeof _0x23f466&&(_0x23f466[_0x354ea3(0xb5)]=this[_0x354ea3(0xbc)](_0x23f466[_0x354ea3(0xb5)]),_0x23f466[_0x354ea3(0xe0)]=_0x23f466[_0x354ea3(0xe0)][_0x354ea3(0xde)](_0x4507ed=>!_0x4507ed[0x0][_0x354ea3(0xd4)](_0x354ea3(0xa3))));}),_0x4b1b14;}}
|