@ckeditor/ckeditor5-revision-history 43.3.1 → 44.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/build/revision-history.js +1 -1
- package/dist/augmentation.d.ts +2 -2
- package/dist/index.js +6 -6
- package/dist/revisiontracker.d.ts +4 -0
- 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/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 +8 -8
- package/src/augmentation.d.ts +2 -2
- 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/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +4 -0
- 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
|
-
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':_0x26f5a3=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x37cf42=>{const {'zh-cn':{dictionary:_0x5951a3,getPluralForm:_0x29982d}}={'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':_0x120c64=>0x0}};_0x37cf42['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x37cf42['zh-cn']['dictionary']=Object['assign'](_0x37cf42['zh-cn']['dictionary'],_0x5951a3),_0x37cf42['zh-cn']['getPluralForm']=_0x29982d;})(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':_0x31a0a9=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x149ffe=>{const {zh:{dictionary:_0xde27ed,getPluralForm:_0x44aa9d}}={'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':_0x11fd55=>0x0}};_0x149ffe['zh']||={'dictionary':{},'getPluralForm':null},_0x149ffe['zh']['dictionary']=Object['assign'](_0x149ffe['zh']['dictionary'],_0xde27ed),_0x149ffe['zh']['getPluralForm']=_0x44aa9d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "44.0.0-alpha.0",
|
|
4
4
|
"description": "Document revision history feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-core": "
|
|
43
|
-
"@ckeditor/ckeditor5-editor-classic": "
|
|
44
|
-
"@ckeditor/ckeditor5-engine": "
|
|
45
|
-
"@ckeditor/ckeditor5-ui": "
|
|
46
|
-
"@ckeditor/ckeditor5-utils": "
|
|
47
|
-
"ckeditor5": "
|
|
48
|
-
"ckeditor5-collaboration": "
|
|
42
|
+
"@ckeditor/ckeditor5-core": "44.0.0-alpha.0",
|
|
43
|
+
"@ckeditor/ckeditor5-editor-classic": "44.0.0-alpha.0",
|
|
44
|
+
"@ckeditor/ckeditor5-engine": "44.0.0-alpha.0",
|
|
45
|
+
"@ckeditor/ckeditor5-ui": "44.0.0-alpha.0",
|
|
46
|
+
"@ckeditor/ckeditor5-utils": "44.0.0-alpha.0",
|
|
47
|
+
"ckeditor5": "44.0.0-alpha.0",
|
|
48
|
+
"ckeditor5-collaboration": "44.0.0-alpha.0",
|
|
49
49
|
"lodash-es": "4.17.21",
|
|
50
50
|
"luxon": "1.28.1"
|
|
51
51
|
},
|
package/src/augmentation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import type { RevisionHistoryConfig, RevisionsRepository, RevisionViewerLoadingOverlay, RevisionHistoryUI, RevisionTracker, RevisionViewer, RestoreRevisionCommand, ShowChangeCommand, RevisionsSidebar, RevisionViewerUI } from './index.js';
|
|
5
|
+
import type { RevisionHistory, RevisionHistoryConfig, RevisionsRepository, RevisionViewerLoadingOverlay, RevisionHistoryUI, RevisionTracker, RevisionViewer, RestoreRevisionCommand, ShowChangeCommand, RevisionsSidebar, RevisionViewerUI } from './index.js';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
7
7
|
interface EditorConfig {
|
|
8
8
|
/**
|
|
@@ -12,12 +12,12 @@ declare module '@ckeditor/ckeditor5-core' {
|
|
|
12
12
|
revisionHistory?: RevisionHistoryConfig;
|
|
13
13
|
}
|
|
14
14
|
interface PluginsMap {
|
|
15
|
+
[RevisionHistory.pluginName]: RevisionHistory;
|
|
15
16
|
[RevisionsRepository.pluginName]: RevisionsRepository;
|
|
16
17
|
[RevisionViewerLoadingOverlay.pluginName]: RevisionViewerLoadingOverlay;
|
|
17
18
|
[RevisionHistoryUI.pluginName]: RevisionHistoryUI;
|
|
18
19
|
[RevisionTracker.pluginName]: RevisionTracker;
|
|
19
20
|
[RevisionViewer.pluginName]: RevisionViewer;
|
|
20
|
-
[RevisionViewer.pluginName]: RevisionViewer;
|
|
21
21
|
[RevisionsSidebar.pluginName]: RevisionsSidebar;
|
|
22
22
|
[RevisionViewerUI.pluginName]: RevisionViewerUI;
|
|
23
23
|
}
|
package/src/changeitem.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x3a70(_0x56ea95,_0x429bda){var _0x865a28=_0x865a();return _0x3a70=function(_0x3a70c6,_0x39a33f){_0x3a70c6=_0x3a70c6-0x1e6;var _0x31c54c=_0x865a28[_0x3a70c6];return _0x31c54c;},_0x3a70(_0x56ea95,_0x429bda);}var _0x26ea8b=_0x3a70;(function(_0x2a5844,_0x20f467){var _0x341126=_0x3a70,_0x49ef7c=_0x2a5844();while(!![]){try{var _0x407a7a=parseInt(_0x341126(0x1f1))/0x1+-parseInt(_0x341126(0x1f4))/0x2*(parseInt(_0x341126(0x1ec))/0x3)+parseInt(_0x341126(0x1ed))/0x4+-parseInt(_0x341126(0x1f2))/0x5+-parseInt(_0x341126(0x1eb))/0x6+parseInt(_0x341126(0x1e6))/0x7*(parseInt(_0x341126(0x1e8))/0x8)+-parseInt(_0x341126(0x1e7))/0x9;if(_0x407a7a===_0x20f467)break;else _0x49ef7c['push'](_0x49ef7c['shift']());}catch(_0x10f749){_0x49ef7c['push'](_0x49ef7c['shift']());}}}(_0x865a,0xa2124));function _0x865a(){var _0x59e714=['type','data','createdAt','1001958FdMegW','1419905KnYdOk','author','4DJnoGo','toJSON','90237KdbDqL','6700842TSjMZU','504wTSPuO','rootName','set','734676CaHTfZ','146109rabXNY','392496jZayWF'];_0x865a=function(){return _0x59e714;};return _0x865a();}import{ObservableMixin as _0x7cf653,uid as _0x32a53d}from'ckeditor5/src/utils.js';export default class r extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x7cf653(){constructor(_0x44a183){var _0x3bd55f=_0x3a70;super(),this['id']=_0x44a183['id']||_0x32a53d(),this[_0x3bd55f(0x1f3)]=_0x44a183[_0x3bd55f(0x1f3)],this[_0x3bd55f(0x1ee)]=_0x44a183[_0x3bd55f(0x1ee)],this[_0x3bd55f(0x1ef)]=_0x44a183[_0x3bd55f(0x1ef)]||{},this[_0x3bd55f(0x1e9)]=_0x44a183[_0x3bd55f(0x1e9)],this[_0x3bd55f(0x1ea)](_0x3bd55f(0x1f0),_0x44a183[_0x3bd55f(0x1f0)]);}[_0x26ea8b(0x1f5)](){var _0x453910=_0x26ea8b;return{'id':this['id'],'authorId':this[_0x453910(0x1f3)]['id'],'type':this[_0x453910(0x1ee)],'data':this[_0x453910(0x1ef)],'createdAt':this[_0x453910(0x1f0)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x948e(_0x4bd4a2,_0x5b375b){const _0x24c39e=_0x24c3();return _0x948e=function(_0x948ee9,_0x4f693a){_0x948ee9=_0x948ee9-0xe9;let _0x9e7b81=_0x24c39e[_0x948ee9];return _0x9e7b81;},_0x948e(_0x4bd4a2,_0x5b375b);}const _0x1402ab=_0x948e;(function(_0x30b58e,_0xa81a5c){const _0xb4dd37=_0x948e,_0x30b927=_0x30b58e();while(!![]){try{const _0x39d0a7=parseInt(_0xb4dd37(0xe9))/0x1*(-parseInt(_0xb4dd37(0xf1))/0x2)+parseInt(_0xb4dd37(0xf6))/0x3*(-parseInt(_0xb4dd37(0xfb))/0x4)+parseInt(_0xb4dd37(0xf3))/0x5*(-parseInt(_0xb4dd37(0xf4))/0x6)+parseInt(_0xb4dd37(0x105))/0x7+-parseInt(_0xb4dd37(0xf7))/0x8+parseInt(_0xb4dd37(0xfc))/0x9*(-parseInt(_0xb4dd37(0xf9))/0xa)+-parseInt(_0xb4dd37(0xee))/0xb*(-parseInt(_0xb4dd37(0xf2))/0xc);if(_0x39d0a7===_0xa81a5c)break;else _0x30b927['push'](_0x30b927['shift']());}catch(_0x737b57){_0x30b927['push'](_0x30b927['shift']());}}}(_0x24c3,0x30f1c));import{Editor as _0x3ad8f8,ElementApiMixin as _0x20d761}from'ckeditor5/src/core.js';import _0x27ca68 from'./revisionviewereditorui.js';function _0x24c3(){const _0x2885e7=['document','83270bIAcZM','updateSourceElement','908XYdOqT','189ZillKB','initialData','ready','fire','createRoot','view','data','initPlugins','locale','564144XbHIMu','destroy','init','80WkJElp','_ui','model','create','config','377399GYmaIP','sourceElement','get','8914zJaDAu','516KpCtTk','239365KGDnzn','48etJsig','editing','4554aUBhIl','771248HkgVkF'];_0x24c3=function(){return _0x2885e7;};return _0x24c3();}import _0xec1f80 from'./revisionviewereditoruiview.js';export default class w extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x20d761(_0x3ad8f8){get['ui'](){const _0x1c9e27=_0x948e;return this[_0x1c9e27(0xea)];}constructor(_0x5dc868,_0xb7a437){const _0x4d201d=_0x948e;super(_0xb7a437),this[_0x4d201d(0xef)]=_0x5dc868,this[_0x4d201d(0xeb)][_0x4d201d(0xf8)][_0x4d201d(0x100)]();const _0x5dbee9=new _0xec1f80(this[_0x4d201d(0x104)],this[_0x4d201d(0xf5)][_0x4d201d(0x101)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x4d201d(0xea)]=new _0x27ca68(this,_0x5dbee9);}[_0x1402ab(0x106)](){const _0x296331=_0x1402ab;return this[_0x296331(0xfa)](),this['ui'][_0x296331(0x106)](),super[_0x296331(0x106)]();}static async[_0x1402ab(0xec)](_0x55301a,_0x41321b){const _0x44deaf=_0x1402ab,_0x40869a=new this(_0x55301a,_0x41321b);return await _0x40869a[_0x44deaf(0x103)](),await _0x40869a['ui'][_0x44deaf(0x107)](_0x55301a),await _0x40869a[_0x44deaf(0x102)][_0x44deaf(0x107)](_0x40869a[_0x44deaf(0xed)][_0x44deaf(0xf0)](_0x44deaf(0xfd))||''),_0x40869a[_0x44deaf(0xff)](_0x44deaf(0xfe)),_0x40869a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5004(){const _0xe7e08b=['config','name','fillFromConfig','rootName','viewportTopOffset','element','view','editor','toolbar','5115490dOIXkt','componentFactory','isFocused','init','18okPDsa','editable','54920SmTQck','document','_elementReplacer','viewportOffset','_initToolbar','bind','389316rmLkzL','324113bGMyzh','383509grLYfE','getRoot','stickyPanel','detachDomRoot','destroy','limiterElement','2118825NHSNQq','render','11lpvytQ','focusTracker','isActive','_toolbarConfig','setEditableElement','_view','ready','get','18pERxGn','fire','addToolbar','editing','attachDomRoot','52vfPHjk','replace','73413NArJdx','restore'];_0x5004=function(){return _0xe7e08b;};return _0x5004();}const _0x4d8130=_0x3a9f;(function(_0x4630cf,_0x2a78d8){const _0xb126cb=_0x3a9f,_0x3c935b=_0x4630cf();while(!![]){try{const _0x308988=parseInt(_0xb126cb(0x87))/0x1+parseInt(_0xb126cb(0x86))/0x2+parseInt(_0xb126cb(0x9f))/0x3*(-parseInt(_0xb126cb(0x9d))/0x4)+-parseInt(_0xb126cb(0x8e))/0x5+parseInt(_0xb126cb(0x98))/0x6*(parseInt(_0xb126cb(0x88))/0x7)+-parseInt(_0xb126cb(0x80))/0x8*(-parseInt(_0xb126cb(0x7e))/0x9)+-parseInt(_0xb126cb(0xaa))/0xa*(-parseInt(_0xb126cb(0x90))/0xb);if(_0x308988===_0x2a78d8)break;else _0x3c935b['push'](_0x3c935b['shift']());}catch(_0x49a1b0){_0x3c935b['push'](_0x3c935b['shift']());}}}(_0x5004,0x71e5b));import{EditorUI as _0x4b1144,normalizeToolbarConfig as _0x5411d5}from'ckeditor5/src/ui.js';function _0x3a9f(_0x549772,_0x3b6f08){const _0x5004fa=_0x5004();return _0x3a9f=function(_0x3a9fc0,_0x4a9f18){_0x3a9fc0=_0x3a9fc0-0x7e;let _0x301ea7=_0x5004fa[_0x3a9fc0];return _0x301ea7;},_0x3a9f(_0x549772,_0x3b6f08);}import{ElementReplacer as _0x3849c3}from'ckeditor5/src/utils.js';export default class et extends _0x4b1144{get[_0x4d8130(0xa7)](){const _0x4118bb=_0x4d8130;return this[_0x4118bb(0x95)];}constructor(_0x4fe1d6,_0x2fac4f){const _0x3621ef=_0x4d8130;super(_0x4fe1d6),this[_0x3621ef(0x95)]=_0x2fac4f,this[_0x3621ef(0x93)]=_0x5411d5(_0x4fe1d6[_0x3621ef(0xa1)][_0x3621ef(0x97)](_0x3621ef(0xa9))),this[_0x3621ef(0x82)]=new _0x3849c3();}get[_0x4d8130(0xa6)](){const _0x130941=_0x4d8130;return this[_0x130941(0xa7)][_0x130941(0xa6)];}[_0x4d8130(0xad)](_0x3435bb){const _0x3fdeed=_0x4d8130,_0x48b14f=this[_0x3fdeed(0xa8)],_0x229afc=this[_0x3fdeed(0xa7)],_0x1be721=_0x48b14f[_0x3fdeed(0x9b)][_0x3fdeed(0xa7)],_0x281d10=_0x229afc[_0x3fdeed(0x7f)],_0x4ee0f7=_0x1be721[_0x3fdeed(0x81)][_0x3fdeed(0x89)]();_0x281d10[_0x3fdeed(0xa2)]=_0x4ee0f7[_0x3fdeed(0xa4)],_0x229afc[_0x3fdeed(0x8f)]();const _0x27cfdb=_0x281d10[_0x3fdeed(0xa6)];this[_0x3fdeed(0x94)](_0x281d10[_0x3fdeed(0xa2)],_0x27cfdb),_0x229afc[_0x3fdeed(0x7f)][_0x3fdeed(0x85)](_0x3fdeed(0xac))['to'](this[_0x3fdeed(0x91)]),_0x1be721[_0x3fdeed(0x9c)](_0x27cfdb),this[_0x3fdeed(0x82)][_0x3fdeed(0x9e)](_0x3435bb,this[_0x3fdeed(0xa6)]),this[_0x3fdeed(0x84)](),this[_0x3fdeed(0x99)](_0x3fdeed(0x96));}[_0x4d8130(0x8c)](){const _0x24628a=_0x4d8130;super[_0x24628a(0x8c)]();const _0x200860=this[_0x24628a(0xa7)],_0x4010dc=this[_0x24628a(0xa8)][_0x24628a(0x9b)][_0x24628a(0xa7)];this[_0x24628a(0x82)][_0x24628a(0xa0)](),_0x4010dc[_0x24628a(0x8b)](_0x200860[_0x24628a(0x7f)][_0x24628a(0xa2)]),_0x200860[_0x24628a(0x8c)]();}[_0x4d8130(0x84)](){const _0x1cbdc1=_0x4d8130,_0x1fc3ab=this[_0x1cbdc1(0xa7)];_0x1fc3ab[_0x1cbdc1(0x8a)][_0x1cbdc1(0x85)](_0x1cbdc1(0x92))['to'](this[_0x1cbdc1(0x91)],_0x1cbdc1(0xac)),_0x1fc3ab[_0x1cbdc1(0x8a)][_0x1cbdc1(0x8d)]=_0x1fc3ab[_0x1cbdc1(0xa6)],_0x1fc3ab[_0x1cbdc1(0x8a)][_0x1cbdc1(0x85)](_0x1cbdc1(0xa5))['to'](this,_0x1cbdc1(0x83),({top:_0x37b89a})=>_0x37b89a),_0x1fc3ab[_0x1cbdc1(0xa9)][_0x1cbdc1(0xa3)](this[_0x1cbdc1(0x93)],this[_0x1cbdc1(0xab)]),this[_0x1cbdc1(0x9a)](_0x1fc3ab[_0x1cbdc1(0xa9)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x560ebb=_0x27d7;(function(_0x49fdf4,_0x4f61a3){var _0x5b5df1=_0x27d7,_0x1fdc14=_0x49fdf4();while(!![]){try{var _0x4cfc6f=parseInt(_0x5b5df1(0xe9))/0x1*(parseInt(_0x5b5df1(0xe6))/0x2)+-parseInt(_0x5b5df1(0xdb))/0x3*(-parseInt(_0x5b5df1(0xe0))/0x4)+-parseInt(_0x5b5df1(0xdf))/0x5*(-parseInt(_0x5b5df1(0xe8))/0x6)+-parseInt(_0x5b5df1(0xde))/0x7*(parseInt(_0x5b5df1(0xda))/0x8)+-parseInt(_0x5b5df1(0xe2))/0x9*(parseInt(_0x5b5df1(0xee))/0xa)+parseInt(_0x5b5df1(0xec))/0xb+-parseInt(_0x5b5df1(0xe4))/0xc;if(_0x4cfc6f===_0x4f61a3)break;else _0x1fdc14['push'](_0x1fdc14['shift']());}catch(_0x3f5bef){_0x1fdc14['push'](_0x1fdc14['shift']());}}}(_0x5ddf,0x3cfe8));import{BoxedEditorUIView as _0x147c7d,InlineEditableUIView as _0x41caa3,StickyPanelView as _0x307106,ToolbarView as _0x353be1}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';function _0x27d7(_0x5e5091,_0x2a2a6c){var _0x5ddf71=_0x5ddf();return _0x27d7=function(_0x27d71c,_0x560e49){_0x27d71c=_0x27d71c-0xda;var _0x35e6cf=_0x5ddf71[_0x27d71c];return _0x35e6cf;},_0x27d7(_0x5e5091,_0x2a2a6c);}export default class st extends _0x147c7d{get[_0x560ebb(0xeb)](){var _0x1e2208=_0x560ebb;return this[_0x1e2208(0xdc)];}constructor(_0x521470,_0x29b582,_0x1448bb={}){var _0x10c5ef=_0x560ebb;super(_0x521470),this[_0x10c5ef(0xed)]=new _0x307106(_0x521470),this[_0x10c5ef(0xdd)]=new _0x353be1(_0x521470,{'shouldGroupWhenFull':_0x1448bb[_0x10c5ef(0xe7)]}),this[_0x10c5ef(0xdc)]=new _0x41caa3(_0x521470,_0x29b582);}[_0x560ebb(0xe5)](){var _0x872dc9=_0x560ebb;super[_0x872dc9(0xe5)](),this[_0x872dc9(0xed)][_0x872dc9(0xe1)][_0x872dc9(0xef)](this[_0x872dc9(0xdd)]),this[_0x872dc9(0xea)][_0x872dc9(0xef)](this[_0x872dc9(0xed)]),this[_0x872dc9(0xe3)][_0x872dc9(0xef)](this[_0x872dc9(0xeb)]);}}function _0x5ddf(){var _0x4b7deb=['250xanIRy','add','56ywzuOy','6753ksyufA','_editable','toolbar','291802TBYIhN','857840xeJthg','788Bjsqug','content','17217xinbiq','main','10630704nHNVzM','render','2GoepyP','shouldToolbarGroupWhenFull','12pcYmhj','471674PNCPDS','top','editable','2388034XtkVCx','stickyPanel'];_0x5ddf=function(){return _0x4b7deb;};return _0x5ddf();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1f2191,_0x1d1f2f){var _0x27f886=_0x2b2a,_0x2004c5=_0x1f2191();while(!![]){try{var _0x4b664c=parseInt(_0x27f886(0xba))/0x1+-parseInt(_0x27f886(0xc0))/0x2+parseInt(_0x27f886(0xbe))/0x3+-parseInt(_0x27f886(0xbb))/0x4+parseInt(_0x27f886(0xbf))/0x5+parseInt(_0x27f886(0xc1))/0x6*(parseInt(_0x27f886(0xb9))/0x7)+parseInt(_0x27f886(0xbc))/0x8*(parseInt(_0x27f886(0xbd))/0x9);if(_0x4b664c===_0x1d1f2f)break;else _0x2004c5['push'](_0x2004c5['shift']());}catch(_0x526914){_0x2004c5['push'](_0x2004c5['shift']());}}}(_0x623c,0x4e021));export{default as Revision}from'./revision.js';export{default as RevisionHistory}from'./revisionhistory.js';export{default as RevisionsRepository}from'./revisionsrepository.js';export{default as RevisionViewerLoadingOverlay}from'./ui/revisionviewer/revisionviewerloadingoverlay.js';export{default as RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';function _0x2b2a(_0x23cb3f,_0x529f46){var _0x623c6a=_0x623c();return _0x2b2a=function(_0x2b2a5a,_0x33d046){_0x2b2a5a=_0x2b2a5a-0xb9;var _0x1fcdd1=_0x623c6a[_0x2b2a5a];return _0x1fcdd1;},_0x2b2a(_0x23cb3f,_0x529f46);}export{default as RevisionTracker}from'./revisiontracker.js';export{default as RevisionViewer}from'./revisionviewer.js';function _0x623c(){var _0x56d6b1=['9485LuZtTy','265783rqmscV','1765472GpLuif','872intscY','35271YwRMyQ','521997wZnWbi','1240515NjNPdK','982044hXemNA','606uwgzYb'];_0x623c=function(){return _0x56d6b1;};return _0x623c();}export{default as RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';export{default as RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';import'./augmentation.js';
|
package/src/revision.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x5c6321=_0x6791;function _0x6791(_0x445471,_0x434702){const _0x58b968=_0x58b9();return _0x6791=function(_0x6791a4,_0x46a5a2){_0x6791a4=_0x6791a4-0x1a4;let _0x262fa7=_0x58b968[_0x6791a4];return _0x262fa7;},_0x6791(_0x445471,_0x434702);}(function(_0x4489ba,_0x4a4c64){const _0x3408ef=_0x6791,_0x34fcd7=_0x4489ba();while(!![]){try{const _0x36b614=parseInt(_0x3408ef(0x1b8))/0x1+-parseInt(_0x3408ef(0x1b9))/0x2*(-parseInt(_0x3408ef(0x1b3))/0x3)+parseInt(_0x3408ef(0x1c0))/0x4*(parseInt(_0x3408ef(0x1ba))/0x5)+-parseInt(_0x3408ef(0x1a8))/0x6*(parseInt(_0x3408ef(0x1a4))/0x7)+-parseInt(_0x3408ef(0x1be))/0x8+parseInt(_0x3408ef(0x1ac))/0x9+parseInt(_0x3408ef(0x1ae))/0xa*(-parseInt(_0x3408ef(0x1b1))/0xb);if(_0x36b614===_0x4a4c64)break;else _0x34fcd7['push'](_0x34fcd7['shift']());}catch(_0xe1e41b){_0x34fcd7['push'](_0x34fcd7['shift']());}}}(_0x58b9,0x4b97f));import{ObservableMixin as _0x1c96bc,uid as _0x504904}from'ckeditor5/src/utils.js';import{cloneDeep as _0x346982,set as _0x538796,unset as _0x3d98b9}from'lodash-es';export default class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1c96bc(){constructor(_0x13376e){const _0x434c36=_0x6791;super(),this['id']=_0x13376e['id']||_0x504904(),this[_0x434c36(0x1bb)]=_0x13376e[_0x434c36(0x1bb)]||null,this[_0x434c36(0x1ad)]=_0x13376e[_0x434c36(0x1ad)]||[],this[_0x434c36(0x1ab)]=_0x13376e[_0x434c36(0x1ab)]||null,this[_0x434c36(0x1af)]=_0x13376e[_0x434c36(0x1af)]||0x0,this[_0x434c36(0x1a6)]=_0x13376e[_0x434c36(0x1a6)]||0x0,this[_0x434c36(0x1b6)](_0x434c36(0x1bf),_0x13376e[_0x434c36(0x1bf)]||''),this[_0x434c36(0x1b6)](_0x434c36(0x1a9),_0x13376e[_0x434c36(0x1a9)]||new Date()),this[_0x434c36(0x1b6)](_0x434c36(0x1a7),_0x13376e[_0x434c36(0x1a7)]||{});}[_0x5c6321(0x1a5)](_0x1673f9){const _0xbab41d=_0x5c6321;this[_0xbab41d(0x1b7)]({'name':_0x1673f9});}[_0x5c6321(0x1bc)](_0x5b5398,_0x177327){const _0x481543=_0x5c6321,_0x584170=_0x346982(this[_0x481543(0x1a7)]);_0x538796(_0x584170,_0x5b5398,_0x177327),this[_0x481543(0x1b7)]({'attributes':_0x584170});}[_0x5c6321(0x1b4)](_0x481bab){const _0x3777c9=_0x5c6321,_0x1228db=_0x346982(this[_0x3777c9(0x1a7)]);_0x3d98b9(_0x1228db,_0x481bab),this[_0x3777c9(0x1b7)]({'attributes':_0x1228db});}[_0x5c6321(0x1b7)](_0x2abbcc,_0x35e2fc=!0x1){const _0x3f0981=_0x5c6321;let _0x8c2cd1=!0x1;const _0x48dbe7={'id':this['id']},_0x110fec=[_0x3f0981(0x1bf),_0x3f0981(0x1a9),_0x3f0981(0x1ab),_0x3f0981(0x1ad),_0x3f0981(0x1a7),_0x3f0981(0x1af),_0x3f0981(0x1a6),_0x3f0981(0x1bd)];for(const _0x4b66f3 of _0x110fec){const _0x47de80=_0x2abbcc[_0x4b66f3];void 0x0!==_0x47de80&&_0x47de80!==this[_0x4b66f3]&&(this[_0x4b66f3]=_0x47de80,_0x48dbe7[_0x4b66f3]=_0x47de80,_0x8c2cd1=!0x0);}_0x8c2cd1&&(_0x48dbe7[_0x3f0981(0x1ad)]&&(_0x48dbe7[_0x3f0981(0x1b0)]=_0x48dbe7[_0x3f0981(0x1ad)][_0x3f0981(0x1b5)](_0x329f53=>_0x329f53['id']),delete _0x48dbe7[_0x3f0981(0x1ad)]),this[_0x3f0981(0x1aa)](_0x3f0981(0x1b7),_0x48dbe7,_0x35e2fc));}[_0x5c6321(0x1b2)](){const _0x244b47=_0x5c6321;return{'id':this['id'],'name':this[_0x244b47(0x1bf)],'creatorId':this[_0x244b47(0x1bb)]?this[_0x244b47(0x1bb)]['id']:null,'authorsIds':this[_0x244b47(0x1ad)][_0x244b47(0x1b5)](_0x560042=>_0x560042['id']),'diffData':this[_0x244b47(0x1ab)],'createdAt':this[_0x244b47(0x1a9)],'attributes':this[_0x244b47(0x1a7)],'fromVersion':this[_0x244b47(0x1a6)],'toVersion':this[_0x244b47(0x1af)]};}}function _0x58b9(){const _0x4b8569=['set','_update','604019znRfpT','894YPwiOD','15DEcoCw','creator','setAttribute','creatorId','3626648bAUITw','name','708028KkYmng','15127jKadBY','setName','fromVersion','attributes','534qurtOM','createdAt','fire','diffData','3621861MNTNQm','authors','1660PoSjNZ','toVersion','authorsIds','61919xcGXnc','toJSON','2364fnNfWM','removeAttribute','map'];_0x58b9=function(){return _0x4b8569;};return _0x58b9();}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x27e095=_0xe2d9;function _0x5f2b(){const _0x33693d=['changes','newRevisionId','_setChanges','877874JLsQGn','7425726pYDzqg','721032NxYsgm','783406PEdceA','22967992bpOADX','520qHKVRq','add','oldRevisionId','49945chvxWT','2983185JWpnJI'];_0x5f2b=function(){return _0x33693d;};return _0x5f2b();}(function(_0x4daf99,_0x48b677){const _0x1b19e9=_0xe2d9,_0x1e3b8c=_0x4daf99();while(!![]){try{const _0x52edbe=parseInt(_0x1b19e9(0x102))/0x1+parseInt(_0x1b19e9(0xf8))/0x2+-parseInt(_0x1b19e9(0xfe))/0x3+-parseInt(_0x1b19e9(0xfa))/0x4*(parseInt(_0x1b19e9(0xfd))/0x5)+-parseInt(_0x1b19e9(0x104))/0x6+-parseInt(_0x1b19e9(0x103))/0x7+parseInt(_0x1b19e9(0xf9))/0x8;if(_0x52edbe===_0x48b677)break;else _0x1e3b8c['push'](_0x1e3b8c['shift']());}catch(_0x2318da){_0x1e3b8c['push'](_0x1e3b8c['shift']());}}}(_0x5f2b,0xa2bfd));function _0xe2d9(_0x34e2eb,_0x18211a){const _0x5f2b75=_0x5f2b();return _0xe2d9=function(_0xe2d986,_0x216571){_0xe2d986=_0xe2d986-0xf8;let _0x18006b=_0x5f2b75[_0xe2d986];return _0x18006b;},_0xe2d9(_0x34e2eb,_0x18211a);}import{Collection as _0x281c01}from'ckeditor5/src/utils.js';export default class f{constructor(_0x264d88,_0x389bdf){const _0x369d8e=_0xe2d9;this[_0x369d8e(0x100)]=_0x264d88,this[_0x369d8e(0xfc)]=_0x389bdf,this[_0x369d8e(0xff)]=new _0x281c01();}[_0x27e095(0x101)](_0x351bd9){const _0x507eaf=_0x27e095;for(const _0x4c9a17 of _0x351bd9)this[_0x507eaf(0xff)][_0x507eaf(0xfb)](_0x4c9a17);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x29a8(_0x4c959f,_0x539680){const _0x24b509=_0x24b5();return _0x29a8=function(_0x29a89b,_0x348d46){_0x29a89b=_0x29a89b-0xa5;let _0x2c6d8c=_0x24b509[_0x29a89b];return _0x2c6d8c;},_0x29a8(_0x4c959f,_0x539680);}const _0x50e6af=_0x29a8;(function(_0x416d50,_0x695e98){const _0x223e0c=_0x29a8,_0x554867=_0x416d50();while(!![]){try{const _0xa40159=-parseInt(_0x223e0c(0x125))/0x1+parseInt(_0x223e0c(0xb6))/0x2+parseInt(_0x223e0c(0x115))/0x3+parseInt(_0x223e0c(0xe2))/0x4*(-parseInt(_0x223e0c(0x10f))/0x5)+-parseInt(_0x223e0c(0x120))/0x6+-parseInt(_0x223e0c(0x12e))/0x7+parseInt(_0x223e0c(0x122))/0x8;if(_0xa40159===_0x695e98)break;else _0x554867['push'](_0x554867['shift']());}catch(_0x21281e){_0x554867['push'](_0x554867['shift']());}}}(_0x24b5,0x2b334));import{Plugin as _0x4a1d5e}from'ckeditor5/src/core.js';import{CKEditorError as _0x6179fa,uid as _0x664609}from'ckeditor5/src/utils.js';import _0x4c37f0 from'./revisiontracker.js';import _0x368a47 from'./ui/revisionhistory/revisionhistoryui.js';import _0x477fe5 from'./revisionviewer.js';import _0x47d0c6 from'./ui/revisionviewer/revisionviewerui.js';import _0x468c58 from'./ui/revisionssidebar/revisionssidebar.js';import _0x2731fb from'./editor/revisionviewereditor.js';import{getTranslation as _0x36f317}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x3bdfb6}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x24b5(){const _0x5cb6bb=['style','destroy','save','adapter','update','RevisionViewerIntegration','locale','exitToEditing','RevisionHistory','RevisionViewer','hide','changesNavigation','revisionHistory.closeRevisionViewerCallback','error','creator','document','define','numeric','_getRevisionViewerEditorConfig','toLocaleDateString','has','revisionHistory','insert','users','addUser','data','isPremiumPlugin','getRevisions','roots','none','refreshVisibility','model','toolbar','removeMarker','_viewerEditor','translations','getMarkersGroup','restoreRevision','6185kbbmam','lazyRoots','includes','removeAttribute','result','revisionHistory.restoreRevisionCallback','119052khsAEc','isAttached','catch','toJSON','enableReadOnlyMode','saveRevision','revision-history-missing-configuration','push','addRevisionData','_cleanUp','_showRevisionViewer','1375284jrolXm','getRevision','5776848qnAeHP','Dialog','createdAt','307110VUvfpJ','rootName','Annotations','repository','getRevisionRootsAttributes','createRangeIn','revisionHistory.requireRevisionName','disableReadOnlyMode','toVersion','1600151YvmYvs','getRoot','requires','RevisionsRepository','bind','detachRoot','end','closeRevisionViewerCallback','setAttribute','Autosave','isReadOnly','Restored','long','isReady','isEnabled','enqueueChange','from','getRevisionData','markers','remove','483850chdVen','_closeRevisionViewer','commands','create','fromVersion','revisionHistory.showRevisionViewerCallback','isAnonymous','_enhanceShowRevisionViewerCallback','display','RevisionHistoryUI','restrictedEditingException','PaginationLookup','RestrictedEditingMode','revision-history-viewer-opened','name','indexOf','_enhanceCloseRevisionViewerCallback','addRoot','get','_recalculatePageBreaks','Users','uiLanguage','set','change','toLocaleTimeString','block','revisionHistory.viewerContainer','parse','pluginName','refreshPositioning','removeSelectionAttribute','isOfficialPlugin','setSelection','plugins','selection','getUser','$graveyard','keys','showRevisionViewerCallback','RevisionTracker','_restoreRevision','isOpen','editor','init','200lKaIcr','_update','revisionHistory.editorContainer','config','then','revisionHistory.viewerEditorElement','getAttributeKeys'];_0x24b5=function(){return _0x5cb6bb;};return _0x24b5();}const p=[_0x50e6af(0xbf),_0x50e6af(0xc2)];class k extends _0x4a1d5e{static get[_0x50e6af(0xd2)](){const _0x3d3e87=_0x50e6af;return _0x3d3e87(0xee);}static get[_0x50e6af(0xd5)](){return!0x0;}static get[_0x50e6af(0x103)](){return!0x0;}constructor(_0x1f7a9f){const _0x12a65b=_0x50e6af;super(_0x1f7a9f),this[_0x12a65b(0x113)]=_0x12a65b(0xa8);}}export default class H extends _0x4a1d5e{static get[_0x50e6af(0xd2)](){const _0x5c5bda=_0x50e6af;return _0x5c5bda(0xf1);}static get[_0x50e6af(0xd5)](){return!0x0;}static get[_0x50e6af(0x103)](){return!0x0;}static get[_0x50e6af(0x130)](){return[_0x4c37f0,_0x368a47];}constructor(_0x21a5d2){const _0x168479=_0x50e6af;if(super(_0x21a5d2),!this[_0x168479(0xe0)][_0x168479(0xe5)][_0x168479(0xc8)](_0x168479(0xfe)))throw new _0x6179fa(_0x168479(0x11b),this);this[_0x168479(0x10b)]=null,this[_0x168479(0xe0)][_0x168479(0xe5)][_0x168479(0xf9)](_0x168479(0xbb),_0x36a36f=>this[_0x168479(0x11f)]({..._0x36a36f,'translations':this[_0x168479(0xe0)][_0x168479(0xef)][_0x168479(0x10c)]})),this[_0x168479(0xe0)][_0x168479(0xe5)][_0x168479(0xf9)](_0x168479(0xf5),_0x470087=>this[_0x168479(0xb7)](_0x470087)),this[_0x168479(0xe0)][_0x168479(0xe5)][_0x168479(0xf9)](_0x168479(0x114),_0x11943a=>this[_0x168479(0xde)](_0x11943a)),this[_0x168479(0xe0)][_0x168479(0xe5)][_0x168479(0xf9)](_0x168479(0x12b),!0x1),this[_0x168479(0xbd)](),this[_0x168479(0xc6)]();}set[_0x50e6af(0xec)](_0x5c2ebb){const _0x1179ec=_0x50e6af;this[_0x1179ec(0xe0)][_0x1179ec(0xd7)][_0x1179ec(0xc8)](_0x1179ec(0xdd))[_0x1179ec(0xec)]=_0x5c2ebb;}get[_0x50e6af(0xec)](){const _0x15863a=_0x50e6af;return this[_0x15863a(0xe0)][_0x15863a(0xd7)][_0x15863a(0xc8)](_0x15863a(0xdd))[_0x15863a(0xec)];}[_0x50e6af(0x11d)](_0x56860e){const _0x2982bd=_0x50e6af;return this[_0x2982bd(0xe0)][_0x2982bd(0xd7)][_0x2982bd(0xc8)](_0x2982bd(0xdd))[_0x2982bd(0x11d)](_0x56860e);}[_0x50e6af(0x121)](_0x39b350){const _0x509d94=_0x50e6af;return this[_0x509d94(0xe0)][_0x509d94(0xd7)][_0x509d94(0xc8)](_0x509d94(0xa5))[_0x509d94(0x121)](_0x39b350);}[_0x50e6af(0x104)](_0x55f276){const _0x3308f3=_0x50e6af;return this[_0x3308f3(0xe0)][_0x3308f3(0xd7)][_0x3308f3(0xc8)](_0x3308f3(0xa5))[_0x3308f3(0x104)](_0x55f276||{'toJSON':!0x1});}[_0x50e6af(0xfb)](){const _0x47ff5=_0x50e6af,_0x10918d=this[_0x47ff5(0xe0)],_0xd98003=_0x3bdfb6(_0x10918d,p),_0x32aa83=_0x10918d[_0x47ff5(0xd7)][_0x47ff5(0xc8)](_0x47ff5(0xdd)),_0xd1fb61=_0x10918d[_0x47ff5(0xd7)][_0x47ff5(0xc8)](_0x47ff5(0xca))[_0x47ff5(0x100)];return _0xd98003[_0x47ff5(0x109)]=[_0x47ff5(0xf0),_0x47ff5(0x10e),_0x47ff5(0xf4)],delete _0xd98003[_0x47ff5(0x110)],(_0xd98003[_0x47ff5(0xd7)][_0x47ff5(0x11c)](k,_0x477fe5,_0x47d0c6,class extends _0x4a1d5e{static get[_0x47ff5(0x130)](){const _0x391321=_0x47ff5;return[_0x477fe5,_0x391321(0xca)];}[_0x47ff5(0xe1)](){const _0xddbbe4=_0x47ff5,_0x30bed7=this[_0xddbbe4(0xe0)][_0xddbbe4(0xd7)][_0xddbbe4(0xc8)](_0xddbbe4(0xca));for(const _0x5a4ece of _0xd1fb61)_0x5a4ece[_0xddbbe4(0xbc)]||_0x30bed7[_0xddbbe4(0xd9)](_0x5a4ece['id'])||_0x30bed7[_0xddbbe4(0x101)](_0x5a4ece);const _0x27593e=_0x32aa83[_0xddbbe4(0x128)][_0xddbbe4(0x104)]();let _0x18e794=null;const _0x455a62=this[_0xddbbe4(0xe0)][_0xddbbe4(0xd7)][_0xddbbe4(0xc8)](_0xddbbe4(0xf2));_0x455a62[_0xddbbe4(0xec)]=_0x32aa83[_0xddbbe4(0xec)],_0x455a62[_0xddbbe4(0xa6)](_0xddbbe4(0xb0))['to'](_0x32aa83),this[_0xddbbe4(0xe0)][_0xddbbe4(0xb8)][_0xddbbe4(0xc8)](_0xddbbe4(0x10e))[_0xddbbe4(0xa6)](_0xddbbe4(0xb0))['to'](_0x10918d,_0xddbbe4(0xac),_0x196509=>!_0x196509);for(const _0x589e54 of _0x27593e){const _0x35a44f=null===_0x589e54[_0xddbbe4(0xf7)];if(_0x35a44f&&_0x589e54[_0xddbbe4(0x12d)]===_0x589e54[_0xddbbe4(0xba)])continue;const _0xf70dd1=_0x589e54[_0xddbbe4(0x118)]();_0x455a62[_0xddbbe4(0x11d)](_0xf70dd1,(_0x259420,_0x12692d,_0x57f67c)=>{const _0x434dec=_0xddbbe4;if(_0x35a44f){if(_0x18e794)_0x18e794[_0x434dec(0xe3)](_0x259420,_0x12692d);else{if(!_0x12692d){const _0xac14b9=_0x57f67c[_0x434dec(0x118)]();_0xac14b9['id']=_0x664609(),_0x32aa83[_0x434dec(0x11a)](_0xac14b9,_0x57f67c[_0x434dec(0x12d)])[_0x434dec(0xe6)](_0x4c88db=>{_0x18e794=_0x4c88db;});}}}else _0x589e54[_0x434dec(0xe3)](_0x259420,_0x12692d);});}}},_0x468c58),_0xd98003);}[_0x50e6af(0xbd)](){const _0x3fa212=_0x50e6af,_0x540475=this[_0x3fa212(0xe0)][_0x3fa212(0xe5)][_0x3fa212(0xc8)](_0x3fa212(0xfe))[_0x3fa212(0xdc)];this[_0x3fa212(0xe0)][_0x3fa212(0xe5)][_0x3fa212(0xcc)](_0x3fa212(0xbb),async()=>{const _0x7e7f2b=_0x3fa212;this[_0x7e7f2b(0xe0)][_0x7e7f2b(0x119)](_0x7e7f2b(0xc3));const _0x2d477a=this[_0x7e7f2b(0xe0)][_0x7e7f2b(0xd7)][_0x7e7f2b(0xc8)](_0x7e7f2b(0xdd));if(this[_0x7e7f2b(0xe0)][_0x7e7f2b(0xd7)][_0x7e7f2b(0xfd)](_0x7e7f2b(0xab))){const _0x1439e0=this[_0x7e7f2b(0xe0)][_0x7e7f2b(0xd7)][_0x7e7f2b(0xc8)](_0x7e7f2b(0xab));await _0x1439e0[_0x7e7f2b(0xeb)]();}else await _0x2d477a[_0x7e7f2b(0xed)]();if(this[_0x7e7f2b(0xe0)][_0x7e7f2b(0xd7)][_0x7e7f2b(0xfd)](_0x7e7f2b(0xc1))&&this[_0x7e7f2b(0xe0)][_0x7e7f2b(0xd7)][_0x7e7f2b(0xc8)](_0x7e7f2b(0xc1))[_0x7e7f2b(0xc9)](),this[_0x7e7f2b(0xe0)][_0x7e7f2b(0xd7)][_0x7e7f2b(0xfd)](_0x7e7f2b(0x123))){const _0x50e299=this[_0x7e7f2b(0xe0)][_0x7e7f2b(0xd7)][_0x7e7f2b(0xc8)](_0x7e7f2b(0x123));_0x50e299[_0x7e7f2b(0xdf)]&&_0x50e299[_0x7e7f2b(0xf3)]();}const _0x441d57=this[_0x7e7f2b(0xfb)]();return _0x540475(_0x441d57)[_0x7e7f2b(0xe6)](_0x3fbbb1=>{const _0x48c47e=_0x7e7f2b;return(this[_0x48c47e(0x10b)]=_0x3fbbb1,this[_0x48c47e(0xe0)][_0x48c47e(0xd7)][_0x48c47e(0xfd)](_0x48c47e(0x127)))&&this[_0x48c47e(0xe0)][_0x48c47e(0xd7)][_0x48c47e(0xc8)](_0x48c47e(0x127))[_0x48c47e(0x107)](),_0x3fbbb1;})[_0x7e7f2b(0x117)](_0x5672d2=>(console[_0x7e7f2b(0xf6)](_0x5672d2),this[_0x7e7f2b(0xe0)][_0x7e7f2b(0x12c)](_0x7e7f2b(0xc3)),null));});}[_0x50e6af(0xc6)](){const _0x91158e=_0x50e6af,_0x4d4580=this[_0x91158e(0xe0)][_0x91158e(0xe5)][_0x91158e(0xc8)](_0x91158e(0xfe))[_0x91158e(0xa9)];this[_0x91158e(0xe0)][_0x91158e(0xe5)][_0x91158e(0xcc)](_0x91158e(0xf5),()=>(this[_0x91158e(0xe0)][_0x91158e(0xd7)][_0x91158e(0xfd)](_0x91158e(0xc1))&&this[_0x91158e(0xe0)][_0x91158e(0xd7)][_0x91158e(0xc8)](_0x91158e(0xc1))[_0x91158e(0xc9)](),this[_0x91158e(0x10b)][_0x91158e(0xd7)][_0x91158e(0xc8)](_0x91158e(0xf2))[_0x91158e(0x11e)](),_0x4d4580(this[_0x91158e(0x10b)])[_0x91158e(0xe6)](()=>{const _0x2f384d=_0x91158e;if(this[_0x2f384d(0xe0)][_0x2f384d(0x12c)](_0x2f384d(0xc3)),this[_0x2f384d(0x10b)]=null,this[_0x2f384d(0xe0)][_0x2f384d(0xd7)][_0x2f384d(0xfd)](_0x2f384d(0x127))){const _0x1cace9=this[_0x2f384d(0xe0)][_0x2f384d(0xd7)][_0x2f384d(0xc8)](_0x2f384d(0x127));_0x1cace9[_0x2f384d(0x107)](),_0x1cace9[_0x2f384d(0xd3)]();}})));}[_0x50e6af(0x11f)](_0x2c9812){const _0x44477e=_0x50e6af,_0x103e2f=this[_0x44477e(0xe0)][_0x44477e(0xe5)][_0x44477e(0xc8)](_0x44477e(0xe4)),_0x299e6b=this[_0x44477e(0xe0)][_0x44477e(0xe5)][_0x44477e(0xc8)](_0x44477e(0xd0)),_0x3037f3=this[_0x44477e(0xe0)][_0x44477e(0xe5)][_0x44477e(0xc8)](_0x44477e(0xe7));return _0x2731fb[_0x44477e(0xb9)](_0x3037f3,_0x2c9812)[_0x44477e(0xe6)](_0x314cac=>(_0x299e6b[_0x44477e(0xe9)][_0x44477e(0xbe)]=_0x44477e(0xcf),_0x103e2f[_0x44477e(0xe9)][_0x44477e(0xbe)]=_0x44477e(0x106),_0x314cac));}[_0x50e6af(0xb7)](_0x3de032){const _0x225b29=_0x50e6af,_0x367bfa=this[_0x225b29(0xe0)][_0x225b29(0xe5)][_0x225b29(0xc8)](_0x225b29(0xe4));return this[_0x225b29(0xe0)][_0x225b29(0xe5)][_0x225b29(0xc8)](_0x225b29(0xd0))[_0x225b29(0xe9)][_0x225b29(0xbe)]=_0x225b29(0x106),_0x367bfa[_0x225b29(0xe9)][_0x225b29(0xbe)]='',_0x3de032[_0x225b29(0xea)]();}async[_0x50e6af(0xde)](_0x541842){const _0x4e1d63=_0x50e6af,_0x484d47=this[_0x4e1d63(0xe0)],_0x29fa99=this[_0x4e1d63(0x10b)][_0x4e1d63(0xd7)][_0x4e1d63(0xc8)](_0x4e1d63(0xf2)),_0x51f2bf=_0x484d47[_0x4e1d63(0xd7)][_0x4e1d63(0xc8)](_0x4e1d63(0xdd)),_0x265a9d=_0x29fa99[_0x4e1d63(0x128)][_0x4e1d63(0x121)](_0x541842);let _0x2d9d0e,_0x40eab4,_0x269c83;try{_0x2d9d0e=await _0x29fa99[_0x4e1d63(0xb3)](_0x265a9d),_0x40eab4=await _0x29fa99[_0x4e1d63(0x129)](_0x265a9d);}catch(_0x39a729){return void console[_0x4e1d63(0xf6)](_0x39a729);}_0x484d47[_0x4e1d63(0x108)][_0x4e1d63(0xcd)](_0x5a6f10=>{const _0xec059=_0x4e1d63;for(const _0x3f6df3 of Array[_0xec059(0xb2)](_0x484d47[_0xec059(0x108)][_0xec059(0xb4)][_0xec059(0x10d)](_0xec059(0xc0))))_0x5a6f10[_0xec059(0x10a)](_0x3f6df3);}),_0x29fa99[_0x4e1d63(0xaf)]=!0x1,_0x484d47[_0x4e1d63(0x108)][_0x4e1d63(0xb1)](_0x3f174e=>{const _0x20880c=_0x4e1d63;_0x3f174e[_0x20880c(0xd6)](null),_0x3f174e[_0x20880c(0xd4)](_0x484d47[_0x20880c(0x108)][_0x20880c(0xf8)][_0x20880c(0xd8)][_0x20880c(0xe8)]());const _0x34e1fe=Object[_0x20880c(0xdb)](_0x2d9d0e);for(const _0x1c22a4 of _0x484d47[_0x20880c(0x108)][_0x20880c(0xf8)][_0x20880c(0x105)])_0x20880c(0xda)!=_0x1c22a4[_0x20880c(0x126)]&&_0x1c22a4[_0x20880c(0x116)]()&&!_0x34e1fe[_0x20880c(0x111)](_0x1c22a4[_0x20880c(0x126)])&&_0x3f174e[_0x20880c(0xa7)](_0x1c22a4);for(const _0x190093 of _0x34e1fe){let _0x47d63e=_0x484d47[_0x20880c(0x108)][_0x20880c(0xf8)][_0x20880c(0x12f)](_0x190093);_0x47d63e&&_0x47d63e[_0x20880c(0x116)]()||(_0x47d63e=_0x3f174e[_0x20880c(0xc7)](_0x190093));const _0x158104=_0x40eab4[_0x190093],_0x4c7e0e=Object[_0x20880c(0xdb)](_0x158104),_0x202959=_0x2d9d0e[_0x190093];for(const _0x47a487 of _0x47d63e[_0x20880c(0xe8)]())_0x4c7e0e[_0x20880c(0x111)](_0x47a487)||_0x3f174e[_0x20880c(0x112)](_0x47a487,_0x47d63e);for(const _0x407525 of _0x4c7e0e)_0x3f174e[_0x20880c(0xaa)](_0x407525,_0x40eab4[_0x190093][_0x407525],_0x47d63e);_0x3f174e[_0x20880c(0xb5)](_0x3f174e[_0x20880c(0x12a)](_0x47d63e)),_0x3f174e[_0x20880c(0xff)](_0x484d47[_0x20880c(0x102)][_0x20880c(0xd1)](_0x202959,_0x47d63e),_0x47d63e,0x0);}});const _0x31a29a=_0x36f317(_0x484d47[_0x4e1d63(0xef)],_0x4e1d63(0xad));if(_0x265a9d[_0x4e1d63(0xc4)])_0x269c83=-0x1==_0x265a9d[_0x4e1d63(0xc4)][_0x4e1d63(0xc5)](_0x31a29a)?_0x31a29a+':\x20'+_0x265a9d[_0x4e1d63(0xc4)]:_0x265a9d[_0x4e1d63(0xc4)];else _0x269c83=_0x31a29a+':\x20'+(_0x265a9d[_0x4e1d63(0x124)][_0x4e1d63(0xfc)](_0x484d47[_0x4e1d63(0xef)][_0x4e1d63(0xcb)],{'month':_0x4e1d63(0xae),'day':_0x4e1d63(0xfa)})+',\x20'+_0x265a9d[_0x4e1d63(0x124)][_0x4e1d63(0xce)](_0x484d47[_0x4e1d63(0xef)][_0x4e1d63(0xcb)],{'hour':_0x4e1d63(0xfa),'minute':_0x4e1d63(0xfa)}));return await _0x51f2bf[_0x4e1d63(0x11a)]({'name':_0x269c83}),_0x29fa99[_0x4e1d63(0xaf)]=!0x0,_0x484d47[_0x4e1d63(0xe5)][_0x4e1d63(0xc8)](_0x4e1d63(0xfe))[_0x4e1d63(0xa9)]();}}
|
|
23
|
+
const _0x369551=_0x2c2c;(function(_0x97b6e3,_0x1f7490){const _0x3c5f58=_0x2c2c,_0x1e4100=_0x97b6e3();while(!![]){try{const _0x57b18a=-parseInt(_0x3c5f58(0x128))/0x1*(-parseInt(_0x3c5f58(0x126))/0x2)+-parseInt(_0x3c5f58(0x113))/0x3*(-parseInt(_0x3c5f58(0xeb))/0x4)+-parseInt(_0x3c5f58(0x118))/0x5*(-parseInt(_0x3c5f58(0xfe))/0x6)+parseInt(_0x3c5f58(0xe3))/0x7+-parseInt(_0x3c5f58(0x155))/0x8+-parseInt(_0x3c5f58(0x11e))/0x9*(parseInt(_0x3c5f58(0x127))/0xa)+-parseInt(_0x3c5f58(0x138))/0xb*(parseInt(_0x3c5f58(0x114))/0xc);if(_0x57b18a===_0x1f7490)break;else _0x1e4100['push'](_0x1e4100['shift']());}catch(_0x5eb2d8){_0x1e4100['push'](_0x1e4100['shift']());}}}(_0x6b2d,0xb9b69));import{Plugin as _0x47df43}from'ckeditor5/src/core.js';import{CKEditorError as _0x1a60c5,uid as _0x5d661e}from'ckeditor5/src/utils.js';import _0x591d49 from'./revisiontracker.js';import _0x4b2111 from'./ui/revisionhistory/revisionhistoryui.js';import _0x2e59f3 from'./revisionviewer.js';import _0x205d15 from'./ui/revisionviewer/revisionviewerui.js';import _0x56f881 from'./ui/revisionssidebar/revisionssidebar.js';import _0x42043e from'./editor/revisionviewereditor.js';function _0x6b2d(){const _0x49ae7c=['plugins','remove','set','toLocaleDateString','change','hide','revisionHistory.restoreRevisionCallback','6BTHllg','refreshVisibility','isOpen','define','revisionHistory.viewerContainer','enqueueChange','revisionHistory.requireRevisionName','toVersion','_recalculatePageBreaks','then','isEnabled','end','_viewerEditor','RevisionViewer','error','display','update','restrictedEditingException','data','RevisionHistory','closeRevisionViewerCallback','3121551jXGsRx','12eJrbNi','getRevision','create','removeAttribute','1054165YIQqmc','addUser','detachRoot','result','setSelection','map','861309KoZnee','numeric','enableReadOnlyMode','name','parse','changesNavigation','indexOf','refreshPositioning','22298PppuQy','70HMfgLF','36kTgMdV','selection','Users','getMarkersGroup','removeMarker','fromCharCode','Annotations','model','none','setAttribute','revisionHistory.editorContainer','_showRevisionViewer','RestrictedEditingMode','revisionHistory.viewerEditorElement','getRevisionRootsAttributes','includes','3758777bINHDk','has','users','RevisionViewerIntegration','revision-history-viewer-opened','RevisionTracker','restoreRevision','document','uiLanguage','isOfficialPlugin','exitToEditing','_update','_enhanceCloseRevisionViewerCallback','Dialog','saveRevision','getRevisionData','getRoot','getUser','join','from','isAttached','style','push','PaginationLookup','insert','revisionHistory.closeRevisionViewerCallback','revisionHistory','repository','requires','6741064bKmgvA','removeSelectionAttribute','save','getRevisions','addRevisionData','addRoot','keys','creator','_getRevisionViewerEditorConfig','revisionHistory.showRevisionViewerCallback','rootName','isReady','commands','destroy','editor','roots','long','isReadOnly','fromVersion','isPremiumPlugin','_enhanceShowRevisionViewerCallback','Restored','_cleanUp','bind','pluginName','init','markers','adapter','translations','locale','RevisionsRepository','toLocaleTimeString','isAnonymous','6735498smXIBa','get','toJSON','createdAt','getAttributeKeys','revision-history-missing-configuration','lazyRoots','RevisionHistoryUI','4MyYMdu','Autosave','config','toolbar','$graveyard','disableReadOnlyMode','_restoreRevision','catch','showRevisionViewerCallback','_closeRevisionViewer','createRangeIn','block'];_0x6b2d=function(){return _0x49ae7c;};return _0x6b2d();}import{getTranslation as _0x36c365}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x44708d}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x369551(0xea),_0x369551(0x134)];function _0x2c2c(_0xde2be,_0x290c71){const _0x6b2d67=_0x6b2d();return _0x2c2c=function(_0x2c2ca3,_0x403a1d){_0x2c2ca3=_0x2c2ca3-0xdb;let _0x1863e0=_0x6b2d67[_0x2c2ca3];return _0x1863e0;},_0x2c2c(_0xde2be,_0x290c71);}class k extends _0x47df43{static get[_0x369551(0x16d)](){const _0xe4e1a9=_0x369551;return _0xe4e1a9(0x13b);}static get[_0x369551(0x141)](){return!0x0;}static get[_0x369551(0x168)](){return!0x0;}constructor(_0x16b1d1){const _0x1bcc6e=_0x369551;function _0x4f258f(_0x144166){const _0x529298=_0x2c2c;return _0x144166[_0x529298(0x11d)](_0x669510=>String[_0x529298(0x12d)](_0x669510))[_0x529298(0x14a)]('');}super(_0x16b1d1),this[_0x1bcc6e(0x11b)]=_0x1bcc6e(0x109),_0x16b1d1[_0x4f258f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f258f([0x76,0x69,0x65,0x77])][_0x4f258f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f258f([0x61,0x75,0x74,0x6f]),_0x16b1d1[_0x4f258f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x4f258f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f258f([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x4f258f([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x4f258f([0x6f,0x6b])});}}export default class H extends _0x47df43{static get[_0x369551(0x16d)](){const _0x57f453=_0x369551;return _0x57f453(0x111);}static get[_0x369551(0x141)](){return!0x0;}static get[_0x369551(0x168)](){return!0x0;}static get[_0x369551(0x154)](){return[_0x591d49,_0x4b2111];}constructor(_0x5de4bd){const _0x150193=_0x369551;if(super(_0x5de4bd),!this[_0x150193(0x163)][_0x150193(0xed)][_0x150193(0xe4)](_0x150193(0x152)))throw new _0x1a60c5(_0x150193(0xe8),this);this[_0x150193(0x10a)]=null,this[_0x150193(0x163)][_0x150193(0xed)][_0x150193(0x101)](_0x150193(0x15e),_0x5ac758=>this[_0x150193(0x133)]({..._0x5ac758,'translations':this[_0x150193(0x163)][_0x150193(0xdf)][_0x150193(0xde)]})),this[_0x150193(0x163)][_0x150193(0xed)][_0x150193(0x101)](_0x150193(0x151),_0x166f1f=>this[_0x150193(0xf4)](_0x166f1f)),this[_0x150193(0x163)][_0x150193(0xed)][_0x150193(0x101)](_0x150193(0xfd),_0x4417aa=>this[_0x150193(0xf1)](_0x4417aa)),this[_0x150193(0x163)][_0x150193(0xed)][_0x150193(0x101)](_0x150193(0x104),!0x1),this[_0x150193(0x169)](),this[_0x150193(0x144)]();}set[_0x369551(0xdd)](_0x3c2986){const _0x8d84a8=_0x369551;this[_0x8d84a8(0x163)][_0x8d84a8(0xf7)][_0x8d84a8(0xe4)](_0x8d84a8(0x13d))[_0x8d84a8(0xdd)]=_0x3c2986;}get[_0x369551(0xdd)](){const _0x3d1bbe=_0x369551;return this[_0x3d1bbe(0x163)][_0x3d1bbe(0xf7)][_0x3d1bbe(0xe4)](_0x3d1bbe(0x13d))[_0x3d1bbe(0xdd)];}[_0x369551(0x159)](_0x46244f){const _0x44af26=_0x369551;return this[_0x44af26(0x163)][_0x44af26(0xf7)][_0x44af26(0xe4)](_0x44af26(0x13d))[_0x44af26(0x159)](_0x46244f);}[_0x369551(0x115)](_0x14f914){const _0x268714=_0x369551;return this[_0x268714(0x163)][_0x268714(0xf7)][_0x268714(0xe4)](_0x268714(0xe0))[_0x268714(0x115)](_0x14f914);}[_0x369551(0x158)](_0x362fa6){const _0x5409b5=_0x369551;return this[_0x5409b5(0x163)][_0x5409b5(0xf7)][_0x5409b5(0xe4)](_0x5409b5(0xe0))[_0x5409b5(0x158)](_0x362fa6||{'toJSON':!0x1});}[_0x369551(0x15d)](){const _0x37406f=_0x369551,_0x5c7a7a=this[_0x37406f(0x163)],_0x497159=_0x44708d(_0x5c7a7a,p),_0x48aeb1=_0x5c7a7a[_0x37406f(0xf7)][_0x37406f(0xe4)](_0x37406f(0x13d)),_0x1e06ac=_0x5c7a7a[_0x37406f(0xf7)][_0x37406f(0xe4)](_0x37406f(0x12a))[_0x37406f(0x13a)];return _0x497159[_0x37406f(0xee)]=[_0x37406f(0x142),_0x37406f(0x13e),_0x37406f(0x123)],delete _0x497159[_0x37406f(0xe9)],(_0x497159[_0x37406f(0xf7)][_0x37406f(0x14e)](k,_0x2e59f3,_0x205d15,class extends _0x47df43{static get[_0x37406f(0x154)](){const _0x2a5d2a=_0x37406f;return[_0x2e59f3,_0x2a5d2a(0x12a)];}[_0x37406f(0xdb)](){const _0x21fd54=_0x37406f,_0xe4c26=this[_0x21fd54(0x163)][_0x21fd54(0xf7)][_0x21fd54(0xe4)](_0x21fd54(0x12a));for(const _0x404750 of _0x1e06ac)_0x404750[_0x21fd54(0xe2)]||_0xe4c26[_0x21fd54(0x149)](_0x404750['id'])||_0xe4c26[_0x21fd54(0x119)](_0x404750);const _0x3575d4=_0x48aeb1[_0x21fd54(0x153)][_0x21fd54(0x158)]();let _0x92c447=null;const _0x10492d=this[_0x21fd54(0x163)][_0x21fd54(0xf7)][_0x21fd54(0xe4)](_0x21fd54(0x10b));_0x10492d[_0x21fd54(0xdd)]=_0x48aeb1[_0x21fd54(0xdd)],_0x10492d[_0x21fd54(0x16c)](_0x21fd54(0x108))['to'](_0x48aeb1),this[_0x21fd54(0x163)][_0x21fd54(0x161)][_0x21fd54(0xe4)](_0x21fd54(0x13e))[_0x21fd54(0x16c)](_0x21fd54(0x108))['to'](_0x5c7a7a,_0x21fd54(0x166),_0x12cc2d=>!_0x12cc2d);for(const _0x558def of _0x3575d4){const _0x5da2a0=null===_0x558def[_0x21fd54(0x15c)];if(_0x5da2a0&&_0x558def[_0x21fd54(0x105)]===_0x558def[_0x21fd54(0x167)])continue;const _0x26fb13=_0x558def[_0x21fd54(0xe5)]();_0x10492d[_0x21fd54(0x159)](_0x26fb13,(_0x146e1a,_0x4a19ef,_0x553519)=>{const _0x50c0c8=_0x21fd54;if(_0x5da2a0){if(_0x92c447)_0x92c447[_0x50c0c8(0x143)](_0x146e1a,_0x4a19ef);else{if(!_0x4a19ef){const _0x2223c7=_0x553519[_0x50c0c8(0xe5)]();_0x2223c7['id']=_0x5d661e(),_0x48aeb1[_0x50c0c8(0x146)](_0x2223c7,_0x553519[_0x50c0c8(0x105)])[_0x50c0c8(0x107)](_0xa81fa8=>{_0x92c447=_0xa81fa8;});}}}else _0x558def[_0x50c0c8(0x143)](_0x146e1a,_0x4a19ef);});}}},_0x56f881),_0x497159);}[_0x369551(0x169)](){const _0x6e7334=_0x369551,_0xc58133=this[_0x6e7334(0x163)][_0x6e7334(0xed)][_0x6e7334(0xe4)](_0x6e7334(0x152))[_0x6e7334(0xf3)];this[_0x6e7334(0x163)][_0x6e7334(0xed)][_0x6e7334(0xf9)](_0x6e7334(0x15e),async()=>{const _0x1f3357=_0x6e7334;this[_0x1f3357(0x163)][_0x1f3357(0x120)](_0x1f3357(0x13c));const _0x443ff5=this[_0x1f3357(0x163)][_0x1f3357(0xf7)][_0x1f3357(0xe4)](_0x1f3357(0x13d));if(this[_0x1f3357(0x163)][_0x1f3357(0xf7)][_0x1f3357(0x139)](_0x1f3357(0xec))){const _0x8ce60f=this[_0x1f3357(0x163)][_0x1f3357(0xf7)][_0x1f3357(0xe4)](_0x1f3357(0xec));await _0x8ce60f[_0x1f3357(0x157)]();}else await _0x443ff5[_0x1f3357(0x10e)]();if(this[_0x1f3357(0x163)][_0x1f3357(0xf7)][_0x1f3357(0x139)](_0x1f3357(0x14f))&&this[_0x1f3357(0x163)][_0x1f3357(0xf7)][_0x1f3357(0xe4)](_0x1f3357(0x14f))[_0x1f3357(0x106)](),this[_0x1f3357(0x163)][_0x1f3357(0xf7)][_0x1f3357(0x139)](_0x1f3357(0x145))){const _0x2d0459=this[_0x1f3357(0x163)][_0x1f3357(0xf7)][_0x1f3357(0xe4)](_0x1f3357(0x145));_0x2d0459[_0x1f3357(0x100)]&&_0x2d0459[_0x1f3357(0xfc)]();}const _0x70427b=this[_0x1f3357(0x15d)]();return _0xc58133(_0x70427b)[_0x1f3357(0x107)](_0x42c16b=>{const _0x1daa60=_0x1f3357;return(this[_0x1daa60(0x10a)]=_0x42c16b,this[_0x1daa60(0x163)][_0x1daa60(0xf7)][_0x1daa60(0x139)](_0x1daa60(0x12e)))&&this[_0x1daa60(0x163)][_0x1daa60(0xf7)][_0x1daa60(0xe4)](_0x1daa60(0x12e))[_0x1daa60(0xff)](),_0x42c16b;})[_0x1f3357(0xf2)](_0x57d6d4=>(console[_0x1f3357(0x10c)](_0x57d6d4),this[_0x1f3357(0x163)][_0x1f3357(0xf0)](_0x1f3357(0x13c)),null));});}[_0x369551(0x144)](){const _0x4dd57a=_0x369551,_0xf9f4a=this[_0x4dd57a(0x163)][_0x4dd57a(0xed)][_0x4dd57a(0xe4)](_0x4dd57a(0x152))[_0x4dd57a(0x112)];this[_0x4dd57a(0x163)][_0x4dd57a(0xed)][_0x4dd57a(0xf9)](_0x4dd57a(0x151),()=>(this[_0x4dd57a(0x163)][_0x4dd57a(0xf7)][_0x4dd57a(0x139)](_0x4dd57a(0x14f))&&this[_0x4dd57a(0x163)][_0x4dd57a(0xf7)][_0x4dd57a(0xe4)](_0x4dd57a(0x14f))[_0x4dd57a(0x106)](),this[_0x4dd57a(0x10a)][_0x4dd57a(0xf7)][_0x4dd57a(0xe4)](_0x4dd57a(0x10b))[_0x4dd57a(0x16b)](),_0xf9f4a(this[_0x4dd57a(0x10a)])[_0x4dd57a(0x107)](()=>{const _0x89be63=_0x4dd57a;if(this[_0x89be63(0x163)][_0x89be63(0xf0)](_0x89be63(0x13c)),this[_0x89be63(0x10a)]=null,this[_0x89be63(0x163)][_0x89be63(0xf7)][_0x89be63(0x139)](_0x89be63(0x12e))){const _0x1d11a2=this[_0x89be63(0x163)][_0x89be63(0xf7)][_0x89be63(0xe4)](_0x89be63(0x12e));_0x1d11a2[_0x89be63(0xff)](),_0x1d11a2[_0x89be63(0x125)]();}})));}[_0x369551(0x133)](_0x47ee12){const _0x1bafde=_0x369551,_0x4cb48a=this[_0x1bafde(0x163)][_0x1bafde(0xed)][_0x1bafde(0xe4)](_0x1bafde(0x132)),_0x4656a0=this[_0x1bafde(0x163)][_0x1bafde(0xed)][_0x1bafde(0xe4)](_0x1bafde(0x102)),_0x2bc14e=this[_0x1bafde(0x163)][_0x1bafde(0xed)][_0x1bafde(0xe4)](_0x1bafde(0x135));return _0x42043e[_0x1bafde(0x116)](_0x2bc14e,_0x47ee12)[_0x1bafde(0x107)](_0x32e7c9=>(_0x4656a0[_0x1bafde(0x14d)][_0x1bafde(0x10d)]=_0x1bafde(0xf6),_0x4cb48a[_0x1bafde(0x14d)][_0x1bafde(0x10d)]=_0x1bafde(0x130),_0x32e7c9));}[_0x369551(0xf4)](_0x420c59){const _0x35d4a3=_0x369551,_0x18f976=this[_0x35d4a3(0x163)][_0x35d4a3(0xed)][_0x35d4a3(0xe4)](_0x35d4a3(0x132));return this[_0x35d4a3(0x163)][_0x35d4a3(0xed)][_0x35d4a3(0xe4)](_0x35d4a3(0x102))[_0x35d4a3(0x14d)][_0x35d4a3(0x10d)]=_0x35d4a3(0x130),_0x18f976[_0x35d4a3(0x14d)][_0x35d4a3(0x10d)]='',_0x420c59[_0x35d4a3(0x162)]();}async[_0x369551(0xf1)](_0x3a51bf){const _0x598506=_0x369551,_0xdd9d34=this[_0x598506(0x163)],_0x3c1dbc=this[_0x598506(0x10a)][_0x598506(0xf7)][_0x598506(0xe4)](_0x598506(0x10b)),_0x52cd63=_0xdd9d34[_0x598506(0xf7)][_0x598506(0xe4)](_0x598506(0x13d)),_0xc01241=_0x3c1dbc[_0x598506(0x153)][_0x598506(0x115)](_0x3a51bf);let _0xc77850,_0x2af77a,_0x462ec8;try{_0xc77850=await _0x3c1dbc[_0x598506(0x147)](_0xc01241),_0x2af77a=await _0x3c1dbc[_0x598506(0x136)](_0xc01241);}catch(_0x1877ff){return void console[_0x598506(0x10c)](_0x1877ff);}_0xdd9d34[_0x598506(0x12f)][_0x598506(0xfb)](_0x453c93=>{const _0x12be66=_0x598506;for(const _0xee1679 of Array[_0x12be66(0x14b)](_0xdd9d34[_0x12be66(0x12f)][_0x12be66(0xdc)][_0x12be66(0x12b)](_0x12be66(0x10f))))_0x453c93[_0x12be66(0x12c)](_0xee1679);}),_0x3c1dbc[_0x598506(0x160)]=!0x1,_0xdd9d34[_0x598506(0x12f)][_0x598506(0x103)](_0x1929d4=>{const _0x250b6d=_0x598506;_0x1929d4[_0x250b6d(0x11c)](null),_0x1929d4[_0x250b6d(0x156)](_0xdd9d34[_0x250b6d(0x12f)][_0x250b6d(0x13f)][_0x250b6d(0x129)][_0x250b6d(0xe7)]());const _0x1ac835=Object[_0x250b6d(0x15b)](_0xc77850);for(const _0x4323b2 of _0xdd9d34[_0x250b6d(0x12f)][_0x250b6d(0x13f)][_0x250b6d(0x164)])_0x250b6d(0xef)!=_0x4323b2[_0x250b6d(0x15f)]&&_0x4323b2[_0x250b6d(0x14c)]()&&!_0x1ac835[_0x250b6d(0x137)](_0x4323b2[_0x250b6d(0x15f)])&&_0x1929d4[_0x250b6d(0x11a)](_0x4323b2);for(const _0x1afe37 of _0x1ac835){let _0x26ea89=_0xdd9d34[_0x250b6d(0x12f)][_0x250b6d(0x13f)][_0x250b6d(0x148)](_0x1afe37);_0x26ea89&&_0x26ea89[_0x250b6d(0x14c)]()||(_0x26ea89=_0x1929d4[_0x250b6d(0x15a)](_0x1afe37));const _0x1a1b1c=_0x2af77a[_0x1afe37],_0x319357=Object[_0x250b6d(0x15b)](_0x1a1b1c),_0x5a645b=_0xc77850[_0x1afe37];for(const _0x53e822 of _0x26ea89[_0x250b6d(0xe7)]())_0x319357[_0x250b6d(0x137)](_0x53e822)||_0x1929d4[_0x250b6d(0x117)](_0x53e822,_0x26ea89);for(const _0x42a4e3 of _0x319357)_0x1929d4[_0x250b6d(0x131)](_0x42a4e3,_0x2af77a[_0x1afe37][_0x42a4e3],_0x26ea89);_0x1929d4[_0x250b6d(0xf8)](_0x1929d4[_0x250b6d(0xf5)](_0x26ea89)),_0x1929d4[_0x250b6d(0x150)](_0xdd9d34[_0x250b6d(0x110)][_0x250b6d(0x122)](_0x5a645b,_0x26ea89),_0x26ea89,0x0);}});const _0x1a32c6=_0x36c365(_0xdd9d34[_0x598506(0xdf)],_0x598506(0x16a));if(_0xc01241[_0x598506(0x121)])_0x462ec8=-0x1==_0xc01241[_0x598506(0x121)][_0x598506(0x124)](_0x1a32c6)?_0x1a32c6+':\x20'+_0xc01241[_0x598506(0x121)]:_0xc01241[_0x598506(0x121)];else _0x462ec8=_0x1a32c6+':\x20'+(_0xc01241[_0x598506(0xe6)][_0x598506(0xfa)](_0xdd9d34[_0x598506(0xdf)][_0x598506(0x140)],{'month':_0x598506(0x165),'day':_0x598506(0x11f)})+',\x20'+_0xc01241[_0x598506(0xe6)][_0x598506(0xe1)](_0xdd9d34[_0x598506(0xdf)][_0x598506(0x140)],{'hour':_0x598506(0x11f),'minute':_0x598506(0x11f)}));return await _0x52cd63[_0x598506(0x146)]({'name':_0x462ec8}),_0x3c1dbc[_0x598506(0x160)]=!0x0,_0xdd9d34[_0x598506(0xed)][_0x598506(0xe4)](_0x598506(0x152))[_0x598506(0x112)]();}}
|