@ckeditor/ckeditor5-revision-history 43.3.0-alpha.10 → 43.3.0-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +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/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/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.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':_0x4d9dc4=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x270f56=>{const {'zh-cn':{dictionary:_0x5c16f3,getPluralForm:_0x5beca4}}={'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':_0x6e5b3b=>0x0}};_0x270f56['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x270f56['zh-cn']['dictionary']=Object['assign'](_0x270f56['zh-cn']['dictionary'],_0x5c16f3),_0x270f56['zh-cn']['getPluralForm']=_0x5beca4;})(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':_0x1d1bd4=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x388918=>{const {zh:{dictionary:_0x40ec4d,getPluralForm:_0x125346}}={'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':_0x1867fb=>0x0}};_0x388918['zh']||={'dictionary':{},'getPluralForm':null},_0x388918['zh']['dictionary']=Object['assign'](_0x388918['zh']['dictionary'],_0x40ec4d),_0x388918['zh']['getPluralForm']=_0x125346;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "43.3.0-alpha.
|
|
3
|
+
"version": "43.3.0-alpha.12",
|
|
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.3.0-alpha.
|
|
43
|
-
"@ckeditor/ckeditor5-editor-classic": "43.3.0-alpha.
|
|
44
|
-
"@ckeditor/ckeditor5-engine": "43.3.0-alpha.
|
|
45
|
-
"@ckeditor/ckeditor5-ui": "43.3.0-alpha.
|
|
46
|
-
"@ckeditor/ckeditor5-utils": "43.3.0-alpha.
|
|
47
|
-
"ckeditor5": "43.3.0-alpha.
|
|
48
|
-
"ckeditor5-collaboration": "43.3.0-alpha.
|
|
42
|
+
"@ckeditor/ckeditor5-core": "43.3.0-alpha.12",
|
|
43
|
+
"@ckeditor/ckeditor5-editor-classic": "43.3.0-alpha.12",
|
|
44
|
+
"@ckeditor/ckeditor5-engine": "43.3.0-alpha.12",
|
|
45
|
+
"@ckeditor/ckeditor5-ui": "43.3.0-alpha.12",
|
|
46
|
+
"@ckeditor/ckeditor5-utils": "43.3.0-alpha.12",
|
|
47
|
+
"ckeditor5": "43.3.0-alpha.12",
|
|
48
|
+
"ckeditor5-collaboration": "43.3.0-alpha.12",
|
|
49
49
|
"lodash-es": "4.17.21",
|
|
50
50
|
"luxon": "1.28.1"
|
|
51
51
|
},
|
package/src/changeitem.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
var _0x5ad0db=_0x565d;function _0x565d(_0x3f6e0c,_0xeafc11){var _0x1ba74d=_0x1ba7();return _0x565d=function(_0x565d14,_0x21a124){_0x565d14=_0x565d14-0x98;var _0x53cfec=_0x1ba74d[_0x565d14];return _0x53cfec;},_0x565d(_0x3f6e0c,_0xeafc11);}(function(_0x16eff9,_0x4b42e8){var _0x2d63cc=_0x565d,_0x371f3c=_0x16eff9();while(!![]){try{var _0x4d2350=-parseInt(_0x2d63cc(0x9b))/0x1*(parseInt(_0x2d63cc(0x98))/0x2)+-parseInt(_0x2d63cc(0xa1))/0x3+-parseInt(_0x2d63cc(0x9d))/0x4+-parseInt(_0x2d63cc(0xa3))/0x5+-parseInt(_0x2d63cc(0x99))/0x6*(parseInt(_0x2d63cc(0xa5))/0x7)+-parseInt(_0x2d63cc(0xa0))/0x8*(-parseInt(_0x2d63cc(0x9a))/0x9)+-parseInt(_0x2d63cc(0xa4))/0xa*(-parseInt(_0x2d63cc(0x9e))/0xb);if(_0x4d2350===_0x4b42e8)break;else _0x371f3c['push'](_0x371f3c['shift']());}catch(_0x4618de){_0x371f3c['push'](_0x371f3c['shift']());}}}(_0x1ba7,0xd49a5));import{ObservableMixin as _0x4be219,uid as _0x1fa184}from'ckeditor5/src/utils.js';function _0x1ba7(){var _0x29c8d7=['2738103HDGADA','data','8069650KJAZdI','600570DShPQx','10913iENaKn','createdAt','author','type','set','699578nWSiqU','450vjyIsy','9QvVGzr','1inskhh','toJSON','6388260LcnBIv','869mUFFkC','rootName','5733824SdIpPl'];_0x1ba7=function(){return _0x29c8d7;};return _0x1ba7();}export default class r extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4be219(){constructor(_0xeabe0b){var _0x46ffb3=_0x565d;super(),this['id']=_0xeabe0b['id']||_0x1fa184(),this[_0x46ffb3(0xa7)]=_0xeabe0b[_0x46ffb3(0xa7)],this[_0x46ffb3(0xa8)]=_0xeabe0b[_0x46ffb3(0xa8)],this[_0x46ffb3(0xa2)]=_0xeabe0b[_0x46ffb3(0xa2)]||{},this[_0x46ffb3(0x9f)]=_0xeabe0b[_0x46ffb3(0x9f)],this[_0x46ffb3(0xa9)](_0x46ffb3(0xa6),_0xeabe0b[_0x46ffb3(0xa6)]);}[_0x5ad0db(0x9c)](){var _0x5defb4=_0x5ad0db;return{'id':this['id'],'authorId':this[_0x5defb4(0xa7)]['id'],'type':this[_0x5defb4(0xa8)],'data':this[_0x5defb4(0xa2)],'createdAt':this[_0x5defb4(0xa6)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x11d9c0=_0x68ea;(function(_0x4ee28b,_0x3aa2c2){const _0x226083=_0x68ea,_0x59259d=_0x4ee28b();while(!![]){try{const _0x1af880=-parseInt(_0x226083(0xfb))/0x1*(parseInt(_0x226083(0xf6))/0x2)+-parseInt(_0x226083(0x101))/0x3+parseInt(_0x226083(0x108))/0x4+parseInt(_0x226083(0xfa))/0x5+parseInt(_0x226083(0x102))/0x6+parseInt(_0x226083(0x107))/0x7+parseInt(_0x226083(0xf7))/0x8;if(_0x1af880===_0x3aa2c2)break;else _0x59259d['push'](_0x59259d['shift']());}catch(_0x315e0c){_0x59259d['push'](_0x59259d['shift']());}}}(_0x35bf,0x3715c));import{Editor as _0x547c1f,ElementApiMixin as _0x4985fd}from'ckeditor5/src/core.js';function _0x35bf(){const _0x39be90=['destroy','updateSourceElement','initialData','init','1272138fGwFDy','2080590FfklQg','_ui','document','locale','model','385336fsfumM','1258664OTEBLm','createRoot','view','ready','editing','initPlugins','data','get','create','5804auWelD','1698120QfGxia','fire','config','592520vLHTUS','137fQKSne','sourceElement'];_0x35bf=function(){return _0x39be90;};return _0x35bf();}import _0x17b7d8 from'./revisionviewereditorui.js';import _0x496fca from'./revisionviewereditoruiview.js';function _0x68ea(_0x167163,_0x1f0d0b){const _0x35bf34=_0x35bf();return _0x68ea=function(_0x68eaef,_0x173b60){_0x68eaef=_0x68eaef-0xee;let _0x3d570d=_0x35bf34[_0x68eaef];return _0x3d570d;},_0x68ea(_0x167163,_0x1f0d0b);}export default class g extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4985fd(_0x547c1f){get['ui'](){const _0x21f9eb=_0x68ea;return this[_0x21f9eb(0x103)];}constructor(_0x2c3dd2,_0x363677){const _0x52ae6b=_0x68ea;super(_0x363677),this[_0x52ae6b(0xfc)]=_0x2c3dd2,this[_0x52ae6b(0x106)][_0x52ae6b(0x104)][_0x52ae6b(0xee)]();const _0x354660=new _0x496fca(this[_0x52ae6b(0x105)],this[_0x52ae6b(0xf1)][_0x52ae6b(0xef)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x52ae6b(0x103)]=new _0x17b7d8(this,_0x354660);}[_0x11d9c0(0xfd)](){const _0x2da745=_0x11d9c0;return this[_0x2da745(0xfe)](),this['ui'][_0x2da745(0xfd)](),super[_0x2da745(0xfd)]();}static async[_0x11d9c0(0xf5)](_0x54d701,_0x516504){const _0x464d8b=_0x11d9c0,_0x59468a=new this(_0x54d701,_0x516504);return await _0x59468a[_0x464d8b(0xf2)](),await _0x59468a['ui'][_0x464d8b(0x100)](_0x54d701),await _0x59468a[_0x464d8b(0xf3)][_0x464d8b(0x100)](_0x59468a[_0x464d8b(0xf9)][_0x464d8b(0xf4)](_0x464d8b(0xff))||''),_0x59468a[_0x464d8b(0xf8)](_0x464d8b(0xf0)),_0x59468a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3eb9(_0x143f0b,_0x5cdf38){const _0x5a7620=_0x5a76();return _0x3eb9=function(_0x3eb90a,_0x2f569a){_0x3eb90a=_0x3eb90a-0x193;let _0x331940=_0x5a7620[_0x3eb90a];return _0x331940;},_0x3eb9(_0x143f0b,_0x5cdf38);}const _0x3bc3a7=_0x3eb9;(function(_0x5f025a,_0x5135be){const _0x4bdbf1=_0x3eb9,_0xd6d354=_0x5f025a();while(!![]){try{const _0x43b880=-parseInt(_0x4bdbf1(0x1af))/0x1+parseInt(_0x4bdbf1(0x1aa))/0x2+-parseInt(_0x4bdbf1(0x1b3))/0x3*(parseInt(_0x4bdbf1(0x1a8))/0x4)+-parseInt(_0x4bdbf1(0x1ad))/0x5*(-parseInt(_0x4bdbf1(0x1b8))/0x6)+-parseInt(_0x4bdbf1(0x19f))/0x7*(-parseInt(_0x4bdbf1(0x1b5))/0x8)+-parseInt(_0x4bdbf1(0x1b6))/0x9+parseInt(_0x4bdbf1(0x1bb))/0xa*(parseInt(_0x4bdbf1(0x1a3))/0xb);if(_0x43b880===_0x5135be)break;else _0xd6d354['push'](_0xd6d354['shift']());}catch(_0x391ec3){_0xd6d354['push'](_0xd6d354['shift']());}}}(_0x5a76,0x94c52));import{EditorUI as _0x5aa74e,normalizeToolbarConfig as _0x141e05}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x4ae3b8}from'ckeditor5/src/utils.js';function _0x5a76(){const _0x4571b7=['269830HOjMqV','viewportOffset','fillFromConfig','5fSzjQm','_elementReplacer','488351easfwt','_initToolbar','focusTracker','name','320709djEejY','attachDomRoot','1528NqBLid','7607493pblMxY','detachDomRoot','5113518TJdoQj','viewportTopOffset','setEditableElement','10xgfWpn','bind','destroy','isActive','limiterElement','config','componentFactory','rootName','editable','restore','ready','_view','replace','isFocused','_toolbarConfig','editor','init','element','view','addToolbar','44324KlSFbP','render','getRoot','editing','5442041uXATEY','stickyPanel','fire','document','get','28YenMXn','toolbar'];_0x5a76=function(){return _0x4571b7;};return _0x5a76();}export default class st extends _0x5aa74e{get[_0x3bc3a7(0x19d)](){const _0x327f46=_0x3bc3a7;return this[_0x327f46(0x196)];}constructor(_0x2bd216,_0x1d5f62){const _0xb314b2=_0x3bc3a7;super(_0x2bd216),this[_0xb314b2(0x196)]=_0x1d5f62,this[_0xb314b2(0x199)]=_0x141e05(_0x2bd216[_0xb314b2(0x1c0)][_0xb314b2(0x1a7)](_0xb314b2(0x1a9))),this[_0xb314b2(0x1ae)]=new _0x4ae3b8();}get[_0x3bc3a7(0x19c)](){const _0x524bab=_0x3bc3a7;return this[_0x524bab(0x19d)][_0x524bab(0x19c)];}[_0x3bc3a7(0x19b)](_0x150381){const _0x2133ce=_0x3bc3a7,_0x2c0735=this[_0x2133ce(0x19a)],_0x105e7=this[_0x2133ce(0x19d)],_0x5161c6=_0x2c0735[_0x2133ce(0x1a2)][_0x2133ce(0x19d)],_0x356cf9=_0x105e7[_0x2133ce(0x193)],_0x50b59c=_0x5161c6[_0x2133ce(0x1a6)][_0x2133ce(0x1a1)]();_0x356cf9[_0x2133ce(0x1b2)]=_0x50b59c[_0x2133ce(0x1c2)],_0x105e7[_0x2133ce(0x1a0)]();const _0x313613=_0x356cf9[_0x2133ce(0x19c)];this[_0x2133ce(0x1ba)](_0x356cf9[_0x2133ce(0x1b2)],_0x313613),_0x105e7[_0x2133ce(0x193)][_0x2133ce(0x1bc)](_0x2133ce(0x198))['to'](this[_0x2133ce(0x1b1)]),_0x5161c6[_0x2133ce(0x1b4)](_0x313613),this[_0x2133ce(0x1ae)][_0x2133ce(0x197)](_0x150381,this[_0x2133ce(0x19c)]),this[_0x2133ce(0x1b0)](),this[_0x2133ce(0x1a5)](_0x2133ce(0x195));}[_0x3bc3a7(0x1bd)](){const _0x55771=_0x3bc3a7;super[_0x55771(0x1bd)]();const _0x2246ab=this[_0x55771(0x19d)],_0x53f9e6=this[_0x55771(0x19a)][_0x55771(0x1a2)][_0x55771(0x19d)];this[_0x55771(0x1ae)][_0x55771(0x194)](),_0x53f9e6[_0x55771(0x1b7)](_0x2246ab[_0x55771(0x193)][_0x55771(0x1b2)]),_0x2246ab[_0x55771(0x1bd)]();}[_0x3bc3a7(0x1b0)](){const _0x515b58=_0x3bc3a7,_0x593185=this[_0x515b58(0x19d)];_0x593185[_0x515b58(0x1a4)][_0x515b58(0x1bc)](_0x515b58(0x1be))['to'](this[_0x515b58(0x1b1)],_0x515b58(0x198)),_0x593185[_0x515b58(0x1a4)][_0x515b58(0x1bf)]=_0x593185[_0x515b58(0x19c)],_0x593185[_0x515b58(0x1a4)][_0x515b58(0x1bc)](_0x515b58(0x1b9))['to'](this,_0x515b58(0x1ab),({top:_0x50c279})=>_0x50c279),_0x593185[_0x515b58(0x1a9)][_0x515b58(0x1ac)](this[_0x515b58(0x199)],this[_0x515b58(0x1c1)]),this[_0x515b58(0x19e)](_0x593185[_0x515b58(0x1a9)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1bba(){var _0x3246ed=['200omehuF','24JzQnSk','main','887988lhJVbB','content','1NjQkye','shouldToolbarGroupWhenFull','515730CkOwZd','70154RWZKqO','top','5299270NvZJbY','36rLTtXf','add','71870FebWcs','193113ObgKDK','editable','6415761TRdlPN','stickyPanel','30wqeOwo','_editable','render','toolbar'];_0x1bba=function(){return _0x3246ed;};return _0x1bba();}function _0x45b9(_0x5e462a,_0x601e7d){var _0x1bbafd=_0x1bba();return _0x45b9=function(_0x45b98c,_0x31a425){_0x45b98c=_0x45b98c-0x172;var _0x50ea24=_0x1bbafd[_0x45b98c];return _0x50ea24;},_0x45b9(_0x5e462a,_0x601e7d);}var _0x43e8d2=_0x45b9;(function(_0x1751f6,_0x5d30da){var _0xd713ad=_0x45b9,_0x2689a9=_0x1751f6();while(!![]){try{var _0x175c8e=-parseInt(_0xd713ad(0x180))/0x1*(-parseInt(_0xd713ad(0x172))/0x2)+-parseInt(_0xd713ad(0x182))/0x3*(parseInt(_0xd713ad(0x186))/0x4)+parseInt(_0xd713ad(0x177))/0x5*(parseInt(_0xd713ad(0x17e))/0x6)+-parseInt(_0xd713ad(0x183))/0x7*(parseInt(_0xd713ad(0x17b))/0x8)+parseInt(_0xd713ad(0x173))/0x9+parseInt(_0xd713ad(0x185))/0xa+-parseInt(_0xd713ad(0x175))/0xb*(-parseInt(_0xd713ad(0x17c))/0xc);if(_0x175c8e===_0x5d30da)break;else _0x2689a9['push'](_0x2689a9['shift']());}catch(_0x5a95e6){_0x2689a9['push'](_0x2689a9['shift']());}}}(_0x1bba,0xce125));import{BoxedEditorUIView as _0x501001,InlineEditableUIView as _0x2dbc9e,StickyPanelView as _0x8c8b72,ToolbarView as _0x1ec8af}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export default class ot extends _0x501001{get[_0x43e8d2(0x174)](){var _0x321860=_0x43e8d2;return this[_0x321860(0x178)];}constructor(_0x4e6409,_0x4a5f39,_0x456404={}){var _0x2c6f1d=_0x43e8d2;super(_0x4e6409),this[_0x2c6f1d(0x176)]=new _0x8c8b72(_0x4e6409),this[_0x2c6f1d(0x17a)]=new _0x1ec8af(_0x4e6409,{'shouldGroupWhenFull':_0x456404[_0x2c6f1d(0x181)]}),this[_0x2c6f1d(0x178)]=new _0x2dbc9e(_0x4e6409,_0x4a5f39);}[_0x43e8d2(0x179)](){var _0x519d11=_0x43e8d2;super[_0x519d11(0x179)](),this[_0x519d11(0x176)][_0x519d11(0x17f)][_0x519d11(0x187)](this[_0x519d11(0x17a)]),this[_0x519d11(0x184)][_0x519d11(0x187)](this[_0x519d11(0x176)]),this[_0x519d11(0x17d)][_0x519d11(0x187)](this[_0x519d11(0x174)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x561492,_0x71b97f){var _0x2260b8=_0x114b,_0xf3ce30=_0x561492();while(!![]){try{var _0x343db5=-parseInt(_0x2260b8(0xa9))/0x1+parseInt(_0x2260b8(0xae))/0x2*(-parseInt(_0x2260b8(0xaf))/0x3)+-parseInt(_0x2260b8(0xa7))/0x4+parseInt(_0x2260b8(0xad))/0x5*(-parseInt(_0x2260b8(0xaa))/0x6)+parseInt(_0x2260b8(0xa8))/0x7+-parseInt(_0x2260b8(0xa6))/0x8+-parseInt(_0x2260b8(0xab))/0x9*(-parseInt(_0x2260b8(0xac))/0xa);if(_0x343db5===_0x71b97f)break;else _0xf3ce30['push'](_0xf3ce30['shift']());}catch(_0x105651){_0xf3ce30['push'](_0xf3ce30['shift']());}}}(_0x4992,0x64490));function _0x114b(_0x122a37,_0x3344f3){var _0x499229=_0x4992();return _0x114b=function(_0x114b98,_0x3fe668){_0x114b98=_0x114b98-0xa6;var _0x3f9b39=_0x499229[_0x114b98];return _0x3f9b39;},_0x114b(_0x122a37,_0x3344f3);}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';function _0x4992(){var _0x23e420=['10925430OdNnXV','2645hAIYCg','347812AwBjry','9hwUzgj','4946656ynKoKu','3248012fbkSzK','3913525naLBiv','244858wuokJr','1548DBUfkj','18AYSFEE'];_0x4992=function(){return _0x23e420;};return _0x4992();}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';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
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x225a76=_0x40d9;(function(_0x6a4d94,_0x179e42){const _0xc9f525=_0x40d9,_0x1f1c73=_0x6a4d94();while(!![]){try{const _0x5b34ff=-parseInt(_0xc9f525(0x76))/0x1+parseInt(_0xc9f525(0x74))/0x2*(parseInt(_0xc9f525(0x6e))/0x3)+-parseInt(_0xc9f525(0x82))/0x4+-parseInt(_0xc9f525(0x73))/0x5*(-parseInt(_0xc9f525(0x7b))/0x6)+-parseInt(_0xc9f525(0x6c))/0x7+parseInt(_0xc9f525(0x81))/0x8+-parseInt(_0xc9f525(0x75))/0x9*(parseInt(_0xc9f525(0x6d))/0xa);if(_0x5b34ff===_0x179e42)break;else _0x1f1c73['push'](_0x1f1c73['shift']());}catch(_0x2c506a){_0x1f1c73['push'](_0x1f1c73['shift']());}}}(_0xd050,0xbc733));function _0x40d9(_0x47c6f8,_0x4eedbf){const _0xd05054=_0xd050();return _0x40d9=function(_0x40d9aa,_0x1988d8){_0x40d9aa=_0x40d9aa-0x6a;let _0x1cd782=_0xd05054[_0x40d9aa];return _0x1cd782;},_0x40d9(_0x47c6f8,_0x4eedbf);}function _0xd050(){const _0x4800b9=['152556AviLvk','toVersion','fromVersion','attributes','authors','name','10880928MUitvm','573364QlMmjZ','set','setAttribute','removeAttribute','diffData','creatorId','5367950VGasOB','30NDMbtR','3PLGJug','authorsIds','setName','toJSON','map','170IFoOGt','1683316XqznTo','182997aoQcKB','1323177OmwBsc','fire','creator','createdAt','_update'];_0xd050=function(){return _0x4800b9;};return _0xd050();}import{ObservableMixin as _0x2ecda3,uid as _0x51af3d}from'ckeditor5/src/utils.js';import{cloneDeep as _0x2b715e,set as _0x453fb3,unset as _0x4fdfba}from'lodash-es';export default class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2ecda3(){constructor(_0x21689c){const _0x3af34a=_0x40d9;super(),this['id']=_0x21689c['id']||_0x51af3d(),this[_0x3af34a(0x78)]=_0x21689c[_0x3af34a(0x78)]||null,this[_0x3af34a(0x7f)]=_0x21689c[_0x3af34a(0x7f)]||[],this[_0x3af34a(0x6a)]=_0x21689c[_0x3af34a(0x6a)]||null,this[_0x3af34a(0x7c)]=_0x21689c[_0x3af34a(0x7c)]||0x0,this[_0x3af34a(0x7d)]=_0x21689c[_0x3af34a(0x7d)]||0x0,this[_0x3af34a(0x83)](_0x3af34a(0x80),_0x21689c[_0x3af34a(0x80)]||''),this[_0x3af34a(0x83)](_0x3af34a(0x79),_0x21689c[_0x3af34a(0x79)]||new Date()),this[_0x3af34a(0x83)](_0x3af34a(0x7e),_0x21689c[_0x3af34a(0x7e)]||{});}[_0x225a76(0x70)](_0x1a55ef){const _0x5c58b8=_0x225a76;this[_0x5c58b8(0x7a)]({'name':_0x1a55ef});}[_0x225a76(0x84)](_0x507b95,_0x3fa714){const _0x14fe1b=_0x225a76,_0x222c2f=_0x2b715e(this[_0x14fe1b(0x7e)]);_0x453fb3(_0x222c2f,_0x507b95,_0x3fa714),this[_0x14fe1b(0x7a)]({'attributes':_0x222c2f});}[_0x225a76(0x85)](_0x3245e4){const _0x10f4cb=_0x225a76,_0x27809d=_0x2b715e(this[_0x10f4cb(0x7e)]);_0x4fdfba(_0x27809d,_0x3245e4),this[_0x10f4cb(0x7a)]({'attributes':_0x27809d});}[_0x225a76(0x7a)](_0x691710,_0x11e0ce=!0x1){const _0x18000e=_0x225a76;let _0x229dbb=!0x1;const _0x577801={'id':this['id']},_0x35e566=[_0x18000e(0x80),_0x18000e(0x79),_0x18000e(0x6a),_0x18000e(0x7f),_0x18000e(0x7e),_0x18000e(0x7c),_0x18000e(0x7d),_0x18000e(0x6b)];for(const _0x3af42f of _0x35e566){const _0x26acdb=_0x691710[_0x3af42f];void 0x0!==_0x26acdb&&_0x26acdb!==this[_0x3af42f]&&(this[_0x3af42f]=_0x26acdb,_0x577801[_0x3af42f]=_0x26acdb,_0x229dbb=!0x0);}_0x229dbb&&(_0x577801[_0x18000e(0x7f)]&&(_0x577801[_0x18000e(0x6f)]=_0x577801[_0x18000e(0x7f)][_0x18000e(0x72)](_0x408a0c=>_0x408a0c['id']),delete _0x577801[_0x18000e(0x7f)]),this[_0x18000e(0x77)](_0x18000e(0x7a),_0x577801,_0x11e0ce));}[_0x225a76(0x71)](){const _0x1b8973=_0x225a76;return{'id':this['id'],'name':this[_0x1b8973(0x80)],'creatorId':this[_0x1b8973(0x78)]?this[_0x1b8973(0x78)]['id']:null,'authorsIds':this[_0x1b8973(0x7f)][_0x1b8973(0x72)](_0x998c89=>_0x998c89['id']),'diffData':this[_0x1b8973(0x6a)],'createdAt':this[_0x1b8973(0x79)],'attributes':this[_0x1b8973(0x7e)],'fromVersion':this[_0x1b8973(0x7d)],'toVersion':this[_0x1b8973(0x7c)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x22af(){const _0x1f5226=['3cpynUB','751796cKRYdP','20TyodJk','_setChanges','2007052VRXQRP','1269369OLVIgK','368249CcIzaG','newRevisionId','77022uofJpc','oldRevisionId','1628330hHgsxq','24OvXcMt','changes','add','3490314kegsfG'];_0x22af=function(){return _0x1f5226;};return _0x22af();}function _0x21f5(_0x241571,_0x56f4d8){const _0x22af5a=_0x22af();return _0x21f5=function(_0x21f51c,_0x1b67e5){_0x21f51c=_0x21f51c-0xc7;let _0x1843f7=_0x22af5a[_0x21f51c];return _0x1843f7;},_0x21f5(_0x241571,_0x56f4d8);}const _0x342674=_0x21f5;(function(_0x174454,_0x142452){const _0x4731cb=_0x21f5,_0x161267=_0x174454();while(!![]){try{const _0x7df82=-parseInt(_0x4731cb(0xcb))/0x1+-parseInt(_0x4731cb(0xd3))/0x2*(parseInt(_0x4731cb(0xd2))/0x3)+parseInt(_0x4731cb(0xc7))/0x4+parseInt(_0x4731cb(0xcd))/0x5+parseInt(_0x4731cb(0xd1))/0x6+-parseInt(_0x4731cb(0xc9))/0x7*(parseInt(_0x4731cb(0xce))/0x8)+parseInt(_0x4731cb(0xc8))/0x9*(-parseInt(_0x4731cb(0xd4))/0xa);if(_0x7df82===_0x142452)break;else _0x161267['push'](_0x161267['shift']());}catch(_0x3c49f7){_0x161267['push'](_0x161267['shift']());}}}(_0x22af,0x7e0e5));import{Collection as _0x36b7af}from'ckeditor5/src/utils.js';export default class f{constructor(_0x535a19,_0x4a3c84){const _0x4cb905=_0x21f5;this[_0x4cb905(0xca)]=_0x535a19,this[_0x4cb905(0xcc)]=_0x4a3c84,this[_0x4cb905(0xcf)]=new _0x36b7af();}[_0x342674(0xd5)](_0x15c568){const _0x31a593=_0x342674;for(const _0x1c0c0f of _0x15c568)this[_0x31a593(0xcf)][_0x31a593(0xd0)](_0x1c0c0f);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4a5e2f=_0x31f4;function _0x1165(){const _0x22a1ab=['parse','style','adapter','get','PaginationLookup','_restoreRevision','creator','removeMarker','block','removeAttribute','_recalculatePageBreaks','createRangeIn','requires','document','setAttribute','RevisionHistoryUI','indexOf','getRoot','_closeRevisionViewer','addUser','insert','display','showRevisionViewerCallback','4535920tjMQaj','model','refreshVisibility','toLocaleDateString','createdAt','setSelection','update','then','_enhanceCloseRevisionViewerCallback','toJSON','changesNavigation','from','getUser','_getRevisionViewerEditorConfig','save','getMarkersGroup','isReady','disableReadOnlyMode','editor','getAttributeKeys','252jQASEp','isAnonymous','revisionHistory','exitToEditing','roots','locale','none','revisionHistory.showRevisionViewerCallback','hide','4PJBIIJ','result','markers','783054vWpyWx','addRoot','detachRoot','enableReadOnlyMode','revisionHistory.restoreRevisionCallback','restrictedEditingException','_showRevisionViewer','data','7141779gCbVLb','$graveyard','init','uiLanguage','closeRevisionViewerCallback','users','getRevisionRootsAttributes','restoreRevision','isPremiumPlugin','bind','revision-history-missing-configuration','pluginName','RevisionViewerIntegration','isAttached','revisionHistory.requireRevisionName','isOfficialPlugin','RevisionHistory','_enhanceShowRevisionViewerCallback','change','lazyRoots','removeSelectionAttribute','has','push','revisionHistory.viewerEditorElement','RevisionViewer','_update','catch','revision-history-viewer-opened','_viewerEditor','enqueueChange','110046QXVsKd','_cleanUp','isEnabled','getRevisions','Autosave','isReadOnly','numeric','destroy','repository','config','selection','revisionHistory.closeRevisionViewerCallback','commands','error','remove','toVersion','Dialog','528224OQKriI','keys','long','includes','revisionHistory.viewerContainer','addRevisionData','plugins','rootName','refreshPositioning','Annotations','saveRevision','Restored','name','translations','Users','toolbar','fromVersion','set','getRevision','define','RevisionsRepository','RevisionTracker','end','8OZYKpW','revisionHistory.editorContainer','getRevisionData','RestrictedEditingMode','toLocaleTimeString','4385170ajmlrf','2933835PBlcMb','create','isOpen'];_0x1165=function(){return _0x22a1ab;};return _0x1165();}(function(_0x550c2c,_0x492ba4){const _0x1f4c05=_0x31f4,_0xa3ca15=_0x550c2c();while(!![]){try{const _0x2727a7=parseInt(_0x1f4c05(0x110))/0x1+parseInt(_0x1f4c05(0x167))/0x2+-parseInt(_0x1f4c05(0x12d))/0x3*(parseInt(_0x1f4c05(0x164))/0x4)+parseInt(_0x1f4c05(0x12c))/0x5+-parseInt(_0x1f4c05(0xff))/0x6*(parseInt(_0x1f4c05(0x15b))/0x7)+-parseInt(_0x1f4c05(0x127))/0x8*(-parseInt(_0x1f4c05(0xe1))/0x9)+-parseInt(_0x1f4c05(0x147))/0xa;if(_0x2727a7===_0x492ba4)break;else _0xa3ca15['push'](_0xa3ca15['shift']());}catch(_0x397e59){_0xa3ca15['push'](_0xa3ca15['shift']());}}}(_0x1165,0x79b47));import{Plugin as _0x38facd}from'ckeditor5/src/core.js';import{CKEditorError as _0x40887b,uid as _0x31f2e3}from'ckeditor5/src/utils.js';import _0x2f4443 from'./revisiontracker.js';import _0x4a6830 from'./ui/revisionhistory/revisionhistoryui.js';import _0x1727b5 from'./revisionviewer.js';import _0x9c6bf0 from'./ui/revisionviewer/revisionviewerui.js';import _0x797b7f from'./ui/revisionssidebar/revisionssidebar.js';import _0x45b66b from'./editor/revisionviewereditor.js';import{getTranslation as _0x21055e}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x105de9}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x4a5e2f(0x13f),_0x4a5e2f(0x12a)];function _0x31f4(_0x390dd3,_0x580ac1){const _0x11652a=_0x1165();return _0x31f4=function(_0x31f4de,_0x4cc3fc){_0x31f4de=_0x31f4de-0xdf;let _0x1317ad=_0x11652a[_0x31f4de];return _0x1317ad;},_0x31f4(_0x390dd3,_0x580ac1);}class k extends _0x38facd{static get[_0x4a5e2f(0xec)](){const _0x3861cc=_0x4a5e2f;return _0x3861cc(0xed);}static get[_0x4a5e2f(0xf0)](){return!0x0;}static get[_0x4a5e2f(0xe9)](){return!0x0;}constructor(_0x3d6788){const _0x12ab34=_0x4a5e2f;super(_0x3d6788),this[_0x12ab34(0x165)]=_0x12ab34(0x126);}}export default class H extends _0x38facd{static get[_0x4a5e2f(0xec)](){const _0x20e7fa=_0x4a5e2f;return _0x20e7fa(0xf1);}static get[_0x4a5e2f(0xf0)](){return!0x0;}static get[_0x4a5e2f(0xe9)](){return!0x0;}static get[_0x4a5e2f(0x13c)](){return[_0x2f4443,_0x4a6830];}constructor(_0x140321){const _0x49794d=_0x4a5e2f;if(super(_0x140321),!this[_0x49794d(0x159)][_0x49794d(0x108)][_0x49794d(0x133)](_0x49794d(0x15d)))throw new _0x40887b(_0x49794d(0xeb),this);this[_0x49794d(0xfd)]=null,this[_0x49794d(0x159)][_0x49794d(0x108)][_0x49794d(0x123)](_0x49794d(0x162),_0x300955=>this[_0x49794d(0xdf)]({..._0x300955,'translations':this[_0x49794d(0x159)][_0x49794d(0x160)][_0x49794d(0x11d)]})),this[_0x49794d(0x159)][_0x49794d(0x108)][_0x49794d(0x123)](_0x49794d(0x10a),_0xd2b022=>this[_0x49794d(0x142)](_0xd2b022)),this[_0x49794d(0x159)][_0x49794d(0x108)][_0x49794d(0x123)](_0x49794d(0x16b),_0x2cdeec=>this[_0x49794d(0x135)](_0x2cdeec)),this[_0x49794d(0x159)][_0x49794d(0x108)][_0x49794d(0x123)](_0x49794d(0xef),!0x1),this[_0x49794d(0xf2)](),this[_0x49794d(0x14f)]();}set[_0x4a5e2f(0x132)](_0x5940ca){const _0x1ac9ec=_0x4a5e2f;this[_0x1ac9ec(0x159)][_0x1ac9ec(0x116)][_0x1ac9ec(0x133)](_0x1ac9ec(0x125))[_0x1ac9ec(0x132)]=_0x5940ca;}get[_0x4a5e2f(0x132)](){const _0x554116=_0x4a5e2f;return this[_0x554116(0x159)][_0x554116(0x116)][_0x554116(0x133)](_0x554116(0x125))[_0x554116(0x132)];}[_0x4a5e2f(0x115)](_0x4f5514){const _0xcc95aa=_0x4a5e2f;return this[_0xcc95aa(0x159)][_0xcc95aa(0x116)][_0xcc95aa(0x133)](_0xcc95aa(0x125))[_0xcc95aa(0x115)](_0x4f5514);}[_0x4a5e2f(0x122)](_0x3284ce){const _0x2579d8=_0x4a5e2f;return this[_0x2579d8(0x159)][_0x2579d8(0x116)][_0x2579d8(0x133)](_0x2579d8(0x124))[_0x2579d8(0x122)](_0x3284ce);}[_0x4a5e2f(0x102)](_0x78bf5){const _0x177949=_0x4a5e2f;return this[_0x177949(0x159)][_0x177949(0x116)][_0x177949(0x133)](_0x177949(0x124))[_0x177949(0x102)](_0x78bf5||{'toJSON':!0x1});}[_0x4a5e2f(0x154)](){const _0x17ebce=_0x4a5e2f,_0x3bd962=this[_0x17ebce(0x159)],_0x29d124=_0x105de9(_0x3bd962,p),_0x1cb700=_0x3bd962[_0x17ebce(0x116)][_0x17ebce(0x133)](_0x17ebce(0x125)),_0x5707dc=_0x3bd962[_0x17ebce(0x116)][_0x17ebce(0x133)](_0x17ebce(0x11e))[_0x17ebce(0xe6)];return _0x29d124[_0x17ebce(0x11f)]=[_0x17ebce(0x15e),_0x17ebce(0xe8),_0x17ebce(0x151)],delete _0x29d124[_0x17ebce(0xf4)],(_0x29d124[_0x17ebce(0x116)][_0x17ebce(0xf7)](k,_0x1727b5,_0x9c6bf0,class extends _0x38facd{static get[_0x17ebce(0x13c)](){const _0x5093f9=_0x17ebce;return[_0x1727b5,_0x5093f9(0x11e)];}[_0x17ebce(0xe3)](){const _0x1c2faa=_0x17ebce,_0xdddc82=this[_0x1c2faa(0x159)][_0x1c2faa(0x116)][_0x1c2faa(0x133)](_0x1c2faa(0x11e));for(const _0x47a2b0 of _0x5707dc)_0x47a2b0[_0x1c2faa(0x15c)]||_0xdddc82[_0x1c2faa(0x153)](_0x47a2b0['id'])||_0xdddc82[_0x1c2faa(0x143)](_0x47a2b0);const _0x3c7db1=_0x1cb700[_0x1c2faa(0x107)][_0x1c2faa(0x102)]();let _0x11969a=null;const _0x2e4286=this[_0x1c2faa(0x159)][_0x1c2faa(0x116)][_0x1c2faa(0x133)](_0x1c2faa(0xf9));_0x2e4286[_0x1c2faa(0x132)]=_0x1cb700[_0x1c2faa(0x132)],_0x2e4286[_0x1c2faa(0xea)](_0x1c2faa(0x101))['to'](_0x1cb700),this[_0x1c2faa(0x159)][_0x1c2faa(0x10b)][_0x1c2faa(0x133)](_0x1c2faa(0xe8))[_0x1c2faa(0xea)](_0x1c2faa(0x101))['to'](_0x3bd962,_0x1c2faa(0x104),_0x3bed8a=>!_0x3bed8a);for(const _0x4378c4 of _0x3c7db1){const _0x22404c=null===_0x4378c4[_0x1c2faa(0x136)];if(_0x22404c&&_0x4378c4[_0x1c2faa(0x10e)]===_0x4378c4[_0x1c2faa(0x120)])continue;const _0x33a989=_0x4378c4[_0x1c2faa(0x150)]();_0x2e4286[_0x1c2faa(0x115)](_0x33a989,(_0x18740f,_0x5ae02b,_0x47c773)=>{const _0x51b08d=_0x1c2faa;if(_0x22404c){if(_0x11969a)_0x11969a[_0x51b08d(0xfa)](_0x18740f,_0x5ae02b);else{if(!_0x5ae02b){const _0x49ed44=_0x47c773[_0x51b08d(0x150)]();_0x49ed44['id']=_0x31f2e3(),_0x1cb700[_0x51b08d(0x11a)](_0x49ed44,_0x47c773[_0x51b08d(0x10e)])[_0x51b08d(0x14e)](_0x49d41a=>{_0x11969a=_0x49d41a;});}}}else _0x4378c4[_0x51b08d(0xfa)](_0x18740f,_0x5ae02b);});}}},_0x797b7f),_0x29d124);}[_0x4a5e2f(0xf2)](){const _0x377c32=_0x4a5e2f,_0x51620d=this[_0x377c32(0x159)][_0x377c32(0x108)][_0x377c32(0x133)](_0x377c32(0x15d))[_0x377c32(0x146)];this[_0x377c32(0x159)][_0x377c32(0x108)][_0x377c32(0x121)](_0x377c32(0x162),async()=>{const _0x1ad74c=_0x377c32;this[_0x1ad74c(0x159)][_0x1ad74c(0x16a)](_0x1ad74c(0xfc));const _0x947812=this[_0x1ad74c(0x159)][_0x1ad74c(0x116)][_0x1ad74c(0x133)](_0x1ad74c(0x125));if(this[_0x1ad74c(0x159)][_0x1ad74c(0x116)][_0x1ad74c(0xf6)](_0x1ad74c(0x103))){const _0x35d81d=this[_0x1ad74c(0x159)][_0x1ad74c(0x116)][_0x1ad74c(0x133)](_0x1ad74c(0x103));await _0x35d81d[_0x1ad74c(0x155)]();}else await _0x947812[_0x1ad74c(0x14d)]();if(this[_0x1ad74c(0x159)][_0x1ad74c(0x116)][_0x1ad74c(0xf6)](_0x1ad74c(0x134))&&this[_0x1ad74c(0x159)][_0x1ad74c(0x116)][_0x1ad74c(0x133)](_0x1ad74c(0x134))[_0x1ad74c(0x13a)](),this[_0x1ad74c(0x159)][_0x1ad74c(0x116)][_0x1ad74c(0xf6)](_0x1ad74c(0x10f))){const _0x18985b=this[_0x1ad74c(0x159)][_0x1ad74c(0x116)][_0x1ad74c(0x133)](_0x1ad74c(0x10f));_0x18985b[_0x1ad74c(0x12f)]&&_0x18985b[_0x1ad74c(0x163)]();}const _0x10d9ec=this[_0x1ad74c(0x154)]();return _0x51620d(_0x10d9ec)[_0x1ad74c(0x14e)](_0x5e57fd=>{const _0x5a0d3c=_0x1ad74c;return(this[_0x5a0d3c(0xfd)]=_0x5e57fd,this[_0x5a0d3c(0x159)][_0x5a0d3c(0x116)][_0x5a0d3c(0xf6)](_0x5a0d3c(0x119)))&&this[_0x5a0d3c(0x159)][_0x5a0d3c(0x116)][_0x5a0d3c(0x133)](_0x5a0d3c(0x119))[_0x5a0d3c(0x149)](),_0x5e57fd;})[_0x1ad74c(0xfb)](_0x5f3cff=>(console[_0x1ad74c(0x10c)](_0x5f3cff),this[_0x1ad74c(0x159)][_0x1ad74c(0x158)](_0x1ad74c(0xfc)),null));});}[_0x4a5e2f(0x14f)](){const _0x4e4fbd=_0x4a5e2f,_0x2d4c3b=this[_0x4e4fbd(0x159)][_0x4e4fbd(0x108)][_0x4e4fbd(0x133)](_0x4e4fbd(0x15d))[_0x4e4fbd(0xe5)];this[_0x4e4fbd(0x159)][_0x4e4fbd(0x108)][_0x4e4fbd(0x121)](_0x4e4fbd(0x10a),()=>(this[_0x4e4fbd(0x159)][_0x4e4fbd(0x116)][_0x4e4fbd(0xf6)](_0x4e4fbd(0x134))&&this[_0x4e4fbd(0x159)][_0x4e4fbd(0x116)][_0x4e4fbd(0x133)](_0x4e4fbd(0x134))[_0x4e4fbd(0x13a)](),this[_0x4e4fbd(0xfd)][_0x4e4fbd(0x116)][_0x4e4fbd(0x133)](_0x4e4fbd(0xf9))[_0x4e4fbd(0x100)](),_0x2d4c3b(this[_0x4e4fbd(0xfd)])[_0x4e4fbd(0x14e)](()=>{const _0x5685b9=_0x4e4fbd;if(this[_0x5685b9(0x159)][_0x5685b9(0x158)](_0x5685b9(0xfc)),this[_0x5685b9(0xfd)]=null,this[_0x5685b9(0x159)][_0x5685b9(0x116)][_0x5685b9(0xf6)](_0x5685b9(0x119))){const _0x47e2a4=this[_0x5685b9(0x159)][_0x5685b9(0x116)][_0x5685b9(0x133)](_0x5685b9(0x119));_0x47e2a4[_0x5685b9(0x149)](),_0x47e2a4[_0x5685b9(0x118)]();}})));}[_0x4a5e2f(0xdf)](_0x2a8192){const _0x49fec5=_0x4a5e2f,_0x11edfb=this[_0x49fec5(0x159)][_0x49fec5(0x108)][_0x49fec5(0x133)](_0x49fec5(0x128)),_0x1bba5b=this[_0x49fec5(0x159)][_0x49fec5(0x108)][_0x49fec5(0x133)](_0x49fec5(0x114)),_0xdca5a8=this[_0x49fec5(0x159)][_0x49fec5(0x108)][_0x49fec5(0x133)](_0x49fec5(0xf8));return _0x45b66b[_0x49fec5(0x12e)](_0xdca5a8,_0x2a8192)[_0x49fec5(0x14e)](_0x27f8f8=>(_0x1bba5b[_0x49fec5(0x131)][_0x49fec5(0x145)]=_0x49fec5(0x138),_0x11edfb[_0x49fec5(0x131)][_0x49fec5(0x145)]=_0x49fec5(0x161),_0x27f8f8));}[_0x4a5e2f(0x142)](_0x3ca541){const _0x57873d=_0x4a5e2f,_0x795408=this[_0x57873d(0x159)][_0x57873d(0x108)][_0x57873d(0x133)](_0x57873d(0x128));return this[_0x57873d(0x159)][_0x57873d(0x108)][_0x57873d(0x133)](_0x57873d(0x114))[_0x57873d(0x131)][_0x57873d(0x145)]=_0x57873d(0x161),_0x795408[_0x57873d(0x131)][_0x57873d(0x145)]='',_0x3ca541[_0x57873d(0x106)]();}async[_0x4a5e2f(0x135)](_0x58670f){const _0x4fbfed=_0x4a5e2f,_0x27f354=this[_0x4fbfed(0x159)],_0x26531b=this[_0x4fbfed(0xfd)][_0x4fbfed(0x116)][_0x4fbfed(0x133)](_0x4fbfed(0xf9)),_0x532d3d=_0x27f354[_0x4fbfed(0x116)][_0x4fbfed(0x133)](_0x4fbfed(0x125)),_0x527dc5=_0x26531b[_0x4fbfed(0x107)][_0x4fbfed(0x122)](_0x58670f);let _0x41bf27,_0x7ef68d,_0x477a9b;try{_0x41bf27=await _0x26531b[_0x4fbfed(0x129)](_0x527dc5),_0x7ef68d=await _0x26531b[_0x4fbfed(0xe7)](_0x527dc5);}catch(_0x508577){return void console[_0x4fbfed(0x10c)](_0x508577);}_0x27f354[_0x4fbfed(0x148)][_0x4fbfed(0xf3)](_0x607eef=>{const _0x451978=_0x4fbfed;for(const _0x58040e of Array[_0x451978(0x152)](_0x27f354[_0x451978(0x148)][_0x451978(0x166)][_0x451978(0x156)](_0x451978(0x16c))))_0x607eef[_0x451978(0x137)](_0x58040e);}),_0x26531b[_0x4fbfed(0x157)]=!0x1,_0x27f354[_0x4fbfed(0x148)][_0x4fbfed(0xfe)](_0x32b393=>{const _0x2ab63f=_0x4fbfed;_0x32b393[_0x2ab63f(0x14c)](null),_0x32b393[_0x2ab63f(0xf5)](_0x27f354[_0x2ab63f(0x148)][_0x2ab63f(0x13d)][_0x2ab63f(0x109)][_0x2ab63f(0x15a)]());const _0x2cdb70=Object[_0x2ab63f(0x111)](_0x41bf27);for(const _0x66007b of _0x27f354[_0x2ab63f(0x148)][_0x2ab63f(0x13d)][_0x2ab63f(0x15f)])_0x2ab63f(0xe2)!=_0x66007b[_0x2ab63f(0x117)]&&_0x66007b[_0x2ab63f(0xee)]()&&!_0x2cdb70[_0x2ab63f(0x113)](_0x66007b[_0x2ab63f(0x117)])&&_0x32b393[_0x2ab63f(0x169)](_0x66007b);for(const _0x3bbda7 of _0x2cdb70){let _0x259458=_0x27f354[_0x2ab63f(0x148)][_0x2ab63f(0x13d)][_0x2ab63f(0x141)](_0x3bbda7);_0x259458&&_0x259458[_0x2ab63f(0xee)]()||(_0x259458=_0x32b393[_0x2ab63f(0x168)](_0x3bbda7));const _0x22d2c0=_0x7ef68d[_0x3bbda7],_0x36c4fb=Object[_0x2ab63f(0x111)](_0x22d2c0),_0xd5c59b=_0x41bf27[_0x3bbda7];for(const _0x532da9 of _0x259458[_0x2ab63f(0x15a)]())_0x36c4fb[_0x2ab63f(0x113)](_0x532da9)||_0x32b393[_0x2ab63f(0x139)](_0x532da9,_0x259458);for(const _0x2f7d12 of _0x36c4fb)_0x32b393[_0x2ab63f(0x13e)](_0x2f7d12,_0x7ef68d[_0x3bbda7][_0x2f7d12],_0x259458);_0x32b393[_0x2ab63f(0x10d)](_0x32b393[_0x2ab63f(0x13b)](_0x259458)),_0x32b393[_0x2ab63f(0x144)](_0x27f354[_0x2ab63f(0xe0)][_0x2ab63f(0x130)](_0xd5c59b,_0x259458),_0x259458,0x0);}});const _0xef81dc=_0x21055e(_0x27f354[_0x4fbfed(0x160)],_0x4fbfed(0x11b));if(_0x527dc5[_0x4fbfed(0x11c)])_0x477a9b=-0x1==_0x527dc5[_0x4fbfed(0x11c)][_0x4fbfed(0x140)](_0xef81dc)?_0xef81dc+':\x20'+_0x527dc5[_0x4fbfed(0x11c)]:_0x527dc5[_0x4fbfed(0x11c)];else _0x477a9b=_0xef81dc+':\x20'+(_0x527dc5[_0x4fbfed(0x14b)][_0x4fbfed(0x14a)](_0x27f354[_0x4fbfed(0x160)][_0x4fbfed(0xe4)],{'month':_0x4fbfed(0x112),'day':_0x4fbfed(0x105)})+',\x20'+_0x527dc5[_0x4fbfed(0x14b)][_0x4fbfed(0x12b)](_0x27f354[_0x4fbfed(0x160)][_0x4fbfed(0xe4)],{'hour':_0x4fbfed(0x105),'minute':_0x4fbfed(0x105)}));return await _0x532d3d[_0x4fbfed(0x11a)]({'name':_0x477a9b}),_0x26531b[_0x4fbfed(0x157)]=!0x0,_0x27f354[_0x4fbfed(0x108)][_0x4fbfed(0x133)](_0x4fbfed(0x15d))[_0x4fbfed(0xe5)]();}}
|
|
23
|
+
const _0xeca22a=_0x587c;(function(_0x20d00f,_0x430184){const _0x341def=_0x587c,_0x1d188a=_0x20d00f();while(!![]){try{const _0x2de12f=-parseInt(_0x341def(0x98))/0x1*(parseInt(_0x341def(0xb8))/0x2)+parseInt(_0x341def(0xea))/0x3*(-parseInt(_0x341def(0x82))/0x4)+-parseInt(_0x341def(0xe5))/0x5+parseInt(_0x341def(0xe0))/0x6*(parseInt(_0x341def(0x70))/0x7)+parseInt(_0x341def(0xa3))/0x8*(parseInt(_0x341def(0x72))/0x9)+-parseInt(_0x341def(0xeb))/0xa+parseInt(_0x341def(0xf1))/0xb*(parseInt(_0x341def(0x6c))/0xc);if(_0x2de12f===_0x430184)break;else _0x1d188a['push'](_0x1d188a['shift']());}catch(_0x5c9055){_0x1d188a['push'](_0x1d188a['shift']());}}}(_0x1732,0x62f8a));import{Plugin as _0x7595c}from'ckeditor5/src/core.js';function _0x1732(){const _0x48b9b3=['translations','enableReadOnlyMode','Users','keys','RevisionHistoryUI','isEnabled','uiLanguage','define','config','isOfficialPlugin','roots','parse','indexOf','setSelection','_showRevisionViewer','revisionHistory.closeRevisionViewerCallback','restrictedEditingException','error','display','toJSON','exitToEditing','_viewerEditor','addUser','pluginName','isOpen','enqueueChange','refreshPositioning','commands','getRevision','_enhanceCloseRevisionViewerCallback','revisionHistory.restoreRevisionCallback','RestrictedEditingMode','saveRevision','numeric','getMarkersGroup','lazyRoots','Restored','isAnonymous','init','1249698XIoQyh','closeRevisionViewerCallback','detachRoot','Autosave','get','1236415NAgOXR','creator','toLocaleDateString','set','showRevisionViewerCallback','1087413wBUmJD','6918340gYycft','repository','hide','style','none','push','55NJoetT','end','_getRevisionViewerEditorConfig','revision-history-missing-configuration','name','isReadOnly','toVersion','catch','bind','from','getRevisionRootsAttributes','3573132TJLIPo','isAttached','save','locale','21vRSmtj','restoreRevision','20079RWMqnq','destroy','Dialog','Annotations','RevisionHistory','getUser','remove','rootName','result','disableReadOnlyMode','revision-history-viewer-opened','getRoot','_enhanceShowRevisionViewerCallback','block','document','addRoot','8VRktjz','update','fromVersion','model','plugins','_update','markers','create','isReady','toolbar','adapter','getAttributeKeys','has','createdAt','data','includes','revisionHistory.editorContainer','PaginationLookup','_cleanUp','requires','change','setAttribute','10018VkIFuw','selection','createRangeIn','RevisionTracker','revisionHistory.viewerEditorElement','long','toLocaleTimeString','getRevisions','addRevisionData','revisionHistory.viewerContainer','removeSelectionAttribute','2392pUkyOE','refreshVisibility','revisionHistory','users','then','revisionHistory.requireRevisionName','editor','changesNavigation','_closeRevisionViewer','RevisionViewerIntegration','insert','_restoreRevision','_recalculatePageBreaks','removeAttribute','RevisionViewer','getRevisionData','isPremiumPlugin','revisionHistory.showRevisionViewerCallback','RevisionsRepository','$graveyard','removeMarker','142zXybPe'];_0x1732=function(){return _0x48b9b3;};return _0x1732();}import{CKEditorError as _0x32c044,uid as _0x44e1dd}from'ckeditor5/src/utils.js';import _0x3b07ba from'./revisiontracker.js';import _0x2f1e79 from'./ui/revisionhistory/revisionhistoryui.js';function _0x587c(_0xd1ef37,_0x1dbd29){const _0x1732b8=_0x1732();return _0x587c=function(_0x587c79,_0xa99511){_0x587c79=_0x587c79-0x65;let _0x2c229b=_0x1732b8[_0x587c79];return _0x2c229b;},_0x587c(_0xd1ef37,_0x1dbd29);}import _0x3ae9d8 from'./revisionviewer.js';import _0x5f243f from'./ui/revisionviewer/revisionviewerui.js';import _0xebdb66 from'./ui/revisionssidebar/revisionssidebar.js';import _0x24a17b from'./editor/revisionviewereditor.js';import{getTranslation as _0x471068}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x23ce84}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0xeca22a(0xbd),_0xeca22a(0xd8)];class k extends _0x7595c{static get[_0xeca22a(0xd0)](){const _0x2f7f82=_0xeca22a;return _0x2f7f82(0xac);}static get[_0xeca22a(0xc2)](){return!0x0;}static get[_0xeca22a(0xb3)](){return!0x0;}constructor(_0x344cc1){const _0xae981a=_0xeca22a;super(_0x344cc1),this[_0xae981a(0x7a)]=_0xae981a(0xf2);}}export default class H extends _0x7595c{static get[_0xeca22a(0xd0)](){const _0x5bd534=_0xeca22a;return _0x5bd534(0x76);}static get[_0xeca22a(0xc2)](){return!0x0;}static get[_0xeca22a(0xb3)](){return!0x0;}static get[_0xeca22a(0x95)](){return[_0x3b07ba,_0x2f1e79];}constructor(_0x20df0e){const _0x29cacf=_0xeca22a;if(super(_0x20df0e),!this[_0x29cacf(0xa9)][_0x29cacf(0xc1)][_0x29cacf(0xe4)](_0x29cacf(0xa5)))throw new _0x32c044(_0x29cacf(0xf4),this);this[_0x29cacf(0xce)]=null,this[_0x29cacf(0xa9)][_0x29cacf(0xc1)][_0x29cacf(0xc0)](_0x29cacf(0xb4),_0x52ef6a=>this[_0x29cacf(0xc7)]({..._0x52ef6a,'translations':this[_0x29cacf(0xa9)][_0x29cacf(0x6f)][_0x29cacf(0xb9)]})),this[_0x29cacf(0xa9)][_0x29cacf(0xc1)][_0x29cacf(0xc0)](_0x29cacf(0xc8),_0x1d8eef=>this[_0x29cacf(0xab)](_0x1d8eef)),this[_0x29cacf(0xa9)][_0x29cacf(0xc1)][_0x29cacf(0xc0)](_0x29cacf(0xd7),_0x198404=>this[_0x29cacf(0xae)](_0x198404)),this[_0x29cacf(0xa9)][_0x29cacf(0xc1)][_0x29cacf(0xc0)](_0x29cacf(0xa8),!0x1),this[_0x29cacf(0x7e)](),this[_0x29cacf(0xd6)]();}set[_0xeca22a(0x8c)](_0x252221){const _0x556bd6=_0xeca22a;this[_0x556bd6(0xa9)][_0x556bd6(0x86)][_0x556bd6(0xe4)](_0x556bd6(0x9b))[_0x556bd6(0x8c)]=_0x252221;}get[_0xeca22a(0x8c)](){const _0x51a56b=_0xeca22a;return this[_0x51a56b(0xa9)][_0x51a56b(0x86)][_0x51a56b(0xe4)](_0x51a56b(0x9b))[_0x51a56b(0x8c)];}[_0xeca22a(0xa0)](_0x17e063){const _0x406444=_0xeca22a;return this[_0x406444(0xa9)][_0x406444(0x86)][_0x406444(0xe4)](_0x406444(0x9b))[_0x406444(0xa0)](_0x17e063);}[_0xeca22a(0xd5)](_0x5d299c){const _0x581e07=_0xeca22a;return this[_0x581e07(0xa9)][_0x581e07(0x86)][_0x581e07(0xe4)](_0x581e07(0xb5))[_0x581e07(0xd5)](_0x5d299c);}[_0xeca22a(0x9f)](_0x3a1f83){const _0x27994a=_0xeca22a;return this[_0x27994a(0xa9)][_0x27994a(0x86)][_0x27994a(0xe4)](_0x27994a(0xb5))[_0x27994a(0x9f)](_0x3a1f83||{'toJSON':!0x1});}[_0xeca22a(0xf3)](){const _0xf8370b=_0xeca22a,_0x10d106=this[_0xf8370b(0xa9)],_0x3aa983=_0x23ce84(_0x10d106,p),_0x448d61=_0x10d106[_0xf8370b(0x86)][_0xf8370b(0xe4)](_0xf8370b(0x9b)),_0x200f37=_0x10d106[_0xf8370b(0x86)][_0xf8370b(0xe4)](_0xf8370b(0xbb))[_0xf8370b(0xa6)];return _0x3aa983[_0xf8370b(0x8b)]=[_0xf8370b(0xcd),_0xf8370b(0x71),_0xf8370b(0xaa)],delete _0x3aa983[_0xf8370b(0xdc)],(_0x3aa983[_0xf8370b(0x86)][_0xf8370b(0xf0)](k,_0x3ae9d8,_0x5f243f,class extends _0x7595c{static get[_0xf8370b(0x95)](){const _0x137fad=_0xf8370b;return[_0x3ae9d8,_0x137fad(0xbb)];}[_0xf8370b(0xdf)](){const _0x1390aa=_0xf8370b,_0x140a11=this[_0x1390aa(0xa9)][_0x1390aa(0x86)][_0x1390aa(0xe4)](_0x1390aa(0xbb));for(const _0xf3dc0e of _0x200f37)_0xf3dc0e[_0x1390aa(0xde)]||_0x140a11[_0x1390aa(0x77)](_0xf3dc0e['id'])||_0x140a11[_0x1390aa(0xcf)](_0xf3dc0e);const _0x2012f1=_0x448d61[_0x1390aa(0xec)][_0x1390aa(0x9f)]();let _0x4bfa19=null;const _0x305bbb=this[_0x1390aa(0xa9)][_0x1390aa(0x86)][_0x1390aa(0xe4)](_0x1390aa(0xb1));_0x305bbb[_0x1390aa(0x8c)]=_0x448d61[_0x1390aa(0x8c)],_0x305bbb[_0x1390aa(0x69)](_0x1390aa(0xbe))['to'](_0x448d61),this[_0x1390aa(0xa9)][_0x1390aa(0xd4)][_0x1390aa(0xe4)](_0x1390aa(0x71))[_0x1390aa(0x69)](_0x1390aa(0xbe))['to'](_0x10d106,_0x1390aa(0x66),_0x4025dc=>!_0x4025dc);for(const _0x478c41 of _0x2012f1){const _0x93878d=null===_0x478c41[_0x1390aa(0xe6)];if(_0x93878d&&_0x478c41[_0x1390aa(0x67)]===_0x478c41[_0x1390aa(0x84)])continue;const _0x3540c2=_0x478c41[_0x1390aa(0xcc)]();_0x305bbb[_0x1390aa(0xa0)](_0x3540c2,(_0xe9e00c,_0x4a278e,_0x234cc8)=>{const _0x6a1a50=_0x1390aa;if(_0x93878d){if(_0x4bfa19)_0x4bfa19[_0x6a1a50(0x87)](_0xe9e00c,_0x4a278e);else{if(!_0x4a278e){const _0x5a4ed3=_0x234cc8[_0x6a1a50(0xcc)]();_0x5a4ed3['id']=_0x44e1dd(),_0x448d61[_0x6a1a50(0xd9)](_0x5a4ed3,_0x234cc8[_0x6a1a50(0x67)])[_0x6a1a50(0xa7)](_0x3fc18b=>{_0x4bfa19=_0x3fc18b;});}}}else _0x478c41[_0x6a1a50(0x87)](_0xe9e00c,_0x4a278e);});}}},_0xebdb66),_0x3aa983);}[_0xeca22a(0x7e)](){const _0x5cd89b=_0xeca22a,_0x13c11=this[_0x5cd89b(0xa9)][_0x5cd89b(0xc1)][_0x5cd89b(0xe4)](_0x5cd89b(0xa5))[_0x5cd89b(0xe9)];this[_0x5cd89b(0xa9)][_0x5cd89b(0xc1)][_0x5cd89b(0xe8)](_0x5cd89b(0xb4),async()=>{const _0x5bb249=_0x5cd89b;this[_0x5bb249(0xa9)][_0x5bb249(0xba)](_0x5bb249(0x7c));const _0x2ac100=this[_0x5bb249(0xa9)][_0x5bb249(0x86)][_0x5bb249(0xe4)](_0x5bb249(0x9b));if(this[_0x5bb249(0xa9)][_0x5bb249(0x86)][_0x5bb249(0x8e)](_0x5bb249(0xe3))){const _0x317fa9=this[_0x5bb249(0xa9)][_0x5bb249(0x86)][_0x5bb249(0xe4)](_0x5bb249(0xe3));await _0x317fa9[_0x5bb249(0x6e)]();}else await _0x2ac100[_0x5bb249(0x83)]();if(this[_0x5bb249(0xa9)][_0x5bb249(0x86)][_0x5bb249(0x8e)](_0x5bb249(0x93))&&this[_0x5bb249(0xa9)][_0x5bb249(0x86)][_0x5bb249(0xe4)](_0x5bb249(0x93))[_0x5bb249(0xaf)](),this[_0x5bb249(0xa9)][_0x5bb249(0x86)][_0x5bb249(0x8e)](_0x5bb249(0x74))){const _0x36a326=this[_0x5bb249(0xa9)][_0x5bb249(0x86)][_0x5bb249(0xe4)](_0x5bb249(0x74));_0x36a326[_0x5bb249(0xd1)]&&_0x36a326[_0x5bb249(0xed)]();}const _0xffb7c2=this[_0x5bb249(0xf3)]();return _0x13c11(_0xffb7c2)[_0x5bb249(0xa7)](_0x3b7955=>{const _0x2b66de=_0x5bb249;return(this[_0x2b66de(0xce)]=_0x3b7955,this[_0x2b66de(0xa9)][_0x2b66de(0x86)][_0x2b66de(0x8e)](_0x2b66de(0x75)))&&this[_0x2b66de(0xa9)][_0x2b66de(0x86)][_0x2b66de(0xe4)](_0x2b66de(0x75))[_0x2b66de(0xa4)](),_0x3b7955;})[_0x5bb249(0x68)](_0x4ab0ea=>(console[_0x5bb249(0xca)](_0x4ab0ea),this[_0x5bb249(0xa9)][_0x5bb249(0x7b)](_0x5bb249(0x7c)),null));});}[_0xeca22a(0xd6)](){const _0x52f2a0=_0xeca22a,_0x3be8bc=this[_0x52f2a0(0xa9)][_0x52f2a0(0xc1)][_0x52f2a0(0xe4)](_0x52f2a0(0xa5))[_0x52f2a0(0xe1)];this[_0x52f2a0(0xa9)][_0x52f2a0(0xc1)][_0x52f2a0(0xe8)](_0x52f2a0(0xc8),()=>(this[_0x52f2a0(0xa9)][_0x52f2a0(0x86)][_0x52f2a0(0x8e)](_0x52f2a0(0x93))&&this[_0x52f2a0(0xa9)][_0x52f2a0(0x86)][_0x52f2a0(0xe4)](_0x52f2a0(0x93))[_0x52f2a0(0xaf)](),this[_0x52f2a0(0xce)][_0x52f2a0(0x86)][_0x52f2a0(0xe4)](_0x52f2a0(0xb1))[_0x52f2a0(0x94)](),_0x3be8bc(this[_0x52f2a0(0xce)])[_0x52f2a0(0xa7)](()=>{const _0x39dd95=_0x52f2a0;if(this[_0x39dd95(0xa9)][_0x39dd95(0x7b)](_0x39dd95(0x7c)),this[_0x39dd95(0xce)]=null,this[_0x39dd95(0xa9)][_0x39dd95(0x86)][_0x39dd95(0x8e)](_0x39dd95(0x75))){const _0x276ee6=this[_0x39dd95(0xa9)][_0x39dd95(0x86)][_0x39dd95(0xe4)](_0x39dd95(0x75));_0x276ee6[_0x39dd95(0xa4)](),_0x276ee6[_0x39dd95(0xd3)]();}})));}[_0xeca22a(0xc7)](_0x25efcc){const _0x1c3025=_0xeca22a,_0x3575e4=this[_0x1c3025(0xa9)][_0x1c3025(0xc1)][_0x1c3025(0xe4)](_0x1c3025(0x92)),_0x250e2d=this[_0x1c3025(0xa9)][_0x1c3025(0xc1)][_0x1c3025(0xe4)](_0x1c3025(0xa1)),_0xeb5e7e=this[_0x1c3025(0xa9)][_0x1c3025(0xc1)][_0x1c3025(0xe4)](_0x1c3025(0x9c));return _0x24a17b[_0x1c3025(0x89)](_0xeb5e7e,_0x25efcc)[_0x1c3025(0xa7)](_0x1c9d4e=>(_0x250e2d[_0x1c3025(0xee)][_0x1c3025(0xcb)]=_0x1c3025(0x7f),_0x3575e4[_0x1c3025(0xee)][_0x1c3025(0xcb)]=_0x1c3025(0xef),_0x1c9d4e));}[_0xeca22a(0xab)](_0x111bf5){const _0x37d689=_0xeca22a,_0x5399b1=this[_0x37d689(0xa9)][_0x37d689(0xc1)][_0x37d689(0xe4)](_0x37d689(0x92));return this[_0x37d689(0xa9)][_0x37d689(0xc1)][_0x37d689(0xe4)](_0x37d689(0xa1))[_0x37d689(0xee)][_0x37d689(0xcb)]=_0x37d689(0xef),_0x5399b1[_0x37d689(0xee)][_0x37d689(0xcb)]='',_0x111bf5[_0x37d689(0x73)]();}async[_0xeca22a(0xae)](_0x4beda4){const _0x25e299=_0xeca22a,_0x31eeec=this[_0x25e299(0xa9)],_0x53b1cb=this[_0x25e299(0xce)][_0x25e299(0x86)][_0x25e299(0xe4)](_0x25e299(0xb1)),_0x3a54f6=_0x31eeec[_0x25e299(0x86)][_0x25e299(0xe4)](_0x25e299(0x9b)),_0x15e851=_0x53b1cb[_0x25e299(0xec)][_0x25e299(0xd5)](_0x4beda4);let _0x5e2d19,_0x53bf49,_0x4cb1d1;try{_0x5e2d19=await _0x53b1cb[_0x25e299(0xb2)](_0x15e851),_0x53bf49=await _0x53b1cb[_0x25e299(0x6b)](_0x15e851);}catch(_0x14c61e){return void console[_0x25e299(0xca)](_0x14c61e);}_0x31eeec[_0x25e299(0x85)][_0x25e299(0x96)](_0x3c6999=>{const _0x4eb465=_0x25e299;for(const _0x2ac8b2 of Array[_0x4eb465(0x6a)](_0x31eeec[_0x4eb465(0x85)][_0x4eb465(0x88)][_0x4eb465(0xdb)](_0x4eb465(0xc9))))_0x3c6999[_0x4eb465(0xb7)](_0x2ac8b2);}),_0x53b1cb[_0x25e299(0x8a)]=!0x1,_0x31eeec[_0x25e299(0x85)][_0x25e299(0xd2)](_0x310392=>{const _0x2a1b89=_0x25e299;_0x310392[_0x2a1b89(0xc6)](null),_0x310392[_0x2a1b89(0xa2)](_0x31eeec[_0x2a1b89(0x85)][_0x2a1b89(0x80)][_0x2a1b89(0x99)][_0x2a1b89(0x8d)]());const _0x52a339=Object[_0x2a1b89(0xbc)](_0x5e2d19);for(const _0x3120eb of _0x31eeec[_0x2a1b89(0x85)][_0x2a1b89(0x80)][_0x2a1b89(0xc3)])_0x2a1b89(0xb6)!=_0x3120eb[_0x2a1b89(0x79)]&&_0x3120eb[_0x2a1b89(0x6d)]()&&!_0x52a339[_0x2a1b89(0x91)](_0x3120eb[_0x2a1b89(0x79)])&&_0x310392[_0x2a1b89(0xe2)](_0x3120eb);for(const _0x250348 of _0x52a339){let _0x1d350d=_0x31eeec[_0x2a1b89(0x85)][_0x2a1b89(0x80)][_0x2a1b89(0x7d)](_0x250348);_0x1d350d&&_0x1d350d[_0x2a1b89(0x6d)]()||(_0x1d350d=_0x310392[_0x2a1b89(0x81)](_0x250348));const _0x4e7819=_0x53bf49[_0x250348],_0x174e7a=Object[_0x2a1b89(0xbc)](_0x4e7819),_0x576191=_0x5e2d19[_0x250348];for(const _0x540f74 of _0x1d350d[_0x2a1b89(0x8d)]())_0x174e7a[_0x2a1b89(0x91)](_0x540f74)||_0x310392[_0x2a1b89(0xb0)](_0x540f74,_0x1d350d);for(const _0x431919 of _0x174e7a)_0x310392[_0x2a1b89(0x97)](_0x431919,_0x53bf49[_0x250348][_0x431919],_0x1d350d);_0x310392[_0x2a1b89(0x78)](_0x310392[_0x2a1b89(0x9a)](_0x1d350d)),_0x310392[_0x2a1b89(0xad)](_0x31eeec[_0x2a1b89(0x90)][_0x2a1b89(0xc4)](_0x576191,_0x1d350d),_0x1d350d,0x0);}});const _0x6d2a37=_0x471068(_0x31eeec[_0x25e299(0x6f)],_0x25e299(0xdd));if(_0x15e851[_0x25e299(0x65)])_0x4cb1d1=-0x1==_0x15e851[_0x25e299(0x65)][_0x25e299(0xc5)](_0x6d2a37)?_0x6d2a37+':\x20'+_0x15e851[_0x25e299(0x65)]:_0x15e851[_0x25e299(0x65)];else _0x4cb1d1=_0x6d2a37+':\x20'+(_0x15e851[_0x25e299(0x8f)][_0x25e299(0xe7)](_0x31eeec[_0x25e299(0x6f)][_0x25e299(0xbf)],{'month':_0x25e299(0x9d),'day':_0x25e299(0xda)})+',\x20'+_0x15e851[_0x25e299(0x8f)][_0x25e299(0x9e)](_0x31eeec[_0x25e299(0x6f)][_0x25e299(0xbf)],{'hour':_0x25e299(0xda),'minute':_0x25e299(0xda)}));return await _0x3a54f6[_0x25e299(0xd9)]({'name':_0x4cb1d1}),_0x53b1cb[_0x25e299(0x8a)]=!0x0,_0x31eeec[_0x25e299(0xc1)][_0x25e299(0xe4)](_0x25e299(0xa5))[_0x25e299(0xe1)]();}}
|