@ckeditor/ckeditor5-revision-history 45.0.0 → 45.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +2 -1
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- 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
|
+
(_0x15896a=>{const {vi:{dictionary:_0x2739ac,getPluralForm:_0x516b8b}}={'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':_0x2a62b=>0x0}};_0x15896a['vi']||={'dictionary':{},'getPluralForm':null},_0x15896a['vi']['dictionary']=Object['assign'](_0x15896a['vi']['dictionary'],_0x2739ac),_0x15896a['vi']['getPluralForm']=_0x516b8b;})(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':_0x5bed67=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x492026=>{const {'zh-cn':{dictionary:_0x27f2a3,getPluralForm:_0x2b39b6}}={'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':_0xe51a13=>0x0}};_0x492026['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x492026['zh-cn']['dictionary']=Object['assign'](_0x492026['zh-cn']['dictionary'],_0x27f2a3),_0x492026['zh-cn']['getPluralForm']=_0x2b39b6;})(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':_0x2714d6=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x21358b=>{const {zh:{dictionary:_0x370f9c,getPluralForm:_0x147143}}={'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':_0xf285d6=>0x0}};_0x21358b['zh']||={'dictionary':{},'getPluralForm':null},_0x21358b['zh']['dictionary']=Object['assign'](_0x21358b['zh']['dictionary'],_0x370f9c),_0x21358b['zh']['getPluralForm']=_0x147143;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "45.0.0",
|
|
3
|
+
"version": "45.1.0-alpha.0",
|
|
4
4
|
"description": "Document revision history feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-autosave": "45.0.0",
|
|
43
|
-
"@ckeditor/ckeditor5-comments": "45.0.0",
|
|
44
|
-
"@ckeditor/ckeditor5-core": "45.0.0",
|
|
45
|
-
"@ckeditor/ckeditor5-editor-classic": "45.0.0",
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "45.0.0",
|
|
47
|
-
"@ckeditor/ckeditor5-icons": "45.0.0",
|
|
48
|
-
"@ckeditor/ckeditor5-ui": "45.0.0",
|
|
49
|
-
"@ckeditor/ckeditor5-utils": "45.0.0",
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "45.1.0-alpha.0",
|
|
43
|
+
"@ckeditor/ckeditor5-comments": "45.1.0-alpha.0",
|
|
44
|
+
"@ckeditor/ckeditor5-core": "45.1.0-alpha.0",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-classic": "45.1.0-alpha.0",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "45.1.0-alpha.0",
|
|
47
|
+
"@ckeditor/ckeditor5-icons": "45.1.0-alpha.0",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.0",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.0",
|
|
50
50
|
"@types/luxon": "3.4.2",
|
|
51
|
-
"ckeditor5": "45.0.0",
|
|
52
|
-
"ckeditor5-collaboration": "45.0.0",
|
|
51
|
+
"ckeditor5": "45.1.0-alpha.0",
|
|
52
|
+
"ckeditor5-collaboration": "45.1.0-alpha.0",
|
|
53
53
|
"es-toolkit": "1.32.0",
|
|
54
54
|
"luxon": "3.5.0"
|
|
55
55
|
},
|
package/src/changeitem.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x3231(_0x1f3ce4,_0x16c65d){var _0x218e4a=_0x218e();return _0x3231=function(_0x32315a,_0x31b95e){_0x32315a=_0x32315a-0x16b;var _0x129364=_0x218e4a[_0x32315a];return _0x129364;},_0x3231(_0x1f3ce4,_0x16c65d);}var _0x2b8ca4=_0x3231;(function(_0x2d7681,_0x1bdafb){var _0x53db3c=_0x3231,_0x41ecb4=_0x2d7681();while(!![]){try{var _0x27354f=-parseInt(_0x53db3c(0x179))/0x1+-parseInt(_0x53db3c(0x17a))/0x2+-parseInt(_0x53db3c(0x16b))/0x3+-parseInt(_0x53db3c(0x172))/0x4*(-parseInt(_0x53db3c(0x16f))/0x5)+-parseInt(_0x53db3c(0x170))/0x6+-parseInt(_0x53db3c(0x173))/0x7*(parseInt(_0x53db3c(0x176))/0x8)+parseInt(_0x53db3c(0x174))/0x9;if(_0x27354f===_0x1bdafb)break;else _0x41ecb4['push'](_0x41ecb4['shift']());}catch(_0x30ede9){_0x41ecb4['push'](_0x41ecb4['shift']());}}}(_0x218e,0x8c48e));import{ObservableMixin as _0x2492bd,uid as _0xa824c3}from'ckeditor5/src/utils.js';function _0x218e(){var _0x187f3e=['4003960ElFZcT','3472980NTGFnm','author','4llHxdm','2753954hDefAJ','21753243RtTRIx','rootName','8gvnMcf','set','toJSON','1010017wDdnWz','1293710aVNvhA','42267UoxqeP','createdAt','data','type'];_0x218e=function(){return _0x187f3e;};return _0x218e();}export default class r extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2492bd(){['id'];[_0x2b8ca4(0x171)];[_0x2b8ca4(0x16e)];[_0x2b8ca4(0x16d)];[_0x2b8ca4(0x175)];constructor(_0x4809ab){var _0x31352a=_0x2b8ca4;super(),this['id']=_0x4809ab['id']||_0xa824c3(),this[_0x31352a(0x171)]=_0x4809ab[_0x31352a(0x171)],this[_0x31352a(0x16e)]=_0x4809ab[_0x31352a(0x16e)],this[_0x31352a(0x16d)]=_0x4809ab[_0x31352a(0x16d)]||{},this[_0x31352a(0x175)]=_0x4809ab[_0x31352a(0x175)],this[_0x31352a(0x177)](_0x31352a(0x16c),_0x4809ab[_0x31352a(0x16c)]);}[_0x2b8ca4(0x178)](){var _0x5a49fe=_0x2b8ca4;return{'id':this['id'],'authorId':this[_0x5a49fe(0x171)]['id'],'type':this[_0x5a49fe(0x16e)],'data':this[_0x5a49fe(0x16d)],'createdAt':this[_0x5a49fe(0x16c)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x58a6(_0x4645b9,_0xaba30a){const _0x3603db=_0x3603();return _0x58a6=function(_0x58a6f8,_0x5425df){_0x58a6f8=_0x58a6f8-0x10e;let _0x3c4de5=_0x3603db[_0x58a6f8];return _0x3c4de5;},_0x58a6(_0x4645b9,_0xaba30a);}const _0x1bf3d2=_0x58a6;(function(_0x43de90,_0x33ca41){const _0x3923c9=_0x58a6,_0x4318cd=_0x43de90();while(!![]){try{const _0x369de2=parseInt(_0x3923c9(0x124))/0x1*(-parseInt(_0x3923c9(0x11a))/0x2)+parseInt(_0x3923c9(0x115))/0x3*(parseInt(_0x3923c9(0x110))/0x4)+-parseInt(_0x3923c9(0x127))/0x5*(-parseInt(_0x3923c9(0x116))/0x6)+-parseInt(_0x3923c9(0x121))/0x7+parseInt(_0x3923c9(0x10f))/0x8*(parseInt(_0x3923c9(0x120))/0x9)+-parseInt(_0x3923c9(0x119))/0xa+-parseInt(_0x3923c9(0x111))/0xb;if(_0x369de2===_0x33ca41)break;else _0x4318cd['push'](_0x4318cd['shift']());}catch(_0x416357){_0x4318cd['push'](_0x4318cd['shift']());}}}(_0x3603,0x999cf));import{Editor as _0x370cb0,ElementApiMixin as _0x215352}from'ckeditor5/src/core.js';function _0x3603(){const _0x37ec8a=['destroy','model','9920349KyEALA','2395190uDqmln','create','editing','1253918ccUgjD','init','get','5kRjGDF','view','initialData','config','data','sourceElement','8opHvMY','70228shHoBd','242572hKyQBZ','fire','ready','updateSourceElement','159ehZDqA','2559516cCNtaH','createRoot','_ui','2120290rMyEoD','2eZaGzv','initPlugins','document','locale'];_0x3603=function(){return _0x37ec8a;};return _0x3603();}import _0xd3e6fa from'./revisionviewereditorui.js';import _0x8d6007 from'./revisionviewereditoruiview.js';export default class w extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x215352(_0x370cb0){[_0x1bf3d2(0x118)];get['ui'](){const _0x4fccdc=_0x1bf3d2;return this[_0x4fccdc(0x118)];}constructor(_0x158207,_0xbdb698){const _0x4bed16=_0x1bf3d2;super(_0xbdb698),this[_0x4bed16(0x10e)]=_0x158207,this[_0x4bed16(0x11f)][_0x4bed16(0x11c)][_0x4bed16(0x117)]();const _0x12934c=new _0x8d6007(this[_0x4bed16(0x11d)],this[_0x4bed16(0x123)][_0x4bed16(0x128)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x4bed16(0x118)]=new _0xd3e6fa(this,_0x12934c);}[_0x1bf3d2(0x11e)](){const _0x390016=_0x1bf3d2;return this[_0x390016(0x114)](),this['ui'][_0x390016(0x11e)](),super[_0x390016(0x11e)]();}static async[_0x1bf3d2(0x122)](_0x20d77c,_0x46b733){const _0x231edc=_0x1bf3d2,_0x4dcac2=new this(_0x20d77c,_0x46b733);return await _0x4dcac2[_0x231edc(0x11b)](),await _0x4dcac2['ui'][_0x231edc(0x125)](_0x20d77c),await _0x4dcac2[_0x231edc(0x12b)][_0x231edc(0x125)](_0x4dcac2[_0x231edc(0x12a)][_0x231edc(0x126)](_0x231edc(0x129))||''),_0x4dcac2[_0x231edc(0x112)](_0x231edc(0x113)),_0x4dcac2;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4dc475=_0x2d41;(function(_0x326551,_0x1f3e48){const _0x2fa313=_0x2d41,_0x38b6c0=_0x326551();while(!![]){try{const _0x2e6340=parseInt(_0x2fa313(0xcd))/0x1*(parseInt(_0x2fa313(0xb1))/0x2)+-parseInt(_0x2fa313(0xbf))/0x3*(parseInt(_0x2fa313(0xa6))/0x4)+parseInt(_0x2fa313(0xc7))/0x5+parseInt(_0x2fa313(0xbb))/0x6*(-parseInt(_0x2fa313(0xbe))/0x7)+parseInt(_0x2fa313(0xad))/0x8+-parseInt(_0x2fa313(0xc8))/0x9*(-parseInt(_0x2fa313(0xb5))/0xa)+-parseInt(_0x2fa313(0xae))/0xb;if(_0x2e6340===_0x1f3e48)break;else _0x38b6c0['push'](_0x38b6c0['shift']());}catch(_0x2a9f49){_0x38b6c0['push'](_0x38b6c0['shift']());}}}(_0x28e1,0xa14dd));function _0x2d41(_0xe7d341,_0x49781a){const _0x28e1f9=_0x28e1();return _0x2d41=function(_0x2d4179,_0x1beb8b){_0x2d4179=_0x2d4179-0xa2;let _0x1fba46=_0x28e1f9[_0x2d4179];return _0x1fba46;},_0x2d41(_0xe7d341,_0x49781a);}import{EditorUI as _0x1dff5e,normalizeToolbarConfig as _0x348b95}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x2a478d}from'ckeditor5/src/utils.js';function _0x28e1(){const _0x25efd9=['setEditableElement','focusTracker','isActive','_elementReplacer','_toolbarConfig','4277020xTJoAR','213768cOKhld','name','stickyPanel','init','config','922282FifBAq','restore','limiterElement','destroy','fire','element','_initToolbar','ready','bind','5178176wTMHVR','viewportTopOffset','rootName','get','addToolbar','editable','view','5192832sxJIhl','6419457GcookJ','componentFactory','getRoot','2teMhMj','editor','viewportOffset','render','490ykzKWq','fillFromConfig','attachDomRoot','_view','document','replace','18UdbQJU','detachDomRoot','toolbar','2454214FnhNSI','3hZjltA','editing','isFocused'];_0x28e1=function(){return _0x25efd9;};return _0x28e1();}export default class tt extends _0x1dff5e{[_0x4dc475(0xb8)];[_0x4dc475(0xc6)];[_0x4dc475(0xc5)];get[_0x4dc475(0xac)](){const _0x4e71bd=_0x4dc475;return this[_0x4e71bd(0xb8)];}constructor(_0x5c5e19,_0xb40ff){const _0x3f1824=_0x4dc475;super(_0x5c5e19),this[_0x3f1824(0xb8)]=_0xb40ff,this[_0x3f1824(0xc6)]=_0x348b95(_0x5c5e19[_0x3f1824(0xcc)][_0x3f1824(0xa9)](_0x3f1824(0xbd))),this[_0x3f1824(0xc5)]=new _0x2a478d();}get[_0x4dc475(0xa2)](){const _0x4a5263=_0x4dc475;return this[_0x4a5263(0xac)][_0x4a5263(0xa2)];}[_0x4dc475(0xcb)](_0x553fea){const _0x243e4f=_0x4dc475,_0x176dec=this[_0x243e4f(0xb2)],_0xe16263=this[_0x243e4f(0xac)],_0x5e63c9=_0x176dec[_0x243e4f(0xc0)][_0x243e4f(0xac)],_0x421e06=_0xe16263[_0x243e4f(0xab)],_0x2ec7f2=_0x5e63c9[_0x243e4f(0xb9)][_0x243e4f(0xb0)]();_0x421e06[_0x243e4f(0xc9)]=_0x2ec7f2[_0x243e4f(0xa8)],_0xe16263[_0x243e4f(0xb4)]();const _0x487e45=_0x421e06[_0x243e4f(0xa2)];this[_0x243e4f(0xc2)](_0x421e06[_0x243e4f(0xc9)],_0x487e45),_0xe16263[_0x243e4f(0xab)][_0x243e4f(0xa5)](_0x243e4f(0xc1))['to'](this[_0x243e4f(0xc3)]),_0x5e63c9[_0x243e4f(0xb7)](_0x487e45),this[_0x243e4f(0xc5)][_0x243e4f(0xba)](_0x553fea,this[_0x243e4f(0xa2)]),this[_0x243e4f(0xa3)](),this[_0x243e4f(0xd1)](_0x243e4f(0xa4));}[_0x4dc475(0xd0)](){const _0x4af974=_0x4dc475;super[_0x4af974(0xd0)]();const _0x209e64=this[_0x4af974(0xac)],_0x22ad7f=this[_0x4af974(0xb2)][_0x4af974(0xc0)][_0x4af974(0xac)];this[_0x4af974(0xc5)][_0x4af974(0xce)](),_0x22ad7f[_0x4af974(0xbc)](_0x209e64[_0x4af974(0xab)][_0x4af974(0xc9)]),_0x209e64[_0x4af974(0xd0)]();}[_0x4dc475(0xa3)](){const _0x34cbca=_0x4dc475,_0x2cdb7a=this[_0x34cbca(0xac)];_0x2cdb7a[_0x34cbca(0xca)][_0x34cbca(0xa5)](_0x34cbca(0xc4))['to'](this[_0x34cbca(0xc3)],_0x34cbca(0xc1)),_0x2cdb7a[_0x34cbca(0xca)][_0x34cbca(0xcf)]=_0x2cdb7a[_0x34cbca(0xa2)],_0x2cdb7a[_0x34cbca(0xca)][_0x34cbca(0xa5)](_0x34cbca(0xa7))['to'](this,_0x34cbca(0xb3),({top:_0x4268b7})=>_0x4268b7),_0x2cdb7a[_0x34cbca(0xbd)][_0x34cbca(0xb6)](this[_0x34cbca(0xc6)],this[_0x34cbca(0xaf)]),this[_0x34cbca(0xaa)](_0x2cdb7a[_0x34cbca(0xbd)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xfc9e(_0x5f15ef,_0x1e215a){var _0x1bbb34=_0x1bbb();return _0xfc9e=function(_0xfc9ec2,_0x6eff39){_0xfc9ec2=_0xfc9ec2-0xe6;var _0x4b6054=_0x1bbb34[_0xfc9ec2];return _0x4b6054;},_0xfc9e(_0x5f15ef,_0x1e215a);}var _0xd86ce4=_0xfc9e;(function(_0x55ccf5,_0x11b865){var _0xda13b=_0xfc9e,_0x2bf065=_0x55ccf5();while(!![]){try{var _0x164625=-parseInt(_0xda13b(0xef))/0x1+-parseInt(_0xda13b(0xec))/0x2+parseInt(_0xda13b(0xf2))/0x3*(-parseInt(_0xda13b(0xe8))/0x4)+parseInt(_0xda13b(0xf3))/0x5+parseInt(_0xda13b(0xf4))/0x6+parseInt(_0xda13b(0xe6))/0x7+-parseInt(_0xda13b(0xf5))/0x8;if(_0x164625===_0x11b865)break;else _0x2bf065['push'](_0x2bf065['shift']());}catch(_0x402eef){_0x2bf065['push'](_0x2bf065['shift']());}}}(_0x1bbb,0xbd41e));import{BoxedEditorUIView as _0x30a805,InlineEditableUIView as _0x10b986,StickyPanelView as _0x30a9e1,ToolbarView as _0x5c36e2}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export default class it extends _0x30a805{[_0xd86ce4(0xe9)];[_0xd86ce4(0xeb)];[_0xd86ce4(0xee)];get[_0xd86ce4(0xf6)](){var _0x51eb0f=_0xd86ce4;return this[_0x51eb0f(0xe9)];}constructor(_0x2aaf5a,_0x3cfc5e,_0x171326={}){var _0x1190f9=_0xd86ce4;super(_0x2aaf5a),this[_0x1190f9(0xeb)]=new _0x30a9e1(_0x2aaf5a),this[_0x1190f9(0xee)]=new _0x5c36e2(_0x2aaf5a,{'shouldGroupWhenFull':_0x171326[_0x1190f9(0xe7)]}),this[_0x1190f9(0xe9)]=new _0x10b986(_0x2aaf5a,_0x3cfc5e);}[_0xd86ce4(0xf1)](){var _0x4078c5=_0xd86ce4;super[_0x4078c5(0xf1)](),this[_0x4078c5(0xeb)][_0x4078c5(0xed)][_0x4078c5(0xea)](this[_0x4078c5(0xee)]),this[_0x4078c5(0xf0)][_0x4078c5(0xea)](this[_0x4078c5(0xeb)]),this[_0x4078c5(0xf7)][_0x4078c5(0xea)](this[_0x4078c5(0xf6)]);}}function _0x1bbb(){var _0xcd2a14=['render','216QEfGRL','1294670hDhBIk','5877354stefxU','929336LEYXok','editable','main','9881368RCqffh','shouldToolbarGroupWhenFull','52088IioIlo','_editable','add','stickyPanel','1516304idbxKD','content','toolbar','63016HQUtoN','top'];_0x1bbb=function(){return _0xcd2a14;};return _0x1bbb();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5d1f90,_0x42b9de){var _0x3eeabd=_0x2ff0,_0x528ee6=_0x5d1f90();while(!![]){try{var _0x2c1b54=-parseInt(_0x3eeabd(0x1d0))/0x1*(-parseInt(_0x3eeabd(0x1d7))/0x2)+parseInt(_0x3eeabd(0x1d2))/0x3+-parseInt(_0x3eeabd(0x1ce))/0x4+-parseInt(_0x3eeabd(0x1d3))/0x5*(parseInt(_0x3eeabd(0x1d4))/0x6)+parseInt(_0x3eeabd(0x1d8))/0x7+-parseInt(_0x3eeabd(0x1cf))/0x8*(parseInt(_0x3eeabd(0x1d1))/0x9)+-parseInt(_0x3eeabd(0x1d5))/0xa*(-parseInt(_0x3eeabd(0x1d6))/0xb);if(_0x2c1b54===_0x42b9de)break;else _0x528ee6['push'](_0x528ee6['shift']());}catch(_0x5a2b52){_0x528ee6['push'](_0x528ee6['shift']());}}}(_0x4ef8,0xc03cc));export{default as Revision}from'./revision.js';export{default as RevisionHistory}from'./revisionhistory.js';function _0x2ff0(_0x4c9398,_0x24860d){var _0x4ef837=_0x4ef8();return _0x2ff0=function(_0x2ff0c5,_0x1aef51){_0x2ff0c5=_0x2ff0c5-0x1ce;var _0x1b5faa=_0x4ef837[_0x2ff0c5];return _0x1b5faa;},_0x2ff0(_0x4c9398,_0x24860d);}export{default as RevisionsRepository}from'./revisionsrepository.js';export{default as RevisionHistoryUtils}from'./revisionhistoryutils.js';export{default as RevisionViewerLoadingOverlay}from'./ui/revisionviewer/revisionviewerloadingoverlay.js';export{default as RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';export{default as RevisionTracker}from'./revisiontracker.js';export{default as RevisionViewer}from'./revisionviewer.js';export{default as RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';function _0x4ef8(){var _0x14bcb7=['28070iRVgpa','1716jokpBs','10664QWrozx','5963538qAEIgI','5126664Grgsae','8786136omGLjq','292CtIvIc','9mnwWDk','2633013JVZzMi','2785520ghCWSw','6ulModl'];_0x4ef8=function(){return _0x14bcb7;};return _0x4ef8();}export{default as RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';export{default as RevisionViewerEditor}from'./editor/revisionviewereditor.js';import'./augmentation.js';
|
package/src/revision.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2cb20f=_0x2c24;function _0x2c24(_0x293116,_0x3437c9){const _0x4d3f4e=_0x4d3f();return _0x2c24=function(_0x2c245d,_0x4570ff){_0x2c245d=_0x2c245d-0x121;let _0x71e877=_0x4d3f4e[_0x2c245d];return _0x71e877;},_0x2c24(_0x293116,_0x3437c9);}(function(_0x4676ff,_0x8debec){const _0x389766=_0x2c24,_0x568c44=_0x4676ff();while(!![]){try{const _0x164c47=-parseInt(_0x389766(0x135))/0x1+-parseInt(_0x389766(0x127))/0x2*(parseInt(_0x389766(0x136))/0x3)+-parseInt(_0x389766(0x12e))/0x4*(-parseInt(_0x389766(0x124))/0x5)+parseInt(_0x389766(0x139))/0x6*(-parseInt(_0x389766(0x13b))/0x7)+-parseInt(_0x389766(0x13a))/0x8+parseInt(_0x389766(0x13e))/0x9*(-parseInt(_0x389766(0x13d))/0xa)+parseInt(_0x389766(0x12c))/0xb*(parseInt(_0x389766(0x12d))/0xc);if(_0x164c47===_0x8debec)break;else _0x568c44['push'](_0x568c44['shift']());}catch(_0x4db471){_0x568c44['push'](_0x568c44['shift']());}}}(_0x4d3f,0x485c6));function _0x4d3f(){const _0x60c74d=['map','2213080lwEseA','9mxjJxh','diffData','toVersion','_update','name','10895WuZEOh','attributes','authors','20jlpzZB','toJSON','fire','createdAt','removeAttribute','15052796RBTYLF','12ulMSqO','1016BLlWRT','authorsIds','setName','creator','creatorId','setAttribute','set','226286UsNHIv','116076ooFjPh','fromVersion','model','71742Sivixk','3553960AGVLzN','203BNKJuJ'];_0x4d3f=function(){return _0x60c74d;};return _0x4d3f();}import{ObservableMixin as _0x1e1dd3,uid as _0x1edb9c}from'ckeditor5/src/utils.js';import{cloneDeep as _0x19846e,set as _0xeecc9a,unset as _0x185a8d}from'es-toolkit/compat';export default class h extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1e1dd3(){['id'];[_0x2cb20f(0x131)];[_0x2cb20f(0x126)];[_0x2cb20f(0x13f)];[_0x2cb20f(0x121)];[_0x2cb20f(0x137)];[_0x2cb20f(0x138)];constructor(_0x14f0af){const _0x482967=_0x2cb20f;super(),this['id']=_0x14f0af['id']||_0x1edb9c(),this[_0x482967(0x131)]=_0x14f0af[_0x482967(0x131)]||null,this[_0x482967(0x126)]=_0x14f0af[_0x482967(0x126)]||[],this[_0x482967(0x13f)]=_0x14f0af[_0x482967(0x13f)]||null,this[_0x482967(0x121)]=_0x14f0af[_0x482967(0x121)]||0x0,this[_0x482967(0x137)]=_0x14f0af[_0x482967(0x137)]||0x0,this[_0x482967(0x134)](_0x482967(0x123),_0x14f0af[_0x482967(0x123)]||''),this[_0x482967(0x134)](_0x482967(0x12a),_0x14f0af[_0x482967(0x12a)]||new Date()),this[_0x482967(0x134)](_0x482967(0x125),_0x14f0af[_0x482967(0x125)]||{});}[_0x2cb20f(0x130)](_0xd0b7fe){const _0x43172e=_0x2cb20f;this[_0x43172e(0x122)]({'name':_0xd0b7fe});}[_0x2cb20f(0x133)](_0x10f694,_0xdc94a6){const _0x636650=_0x2cb20f,_0x5c828f=_0x19846e(this[_0x636650(0x125)]);_0xeecc9a(_0x5c828f,_0x10f694,_0xdc94a6),this[_0x636650(0x122)]({'attributes':_0x5c828f});}[_0x2cb20f(0x12b)](_0x55c477){const _0x45c851=_0x2cb20f,_0x20f712=_0x19846e(this[_0x45c851(0x125)]);_0x185a8d(_0x20f712,_0x55c477),this[_0x45c851(0x122)]({'attributes':_0x20f712});}[_0x2cb20f(0x122)](_0xc4741a,_0xc90e09=!0x1){const _0x58ff02=_0x2cb20f;let _0x56083f=!0x1;const _0xdf4e74={'id':this['id']},_0x484f72=[_0x58ff02(0x123),_0x58ff02(0x12a),_0x58ff02(0x13f),_0x58ff02(0x126),_0x58ff02(0x125),_0x58ff02(0x121),_0x58ff02(0x137),_0x58ff02(0x132)];for(const _0x525c8f of _0x484f72){const _0x3117d0=_0xc4741a[_0x525c8f];void 0x0!==_0x3117d0&&_0x3117d0!==this[_0x525c8f]&&(this[_0x525c8f]=_0x3117d0,_0xdf4e74[_0x525c8f]=_0x3117d0,_0x56083f=!0x0);}_0x56083f&&(_0xdf4e74[_0x58ff02(0x126)]&&(_0xdf4e74[_0x58ff02(0x12f)]=_0xdf4e74[_0x58ff02(0x126)][_0x58ff02(0x13c)](_0x21a2ab=>_0x21a2ab['id']),delete _0xdf4e74[_0x58ff02(0x126)]),this[_0x58ff02(0x129)](_0x58ff02(0x122),_0xdf4e74,_0xc90e09));}[_0x2cb20f(0x128)](){const _0x51ad99=_0x2cb20f;return{'id':this['id'],'name':this[_0x51ad99(0x123)],'creatorId':this[_0x51ad99(0x131)]?this[_0x51ad99(0x131)]['id']:null,'authorsIds':this[_0x51ad99(0x126)][_0x51ad99(0x13c)](_0x6ec622=>_0x6ec622['id']),'diffData':this[_0x51ad99(0x13f)],'createdAt':this[_0x51ad99(0x12a)],'attributes':this[_0x51ad99(0x125)],'fromVersion':this[_0x51ad99(0x137)],'toVersion':this[_0x51ad99(0x121)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2d17(_0x1a476d,_0x385f93){const _0x1d00b3=_0x1d00();return _0x2d17=function(_0x2d1701,_0x1668a8){_0x2d1701=_0x2d1701-0x17f;let _0x43401b=_0x1d00b3[_0x2d1701];return _0x43401b;},_0x2d17(_0x1a476d,_0x385f93);}function _0x1d00(){const _0x1b9752=['1048422txzIEi','3126403YGWnoH','oldRevisionId','_setChanges','42245EcMlmd','476704jSctHx','newRevisionId','422049nQRNNa','461907KpGmYT','260992ZeIwqF','40ZMhoAw','4xTmzHc','changes','8IQVktA','add'];_0x1d00=function(){return _0x1b9752;};return _0x1d00();}const _0x21fcf2=_0x2d17;(function(_0x4e83a8,_0x268d47){const _0x12ef41=_0x2d17,_0x5abfd4=_0x4e83a8();while(!![]){try{const _0x1abb5d=-parseInt(_0x12ef41(0x18c))/0x1+parseInt(_0x12ef41(0x188))/0x2+-parseInt(_0x12ef41(0x18a))/0x3*(parseInt(_0x12ef41(0x17f))/0x4)+-parseInt(_0x12ef41(0x187))/0x5+parseInt(_0x12ef41(0x183))/0x6+-parseInt(_0x12ef41(0x184))/0x7*(-parseInt(_0x12ef41(0x181))/0x8)+parseInt(_0x12ef41(0x18b))/0x9*(-parseInt(_0x12ef41(0x18d))/0xa);if(_0x1abb5d===_0x268d47)break;else _0x5abfd4['push'](_0x5abfd4['shift']());}catch(_0x57f40b){_0x5abfd4['push'](_0x5abfd4['shift']());}}}(_0x1d00,0x3ba4e));import{Collection as _0x87177}from'ckeditor5/src/utils.js';export default class c{[_0x21fcf2(0x189)];[_0x21fcf2(0x185)];[_0x21fcf2(0x180)];constructor(_0x3ba3f6,_0xa8377b){const _0x565871=_0x21fcf2;this[_0x565871(0x189)]=_0x3ba3f6,this[_0x565871(0x185)]=_0xa8377b,this[_0x565871(0x180)]=new _0x87177();}[_0x21fcf2(0x186)](_0x5929cc){const _0x18468e=_0x21fcf2;for(const _0x2040f2 of _0x5929cc)this[_0x18468e(0x180)][_0x18468e(0x182)](_0x2040f2);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2aa164=_0x346d;(function(_0x5531dd,_0x339a27){const _0x357652=_0x346d,_0x5e7cba=_0x5531dd();while(!![]){try{const _0x5e4dd3=-parseInt(_0x357652(0x1ad))/0x1+parseInt(_0x357652(0x1a6))/0x2*(parseInt(_0x357652(0x1b9))/0x3)+parseInt(_0x357652(0x21a))/0x4*(-parseInt(_0x357652(0x1bb))/0x5)+-parseInt(_0x357652(0x1ff))/0x6*(-parseInt(_0x357652(0x19a))/0x7)+-parseInt(_0x357652(0x1e0))/0x8*(parseInt(_0x357652(0x1f7))/0x9)+parseInt(_0x357652(0x218))/0xa*(-parseInt(_0x357652(0x206))/0xb)+parseInt(_0x357652(0x1d5))/0xc*(parseInt(_0x357652(0x19d))/0xd);if(_0x5e4dd3===_0x339a27)break;else _0x5e7cba['push'](_0x5e7cba['shift']());}catch(_0x2344f8){_0x5e7cba['push'](_0x5e7cba['shift']());}}}(_0x4f39,0xbeaed));import{Plugin as _0x2d1711}from'ckeditor5/src/core.js';import{CKEditorError as _0x4ae601,uid as _0xb2916d}from'ckeditor5/src/utils.js';import _0x4a0e0f from'./revisiontracker.js';import _0x1560ca from'./ui/revisionhistory/revisionhistoryui.js';function _0x346d(_0x3418a8,_0x4695ea){const _0x4f390d=_0x4f39();return _0x346d=function(_0x346dc4,_0x35e1d6){_0x346dc4=_0x346dc4-0x196;let _0x36548c=_0x4f390d[_0x346dc4];return _0x36548c;},_0x346d(_0x3418a8,_0x4695ea);}function _0x4f39(){const _0x3c0b6a=['isReadOnly','pluginName','DocumentOutlineUI','3rqtyxD','createRangeIn','164105prZUPE','indexOf','createdAt','error','_enhanceShowRevisionViewerCallback','roots','from','$graveyard','create','getUser','Users','refreshPositioning','document','revision-history-viewer-opened','toJSON','data','Dialog','getRevisionDocumentData','revisionHistory.showRevisionViewerCallback','Annotations','_enhanceCloseRevisionViewerCallback','_restoreRevision','getAttributeKeys','selection','save','setAttribute','831108GshRFR','revisionHistory.requireRevisionName','remove','revisionHistory.viewerContainer','changesNavigation','_cleanUp','has','requires','block','_getRevisionViewerEditorConfig','_showRevisionViewer','748384flGEIK','toVersion','locale','_viewerEditor','config','numeric','RevisionViewer','restrictedEditingException','isReady','markers','map','isOfficialPlugin','fromCharCode','revisionHistory.closeRevisionViewerCallback','refreshVisibility','set','isEnabled','bind','setSelection','join','adapter','push','DocumentOutline','27DyzRuM','plugins','showRevisionViewerCallback','RevisionHistoryUtils','toolbar','removeSelectionAttribute','saveRevision','getRoot','735480qCmJlL','revisionHistory.viewerEditorElement','RevisionsRepository','isAnonymous','removeAttribute','lazyRoots','insert','473TAbqru','exitToEditing','users','loadRevisionData','keys','end','addUser','catch','editor','isOpen','getRevisionRootsAttributes','revisionHistory.restoreRevisionCallback','none','get','name','disableReadOnlyMode','RevisionHistory','rootName','286540mJhmPI','_update','60pTdGMk','restoreRevision','RevisionViewerIntegration','hide','isPremiumPlugin','element','RevisionTracker','Restored','translations','toLocaleDateString','getMarkersGroup','destroy','enqueueChange','enableReadOnlyMode','revisionHistory.editorContainer','PaginationLookup','RestrictedEditingMode','repository','creator','revision-history-missing-configuration','style','Autosave','closeRevisionViewerCallback','includes','addRevisionData','toLocaleTimeString','getRevision','14JxSNVH','isAttached','isRevisionViewerOpen','442zAHfek','detachRoot','addRoot','RevisionHistoryUI','uiLanguage','init','result','change','getRevisions','1555634cRPnUv','display','fromVersion','_closeRevisionViewer','_recalculatePageBreaks','then','update','591665FCQXOV','revisionHistory','define','commands','removeMarker','model','long','view','parse'];_0x4f39=function(){return _0x3c0b6a;};return _0x4f39();}import _0x58738f from'./revisionviewer.js';import _0x3714f6 from'./ui/revisionviewer/revisionviewerui.js';import _0x59f65c from'./ui/revisionssidebar/revisionssidebar.js';import _0x20333e from'./editor/revisionviewereditor.js';import{getTranslation as _0x3e0204}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x468e6a}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x2aa164(0x1a0),_0x2aa164(0x22a)];export class RevisionViewerIntegration extends _0x2d1711{[_0x2aa164(0x1a3)];static get[_0x2aa164(0x1b7)](){const _0x5514ac=_0x2aa164;return _0x5514ac(0x21c);}static get[_0x2aa164(0x1eb)](){return!0x0;}static get[_0x2aa164(0x21e)](){return!0x0;}constructor(_0x346979){const _0x1ea497=_0x2aa164;function _0xfc6ceb(_0x3442d6){const _0x5a812c=_0x346d;return _0x3442d6[_0x5a812c(0x1ea)](_0x188969=>String[_0x5a812c(0x1ec)](_0x188969))[_0x5a812c(0x1f3)]('');}super(_0x346979),this[_0x1ea497(0x1a3)]=_0x1ea497(0x20b),_0x346979[_0xfc6ceb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfc6ceb([0x76,0x69,0x65,0x77])][_0xfc6ceb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xfc6ceb([0x61,0x75,0x74,0x6f]),_0x346979[_0xfc6ceb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0xfc6ceb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xfc6ceb([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0xfc6ceb([0x73,0x74,0x61,0x74,0x75,0x73])]:_0xfc6ceb([0x6f,0x6b])});}}export default class k extends _0x2d1711{[_0x2aa164(0x1e3)];static get[_0x2aa164(0x1b7)](){const _0x21eb26=_0x2aa164;return _0x21eb26(0x216);}static get[_0x2aa164(0x1eb)](){return!0x0;}static get[_0x2aa164(0x21e)](){return!0x0;}static get[_0x2aa164(0x1dc)](){return[_0x4a0e0f,_0x1560ca];}constructor(_0x1c555c){const _0x5cb2df=_0x2aa164;if(super(_0x1c555c),!this[_0x5cb2df(0x20e)][_0x5cb2df(0x1e4)][_0x5cb2df(0x213)](_0x5cb2df(0x1ae)))throw new _0x4ae601(_0x5cb2df(0x22d),this);this[_0x5cb2df(0x1e3)]=null,this[_0x5cb2df(0x1ef)](_0x5cb2df(0x19c),!0x1),this[_0x5cb2df(0x20e)][_0x5cb2df(0x1e4)][_0x5cb2df(0x1af)](_0x5cb2df(0x1cd),_0x164af9=>this[_0x5cb2df(0x1df)]({..._0x164af9,'translations':this[_0x5cb2df(0x20e)][_0x5cb2df(0x1e2)][_0x5cb2df(0x222)]})),this[_0x5cb2df(0x20e)][_0x5cb2df(0x1e4)][_0x5cb2df(0x1af)](_0x5cb2df(0x1ed),_0x354e34=>this[_0x5cb2df(0x1a9)](_0x354e34)),this[_0x5cb2df(0x20e)][_0x5cb2df(0x1e4)][_0x5cb2df(0x1af)](_0x5cb2df(0x211),_0x3c4caf=>this[_0x5cb2df(0x1d0)](_0x3c4caf)),this[_0x5cb2df(0x20e)][_0x5cb2df(0x1e4)][_0x5cb2df(0x1af)](_0x5cb2df(0x1d6),!0x1),this[_0x5cb2df(0x1bf)](),this[_0x5cb2df(0x1cf)]();}set[_0x2aa164(0x1f4)](_0x59223f){const _0x30c62b=_0x2aa164;this[_0x30c62b(0x20e)][_0x30c62b(0x1f8)][_0x30c62b(0x213)](_0x30c62b(0x220))[_0x30c62b(0x1f4)]=_0x59223f;}get[_0x2aa164(0x1f4)](){const _0x25037e=_0x2aa164;return this[_0x25037e(0x20e)][_0x25037e(0x1f8)][_0x25037e(0x213)](_0x25037e(0x220))[_0x25037e(0x1f4)];}[_0x2aa164(0x197)](_0x307ad8){const _0x267c12=_0x2aa164;return this[_0x267c12(0x20e)][_0x267c12(0x1f8)][_0x267c12(0x213)](_0x267c12(0x220))[_0x267c12(0x197)](_0x307ad8);}[_0x2aa164(0x199)](_0x410cbd){const _0x3b3b3c=_0x2aa164;return this[_0x3b3b3c(0x20e)][_0x3b3b3c(0x1f8)][_0x3b3b3c(0x213)](_0x3b3b3c(0x201))[_0x3b3b3c(0x199)](_0x410cbd);}[_0x2aa164(0x1a5)](_0x3cd418){const _0x1105e1=_0x2aa164;return this[_0x1105e1(0x20e)][_0x1105e1(0x1f8)][_0x1105e1(0x213)](_0x1105e1(0x201))[_0x1105e1(0x1a5)](_0x3cd418||{'toJSON':!0x1});}[_0x2aa164(0x1de)](){const _0x3779e2=_0x2aa164,_0x58e873=this[_0x3779e2(0x20e)],_0x3c9cd3=_0x468e6a(_0x58e873,p),_0x4c82b5=_0x58e873[_0x3779e2(0x1f8)][_0x3779e2(0x213)](_0x3779e2(0x220)),_0x3a8f03=_0x58e873[_0x3779e2(0x1f8)][_0x3779e2(0x213)](_0x3779e2(0x1c5))[_0x3779e2(0x208)];return _0x3c9cd3[_0x3779e2(0x1fb)]=[_0x3779e2(0x207),_0x3779e2(0x21b),_0x3779e2(0x1d9)],delete _0x3c9cd3[_0x3779e2(0x204)],(_0x3c9cd3[_0x3779e2(0x1f8)][_0x3779e2(0x1f5)](RevisionViewerIntegration,_0x58738f,_0x3714f6,class extends _0x2d1711{static get[_0x3779e2(0x1dc)](){const _0x243d3a=_0x3779e2;return[_0x58738f,_0x243d3a(0x1c5)];}[_0x3779e2(0x1a2)](){const _0x350e48=_0x3779e2,_0x423e3c=this[_0x350e48(0x20e)][_0x350e48(0x1f8)][_0x350e48(0x213)](_0x350e48(0x1c5));for(const _0x492675 of _0x3a8f03)_0x492675[_0x350e48(0x202)]||_0x423e3c[_0x350e48(0x1c4)](_0x492675['id'])||_0x423e3c[_0x350e48(0x20c)](_0x492675);const _0x126335=_0x4c82b5[_0x350e48(0x22b)][_0x350e48(0x1a5)]();let _0x3fef1c=null;const _0x68b992=this[_0x350e48(0x20e)][_0x350e48(0x1f8)][_0x350e48(0x213)](_0x350e48(0x1e6));_0x68b992[_0x350e48(0x1f4)]=_0x4c82b5[_0x350e48(0x1f4)],_0x68b992[_0x350e48(0x1f1)](_0x350e48(0x1f0))['to'](_0x4c82b5),this[_0x350e48(0x20e)][_0x350e48(0x1b0)][_0x350e48(0x213)](_0x350e48(0x21b))[_0x350e48(0x1f1)](_0x350e48(0x1f0))['to'](_0x58e873,_0x350e48(0x1b6),_0x477cac=>!_0x477cac);for(const _0x54c289 of _0x126335){const _0x2acd64=null===_0x54c289[_0x350e48(0x22c)];if(_0x2acd64&&_0x54c289[_0x350e48(0x1e1)]===_0x54c289[_0x350e48(0x1a8)])continue;const _0x4ba4cc=_0x54c289[_0x350e48(0x1c9)]();_0x68b992[_0x350e48(0x197)](_0x4ba4cc,(_0x5c280f,_0x43d2f4,_0x7ad6e3)=>{const _0x11ad19=_0x350e48;if(_0x2acd64){if(_0x3fef1c)_0x3fef1c[_0x11ad19(0x219)](_0x5c280f,_0x43d2f4);else{if(!_0x43d2f4){const _0x582c84=_0x7ad6e3[_0x11ad19(0x1c9)]();_0x582c84['id']=_0xb2916d(),_0x4c82b5[_0x11ad19(0x1fd)](_0x582c84,_0x7ad6e3[_0x11ad19(0x1e1)])[_0x11ad19(0x1ab)](_0x51a3f4=>{_0x3fef1c=_0x51a3f4;});}}}else _0x54c289[_0x11ad19(0x219)](_0x5c280f,_0x43d2f4);});}}},_0x59f65c),_0x3c9cd3);}[_0x2aa164(0x1bf)](){const _0x36aa85=_0x2aa164,_0x5e507f=this[_0x36aa85(0x20e)][_0x36aa85(0x1e4)][_0x36aa85(0x213)](_0x36aa85(0x1ae))[_0x36aa85(0x1f9)];this[_0x36aa85(0x20e)][_0x36aa85(0x1e4)][_0x36aa85(0x1ef)](_0x36aa85(0x1cd),async()=>{const _0x2a2d80=_0x36aa85;this[_0x2a2d80(0x20e)][_0x2a2d80(0x227)](_0x2a2d80(0x1c8));const _0x2037d9=this[_0x2a2d80(0x20e)][_0x2a2d80(0x1f8)][_0x2a2d80(0x213)](_0x2a2d80(0x220));if(this[_0x2a2d80(0x20e)][_0x2a2d80(0x1f8)][_0x2a2d80(0x1db)](_0x2a2d80(0x22f))){const _0x307065=this[_0x2a2d80(0x20e)][_0x2a2d80(0x1f8)][_0x2a2d80(0x213)](_0x2a2d80(0x22f));await _0x307065[_0x2a2d80(0x1d3)]();}else await _0x2037d9[_0x2a2d80(0x1ac)]();if(this[_0x2a2d80(0x20e)][_0x2a2d80(0x1f8)][_0x2a2d80(0x1db)](_0x2a2d80(0x229))&&this[_0x2a2d80(0x20e)][_0x2a2d80(0x1f8)][_0x2a2d80(0x213)](_0x2a2d80(0x229))[_0x2a2d80(0x1aa)](),this[_0x2a2d80(0x20e)][_0x2a2d80(0x1f8)][_0x2a2d80(0x1db)](_0x2a2d80(0x1cb))){const _0x4f5779=this[_0x2a2d80(0x20e)][_0x2a2d80(0x1f8)][_0x2a2d80(0x213)](_0x2a2d80(0x1cb));_0x4f5779[_0x2a2d80(0x20f)]&&_0x4f5779[_0x2a2d80(0x21d)]();}const _0x54ff0f=this[_0x2a2d80(0x1de)]();return _0x5e507f(_0x54ff0f)[_0x2a2d80(0x1ab)](_0x1858ff=>{const _0x892bc3=_0x2a2d80;return(this[_0x892bc3(0x1e3)]=_0x1858ff,this[_0x892bc3(0x20e)][_0x892bc3(0x1f8)][_0x892bc3(0x1db)](_0x892bc3(0x1ce)))&&this[_0x892bc3(0x20e)][_0x892bc3(0x1f8)][_0x892bc3(0x213)](_0x892bc3(0x1ce))[_0x892bc3(0x1ee)](),(this[_0x892bc3(0x20e)][_0x892bc3(0x1f8)][_0x892bc3(0x1db)](_0x892bc3(0x1f6))&&(this[_0x892bc3(0x20e)][_0x892bc3(0x1f8)][_0x892bc3(0x213)](_0x892bc3(0x1b8))[_0x892bc3(0x1b4)][_0x892bc3(0x21f)][_0x892bc3(0x22e)][_0x892bc3(0x1a7)]=_0x892bc3(0x212)),_0x1858ff);})[_0x2a2d80(0x20d)](_0x3039aa=>(console[_0x2a2d80(0x1be)](_0x3039aa),this[_0x2a2d80(0x20e)][_0x2a2d80(0x215)](_0x2a2d80(0x1c8)),null));});}[_0x2aa164(0x1cf)](){const _0x128993=_0x2aa164,_0x34e2fd=this[_0x128993(0x20e)][_0x128993(0x1e4)][_0x128993(0x213)](_0x128993(0x1ae))[_0x128993(0x230)];this[_0x128993(0x20e)][_0x128993(0x1e4)][_0x128993(0x1ef)](_0x128993(0x1ed),()=>(this[_0x128993(0x20e)][_0x128993(0x1f8)][_0x128993(0x1db)](_0x128993(0x229))&&this[_0x128993(0x20e)][_0x128993(0x1f8)][_0x128993(0x213)](_0x128993(0x229))[_0x128993(0x1aa)](),this[_0x128993(0x20e)][_0x128993(0x1f8)][_0x128993(0x1db)](_0x128993(0x1f6))&&(this[_0x128993(0x20e)][_0x128993(0x1f8)][_0x128993(0x213)](_0x128993(0x1b8))[_0x128993(0x1b4)][_0x128993(0x21f)][_0x128993(0x22e)][_0x128993(0x1a7)]=''),this[_0x128993(0x1e3)][_0x128993(0x1f8)][_0x128993(0x213)](_0x128993(0x1e6))[_0x128993(0x1da)](),_0x34e2fd(this[_0x128993(0x1e3)])[_0x128993(0x1ab)](()=>{const _0x3c5517=_0x128993;if(this[_0x3c5517(0x20e)][_0x3c5517(0x215)](_0x3c5517(0x1c8)),this[_0x3c5517(0x1e3)]=null,this[_0x3c5517(0x20e)][_0x3c5517(0x1f8)][_0x3c5517(0x1db)](_0x3c5517(0x1ce))){const _0x3c3aad=this[_0x3c5517(0x20e)][_0x3c5517(0x1f8)][_0x3c5517(0x213)](_0x3c5517(0x1ce));_0x3c3aad[_0x3c5517(0x1ee)](),_0x3c3aad[_0x3c5517(0x1c6)]();}})));}[_0x2aa164(0x1df)](_0x1a010d){const _0x1020ab=_0x2aa164,_0x4835b1=this[_0x1020ab(0x20e)][_0x1020ab(0x1e4)][_0x1020ab(0x213)](_0x1020ab(0x228)),_0x561a1e=this[_0x1020ab(0x20e)][_0x1020ab(0x1e4)][_0x1020ab(0x213)](_0x1020ab(0x1d8)),_0x28ec26=this[_0x1020ab(0x20e)][_0x1020ab(0x1e4)][_0x1020ab(0x213)](_0x1020ab(0x200));return _0x20333e[_0x1020ab(0x1c3)](_0x28ec26,_0x1a010d)[_0x1020ab(0x1ab)](_0x351722=>(_0x561a1e[_0x1020ab(0x22e)][_0x1020ab(0x1a7)]=_0x1020ab(0x1dd),_0x4835b1[_0x1020ab(0x22e)][_0x1020ab(0x1a7)]=_0x1020ab(0x212),this[_0x1020ab(0x19c)]=!0x0,_0x351722));}[_0x2aa164(0x1a9)](_0x9e169){const _0xbee214=_0x2aa164,_0x5ab903=this[_0xbee214(0x20e)][_0xbee214(0x1e4)][_0xbee214(0x213)](_0xbee214(0x228));return this[_0xbee214(0x20e)][_0xbee214(0x1e4)][_0xbee214(0x213)](_0xbee214(0x1d8))[_0xbee214(0x22e)][_0xbee214(0x1a7)]=_0xbee214(0x212),_0x5ab903[_0xbee214(0x22e)][_0xbee214(0x1a7)]='',this[_0xbee214(0x19c)]=!0x1,_0x9e169[_0xbee214(0x225)]();}async[_0x2aa164(0x1d0)](_0x37224e){const _0x558d6f=_0x2aa164,_0x1358d0=this[_0x558d6f(0x20e)],_0x5bea89=this[_0x558d6f(0x1e3)][_0x558d6f(0x1f8)][_0x558d6f(0x213)](_0x558d6f(0x1e6)),_0x22fa7b=_0x1358d0[_0x558d6f(0x1f8)][_0x558d6f(0x213)](_0x558d6f(0x220)),_0x17ed23=_0x1358d0[_0x558d6f(0x1f8)][_0x558d6f(0x213)](_0x558d6f(0x1fa)),_0x40c6ea=_0x5bea89[_0x558d6f(0x22b)][_0x558d6f(0x199)](_0x37224e);let _0x2ee2c0,_0x6942b9,_0x3bb6d4;try{await _0x17ed23[_0x558d6f(0x209)](_0x40c6ea,this[_0x558d6f(0x1f4)]),_0x2ee2c0=_0x17ed23[_0x558d6f(0x1cc)](_0x40c6ea),_0x6942b9=_0x17ed23[_0x558d6f(0x210)](_0x40c6ea);}catch(_0x4f9f4d){return void console[_0x558d6f(0x1be)](_0x4f9f4d);}_0x1358d0[_0x558d6f(0x1b2)][_0x558d6f(0x1a4)](_0x3fe278=>{const _0x3de63e=_0x558d6f;for(const _0x547612 of Array[_0x3de63e(0x1c1)](_0x1358d0[_0x3de63e(0x1b2)][_0x3de63e(0x1e9)][_0x3de63e(0x224)](_0x3de63e(0x1e7))))_0x3fe278[_0x3de63e(0x1b1)](_0x547612);}),_0x5bea89[_0x558d6f(0x1e8)]=!0x1,_0x1358d0[_0x558d6f(0x1b2)][_0x558d6f(0x226)](_0xa9e28d=>{const _0x6e29b7=_0x558d6f;_0xa9e28d[_0x6e29b7(0x1f2)](null),_0xa9e28d[_0x6e29b7(0x1fc)](_0x1358d0[_0x6e29b7(0x1b2)][_0x6e29b7(0x1c7)][_0x6e29b7(0x1d2)][_0x6e29b7(0x1d1)]());const _0x2f6666=Object[_0x6e29b7(0x20a)](_0x2ee2c0);for(const _0xad214a of _0x1358d0[_0x6e29b7(0x1b2)][_0x6e29b7(0x1c7)][_0x6e29b7(0x1c0)])_0x6e29b7(0x1c2)!=_0xad214a[_0x6e29b7(0x217)]&&_0xad214a[_0x6e29b7(0x19b)]()&&!_0x2f6666[_0x6e29b7(0x196)](_0xad214a[_0x6e29b7(0x217)])&&_0xa9e28d[_0x6e29b7(0x19e)](_0xad214a);for(const _0x561369 of _0x2f6666){let _0x3e00c8=_0x1358d0[_0x6e29b7(0x1b2)][_0x6e29b7(0x1c7)][_0x6e29b7(0x1fe)](_0x561369);_0x3e00c8&&_0x3e00c8[_0x6e29b7(0x19b)]()||(_0x3e00c8=_0xa9e28d[_0x6e29b7(0x19f)](_0x561369));const _0x35f1bd=_0x6942b9[_0x561369],_0x1998ed=Object[_0x6e29b7(0x20a)](_0x35f1bd),_0x424821=_0x2ee2c0[_0x561369];for(const _0x1a4529 of _0x3e00c8[_0x6e29b7(0x1d1)]())_0x1998ed[_0x6e29b7(0x196)](_0x1a4529)||_0xa9e28d[_0x6e29b7(0x203)](_0x1a4529,_0x3e00c8);for(const _0x17efdd of _0x1998ed)_0xa9e28d[_0x6e29b7(0x1d4)](_0x17efdd,_0x6942b9[_0x561369][_0x17efdd],_0x3e00c8);_0xa9e28d[_0x6e29b7(0x1d7)](_0xa9e28d[_0x6e29b7(0x1ba)](_0x3e00c8)),_0xa9e28d[_0x6e29b7(0x205)](_0x1358d0[_0x6e29b7(0x1ca)][_0x6e29b7(0x1b5)](_0x424821,_0x3e00c8),_0x3e00c8,0x0);}});const _0x300dfa=_0x3e0204(_0x1358d0[_0x558d6f(0x1e2)],_0x558d6f(0x221));if(_0x40c6ea[_0x558d6f(0x214)])_0x3bb6d4=-0x1==_0x40c6ea[_0x558d6f(0x214)][_0x558d6f(0x1bc)](_0x300dfa)?_0x300dfa+':\x20'+_0x40c6ea[_0x558d6f(0x214)]:_0x40c6ea[_0x558d6f(0x214)];else _0x3bb6d4=_0x300dfa+':\x20'+(_0x40c6ea[_0x558d6f(0x1bd)][_0x558d6f(0x223)](_0x1358d0[_0x558d6f(0x1e2)][_0x558d6f(0x1a1)],{'month':_0x558d6f(0x1b3),'day':_0x558d6f(0x1e5)})+',\x20'+_0x40c6ea[_0x558d6f(0x1bd)][_0x558d6f(0x198)](_0x1358d0[_0x558d6f(0x1e2)][_0x558d6f(0x1a1)],{'hour':_0x558d6f(0x1e5),'minute':_0x558d6f(0x1e5)}));return await _0x22fa7b[_0x558d6f(0x1fd)]({'name':_0x3bb6d4}),_0x5bea89[_0x558d6f(0x1e8)]=!0x0,_0x1358d0[_0x558d6f(0x1e4)][_0x558d6f(0x213)](_0x558d6f(0x1ae))[_0x558d6f(0x230)]();}}
|
|
23
|
+
function _0x3d96(_0x5b5893,_0x4431a8){const _0x33f495=_0x33f4();return _0x3d96=function(_0x3d9630,_0x3bd679){_0x3d9630=_0x3d9630-0x1a5;let _0x22a289=_0x33f495[_0x3d9630];return _0x22a289;},_0x3d96(_0x5b5893,_0x4431a8);}const _0x5235b0=_0x3d96;(function(_0x582723,_0x59b749){const _0xbf8d18=_0x3d96,_0x478098=_0x582723();while(!![]){try{const _0x139a10=parseInt(_0xbf8d18(0x21e))/0x1+-parseInt(_0xbf8d18(0x22d))/0x2*(-parseInt(_0xbf8d18(0x1ed))/0x3)+parseInt(_0xbf8d18(0x23a))/0x4*(parseInt(_0xbf8d18(0x1d2))/0x5)+-parseInt(_0xbf8d18(0x1f0))/0x6*(parseInt(_0xbf8d18(0x22f))/0x7)+parseInt(_0xbf8d18(0x1cb))/0x8*(parseInt(_0xbf8d18(0x21d))/0x9)+-parseInt(_0xbf8d18(0x1ca))/0xa*(parseInt(_0xbf8d18(0x235))/0xb)+parseInt(_0xbf8d18(0x217))/0xc;if(_0x139a10===_0x59b749)break;else _0x478098['push'](_0x478098['shift']());}catch(_0x1f7784){_0x478098['push'](_0x478098['shift']());}}}(_0x33f4,0xcf857));import{Plugin as _0x790e17}from'ckeditor5/src/core.js';function _0x33f4(){const _0x10f1c8=['view','revisionHistory.requireRevisionName','RevisionHistoryUI','removeAttribute','_restoreRevision','toJSON','insert','addUser','config','RestrictedEditingMode','fromVersion','getRevisionDocumentData','isPremiumPlugin','getAttributeKeys','bind','lazyRoots','pluginName','keys','translations','block','revisionHistory.viewerEditorElement','Autosave','_showRevisionViewer','revisionHistory.editorContainer','RevisionsRepository','closeRevisionViewerCallback','addRoot','fromCharCode','_cleanUp','requires','110csAPED','12840vXFyCX','setSelection','remove','refreshVisibility','saveRevision','RevisionHistory','repository','91075nagFHh','removeMarker','setAttribute','revision-history-viewer-opened','commands','set','data','get','_recalculatePageBreaks','RevisionHistoryUtils','Dialog','_enhanceCloseRevisionViewerCallback','getRevision','destroy','revisionHistory.closeRevisionViewerCallback','init','changesNavigation','toolbar','_closeRevisionViewer','_update','end','define','numeric','push','_getRevisionViewerEditorConfig','save','getMarkersGroup','143697DzdAUM','create','isOpen','24888ubPqBq','revisionHistory.viewerContainer','createdAt','parse','revisionHistory.restoreRevisionCallback','long','adapter','name','isReadOnly','toLocaleTimeString','element','change','RevisionTracker','DocumentOutline','isEnabled','isOfficialPlugin','map','join','error','from','$graveyard','rootName','disableReadOnlyMode','removeSelectionAttribute','Annotations','addRevisionData','creator','display','restrictedEditingException','Users','getRevisions','RevisionViewerIntegration','revisionHistory.showRevisionViewerCallback','toVersion','isRevisionViewerOpen','uiLanguage','PaginationLookup','update','style','1147284OsCnzc','Restored','enqueueChange','getUser','users','restoreRevision','9351hlPcnw','17140iLaJHL','createRangeIn','locale','model','has','revisionHistory','detachRoot','_viewerEditor','markers','selection','isAttached','revision-history-missing-configuration','refreshPositioning','document','isReady','32kKLwQq','RevisionViewer','2177BFWqcR','DocumentOutlineUI','then','roots','getRoot','includes','1590666CxHcky','indexOf','loadRevisionData','editor','_enhanceShowRevisionViewerCallback','260KchoTl','hide','showRevisionViewerCallback','plugins','catch','result','getRevisionRootsAttributes','isAnonymous','enableReadOnlyMode','exitToEditing','none','toLocaleDateString'];_0x33f4=function(){return _0x10f1c8;};return _0x33f4();}import{CKEditorError as _0x324010,uid as _0x45b6e9}from'ckeditor5/src/utils.js';import _0x363f8b from'./revisiontracker.js';import _0x3c9027 from'./ui/revisionhistory/revisionhistoryui.js';import _0x1bab11 from'./revisionviewer.js';import _0x41b689 from'./ui/revisionviewer/revisionviewerui.js';import _0x25e95a from'./ui/revisionssidebar/revisionssidebar.js';import _0x1d87c9 from'./editor/revisionviewereditor.js';import{getTranslation as _0x1b694c}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0xe0b6fb}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x5235b0(0x1ae),_0x5235b0(0x1b5)];export class RevisionViewerIntegration extends _0x790e17{[_0x5235b0(0x1a5)];static get[_0x5235b0(0x1bc)](){const _0x171647=_0x5235b0;return _0x171647(0x20f);}static get[_0x5235b0(0x1ff)](){return!0x0;}static get[_0x5235b0(0x1b8)](){return!0x0;}constructor(_0x32b3d5){const _0x443a43=_0x5235b0;function _0xee1090(_0x3419de){const _0x4fb0e0=_0x3d96;return _0x3419de[_0x4fb0e0(0x200)](_0x3c314c=>String[_0x4fb0e0(0x1c7)](_0x3c314c))[_0x4fb0e0(0x201)]('');}super(_0x32b3d5),this[_0x443a43(0x1a5)]=_0x443a43(0x1e6),_0x32b3d5[_0xee1090([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xee1090([0x76,0x69,0x65,0x77])][_0xee1090([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xee1090([0x61,0x75,0x74,0x6f]),_0x32b3d5[_0xee1090([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0xee1090([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xee1090([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0xee1090([0x73,0x74,0x61,0x74,0x75,0x73])]:_0xee1090([0x6f,0x6b])});}}export default class k extends _0x790e17{[_0x5235b0(0x225)];static get[_0x5235b0(0x1bc)](){const _0x14b5e2=_0x5235b0;return _0x14b5e2(0x1d0);}static get[_0x5235b0(0x1ff)](){return!0x0;}static get[_0x5235b0(0x1b8)](){return!0x0;}static get[_0x5235b0(0x1c9)](){return[_0x363f8b,_0x3c9027];}constructor(_0x276cb1){const _0x4c76b4=_0x5235b0;if(super(_0x276cb1),!this[_0x4c76b4(0x238)][_0x4c76b4(0x1b4)][_0x4c76b4(0x1d9)](_0x4c76b4(0x223)))throw new _0x324010(_0x4c76b4(0x229),this);this[_0x4c76b4(0x225)]=null,this[_0x4c76b4(0x1d7)](_0x4c76b4(0x212),!0x1),this[_0x4c76b4(0x238)][_0x4c76b4(0x1b4)][_0x4c76b4(0x1e7)](_0x4c76b4(0x210),_0x549b0f=>this[_0x4c76b4(0x1c2)]({..._0x549b0f,'translations':this[_0x4c76b4(0x238)][_0x4c76b4(0x220)][_0x4c76b4(0x1be)]})),this[_0x4c76b4(0x238)][_0x4c76b4(0x1b4)][_0x4c76b4(0x1e7)](_0x4c76b4(0x1e0),_0x51db04=>this[_0x4c76b4(0x1e4)](_0x51db04)),this[_0x4c76b4(0x238)][_0x4c76b4(0x1b4)][_0x4c76b4(0x1e7)](_0x4c76b4(0x1f4),_0x27fa38=>this[_0x4c76b4(0x1b0)](_0x27fa38)),this[_0x4c76b4(0x238)][_0x4c76b4(0x1b4)][_0x4c76b4(0x1e7)](_0x4c76b4(0x1ad),!0x1),this[_0x4c76b4(0x239)](),this[_0x4c76b4(0x1dd)]();}set[_0x5235b0(0x1f6)](_0x98a157){const _0x422313=_0x5235b0;this[_0x422313(0x238)][_0x422313(0x23d)][_0x422313(0x1d9)](_0x422313(0x1fc))[_0x422313(0x1f6)]=_0x98a157;}get[_0x5235b0(0x1f6)](){const _0x19ba85=_0x5235b0;return this[_0x19ba85(0x238)][_0x19ba85(0x23d)][_0x19ba85(0x1d9)](_0x19ba85(0x1fc))[_0x19ba85(0x1f6)];}[_0x5235b0(0x209)](_0x310770){const _0x3c3ca8=_0x5235b0;return this[_0x3c3ca8(0x238)][_0x3c3ca8(0x23d)][_0x3c3ca8(0x1d9)](_0x3c3ca8(0x1fc))[_0x3c3ca8(0x209)](_0x310770);}[_0x5235b0(0x1de)](_0x4e7e22){const _0x52898c=_0x5235b0;return this[_0x52898c(0x238)][_0x52898c(0x23d)][_0x52898c(0x1d9)](_0x52898c(0x1c4))[_0x52898c(0x1de)](_0x4e7e22);}[_0x5235b0(0x20e)](_0x138add){const _0x7cff64=_0x5235b0;return this[_0x7cff64(0x238)][_0x7cff64(0x23d)][_0x7cff64(0x1d9)](_0x7cff64(0x1c4))[_0x7cff64(0x20e)](_0x138add||{'toJSON':!0x1});}[_0x5235b0(0x1ea)](){const _0x3e6b5f=_0x5235b0,_0x247b01=this[_0x3e6b5f(0x238)],_0x207aed=_0xe0b6fb(_0x247b01,p),_0x1072cf=_0x247b01[_0x3e6b5f(0x23d)][_0x3e6b5f(0x1d9)](_0x3e6b5f(0x1fc)),_0x498770=_0x247b01[_0x3e6b5f(0x23d)][_0x3e6b5f(0x1d9)](_0x3e6b5f(0x20d))[_0x3e6b5f(0x21b)];return _0x207aed[_0x3e6b5f(0x1e3)]=[_0x3e6b5f(0x1a9),_0x3e6b5f(0x21c),_0x3e6b5f(0x1e2)],delete _0x207aed[_0x3e6b5f(0x1bb)],(_0x207aed[_0x3e6b5f(0x23d)][_0x3e6b5f(0x1e9)](RevisionViewerIntegration,_0x1bab11,_0x41b689,class extends _0x790e17{static get[_0x3e6b5f(0x1c9)](){const _0x2c60da=_0x3e6b5f;return[_0x1bab11,_0x2c60da(0x20d)];}[_0x3e6b5f(0x1e1)](){const _0x317e83=_0x3e6b5f,_0x462176=this[_0x317e83(0x238)][_0x317e83(0x23d)][_0x317e83(0x1d9)](_0x317e83(0x20d));for(const _0x2f60b9 of _0x498770)_0x2f60b9[_0x317e83(0x1a7)]||_0x462176[_0x317e83(0x21a)](_0x2f60b9['id'])||_0x462176[_0x317e83(0x1b3)](_0x2f60b9);const _0x34a1b5=_0x1072cf[_0x317e83(0x1d1)][_0x317e83(0x20e)]();let _0x4b0c6f=null;const _0x12e720=this[_0x317e83(0x238)][_0x317e83(0x23d)][_0x317e83(0x1d9)](_0x317e83(0x22e));_0x12e720[_0x317e83(0x1f6)]=_0x1072cf[_0x317e83(0x1f6)],_0x12e720[_0x317e83(0x1ba)](_0x317e83(0x1fe))['to'](_0x1072cf),this[_0x317e83(0x238)][_0x317e83(0x1d6)][_0x317e83(0x1d9)](_0x317e83(0x21c))[_0x317e83(0x1ba)](_0x317e83(0x1fe))['to'](_0x247b01,_0x317e83(0x1f8),_0x39f73a=>!_0x39f73a);for(const _0x4f2b6c of _0x34a1b5){const _0x3f8e26=null===_0x4f2b6c[_0x317e83(0x20a)];if(_0x3f8e26&&_0x4f2b6c[_0x317e83(0x211)]===_0x4f2b6c[_0x317e83(0x1b6)])continue;const _0x574877=_0x4f2b6c[_0x317e83(0x1b1)]();_0x12e720[_0x317e83(0x209)](_0x574877,(_0x3fe4e3,_0xb59f24,_0x589aeb)=>{const _0x1b60d2=_0x317e83;if(_0x3f8e26){if(_0x4b0c6f)_0x4b0c6f[_0x1b60d2(0x1e5)](_0x3fe4e3,_0xb59f24);else{if(!_0xb59f24){const _0x54c9e4=_0x589aeb[_0x1b60d2(0x1b1)]();_0x54c9e4['id']=_0x45b6e9(),_0x1072cf[_0x1b60d2(0x1cf)](_0x54c9e4,_0x589aeb[_0x1b60d2(0x211)])[_0x1b60d2(0x231)](_0x52cf0f=>{_0x4b0c6f=_0x52cf0f;});}}}else _0x4f2b6c[_0x1b60d2(0x1e5)](_0x3fe4e3,_0xb59f24);});}}},_0x25e95a),_0x207aed);}[_0x5235b0(0x239)](){const _0x11e7f2=_0x5235b0,_0x356414=this[_0x11e7f2(0x238)][_0x11e7f2(0x1b4)][_0x11e7f2(0x1d9)](_0x11e7f2(0x223))[_0x11e7f2(0x23c)];this[_0x11e7f2(0x238)][_0x11e7f2(0x1b4)][_0x11e7f2(0x1d7)](_0x11e7f2(0x210),async()=>{const _0x1927d5=_0x11e7f2;this[_0x1927d5(0x238)][_0x1927d5(0x1a8)](_0x1927d5(0x1d5));const _0x5bfd2e=this[_0x1927d5(0x238)][_0x1927d5(0x23d)][_0x1927d5(0x1d9)](_0x1927d5(0x1fc));if(this[_0x1927d5(0x238)][_0x1927d5(0x23d)][_0x1927d5(0x222)](_0x1927d5(0x1c1))){const _0x250abb=this[_0x1927d5(0x238)][_0x1927d5(0x23d)][_0x1927d5(0x1d9)](_0x1927d5(0x1c1));await _0x250abb[_0x1927d5(0x1eb)]();}else await _0x5bfd2e[_0x1927d5(0x215)]();if(this[_0x1927d5(0x238)][_0x1927d5(0x23d)][_0x1927d5(0x222)](_0x1927d5(0x214))&&this[_0x1927d5(0x238)][_0x1927d5(0x23d)][_0x1927d5(0x1d9)](_0x1927d5(0x214))[_0x1927d5(0x1da)](),this[_0x1927d5(0x238)][_0x1927d5(0x23d)][_0x1927d5(0x222)](_0x1927d5(0x1dc))){const _0x4e33fd=this[_0x1927d5(0x238)][_0x1927d5(0x23d)][_0x1927d5(0x1d9)](_0x1927d5(0x1dc));_0x4e33fd[_0x1927d5(0x1ef)]&&_0x4e33fd[_0x1927d5(0x23b)]();}const _0x403fd1=this[_0x1927d5(0x1ea)]();return _0x356414(_0x403fd1)[_0x1927d5(0x231)](_0x5a407e=>{const _0x469866=_0x1927d5;return(this[_0x469866(0x225)]=_0x5a407e,this[_0x469866(0x238)][_0x469866(0x23d)][_0x469866(0x222)](_0x469866(0x208)))&&this[_0x469866(0x238)][_0x469866(0x23d)][_0x469866(0x1d9)](_0x469866(0x208))[_0x469866(0x1ce)](),(this[_0x469866(0x238)][_0x469866(0x23d)][_0x469866(0x222)](_0x469866(0x1fd))&&(this[_0x469866(0x238)][_0x469866(0x23d)][_0x469866(0x1d9)](_0x469866(0x230))[_0x469866(0x1ac)][_0x469866(0x1fa)][_0x469866(0x216)][_0x469866(0x20b)]=_0x469866(0x1aa)),_0x5a407e);})[_0x1927d5(0x23e)](_0x2000f3=>(console[_0x1927d5(0x202)](_0x2000f3),this[_0x1927d5(0x238)][_0x1927d5(0x206)](_0x1927d5(0x1d5)),null));});}[_0x5235b0(0x1dd)](){const _0x438782=_0x5235b0,_0x3454f2=this[_0x438782(0x238)][_0x438782(0x1b4)][_0x438782(0x1d9)](_0x438782(0x223))[_0x438782(0x1c5)];this[_0x438782(0x238)][_0x438782(0x1b4)][_0x438782(0x1d7)](_0x438782(0x1e0),()=>(this[_0x438782(0x238)][_0x438782(0x23d)][_0x438782(0x222)](_0x438782(0x214))&&this[_0x438782(0x238)][_0x438782(0x23d)][_0x438782(0x1d9)](_0x438782(0x214))[_0x438782(0x1da)](),this[_0x438782(0x238)][_0x438782(0x23d)][_0x438782(0x222)](_0x438782(0x1fd))&&(this[_0x438782(0x238)][_0x438782(0x23d)][_0x438782(0x1d9)](_0x438782(0x230))[_0x438782(0x1ac)][_0x438782(0x1fa)][_0x438782(0x216)][_0x438782(0x20b)]=''),this[_0x438782(0x225)][_0x438782(0x23d)][_0x438782(0x1d9)](_0x438782(0x22e))[_0x438782(0x1c8)](),_0x3454f2(this[_0x438782(0x225)])[_0x438782(0x231)](()=>{const _0x3fedc6=_0x438782;if(this[_0x3fedc6(0x238)][_0x3fedc6(0x206)](_0x3fedc6(0x1d5)),this[_0x3fedc6(0x225)]=null,this[_0x3fedc6(0x238)][_0x3fedc6(0x23d)][_0x3fedc6(0x222)](_0x3fedc6(0x208))){const _0x2c9f6f=this[_0x3fedc6(0x238)][_0x3fedc6(0x23d)][_0x3fedc6(0x1d9)](_0x3fedc6(0x208));_0x2c9f6f[_0x3fedc6(0x1ce)](),_0x2c9f6f[_0x3fedc6(0x22a)]();}})));}[_0x5235b0(0x1c2)](_0x4df77f){const _0x5bcf22=_0x5235b0,_0x293dab=this[_0x5bcf22(0x238)][_0x5bcf22(0x1b4)][_0x5bcf22(0x1d9)](_0x5bcf22(0x1c3)),_0x3dac77=this[_0x5bcf22(0x238)][_0x5bcf22(0x1b4)][_0x5bcf22(0x1d9)](_0x5bcf22(0x1f1)),_0x3ead0c=this[_0x5bcf22(0x238)][_0x5bcf22(0x1b4)][_0x5bcf22(0x1d9)](_0x5bcf22(0x1c0));return _0x1d87c9[_0x5bcf22(0x1ee)](_0x3ead0c,_0x4df77f)[_0x5bcf22(0x231)](_0x34e5b1=>(_0x3dac77[_0x5bcf22(0x216)][_0x5bcf22(0x20b)]=_0x5bcf22(0x1bf),_0x293dab[_0x5bcf22(0x216)][_0x5bcf22(0x20b)]=_0x5bcf22(0x1aa),this[_0x5bcf22(0x212)]=!0x0,_0x34e5b1));}[_0x5235b0(0x1e4)](_0x25fd10){const _0x80e06c=_0x5235b0,_0x3623f2=this[_0x80e06c(0x238)][_0x80e06c(0x1b4)][_0x80e06c(0x1d9)](_0x80e06c(0x1c3));return this[_0x80e06c(0x238)][_0x80e06c(0x1b4)][_0x80e06c(0x1d9)](_0x80e06c(0x1f1))[_0x80e06c(0x216)][_0x80e06c(0x20b)]=_0x80e06c(0x1aa),_0x3623f2[_0x80e06c(0x216)][_0x80e06c(0x20b)]='',this[_0x80e06c(0x212)]=!0x1,_0x25fd10[_0x80e06c(0x1df)]();}async[_0x5235b0(0x1b0)](_0x4a5f10){const _0x5c96af=_0x5235b0,_0x1a7deb=this[_0x5c96af(0x238)],_0x23b0b8=this[_0x5c96af(0x225)][_0x5c96af(0x23d)][_0x5c96af(0x1d9)](_0x5c96af(0x22e)),_0x360c83=_0x1a7deb[_0x5c96af(0x23d)][_0x5c96af(0x1d9)](_0x5c96af(0x1fc)),_0x4637eb=_0x1a7deb[_0x5c96af(0x23d)][_0x5c96af(0x1d9)](_0x5c96af(0x1db)),_0x506164=_0x23b0b8[_0x5c96af(0x1d1)][_0x5c96af(0x1de)](_0x4a5f10);let _0x3f565b,_0x3bc391,_0x180635;try{await _0x4637eb[_0x5c96af(0x237)](_0x506164,this[_0x5c96af(0x1f6)]),_0x3f565b=_0x4637eb[_0x5c96af(0x1b7)](_0x506164),_0x3bc391=_0x4637eb[_0x5c96af(0x1a6)](_0x506164);}catch(_0x55fb46){return void console[_0x5c96af(0x202)](_0x55fb46);}_0x1a7deb[_0x5c96af(0x221)][_0x5c96af(0x1fb)](_0x4ecf34=>{const _0xb62b86=_0x5c96af;for(const _0x58311d of Array[_0xb62b86(0x203)](_0x1a7deb[_0xb62b86(0x221)][_0xb62b86(0x226)][_0xb62b86(0x1ec)](_0xb62b86(0x20c))))_0x4ecf34[_0xb62b86(0x1d3)](_0x58311d);}),_0x23b0b8[_0x5c96af(0x22c)]=!0x1,_0x1a7deb[_0x5c96af(0x221)][_0x5c96af(0x219)](_0x93a7fb=>{const _0x578f25=_0x5c96af;_0x93a7fb[_0x578f25(0x1cc)](null),_0x93a7fb[_0x578f25(0x207)](_0x1a7deb[_0x578f25(0x221)][_0x578f25(0x22b)][_0x578f25(0x227)][_0x578f25(0x1b9)]());const _0x4d2a23=Object[_0x578f25(0x1bd)](_0x3f565b);for(const _0x206b68 of _0x1a7deb[_0x578f25(0x221)][_0x578f25(0x22b)][_0x578f25(0x232)])_0x578f25(0x204)!=_0x206b68[_0x578f25(0x205)]&&_0x206b68[_0x578f25(0x228)]()&&!_0x4d2a23[_0x578f25(0x234)](_0x206b68[_0x578f25(0x205)])&&_0x93a7fb[_0x578f25(0x224)](_0x206b68);for(const _0x1c97de of _0x4d2a23){let _0x5c4d6b=_0x1a7deb[_0x578f25(0x221)][_0x578f25(0x22b)][_0x578f25(0x233)](_0x1c97de);_0x5c4d6b&&_0x5c4d6b[_0x578f25(0x228)]()||(_0x5c4d6b=_0x93a7fb[_0x578f25(0x1c6)](_0x1c97de));const _0x485e98=_0x3bc391[_0x1c97de],_0x585987=Object[_0x578f25(0x1bd)](_0x485e98),_0x2f8398=_0x3f565b[_0x1c97de];for(const _0x4069bc of _0x5c4d6b[_0x578f25(0x1b9)]())_0x585987[_0x578f25(0x234)](_0x4069bc)||_0x93a7fb[_0x578f25(0x1af)](_0x4069bc,_0x5c4d6b);for(const _0x26e89d of _0x585987)_0x93a7fb[_0x578f25(0x1d4)](_0x26e89d,_0x3bc391[_0x1c97de][_0x26e89d],_0x5c4d6b);_0x93a7fb[_0x578f25(0x1cd)](_0x93a7fb[_0x578f25(0x21f)](_0x5c4d6b)),_0x93a7fb[_0x578f25(0x1b2)](_0x1a7deb[_0x578f25(0x1d8)][_0x578f25(0x1f3)](_0x2f8398,_0x5c4d6b),_0x5c4d6b,0x0);}});const _0x365272=_0x1b694c(_0x1a7deb[_0x5c96af(0x220)],_0x5c96af(0x218));if(_0x506164[_0x5c96af(0x1f7)])_0x180635=-0x1==_0x506164[_0x5c96af(0x1f7)][_0x5c96af(0x236)](_0x365272)?_0x365272+':\x20'+_0x506164[_0x5c96af(0x1f7)]:_0x506164[_0x5c96af(0x1f7)];else _0x180635=_0x365272+':\x20'+(_0x506164[_0x5c96af(0x1f2)][_0x5c96af(0x1ab)](_0x1a7deb[_0x5c96af(0x220)][_0x5c96af(0x213)],{'month':_0x5c96af(0x1f5),'day':_0x5c96af(0x1e8)})+',\x20'+_0x506164[_0x5c96af(0x1f2)][_0x5c96af(0x1f9)](_0x1a7deb[_0x5c96af(0x220)][_0x5c96af(0x213)],{'hour':_0x5c96af(0x1e8),'minute':_0x5c96af(0x1e8)}));return await _0x360c83[_0x5c96af(0x1cf)]({'name':_0x180635}),_0x23b0b8[_0x5c96af(0x22c)]=!0x0,_0x1a7deb[_0x5c96af(0x1b4)][_0x5c96af(0x1d9)](_0x5c96af(0x223))[_0x5c96af(0x1c5)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x318c83=_0x509a;(function(_0xacf142,_0x1786bb){const _0x1e6a8f=_0x509a,_0x4dd2bc=_0xacf142();while(!![]){try{const _0x551bfc=-parseInt(_0x1e6a8f(0x10e))/0x1+parseInt(_0x1e6a8f(0x124))/0x2*(parseInt(_0x1e6a8f(0xf2))/0x3)+parseInt(_0x1e6a8f(0x110))/0x4+parseInt(_0x1e6a8f(0x12d))/0x5+parseInt(_0x1e6a8f(0x117))/0x6*(-parseInt(_0x1e6a8f(0xf1))/0x7)+parseInt(_0x1e6a8f(0xea))/0x8*(-parseInt(_0x1e6a8f(0xf4))/0x9)+-parseInt(_0x1e6a8f(0x11d))/0xa*(-parseInt(_0x1e6a8f(0xfa))/0xb);if(_0x551bfc===_0x1786bb)break;else _0x4dd2bc['push'](_0x4dd2bc['shift']());}catch(_0x29e7d6){_0x4dd2bc['push'](_0x4dd2bc['shift']());}}}(_0x583d,0x69e28));import{Plugin as _0xec5466}from'ckeditor5/src/core.js';function _0x509a(_0x14e9e7,_0x450407){const _0x583dfc=_0x583d();return _0x509a=function(_0x509abd,_0x4286ca){_0x509abd=_0x509abd-0xe3;let _0x21c00c=_0x583dfc[_0x509abd];return _0x21c00c;},_0x509a(_0x14e9e7,_0x450407);}import{ViewDocumentFragment as _0x6ae138,ViewText as _0x225357,ViewElement as _0xcfdec2,ViewContainerElement as _0x2d27f8,ViewAttributeElement as _0x12574c,ViewEmptyElement as _0x551440,ViewRawElement as _0x33167b,ViewUIElement as _0x5ab202}from'ckeditor5/src/engine.js';function _0x583d(){const _0x4fdd2e=['config','useFillerType','loadRevisionData','domChildrenToView','marked','getRevision','_removeRevisionMarkers','591390xLtGDG','forEach','2866608UmUwMF','append','data','pluginName','document','editor','getRevisionDocumentData','222FDckVz','isPremiumPlugin','innerHTML','domDocument','data-revision-','_typeCharToViewClass','2830fptxZD','from','diffData','get','viewChildrenToDom','fillerOffset','name','649294smlnUW','type','customProperties','toModel','attributes','getFillerOffset','attachChange','string','_getTypeCharForViewElement','3269925WcDedZ','collaboration.channelId','attributesAfter','_appendChild','map','insertions','processor','parse','children','32xJckjd','getRevisionRootsAttributes','editing','view','startsWith','_getViewFromDiffObj','filter','111937hAGMdF','3QRgeyp','htmlProcessor','914670YqZePl','_setCustomProperty','constructor','toData','isOfficialPlugin','default','12749JBLcVG','revision-start','render','div','_makeModelFromViewString','_viewClassToTypeChar','length','domConverter','revision-end','childNodes','RevisionHistoryUtils','createElement','isAttached'];_0x583d=function(){return _0x4fdd2e;};return _0x583d();}export default class V extends _0xec5466{static get[_0x318c83(0x113)](){const _0xa75af1=_0x318c83;return _0xa75af1(0x104);}static get[_0x318c83(0xf8)](){return!0x0;}static get[_0x318c83(0x118)](){return!0x0;}[_0x318c83(0xff)]=new Map([[_0x2d27f8,'c'],[_0x12574c,'a'],[_0x551440,'e'],[_0x33167b,'r'],[_0x5ab202,'u']]);[_0x318c83(0x11c)]=new Map([['c',_0x2d27f8],['a',_0x12574c],['e',_0x551440],['r',_0x33167b],['u',_0x5ab202]]);async[_0x318c83(0x109)](_0x53287b,_0x898dc){const _0x44d2dc=_0x318c83;if(_0x53287b[_0x44d2dc(0x11f)]||!_0x898dc)return;const _0x494153=this[_0x44d2dc(0x115)][_0x44d2dc(0x107)][_0x44d2dc(0x120)](_0x44d2dc(0x12e)),_0x53f53e=await _0x898dc[_0x44d2dc(0x10c)]({'channelId':_0x494153,'revisionId':_0x53287b['id']});_0x53287b[_0x44d2dc(0x11f)]=_0x53f53e[_0x44d2dc(0x11f)];}[_0x318c83(0x116)](_0x4fd7ab){const _0x4506e7=_0x318c83,_0x5e8a73={};for(const _0x2174c8 in _0x4fd7ab[_0x4506e7(0x11f)]){if(_0x4fd7ab[_0x4506e7(0x11f)][_0x2174c8][_0x4506e7(0x12a)]&&!_0x4fd7ab[_0x4506e7(0x11f)][_0x2174c8][_0x4506e7(0x12a)][_0x4506e7(0x106)])continue;const _0x5b7c83=this[_0x4506e7(0x10d)](JSON[_0x4506e7(0xe8)](_0x4fd7ab[_0x4506e7(0x11f)][_0x2174c8][_0x4506e7(0xe6)])),_0x250a29=this[_0x4506e7(0x115)][_0x4506e7(0xec)][_0x4506e7(0xed)][_0x4506e7(0x114)],_0x81f7ee=new _0x6ae138(_0x250a29,_0x5b7c83[_0x4506e7(0xe5)](_0x561a97=>this[_0x4506e7(0xef)](_0x561a97,!0x1)));this[_0x4506e7(0x115)][_0x4506e7(0x112)][_0x4506e7(0xe7)][_0x4506e7(0x108)](_0x4506e7(0x10b)),_0x5e8a73[_0x2174c8]=this[_0x4506e7(0x115)][_0x4506e7(0x112)][_0x4506e7(0xe7)][_0x4506e7(0xf7)](_0x81f7ee),this[_0x4506e7(0x115)][_0x4506e7(0x112)][_0x4506e7(0xe7)][_0x4506e7(0x108)](_0x4506e7(0xf9));}return _0x5e8a73;}[_0x318c83(0xeb)](_0x1dbf65){const _0x2940df=_0x318c83,_0x2b3457={};for(const _0x5d10e3 in _0x1dbf65[_0x2940df(0x11f)])_0x1dbf65[_0x2940df(0x11f)][_0x5d10e3][_0x2940df(0x12a)]&&!_0x1dbf65[_0x2940df(0x11f)][_0x5d10e3][_0x2940df(0x12a)][_0x2940df(0x106)]||(_0x2b3457[_0x5d10e3]=_0x1dbf65[_0x2940df(0x11f)][_0x5d10e3][_0x2940df(0xe3)]||{});return _0x2b3457;}[_0x318c83(0x12c)](_0x120856){const _0x342e2b=_0x318c83;return this[_0x342e2b(0xff)][_0x342e2b(0x120)](_0x120856[_0x342e2b(0xf6)]);}[_0x318c83(0xef)](_0x2e9060,_0x2e73e1){const _0x179f7f=_0x318c83,_0x530336=this[_0x179f7f(0x115)][_0x179f7f(0xec)][_0x179f7f(0xed)][_0x179f7f(0x114)];if(_0x179f7f(0x12b)==typeof _0x2e9060)return new _0x225357(_0x530336,_0x2e9060);{let _0xcd0c6a,_0xb90d9c;_0xb90d9c='u'==_0x2e9060[_0x179f7f(0x125)]||'r'==_0x2e9060[_0x179f7f(0x125)]?[]:_0x2e9060[_0x179f7f(0xe9)][_0x179f7f(0xe5)](_0x402da2=>this[_0x179f7f(0xef)](_0x402da2,_0x2e73e1));const _0x252b13=this[_0x179f7f(0x11c)][_0x179f7f(0x120)](_0x2e9060[_0x179f7f(0x125)])||_0xcfdec2,_0xcc455c=this[_0x179f7f(0x115)][_0x179f7f(0x112)][_0x179f7f(0xf3)][_0x179f7f(0x101)];if(_0xcd0c6a=new _0x252b13(_0x530336,_0x2e9060[_0x179f7f(0x123)],_0x2e9060[_0x179f7f(0x128)],_0xb90d9c),'u'==_0x2e9060[_0x179f7f(0x125)]&&_0x2e9060[_0x179f7f(0xe9)][0x0]){const _0x351a08=_0x2e9060[_0x179f7f(0xe9)][0x0];if(_0xcd0c6a[_0x179f7f(0xfc)]=function(_0x50a9f1){const _0x40a399=_0x179f7f,_0x8a6022=_0x50a9f1[_0x40a399(0x105)](_0x40a399(0xfd));return _0x8a6022[_0x40a399(0x119)]=_0x351a08,_0x8a6022[_0x40a399(0x103)][0x0];},_0x2e73e1){const _0x109033=new _0x6ae138(_0x530336);_0x109033[_0x179f7f(0xe4)](_0xcd0c6a);const _0x346b4f=Array[_0x179f7f(0x11e)](_0xcc455c[_0x179f7f(0x121)](_0x109033,{'bind':!0x1})),_0x167105=_0xcc455c[_0x179f7f(0x11a)][_0x179f7f(0x105)](_0x179f7f(0xfd));_0x167105[_0x179f7f(0x111)](..._0x346b4f),_0xcd0c6a=Array[_0x179f7f(0x11e)](_0xcc455c[_0x179f7f(0x10a)](_0x167105))[0x0];}}else{if('r'==_0x2e9060[_0x179f7f(0x125)]&&_0x2e9060[_0x179f7f(0xe9)][0x0]){const _0x14185d=_0x2e9060[_0x179f7f(0xe9)][0x0];if(_0xcd0c6a[_0x179f7f(0xfc)]=function(_0x5b6734){const _0x506da8=_0x179f7f;_0x5b6734[_0x506da8(0x119)]=_0x14185d;},_0x2e73e1){const _0xa23386=new _0x6ae138(_0x530336);_0xa23386[_0x179f7f(0xe4)](_0xcd0c6a);const _0x5d4af9=Array[_0x179f7f(0x11e)](_0xcc455c[_0x179f7f(0x121)](_0xa23386,{'bind':!0x1})),_0x2732e0=_0xcc455c[_0x179f7f(0x11a)][_0x179f7f(0x105)](_0x179f7f(0xfd));_0x2732e0[_0x179f7f(0x111)](..._0x5d4af9);const _0x45a720=Array[_0x179f7f(0x11e)](_0xcc455c[_0x179f7f(0x10a)](_0x2732e0));_0x45a720[_0x179f7f(0x100)]>0x1?_0xcd0c6a[_0x179f7f(0xe4)](_0x45a720):_0xcd0c6a=_0x45a720[0x0];}}}if(_0x2e9060[_0x179f7f(0x126)]){for(const [_0x8390f9,_0x582abd]of _0x2e9060[_0x179f7f(0x126)])_0xcd0c6a[_0x179f7f(0xf5)](_0x8390f9,_0x582abd);}const _0x209f6e=void 0x0===_0x2e9060[_0x179f7f(0x122)]?null:_0x2e9060[_0x179f7f(0x122)];return null!==_0x209f6e&&(_0xcd0c6a[_0x179f7f(0x129)]=()=>_0x209f6e),_0xcd0c6a;}}[_0x318c83(0xfe)](_0x545fcd){const _0x39c135=_0x318c83,_0x502ca7=JSON[_0x39c135(0xe8)](_0x545fcd),_0x596d02=this[_0x39c135(0x115)][_0x39c135(0xec)][_0x39c135(0xed)][_0x39c135(0x114)],_0x3c394b=new _0x6ae138(_0x596d02,_0x502ca7[_0x39c135(0xe5)](_0x5d6e10=>this[_0x39c135(0xef)](_0x5d6e10,!0x0)));return this[_0x39c135(0x115)][_0x39c135(0x112)][_0x39c135(0x127)](_0x3c394b);}[_0x318c83(0x10d)](_0x2d2240){const _0x3c6955=_0x318c83;return(_0x2d2240=_0x2d2240[_0x3c6955(0xf0)](_0x2c2efc=>!_0x2c2efc[_0x3c6955(0x123)]||_0x3c6955(0xfb)!==_0x2c2efc[_0x3c6955(0x123)]&&_0x3c6955(0x102)!==_0x2c2efc[_0x3c6955(0x123)]))[_0x3c6955(0x10f)](_0x19d4dd=>{const _0x111727=_0x3c6955;_0x111727(0x12b)!=typeof _0x19d4dd&&(_0x19d4dd[_0x111727(0xe9)]=this[_0x111727(0x10d)](_0x19d4dd[_0x111727(0xe9)]),_0x19d4dd[_0x111727(0x128)]=_0x19d4dd[_0x111727(0x128)][_0x111727(0xf0)](_0x4b14a1=>!_0x4b14a1[0x0][_0x111727(0xee)](_0x111727(0x11b))));}),_0x2d2240;}}
|