@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250407.0 → 0.0.0-nightly-20250409.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/build/translations/be.js +1 -0
- 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.d.ts +8 -0
- package/dist/translations/be.js +23 -0
- package/dist/translations/be.umd.js +23 -0
- 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/lang/translations/be.po +131 -0
- 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
|
+
(_0x5c92b4=>{const {uz:{dictionary:_0x7d4364,getPluralForm:_0x4d2742}}={'uz':{'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':['',''],'X_OF_Y_CHANGES':'','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':_0x3774a5=>_0x3774a5>0x1}};_0x5c92b4['uz']||={'dictionary':{},'getPluralForm':null},_0x5c92b4['uz']['dictionary']=Object['assign'](_0x5c92b4['uz']['dictionary'],_0x7d4364),_0x5c92b4['uz']['getPluralForm']=_0x4d2742;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/vi.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'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':
|
|
23
|
+
export default{'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':_0x336cd7=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x37b105=>{const {vi:{dictionary:_0x1bcd31,getPluralForm:_0x23b67a}}={'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':_0x671668=>0x0}};_0x37b105['vi']||={'dictionary':{},'getPluralForm':null},_0x37b105['vi']['dictionary']=Object['assign'](_0x37b105['vi']['dictionary'],_0x1bcd31),_0x37b105['vi']['getPluralForm']=_0x23b67a;})(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':_0x1de2cb=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3f7c90=>{const {'zh-cn':{dictionary:_0x341cb6,getPluralForm:_0x5b86d4}}={'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':_0x3fcc27=>0x0}};_0x3f7c90['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x3f7c90['zh-cn']['dictionary']=Object['assign'](_0x3f7c90['zh-cn']['dictionary'],_0x341cb6),_0x3f7c90['zh-cn']['getPluralForm']=_0x5b86d4;})(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':_0x4e00f4=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x24ad3b=>{const {zh:{dictionary:_0x4fd95c,getPluralForm:_0x3af30a}}={'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':_0x1b4d82=>0x0}};_0x24ad3b['zh']||={'dictionary':{},'getPluralForm':null},_0x24ad3b['zh']['dictionary']=Object['assign'](_0x24ad3b['zh']['dictionary'],_0x4fd95c),_0x24ad3b['zh']['getPluralForm']=_0x3af30a;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
# Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
+
#
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
+
#
|
|
8
|
+
msgid ""
|
|
9
|
+
msgstr ""
|
|
10
|
+
"Language: be\n"
|
|
11
|
+
"Plural-Forms: nplurals=3; plural=(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
|
|
14
|
+
msgctxt "The prefix for a name of a revision created by restoring other revision."
|
|
15
|
+
msgid "Restored"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "The name for an initial revision that is empty."
|
|
19
|
+
msgid "Empty document"
|
|
20
|
+
msgstr ""
|
|
21
|
+
|
|
22
|
+
msgctxt "The name for an initial revision (if it was not empty)."
|
|
23
|
+
msgid "Initial revision"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
msgctxt "The label for a dropdown item to compare given revision with already selected revision."
|
|
27
|
+
msgid "Compare against selected"
|
|
28
|
+
msgstr ""
|
|
29
|
+
|
|
30
|
+
msgctxt "The label for a dropdown item to rename given revision."
|
|
31
|
+
msgid "Name this revision"
|
|
32
|
+
msgstr ""
|
|
33
|
+
|
|
34
|
+
msgctxt "The label for the user who saved the revision."
|
|
35
|
+
msgid "Revision creator"
|
|
36
|
+
msgstr ""
|
|
37
|
+
|
|
38
|
+
msgctxt "The label for users who introduced changes in the revision."
|
|
39
|
+
msgid "Revision author"
|
|
40
|
+
msgstr ""
|
|
41
|
+
|
|
42
|
+
msgctxt "The label for the revision name."
|
|
43
|
+
msgid "Revision name"
|
|
44
|
+
msgstr ""
|
|
45
|
+
|
|
46
|
+
msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
|
|
47
|
+
msgid "Name of the revision"
|
|
48
|
+
msgstr ""
|
|
49
|
+
|
|
50
|
+
msgctxt "The part of a toolbar form field label that indicates the field is optional."
|
|
51
|
+
msgid "optional"
|
|
52
|
+
msgstr ""
|
|
53
|
+
|
|
54
|
+
msgctxt "The label for a dropdown item that saves current revision."
|
|
55
|
+
msgid "Save current revision"
|
|
56
|
+
msgstr ""
|
|
57
|
+
|
|
58
|
+
msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
|
|
59
|
+
msgid "Open revision history"
|
|
60
|
+
msgstr ""
|
|
61
|
+
|
|
62
|
+
msgctxt "The label for the sidebar in revision viewer."
|
|
63
|
+
msgid "Revision history"
|
|
64
|
+
msgstr ""
|
|
65
|
+
|
|
66
|
+
msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
|
|
67
|
+
msgid "Suggested by"
|
|
68
|
+
msgstr ""
|
|
69
|
+
|
|
70
|
+
msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
|
|
71
|
+
msgid "Added by"
|
|
72
|
+
msgstr ""
|
|
73
|
+
|
|
74
|
+
msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
|
|
75
|
+
msgid "Removed by"
|
|
76
|
+
msgstr ""
|
|
77
|
+
|
|
78
|
+
msgctxt "Displayed in the revision viewer toolbar when loading a revision."
|
|
79
|
+
msgid "Loading..."
|
|
80
|
+
msgstr ""
|
|
81
|
+
|
|
82
|
+
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
|
|
83
|
+
msgid "No changes"
|
|
84
|
+
msgstr ""
|
|
85
|
+
|
|
86
|
+
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes."
|
|
87
|
+
msgid "NUMBER_OF_CHANGES"
|
|
88
|
+
msgid_plural "%0 changes"
|
|
89
|
+
msgstr[0] ""
|
|
90
|
+
msgstr[1] ""
|
|
91
|
+
msgstr[2] ""
|
|
92
|
+
|
|
93
|
+
msgctxt "Edit: (2 of 5)"
|
|
94
|
+
msgid "X_OF_Y_CHANGES"
|
|
95
|
+
msgstr ""
|
|
96
|
+
|
|
97
|
+
msgctxt "The label for a button that highlights previous change in revision viewer."
|
|
98
|
+
msgid "Show previous change"
|
|
99
|
+
msgstr ""
|
|
100
|
+
|
|
101
|
+
msgctxt "The label for a button that highlights next change in revision viewer."
|
|
102
|
+
msgid "Show next change"
|
|
103
|
+
msgstr ""
|
|
104
|
+
|
|
105
|
+
msgctxt "(Total): 5 changes"
|
|
106
|
+
msgid "Total"
|
|
107
|
+
msgstr ""
|
|
108
|
+
|
|
109
|
+
msgctxt "(Edit): 2 of 5"
|
|
110
|
+
msgid "EDIT_X_OF_Y_REVISIONS"
|
|
111
|
+
msgstr ""
|
|
112
|
+
|
|
113
|
+
msgctxt "The label for a button that closes revision viewer and shows editor."
|
|
114
|
+
msgid "Back to editing"
|
|
115
|
+
msgstr ""
|
|
116
|
+
|
|
117
|
+
msgctxt "The label for a button that restores given revision."
|
|
118
|
+
msgid "Restore this revision"
|
|
119
|
+
msgstr ""
|
|
120
|
+
|
|
121
|
+
msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
|
|
122
|
+
msgid "PENDING_ACTION_REVISION_HISTORY"
|
|
123
|
+
msgstr ""
|
|
124
|
+
|
|
125
|
+
msgctxt "The placeholder for a form input field where a name for a new revision should be provided."
|
|
126
|
+
msgid "Enter the revision name"
|
|
127
|
+
msgstr ""
|
|
128
|
+
|
|
129
|
+
msgctxt "An error text displayed when user attempted to save a revision without providing its name."
|
|
130
|
+
msgid "The revision name cannot be empty."
|
|
131
|
+
msgstr ""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250409.0",
|
|
4
4
|
"description": "Document revision history feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-autosave": "0.0.0-nightly-
|
|
43
|
-
"@ckeditor/ckeditor5-comments": "0.0.0-nightly-
|
|
44
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
45
|
-
"@ckeditor/ckeditor5-editor-classic": "0.0.0-nightly-
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
47
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
48
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
49
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "0.0.0-nightly-20250409.0",
|
|
43
|
+
"@ckeditor/ckeditor5-comments": "0.0.0-nightly-20250409.0",
|
|
44
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250409.0",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-classic": "0.0.0-nightly-20250409.0",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250409.0",
|
|
47
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250409.0",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250409.0",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250409.0",
|
|
50
50
|
"@types/luxon": "3.4.2",
|
|
51
|
-
"ckeditor5": "0.0.0-nightly-
|
|
52
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
51
|
+
"ckeditor5": "0.0.0-nightly-20250409.0",
|
|
52
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20250409.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
|
+
var _0x5e29cd=_0x6d28;function _0x3a46(){var _0x30b227=['createdAt','926520ghPjpU','author','988631nbfVNB','rootName','set','1717986ednXVL','68148BNtPcp','type','184VzxIhB','1968105fQTCnp','1449684bHHFhE','toJSON','6rmfBGJ','3062736cyxZgy','data'];_0x3a46=function(){return _0x30b227;};return _0x3a46();}(function(_0xb04b96,_0x1fbd33){var _0x3f5160=_0x6d28,_0x3e722c=_0xb04b96();while(!![]){try{var _0x204576=parseInt(_0x3f5160(0x175))/0x1+parseInt(_0x3f5160(0x178))/0x2+-parseInt(_0x3f5160(0x180))/0x3+-parseInt(_0x3f5160(0x17d))/0x4+parseInt(_0x3f5160(0x17c))/0x5*(parseInt(_0x3f5160(0x17f))/0x6)+-parseInt(_0x3f5160(0x183))/0x7+parseInt(_0x3f5160(0x17b))/0x8*(-parseInt(_0x3f5160(0x179))/0x9);if(_0x204576===_0x1fbd33)break;else _0x3e722c['push'](_0x3e722c['shift']());}catch(_0x20e0bb){_0x3e722c['push'](_0x3e722c['shift']());}}}(_0x3a46,0x869e4));function _0x6d28(_0x14e6e4,_0x14df1a){var _0x3a46ed=_0x3a46();return _0x6d28=function(_0x6d2863,_0x3ab825){_0x6d2863=_0x6d2863-0x174;var _0x341db1=_0x3a46ed[_0x6d2863];return _0x341db1;},_0x6d28(_0x14e6e4,_0x14df1a);}import{ObservableMixin as _0x5dfcc0,uid as _0x599f78}from'ckeditor5/src/utils.js';export default class r extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5dfcc0(){['id'];[_0x5e29cd(0x174)];[_0x5e29cd(0x17a)];[_0x5e29cd(0x181)];[_0x5e29cd(0x176)];constructor(_0x58bddc){var _0x13c137=_0x5e29cd;super(),this['id']=_0x58bddc['id']||_0x599f78(),this[_0x13c137(0x174)]=_0x58bddc[_0x13c137(0x174)],this[_0x13c137(0x17a)]=_0x58bddc[_0x13c137(0x17a)],this[_0x13c137(0x181)]=_0x58bddc[_0x13c137(0x181)]||{},this[_0x13c137(0x176)]=_0x58bddc[_0x13c137(0x176)],this[_0x13c137(0x177)](_0x13c137(0x182),_0x58bddc[_0x13c137(0x182)]);}[_0x5e29cd(0x17e)](){var _0x1b41b8=_0x5e29cd;return{'id':this['id'],'authorId':this[_0x1b41b8(0x174)]['id'],'type':this[_0x1b41b8(0x17a)],'data':this[_0x1b41b8(0x181)],'createdAt':this[_0x1b41b8(0x182)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x3551(_0x444e7c,_0x3431ba){const _0x478d83=_0x478d();return _0x3551=function(_0x3551df,_0x125821){_0x3551df=_0x3551df-0x144;let _0x2fc333=_0x478d83[_0x3551df];return _0x2fc333;},_0x3551(_0x444e7c,_0x3431ba);}const _0x20646b=_0x3551;(function(_0x192ccb,_0x5df20e){const _0x54eebd=_0x3551,_0x11ed10=_0x192ccb();while(!![]){try{const _0x26af4a=parseInt(_0x54eebd(0x156))/0x1+parseInt(_0x54eebd(0x159))/0x2*(-parseInt(_0x54eebd(0x14c))/0x3)+parseInt(_0x54eebd(0x153))/0x4*(parseInt(_0x54eebd(0x15a))/0x5)+parseInt(_0x54eebd(0x144))/0x6*(-parseInt(_0x54eebd(0x154))/0x7)+-parseInt(_0x54eebd(0x149))/0x8*(-parseInt(_0x54eebd(0x148))/0x9)+-parseInt(_0x54eebd(0x14d))/0xa+-parseInt(_0x54eebd(0x14f))/0xb*(-parseInt(_0x54eebd(0x14a))/0xc);if(_0x26af4a===_0x5df20e)break;else _0x11ed10['push'](_0x11ed10['shift']());}catch(_0x1d3027){_0x11ed10['push'](_0x11ed10['shift']());}}}(_0x478d,0xd65ed));import{Editor as _0x27be75,ElementApiMixin as _0x3bceea}from'ckeditor5/src/core.js';import _0x4ce557 from'./revisionviewereditorui.js';import _0x2af797 from'./revisionviewereditoruiview.js';export default class w extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3bceea(_0x27be75){[_0x20646b(0x160)];get['ui'](){const _0x360578=_0x20646b;return this[_0x360578(0x160)];}constructor(_0x50cdbe,_0x1a4126){const _0x5cb447=_0x20646b;super(_0x1a4126),this[_0x5cb447(0x15e)]=_0x50cdbe,this[_0x5cb447(0x155)][_0x5cb447(0x158)][_0x5cb447(0x15b)]();const _0x1b9bf7=new _0x2af797(this[_0x5cb447(0x14e)],this[_0x5cb447(0x157)][_0x5cb447(0x151)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x5cb447(0x160)]=new _0x4ce557(this,_0x1b9bf7);}[_0x20646b(0x15d)](){const _0x5b27c3=_0x20646b;return this[_0x5b27c3(0x145)](),this['ui'][_0x5b27c3(0x15d)](),super[_0x5b27c3(0x15d)]();}static async[_0x20646b(0x15c)](_0x3d7de7,_0x18f751){const _0x2538cb=_0x20646b,_0x195f6f=new this(_0x3d7de7,_0x18f751);return await _0x195f6f[_0x2538cb(0x15f)](),await _0x195f6f['ui'][_0x2538cb(0x14b)](_0x3d7de7),await _0x195f6f[_0x2538cb(0x162)][_0x2538cb(0x14b)](_0x195f6f[_0x2538cb(0x161)][_0x2538cb(0x146)](_0x2538cb(0x150))||''),_0x195f6f[_0x2538cb(0x152)](_0x2538cb(0x147)),_0x195f6f;}}function _0x478d(){const _0x400cc0=['4084930rRDAzm','locale','11cQbMYG','initialData','view','fire','4YmSkDl','1787093BKLCBF','model','217836xdYLdI','editing','document','200510hDcKue','2184265AsFVEH','createRoot','create','destroy','sourceElement','initPlugins','_ui','config','data','12bvMwCb','updateSourceElement','get','ready','9kgdBlx','2029232sbkJZQ','31117728ypOCPI','init','51zvgwbP'];_0x478d=function(){return _0x400cc0;};return _0x478d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xf7b4(){const _0x2825ae=['render','_toolbarConfig','componentFactory','toolbar','focusTracker','destroy','525728rnhhXq','replace','_view','190hxLwYy','170830YgZbXr','2845480TTyRDE','27EBTutf','get','document','setEditableElement','view','ready','isActive','attachDomRoot','_elementReplacer','572924jwYFTi','init','element','bind','_initToolbar','getRoot','name','restore','viewportOffset','12OkkUsb','fillFromConfig','fire','isFocused','detachDomRoot','viewportTopOffset','editing','504415ZLhafZ','5389454frPfJs','addToolbar','editor','config','22TlaZJk','237345ojMtqN','limiterElement','stickyPanel','editable','rootName'];_0xf7b4=function(){return _0x2825ae;};return _0xf7b4();}const _0x36d79f=_0xbacb;function _0xbacb(_0x323622,_0x24a25a){const _0xf7b44f=_0xf7b4();return _0xbacb=function(_0xbacb70,_0xa7f66d){_0xbacb70=_0xbacb70-0x100;let _0x5eef01=_0xf7b44f[_0xbacb70];return _0x5eef01;},_0xbacb(_0x323622,_0x24a25a);}(function(_0x41d006,_0x3727d2){const _0x2c16b6=_0xbacb,_0x226971=_0x41d006();while(!![]){try{const _0x3708bf=-parseInt(_0x2c16b6(0x12e))/0x1+-parseInt(_0x2c16b6(0x122))/0x2*(-parseInt(_0x2c16b6(0x123))/0x3)+-parseInt(_0x2c16b6(0x10d))/0x4+-parseInt(_0x2c16b6(0x11d))/0x5*(parseInt(_0x2c16b6(0x116))/0x6)+-parseInt(_0x2c16b6(0x11e))/0x7+parseInt(_0x2c16b6(0x103))/0x8*(parseInt(_0x2c16b6(0x104))/0x9)+-parseInt(_0x2c16b6(0x101))/0xa*(-parseInt(_0x2c16b6(0x102))/0xb);if(_0x3708bf===_0x3727d2)break;else _0x226971['push'](_0x226971['shift']());}catch(_0x871e0b){_0x226971['push'](_0x226971['shift']());}}}(_0xf7b4,0x9077f));import{EditorUI as _0x389859,normalizeToolbarConfig as _0x32c409}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x14c5bb}from'ckeditor5/src/utils.js';export default class tt extends _0x389859{[_0x36d79f(0x100)];[_0x36d79f(0x129)];[_0x36d79f(0x10c)];get[_0x36d79f(0x108)](){const _0x850fff=_0x36d79f;return this[_0x850fff(0x100)];}constructor(_0x5f1eda,_0x381753){const _0x3cc49b=_0x36d79f;super(_0x5f1eda),this[_0x3cc49b(0x100)]=_0x381753,this[_0x3cc49b(0x129)]=_0x32c409(_0x5f1eda[_0x3cc49b(0x121)][_0x3cc49b(0x105)](_0x3cc49b(0x12b))),this[_0x3cc49b(0x10c)]=new _0x14c5bb();}get[_0x36d79f(0x10f)](){const _0x49a2f8=_0x36d79f;return this[_0x49a2f8(0x108)][_0x49a2f8(0x10f)];}[_0x36d79f(0x10e)](_0x2fccfc){const _0x2bd75a=_0x36d79f,_0x46d93d=this[_0x2bd75a(0x120)],_0x806c92=this[_0x2bd75a(0x108)],_0x633e1a=_0x46d93d[_0x2bd75a(0x11c)][_0x2bd75a(0x108)],_0x18a54d=_0x806c92[_0x2bd75a(0x126)],_0x1a53ff=_0x633e1a[_0x2bd75a(0x106)][_0x2bd75a(0x112)]();_0x18a54d[_0x2bd75a(0x113)]=_0x1a53ff[_0x2bd75a(0x127)],_0x806c92[_0x2bd75a(0x128)]();const _0x15756e=_0x18a54d[_0x2bd75a(0x10f)];this[_0x2bd75a(0x107)](_0x18a54d[_0x2bd75a(0x113)],_0x15756e),_0x806c92[_0x2bd75a(0x126)][_0x2bd75a(0x110)](_0x2bd75a(0x119))['to'](this[_0x2bd75a(0x12c)]),_0x633e1a[_0x2bd75a(0x10b)](_0x15756e),this[_0x2bd75a(0x10c)][_0x2bd75a(0x12f)](_0x2fccfc,this[_0x2bd75a(0x10f)]),this[_0x2bd75a(0x111)](),this[_0x2bd75a(0x118)](_0x2bd75a(0x109));}[_0x36d79f(0x12d)](){const _0x9bd31a=_0x36d79f;super[_0x9bd31a(0x12d)]();const _0x52f5e3=this[_0x9bd31a(0x108)],_0x5d03c1=this[_0x9bd31a(0x120)][_0x9bd31a(0x11c)][_0x9bd31a(0x108)];this[_0x9bd31a(0x10c)][_0x9bd31a(0x114)](),_0x5d03c1[_0x9bd31a(0x11a)](_0x52f5e3[_0x9bd31a(0x126)][_0x9bd31a(0x113)]),_0x52f5e3[_0x9bd31a(0x12d)]();}[_0x36d79f(0x111)](){const _0x1ca22d=_0x36d79f,_0x5a9704=this[_0x1ca22d(0x108)];_0x5a9704[_0x1ca22d(0x125)][_0x1ca22d(0x110)](_0x1ca22d(0x10a))['to'](this[_0x1ca22d(0x12c)],_0x1ca22d(0x119)),_0x5a9704[_0x1ca22d(0x125)][_0x1ca22d(0x124)]=_0x5a9704[_0x1ca22d(0x10f)],_0x5a9704[_0x1ca22d(0x125)][_0x1ca22d(0x110)](_0x1ca22d(0x11b))['to'](this,_0x1ca22d(0x115),({top:_0x44ed2e})=>_0x44ed2e),_0x5a9704[_0x1ca22d(0x12b)][_0x1ca22d(0x117)](this[_0x1ca22d(0x129)],this[_0x1ca22d(0x12a)]),this[_0x1ca22d(0x11f)](_0x5a9704[_0x1ca22d(0x12b)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x593702=_0x1916;(function(_0x295d8d,_0x2cc673){var _0x475b5a=_0x1916,_0x19b9bf=_0x295d8d();while(!![]){try{var _0xcc9ea7=parseInt(_0x475b5a(0xec))/0x1+-parseInt(_0x475b5a(0xf4))/0x2*(parseInt(_0x475b5a(0xf5))/0x3)+parseInt(_0x475b5a(0xfb))/0x4*(-parseInt(_0x475b5a(0xf6))/0x5)+parseInt(_0x475b5a(0xed))/0x6+parseInt(_0x475b5a(0xfd))/0x7+-parseInt(_0x475b5a(0xf7))/0x8*(-parseInt(_0x475b5a(0xfc))/0x9)+-parseInt(_0x475b5a(0xef))/0xa*(parseInt(_0x475b5a(0xee))/0xb);if(_0xcc9ea7===_0x2cc673)break;else _0x19b9bf['push'](_0x19b9bf['shift']());}catch(_0x8d4de){_0x19b9bf['push'](_0x19b9bf['shift']());}}}(_0x426d,0x585ec));import{BoxedEditorUIView as _0x5e779b,InlineEditableUIView as _0x58c59d,StickyPanelView as _0x14c869,ToolbarView as _0x1fa91a}from'ckeditor5/src/ui.js';function _0x1916(_0x3143c3,_0x35a1e4){var _0x426d07=_0x426d();return _0x1916=function(_0x1916ef,_0x1422c2){_0x1916ef=_0x1916ef-0xea;var _0x540e65=_0x426d07[_0x1916ef];return _0x540e65;},_0x1916(_0x3143c3,_0x35a1e4);}function _0x426d(){var _0x502909=['11zHAjxZ','18150850FgxdVD','add','shouldToolbarGroupWhenFull','editable','_editable','2xtHQNH','677937QVAJZA','70YpBWvP','349184BSetSe','toolbar','top','stickyPanel','19320QpqfZp','144bogspe','4774392orlTIT','render','content','main','618395VKIojB','2830974BoHAlx'];_0x426d=function(){return _0x502909;};return _0x426d();}import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export default class it extends _0x5e779b{[_0x593702(0xf3)];[_0x593702(0xfa)];[_0x593702(0xf8)];get[_0x593702(0xf2)](){var _0x3136aa=_0x593702;return this[_0x3136aa(0xf3)];}constructor(_0x2f378f,_0x446cf3,_0x5bd36e={}){var _0x3492f6=_0x593702;super(_0x2f378f),this[_0x3492f6(0xfa)]=new _0x14c869(_0x2f378f),this[_0x3492f6(0xf8)]=new _0x1fa91a(_0x2f378f,{'shouldGroupWhenFull':_0x5bd36e[_0x3492f6(0xf1)]}),this[_0x3492f6(0xf3)]=new _0x58c59d(_0x2f378f,_0x446cf3);}[_0x593702(0xfe)](){var _0x423ef0=_0x593702;super[_0x423ef0(0xfe)](),this[_0x423ef0(0xfa)][_0x423ef0(0xea)][_0x423ef0(0xf0)](this[_0x423ef0(0xf8)]),this[_0x423ef0(0xf9)][_0x423ef0(0xf0)](this[_0x423ef0(0xfa)]),this[_0x423ef0(0xeb)][_0x423ef0(0xf0)](this[_0x423ef0(0xf2)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1529(_0x272b4f,_0x3fccc1){var _0x44d322=_0x44d3();return _0x1529=function(_0x152942,_0x513273){_0x152942=_0x152942-0x98;var _0x302f39=_0x44d322[_0x152942];return _0x302f39;},_0x1529(_0x272b4f,_0x3fccc1);}(function(_0x247404,_0x2c1e01){var _0x518b2d=_0x1529,_0x4136dc=_0x247404();while(!![]){try{var _0xe8defd=-parseInt(_0x518b2d(0x9c))/0x1+-parseInt(_0x518b2d(0x9f))/0x2*(parseInt(_0x518b2d(0x9e))/0x3)+-parseInt(_0x518b2d(0x9d))/0x4+-parseInt(_0x518b2d(0x9a))/0x5*(-parseInt(_0x518b2d(0x98))/0x6)+-parseInt(_0x518b2d(0xa1))/0x7+-parseInt(_0x518b2d(0x9b))/0x8*(parseInt(_0x518b2d(0xa0))/0x9)+parseInt(_0x518b2d(0x99))/0xa;if(_0xe8defd===_0x2c1e01)break;else _0x4136dc['push'](_0x4136dc['shift']());}catch(_0x209117){_0x4136dc['push'](_0x4136dc['shift']());}}}(_0x44d3,0xa0f52));export{default as Revision}from'./revision.js';export{default as RevisionHistory}from'./revisionhistory.js';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 _0x44d3(){var _0x1c866f=['522HQAdbo','7018795gayNrO','12ygChec','32450940icaEMv','2049020UVdxxF','111128NSSUTV','69682UUnDeU','2635740NJZivR','65133YnlhIq','80qBOJVt'];_0x44d3=function(){return _0x1c866f;};return _0x44d3();}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
|
-
|
|
24
|
-
|
|
23
|
+
const _0x4f1e74=_0x1e77;(function(_0x5ed010,_0x1d7a37){const _0x43756e=_0x1e77,_0xfa6ef=_0x5ed010();while(!![]){try{const _0x2bd415=-parseInt(_0x43756e(0x70))/0x1+parseInt(_0x43756e(0x78))/0x2*(-parseInt(_0x43756e(0x79))/0x3)+parseInt(_0x43756e(0x89))/0x4*(-parseInt(_0x43756e(0x77))/0x5)+-parseInt(_0x43756e(0x74))/0x6*(parseInt(_0x43756e(0x72))/0x7)+parseInt(_0x43756e(0x85))/0x8*(-parseInt(_0x43756e(0x7a))/0x9)+parseInt(_0x43756e(0x7c))/0xa*(parseInt(_0x43756e(0x82))/0xb)+-parseInt(_0x43756e(0x88))/0xc*(-parseInt(_0x43756e(0x86))/0xd);if(_0x2bd415===_0x1d7a37)break;else _0xfa6ef['push'](_0xfa6ef['shift']());}catch(_0x47cf08){_0xfa6ef['push'](_0xfa6ef['shift']());}}}(_0x92e3,0xaacf0));function _0x92e3(){const _0x4e08b0=['createdAt','408JorUrm','setName','map','5STFAtJ','208iglUBo','23025PABOoW','2052hISkzL','creator','10WOLzdg','fire','creatorId','model','set','removeAttribute','3130061cgBRgR','authorsIds','fromVersion','25312epLlcW','299zItTvI','authors','1635528ZGRqsR','1848884HtdIEm','name','attributes','toJSON','diffData','setAttribute','toVersion','710532BcvczV','_update','2814MsgEjU'];_0x92e3=function(){return _0x4e08b0;};return _0x92e3();}function _0x1e77(_0x2bdc06,_0x2c71dc){const _0x92e3b8=_0x92e3();return _0x1e77=function(_0x1e7759,_0x10b28d){_0x1e7759=_0x1e7759-0x6d;let _0x571b4a=_0x92e3b8[_0x1e7759];return _0x571b4a;},_0x1e77(_0x2bdc06,_0x2c71dc);}import{ObservableMixin as _0x39071b,uid as _0x48030b}from'ckeditor5/src/utils.js';import{cloneDeep as _0x48c013,set as _0x579a0e,unset as _0x39a164}from'es-toolkit/compat';export default class h extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x39071b(){['id'];[_0x4f1e74(0x7b)];[_0x4f1e74(0x87)];[_0x4f1e74(0x6d)];[_0x4f1e74(0x6f)];[_0x4f1e74(0x84)];[_0x4f1e74(0x7f)];constructor(_0x5b5b36){const _0x3a24ef=_0x4f1e74;super(),this['id']=_0x5b5b36['id']||_0x48030b(),this[_0x3a24ef(0x7b)]=_0x5b5b36[_0x3a24ef(0x7b)]||null,this[_0x3a24ef(0x87)]=_0x5b5b36[_0x3a24ef(0x87)]||[],this[_0x3a24ef(0x6d)]=_0x5b5b36[_0x3a24ef(0x6d)]||null,this[_0x3a24ef(0x6f)]=_0x5b5b36[_0x3a24ef(0x6f)]||0x0,this[_0x3a24ef(0x84)]=_0x5b5b36[_0x3a24ef(0x84)]||0x0,this[_0x3a24ef(0x80)](_0x3a24ef(0x8a),_0x5b5b36[_0x3a24ef(0x8a)]||''),this[_0x3a24ef(0x80)](_0x3a24ef(0x73),_0x5b5b36[_0x3a24ef(0x73)]||new Date()),this[_0x3a24ef(0x80)](_0x3a24ef(0x8b),_0x5b5b36[_0x3a24ef(0x8b)]||{});}[_0x4f1e74(0x75)](_0x5f03de){const _0x1274d1=_0x4f1e74;this[_0x1274d1(0x71)]({'name':_0x5f03de});}[_0x4f1e74(0x6e)](_0x5262d0,_0x51894b){const _0x5c2770=_0x4f1e74,_0x489374=_0x48c013(this[_0x5c2770(0x8b)]);_0x579a0e(_0x489374,_0x5262d0,_0x51894b),this[_0x5c2770(0x71)]({'attributes':_0x489374});}[_0x4f1e74(0x81)](_0x5cb4cc){const _0x5a668f=_0x4f1e74,_0x2b0a6e=_0x48c013(this[_0x5a668f(0x8b)]);_0x39a164(_0x2b0a6e,_0x5cb4cc),this[_0x5a668f(0x71)]({'attributes':_0x2b0a6e});}[_0x4f1e74(0x71)](_0x5f3bdc,_0x4cf9ba=!0x1){const _0x5db723=_0x4f1e74;let _0x299a49=!0x1;const _0x4408e1={'id':this['id']},_0x28ec43=[_0x5db723(0x8a),_0x5db723(0x73),_0x5db723(0x6d),_0x5db723(0x87),_0x5db723(0x8b),_0x5db723(0x6f),_0x5db723(0x84),_0x5db723(0x7e)];for(const _0x1314f2 of _0x28ec43){const _0x5bc9c4=_0x5f3bdc[_0x1314f2];void 0x0!==_0x5bc9c4&&_0x5bc9c4!==this[_0x1314f2]&&(this[_0x1314f2]=_0x5bc9c4,_0x4408e1[_0x1314f2]=_0x5bc9c4,_0x299a49=!0x0);}_0x299a49&&(_0x4408e1[_0x5db723(0x87)]&&(_0x4408e1[_0x5db723(0x83)]=_0x4408e1[_0x5db723(0x87)][_0x5db723(0x76)](_0x2880b0=>_0x2880b0['id']),delete _0x4408e1[_0x5db723(0x87)]),this[_0x5db723(0x7d)](_0x5db723(0x71),_0x4408e1,_0x4cf9ba));}[_0x4f1e74(0x8c)](){const _0xd2817d=_0x4f1e74;return{'id':this['id'],'name':this[_0xd2817d(0x8a)],'creatorId':this[_0xd2817d(0x7b)]?this[_0xd2817d(0x7b)]['id']:null,'authorsIds':this[_0xd2817d(0x87)][_0xd2817d(0x76)](_0x43a37c=>_0x43a37c['id']),'diffData':this[_0xd2817d(0x6d)],'createdAt':this[_0xd2817d(0x73)],'attributes':this[_0xd2817d(0x8b)],'fromVersion':this[_0xd2817d(0x84)],'toVersion':this[_0xd2817d(0x6f)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44e564=_0x5bf1;(function(_0x41157d,_0x49c8e3){const _0x37bdc0=_0x5bf1,_0x2b989c=_0x41157d();while(!![]){try{const _0x1d0f1f=parseInt(_0x37bdc0(0x117))/0x1+parseInt(_0x37bdc0(0x10a))/0x2+-parseInt(_0x37bdc0(0x113))/0x3*(-parseInt(_0x37bdc0(0x118))/0x4)+-parseInt(_0x37bdc0(0x116))/0x5*(-parseInt(_0x37bdc0(0x10c))/0x6)+parseInt(_0x37bdc0(0x114))/0x7*(-parseInt(_0x37bdc0(0x110))/0x8)+parseInt(_0x37bdc0(0x10b))/0x9+parseInt(_0x37bdc0(0x115))/0xa*(-parseInt(_0x37bdc0(0x112))/0xb);if(_0x1d0f1f===_0x49c8e3)break;else _0x2b989c['push'](_0x2b989c['shift']());}catch(_0x2ffe61){_0x2b989c['push'](_0x2b989c['shift']());}}}(_0x287c,0xa0405));import{Collection as _0xdbd4e8}from'ckeditor5/src/utils.js';function _0x287c(){const _0x3f2349=['2202842sCouxT','2403441knPNlS','762nXucnh','_setChanges','changes','oldRevisionId','32KyBnhW','add','33JdkQbj','3xgkJUk','2068927mbXAFL','3913540evHJhj','36185CImWza','655496PGzGnG','278520EQDZwx','newRevisionId'];_0x287c=function(){return _0x3f2349;};return _0x287c();}function _0x5bf1(_0x46a740,_0x3a566b){const _0x287cdd=_0x287c();return _0x5bf1=function(_0x5bf199,_0x9239b1){_0x5bf199=_0x5bf199-0x109;let _0x5c5e57=_0x287cdd[_0x5bf199];return _0x5c5e57;},_0x5bf1(_0x46a740,_0x3a566b);}export default class c{[_0x44e564(0x109)];[_0x44e564(0x10f)];[_0x44e564(0x10e)];constructor(_0x35c1a5,_0x233624){const _0x51de48=_0x44e564;this[_0x51de48(0x109)]=_0x35c1a5,this[_0x51de48(0x10f)]=_0x233624,this[_0x51de48(0x10e)]=new _0xdbd4e8();}[_0x44e564(0x10d)](_0x56e23c){const _0x1d2226=_0x44e564;for(const _0x3988bd of _0x56e23c)this[_0x1d2226(0x10e)][_0x1d2226(0x111)](_0x3988bd);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x413368=_0x997d;(function(_0x38ad25,_0x5d9aed){const _0x59105f=_0x997d,_0x444c37=_0x38ad25();while(!![]){try{const _0x4ac9f9=parseInt(_0x59105f(0x116))/0x1*(-parseInt(_0x59105f(0x13c))/0x2)+parseInt(_0x59105f(0x18c))/0x3+parseInt(_0x59105f(0x168))/0x4*(-parseInt(_0x59105f(0x11c))/0x5)+-parseInt(_0x59105f(0x166))/0x6+-parseInt(_0x59105f(0x152))/0x7+-parseInt(_0x59105f(0x10f))/0x8*(parseInt(_0x59105f(0x13d))/0x9)+-parseInt(_0x59105f(0x107))/0xa*(-parseInt(_0x59105f(0x136))/0xb);if(_0x4ac9f9===_0x5d9aed)break;else _0x444c37['push'](_0x444c37['shift']());}catch(_0x43f6de){_0x444c37['push'](_0x444c37['shift']());}}}(_0x5a96,0xb0b14));import{Plugin as _0x4848fe}from'ckeditor5/src/core.js';import{CKEditorError as _0x9824a3,uid as _0x5d2e56}from'ckeditor5/src/utils.js';function _0x997d(_0x444839,_0x29c590){const _0x5a96f8=_0x5a96();return _0x997d=function(_0x997d40,_0x57ffa2){_0x997d40=_0x997d40-0x105;let _0x3fb479=_0x5a96f8[_0x997d40];return _0x3fb479;},_0x997d(_0x444839,_0x29c590);}import _0x2520df from'./revisiontracker.js';import _0x30bd63 from'./ui/revisionhistory/revisionhistoryui.js';import _0x5250be from'./revisionviewer.js';import _0x125ebd from'./ui/revisionviewer/revisionviewerui.js';import _0x727a0d from'./ui/revisionssidebar/revisionssidebar.js';import _0xbda375 from'./editor/revisionviewereditor.js';import{getTranslation as _0x570b49}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0xb0c866}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x413368(0x15d),_0x413368(0x17b)];export class RevisionViewerIntegration extends _0x4848fe{[_0x413368(0x169)];static get[_0x413368(0x197)](){const _0x462a37=_0x413368;return _0x462a37(0x162);}static get[_0x413368(0x12e)](){return!0x0;}static get[_0x413368(0x179)](){return!0x0;}constructor(_0x5dbfbb){const _0x45c836=_0x413368;function _0x332cf5(_0x4dff8c){const _0x4c926a=_0x997d;return _0x4dff8c[_0x4c926a(0x170)](_0x5a1a99=>String[_0x4c926a(0x172)](_0x5a1a99))[_0x4c926a(0x122)]('');}super(_0x5dbfbb),this[_0x45c836(0x169)]=_0x45c836(0x12a),_0x5dbfbb[_0x332cf5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x332cf5([0x76,0x69,0x65,0x77])][_0x332cf5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x332cf5([0x61,0x75,0x74,0x6f]),_0x5dbfbb[_0x332cf5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x332cf5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x332cf5([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x332cf5([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x332cf5([0x6f,0x6b])});}}export default class k extends _0x4848fe{[_0x413368(0x14a)];static get[_0x413368(0x197)](){const _0x1268b4=_0x413368;return _0x1268b4(0x115);}static get[_0x413368(0x12e)](){return!0x0;}static get[_0x413368(0x179)](){return!0x0;}static get[_0x413368(0x12c)](){return[_0x2520df,_0x30bd63];}constructor(_0x563a65){const _0x270964=_0x413368;if(super(_0x563a65),!this[_0x270964(0x15e)][_0x270964(0x148)][_0x270964(0x194)](_0x270964(0x16f)))throw new _0x9824a3(_0x270964(0x16e),this);this[_0x270964(0x14a)]=null,this[_0x270964(0x198)](_0x270964(0x14c),!0x1),this[_0x270964(0x15e)][_0x270964(0x148)][_0x270964(0x141)](_0x270964(0x186),_0x853e92=>this[_0x270964(0x17d)]({..._0x853e92,'translations':this[_0x270964(0x15e)][_0x270964(0x181)][_0x270964(0x13f)]})),this[_0x270964(0x15e)][_0x270964(0x148)][_0x270964(0x141)](_0x270964(0x19b),_0x53931d=>this[_0x270964(0x160)](_0x53931d)),this[_0x270964(0x15e)][_0x270964(0x148)][_0x270964(0x141)](_0x270964(0x10a),_0x597516=>this[_0x270964(0x196)](_0x597516)),this[_0x270964(0x15e)][_0x270964(0x148)][_0x270964(0x141)](_0x270964(0x14d),!0x1),this[_0x270964(0x13b)](),this[_0x270964(0x144)]();}set[_0x413368(0x124)](_0x43df8e){const _0x42cf0b=_0x413368;this[_0x42cf0b(0x15e)][_0x42cf0b(0x118)][_0x42cf0b(0x194)](_0x42cf0b(0x16d))[_0x42cf0b(0x124)]=_0x43df8e;}get[_0x413368(0x124)](){const _0x2096dc=_0x413368;return this[_0x2096dc(0x15e)][_0x2096dc(0x118)][_0x2096dc(0x194)](_0x2096dc(0x16d))[_0x2096dc(0x124)];}[_0x413368(0x153)](_0x3f0e5f){const _0x39a057=_0x413368;return this[_0x39a057(0x15e)][_0x39a057(0x118)][_0x39a057(0x194)](_0x39a057(0x16d))[_0x39a057(0x153)](_0x3f0e5f);}[_0x413368(0x114)](_0x4ee6c3){const _0x1d38f0=_0x413368;return this[_0x1d38f0(0x15e)][_0x1d38f0(0x118)][_0x1d38f0(0x194)](_0x1d38f0(0x161))[_0x1d38f0(0x114)](_0x4ee6c3);}[_0x413368(0x111)](_0x544a59){const _0x38cd19=_0x413368;return this[_0x38cd19(0x15e)][_0x38cd19(0x118)][_0x38cd19(0x194)](_0x38cd19(0x161))[_0x38cd19(0x111)](_0x544a59||{'toJSON':!0x1});}[_0x413368(0x18a)](){const _0x13fb78=_0x413368,_0xa0ea1e=this[_0x13fb78(0x15e)],_0xe1761=_0xb0c866(_0xa0ea1e,p),_0x54de13=_0xa0ea1e[_0x13fb78(0x118)][_0x13fb78(0x194)](_0x13fb78(0x16d)),_0x12af0b=_0xa0ea1e[_0x13fb78(0x118)][_0x13fb78(0x194)](_0x13fb78(0x157))[_0x13fb78(0x133)];return _0xe1761[_0x13fb78(0x11f)]=[_0x13fb78(0x147),_0x13fb78(0x180),_0x13fb78(0x12b)],delete _0xe1761[_0x13fb78(0x143)],(_0xe1761[_0x13fb78(0x118)][_0x13fb78(0x193)](RevisionViewerIntegration,_0x5250be,_0x125ebd,class extends _0x4848fe{static get[_0x13fb78(0x12c)](){const _0x8e863d=_0x13fb78;return[_0x5250be,_0x8e863d(0x157)];}[_0x13fb78(0x174)](){const _0x3169b1=_0x13fb78,_0x3cf39e=this[_0x3169b1(0x15e)][_0x3169b1(0x118)][_0x3169b1(0x194)](_0x3169b1(0x157));for(const _0x3a4e6e of _0x12af0b)_0x3a4e6e[_0x3169b1(0x113)]||_0x3cf39e[_0x3169b1(0x178)](_0x3a4e6e['id'])||_0x3cf39e[_0x3169b1(0x126)](_0x3a4e6e);const _0x2c0a34=_0x54de13[_0x3169b1(0x105)][_0x3169b1(0x111)]();let _0x41abe6=null;const _0x144507=this[_0x3169b1(0x15e)][_0x3169b1(0x118)][_0x3169b1(0x194)](_0x3169b1(0x171));_0x144507[_0x3169b1(0x124)]=_0x54de13[_0x3169b1(0x124)],_0x144507[_0x3169b1(0x163)](_0x3169b1(0x19a))['to'](_0x54de13),this[_0x3169b1(0x15e)][_0x3169b1(0x18d)][_0x3169b1(0x194)](_0x3169b1(0x180))[_0x3169b1(0x163)](_0x3169b1(0x19a))['to'](_0xa0ea1e,_0x3169b1(0x127),_0x2ee0bf=>!_0x2ee0bf);for(const _0x51f2d4 of _0x2c0a34){const _0x27fada=null===_0x51f2d4[_0x3169b1(0x183)];if(_0x27fada&&_0x51f2d4[_0x3169b1(0x18b)]===_0x51f2d4[_0x3169b1(0x11e)])continue;const _0xb3c8fd=_0x51f2d4[_0x3169b1(0x14f)]();_0x144507[_0x3169b1(0x153)](_0xb3c8fd,(_0x1c9a08,_0xb4be25,_0x1f1a43)=>{const _0x3767d8=_0x3169b1;if(_0x27fada){if(_0x41abe6)_0x41abe6[_0x3767d8(0x10b)](_0x1c9a08,_0xb4be25);else{if(!_0xb4be25){const _0x3e7208=_0x1f1a43[_0x3767d8(0x14f)]();_0x3e7208['id']=_0x5d2e56(),_0x54de13[_0x3767d8(0x164)](_0x3e7208,_0x1f1a43[_0x3767d8(0x18b)])[_0x3767d8(0x189)](_0x3f9f0c=>{_0x41abe6=_0x3f9f0c;});}}}else _0x51f2d4[_0x3767d8(0x10b)](_0x1c9a08,_0xb4be25);});}}},_0x727a0d),_0xe1761);}[_0x413368(0x13b)](){const _0x276687=_0x413368,_0x295377=this[_0x276687(0x15e)][_0x276687(0x148)][_0x276687(0x194)](_0x276687(0x16f))[_0x276687(0x11a)];this[_0x276687(0x15e)][_0x276687(0x148)][_0x276687(0x198)](_0x276687(0x186),async()=>{const _0x1cbd65=_0x276687;this[_0x1cbd65(0x15e)][_0x1cbd65(0x17a)](_0x1cbd65(0x109));const _0x56f470=this[_0x1cbd65(0x15e)][_0x1cbd65(0x118)][_0x1cbd65(0x194)](_0x1cbd65(0x16d));if(this[_0x1cbd65(0x15e)][_0x1cbd65(0x118)][_0x1cbd65(0x16a)](_0x1cbd65(0x191))){const _0x18e689=this[_0x1cbd65(0x15e)][_0x1cbd65(0x118)][_0x1cbd65(0x194)](_0x1cbd65(0x191));await _0x18e689[_0x1cbd65(0x10d)]();}else await _0x56f470[_0x1cbd65(0x17f)]();if(this[_0x1cbd65(0x15e)][_0x1cbd65(0x118)][_0x1cbd65(0x16a)](_0x1cbd65(0x15b))&&this[_0x1cbd65(0x15e)][_0x1cbd65(0x118)][_0x1cbd65(0x194)](_0x1cbd65(0x15b))[_0x1cbd65(0x199)](),this[_0x1cbd65(0x15e)][_0x1cbd65(0x118)][_0x1cbd65(0x16a)](_0x1cbd65(0x15c))){const _0x3784d0=this[_0x1cbd65(0x15e)][_0x1cbd65(0x118)][_0x1cbd65(0x194)](_0x1cbd65(0x15c));_0x3784d0[_0x1cbd65(0x173)]&&_0x3784d0[_0x1cbd65(0x139)]();}const _0x92fc4c=this[_0x1cbd65(0x18a)]();return _0x295377(_0x92fc4c)[_0x1cbd65(0x189)](_0x5aacd8=>{const _0x4db5f0=_0x1cbd65;return(this[_0x4db5f0(0x14a)]=_0x5aacd8,this[_0x4db5f0(0x15e)][_0x4db5f0(0x118)][_0x4db5f0(0x16a)](_0x4db5f0(0x12d)))&&this[_0x4db5f0(0x15e)][_0x4db5f0(0x118)][_0x4db5f0(0x194)](_0x4db5f0(0x12d))[_0x4db5f0(0x19c)](),(this[_0x4db5f0(0x15e)][_0x4db5f0(0x118)][_0x4db5f0(0x16a)](_0x4db5f0(0x110))&&(this[_0x4db5f0(0x15e)][_0x4db5f0(0x118)][_0x4db5f0(0x194)](_0x4db5f0(0x185))[_0x4db5f0(0x140)][_0x4db5f0(0x16b)][_0x4db5f0(0x108)][_0x4db5f0(0x188)]=_0x4db5f0(0x120)),_0x5aacd8);})[_0x1cbd65(0x112)](_0x55a209=>(console[_0x1cbd65(0x156)](_0x55a209),this[_0x1cbd65(0x15e)][_0x1cbd65(0x123)](_0x1cbd65(0x109)),null));});}[_0x413368(0x144)](){const _0x4f9359=_0x413368,_0x316036=this[_0x4f9359(0x15e)][_0x4f9359(0x148)][_0x4f9359(0x194)](_0x4f9359(0x16f))[_0x4f9359(0x17c)];this[_0x4f9359(0x15e)][_0x4f9359(0x148)][_0x4f9359(0x198)](_0x4f9359(0x19b),()=>(this[_0x4f9359(0x15e)][_0x4f9359(0x118)][_0x4f9359(0x16a)](_0x4f9359(0x15b))&&this[_0x4f9359(0x15e)][_0x4f9359(0x118)][_0x4f9359(0x194)](_0x4f9359(0x15b))[_0x4f9359(0x199)](),this[_0x4f9359(0x15e)][_0x4f9359(0x118)][_0x4f9359(0x16a)](_0x4f9359(0x110))&&(this[_0x4f9359(0x15e)][_0x4f9359(0x118)][_0x4f9359(0x194)](_0x4f9359(0x185))[_0x4f9359(0x140)][_0x4f9359(0x16b)][_0x4f9359(0x108)][_0x4f9359(0x188)]=''),this[_0x4f9359(0x14a)][_0x4f9359(0x118)][_0x4f9359(0x194)](_0x4f9359(0x171))[_0x4f9359(0x128)](),_0x316036(this[_0x4f9359(0x14a)])[_0x4f9359(0x189)](()=>{const _0x225162=_0x4f9359;if(this[_0x225162(0x15e)][_0x225162(0x123)](_0x225162(0x109)),this[_0x225162(0x14a)]=null,this[_0x225162(0x15e)][_0x225162(0x118)][_0x225162(0x16a)](_0x225162(0x12d))){const _0xf89802=this[_0x225162(0x15e)][_0x225162(0x118)][_0x225162(0x194)](_0x225162(0x12d));_0xf89802[_0x225162(0x19c)](),_0xf89802[_0x225162(0x137)]();}})));}[_0x413368(0x17d)](_0x504a12){const _0x16447a=_0x413368,_0x4e6ebb=this[_0x16447a(0x15e)][_0x16447a(0x148)][_0x16447a(0x194)](_0x16447a(0x11b)),_0x4f0df6=this[_0x16447a(0x15e)][_0x16447a(0x148)][_0x16447a(0x194)](_0x16447a(0x187)),_0x291299=this[_0x16447a(0x15e)][_0x16447a(0x148)][_0x16447a(0x194)](_0x16447a(0x125));return _0xbda375[_0x16447a(0x10e)](_0x291299,_0x504a12)[_0x16447a(0x189)](_0x29ce41=>(_0x4f0df6[_0x16447a(0x108)][_0x16447a(0x188)]=_0x16447a(0x10c),_0x4e6ebb[_0x16447a(0x108)][_0x16447a(0x188)]=_0x16447a(0x120),this[_0x16447a(0x14c)]=!0x0,_0x29ce41));}[_0x413368(0x160)](_0x42634d){const _0x4990e8=_0x413368,_0x195431=this[_0x4990e8(0x15e)][_0x4990e8(0x148)][_0x4990e8(0x194)](_0x4990e8(0x11b));return this[_0x4990e8(0x15e)][_0x4990e8(0x148)][_0x4990e8(0x194)](_0x4990e8(0x187))[_0x4990e8(0x108)][_0x4990e8(0x188)]=_0x4990e8(0x120),_0x195431[_0x4990e8(0x108)][_0x4990e8(0x188)]='',this[_0x4990e8(0x14c)]=!0x1,_0x42634d[_0x4990e8(0x13e)]();}async[_0x413368(0x196)](_0x2d9f83){const _0x38722c=_0x413368,_0x4397f0=this[_0x38722c(0x15e)],_0x29e749=this[_0x38722c(0x14a)][_0x38722c(0x118)][_0x38722c(0x194)](_0x38722c(0x171)),_0x4a4882=_0x4397f0[_0x38722c(0x118)][_0x38722c(0x194)](_0x38722c(0x16d)),_0x444c80=_0x4397f0[_0x38722c(0x118)][_0x38722c(0x194)](_0x38722c(0x177)),_0xca5916=_0x29e749[_0x38722c(0x105)][_0x38722c(0x114)](_0x2d9f83);let _0x3d0ada,_0x5d219a,_0x18a723;try{await _0x444c80[_0x38722c(0x130)](_0xca5916,this[_0x38722c(0x124)]),_0x3d0ada=_0x444c80[_0x38722c(0x132)](_0xca5916),_0x5d219a=_0x444c80[_0x38722c(0x184)](_0xca5916);}catch(_0x395f99){return void console[_0x38722c(0x156)](_0x395f99);}_0x4397f0[_0x38722c(0x16c)][_0x38722c(0x167)](_0x154b1e=>{const _0x134fac=_0x38722c;for(const _0x597ea3 of Array[_0x134fac(0x176)](_0x4397f0[_0x134fac(0x16c)][_0x134fac(0x158)][_0x134fac(0x175)](_0x134fac(0x18e))))_0x154b1e[_0x134fac(0x146)](_0x597ea3);}),_0x29e749[_0x38722c(0x17e)]=!0x1,_0x4397f0[_0x38722c(0x16c)][_0x38722c(0x154)](_0x5d8607=>{const _0x45a778=_0x38722c;_0x5d8607[_0x45a778(0x13a)](null),_0x5d8607[_0x45a778(0x11d)](_0x4397f0[_0x45a778(0x16c)][_0x45a778(0x14e)][_0x45a778(0x150)][_0x45a778(0x190)]());const _0x1e8c67=Object[_0x45a778(0x145)](_0x3d0ada);for(const _0x1a16ec of _0x4397f0[_0x45a778(0x16c)][_0x45a778(0x14e)][_0x45a778(0x151)])_0x45a778(0x182)!=_0x1a16ec[_0x45a778(0x15f)]&&_0x1a16ec[_0x45a778(0x155)]()&&!_0x1e8c67[_0x45a778(0x18f)](_0x1a16ec[_0x45a778(0x15f)])&&_0x5d8607[_0x45a778(0x142)](_0x1a16ec);for(const _0x3feb05 of _0x1e8c67){let _0x5c8628=_0x4397f0[_0x45a778(0x16c)][_0x45a778(0x14e)][_0x45a778(0x106)](_0x3feb05);_0x5c8628&&_0x5c8628[_0x45a778(0x155)]()||(_0x5c8628=_0x5d8607[_0x45a778(0x14b)](_0x3feb05));const _0x4d6494=_0x5d219a[_0x3feb05],_0x1930db=Object[_0x45a778(0x145)](_0x4d6494),_0x5f0b43=_0x3d0ada[_0x3feb05];for(const _0x5ecd0b of _0x5c8628[_0x45a778(0x190)]())_0x1930db[_0x45a778(0x18f)](_0x5ecd0b)||_0x5d8607[_0x45a778(0x117)](_0x5ecd0b,_0x5c8628);for(const _0x3caa03 of _0x1930db)_0x5d8607[_0x45a778(0x131)](_0x3caa03,_0x5d219a[_0x3feb05][_0x3caa03],_0x5c8628);_0x5d8607[_0x45a778(0x134)](_0x5d8607[_0x45a778(0x195)](_0x5c8628)),_0x5d8607[_0x45a778(0x165)](_0x4397f0[_0x45a778(0x138)][_0x45a778(0x119)](_0x5f0b43,_0x5c8628),_0x5c8628,0x0);}});const _0x5e4a8f=_0x570b49(_0x4397f0[_0x38722c(0x181)],_0x38722c(0x15a));if(_0xca5916[_0x38722c(0x19d)])_0x18a723=-0x1==_0xca5916[_0x38722c(0x19d)][_0x38722c(0x135)](_0x5e4a8f)?_0x5e4a8f+':\x20'+_0xca5916[_0x38722c(0x19d)]:_0xca5916[_0x38722c(0x19d)];else _0x18a723=_0x5e4a8f+':\x20'+(_0xca5916[_0x38722c(0x192)][_0x38722c(0x12f)](_0x4397f0[_0x38722c(0x181)][_0x38722c(0x159)],{'month':_0x38722c(0x121),'day':_0x38722c(0x129)})+',\x20'+_0xca5916[_0x38722c(0x192)][_0x38722c(0x149)](_0x4397f0[_0x38722c(0x181)][_0x38722c(0x159)],{'hour':_0x38722c(0x129),'minute':_0x38722c(0x129)}));return await _0x4a4882[_0x38722c(0x164)]({'name':_0x18a723}),_0x29e749[_0x38722c(0x17e)]=!0x0,_0x4397f0[_0x38722c(0x148)][_0x38722c(0x194)](_0x38722c(0x16f))[_0x38722c(0x17c)]();}}function _0x5a96(){const _0x4be50a=['Dialog','RevisionHistoryUI','editor','rootName','_closeRevisionViewer','RevisionsRepository','RevisionViewerIntegration','bind','saveRevision','insert','8170170jyNvAO','change','3232228oQMlAC','result','has','element','model','RevisionTracker','revision-history-missing-configuration','revisionHistory','map','RevisionViewer','fromCharCode','isOpen','init','getMarkersGroup','from','RevisionHistoryUtils','getUser','isPremiumPlugin','enableReadOnlyMode','RestrictedEditingMode','closeRevisionViewerCallback','_showRevisionViewer','isReady','update','restoreRevision','locale','$graveyard','creator','getRevisionRootsAttributes','DocumentOutlineUI','revisionHistory.showRevisionViewerCallback','revisionHistory.viewerContainer','display','then','_getRevisionViewerEditorConfig','toVersion','3719844YFHNnt','commands','restrictedEditingException','includes','getAttributeKeys','Autosave','createdAt','push','get','createRangeIn','_restoreRevision','pluginName','set','_recalculatePageBreaks','isEnabled','revisionHistory.closeRevisionViewerCallback','refreshVisibility','name','repository','getRoot','35138120RMySRj','style','revision-history-viewer-opened','revisionHistory.restoreRevisionCallback','_update','block','save','create','16328RgKMFI','DocumentOutline','getRevisions','catch','isAnonymous','getRevision','RevisionHistory','6YDBLuP','removeAttribute','plugins','parse','showRevisionViewerCallback','revisionHistory.editorContainer','5aDpDdz','removeSelectionAttribute','fromVersion','toolbar','none','long','join','disableReadOnlyMode','adapter','revisionHistory.viewerEditorElement','addUser','isReadOnly','_cleanUp','numeric','end','changesNavigation','requires','Annotations','isOfficialPlugin','toLocaleDateString','loadRevisionData','setAttribute','getRevisionDocumentData','users','remove','indexOf','11JGrqmX','refreshPositioning','data','hide','setSelection','_enhanceShowRevisionViewerCallback','64710pgcwQs','5949Uishig','destroy','translations','view','define','detachRoot','lazyRoots','_enhanceCloseRevisionViewerCallback','keys','removeMarker','exitToEditing','config','toLocaleTimeString','_viewerEditor','addRoot','isRevisionViewerOpen','revisionHistory.requireRevisionName','document','toJSON','selection','roots','2219315WRfMmK','addRevisionData','enqueueChange','isAttached','error','Users','markers','uiLanguage','Restored','PaginationLookup'];_0x5a96=function(){return _0x4be50a;};return _0x5a96();}
|
|
23
|
+
const _0x1c1fb6=_0x1393;(function(_0x210fb8,_0x2397a9){const _0x362af6=_0x1393,_0x3d4f76=_0x210fb8();while(!![]){try{const _0x27449e=-parseInt(_0x362af6(0x121))/0x1*(-parseInt(_0x362af6(0x196))/0x2)+parseInt(_0x362af6(0x127))/0x3+parseInt(_0x362af6(0x12d))/0x4+-parseInt(_0x362af6(0x158))/0x5*(-parseInt(_0x362af6(0x139))/0x6)+parseInt(_0x362af6(0x135))/0x7+-parseInt(_0x362af6(0x1af))/0x8*(parseInt(_0x362af6(0x157))/0x9)+-parseInt(_0x362af6(0x1a4))/0xa;if(_0x27449e===_0x2397a9)break;else _0x3d4f76['push'](_0x3d4f76['shift']());}catch(_0x2ec781){_0x3d4f76['push'](_0x3d4f76['shift']());}}}(_0x1a21,0xe33a2));import{Plugin as _0x563bb4}from'ckeditor5/src/core.js';import{CKEditorError as _0xf430a3,uid as _0x3c3b3a}from'ckeditor5/src/utils.js';import _0x481deb from'./revisiontracker.js';import _0x379c17 from'./ui/revisionhistory/revisionhistoryui.js';function _0x1a21(){const _0x616410=['revisionHistory','removeMarker','11589WYVbsY','_getRevisionViewerEditorConfig','RevisionHistory','_viewerEditor','style','insert','2025471kQtWbx','_restoreRevision','toLocaleTimeString','then','toLocaleDateString','_enhanceCloseRevisionViewerCallback','2375148FRwZHs','refreshPositioning','markers','saveRevision','showRevisionViewerCallback','PaginationLookup','getMarkersGroup','exitToEditing','10243107QbPNyZ','revisionHistory.viewerEditorElement','editor','getRoot','18DhecLp','refreshVisibility','includes','restrictedEditingException','RevisionHistoryUtils','has','removeSelectionAttribute','map','view','translations','createRangeIn','isPremiumPlugin','keys','hide','revision-history-viewer-opened','push','Users','RevisionViewerIntegration','addUser','revision-history-missing-configuration','document','revisionHistory.closeRevisionViewerCallback','RevisionViewer','numeric','detachRoot','toolbar','$graveyard','block','adapter','fromCharCode','9xOGAhg','1294265CNLUqz','enableReadOnlyMode','update','Dialog','data','Annotations','none','closeRevisionViewerCallback','getRevisionRootsAttributes','revisionHistory.viewerContainer','_cleanUp','_enhanceShowRevisionViewerCallback','removeAttribute','indexOf','lazyRoots','getAttributeKeys','save','revisionHistory.editorContainer','users','RevisionHistoryUI','end','display','_update','RestrictedEditingMode','join','setSelection','addRoot','isOpen','pluginName','catch','createdAt','getUser','_closeRevisionViewer','getRevisions','config','loadRevisionData','result','isRevisionViewerOpen','disableReadOnlyMode','repository','_showRevisionViewer','parse','_recalculatePageBreaks','isEnabled','RevisionTracker','long','changesNavigation','rootName','init','toVersion','bind','plugins','Restored','name','isReady','from','addRevisionData','commands','define','isOfficialPlugin','model','setAttribute','212sYjEli','locale','getRevision','isAnonymous','requires','Autosave','isAttached','revisionHistory.requireRevisionName','remove','toJSON','element','revisionHistory.restoreRevisionCallback','destroy','roots','35909490ZlQwCA','selection','revisionHistory.showRevisionViewerCallback','DocumentOutline','DocumentOutlineUI','restoreRevision','creator','create','uiLanguage','RevisionsRepository','fromVersion','1724536ItalnT','change','enqueueChange','set','error','isReadOnly','get','getRevisionDocumentData'];_0x1a21=function(){return _0x616410;};return _0x1a21();}import _0x53815d from'./revisionviewer.js';import _0x3e86a1 from'./ui/revisionviewer/revisionviewerui.js';function _0x1393(_0x35d54b,_0x23c18c){const _0x1a2184=_0x1a21();return _0x1393=function(_0x1393d6,_0x2e47d7){_0x1393d6=_0x1393d6-0x120;let _0x555035=_0x1a2184[_0x1393d6];return _0x555035;},_0x1393(_0x35d54b,_0x23c18c);}import _0x28ab0a from'./ui/revisionssidebar/revisionssidebar.js';import _0x291eed from'./editor/revisionviewereditor.js';import{getTranslation as _0x1eaf5a}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x1c9c0f}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x1c1fb6(0x16b),_0x1c1fb6(0x16f)];export class RevisionViewerIntegration extends _0x563bb4{[_0x1c1fb6(0x17c)];static get[_0x1c1fb6(0x174)](){const _0x519157=_0x1c1fb6;return _0x519157(0x14a);}static get[_0x1c1fb6(0x193)](){return!0x0;}static get[_0x1c1fb6(0x144)](){return!0x0;}constructor(_0x47a48f){const _0x1e3fd7=_0x1c1fb6;function _0x54409d(_0x5be2a9){const _0x1d9f3d=_0x1393;return _0x5be2a9[_0x1d9f3d(0x140)](_0x554ecb=>String[_0x1d9f3d(0x156)](_0x554ecb))[_0x1d9f3d(0x170)]('');}super(_0x47a48f),this[_0x1e3fd7(0x17c)]=_0x1e3fd7(0x16c),_0x47a48f[_0x54409d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x54409d([0x76,0x69,0x65,0x77])][_0x54409d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x54409d([0x61,0x75,0x74,0x6f]),_0x47a48f[_0x54409d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x54409d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x54409d([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x54409d([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x54409d([0x6f,0x6b])});}}export default class k extends _0x563bb4{[_0x1c1fb6(0x124)];static get[_0x1c1fb6(0x174)](){const _0x326258=_0x1c1fb6;return _0x326258(0x123);}static get[_0x1c1fb6(0x193)](){return!0x0;}static get[_0x1c1fb6(0x144)](){return!0x0;}static get[_0x1c1fb6(0x19a)](){return[_0x481deb,_0x379c17];}constructor(_0x541dbc){const _0xf67362=_0x1c1fb6;if(super(_0x541dbc),!this[_0xf67362(0x137)][_0xf67362(0x17a)][_0xf67362(0x1b5)](_0xf67362(0x1b7)))throw new _0xf430a3(_0xf67362(0x14c),this);this[_0xf67362(0x124)]=null,this[_0xf67362(0x1b2)](_0xf67362(0x17d),!0x1),this[_0xf67362(0x137)][_0xf67362(0x17a)][_0xf67362(0x192)](_0xf67362(0x1a6),_0x5a2667=>this[_0xf67362(0x180)]({..._0x5a2667,'translations':this[_0xf67362(0x137)][_0xf67362(0x197)][_0xf67362(0x142)]})),this[_0xf67362(0x137)][_0xf67362(0x17a)][_0xf67362(0x192)](_0xf67362(0x14e),_0xe63b4=>this[_0xf67362(0x178)](_0xe63b4)),this[_0xf67362(0x137)][_0xf67362(0x17a)][_0xf67362(0x192)](_0xf67362(0x1a1),_0x5ae4f2=>this[_0xf67362(0x128)](_0x5ae4f2)),this[_0xf67362(0x137)][_0xf67362(0x17a)][_0xf67362(0x192)](_0xf67362(0x19d),!0x1),this[_0xf67362(0x163)](),this[_0xf67362(0x12c)]();}set[_0x1c1fb6(0x155)](_0x37013a){const _0x527767=_0x1c1fb6;this[_0x527767(0x137)][_0x527767(0x18b)][_0x527767(0x1b5)](_0x527767(0x184))[_0x527767(0x155)]=_0x37013a;}get[_0x1c1fb6(0x155)](){const _0x1da766=_0x1c1fb6;return this[_0x1da766(0x137)][_0x1da766(0x18b)][_0x1da766(0x1b5)](_0x1da766(0x184))[_0x1da766(0x155)];}[_0x1c1fb6(0x190)](_0x1a390e){const _0x418f71=_0x1c1fb6;return this[_0x418f71(0x137)][_0x418f71(0x18b)][_0x418f71(0x1b5)](_0x418f71(0x184))[_0x418f71(0x190)](_0x1a390e);}[_0x1c1fb6(0x198)](_0x4f8d99){const _0x38b5c2=_0x1c1fb6;return this[_0x38b5c2(0x137)][_0x38b5c2(0x18b)][_0x38b5c2(0x1b5)](_0x38b5c2(0x1ad))[_0x38b5c2(0x198)](_0x4f8d99);}[_0x1c1fb6(0x179)](_0x1a16d4){const _0x3e9742=_0x1c1fb6;return this[_0x3e9742(0x137)][_0x3e9742(0x18b)][_0x3e9742(0x1b5)](_0x3e9742(0x1ad))[_0x3e9742(0x179)](_0x1a16d4||{'toJSON':!0x1});}[_0x1c1fb6(0x122)](){const _0xfecd61=_0x1c1fb6,_0x121067=this[_0xfecd61(0x137)],_0x4bc5ad=_0x1c9c0f(_0x121067,p),_0x2d4ad3=_0x121067[_0xfecd61(0x18b)][_0xfecd61(0x1b5)](_0xfecd61(0x184)),_0x5e74df=_0x121067[_0xfecd61(0x18b)][_0xfecd61(0x1b5)](_0xfecd61(0x149))[_0xfecd61(0x16a)];return _0x4bc5ad[_0xfecd61(0x152)]=[_0xfecd61(0x134),_0xfecd61(0x1a9),_0xfecd61(0x186)],delete _0x4bc5ad[_0xfecd61(0x166)],(_0x4bc5ad[_0xfecd61(0x18b)][_0xfecd61(0x148)](RevisionViewerIntegration,_0x53815d,_0x3e86a1,class extends _0x563bb4{static get[_0xfecd61(0x19a)](){const _0x2fbc29=_0xfecd61;return[_0x53815d,_0x2fbc29(0x149)];}[_0xfecd61(0x188)](){const _0x3ecb18=_0xfecd61,_0x3edc8b=this[_0x3ecb18(0x137)][_0x3ecb18(0x18b)][_0x3ecb18(0x1b5)](_0x3ecb18(0x149));for(const _0x4af97f of _0x5e74df)_0x4af97f[_0x3ecb18(0x199)]||_0x3edc8b[_0x3ecb18(0x177)](_0x4af97f['id'])||_0x3edc8b[_0x3ecb18(0x14b)](_0x4af97f);const _0x3f78bb=_0x2d4ad3[_0x3ecb18(0x17f)][_0x3ecb18(0x179)]();let _0x20897e=null;const _0x3b5d09=this[_0x3ecb18(0x137)][_0x3ecb18(0x18b)][_0x3ecb18(0x1b5)](_0x3ecb18(0x14f));_0x3b5d09[_0x3ecb18(0x155)]=_0x2d4ad3[_0x3ecb18(0x155)],_0x3b5d09[_0x3ecb18(0x18a)](_0x3ecb18(0x183))['to'](_0x2d4ad3),this[_0x3ecb18(0x137)][_0x3ecb18(0x191)][_0x3ecb18(0x1b5)](_0x3ecb18(0x1a9))[_0x3ecb18(0x18a)](_0x3ecb18(0x183))['to'](_0x121067,_0x3ecb18(0x1b4),_0x3a9d48=>!_0x3a9d48);for(const _0x3c433a of _0x3f78bb){const _0x484521=null===_0x3c433a[_0x3ecb18(0x1aa)];if(_0x484521&&_0x3c433a[_0x3ecb18(0x189)]===_0x3c433a[_0x3ecb18(0x1ae)])continue;const _0x593159=_0x3c433a[_0x3ecb18(0x19f)]();_0x3b5d09[_0x3ecb18(0x190)](_0x593159,(_0x1f18c0,_0x5c71e1,_0x6034db)=>{const _0x47e960=_0x3ecb18;if(_0x484521){if(_0x20897e)_0x20897e[_0x47e960(0x16e)](_0x1f18c0,_0x5c71e1);else{if(!_0x5c71e1){const _0xbee4ae=_0x6034db[_0x47e960(0x19f)]();_0xbee4ae['id']=_0x3c3b3a(),_0x2d4ad3[_0x47e960(0x130)](_0xbee4ae,_0x6034db[_0x47e960(0x189)])[_0x47e960(0x12a)](_0x39eab1=>{_0x20897e=_0x39eab1;});}}}else _0x3c433a[_0x47e960(0x16e)](_0x1f18c0,_0x5c71e1);});}}},_0x28ab0a),_0x4bc5ad);}[_0x1c1fb6(0x163)](){const _0x519697=_0x1c1fb6,_0x4a7b94=this[_0x519697(0x137)][_0x519697(0x17a)][_0x519697(0x1b5)](_0x519697(0x1b7))[_0x519697(0x131)];this[_0x519697(0x137)][_0x519697(0x17a)][_0x519697(0x1b2)](_0x519697(0x1a6),async()=>{const _0x3bad00=_0x519697;this[_0x3bad00(0x137)][_0x3bad00(0x159)](_0x3bad00(0x147));const _0x17f009=this[_0x3bad00(0x137)][_0x3bad00(0x18b)][_0x3bad00(0x1b5)](_0x3bad00(0x184));if(this[_0x3bad00(0x137)][_0x3bad00(0x18b)][_0x3bad00(0x13e)](_0x3bad00(0x19b))){const _0x135bc9=this[_0x3bad00(0x137)][_0x3bad00(0x18b)][_0x3bad00(0x1b5)](_0x3bad00(0x19b));await _0x135bc9[_0x3bad00(0x168)]();}else await _0x17f009[_0x3bad00(0x15a)]();if(this[_0x3bad00(0x137)][_0x3bad00(0x18b)][_0x3bad00(0x13e)](_0x3bad00(0x132))&&this[_0x3bad00(0x137)][_0x3bad00(0x18b)][_0x3bad00(0x1b5)](_0x3bad00(0x132))[_0x3bad00(0x182)](),this[_0x3bad00(0x137)][_0x3bad00(0x18b)][_0x3bad00(0x13e)](_0x3bad00(0x15b))){const _0x51fb6c=this[_0x3bad00(0x137)][_0x3bad00(0x18b)][_0x3bad00(0x1b5)](_0x3bad00(0x15b));_0x51fb6c[_0x3bad00(0x173)]&&_0x51fb6c[_0x3bad00(0x146)]();}const _0x53f0f8=this[_0x3bad00(0x122)]();return _0x4a7b94(_0x53f0f8)[_0x3bad00(0x12a)](_0x43f426=>{const _0x4b9195=_0x3bad00;return(this[_0x4b9195(0x124)]=_0x43f426,this[_0x4b9195(0x137)][_0x4b9195(0x18b)][_0x4b9195(0x13e)](_0x4b9195(0x15d)))&&this[_0x4b9195(0x137)][_0x4b9195(0x18b)][_0x4b9195(0x1b5)](_0x4b9195(0x15d))[_0x4b9195(0x13a)](),(this[_0x4b9195(0x137)][_0x4b9195(0x18b)][_0x4b9195(0x13e)](_0x4b9195(0x1a7))&&(this[_0x4b9195(0x137)][_0x4b9195(0x18b)][_0x4b9195(0x1b5)](_0x4b9195(0x1a8))[_0x4b9195(0x141)][_0x4b9195(0x1a0)][_0x4b9195(0x125)][_0x4b9195(0x16d)]=_0x4b9195(0x15e)),_0x43f426);})[_0x3bad00(0x175)](_0x4f2449=>(console[_0x3bad00(0x1b3)](_0x4f2449),this[_0x3bad00(0x137)][_0x3bad00(0x17e)](_0x3bad00(0x147)),null));});}[_0x1c1fb6(0x12c)](){const _0x1df95f=_0x1c1fb6,_0x4b82a6=this[_0x1df95f(0x137)][_0x1df95f(0x17a)][_0x1df95f(0x1b5)](_0x1df95f(0x1b7))[_0x1df95f(0x15f)];this[_0x1df95f(0x137)][_0x1df95f(0x17a)][_0x1df95f(0x1b2)](_0x1df95f(0x14e),()=>(this[_0x1df95f(0x137)][_0x1df95f(0x18b)][_0x1df95f(0x13e)](_0x1df95f(0x132))&&this[_0x1df95f(0x137)][_0x1df95f(0x18b)][_0x1df95f(0x1b5)](_0x1df95f(0x132))[_0x1df95f(0x182)](),this[_0x1df95f(0x137)][_0x1df95f(0x18b)][_0x1df95f(0x13e)](_0x1df95f(0x1a7))&&(this[_0x1df95f(0x137)][_0x1df95f(0x18b)][_0x1df95f(0x1b5)](_0x1df95f(0x1a8))[_0x1df95f(0x141)][_0x1df95f(0x1a0)][_0x1df95f(0x125)][_0x1df95f(0x16d)]=''),this[_0x1df95f(0x124)][_0x1df95f(0x18b)][_0x1df95f(0x1b5)](_0x1df95f(0x14f))[_0x1df95f(0x162)](),_0x4b82a6(this[_0x1df95f(0x124)])[_0x1df95f(0x12a)](()=>{const _0x5b33f2=_0x1df95f;if(this[_0x5b33f2(0x137)][_0x5b33f2(0x17e)](_0x5b33f2(0x147)),this[_0x5b33f2(0x124)]=null,this[_0x5b33f2(0x137)][_0x5b33f2(0x18b)][_0x5b33f2(0x13e)](_0x5b33f2(0x15d))){const _0x1b6726=this[_0x5b33f2(0x137)][_0x5b33f2(0x18b)][_0x5b33f2(0x1b5)](_0x5b33f2(0x15d));_0x1b6726[_0x5b33f2(0x13a)](),_0x1b6726[_0x5b33f2(0x12e)]();}})));}[_0x1c1fb6(0x180)](_0x49e28d){const _0x5e1fad=_0x1c1fb6,_0x479053=this[_0x5e1fad(0x137)][_0x5e1fad(0x17a)][_0x5e1fad(0x1b5)](_0x5e1fad(0x169)),_0x4d6951=this[_0x5e1fad(0x137)][_0x5e1fad(0x17a)][_0x5e1fad(0x1b5)](_0x5e1fad(0x161)),_0x5e92ba=this[_0x5e1fad(0x137)][_0x5e1fad(0x17a)][_0x5e1fad(0x1b5)](_0x5e1fad(0x136));return _0x291eed[_0x5e1fad(0x1ab)](_0x5e92ba,_0x49e28d)[_0x5e1fad(0x12a)](_0x53a941=>(_0x4d6951[_0x5e1fad(0x125)][_0x5e1fad(0x16d)]=_0x5e1fad(0x154),_0x479053[_0x5e1fad(0x125)][_0x5e1fad(0x16d)]=_0x5e1fad(0x15e),this[_0x5e1fad(0x17d)]=!0x0,_0x53a941));}[_0x1c1fb6(0x178)](_0x59529c){const _0x297f1b=_0x1c1fb6,_0xa6da7=this[_0x297f1b(0x137)][_0x297f1b(0x17a)][_0x297f1b(0x1b5)](_0x297f1b(0x169));return this[_0x297f1b(0x137)][_0x297f1b(0x17a)][_0x297f1b(0x1b5)](_0x297f1b(0x161))[_0x297f1b(0x125)][_0x297f1b(0x16d)]=_0x297f1b(0x15e),_0xa6da7[_0x297f1b(0x125)][_0x297f1b(0x16d)]='',this[_0x297f1b(0x17d)]=!0x1,_0x59529c[_0x297f1b(0x1a2)]();}async[_0x1c1fb6(0x128)](_0x3c1835){const _0x4c6e2e=_0x1c1fb6,_0x17146a=this[_0x4c6e2e(0x137)],_0x2f9ae9=this[_0x4c6e2e(0x124)][_0x4c6e2e(0x18b)][_0x4c6e2e(0x1b5)](_0x4c6e2e(0x14f)),_0x21bb4f=_0x17146a[_0x4c6e2e(0x18b)][_0x4c6e2e(0x1b5)](_0x4c6e2e(0x184)),_0xd9e4fd=_0x17146a[_0x4c6e2e(0x18b)][_0x4c6e2e(0x1b5)](_0x4c6e2e(0x13d)),_0x52f088=_0x2f9ae9[_0x4c6e2e(0x17f)][_0x4c6e2e(0x198)](_0x3c1835);let _0x151648,_0xb0f3e6,_0x82fbfd;try{await _0xd9e4fd[_0x4c6e2e(0x17b)](_0x52f088,this[_0x4c6e2e(0x155)]),_0x151648=_0xd9e4fd[_0x4c6e2e(0x1b6)](_0x52f088),_0xb0f3e6=_0xd9e4fd[_0x4c6e2e(0x160)](_0x52f088);}catch(_0x4008dd){return void console[_0x4c6e2e(0x1b3)](_0x4008dd);}_0x17146a[_0x4c6e2e(0x194)][_0x4c6e2e(0x1b0)](_0x5f2013=>{const _0x30a3d1=_0x4c6e2e;for(const _0x5688f1 of Array[_0x30a3d1(0x18f)](_0x17146a[_0x30a3d1(0x194)][_0x30a3d1(0x12f)][_0x30a3d1(0x133)](_0x30a3d1(0x13c))))_0x5f2013[_0x30a3d1(0x120)](_0x5688f1);}),_0x2f9ae9[_0x4c6e2e(0x18e)]=!0x1,_0x17146a[_0x4c6e2e(0x194)][_0x4c6e2e(0x1b1)](_0x4a65e1=>{const _0x56f908=_0x4c6e2e;_0x4a65e1[_0x56f908(0x171)](null),_0x4a65e1[_0x56f908(0x13f)](_0x17146a[_0x56f908(0x194)][_0x56f908(0x14d)][_0x56f908(0x1a5)][_0x56f908(0x167)]());const _0x4d1143=Object[_0x56f908(0x145)](_0x151648);for(const _0x2e4509 of _0x17146a[_0x56f908(0x194)][_0x56f908(0x14d)][_0x56f908(0x1a3)])_0x56f908(0x153)!=_0x2e4509[_0x56f908(0x187)]&&_0x2e4509[_0x56f908(0x19c)]()&&!_0x4d1143[_0x56f908(0x13b)](_0x2e4509[_0x56f908(0x187)])&&_0x4a65e1[_0x56f908(0x151)](_0x2e4509);for(const _0x573af5 of _0x4d1143){let _0xa1b195=_0x17146a[_0x56f908(0x194)][_0x56f908(0x14d)][_0x56f908(0x138)](_0x573af5);_0xa1b195&&_0xa1b195[_0x56f908(0x19c)]()||(_0xa1b195=_0x4a65e1[_0x56f908(0x172)](_0x573af5));const _0x2a9b06=_0xb0f3e6[_0x573af5],_0x311ca3=Object[_0x56f908(0x145)](_0x2a9b06),_0x43441c=_0x151648[_0x573af5];for(const _0x1b0788 of _0xa1b195[_0x56f908(0x167)]())_0x311ca3[_0x56f908(0x13b)](_0x1b0788)||_0x4a65e1[_0x56f908(0x164)](_0x1b0788,_0xa1b195);for(const _0x3dfebf of _0x311ca3)_0x4a65e1[_0x56f908(0x195)](_0x3dfebf,_0xb0f3e6[_0x573af5][_0x3dfebf],_0xa1b195);_0x4a65e1[_0x56f908(0x19e)](_0x4a65e1[_0x56f908(0x143)](_0xa1b195)),_0x4a65e1[_0x56f908(0x126)](_0x17146a[_0x56f908(0x15c)][_0x56f908(0x181)](_0x43441c,_0xa1b195),_0xa1b195,0x0);}});const _0x5cd156=_0x1eaf5a(_0x17146a[_0x4c6e2e(0x197)],_0x4c6e2e(0x18c));if(_0x52f088[_0x4c6e2e(0x18d)])_0x82fbfd=-0x1==_0x52f088[_0x4c6e2e(0x18d)][_0x4c6e2e(0x165)](_0x5cd156)?_0x5cd156+':\x20'+_0x52f088[_0x4c6e2e(0x18d)]:_0x52f088[_0x4c6e2e(0x18d)];else _0x82fbfd=_0x5cd156+':\x20'+(_0x52f088[_0x4c6e2e(0x176)][_0x4c6e2e(0x12b)](_0x17146a[_0x4c6e2e(0x197)][_0x4c6e2e(0x1ac)],{'month':_0x4c6e2e(0x185),'day':_0x4c6e2e(0x150)})+',\x20'+_0x52f088[_0x4c6e2e(0x176)][_0x4c6e2e(0x129)](_0x17146a[_0x4c6e2e(0x197)][_0x4c6e2e(0x1ac)],{'hour':_0x4c6e2e(0x150),'minute':_0x4c6e2e(0x150)}));return await _0x21bb4f[_0x4c6e2e(0x130)]({'name':_0x82fbfd}),_0x2f9ae9[_0x4c6e2e(0x18e)]=!0x0,_0x17146a[_0x4c6e2e(0x17a)][_0x4c6e2e(0x1b5)](_0x4c6e2e(0x1b7))[_0x4c6e2e(0x15f)]();}}
|