@ckeditor/ckeditor5-revision-history 46.1.0-alpha.0 → 46.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5154eb=>{const {vi:{dictionary:_0x732c2d,getPluralForm:_0x4f0b97}}={'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':_0xca78a0=>0x0}};_0x5154eb['vi']||={'dictionary':{},'getPluralForm':null},_0x5154eb['vi']['dictionary']=Object['assign'](_0x5154eb['vi']['dictionary'],_0x732c2d),_0x5154eb['vi']['getPluralForm']=_0x4f0b97;})(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':_0x45c9eb=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xe4d4a9=>{const {'zh-cn':{dictionary:_0x10ba70,getPluralForm:_0x5c838e}}={'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':_0x88cc1e=>0x0}};_0xe4d4a9['zh-cn']||={'dictionary':{},'getPluralForm':null},_0xe4d4a9['zh-cn']['dictionary']=Object['assign'](_0xe4d4a9['zh-cn']['dictionary'],_0x10ba70),_0xe4d4a9['zh-cn']['getPluralForm']=_0x5c838e;})(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':_0x48cfca=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x381cfb=>{const {zh:{dictionary:_0x4512d5,getPluralForm:_0x10b7b0}}={'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':_0x1ed427=>0x0}};_0x381cfb['zh']||={'dictionary':{},'getPluralForm':null},_0x381cfb['zh']['dictionary']=Object['assign'](_0x381cfb['zh']['dictionary'],_0x4512d5),_0x381cfb['zh']['getPluralForm']=_0x10b7b0;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "46.1.0-alpha.
|
|
3
|
+
"version": "46.1.0-alpha.2",
|
|
4
4
|
"description": "Document revision history feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-autosave": "46.1.0-alpha.
|
|
43
|
-
"@ckeditor/ckeditor5-comments": "46.1.0-alpha.
|
|
44
|
-
"@ckeditor/ckeditor5-core": "46.1.0-alpha.
|
|
45
|
-
"@ckeditor/ckeditor5-editor-classic": "46.1.0-alpha.
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "46.1.0-alpha.
|
|
47
|
-
"@ckeditor/ckeditor5-icons": "46.1.0-alpha.
|
|
48
|
-
"@ckeditor/ckeditor5-ui": "46.1.0-alpha.
|
|
49
|
-
"@ckeditor/ckeditor5-utils": "46.1.0-alpha.
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "46.1.0-alpha.2",
|
|
43
|
+
"@ckeditor/ckeditor5-comments": "46.1.0-alpha.2",
|
|
44
|
+
"@ckeditor/ckeditor5-core": "46.1.0-alpha.2",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-classic": "46.1.0-alpha.2",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "46.1.0-alpha.2",
|
|
47
|
+
"@ckeditor/ckeditor5-icons": "46.1.0-alpha.2",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "46.1.0-alpha.2",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "46.1.0-alpha.2",
|
|
50
50
|
"@types/luxon": "3.6.2",
|
|
51
|
-
"ckeditor5": "46.1.0-alpha.
|
|
52
|
-
"ckeditor5-collaboration": "46.1.0-alpha.
|
|
51
|
+
"ckeditor5": "46.1.0-alpha.2",
|
|
52
|
+
"ckeditor5-collaboration": "46.1.0-alpha.2",
|
|
53
53
|
"es-toolkit": "1.39.5",
|
|
54
54
|
"luxon": "3.6.1"
|
|
55
55
|
},
|
package/src/changeitem.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x4b40(_0x30df68,_0x39fc58){var _0x1adfff=_0x1adf();return _0x4b40=function(_0x4b40fc,_0x33f3de){_0x4b40fc=_0x4b40fc-0x8e;var _0x4b1f5e=_0x1adfff[_0x4b40fc];return _0x4b1f5e;},_0x4b40(_0x30df68,_0x39fc58);}function _0x1adf(){var _0x24dd2b=['7716ZlABOy','1482lOpkmT','54VrlTgO','38588lAjOWD','367515IvceHT','createdAt','1387774okgwfD','author','toJSON','3343746NhNpjb','rootName','1060190EdtyUa','182336oLbvYT','data','set','10GoLWDD','7524TuuYni','259drTgIj','type'];_0x1adf=function(){return _0x24dd2b;};return _0x1adf();}var _0x42f0b4=_0x4b40;(function(_0x3ae328,_0x13b029){var _0x3b4f01=_0x4b40,_0x22f694=_0x3ae328();while(!![]){try{var _0x5e4a56=parseInt(_0x3b4f01(0x8e))/0x1+-parseInt(_0x3b4f01(0x90))/0x2+-parseInt(_0x3b4f01(0x9e))/0x3*(parseInt(_0x3b4f01(0x9a))/0x4)+parseInt(_0x3b4f01(0x99))/0x5*(parseInt(_0x3b4f01(0x93))/0x6)+parseInt(_0x3b4f01(0x9b))/0x7*(-parseInt(_0x3b4f01(0x96))/0x8)+parseInt(_0x3b4f01(0x9f))/0x9*(-parseInt(_0x3b4f01(0x95))/0xa)+-parseInt(_0x3b4f01(0xa0))/0xb*(-parseInt(_0x3b4f01(0x9d))/0xc);if(_0x5e4a56===_0x13b029)break;else _0x22f694['push'](_0x22f694['shift']());}catch(_0x40b3a8){_0x22f694['push'](_0x22f694['shift']());}}}(_0x1adf,0x9b156));import{ObservableMixin as _0x2c0ffb,uid as _0x23c41c}from'ckeditor5/src/utils.js';export class ChangeItem extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2c0ffb(){['id'];[_0x42f0b4(0x91)];[_0x42f0b4(0x9c)];[_0x42f0b4(0x97)];[_0x42f0b4(0x94)];constructor(_0x573220){var _0x3a3ce9=_0x42f0b4;super(),this['id']=_0x573220['id']||_0x23c41c(),this[_0x3a3ce9(0x91)]=_0x573220[_0x3a3ce9(0x91)],this[_0x3a3ce9(0x9c)]=_0x573220[_0x3a3ce9(0x9c)],this[_0x3a3ce9(0x97)]=_0x573220[_0x3a3ce9(0x97)]||{},this[_0x3a3ce9(0x94)]=_0x573220[_0x3a3ce9(0x94)],this[_0x3a3ce9(0x98)](_0x3a3ce9(0x8f),_0x573220[_0x3a3ce9(0x8f)]);}[_0x42f0b4(0x92)](){var _0x3b19f8=_0x42f0b4;return{'id':this['id'],'authorId':this[_0x3b19f8(0x91)]['id'],'type':this[_0x3b19f8(0x9c)],'data':this[_0x3b19f8(0x97)],'createdAt':this[_0x3b19f8(0x8f)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x133b84=_0x208b;(function(_0x44e76a,_0x516f19){const _0x577437=_0x208b,_0x3582f5=_0x44e76a();while(!![]){try{const _0x15214e=parseInt(_0x577437(0xf0))/0x1+parseInt(_0x577437(0xf9))/0x2*(-parseInt(_0x577437(0xea))/0x3)+-parseInt(_0x577437(0xfd))/0x4*(-parseInt(_0x577437(0x100))/0x5)+-parseInt(_0x577437(0xf4))/0x6*(parseInt(_0x577437(0xf1))/0x7)+parseInt(_0x577437(0xe8))/0x8+-parseInt(_0x577437(0xfb))/0x9+-parseInt(_0x577437(0xe6))/0xa*(parseInt(_0x577437(0x103))/0xb);if(_0x15214e===_0x516f19)break;else _0x3582f5['push'](_0x3582f5['shift']());}catch(_0xa6f0f5){_0x3582f5['push'](_0x3582f5['shift']());}}}(_0x42ce,0xbd10b));function _0x42ce(){const _0x56e3a9=['view','3742434IBPlgU','model','12nIEpVq','init','updateSourceElement','1349385ouuujs','initialData','initPlugins','11NinjPH','17234530IGPNoD','locale','11460672FcuxbP','destroy','337650sRSnKQ','sourceElement','ready','create','data','config','1235196HMTlzZ','13027DqBeJm','get','createRoot','366OoqoiO','_ui','fire','document','editing','8XofSHq'];_0x42ce=function(){return _0x56e3a9;};return _0x42ce();}function _0x208b(_0x37c21d,_0x553a79){const _0x42ceb2=_0x42ce();return _0x208b=function(_0x208b1e,_0x4f8af0){_0x208b1e=_0x208b1e-0xe6;let _0x7a423=_0x42ceb2[_0x208b1e];return _0x7a423;},_0x208b(_0x37c21d,_0x553a79);}import{Editor as _0x3c464a,ElementApiMixin as _0x4b48d6}from'ckeditor5/src/core.js';import{RevisionViewerEditorUI as _0x538074}from'./revisionviewereditorui.js';import{RevisionViewerEditorUIView as _0x2918bd}from'./revisionviewereditoruiview.js';export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4b48d6(_0x3c464a){[_0x133b84(0xf5)];get['ui'](){const _0x496e4e=_0x133b84;return this[_0x496e4e(0xf5)];}constructor(_0x333f59,_0x17ba6b){const _0x5c928d=_0x133b84;super(_0x17ba6b),this[_0x5c928d(0xeb)]=_0x333f59,this[_0x5c928d(0xfc)][_0x5c928d(0xf7)][_0x5c928d(0xf3)]();const _0x4521cd=new _0x2918bd(this[_0x5c928d(0xe7)],this[_0x5c928d(0xf8)][_0x5c928d(0xfa)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x5c928d(0xf5)]=new _0x538074(this,_0x4521cd);}[_0x133b84(0xe9)](){const _0x13f03d=_0x133b84;return this[_0x13f03d(0xff)](),this['ui'][_0x13f03d(0xe9)](),super[_0x13f03d(0xe9)]();}static async[_0x133b84(0xed)](_0x5e351e,_0x14142f){const _0xbcee80=_0x133b84,_0x5c27a0=new this(_0x5e351e,_0x14142f);return await _0x5c27a0[_0xbcee80(0x102)](),await _0x5c27a0['ui'][_0xbcee80(0xfe)](_0x5e351e),await _0x5c27a0[_0xbcee80(0xee)][_0xbcee80(0xfe)](_0x5c27a0[_0xbcee80(0xef)][_0xbcee80(0xf2)](_0xbcee80(0x101))||''),_0x5c27a0[_0xbcee80(0xf6)](_0xbcee80(0xec)),_0x5c27a0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x10d9(){const _0x57a327=['isFocused','setEditableElement','8BHqmjx','toolbar','detachDomRoot','editor','viewportTopOffset','3124330EOoWPB','replace','focusTracker','8QnOPgk','restore','view','11IrARbs','getRoot','editing','init','rootName','_initToolbar','componentFactory','editable','attachDomRoot','element','544240GvxkoS','158985ForfJa','addToolbar','isActive','_elementReplacer','config','6314IVEZEg','ready','fire','viewportOffset','get','limiterElement','name','stickyPanel','1507968urjBhU','fillFromConfig','bind','414hEcbGW','destroy','document','_toolbarConfig','render','59513NhqJfR','_view','688496cSxcvy'];_0x10d9=function(){return _0x57a327;};return _0x10d9();}const _0x30eb94=_0x4b42;(function(_0xbbb8e,_0x181ac8){const _0xd7a74c=_0x4b42,_0x93e259=_0xbbb8e();while(!![]){try{const _0x5b0758=parseInt(_0xd7a74c(0x83))/0x1*(parseInt(_0xd7a74c(0x88))/0x2)+-parseInt(_0xd7a74c(0x6e))/0x3+parseInt(_0xd7a74c(0x90))/0x4*(-parseInt(_0xd7a74c(0x6d))/0x5)+parseInt(_0xd7a74c(0x7e))/0x6*(-parseInt(_0xd7a74c(0x73))/0x7)+parseInt(_0xd7a74c(0x85))/0x8+-parseInt(_0xd7a74c(0x7b))/0x9+-parseInt(_0xd7a74c(0x8d))/0xa*(-parseInt(_0xd7a74c(0x93))/0xb);if(_0x5b0758===_0x181ac8)break;else _0x93e259['push'](_0x93e259['shift']());}catch(_0x3ca87b){_0x93e259['push'](_0x93e259['shift']());}}}(_0x10d9,0x21382));import{EditorUI as _0x234549,normalizeToolbarConfig as _0x1f9bd1}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x480c5e}from'ckeditor5/src/utils.js';function _0x4b42(_0x397bf0,_0x3bc9e3){const _0x10d9dc=_0x10d9();return _0x4b42=function(_0x4b4235,_0xc20965){_0x4b4235=_0x4b4235-0x6a;let _0x4b693b=_0x10d9dc[_0x4b4235];return _0x4b693b;},_0x4b42(_0x397bf0,_0x3bc9e3);}export class RevisionViewerEditorUI extends _0x234549{[_0x30eb94(0x84)];[_0x30eb94(0x81)];[_0x30eb94(0x71)];get[_0x30eb94(0x92)](){const _0x4cf8e6=_0x30eb94;return this[_0x4cf8e6(0x84)];}constructor(_0xe2dc0a,_0x3b6d81){const _0x5c9245=_0x30eb94;super(_0xe2dc0a),this[_0x5c9245(0x84)]=_0x3b6d81,this[_0x5c9245(0x81)]=_0x1f9bd1(_0xe2dc0a[_0x5c9245(0x72)][_0x5c9245(0x77)](_0x5c9245(0x89))),this[_0x5c9245(0x71)]=new _0x480c5e();}get[_0x30eb94(0x6c)](){const _0x14a199=_0x30eb94;return this[_0x14a199(0x92)][_0x14a199(0x6c)];}[_0x30eb94(0x96)](_0x202794){const _0x3543ab=_0x30eb94,_0x3305b2=this[_0x3543ab(0x8b)],_0x54952a=this[_0x3543ab(0x92)],_0x4efe75=_0x3305b2[_0x3543ab(0x95)][_0x3543ab(0x92)],_0xc68d64=_0x54952a[_0x3543ab(0x6a)],_0x1cfe13=_0x4efe75[_0x3543ab(0x80)][_0x3543ab(0x94)]();_0xc68d64[_0x3543ab(0x79)]=_0x1cfe13[_0x3543ab(0x97)],_0x54952a[_0x3543ab(0x82)]();const _0x305d2d=_0xc68d64[_0x3543ab(0x6c)];this[_0x3543ab(0x87)](_0xc68d64[_0x3543ab(0x79)],_0x305d2d),_0x54952a[_0x3543ab(0x6a)][_0x3543ab(0x7d)](_0x3543ab(0x86))['to'](this[_0x3543ab(0x8f)]),_0x4efe75[_0x3543ab(0x6b)](_0x305d2d),this[_0x3543ab(0x71)][_0x3543ab(0x8e)](_0x202794,this[_0x3543ab(0x6c)]),this[_0x3543ab(0x98)](),this[_0x3543ab(0x75)](_0x3543ab(0x74));}[_0x30eb94(0x7f)](){const _0x54978e=_0x30eb94;super[_0x54978e(0x7f)]();const _0x2c7f66=this[_0x54978e(0x92)],_0x5cd44b=this[_0x54978e(0x8b)][_0x54978e(0x95)][_0x54978e(0x92)];this[_0x54978e(0x71)][_0x54978e(0x91)](),_0x5cd44b[_0x54978e(0x8a)](_0x2c7f66[_0x54978e(0x6a)][_0x54978e(0x79)]),_0x2c7f66[_0x54978e(0x7f)]();}[_0x30eb94(0x98)](){const _0x1452a2=_0x30eb94,_0x373fe6=this[_0x1452a2(0x92)];_0x373fe6[_0x1452a2(0x7a)][_0x1452a2(0x7d)](_0x1452a2(0x70))['to'](this[_0x1452a2(0x8f)],_0x1452a2(0x86)),_0x373fe6[_0x1452a2(0x7a)][_0x1452a2(0x78)]=_0x373fe6[_0x1452a2(0x6c)],_0x373fe6[_0x1452a2(0x7a)][_0x1452a2(0x7d)](_0x1452a2(0x8c))['to'](this,_0x1452a2(0x76),({top:_0x2019a6})=>_0x2019a6),_0x373fe6[_0x1452a2(0x89)][_0x1452a2(0x7c)](this[_0x1452a2(0x81)],this[_0x1452a2(0x99)]),this[_0x1452a2(0x6f)](_0x373fe6[_0x1452a2(0x89)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x43d600=_0x3d00;function _0x5835(){var _0x194c4f=['38570STzGrr','24992019HsahlS','_editable','add','top','content','stickyPanel','524AkWaJW','shouldToolbarGroupWhenFull','2925549hOPdpE','editable','262990NsbzHt','main','7VpTWDz','toolbar','5935884XpNWIB','3839256icgvqO','render','132588ctpTdQ'];_0x5835=function(){return _0x194c4f;};return _0x5835();}(function(_0x4c719e,_0x1ad6c7){var _0x4fd0b9=_0x3d00,_0x5161f7=_0x4c719e();while(!![]){try{var _0x1095e2=parseInt(_0x4fd0b9(0x1c4))/0x1+parseInt(_0x4fd0b9(0x1d0))/0x2+-parseInt(_0x4fd0b9(0x1ce))/0x3+-parseInt(_0x4fd0b9(0x1cc))/0x4*(parseInt(_0x4fd0b9(0x1c5))/0x5)+-parseInt(_0x4fd0b9(0x1c1))/0x6+parseInt(_0x4fd0b9(0x1bf))/0x7*(parseInt(_0x4fd0b9(0x1c2))/0x8)+parseInt(_0x4fd0b9(0x1c6))/0x9;if(_0x1095e2===_0x1ad6c7)break;else _0x5161f7['push'](_0x5161f7['shift']());}catch(_0x2991dc){_0x5161f7['push'](_0x5161f7['shift']());}}}(_0x5835,0x8543a));import{BoxedEditorUIView as _0x2c770b,InlineEditableUIView as _0x4f3210,StickyPanelView as _0x3707f2,ToolbarView as _0xaded92}from'ckeditor5/src/ui.js';function _0x3d00(_0x1c7a34,_0xdfebf7){var _0x5835c0=_0x5835();return _0x3d00=function(_0x3d004d,_0xefd692){_0x3d004d=_0x3d004d-0x1be;var _0x49db9b=_0x5835c0[_0x3d004d];return _0x49db9b;},_0x3d00(_0x1c7a34,_0xdfebf7);}import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export class RevisionViewerEditorUIView extends _0x2c770b{[_0x43d600(0x1c7)];[_0x43d600(0x1cb)];[_0x43d600(0x1c0)];get[_0x43d600(0x1cf)](){var _0x23aeef=_0x43d600;return this[_0x23aeef(0x1c7)];}constructor(_0xc0b1a1,_0x198ed6,_0x1d4b53={}){var _0x491ea=_0x43d600;super(_0xc0b1a1),this[_0x491ea(0x1cb)]=new _0x3707f2(_0xc0b1a1),this[_0x491ea(0x1c0)]=new _0xaded92(_0xc0b1a1,{'shouldGroupWhenFull':_0x1d4b53[_0x491ea(0x1cd)]}),this[_0x491ea(0x1c7)]=new _0x4f3210(_0xc0b1a1,_0x198ed6);}[_0x43d600(0x1c3)](){var _0x4f084d=_0x43d600;super[_0x4f084d(0x1c3)](),this[_0x4f084d(0x1cb)][_0x4f084d(0x1ca)][_0x4f084d(0x1c8)](this[_0x4f084d(0x1c0)]),this[_0x4f084d(0x1c9)][_0x4f084d(0x1c8)](this[_0x4f084d(0x1cb)]),this[_0x4f084d(0x1be)][_0x4f084d(0x1c8)](this[_0x4f084d(0x1cf)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4c5cc7,_0x50990a){var _0xa24808=_0xb429,_0x4d79d0=_0x4c5cc7();while(!![]){try{var _0x5d8819=-parseInt(_0xa24808(0xc8))/0x1+-parseInt(_0xa24808(0xc4))/0x2*(-parseInt(_0xa24808(0xc9))/0x3)+parseInt(_0xa24808(0xc7))/0x4+-parseInt(_0xa24808(0xcb))/0x5*(parseInt(_0xa24808(0xc1))/0x6)+parseInt(_0xa24808(0xc6))/0x7*(parseInt(_0xa24808(0xc5))/0x8)+parseInt(_0xa24808(0xca))/0x9*(-parseInt(_0xa24808(0xc2))/0xa)+parseInt(_0xa24808(0xc3))/0xb;if(_0x5d8819===_0x50990a)break;else _0x4d79d0['push'](_0x4d79d0['shift']());}catch(_0x40099f){_0x4d79d0['push'](_0x4d79d0['shift']());}}}(_0x112b,0xc15bd));export{Revision}from'./revision.js';export{RevisionHistory,RevisionViewerIntegration}from'./revisionhistory.js';export{RevisionsRepository}from'./revisionsrepository.js';export{RevisionHistoryUtils}from'./revisionhistoryutils.js';export{RevisionViewerLoadingOverlay}from'./ui/revisionviewer/revisionviewerloadingoverlay.js';export{RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';export{RevisionTracker}from'./revisiontracker.js';export{RevisionViewer,RestoreRevisionCommand,ShowChangeCommand}from'./revisionviewer.js';function _0x112b(){var _0x1748c9=['8abScIw','2180367SfCBWs','217760uSeOSG','1087828IDWkAk','105osqIeG','11925126GiwDhP','5sawwFw','2482950loRtxm','10nalrcH','33533313httNPD','11672zerTWR'];_0x112b=function(){return _0x1748c9;};return _0x112b();}export{RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';export{RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';function _0xb429(_0x470686,_0x96bce7){var _0x112b6e=_0x112b();return _0xb429=function(_0xb4297,_0x36a6b9){_0xb4297=_0xb4297-0xc1;var _0x4461e2=_0x112b6e[_0xb4297];return _0x4461e2;},_0xb429(_0x470686,_0x96bce7);}export{RevisionViewerEditor}from'./editor/revisionviewereditor.js';import'./augmentation.js';
|
package/src/revision.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1b2a40=_0x1faa;function _0x3d6e(){const _0x2ddcfa=['setName','4497038RvmVUR','model','createdAt','fire','532fCtjXh','map','set','toJSON','69592euwqxS','creatorId','creator','name','420666HpVqYh','910628bqfsmh','removeAttribute','2811dzqjEV','attributes','18TkavES','fromVersion','_update','setAttribute','diffData','authorsIds','authors','4274205amCQqY','toVersion','13731824cJZmjM'];_0x3d6e=function(){return _0x2ddcfa;};return _0x3d6e();}(function(_0x2f9da4,_0x8100c){const _0x31d0ee=_0x1faa,_0x18ed0f=_0x2f9da4();while(!![]){try{const _0x2a5a5f=-parseInt(_0x31d0ee(0xf4))/0x1+parseInt(_0x31d0ee(0x107))/0x2*(-parseInt(_0x31d0ee(0xf6))/0x3)+-parseInt(_0x31d0ee(0x10b))/0x4+-parseInt(_0x31d0ee(0xff))/0x5+-parseInt(_0x31d0ee(0xf3))/0x6+-parseInt(_0x31d0ee(0x103))/0x7+parseInt(_0x31d0ee(0x101))/0x8*(parseInt(_0x31d0ee(0xf8))/0x9);if(_0x2a5a5f===_0x8100c)break;else _0x18ed0f['push'](_0x18ed0f['shift']());}catch(_0x524d66){_0x18ed0f['push'](_0x18ed0f['shift']());}}}(_0x3d6e,0xa80ae));import{ObservableMixin as _0x376b75,uid as _0x530460}from'ckeditor5/src/utils.js';import{cloneDeep as _0xe088bb,set as _0x5b41ca,unset as _0x1ac3df}from'es-toolkit/compat';function _0x1faa(_0x4657ae,_0xefde78){const _0x3d6e7d=_0x3d6e();return _0x1faa=function(_0x1faac9,_0x50741a){_0x1faac9=_0x1faac9-0xf0;let _0x1bc6f4=_0x3d6e7d[_0x1faac9];return _0x1bc6f4;},_0x1faa(_0x4657ae,_0xefde78);}export class Revision extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x376b75(){['id'];[_0x1b2a40(0xf1)];[_0x1b2a40(0xfe)];[_0x1b2a40(0xfc)];[_0x1b2a40(0x100)];[_0x1b2a40(0xf9)];[_0x1b2a40(0x104)];constructor(_0x3b4fa5){const _0x225960=_0x1b2a40;super(),this['id']=_0x3b4fa5['id']||_0x530460(),this[_0x225960(0xf1)]=_0x3b4fa5[_0x225960(0xf1)]||null,this[_0x225960(0xfe)]=_0x3b4fa5[_0x225960(0xfe)]||[],this[_0x225960(0xfc)]=_0x3b4fa5[_0x225960(0xfc)]||null,this[_0x225960(0x100)]=_0x3b4fa5[_0x225960(0x100)]||0x0,this[_0x225960(0xf9)]=_0x3b4fa5[_0x225960(0xf9)]||0x0,this[_0x225960(0x109)](_0x225960(0xf2),_0x3b4fa5[_0x225960(0xf2)]||''),this[_0x225960(0x109)](_0x225960(0x105),_0x3b4fa5[_0x225960(0x105)]||new Date()),this[_0x225960(0x109)](_0x225960(0xf7),_0x3b4fa5[_0x225960(0xf7)]||{});}[_0x1b2a40(0x102)](_0xf8e17f){const _0x4c5fd8=_0x1b2a40;this[_0x4c5fd8(0xfa)]({'name':_0xf8e17f});}[_0x1b2a40(0xfb)](_0x425330,_0x401764){const _0x2c56e0=_0x1b2a40,_0x1129a5=_0xe088bb(this[_0x2c56e0(0xf7)]);_0x5b41ca(_0x1129a5,_0x425330,_0x401764),this[_0x2c56e0(0xfa)]({'attributes':_0x1129a5});}[_0x1b2a40(0xf5)](_0x3dd032){const _0x580e42=_0x1b2a40,_0x33e802=_0xe088bb(this[_0x580e42(0xf7)]);_0x1ac3df(_0x33e802,_0x3dd032),this[_0x580e42(0xfa)]({'attributes':_0x33e802});}[_0x1b2a40(0xfa)](_0x159aba,_0x38bde6=!0x1){const _0x1fb43e=_0x1b2a40;let _0x476eeb=!0x1;const _0x56cd8a={'id':this['id']},_0x1444a4=[_0x1fb43e(0xf2),_0x1fb43e(0x105),_0x1fb43e(0xfc),_0x1fb43e(0xfe),_0x1fb43e(0xf7),_0x1fb43e(0x100),_0x1fb43e(0xf9),_0x1fb43e(0xf0)];for(const _0x5ac986 of _0x1444a4){const _0x47566f=_0x159aba[_0x5ac986];void 0x0!==_0x47566f&&_0x47566f!==this[_0x5ac986]&&(this[_0x5ac986]=_0x47566f,_0x56cd8a[_0x5ac986]=_0x47566f,_0x476eeb=!0x0);}_0x476eeb&&(_0x56cd8a[_0x1fb43e(0xfe)]&&(_0x56cd8a[_0x1fb43e(0xfd)]=_0x56cd8a[_0x1fb43e(0xfe)][_0x1fb43e(0x108)](_0x1684dd=>_0x1684dd['id']),delete _0x56cd8a[_0x1fb43e(0xfe)]),this[_0x1fb43e(0x106)](_0x1fb43e(0xfa),_0x56cd8a,_0x38bde6));}[_0x1b2a40(0x10a)](){const _0x2dd4f3=_0x1b2a40;return{'id':this['id'],'name':this[_0x2dd4f3(0xf2)],'creatorId':this[_0x2dd4f3(0xf1)]?this[_0x2dd4f3(0xf1)]['id']:null,'authorsIds':this[_0x2dd4f3(0xfe)][_0x2dd4f3(0x108)](_0x3900f9=>_0x3900f9['id']),'diffData':this[_0x2dd4f3(0xfc)],'createdAt':this[_0x2dd4f3(0x105)],'attributes':this[_0x2dd4f3(0xf7)],'fromVersion':this[_0x2dd4f3(0xf9)],'toVersion':this[_0x2dd4f3(0x100)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5355(_0x506099,_0x278a9c){const _0x3a49d6=_0x3a49();return _0x5355=function(_0x535526,_0x41083a){_0x535526=_0x535526-0x1e7;let _0x13767a=_0x3a49d6[_0x535526];return _0x13767a;},_0x5355(_0x506099,_0x278a9c);}const _0x17a0b8=_0x5355;(function(_0x18b0bd,_0x32546b){const _0x23279a=_0x5355,_0xab56d4=_0x18b0bd();while(!![]){try{const _0x1a3037=parseInt(_0x23279a(0x1f4))/0x1*(-parseInt(_0x23279a(0x1f5))/0x2)+-parseInt(_0x23279a(0x1f0))/0x3+parseInt(_0x23279a(0x1ed))/0x4+-parseInt(_0x23279a(0x1f3))/0x5*(-parseInt(_0x23279a(0x1e7))/0x6)+parseInt(_0x23279a(0x1eb))/0x7+parseInt(_0x23279a(0x1ef))/0x8+parseInt(_0x23279a(0x1e9))/0x9*(-parseInt(_0x23279a(0x1ec))/0xa);if(_0x1a3037===_0x32546b)break;else _0xab56d4['push'](_0xab56d4['shift']());}catch(_0x1962d4){_0xab56d4['push'](_0xab56d4['shift']());}}}(_0x3a49,0x3494c));function _0x3a49(){const _0x47db2d=['185jrsuDk','3441dQKsde','26XduqBH','15366vXthCg','_setChanges','1693593KKbmxc','add','2088758hbywIy','30dUAvGB','1230452oVTljJ','changes','1476824YxQmEK','182193jHrSQM','newRevisionId','oldRevisionId'];_0x3a49=function(){return _0x47db2d;};return _0x3a49();}import{Collection as _0x48daf4}from'ckeditor5/src/utils.js';export class RevisionDiff{[_0x17a0b8(0x1f1)];[_0x17a0b8(0x1f2)];[_0x17a0b8(0x1ee)];constructor(_0x59e85c,_0x2e5cbe){const _0x3b8185=_0x17a0b8;this[_0x3b8185(0x1f1)]=_0x59e85c,this[_0x3b8185(0x1f2)]=_0x2e5cbe,this[_0x3b8185(0x1ee)]=new _0x48daf4();}[_0x17a0b8(0x1e8)](_0x339ba3){const _0x50f41f=_0x17a0b8;for(const _0x4160fd of _0x339ba3)this[_0x50f41f(0x1ee)][_0x50f41f(0x1ea)](_0x4160fd);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x30e53b=_0xb95f;(function(_0x2a4a52,_0x42b2ce){const _0x10699d=_0xb95f,_0x1744f0=_0x2a4a52();while(!![]){try{const _0x377892=parseInt(_0x10699d(0xc6))/0x1+parseInt(_0x10699d(0xe0))/0x2*(-parseInt(_0x10699d(0xde))/0x3)+parseInt(_0x10699d(0xf7))/0x4*(parseInt(_0x10699d(0x6c))/0x5)+parseInt(_0x10699d(0xc9))/0x6*(parseInt(_0x10699d(0xe4))/0x7)+parseInt(_0x10699d(0x89))/0x8+-parseInt(_0x10699d(0x100))/0x9+-parseInt(_0x10699d(0xc3))/0xa*(parseInt(_0x10699d(0xe2))/0xb);if(_0x377892===_0x42b2ce)break;else _0x1744f0['push'](_0x1744f0['shift']());}catch(_0x56e0f1){_0x1744f0['push'](_0x1744f0['shift']());}}}(_0xfa09,0xcea02));import{Plugin as _0x166c89}from'ckeditor5/src/core.js';import{CKEditorError as _0x386137,uid as _0x13b88b}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x3ee83a}from'./revisiontracker.js';import{RevisionHistoryUI as _0x55ba63}from'./ui/revisionhistory/revisionhistoryui.js';function _0xb95f(_0x57dbb6,_0x40164b){const _0xfa09a3=_0xfa09();return _0xb95f=function(_0xb95f78,_0x2dff5e){_0xb95f78=_0xb95f78-0x6a;let _0x581fe0=_0xfa09a3[_0xb95f78];return _0x581fe0;},_0xb95f(_0x57dbb6,_0x40164b);}import{RevisionViewer as _0x5ecf0a}from'./revisionviewer.js';import{RevisionViewerUI as _0x5ad272}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0xc0f3c6}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x338490}from'./editor/revisionviewereditor.js';import{getTranslation as _0x3d296e}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x5c9343}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xfa09(){const _0xa27a=['parse','requires','create','markers','removeAttribute','uiLanguage','revisionHistory.restoreRevisionCallback','RestrictedEditingMode','setAttribute','revisionHistory.viewerContainer','block','define','refreshPositioning','save','has','isAttached','4ijnCnt','saveRevision','refreshVisibility','users','Users','createRangeIn','_showRevisionViewer','RevisionHistoryUtils','result','6889824IULCYt','Dialog','hide','fromCharCode','error','5099475pgkwfq','remove','revisionHistory.requireRevisionName','long','init','revisionHistory.showRevisionViewerCallback','Restored','push','isPremiumPlugin','changesNavigation','repository','toVersion','view','revisionHistory.editorContainer','toolbar','getMarkersGroup','isOfficialPlugin','getAttributeKeys','change','showRevisionViewerCallback','style','revisionHistory.viewerEditorElement','getRoot','from','getRevisionDocumentData','keys','revision-history-missing-configuration','enableReadOnlyMode','end','11155160UbKQZE','revision-history-viewer-opened','then','disableReadOnlyMode','removeMarker','isEnabled','display','addRevisionData','getRevisions','DocumentOutline','_enhanceCloseRevisionViewerCallback','element','getUser','name','map','_recalculatePageBreaks','config','get','_update','indexOf','addUser','isRevisionViewerOpen','fromVersion','catch','RevisionHistory','lazyRoots','numeric','restoreRevision','adapter','_viewerEditor','destroy','creator','selection','Annotations','toJSON','_enhanceShowRevisionViewerCallback','enqueueChange','join','plugins','closeRevisionViewerCallback','_restoreRevision','set','includes','bind','roots','exitToEditing','toLocaleDateString','rootName','toLocaleTimeString','RevisionViewerIntegration','isReady','_closeRevisionViewer','createdAt','commands','locale','revisionHistory.closeRevisionViewerCallback','editor','getRevisionRootsAttributes','60neejoN','RevisionTracker','setSelection','683566ilamjH','Autosave','restrictedEditingException','102fUCepl','isReadOnly','document','pluginName','RevisionHistoryUI','addRoot','translations','RevisionsRepository','detachRoot','insert','revisionHistory','isOpen','$graveyard','loadRevisionData','RevisionViewer','isAnonymous','DocumentOutlineUI','removeSelectionAttribute','none','data','_getRevisionViewerEditorConfig','5778LzJWEI','update','206ILlSXV','model','2486957QrmNIU','_cleanUp','28378iqNxNe','PaginationLookup','getRevision'];_0xfa09=function(){return _0xa27a;};return _0xfa09();}const d=[_0x30e53b(0xcd),_0x30e53b(0xee)];export class RevisionViewerIntegration extends _0x166c89{[_0x30e53b(0xff)];static get[_0x30e53b(0xcc)](){const _0x3bf0f0=_0x30e53b;return _0x3bf0f0(0xba);}static get[_0x30e53b(0x7c)](){return!0x0;}static get[_0x30e53b(0x74)](){return!0x0;}constructor(_0x2a7352){const _0x32dfc3=_0x30e53b;function _0x182df8(_0x4b45ee){const _0x104990=_0xb95f;return _0x4b45ee[_0x104990(0x97)](_0x125985=>String[_0x104990(0x6a)](_0x125985))[_0x104990(0xae)]('');}super(_0x2a7352),this[_0x32dfc3(0xff)]=_0x32dfc3(0x88),_0x2a7352[_0x182df8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x182df8([0x76,0x69,0x65,0x77])][_0x182df8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x182df8([0x61,0x75,0x74,0x6f]),_0x2a7352[_0x182df8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x182df8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x182df8([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x182df8([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x182df8([0x6f,0x6b])});}}export class RevisionHistory extends _0x166c89{[_0x30e53b(0xa6)];static get[_0x30e53b(0xcc)](){const _0x1079dc=_0x30e53b;return _0x1079dc(0xa1);}static get[_0x30e53b(0x7c)](){return!0x0;}static get[_0x30e53b(0x74)](){return!0x0;}static get[_0x30e53b(0xe8)](){return[_0x3ee83a,_0x55ba63];}constructor(_0x22d619){const _0x5b085f=_0x30e53b;if(super(_0x22d619),!this[_0x5b085f(0xc1)][_0x5b085f(0x99)][_0x5b085f(0x9a)](_0x5b085f(0xd3)))throw new _0x386137(_0x5b085f(0x86),this);this[_0x5b085f(0xa6)]=null,this[_0x5b085f(0xb2)](_0x5b085f(0x9e),!0x1),this[_0x5b085f(0xc1)][_0x5b085f(0x99)][_0x5b085f(0xf2)](_0x5b085f(0x71),_0x264650=>this[_0x5b085f(0xfd)]({..._0x264650,'translations':this[_0x5b085f(0xc1)][_0x5b085f(0xbf)][_0x5b085f(0xcf)]})),this[_0x5b085f(0xc1)][_0x5b085f(0x99)][_0x5b085f(0xf2)](_0x5b085f(0xc0),_0x4722d2=>this[_0x5b085f(0xbc)](_0x4722d2)),this[_0x5b085f(0xc1)][_0x5b085f(0x99)][_0x5b085f(0xf2)](_0x5b085f(0xed),_0x402d99=>this[_0x5b085f(0xb1)](_0x402d99)),this[_0x5b085f(0xc1)][_0x5b085f(0x99)][_0x5b085f(0xf2)](_0x5b085f(0x6e),!0x1),this[_0x5b085f(0xac)](),this[_0x5b085f(0x93)]();}set[_0x30e53b(0xa5)](_0x1351d8){const _0x179984=_0x30e53b;this[_0x179984(0xc1)][_0x179984(0xaf)][_0x179984(0x9a)](_0x179984(0xc4))[_0x179984(0xa5)]=_0x1351d8;}get[_0x30e53b(0xa5)](){const _0x49b9a4=_0x30e53b;return this[_0x49b9a4(0xc1)][_0x49b9a4(0xaf)][_0x49b9a4(0x9a)](_0x49b9a4(0xc4))[_0x49b9a4(0xa5)];}[_0x30e53b(0x90)](_0x273bf8){const _0x2f6df1=_0x30e53b;return this[_0x2f6df1(0xc1)][_0x2f6df1(0xaf)][_0x2f6df1(0x9a)](_0x2f6df1(0xc4))[_0x2f6df1(0x90)](_0x273bf8);}[_0x30e53b(0xe6)](_0x30f1d5){const _0x17c664=_0x30e53b;return this[_0x17c664(0xc1)][_0x17c664(0xaf)][_0x17c664(0x9a)](_0x17c664(0xd0))[_0x17c664(0xe6)](_0x30f1d5);}[_0x30e53b(0x91)](_0x191365){const _0x89dddd=_0x30e53b;return this[_0x89dddd(0xc1)][_0x89dddd(0xaf)][_0x89dddd(0x9a)](_0x89dddd(0xd0))[_0x89dddd(0x91)](_0x191365||{'toJSON':!0x1});}[_0x30e53b(0xdd)](){const _0x5c5934=_0x30e53b,_0x4bc8dc=this[_0x5c5934(0xc1)],_0x21d5f5=_0x5c9343(_0x4bc8dc,d),_0x345799=_0x4bc8dc[_0x5c5934(0xaf)][_0x5c5934(0x9a)](_0x5c5934(0xc4)),_0xfcf186=_0x4bc8dc[_0x5c5934(0xaf)][_0x5c5934(0x9a)](_0x5c5934(0xfb))[_0x5c5934(0xfa)];return _0x21d5f5[_0x5c5934(0x7a)]=[_0x5c5934(0xb6),_0x5c5934(0xa4),_0x5c5934(0x75)],delete _0x21d5f5[_0x5c5934(0xa2)],(_0x21d5f5[_0x5c5934(0xaf)][_0x5c5934(0x73)](RevisionViewerIntegration,_0x5ecf0a,_0x5ad272,class extends _0x166c89{static get[_0x5c5934(0xe8)](){const _0x26b173=_0x5c5934;return[_0x5ecf0a,_0x26b173(0xfb)];}[_0x5c5934(0x70)](){const _0x5148f2=_0x5c5934,_0x46979e=this[_0x5148f2(0xc1)][_0x5148f2(0xaf)][_0x5148f2(0x9a)](_0x5148f2(0xfb));for(const _0x2bf14d of _0xfcf186)_0x2bf14d[_0x5148f2(0xd8)]||_0x46979e[_0x5148f2(0x95)](_0x2bf14d['id'])||_0x46979e[_0x5148f2(0x9d)](_0x2bf14d);const _0x344727=_0x345799[_0x5148f2(0x76)][_0x5148f2(0x91)]();let _0x31e12c=null;const _0x1085db=this[_0x5148f2(0xc1)][_0x5148f2(0xaf)][_0x5148f2(0x9a)](_0x5148f2(0xd7));_0x1085db[_0x5148f2(0xa5)]=_0x345799[_0x5148f2(0xa5)],_0x1085db[_0x5148f2(0xb4)](_0x5148f2(0x8e))['to'](_0x345799),this[_0x5148f2(0xc1)][_0x5148f2(0xbe)][_0x5148f2(0x9a)](_0x5148f2(0xa4))[_0x5148f2(0xb4)](_0x5148f2(0x8e))['to'](_0x4bc8dc,_0x5148f2(0xca),_0x153311=>!_0x153311);for(const _0x353e87 of _0x344727){const _0x8bf52a=null===_0x353e87[_0x5148f2(0xa8)];if(_0x8bf52a&&_0x353e87[_0x5148f2(0x77)]===_0x353e87[_0x5148f2(0x9f)])continue;const _0x33981c=_0x353e87[_0x5148f2(0xab)]();_0x1085db[_0x5148f2(0x90)](_0x33981c,(_0x3d7749,_0x2e6a81,_0x5b3507)=>{const _0x21cf02=_0x5148f2;if(_0x8bf52a){if(_0x31e12c)_0x31e12c[_0x21cf02(0x9b)](_0x3d7749,_0x2e6a81);else{if(!_0x2e6a81){const _0x198b43=_0x5b3507[_0x21cf02(0xab)]();_0x198b43['id']=_0x13b88b(),_0x345799[_0x21cf02(0xf8)](_0x198b43,_0x5b3507[_0x21cf02(0x77)])[_0x21cf02(0x8b)](_0x16d56a=>{_0x31e12c=_0x16d56a;});}}}else _0x353e87[_0x21cf02(0x9b)](_0x3d7749,_0x2e6a81);});}}},_0xc0f3c6),_0x21d5f5);}[_0x30e53b(0xac)](){const _0x406d40=_0x30e53b,_0x47d8d4=this[_0x406d40(0xc1)][_0x406d40(0x99)][_0x406d40(0x9a)](_0x406d40(0xd3))[_0x406d40(0x7f)];this[_0x406d40(0xc1)][_0x406d40(0x99)][_0x406d40(0xb2)](_0x406d40(0x71),async()=>{const _0x2079af=_0x406d40;this[_0x2079af(0xc1)][_0x2079af(0x87)](_0x2079af(0x8a));const _0x543416=this[_0x2079af(0xc1)][_0x2079af(0xaf)][_0x2079af(0x9a)](_0x2079af(0xc4));if(this[_0x2079af(0xc1)][_0x2079af(0xaf)][_0x2079af(0xf5)](_0x2079af(0xc7))){const _0x2ced27=this[_0x2079af(0xc1)][_0x2079af(0xaf)][_0x2079af(0x9a)](_0x2079af(0xc7));await _0x2ced27[_0x2079af(0xf4)]();}else await _0x543416[_0x2079af(0xdf)]();if(this[_0x2079af(0xc1)][_0x2079af(0xaf)][_0x2079af(0xf5)](_0x2079af(0xe5))&&this[_0x2079af(0xc1)][_0x2079af(0xaf)][_0x2079af(0x9a)](_0x2079af(0xe5))[_0x2079af(0x98)](),this[_0x2079af(0xc1)][_0x2079af(0xaf)][_0x2079af(0xf5)](_0x2079af(0x101))){const _0x57c650=this[_0x2079af(0xc1)][_0x2079af(0xaf)][_0x2079af(0x9a)](_0x2079af(0x101));_0x57c650[_0x2079af(0xd4)]&&_0x57c650[_0x2079af(0x102)]();}const _0x15103e=this[_0x2079af(0xdd)]();return _0x47d8d4(_0x15103e)[_0x2079af(0x8b)](_0x5b5ad6=>{const _0x5a8e7f=_0x2079af;return(this[_0x5a8e7f(0xa6)]=_0x5b5ad6,this[_0x5a8e7f(0xc1)][_0x5a8e7f(0xaf)][_0x5a8e7f(0xf5)](_0x5a8e7f(0xaa)))&&this[_0x5a8e7f(0xc1)][_0x5a8e7f(0xaf)][_0x5a8e7f(0x9a)](_0x5a8e7f(0xaa))[_0x5a8e7f(0xf9)](),(this[_0x5a8e7f(0xc1)][_0x5a8e7f(0xaf)][_0x5a8e7f(0xf5)](_0x5a8e7f(0x92))&&(this[_0x5a8e7f(0xc1)][_0x5a8e7f(0xaf)][_0x5a8e7f(0x9a)](_0x5a8e7f(0xd9))[_0x5a8e7f(0x78)][_0x5a8e7f(0x94)][_0x5a8e7f(0x80)][_0x5a8e7f(0x8f)]=_0x5a8e7f(0xdb)),_0x5b5ad6);})[_0x2079af(0xa0)](_0x274a13=>(console[_0x2079af(0x6b)](_0x274a13),this[_0x2079af(0xc1)][_0x2079af(0x8c)](_0x2079af(0x8a)),null));});}[_0x30e53b(0x93)](){const _0x47a36d=_0x30e53b,_0x418bae=this[_0x47a36d(0xc1)][_0x47a36d(0x99)][_0x47a36d(0x9a)](_0x47a36d(0xd3))[_0x47a36d(0xb0)];this[_0x47a36d(0xc1)][_0x47a36d(0x99)][_0x47a36d(0xb2)](_0x47a36d(0xc0),()=>(this[_0x47a36d(0xc1)][_0x47a36d(0xaf)][_0x47a36d(0xf5)](_0x47a36d(0xe5))&&this[_0x47a36d(0xc1)][_0x47a36d(0xaf)][_0x47a36d(0x9a)](_0x47a36d(0xe5))[_0x47a36d(0x98)](),this[_0x47a36d(0xc1)][_0x47a36d(0xaf)][_0x47a36d(0xf5)](_0x47a36d(0x92))&&(this[_0x47a36d(0xc1)][_0x47a36d(0xaf)][_0x47a36d(0x9a)](_0x47a36d(0xd9))[_0x47a36d(0x78)][_0x47a36d(0x94)][_0x47a36d(0x80)][_0x47a36d(0x8f)]=''),this[_0x47a36d(0xa6)][_0x47a36d(0xaf)][_0x47a36d(0x9a)](_0x47a36d(0xd7))[_0x47a36d(0xe3)](),_0x418bae(this[_0x47a36d(0xa6)])[_0x47a36d(0x8b)](()=>{const _0x1b858e=_0x47a36d;if(this[_0x1b858e(0xc1)][_0x1b858e(0x8c)](_0x1b858e(0x8a)),this[_0x1b858e(0xa6)]=null,this[_0x1b858e(0xc1)][_0x1b858e(0xaf)][_0x1b858e(0xf5)](_0x1b858e(0xaa))){const _0x3444af=this[_0x1b858e(0xc1)][_0x1b858e(0xaf)][_0x1b858e(0x9a)](_0x1b858e(0xaa));_0x3444af[_0x1b858e(0xf9)](),_0x3444af[_0x1b858e(0xf3)]();}})));}[_0x30e53b(0xfd)](_0x4aca15){const _0xf82bc8=_0x30e53b,_0x55350d=this[_0xf82bc8(0xc1)][_0xf82bc8(0x99)][_0xf82bc8(0x9a)](_0xf82bc8(0x79)),_0x8df83a=this[_0xf82bc8(0xc1)][_0xf82bc8(0x99)][_0xf82bc8(0x9a)](_0xf82bc8(0xf0)),_0x255722=this[_0xf82bc8(0xc1)][_0xf82bc8(0x99)][_0xf82bc8(0x9a)](_0xf82bc8(0x81));return _0x338490[_0xf82bc8(0xe9)](_0x255722,_0x4aca15)[_0xf82bc8(0x8b)](_0x450bd6=>(_0x8df83a[_0xf82bc8(0x80)][_0xf82bc8(0x8f)]=_0xf82bc8(0xf1),_0x55350d[_0xf82bc8(0x80)][_0xf82bc8(0x8f)]=_0xf82bc8(0xdb),this[_0xf82bc8(0x9e)]=!0x0,_0x450bd6));}[_0x30e53b(0xbc)](_0x39023c){const _0x1d63c3=_0x30e53b,_0x5bc8ca=this[_0x1d63c3(0xc1)][_0x1d63c3(0x99)][_0x1d63c3(0x9a)](_0x1d63c3(0x79));return this[_0x1d63c3(0xc1)][_0x1d63c3(0x99)][_0x1d63c3(0x9a)](_0x1d63c3(0xf0))[_0x1d63c3(0x80)][_0x1d63c3(0x8f)]=_0x1d63c3(0xdb),_0x5bc8ca[_0x1d63c3(0x80)][_0x1d63c3(0x8f)]='',this[_0x1d63c3(0x9e)]=!0x1,_0x39023c[_0x1d63c3(0xa7)]();}async[_0x30e53b(0xb1)](_0x52c0c4){const _0xc957cd=_0x30e53b,_0x4828d2=this[_0xc957cd(0xc1)],_0x97e0a6=this[_0xc957cd(0xa6)][_0xc957cd(0xaf)][_0xc957cd(0x9a)](_0xc957cd(0xd7)),_0x201f58=_0x4828d2[_0xc957cd(0xaf)][_0xc957cd(0x9a)](_0xc957cd(0xc4)),_0x43a449=_0x4828d2[_0xc957cd(0xaf)][_0xc957cd(0x9a)](_0xc957cd(0xfe)),_0x5648d3=_0x97e0a6[_0xc957cd(0x76)][_0xc957cd(0xe6)](_0x52c0c4);let _0x459d40,_0x128254,_0x44105b;try{await _0x43a449[_0xc957cd(0xd6)](_0x5648d3,this[_0xc957cd(0xa5)]),_0x459d40=_0x43a449[_0xc957cd(0x84)](_0x5648d3),_0x128254=_0x43a449[_0xc957cd(0xc2)](_0x5648d3);}catch(_0x1da49){return void console[_0xc957cd(0x6b)](_0x1da49);}_0x4828d2[_0xc957cd(0xe1)][_0xc957cd(0x7e)](_0x249c57=>{const _0x10215=_0xc957cd;for(const _0x281a51 of Array[_0x10215(0x83)](_0x4828d2[_0x10215(0xe1)][_0x10215(0xea)][_0x10215(0x7b)](_0x10215(0xc8))))_0x249c57[_0x10215(0x8d)](_0x281a51);}),_0x97e0a6[_0xc957cd(0xbb)]=!0x1,_0x4828d2[_0xc957cd(0xe1)][_0xc957cd(0xad)](_0x4e70b1=>{const _0x2b6ce1=_0xc957cd;_0x4e70b1[_0x2b6ce1(0xc5)](null),_0x4e70b1[_0x2b6ce1(0xda)](_0x4828d2[_0x2b6ce1(0xe1)][_0x2b6ce1(0xcb)][_0x2b6ce1(0xa9)][_0x2b6ce1(0x7d)]());const _0x5b968e=Object[_0x2b6ce1(0x85)](_0x459d40);for(const _0x5f55ce of _0x4828d2[_0x2b6ce1(0xe1)][_0x2b6ce1(0xcb)][_0x2b6ce1(0xb5)])_0x2b6ce1(0xd5)!=_0x5f55ce[_0x2b6ce1(0xb8)]&&_0x5f55ce[_0x2b6ce1(0xf6)]()&&!_0x5b968e[_0x2b6ce1(0xb3)](_0x5f55ce[_0x2b6ce1(0xb8)])&&_0x4e70b1[_0x2b6ce1(0xd1)](_0x5f55ce);for(const _0x5e83b5 of _0x5b968e){let _0x47795f=_0x4828d2[_0x2b6ce1(0xe1)][_0x2b6ce1(0xcb)][_0x2b6ce1(0x82)](_0x5e83b5);_0x47795f&&_0x47795f[_0x2b6ce1(0xf6)]()||(_0x47795f=_0x4e70b1[_0x2b6ce1(0xce)](_0x5e83b5));const _0x172342=_0x128254[_0x5e83b5],_0xc5f5a4=Object[_0x2b6ce1(0x85)](_0x172342),_0x48f93f=_0x459d40[_0x5e83b5];for(const _0x2db34a of _0x47795f[_0x2b6ce1(0x7d)]())_0xc5f5a4[_0x2b6ce1(0xb3)](_0x2db34a)||_0x4e70b1[_0x2b6ce1(0xeb)](_0x2db34a,_0x47795f);for(const _0x3e2788 of _0xc5f5a4)_0x4e70b1[_0x2b6ce1(0xef)](_0x3e2788,_0x128254[_0x5e83b5][_0x3e2788],_0x47795f);_0x4e70b1[_0x2b6ce1(0x6d)](_0x4e70b1[_0x2b6ce1(0xfc)](_0x47795f)),_0x4e70b1[_0x2b6ce1(0xd2)](_0x4828d2[_0x2b6ce1(0xdc)][_0x2b6ce1(0xe7)](_0x48f93f,_0x47795f),_0x47795f,0x0);}});const _0x4e76a9=_0x3d296e(_0x4828d2[_0xc957cd(0xbf)],_0xc957cd(0x72));if(_0x5648d3[_0xc957cd(0x96)])_0x44105b=-0x1==_0x5648d3[_0xc957cd(0x96)][_0xc957cd(0x9c)](_0x4e76a9)?_0x4e76a9+':\x20'+_0x5648d3[_0xc957cd(0x96)]:_0x5648d3[_0xc957cd(0x96)];else _0x44105b=_0x4e76a9+':\x20'+(_0x5648d3[_0xc957cd(0xbd)][_0xc957cd(0xb7)](_0x4828d2[_0xc957cd(0xbf)][_0xc957cd(0xec)],{'month':_0xc957cd(0x6f),'day':_0xc957cd(0xa3)})+',\x20'+_0x5648d3[_0xc957cd(0xbd)][_0xc957cd(0xb9)](_0x4828d2[_0xc957cd(0xbf)][_0xc957cd(0xec)],{'hour':_0xc957cd(0xa3),'minute':_0xc957cd(0xa3)}));return await _0x201f58[_0xc957cd(0xf8)]({'name':_0x44105b}),_0x97e0a6[_0xc957cd(0xbb)]=!0x0,_0x4828d2[_0xc957cd(0x99)][_0xc957cd(0x9a)](_0xc957cd(0xd3))[_0xc957cd(0xb0)]();}}
|
|
23
|
+
const _0x3849eb=_0x5a88;(function(_0x10c2aa,_0x5f30d3){const _0xfab2c8=_0x5a88,_0x21125d=_0x10c2aa();while(!![]){try{const _0x2e7b29=parseInt(_0xfab2c8(0x275))/0x1+parseInt(_0xfab2c8(0x257))/0x2+parseInt(_0xfab2c8(0x1fb))/0x3*(parseInt(_0xfab2c8(0x24b))/0x4)+-parseInt(_0xfab2c8(0x1f7))/0x5*(-parseInt(_0xfab2c8(0x21c))/0x6)+-parseInt(_0xfab2c8(0x200))/0x7+parseInt(_0xfab2c8(0x256))/0x8*(parseInt(_0xfab2c8(0x26d))/0x9)+-parseInt(_0xfab2c8(0x254))/0xa*(-parseInt(_0xfab2c8(0x21a))/0xb);if(_0x2e7b29===_0x5f30d3)break;else _0x21125d['push'](_0x21125d['shift']());}catch(_0x2d0976){_0x21125d['push'](_0x21125d['shift']());}}}(_0x1fc6,0x67396));import{Plugin as _0x29e003}from'ckeditor5/src/core.js';import{CKEditorError as _0x204a95,uid as _0x25e21c}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x4706d8}from'./revisiontracker.js';import{RevisionHistoryUI as _0x30fcd9}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x242d75}from'./revisionviewer.js';function _0x1fc6(){const _0x1b2c10=['744msODDq','128540VnfdCB','model','_update','isReadOnly','map','toLocaleDateString','long','selection','PaginationLookup','showRevisionViewerCallback','catch','uiLanguage','enqueueChange','removeSelectionAttribute','getRevisions','refreshPositioning','end','revision-history-viewer-opened','element','name','translations','save','42534CKNiNT','toJSON','revisionHistory.showRevisionViewerCallback','plugins','getAttributeKeys','roots','isOpen','create','589444oMiQLl','addRoot','result','RestrictedEditingMode','from','revisionHistory.viewerEditorElement','init','createdAt','RevisionHistoryUtils','changesNavigation','isEnabled','Dialog','view','users','change','isAnonymous','adapter','Users','DocumentOutlineUI','error','refreshVisibility','isPremiumPlugin','restrictedEditingException','pluginName','loadRevisionData','commands','RevisionTracker','10BKzFfZ','toVersion','$graveyard','rootName','91419rWblBk','join','includes','style','get','5722416GwpfXT','enableReadOnlyMode','DocumentOutline','document','has','config','_showRevisionViewer','revisionHistory.viewerContainer','none','display','addUser','revisionHistory.requireRevisionName','_recalculatePageBreaks','set','RevisionHistory','removeMarker','RevisionViewer','Restored','update','_closeRevisionViewer','createRangeIn','Annotations','closeRevisionViewerCallback','removeAttribute','editor','keys','55pLyfXj','saveRevision','161682JdEZXn','_cleanUp','disableReadOnlyMode','toolbar','requires','getMarkersGroup','destroy','markers','repository','revisionHistory.editorContainer','getRoot','_enhanceShowRevisionViewerCallback','parse','revisionHistory.closeRevisionViewerCallback','detachRoot','then','fromVersion','_getRevisionViewerEditorConfig','isAttached','define','restoreRevision','insert','getUser','exitToEditing','fromCharCode','block','Autosave','lazyRoots','_enhanceCloseRevisionViewerCallback','locale','addRevisionData','isOfficialPlugin','RevisionHistoryUI','revisionHistory','getRevisionRootsAttributes','push','indexOf','RevisionViewerIntegration','remove','isRevisionViewerOpen','setAttribute','RevisionsRepository','data','revision-history-missing-configuration','getRevisionDocumentData','hide','bind','4yifjQs','toLocaleTimeString','numeric','isReady','_restoreRevision','creator','_viewerEditor','revisionHistory.restoreRevisionCallback','getRevision','125390ReJvXu','setSelection'];_0x1fc6=function(){return _0x1b2c10;};return _0x1fc6();}import{RevisionViewerUI as _0x5a523d}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x55dadf}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x5b9ade}from'./editor/revisionviewereditor.js';import{getTranslation as _0x47a0f5}from'./utils/common-translations.js';function _0x5a88(_0xb8223,_0x20b66b){const _0x1fc63e=_0x1fc6();return _0x5a88=function(_0x5a8879,_0x21a39e){_0x5a8879=_0x5a8879-0x1e0;let _0x48716c=_0x1fc63e[_0x5a8879];return _0x48716c;},_0x5a88(_0xb8223,_0x20b66b);}import{sanitizeEditorConfig as _0x381712}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x3849eb(0x23c),_0x3849eb(0x278)];export class RevisionViewerIntegration extends _0x29e003{[_0x3849eb(0x277)];static get[_0x3849eb(0x1f3)](){const _0x808092=_0x3849eb;return _0x808092(0x241);}static get[_0x3849eb(0x23b)](){return!0x0;}static get[_0x3849eb(0x1f1)](){return!0x0;}constructor(_0x3e9fd3){const _0x47f6f3=_0x3849eb;function _0x3b1c5c(_0x57db1a){const _0x17f03b=_0x5a88;return _0x57db1a[_0x17f03b(0x25b)](_0x116db9=>String[_0x17f03b(0x234)](_0x116db9))[_0x17f03b(0x1fc)]('');}super(_0x3e9fd3),this[_0x47f6f3(0x277)]=_0x47f6f3(0x267),_0x3e9fd3[_0x3b1c5c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b1c5c([0x76,0x69,0x65,0x77])][_0x3b1c5c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b1c5c([0x61,0x75,0x74,0x6f]),_0x3e9fd3[_0x3b1c5c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x3b1c5c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b1c5c([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x3b1c5c([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x3b1c5c([0x6f,0x6b])});}}export class RevisionHistory extends _0x29e003{[_0x3849eb(0x251)];static get[_0x3849eb(0x1f3)](){const _0x435486=_0x3849eb;return _0x435486(0x20e);}static get[_0x3849eb(0x23b)](){return!0x0;}static get[_0x3849eb(0x1f1)](){return!0x0;}static get[_0x3849eb(0x220)](){return[_0x4706d8,_0x30fcd9];}constructor(_0x5b5f0f){const _0x4a256d=_0x3849eb;if(super(_0x5b5f0f),!this[_0x4a256d(0x218)][_0x4a256d(0x205)][_0x4a256d(0x1ff)](_0x4a256d(0x23d)))throw new _0x204a95(_0x4a256d(0x247),this);this[_0x4a256d(0x251)]=null,this[_0x4a256d(0x20d)](_0x4a256d(0x243),!0x1),this[_0x4a256d(0x218)][_0x4a256d(0x205)][_0x4a256d(0x22f)](_0x4a256d(0x26f),_0x5788c7=>this[_0x4a256d(0x206)]({..._0x5788c7,'translations':this[_0x4a256d(0x218)][_0x4a256d(0x239)][_0x4a256d(0x26b)]})),this[_0x4a256d(0x218)][_0x4a256d(0x205)][_0x4a256d(0x22f)](_0x4a256d(0x229),_0x203dc9=>this[_0x4a256d(0x213)](_0x203dc9)),this[_0x4a256d(0x218)][_0x4a256d(0x205)][_0x4a256d(0x22f)](_0x4a256d(0x252),_0xb81f5f=>this[_0x4a256d(0x24f)](_0xb81f5f)),this[_0x4a256d(0x218)][_0x4a256d(0x205)][_0x4a256d(0x22f)](_0x4a256d(0x20b),!0x1),this[_0x4a256d(0x227)](),this[_0x4a256d(0x238)]();}set[_0x3849eb(0x1ec)](_0x57b254){const _0x654fe5=_0x3849eb;this[_0x654fe5(0x218)][_0x654fe5(0x270)][_0x654fe5(0x1ff)](_0x654fe5(0x1f6))[_0x654fe5(0x1ec)]=_0x57b254;}get[_0x3849eb(0x1ec)](){const _0x3a86e8=_0x3849eb;return this[_0x3a86e8(0x218)][_0x3a86e8(0x270)][_0x3a86e8(0x1ff)](_0x3a86e8(0x1f6))[_0x3a86e8(0x1ec)];}[_0x3849eb(0x23a)](_0x317238){const _0x21ba63=_0x3849eb;return this[_0x21ba63(0x218)][_0x21ba63(0x270)][_0x21ba63(0x1ff)](_0x21ba63(0x1f6))[_0x21ba63(0x23a)](_0x317238);}[_0x3849eb(0x253)](_0x51e0d2){const _0x5de900=_0x3849eb;return this[_0x5de900(0x218)][_0x5de900(0x270)][_0x5de900(0x1ff)](_0x5de900(0x245))[_0x5de900(0x253)](_0x51e0d2);}[_0x3849eb(0x265)](_0x297015){const _0xc31fbe=_0x3849eb;return this[_0xc31fbe(0x218)][_0xc31fbe(0x270)][_0xc31fbe(0x1ff)](_0xc31fbe(0x245))[_0xc31fbe(0x265)](_0x297015||{'toJSON':!0x1});}[_0x3849eb(0x22d)](){const _0x5294a5=_0x3849eb,_0x186a75=this[_0x5294a5(0x218)],_0x5d1ff9=_0x381712(_0x186a75,d),_0xa86cd4=_0x186a75[_0x5294a5(0x270)][_0x5294a5(0x1ff)](_0x5294a5(0x1f6)),_0x459b78=_0x186a75[_0x5294a5(0x270)][_0x5294a5(0x1ff)](_0x5294a5(0x1ed))[_0x5294a5(0x1e9)];return _0x5d1ff9[_0x5294a5(0x21f)]=[_0x5294a5(0x233),_0x5294a5(0x230),_0x5294a5(0x1e5)],delete _0x5d1ff9[_0x5294a5(0x237)],(_0x5d1ff9[_0x5294a5(0x270)][_0x5294a5(0x23f)](RevisionViewerIntegration,_0x242d75,_0x5a523d,class extends _0x29e003{static get[_0x5294a5(0x220)](){const _0x4bdb5d=_0x5294a5;return[_0x242d75,_0x4bdb5d(0x1ed)];}[_0x5294a5(0x1e2)](){const _0x3b7950=_0x5294a5,_0x59cf98=this[_0x3b7950(0x218)][_0x3b7950(0x270)][_0x3b7950(0x1ff)](_0x3b7950(0x1ed));for(const _0x1f6fb7 of _0x459b78)_0x1f6fb7[_0x3b7950(0x1eb)]||_0x59cf98[_0x3b7950(0x232)](_0x1f6fb7['id'])||_0x59cf98[_0x3b7950(0x20a)](_0x1f6fb7);const _0x5def41=_0xa86cd4[_0x3b7950(0x224)][_0x3b7950(0x265)]();let _0x39d358=null;const _0x13a017=this[_0x3b7950(0x218)][_0x3b7950(0x270)][_0x3b7950(0x1ff)](_0x3b7950(0x210));_0x13a017[_0x3b7950(0x1ec)]=_0xa86cd4[_0x3b7950(0x1ec)],_0x13a017[_0x3b7950(0x24a)](_0x3b7950(0x1e6))['to'](_0xa86cd4),this[_0x3b7950(0x218)][_0x3b7950(0x1f5)][_0x3b7950(0x1ff)](_0x3b7950(0x230))[_0x3b7950(0x24a)](_0x3b7950(0x1e6))['to'](_0x186a75,_0x3b7950(0x25a),_0x218a3b=>!_0x218a3b);for(const _0x1a3272 of _0x5def41){const _0x321c32=null===_0x1a3272[_0x3b7950(0x250)];if(_0x321c32&&_0x1a3272[_0x3b7950(0x1f8)]===_0x1a3272[_0x3b7950(0x22c)])continue;const _0xe2779c=_0x1a3272[_0x3b7950(0x26e)]();_0x13a017[_0x3b7950(0x23a)](_0xe2779c,(_0x2cfbc1,_0x204e24,_0x588915)=>{const _0x406583=_0x3b7950;if(_0x321c32){if(_0x39d358)_0x39d358[_0x406583(0x259)](_0x2cfbc1,_0x204e24);else{if(!_0x204e24){const _0xf2162f=_0x588915[_0x406583(0x26e)]();_0xf2162f['id']=_0x25e21c(),_0xa86cd4[_0x406583(0x21b)](_0xf2162f,_0x588915[_0x406583(0x1f8)])[_0x406583(0x22b)](_0x4f8559=>{_0x39d358=_0x4f8559;});}}}else _0x1a3272[_0x406583(0x259)](_0x2cfbc1,_0x204e24);});}}},_0x55dadf),_0x5d1ff9);}[_0x3849eb(0x227)](){const _0x110b35=_0x3849eb,_0x5751d8=this[_0x110b35(0x218)][_0x110b35(0x205)][_0x110b35(0x1ff)](_0x110b35(0x23d))[_0x110b35(0x260)];this[_0x110b35(0x218)][_0x110b35(0x205)][_0x110b35(0x20d)](_0x110b35(0x26f),async()=>{const _0x2ac213=_0x110b35;this[_0x2ac213(0x218)][_0x2ac213(0x201)](_0x2ac213(0x268));const _0x20e802=this[_0x2ac213(0x218)][_0x2ac213(0x270)][_0x2ac213(0x1ff)](_0x2ac213(0x1f6));if(this[_0x2ac213(0x218)][_0x2ac213(0x270)][_0x2ac213(0x204)](_0x2ac213(0x236))){const _0x107305=this[_0x2ac213(0x218)][_0x2ac213(0x270)][_0x2ac213(0x1ff)](_0x2ac213(0x236));await _0x107305[_0x2ac213(0x26c)]();}else await _0x20e802[_0x2ac213(0x212)]();if(this[_0x2ac213(0x218)][_0x2ac213(0x270)][_0x2ac213(0x204)](_0x2ac213(0x25f))&&this[_0x2ac213(0x218)][_0x2ac213(0x270)][_0x2ac213(0x1ff)](_0x2ac213(0x25f))[_0x2ac213(0x20c)](),this[_0x2ac213(0x218)][_0x2ac213(0x270)][_0x2ac213(0x204)](_0x2ac213(0x1e7))){const _0x372ecf=this[_0x2ac213(0x218)][_0x2ac213(0x270)][_0x2ac213(0x1ff)](_0x2ac213(0x1e7));_0x372ecf[_0x2ac213(0x273)]&&_0x372ecf[_0x2ac213(0x249)]();}const _0x477ed9=this[_0x2ac213(0x22d)]();return _0x5751d8(_0x477ed9)[_0x2ac213(0x22b)](_0x1f3bd7=>{const _0x1045d0=_0x2ac213;return(this[_0x1045d0(0x251)]=_0x1f3bd7,this[_0x1045d0(0x218)][_0x1045d0(0x270)][_0x1045d0(0x204)](_0x1045d0(0x215)))&&this[_0x1045d0(0x218)][_0x1045d0(0x270)][_0x1045d0(0x1ff)](_0x1045d0(0x215))[_0x1045d0(0x1f0)](),(this[_0x1045d0(0x218)][_0x1045d0(0x270)][_0x1045d0(0x204)](_0x1045d0(0x202))&&(this[_0x1045d0(0x218)][_0x1045d0(0x270)][_0x1045d0(0x1ff)](_0x1045d0(0x1ee))[_0x1045d0(0x1e8)][_0x1045d0(0x269)][_0x1045d0(0x1fe)][_0x1045d0(0x209)]=_0x1045d0(0x208)),_0x1f3bd7);})[_0x2ac213(0x261)](_0xec14b5=>(console[_0x2ac213(0x1ef)](_0xec14b5),this[_0x2ac213(0x218)][_0x2ac213(0x21e)](_0x2ac213(0x268)),null));});}[_0x3849eb(0x238)](){const _0x12105e=_0x3849eb,_0x15daf2=this[_0x12105e(0x218)][_0x12105e(0x205)][_0x12105e(0x1ff)](_0x12105e(0x23d))[_0x12105e(0x216)];this[_0x12105e(0x218)][_0x12105e(0x205)][_0x12105e(0x20d)](_0x12105e(0x229),()=>(this[_0x12105e(0x218)][_0x12105e(0x270)][_0x12105e(0x204)](_0x12105e(0x25f))&&this[_0x12105e(0x218)][_0x12105e(0x270)][_0x12105e(0x1ff)](_0x12105e(0x25f))[_0x12105e(0x20c)](),this[_0x12105e(0x218)][_0x12105e(0x270)][_0x12105e(0x204)](_0x12105e(0x202))&&(this[_0x12105e(0x218)][_0x12105e(0x270)][_0x12105e(0x1ff)](_0x12105e(0x1ee))[_0x12105e(0x1e8)][_0x12105e(0x269)][_0x12105e(0x1fe)][_0x12105e(0x209)]=''),this[_0x12105e(0x251)][_0x12105e(0x270)][_0x12105e(0x1ff)](_0x12105e(0x210))[_0x12105e(0x21d)](),_0x15daf2(this[_0x12105e(0x251)])[_0x12105e(0x22b)](()=>{const _0x3a4fac=_0x12105e;if(this[_0x3a4fac(0x218)][_0x3a4fac(0x21e)](_0x3a4fac(0x268)),this[_0x3a4fac(0x251)]=null,this[_0x3a4fac(0x218)][_0x3a4fac(0x270)][_0x3a4fac(0x204)](_0x3a4fac(0x215))){const _0xc1c38c=this[_0x3a4fac(0x218)][_0x3a4fac(0x270)][_0x3a4fac(0x1ff)](_0x3a4fac(0x215));_0xc1c38c[_0x3a4fac(0x1f0)](),_0xc1c38c[_0x3a4fac(0x266)]();}})));}[_0x3849eb(0x206)](_0x35be99){const _0x1a24ed=_0x3849eb,_0x20a36f=this[_0x1a24ed(0x218)][_0x1a24ed(0x205)][_0x1a24ed(0x1ff)](_0x1a24ed(0x225)),_0x4252a8=this[_0x1a24ed(0x218)][_0x1a24ed(0x205)][_0x1a24ed(0x1ff)](_0x1a24ed(0x207)),_0x1df715=this[_0x1a24ed(0x218)][_0x1a24ed(0x205)][_0x1a24ed(0x1ff)](_0x1a24ed(0x1e1));return _0x5b9ade[_0x1a24ed(0x274)](_0x1df715,_0x35be99)[_0x1a24ed(0x22b)](_0x456369=>(_0x4252a8[_0x1a24ed(0x1fe)][_0x1a24ed(0x209)]=_0x1a24ed(0x235),_0x20a36f[_0x1a24ed(0x1fe)][_0x1a24ed(0x209)]=_0x1a24ed(0x208),this[_0x1a24ed(0x243)]=!0x0,_0x456369));}[_0x3849eb(0x213)](_0x17c855){const _0x326e64=_0x3849eb,_0x17ae8f=this[_0x326e64(0x218)][_0x326e64(0x205)][_0x326e64(0x1ff)](_0x326e64(0x225));return this[_0x326e64(0x218)][_0x326e64(0x205)][_0x326e64(0x1ff)](_0x326e64(0x207))[_0x326e64(0x1fe)][_0x326e64(0x209)]=_0x326e64(0x208),_0x17ae8f[_0x326e64(0x1fe)][_0x326e64(0x209)]='',this[_0x326e64(0x243)]=!0x1,_0x17c855[_0x326e64(0x222)]();}async[_0x3849eb(0x24f)](_0x534a5c){const _0x4c24f4=_0x3849eb,_0x1dbe53=this[_0x4c24f4(0x218)],_0x2634fc=this[_0x4c24f4(0x251)][_0x4c24f4(0x270)][_0x4c24f4(0x1ff)](_0x4c24f4(0x210)),_0x12fe6e=_0x1dbe53[_0x4c24f4(0x270)][_0x4c24f4(0x1ff)](_0x4c24f4(0x1f6)),_0xaee38c=_0x1dbe53[_0x4c24f4(0x270)][_0x4c24f4(0x1ff)](_0x4c24f4(0x1e4)),_0x3443c6=_0x2634fc[_0x4c24f4(0x224)][_0x4c24f4(0x253)](_0x534a5c);let _0xf7f6fe,_0x339d63,_0x503129;try{await _0xaee38c[_0x4c24f4(0x1f4)](_0x3443c6,this[_0x4c24f4(0x1ec)]),_0xf7f6fe=_0xaee38c[_0x4c24f4(0x248)](_0x3443c6),_0x339d63=_0xaee38c[_0x4c24f4(0x23e)](_0x3443c6);}catch(_0x576424){return void console[_0x4c24f4(0x1ef)](_0x576424);}_0x1dbe53[_0x4c24f4(0x258)][_0x4c24f4(0x1ea)](_0x27209e=>{const _0x331cb4=_0x4c24f4;for(const _0x4aa3d4 of Array[_0x331cb4(0x1e0)](_0x1dbe53[_0x331cb4(0x258)][_0x331cb4(0x223)][_0x331cb4(0x221)](_0x331cb4(0x1f2))))_0x27209e[_0x331cb4(0x20f)](_0x4aa3d4);}),_0x2634fc[_0x4c24f4(0x24e)]=!0x1,_0x1dbe53[_0x4c24f4(0x258)][_0x4c24f4(0x263)](_0x3bc8f4=>{const _0x14ade5=_0x4c24f4;_0x3bc8f4[_0x14ade5(0x255)](null),_0x3bc8f4[_0x14ade5(0x264)](_0x1dbe53[_0x14ade5(0x258)][_0x14ade5(0x203)][_0x14ade5(0x25e)][_0x14ade5(0x271)]());const _0x4a1e6b=Object[_0x14ade5(0x219)](_0xf7f6fe);for(const _0x11a516 of _0x1dbe53[_0x14ade5(0x258)][_0x14ade5(0x203)][_0x14ade5(0x272)])_0x14ade5(0x1f9)!=_0x11a516[_0x14ade5(0x1fa)]&&_0x11a516[_0x14ade5(0x22e)]()&&!_0x4a1e6b[_0x14ade5(0x1fd)](_0x11a516[_0x14ade5(0x1fa)])&&_0x3bc8f4[_0x14ade5(0x22a)](_0x11a516);for(const _0x3fc862 of _0x4a1e6b){let _0xd4d894=_0x1dbe53[_0x14ade5(0x258)][_0x14ade5(0x203)][_0x14ade5(0x226)](_0x3fc862);_0xd4d894&&_0xd4d894[_0x14ade5(0x22e)]()||(_0xd4d894=_0x3bc8f4[_0x14ade5(0x276)](_0x3fc862));const _0x26f912=_0x339d63[_0x3fc862],_0x563bde=Object[_0x14ade5(0x219)](_0x26f912),_0x5a7b64=_0xf7f6fe[_0x3fc862];for(const _0x2af6eb of _0xd4d894[_0x14ade5(0x271)]())_0x563bde[_0x14ade5(0x1fd)](_0x2af6eb)||_0x3bc8f4[_0x14ade5(0x217)](_0x2af6eb,_0xd4d894);for(const _0x5eb21f of _0x563bde)_0x3bc8f4[_0x14ade5(0x244)](_0x5eb21f,_0x339d63[_0x3fc862][_0x5eb21f],_0xd4d894);_0x3bc8f4[_0x14ade5(0x242)](_0x3bc8f4[_0x14ade5(0x214)](_0xd4d894)),_0x3bc8f4[_0x14ade5(0x231)](_0x1dbe53[_0x14ade5(0x246)][_0x14ade5(0x228)](_0x5a7b64,_0xd4d894),_0xd4d894,0x0);}});const _0x4bd77f=_0x47a0f5(_0x1dbe53[_0x4c24f4(0x239)],_0x4c24f4(0x211));if(_0x3443c6[_0x4c24f4(0x26a)])_0x503129=-0x1==_0x3443c6[_0x4c24f4(0x26a)][_0x4c24f4(0x240)](_0x4bd77f)?_0x4bd77f+':\x20'+_0x3443c6[_0x4c24f4(0x26a)]:_0x3443c6[_0x4c24f4(0x26a)];else _0x503129=_0x4bd77f+':\x20'+(_0x3443c6[_0x4c24f4(0x1e3)][_0x4c24f4(0x25c)](_0x1dbe53[_0x4c24f4(0x239)][_0x4c24f4(0x262)],{'month':_0x4c24f4(0x25d),'day':_0x4c24f4(0x24d)})+',\x20'+_0x3443c6[_0x4c24f4(0x1e3)][_0x4c24f4(0x24c)](_0x1dbe53[_0x4c24f4(0x239)][_0x4c24f4(0x262)],{'hour':_0x4c24f4(0x24d),'minute':_0x4c24f4(0x24d)}));return await _0x12fe6e[_0x4c24f4(0x21b)]({'name':_0x503129}),_0x2634fc[_0x4c24f4(0x24e)]=!0x0,_0x1dbe53[_0x4c24f4(0x205)][_0x4c24f4(0x1ff)](_0x4c24f4(0x23d))[_0x4c24f4(0x216)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23d274=_0x5d2d;function _0x5d2d(_0x3ac220,_0x5144c5){const _0x30a372=_0x30a3();return _0x5d2d=function(_0x5d2d36,_0x44bd17){_0x5d2d36=_0x5d2d36-0x1ad;let _0x18b6a3=_0x30a372[_0x5d2d36];return _0x18b6a3;},_0x5d2d(_0x3ac220,_0x5144c5);}(function(_0xa853a5,_0x10f08d){const _0x5e1cb3=_0x5d2d,_0x68909a=_0xa853a5();while(!![]){try{const _0x2b6bfe=parseInt(_0x5e1cb3(0x1f6))/0x1*(-parseInt(_0x5e1cb3(0x1da))/0x2)+-parseInt(_0x5e1cb3(0x1f5))/0x3+-parseInt(_0x5e1cb3(0x1f0))/0x4*(parseInt(_0x5e1cb3(0x1d4))/0x5)+-parseInt(_0x5e1cb3(0x1ed))/0x6+-parseInt(_0x5e1cb3(0x1f7))/0x7+-parseInt(_0x5e1cb3(0x1f1))/0x8*(-parseInt(_0x5e1cb3(0x1c1))/0x9)+parseInt(_0x5e1cb3(0x1b0))/0xa;if(_0x2b6bfe===_0x10f08d)break;else _0x68909a['push'](_0x68909a['shift']());}catch(_0xb38372){_0x68909a['push'](_0x68909a['shift']());}}}(_0x30a3,0x234db));function _0x30a3(){const _0x424bb5=['4622uPreKT','string','name','map','_setCustomProperty','attachChange','processor','customProperties','div','_removeRevisionMarkers','editing','getRevisionRootsAttributes','getRevision','data-revision-','insertions','get','config','isPremiumPlugin','default','415590kyKDKj','isAttached','domConverter','4tdguKS','533144bZUxTw','constructor','view','parse','205473EcKmUx','37gfKase','401282mKduQb','length','viewChildrenToDom','marked','4505370OpCvOc','render','toData','_appendChild','createElement','RevisionHistoryUtils','collaboration.channelId','forEach','diffData','startsWith','_viewClassToTypeChar','attributes','childNodes','useFillerType','revision-start','_getTypeCharForViewElement','isOfficialPlugin','27SZTLqt','revision-end','filter','_makeModelFromViewString','fillerOffset','pluginName','domChildrenToView','getRevisionDocumentData','data','innerHTML','attributesAfter','getFillerOffset','from','children','editor','toModel','loadRevisionData','append','document','1126370IUQBts','_getViewFromDiffObj','_typeCharToViewClass','domDocument','htmlProcessor','type'];_0x30a3=function(){return _0x424bb5;};return _0x30a3();}import{Plugin as _0x547426}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x2f0c7e,ViewText as _0x3fee58,ViewElement as _0x14cecf,ViewContainerElement as _0x1a1a54,ViewAttributeElement as _0x1ab012,ViewEmptyElement as _0x12e2fd,ViewRawElement as _0x55d076,ViewUIElement as _0x202942}from'ckeditor5/src/engine.js';export class RevisionHistoryUtils extends _0x547426{static get[_0x23d274(0x1c6)](){const _0x44f57d=_0x23d274;return _0x44f57d(0x1b5);}static get[_0x23d274(0x1c0)](){return!0x0;}static get[_0x23d274(0x1eb)](){return!0x0;}[_0x23d274(0x1ba)]=new Map([[_0x1a1a54,'c'],[_0x1ab012,'a'],[_0x12e2fd,'e'],[_0x55d076,'r'],[_0x202942,'u']]);[_0x23d274(0x1d6)]=new Map([['c',_0x1a1a54],['a',_0x1ab012],['e',_0x12e2fd],['r',_0x55d076],['u',_0x202942]]);async[_0x23d274(0x1d1)](_0x1a1e83,_0x43e9fd){const _0x104fcb=_0x23d274;if(_0x1a1e83[_0x104fcb(0x1b8)]||!_0x43e9fd)return;const _0x2fd231=this[_0x104fcb(0x1cf)][_0x104fcb(0x1ea)][_0x104fcb(0x1e9)](_0x104fcb(0x1b6)),_0x4eb078=await _0x43e9fd[_0x104fcb(0x1e6)]({'channelId':_0x2fd231,'revisionId':_0x1a1e83['id']});_0x1a1e83[_0x104fcb(0x1b8)]=_0x4eb078[_0x104fcb(0x1b8)];}[_0x23d274(0x1c8)](_0x1e5acf){const _0xafd8f2=_0x23d274,_0x214189={};for(const _0x359147 in _0x1e5acf[_0xafd8f2(0x1b8)]){if(_0x1e5acf[_0xafd8f2(0x1b8)][_0x359147][_0xafd8f2(0x1df)]&&!_0x1e5acf[_0xafd8f2(0x1b8)][_0x359147][_0xafd8f2(0x1df)][_0xafd8f2(0x1ee)])continue;const _0x1376f1=this[_0xafd8f2(0x1e3)](JSON[_0xafd8f2(0x1f4)](_0x1e5acf[_0xafd8f2(0x1b8)][_0x359147][_0xafd8f2(0x1e8)])),_0x4f63ea=this[_0xafd8f2(0x1cf)][_0xafd8f2(0x1e4)][_0xafd8f2(0x1f3)][_0xafd8f2(0x1d3)],_0xc3b3cc=new _0x2f0c7e(_0x4f63ea,_0x1376f1[_0xafd8f2(0x1dd)](_0x477080=>this[_0xafd8f2(0x1d5)](_0x477080,!0x1)));this[_0xafd8f2(0x1cf)][_0xafd8f2(0x1c9)][_0xafd8f2(0x1e0)][_0xafd8f2(0x1bd)](_0xafd8f2(0x1af)),_0x214189[_0x359147]=this[_0xafd8f2(0x1cf)][_0xafd8f2(0x1c9)][_0xafd8f2(0x1e0)][_0xafd8f2(0x1b2)](_0xc3b3cc),this[_0xafd8f2(0x1cf)][_0xafd8f2(0x1c9)][_0xafd8f2(0x1e0)][_0xafd8f2(0x1bd)](_0xafd8f2(0x1ec));}return _0x214189;}[_0x23d274(0x1e5)](_0x1ce815){const _0x5afe4d=_0x23d274,_0x56bdaf={};for(const _0x591b6d in _0x1ce815[_0x5afe4d(0x1b8)])_0x1ce815[_0x5afe4d(0x1b8)][_0x591b6d][_0x5afe4d(0x1df)]&&!_0x1ce815[_0x5afe4d(0x1b8)][_0x591b6d][_0x5afe4d(0x1df)][_0x5afe4d(0x1ee)]||(_0x56bdaf[_0x591b6d]=_0x1ce815[_0x5afe4d(0x1b8)][_0x591b6d][_0x5afe4d(0x1cb)]||{});return _0x56bdaf;}[_0x23d274(0x1bf)](_0x38e596){const _0x3a29ba=_0x23d274;return this[_0x3a29ba(0x1ba)][_0x3a29ba(0x1e9)](_0x38e596[_0x3a29ba(0x1f2)]);}[_0x23d274(0x1d5)](_0x4b7fcd,_0x4ade2e){const _0x1336a1=_0x23d274,_0x39c2c5=this[_0x1336a1(0x1cf)][_0x1336a1(0x1e4)][_0x1336a1(0x1f3)][_0x1336a1(0x1d3)];if(_0x1336a1(0x1db)==typeof _0x4b7fcd)return new _0x3fee58(_0x39c2c5,_0x4b7fcd);{let _0x2c0d4d,_0x367916;_0x367916='u'==_0x4b7fcd[_0x1336a1(0x1d9)]||'r'==_0x4b7fcd[_0x1336a1(0x1d9)]?[]:_0x4b7fcd[_0x1336a1(0x1ce)][_0x1336a1(0x1dd)](_0x542337=>this[_0x1336a1(0x1d5)](_0x542337,_0x4ade2e));const _0x402b18=this[_0x1336a1(0x1d6)][_0x1336a1(0x1e9)](_0x4b7fcd[_0x1336a1(0x1d9)])||_0x14cecf,_0x37d20c=this[_0x1336a1(0x1cf)][_0x1336a1(0x1c9)][_0x1336a1(0x1d8)][_0x1336a1(0x1ef)];if(_0x2c0d4d=new _0x402b18(_0x39c2c5,_0x4b7fcd[_0x1336a1(0x1dc)],_0x4b7fcd[_0x1336a1(0x1bb)],_0x367916),'u'==_0x4b7fcd[_0x1336a1(0x1d9)]&&_0x4b7fcd[_0x1336a1(0x1ce)][0x0]){const _0x544318=_0x4b7fcd[_0x1336a1(0x1ce)][0x0];if(_0x2c0d4d[_0x1336a1(0x1b1)]=function(_0xcc6e0c){const _0x1fdb8d=_0x1336a1,_0x3b0877=_0xcc6e0c[_0x1fdb8d(0x1b4)](_0x1fdb8d(0x1e2));return _0x3b0877[_0x1fdb8d(0x1ca)]=_0x544318,_0x3b0877[_0x1fdb8d(0x1bc)][0x0];},_0x4ade2e){const _0x116b95=new _0x2f0c7e(_0x39c2c5);_0x116b95[_0x1336a1(0x1b3)](_0x2c0d4d);const _0x321ecc=Array[_0x1336a1(0x1cd)](_0x37d20c[_0x1336a1(0x1ae)](_0x116b95,{'bind':!0x1})),_0x2f4042=_0x37d20c[_0x1336a1(0x1d7)][_0x1336a1(0x1b4)](_0x1336a1(0x1e2));_0x2f4042[_0x1336a1(0x1d2)](..._0x321ecc),_0x2c0d4d=Array[_0x1336a1(0x1cd)](_0x37d20c[_0x1336a1(0x1c7)](_0x2f4042))[0x0];}}else{if('r'==_0x4b7fcd[_0x1336a1(0x1d9)]&&_0x4b7fcd[_0x1336a1(0x1ce)][0x0]){const _0x4892bf=_0x4b7fcd[_0x1336a1(0x1ce)][0x0];if(_0x2c0d4d[_0x1336a1(0x1b1)]=function(_0x5999ee){const _0x358131=_0x1336a1;_0x5999ee[_0x358131(0x1ca)]=_0x4892bf;},_0x4ade2e){const _0x9bdc8c=new _0x2f0c7e(_0x39c2c5);_0x9bdc8c[_0x1336a1(0x1b3)](_0x2c0d4d);const _0x1bb81f=Array[_0x1336a1(0x1cd)](_0x37d20c[_0x1336a1(0x1ae)](_0x9bdc8c,{'bind':!0x1})),_0x43fdb9=_0x37d20c[_0x1336a1(0x1d7)][_0x1336a1(0x1b4)](_0x1336a1(0x1e2));_0x43fdb9[_0x1336a1(0x1d2)](..._0x1bb81f);const _0x3f9290=Array[_0x1336a1(0x1cd)](_0x37d20c[_0x1336a1(0x1c7)](_0x43fdb9));_0x3f9290[_0x1336a1(0x1ad)]>0x1?_0x2c0d4d[_0x1336a1(0x1b3)](_0x3f9290):_0x2c0d4d=_0x3f9290[0x0];}}}if(_0x4b7fcd[_0x1336a1(0x1e1)]){for(const [_0x594209,_0xa2f5ca]of _0x4b7fcd[_0x1336a1(0x1e1)])_0x2c0d4d[_0x1336a1(0x1de)](_0x594209,_0xa2f5ca);}const _0x23ef82=void 0x0===_0x4b7fcd[_0x1336a1(0x1c5)]?null:_0x4b7fcd[_0x1336a1(0x1c5)];return null!==_0x23ef82&&(_0x2c0d4d[_0x1336a1(0x1cc)]=()=>_0x23ef82),_0x2c0d4d;}}[_0x23d274(0x1c4)](_0x980d76){const _0x21fc5f=_0x23d274,_0x458230=JSON[_0x21fc5f(0x1f4)](_0x980d76),_0x2d6590=this[_0x21fc5f(0x1cf)][_0x21fc5f(0x1e4)][_0x21fc5f(0x1f3)][_0x21fc5f(0x1d3)],_0xc4168f=new _0x2f0c7e(_0x2d6590,_0x458230[_0x21fc5f(0x1dd)](_0x2e3f08=>this[_0x21fc5f(0x1d5)](_0x2e3f08,!0x0)));return this[_0x21fc5f(0x1cf)][_0x21fc5f(0x1c9)][_0x21fc5f(0x1d0)](_0xc4168f);}[_0x23d274(0x1e3)](_0x49f69){const _0x41b04b=_0x23d274;return(_0x49f69=_0x49f69[_0x41b04b(0x1c3)](_0x418a88=>!_0x418a88[_0x41b04b(0x1dc)]||_0x41b04b(0x1be)!==_0x418a88[_0x41b04b(0x1dc)]&&_0x41b04b(0x1c2)!==_0x418a88[_0x41b04b(0x1dc)]))[_0x41b04b(0x1b7)](_0x5afac1=>{const _0x4f5132=_0x41b04b;_0x4f5132(0x1db)!=typeof _0x5afac1&&(_0x5afac1[_0x4f5132(0x1ce)]=this[_0x4f5132(0x1e3)](_0x5afac1[_0x4f5132(0x1ce)]),_0x5afac1[_0x4f5132(0x1bb)]=_0x5afac1[_0x4f5132(0x1bb)][_0x4f5132(0x1c3)](_0x2baba3=>!_0x2baba3[0x0][_0x4f5132(0x1b9)](_0x4f5132(0x1e7))));}),_0x49f69;}}
|