@ckeditor/ckeditor5-revision-history 35.1.0 → 35.2.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.
Files changed (37) hide show
  1. package/build/revision-history.js +1 -1
  2. package/build/translations/es-co.js +1 -0
  3. package/build/translations/fa.js +1 -1
  4. package/build/translations/tt.js +1 -0
  5. package/lang/translations/es-co.po +124 -0
  6. package/lang/translations/fa.po +1 -1
  7. package/lang/translations/tt.po +122 -0
  8. package/package.json +7 -7
  9. package/src/changeitem.js +1 -1
  10. package/src/editor/revisionviewereditor.js +1 -1
  11. package/src/editor/revisionviewereditorui.js +1 -1
  12. package/src/editor/revisionviewereditoruiview.js +1 -1
  13. package/src/revision.js +1 -1
  14. package/src/revisiondiff.js +1 -1
  15. package/src/revisionhistory.js +1 -1
  16. package/src/revisionsrepository.js +1 -1
  17. package/src/revisiontracker.js +1 -1
  18. package/src/revisionviewer.js +1 -1
  19. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  20. package/src/ui/revision/revisionauthorview.js +1 -1
  21. package/src/ui/revision/revisionnameview.js +1 -1
  22. package/src/ui/revision/revisionview.js +1 -1
  23. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  24. package/src/ui/revision/subrevisionview.js +1 -1
  25. package/src/ui/revision/utils.js +1 -1
  26. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  27. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  28. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  29. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  30. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  31. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  32. package/src/ui/revisionssidebar/utils.js +1 -1
  33. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  34. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  35. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  36. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  37. package/src/utils/common-translations.js +1 -1
@@ -0,0 +1 @@
1
+ !function(e){const i=e["es-co"]=e["es-co"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Added by":"","Back to editing":"","Compare against selected":"",EDIT_X_OF_Y_REVISIONS:"Editar","Empty document":"","Initial revision":"","Loading...":"","Name of the revision (optional)":"","Name this revision":"","No changes":"",NUMBER_OF_CHANGES:["","",""],"Open revision history":"",PENDING_ACTION_REVISION_HISTORY:"","Removed by":"","Restore this revision":"",Restored:"","Revision author":"","Revision creator":"","Revision history":"","Revision name":"","Save current revision":"","Show next change":"","Show previous change":"","Suggested by":"",Total:"",X_OF_Y_CHANGES:"%0 de %1"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(i){const e=i.fa=i.fa||{};e.dictionary=Object.assign(e.dictionary||{},{"Added by":"","Back to editing":"","Compare against selected":"",EDIT_X_OF_Y_REVISIONS:"","Empty document":"","Initial revision":"","Loading...":"","Name of the revision (optional)":"","Name this revision":"","No changes":"",NUMBER_OF_CHANGES:["",""],"Open revision history":"",PENDING_ACTION_REVISION_HISTORY:"","Removed by":"","Restore this revision":"",Restored:"","Revision author":"","Revision creator":"","Revision history":"","Revision name":"","Save current revision":"","Show next change":"","Show previous change":"","Suggested by":"",Total:"",X_OF_Y_CHANGES:"0% از 1%"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(i){const e=i.fa=i.fa||{};e.dictionary=Object.assign(e.dictionary||{},{"Added by":"","Back to editing":"","Compare against selected":"",EDIT_X_OF_Y_REVISIONS:"ویرایش","Empty document":"","Initial revision":"","Loading...":"","Name of the revision (optional)":"","Name this revision":"","No changes":"",NUMBER_OF_CHANGES:["",""],"Open revision history":"",PENDING_ACTION_REVISION_HISTORY:"","Removed by":"","Restore this revision":"",Restored:"","Revision author":"","Revision creator":"","Revision history":"","Revision name":"","Save current revision":"","Show next change":"","Show previous change":"","Suggested by":"",Total:"",X_OF_Y_CHANGES:"0% از 1%"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.tt=i.tt||{};e.dictionary=Object.assign(e.dictionary||{},{"Added by":"","Back to editing":"","Compare against selected":"",EDIT_X_OF_Y_REVISIONS:"Редакцияләү","Empty document":"","Initial revision":"","Loading...":"Йөкләнә...","Name of the revision (optional)":"","Name this revision":"","No changes":"",NUMBER_OF_CHANGES:"","Open revision history":"",PENDING_ACTION_REVISION_HISTORY:"","Removed by":"","Restore this revision":"",Restored:"","Revision author":"","Revision creator":"","Revision history":"","Revision name":"","Save current revision":"","Show next change":"","Show previous change":"","Suggested by":"",Total:"",X_OF_Y_CHANGES:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1,124 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Spanish (Colombia) (https://www.transifex.com/ckeditor/teams/11143/es_CO/)\n"
16
+ "Language: es_CO\n"
17
+ "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+
19
+ msgctxt "The prefix for a name of a revision created by restoring other revision."
20
+ msgid "Restored"
21
+ msgstr ""
22
+
23
+ msgctxt "The name for an initial revision that is empty."
24
+ msgid "Empty document"
25
+ msgstr ""
26
+
27
+ msgctxt "The name for an initial revision (if it was not empty)."
28
+ msgid "Initial revision"
29
+ msgstr ""
30
+
31
+ msgctxt "The label for a dropdown item to compare given revision with already selected revision."
32
+ msgid "Compare against selected"
33
+ msgstr ""
34
+
35
+ msgctxt "The label for a dropdown item to rename given revision."
36
+ msgid "Name this revision"
37
+ msgstr ""
38
+
39
+ msgctxt "The label for the user who saved the revision."
40
+ msgid "Revision creator"
41
+ msgstr ""
42
+
43
+ msgctxt "The label for users who introduced changes in the revision."
44
+ msgid "Revision author"
45
+ msgstr ""
46
+
47
+ msgctxt "The label for the revision name."
48
+ msgid "Revision name"
49
+ msgstr ""
50
+
51
+ msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
52
+ msgid "Name of the revision (optional)"
53
+ msgstr ""
54
+
55
+ msgctxt "The label for a dropdown item that saves current revision."
56
+ msgid "Save current revision"
57
+ msgstr ""
58
+
59
+ msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
60
+ msgid "Open revision history"
61
+ msgstr ""
62
+
63
+ msgctxt "The label for the sidebar in revision viewer."
64
+ msgid "Revision history"
65
+ msgstr ""
66
+
67
+ msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
68
+ msgid "Suggested by"
69
+ msgstr ""
70
+
71
+ msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
72
+ msgid "Added by"
73
+ msgstr ""
74
+
75
+ msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
76
+ msgid "Removed by"
77
+ msgstr ""
78
+
79
+ msgctxt "Displayed in the revision viewer toolbar when loading a revision."
80
+ msgid "Loading..."
81
+ msgstr ""
82
+
83
+ msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
84
+ msgid "No changes"
85
+ msgstr ""
86
+
87
+ msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes."
88
+ msgid "NUMBER_OF_CHANGES"
89
+ msgid_plural "%0 changes"
90
+ msgstr[0] ""
91
+ msgstr[1] ""
92
+ msgstr[2] ""
93
+
94
+ msgctxt "Edit: (2 of 5)"
95
+ msgid "X_OF_Y_CHANGES"
96
+ msgstr "%0 de %1"
97
+
98
+ msgctxt "The label for a button that highlights previous change in revision viewer."
99
+ msgid "Show previous change"
100
+ msgstr ""
101
+
102
+ msgctxt "The label for a button that highlights next change in revision viewer."
103
+ msgid "Show next change"
104
+ msgstr ""
105
+
106
+ msgctxt "(Total): 5 changes"
107
+ msgid "Total"
108
+ msgstr ""
109
+
110
+ msgctxt "(Edit): 2 of 5"
111
+ msgid "EDIT_X_OF_Y_REVISIONS"
112
+ msgstr "Editar"
113
+
114
+ msgctxt "The label for a button that closes revision viewer and shows editor."
115
+ msgid "Back to editing"
116
+ msgstr ""
117
+
118
+ msgctxt "The label for a button that restores given revision."
119
+ msgid "Restore this revision"
120
+ msgstr ""
121
+
122
+ msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
123
+ msgid "PENDING_ACTION_REVISION_HISTORY"
124
+ msgstr ""
@@ -108,7 +108,7 @@ msgstr ""
108
108
 
109
109
  msgctxt "(Edit): 2 of 5"
110
110
  msgid "EDIT_X_OF_Y_REVISIONS"
111
- msgstr ""
111
+ msgstr "ویرایش"
112
112
 
113
113
  msgctxt "The label for a button that closes revision viewer and shows editor."
114
114
  msgid "Back to editing"
@@ -0,0 +1,122 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Tatar (https://www.transifex.com/ckeditor/teams/11143/tt/)\n"
16
+ "Language: tt\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+
19
+ msgctxt "The prefix for a name of a revision created by restoring other revision."
20
+ msgid "Restored"
21
+ msgstr ""
22
+
23
+ msgctxt "The name for an initial revision that is empty."
24
+ msgid "Empty document"
25
+ msgstr ""
26
+
27
+ msgctxt "The name for an initial revision (if it was not empty)."
28
+ msgid "Initial revision"
29
+ msgstr ""
30
+
31
+ msgctxt "The label for a dropdown item to compare given revision with already selected revision."
32
+ msgid "Compare against selected"
33
+ msgstr ""
34
+
35
+ msgctxt "The label for a dropdown item to rename given revision."
36
+ msgid "Name this revision"
37
+ msgstr ""
38
+
39
+ msgctxt "The label for the user who saved the revision."
40
+ msgid "Revision creator"
41
+ msgstr ""
42
+
43
+ msgctxt "The label for users who introduced changes in the revision."
44
+ msgid "Revision author"
45
+ msgstr ""
46
+
47
+ msgctxt "The label for the revision name."
48
+ msgid "Revision name"
49
+ msgstr ""
50
+
51
+ msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
52
+ msgid "Name of the revision (optional)"
53
+ msgstr ""
54
+
55
+ msgctxt "The label for a dropdown item that saves current revision."
56
+ msgid "Save current revision"
57
+ msgstr ""
58
+
59
+ msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
60
+ msgid "Open revision history"
61
+ msgstr ""
62
+
63
+ msgctxt "The label for the sidebar in revision viewer."
64
+ msgid "Revision history"
65
+ msgstr ""
66
+
67
+ msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
68
+ msgid "Suggested by"
69
+ msgstr ""
70
+
71
+ msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
72
+ msgid "Added by"
73
+ msgstr ""
74
+
75
+ msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
76
+ msgid "Removed by"
77
+ msgstr ""
78
+
79
+ msgctxt "Displayed in the revision viewer toolbar when loading a revision."
80
+ msgid "Loading..."
81
+ msgstr "Йөкләнә..."
82
+
83
+ msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
84
+ msgid "No changes"
85
+ msgstr ""
86
+
87
+ msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes."
88
+ msgid "NUMBER_OF_CHANGES"
89
+ msgid_plural "%0 changes"
90
+ msgstr[0] ""
91
+
92
+ msgctxt "Edit: (2 of 5)"
93
+ msgid "X_OF_Y_CHANGES"
94
+ msgstr ""
95
+
96
+ msgctxt "The label for a button that highlights previous change in revision viewer."
97
+ msgid "Show previous change"
98
+ msgstr ""
99
+
100
+ msgctxt "The label for a button that highlights next change in revision viewer."
101
+ msgid "Show next change"
102
+ msgstr ""
103
+
104
+ msgctxt "(Total): 5 changes"
105
+ msgid "Total"
106
+ msgstr ""
107
+
108
+ msgctxt "(Edit): 2 of 5"
109
+ msgid "EDIT_X_OF_Y_REVISIONS"
110
+ msgstr "Редакцияләү"
111
+
112
+ msgctxt "The label for a button that closes revision viewer and shows editor."
113
+ msgid "Back to editing"
114
+ msgstr ""
115
+
116
+ msgctxt "The label for a button that restores given revision."
117
+ msgid "Restore this revision"
118
+ msgstr ""
119
+
120
+ msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
121
+ msgid "PENDING_ACTION_REVISION_HISTORY"
122
+ msgstr ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-revision-history",
3
- "version": "35.1.0",
3
+ "version": "35.2.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/)",
@@ -25,12 +25,12 @@
25
25
  ],
26
26
  "main": "src/index.js",
27
27
  "dependencies": {
28
- "@ckeditor/ckeditor5-core": "^35.1.0",
29
- "@ckeditor/ckeditor5-ui": "^35.1.0",
30
- "@ckeditor/ckeditor5-undo": "^35.1.0",
31
- "@ckeditor/ckeditor5-editor-classic": "^35.1.0",
32
- "ckeditor5": "^35.1.0",
33
- "ckeditor5-collaboration": "^35.1.0",
28
+ "@ckeditor/ckeditor5-core": "^35.2.0",
29
+ "@ckeditor/ckeditor5-ui": "^35.2.0",
30
+ "@ckeditor/ckeditor5-undo": "^35.2.0",
31
+ "@ckeditor/ckeditor5-editor-classic": "^35.2.0",
32
+ "ckeditor5": "^35.2.0",
33
+ "ckeditor5-collaboration": "^35.2.0",
34
34
  "lodash-es": "^4.17.15",
35
35
  "luxon": "^1.25.0"
36
36
  }
package/src/changeitem.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3089=['data','toJSON','author','type','createdAt'];(function(_0x46ffab,_0x308939){var _0x3cfd0c=function(_0x17e47f){while(--_0x17e47f){_0x46ffab['push'](_0x46ffab['shift']());}};_0x3cfd0c(++_0x308939);}(_0x3089,0x18e));var _0x3cfd=function(_0x46ffab,_0x308939){_0x46ffab=_0x46ffab-0x0;var _0x3cfd0c=_0x3089[_0x46ffab];return _0x3cfd0c;};import{ObservableMixin as _0x145e4a,mix as _0x2cefee,uid as _0x307969}from'ckeditor5/src/utils';export default class h{constructor(_0x191823){this['id']=_0x191823['id']||_0x307969(),this[_0x3cfd('0x4')]=_0x191823['author'],this[_0x3cfd('0x0')]=_0x191823[_0x3cfd('0x0')],this[_0x3cfd('0x2')]=_0x191823[_0x3cfd('0x2')]||{},this['set'](_0x3cfd('0x1'),_0x191823[_0x3cfd('0x1')]);}[_0x3cfd('0x3')](){return{'id':this['id'],'authorId':this[_0x3cfd('0x4')]['id'],'type':this[_0x3cfd('0x0')],'data':this[_0x3cfd('0x2')],'createdAt':this['createdAt']};}}_0x2cefee(h,_0x145e4a);
23
+ var _0x312a=['data','type','createdAt','author','set'];(function(_0x56a8fd,_0x312a14){var _0x48f047=function(_0x5050ff){while(--_0x5050ff){_0x56a8fd['push'](_0x56a8fd['shift']());}};_0x48f047(++_0x312a14);}(_0x312a,0x1d0));var _0x48f0=function(_0x56a8fd,_0x312a14){_0x56a8fd=_0x56a8fd-0x0;var _0x48f047=_0x312a[_0x56a8fd];return _0x48f047;};import{ObservableMixin as _0x33dfaf,mix as _0xf870da,uid as _0x534e2f}from'ckeditor5/src/utils';export default class h{constructor(_0x496fcd){this['id']=_0x496fcd['id']||_0x534e2f(),this['author']=_0x496fcd[_0x48f0('0x4')],this[_0x48f0('0x2')]=_0x496fcd[_0x48f0('0x2')],this[_0x48f0('0x1')]=_0x496fcd[_0x48f0('0x1')]||{},this[_0x48f0('0x0')](_0x48f0('0x3'),_0x496fcd[_0x48f0('0x3')]);}['toJSON'](){return{'id':this['id'],'authorId':this[_0x48f0('0x4')]['id'],'type':this[_0x48f0('0x2')],'data':this[_0x48f0('0x1')],'createdAt':this['createdAt']};}}_0xf870da(h,_0x33dfaf);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x926f=['view','createRoot','create','init','get','sourceElement','destroy','document','editing','config','updateSourceElement','model','initPlugins','data','fire','locale'];(function(_0x42d53f,_0x926fd7){const _0x29522e=function(_0x33c19d){while(--_0x33c19d){_0x42d53f['push'](_0x42d53f['shift']());}};_0x29522e(++_0x926fd7);}(_0x926f,0x17d));const _0x2952=function(_0x42d53f,_0x926fd7){_0x42d53f=_0x42d53f-0x0;let _0x29522e=_0x926f[_0x42d53f];return _0x29522e;};import{Editor as _0x535044,DataApiMixin as _0x21ef81,ElementApiMixin as _0x20c361}from'ckeditor5/src/core';import{mix as _0x3f30b6}from'ckeditor5/src/utils';import _0x2f9dae from'./revisionviewereditorui';import _0x425398 from'./revisionviewereditoruiview';export default class w extends _0x535044{constructor(_0x36ff67,_0x1245d2){super(_0x1245d2),this[_0x2952('0x8')]=_0x36ff67,this[_0x2952('0xe')][_0x2952('0xa')][_0x2952('0x4')]();const _0x551b0a=new _0x425398(this[_0x2952('0x2')],this[_0x2952('0xb')][_0x2952('0x3')],{'shouldToolbarGroupWhenFull':!0x0});this['ui']=new _0x2f9dae(this,_0x551b0a);}[_0x2952('0x9')](){return this[_0x2952('0xd')](),this['ui'][_0x2952('0x9')](),super[_0x2952('0x9')]();}static async[_0x2952('0x5')](_0x290242,_0x4c1ebe){const _0x1a8cfa=new this(_0x290242,_0x4c1ebe);return await _0x1a8cfa[_0x2952('0xf')](),await _0x1a8cfa['ui'][_0x2952('0x6')](_0x290242),await _0x1a8cfa[_0x2952('0x0')]['init'](_0x1a8cfa[_0x2952('0xc')][_0x2952('0x7')]('initialData')),_0x1a8cfa[_0x2952('0x1')]('ready'),_0x1a8cfa;}}_0x3f30b6(w,_0x21ef81),_0x3f30b6(w,_0x20c361);
23
+ const _0x2ecf=['sourceElement','data','locale','updateSourceElement','create','document','fire','config','initPlugins','editing','init','get','ready','view','destroy','model'];(function(_0x3046e9,_0x2ecfb1){const _0x20fdca=function(_0x12d3f1){while(--_0x12d3f1){_0x3046e9['push'](_0x3046e9['shift']());}};_0x20fdca(++_0x2ecfb1);}(_0x2ecf,0x12e));const _0x20fd=function(_0x3046e9,_0x2ecfb1){_0x3046e9=_0x3046e9-0x0;let _0x20fdca=_0x2ecf[_0x3046e9];return _0x20fdca;};import{Editor as _0x53da92,DataApiMixin as _0x2842bb,ElementApiMixin as _0x2eca87}from'ckeditor5/src/core';import{mix as _0x42fbf4}from'ckeditor5/src/utils';import _0x282b2b from'./revisionviewereditorui';import _0x237eb6 from'./revisionviewereditoruiview';export default class w extends _0x53da92{constructor(_0x6dd802,_0x2f7da4){super(_0x2f7da4),this[_0x20fd('0x2')]=_0x6dd802,this[_0x20fd('0x1')][_0x20fd('0x7')]['createRoot']();const _0x2f3f2=new _0x237eb6(this[_0x20fd('0x4')],this[_0x20fd('0xb')][_0x20fd('0xf')],{'shouldToolbarGroupWhenFull':!0x0});this['ui']=new _0x282b2b(this,_0x2f3f2);}['destroy'](){return this[_0x20fd('0x5')](),this['ui'][_0x20fd('0x0')](),super[_0x20fd('0x0')]();}static async[_0x20fd('0x6')](_0x4b86eb,_0x1f98d8){const _0x297ec2=new this(_0x4b86eb,_0x1f98d8);return await _0x297ec2[_0x20fd('0xa')](),await _0x297ec2['ui']['init'](_0x4b86eb),await _0x297ec2[_0x20fd('0x3')][_0x20fd('0xc')](_0x297ec2[_0x20fd('0x9')][_0x20fd('0xd')]('initialData')),_0x297ec2[_0x20fd('0x8')](_0x20fd('0xe')),_0x297ec2;}}_0x42fbf4(w,_0x2842bb),_0x42fbf4(w,_0x2eca87);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a72=['render','document','isFocused','view','get','viewportTopOffset','fire','focusTracker','isActive','toolbar','editor','addToolbar','_initToolbar','bind','element','componentFactory','destroy','attachDomRoot','name','editable','_toolbarConfig','rootName','restore','_elementReplacer','editing','viewportOffset','fillFromConfig','init','detachDomRoot','stickyPanel'];(function(_0x4cabef,_0x5a726e){const _0x3a35ab=function(_0x4721e7){while(--_0x4721e7){_0x4cabef['push'](_0x4cabef['shift']());}};_0x3a35ab(++_0x5a726e);}(_0x5a72,0x1a6));const _0x3a35=function(_0x4cabef,_0x5a726e){_0x4cabef=_0x4cabef-0x0;let _0x3a35ab=_0x5a72[_0x4cabef];return _0x3a35ab;};import{EditorUI as _0x1de126}from'ckeditor5/src/core';import{normalizeToolbarConfig as _0x34323b}from'ckeditor5/src/ui';import{ElementReplacer as _0x218059}from'ckeditor5/src/utils';export default class ot extends _0x1de126{constructor(_0x7593b,_0x3c7d36){super(_0x7593b),this[_0x3a35('0x1')]=_0x3c7d36,this[_0x3a35('0x12')]=_0x34323b(_0x7593b['config'][_0x3a35('0x2')](_0x3a35('0x7'))),this[_0x3a35('0x15')]=new _0x218059();}get[_0x3a35('0xc')](){return this[_0x3a35('0x1')][_0x3a35('0xc')];}[_0x3a35('0x19')](_0x50e1ac){const _0x2ec3d9=this[_0x3a35('0x8')],_0x1c8c18=this[_0x3a35('0x1')],_0x3b5805=_0x2ec3d9[_0x3a35('0x16')][_0x3a35('0x1')],_0x30353b=_0x1c8c18[_0x3a35('0x11')],_0x46325e=_0x3b5805[_0x3a35('0x1d')]['getRoot']();_0x30353b[_0x3a35('0x10')]=_0x46325e[_0x3a35('0x13')],_0x1c8c18[_0x3a35('0x1c')]();const _0x4899fe=_0x30353b[_0x3a35('0xc')];this['setEditableElement'](_0x30353b[_0x3a35('0x10')],_0x4899fe),_0x1c8c18['editable'][_0x3a35('0xb')](_0x3a35('0x0'))['to'](this[_0x3a35('0x5')]),_0x3b5805[_0x3a35('0xf')](_0x4899fe),this['_elementReplacer']['replace'](_0x50e1ac,this['element']),this[_0x3a35('0xa')](),this[_0x3a35('0x4')]('ready');}['destroy'](){const _0x3f7e38=this[_0x3a35('0x1')],_0x5163af=this[_0x3a35('0x8')][_0x3a35('0x16')][_0x3a35('0x1')];this[_0x3a35('0x15')][_0x3a35('0x14')](),_0x5163af[_0x3a35('0x1a')](_0x3f7e38['editable'][_0x3a35('0x10')]),_0x3f7e38[_0x3a35('0xe')](),super['destroy']();}[_0x3a35('0xa')](){const _0x186fef=this[_0x3a35('0x1')];_0x186fef[_0x3a35('0x1b')][_0x3a35('0xb')](_0x3a35('0x6'))['to'](this['focusTracker'],_0x3a35('0x0')),_0x186fef['stickyPanel']['limiterElement']=_0x186fef[_0x3a35('0xc')],_0x186fef[_0x3a35('0x1b')][_0x3a35('0xb')](_0x3a35('0x3'))['to'](this,_0x3a35('0x17'),({top:_0x24a6fa})=>_0x24a6fa),_0x186fef[_0x3a35('0x7')][_0x3a35('0x18')](this['_toolbarConfig'],this[_0x3a35('0xd')]),this[_0x3a35('0x9')](_0x186fef[_0x3a35('0x7')]);}}
23
+ const _0x2ec4=['get','attachDomRoot','document','focusTracker','_toolbarConfig','name','componentFactory','stickyPanel','destroy','element','_elementReplacer','restore','detachDomRoot','fillFromConfig','replace','fire','rootName','editable','view','addToolbar','toolbar','editing','bind','viewportTopOffset','isFocused','editor','_initToolbar','ready','limiterElement'];(function(_0x5b9562,_0x2ec436){const _0x1a76d0=function(_0x3d17ee){while(--_0x3d17ee){_0x5b9562['push'](_0x5b9562['shift']());}};_0x1a76d0(++_0x2ec436);}(_0x2ec4,0x1e5));const _0x1a76=function(_0x5b9562,_0x2ec436){_0x5b9562=_0x5b9562-0x0;let _0x1a76d0=_0x2ec4[_0x5b9562];return _0x1a76d0;};import{EditorUI as _0x75c0e9}from'ckeditor5/src/core';import{normalizeToolbarConfig as _0x590b1e}from'ckeditor5/src/ui';import{ElementReplacer as _0x37d09c}from'ckeditor5/src/utils';export default class ot extends _0x75c0e9{constructor(_0x3f158b,_0x1ecade){super(_0x3f158b),this[_0x1a76('0x1a')]=_0x1ecade,this[_0x1a76('0xc')]=_0x590b1e(_0x3f158b['config'][_0x1a76('0x8')](_0x1a76('0x1c'))),this[_0x1a76('0x12')]=new _0x37d09c();}get['element'](){return this['view'][_0x1a76('0x11')];}['init'](_0x382bd8){const _0x1fb421=this[_0x1a76('0x4')],_0xcd2bfc=this['view'],_0x34ae60=_0x1fb421[_0x1a76('0x0')][_0x1a76('0x1a')],_0x531fd2=_0xcd2bfc[_0x1a76('0x19')],_0x4b2539=_0x34ae60[_0x1a76('0xa')]['getRoot']();_0x531fd2[_0x1a76('0xd')]=_0x4b2539[_0x1a76('0x18')],_0xcd2bfc['render']();const _0x3d1b63=_0x531fd2[_0x1a76('0x11')];this['setEditableElement'](_0x531fd2['name'],_0x3d1b63),_0xcd2bfc[_0x1a76('0x19')]['bind']('isFocused')['to'](this[_0x1a76('0xb')]),_0x34ae60[_0x1a76('0x9')](_0x3d1b63),this[_0x1a76('0x12')][_0x1a76('0x16')](_0x382bd8,this['element']),this[_0x1a76('0x5')](),this[_0x1a76('0x17')](_0x1a76('0x6'));}[_0x1a76('0x10')](){const _0x487b05=this[_0x1a76('0x1a')],_0x482e8d=this['editor'][_0x1a76('0x0')][_0x1a76('0x1a')];this[_0x1a76('0x12')][_0x1a76('0x13')](),_0x482e8d[_0x1a76('0x14')](_0x487b05[_0x1a76('0x19')][_0x1a76('0xd')]),_0x487b05[_0x1a76('0x10')](),super[_0x1a76('0x10')]();}[_0x1a76('0x5')](){const _0x30b5b2=this[_0x1a76('0x1a')];_0x30b5b2[_0x1a76('0xf')][_0x1a76('0x1')]('isActive')['to'](this['focusTracker'],_0x1a76('0x3')),_0x30b5b2[_0x1a76('0xf')][_0x1a76('0x7')]=_0x30b5b2[_0x1a76('0x11')],_0x30b5b2[_0x1a76('0xf')]['bind'](_0x1a76('0x2'))['to'](this,'viewportOffset',({top:_0xef8d7e})=>_0xef8d7e),_0x30b5b2['toolbar'][_0x1a76('0x15')](this[_0x1a76('0xc')],this[_0x1a76('0xe')]),this[_0x1a76('0x1b')](_0x30b5b2[_0x1a76('0x1c')]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4ea0=['stickyPanel','add','toolbar','content','editable','shouldToolbarGroupWhenFull','top','render'];(function(_0xd26fd0,_0x4ea065){var _0x50b7c1=function(_0x87bbe5){while(--_0x87bbe5){_0xd26fd0['push'](_0xd26fd0['shift']());}};_0x50b7c1(++_0x4ea065);}(_0x4ea0,0x9b));var _0x50b7=function(_0xd26fd0,_0x4ea065){_0xd26fd0=_0xd26fd0-0x0;var _0x50b7c1=_0x4ea0[_0xd26fd0];return _0x50b7c1;};import{BoxedEditorUIView as _0x38aa75,InlineEditableUIView as _0x3fedee,StickyPanelView as _0x4aae67,ToolbarView as _0x29a2fb}from'ckeditor5/src/ui';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export default class at extends _0x38aa75{constructor(_0x28bdc2,_0x1bfaf0,_0x2db95b={}){super(_0x28bdc2),this['stickyPanel']=new _0x4aae67(_0x28bdc2),this[_0x50b7('0x7')]=new _0x29a2fb(_0x28bdc2,{'shouldGroupWhenFull':_0x2db95b[_0x50b7('0x2')]}),this[_0x50b7('0x1')]=new _0x3fedee(_0x28bdc2,_0x1bfaf0);}[_0x50b7('0x4')](){super[_0x50b7('0x4')](),this[_0x50b7('0x5')][_0x50b7('0x0')][_0x50b7('0x6')](this[_0x50b7('0x7')]),this[_0x50b7('0x3')][_0x50b7('0x6')](this[_0x50b7('0x5')]),this['main'][_0x50b7('0x6')](this[_0x50b7('0x1')]);}}
23
+ var _0x13fe=['render','content','shouldToolbarGroupWhenFull','editable','main','stickyPanel','toolbar','top','add'];(function(_0x3dc573,_0x13fe83){var _0x376eba=function(_0x511a2b){while(--_0x511a2b){_0x3dc573['push'](_0x3dc573['shift']());}};_0x376eba(++_0x13fe83);}(_0x13fe,0x167));var _0x376e=function(_0x3dc573,_0x13fe83){_0x3dc573=_0x3dc573-0x0;var _0x376eba=_0x13fe[_0x3dc573];return _0x376eba;};import{BoxedEditorUIView as _0x3e50fd,InlineEditableUIView as _0x65af6b,StickyPanelView as _0x340543,ToolbarView as _0x108e03}from'ckeditor5/src/ui';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export default class at extends _0x3e50fd{constructor(_0x48b645,_0x196180,_0x392d9f={}){super(_0x48b645),this[_0x376e('0x6')]=new _0x340543(_0x48b645),this[_0x376e('0x7')]=new _0x108e03(_0x48b645,{'shouldGroupWhenFull':_0x392d9f[_0x376e('0x3')]}),this[_0x376e('0x4')]=new _0x65af6b(_0x48b645,_0x196180);}[_0x376e('0x1')](){super[_0x376e('0x1')](),this[_0x376e('0x6')][_0x376e('0x2')][_0x376e('0x0')](this[_0x376e('0x7')]),this[_0x376e('0x8')][_0x376e('0x0')](this[_0x376e('0x6')]),this[_0x376e('0x5')][_0x376e('0x0')](this['editable']);}}
package/src/revision.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4604=['fire','map','setAttribute','set','fromVersion','toVersion','toJSON','authors','diffData','createdAt','creatorId','name','_update','attributes','creator','setName'];(function(_0x21ece6,_0x460482){const _0x40c1ac=function(_0x18413c){while(--_0x18413c){_0x21ece6['push'](_0x21ece6['shift']());}};_0x40c1ac(++_0x460482);}(_0x4604,0xf2));const _0x40c1=function(_0x21ece6,_0x460482){_0x21ece6=_0x21ece6-0x0;let _0x40c1ac=_0x4604[_0x21ece6];return _0x40c1ac;};import{ObservableMixin as _0x18afb8,mix as _0x2e51b8,uid as _0x68c9f5}from'ckeditor5/src/utils';import{cloneDeep as _0x7c1a8d,set as _0x2e9a79,unset as _0x199ff0}from'lodash-es';export default class n{constructor(_0x37b413){this['id']=_0x37b413['id']||_0x68c9f5(),this[_0x40c1('0x1')]('name',_0x37b413[_0x40c1('0x9')]||''),this[_0x40c1('0xc')]=_0x37b413['creator']||null,this[_0x40c1('0x5')]=_0x37b413[_0x40c1('0x5')]||[],this[_0x40c1('0x1')]('createdAt',_0x37b413[_0x40c1('0x7')]||new Date()),this[_0x40c1('0x6')]=_0x37b413['diffData']||null,this[_0x40c1('0x1')](_0x40c1('0xb'),_0x37b413['attributes']||{}),this['toVersion']=_0x37b413[_0x40c1('0x3')]||0x0,this[_0x40c1('0x2')]=_0x37b413[_0x40c1('0x2')]||0x0;}[_0x40c1('0xd')](_0x32c357){this[_0x40c1('0xa')]({'name':_0x32c357});}[_0x40c1('0x0')](_0x593366,_0x31d76d){const _0x108dcc=_0x7c1a8d(this[_0x40c1('0xb')]);_0x2e9a79(_0x108dcc,_0x593366,_0x31d76d),this['_update']({'attributes':_0x108dcc});}['removeAttribute'](_0x1add1a){const _0x22c3b0=_0x7c1a8d(this[_0x40c1('0xb')]);_0x199ff0(_0x22c3b0,_0x1add1a),this['_update']({'attributes':_0x22c3b0});}[_0x40c1('0xa')](_0x5abf09,_0x3a6c7e=!0x1){let _0x2db556=!0x1;const _0x2f1966={'id':this['id']};for(const _0x1f55ee of[_0x40c1('0x9'),_0x40c1('0x7'),_0x40c1('0x6'),_0x40c1('0x5'),_0x40c1('0xb'),_0x40c1('0x3'),_0x40c1('0x2'),_0x40c1('0x8')]){const _0x656ddc=_0x5abf09[_0x1f55ee];void 0x0!==_0x656ddc&&_0x656ddc!==this[_0x1f55ee]&&(this[_0x1f55ee]=_0x656ddc,_0x2f1966[_0x1f55ee]=_0x656ddc,_0x2db556=!0x0);}_0x2db556&&(_0x2f1966['authors']&&(_0x2f1966['authorsIds']=_0x2f1966['authors'][_0x40c1('0xf')](_0xa699c1=>_0xa699c1['id']),delete _0x2f1966['authors']),this[_0x40c1('0xe')]('_update',_0x2f1966,_0x3a6c7e));}[_0x40c1('0x4')](){return{'id':this['id'],'name':this[_0x40c1('0x9')],'creatorId':this[_0x40c1('0xc')]?this['creator']['id']:null,'authorsIds':this['authors'][_0x40c1('0xf')](_0x3fdddf=>_0x3fdddf['id']),'diffData':this[_0x40c1('0x6')],'createdAt':this[_0x40c1('0x7')],'attributes':this[_0x40c1('0xb')],'fromVersion':this['fromVersion'],'toVersion':this[_0x40c1('0x3')]};}}_0x2e51b8(n,_0x18afb8);
23
+ const _0x5890=['toJSON','removeAttribute','createdAt','toVersion','setAttribute','diffData','authors','fromVersion','set','name','fire','creatorId','creator','_update','map','attributes'];(function(_0x4ee65f,_0x589061){const _0x2e9ba1=function(_0x4e1b1e){while(--_0x4e1b1e){_0x4ee65f['push'](_0x4ee65f['shift']());}};_0x2e9ba1(++_0x589061);}(_0x5890,0x1af));const _0x2e9b=function(_0x4ee65f,_0x589061){_0x4ee65f=_0x4ee65f-0x0;let _0x2e9ba1=_0x5890[_0x4ee65f];return _0x2e9ba1;};import{ObservableMixin as _0x27d988,mix as _0xd7b93e,uid as _0x2845cc}from'ckeditor5/src/utils';import{cloneDeep as _0x24be0f,set as _0x4969ac,unset as _0x5d59e9}from'lodash-es';export default class n{constructor(_0x551276){this['id']=_0x551276['id']||_0x2845cc(),this[_0x2e9b('0x9')]('name',_0x551276[_0x2e9b('0xa')]||''),this[_0x2e9b('0xd')]=_0x551276[_0x2e9b('0xd')]||null,this[_0x2e9b('0x7')]=_0x551276[_0x2e9b('0x7')]||[],this['set'](_0x2e9b('0x3'),_0x551276[_0x2e9b('0x3')]||new Date()),this[_0x2e9b('0x6')]=_0x551276[_0x2e9b('0x6')]||null,this[_0x2e9b('0x9')](_0x2e9b('0x0'),_0x551276[_0x2e9b('0x0')]||{}),this[_0x2e9b('0x4')]=_0x551276[_0x2e9b('0x4')]||0x0,this[_0x2e9b('0x8')]=_0x551276[_0x2e9b('0x8')]||0x0;}['setName'](_0x2bb557){this[_0x2e9b('0xe')]({'name':_0x2bb557});}[_0x2e9b('0x5')](_0x3500c6,_0x812365){const _0x32fc84=_0x24be0f(this[_0x2e9b('0x0')]);_0x4969ac(_0x32fc84,_0x3500c6,_0x812365),this[_0x2e9b('0xe')]({'attributes':_0x32fc84});}[_0x2e9b('0x2')](_0x4fbdaf){const _0x3a0639=_0x24be0f(this[_0x2e9b('0x0')]);_0x5d59e9(_0x3a0639,_0x4fbdaf),this['_update']({'attributes':_0x3a0639});}[_0x2e9b('0xe')](_0x21419f,_0x42a53c=!0x1){let _0x355c94=!0x1;const _0x5bb69c={'id':this['id']};for(const _0x32815a of[_0x2e9b('0xa'),_0x2e9b('0x3'),_0x2e9b('0x6'),_0x2e9b('0x7'),_0x2e9b('0x0'),'toVersion',_0x2e9b('0x8'),_0x2e9b('0xc')]){const _0x4224cd=_0x21419f[_0x32815a];void 0x0!==_0x4224cd&&_0x4224cd!==this[_0x32815a]&&(this[_0x32815a]=_0x4224cd,_0x5bb69c[_0x32815a]=_0x4224cd,_0x355c94=!0x0);}_0x355c94&&(_0x5bb69c[_0x2e9b('0x7')]&&(_0x5bb69c['authorsIds']=_0x5bb69c[_0x2e9b('0x7')][_0x2e9b('0xf')](_0x3cd448=>_0x3cd448['id']),delete _0x5bb69c['authors']),this[_0x2e9b('0xb')](_0x2e9b('0xe'),_0x5bb69c,_0x42a53c));}[_0x2e9b('0x1')](){return{'id':this['id'],'name':this['name'],'creatorId':this[_0x2e9b('0xd')]?this[_0x2e9b('0xd')]['id']:null,'authorsIds':this['authors'][_0x2e9b('0xf')](_0x1321aa=>_0x1321aa['id']),'diffData':this[_0x2e9b('0x6')],'createdAt':this[_0x2e9b('0x3')],'attributes':this['attributes'],'fromVersion':this[_0x2e9b('0x8')],'toVersion':this[_0x2e9b('0x4')]};}}_0xd7b93e(n,_0x27d988);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x98d1=['_setData','changes','newRevisionId','add'];(function(_0x19c473,_0x98d1ac){const _0x2692b6=function(_0x533980){while(--_0x533980){_0x19c473['push'](_0x19c473['shift']());}};_0x2692b6(++_0x98d1ac);}(_0x98d1,0xd0));const _0x2692=function(_0x19c473,_0x98d1ac){_0x19c473=_0x19c473-0x0;let _0x2692b6=_0x98d1[_0x19c473];return _0x2692b6;};import{Collection as _0x34c4d9}from'ckeditor5/src/utils';export default class f{constructor(_0x378fb1,_0x3f66b3){this[_0x2692('0x2')]=_0x378fb1,this['oldRevisionId']=_0x3f66b3,this['changes']=new _0x34c4d9();}[_0x2692('0x0')](_0x30502a){for(const _0x10a178 of _0x30502a[_0x2692('0x1')])this[_0x2692('0x1')][_0x2692('0x3')](_0x10a178);}}
23
+ const _0x5607=['changes','oldRevisionId','newRevisionId','add','_setData'];(function(_0x36ba93,_0x56076a){const _0x48e287=function(_0x1e2558){while(--_0x1e2558){_0x36ba93['push'](_0x36ba93['shift']());}};_0x48e287(++_0x56076a);}(_0x5607,0x14a));const _0x48e2=function(_0x36ba93,_0x56076a){_0x36ba93=_0x36ba93-0x0;let _0x48e287=_0x5607[_0x36ba93];return _0x48e287;};import{Collection as _0x397950}from'ckeditor5/src/utils';export default class f{constructor(_0xd3ce41,_0x364188){this[_0x48e2('0x2')]=_0xd3ce41,this[_0x48e2('0x1')]=_0x364188,this[_0x48e2('0x0')]=new _0x397950();}[_0x48e2('0x4')](_0x2503bd){for(const _0x483b94 of _0x2503bd[_0x48e2('0x0')])this[_0x48e2('0x0')][_0x48e2('0x3')](_0x483b94);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2489=['RealTimeCollaborativeTrackChanges','constructor','locale','RevisionTracker','concat','then','refreshVisibility','builtinPlugins','revisionHistory.editorContainer','revisionHistory.restoreRevisionCallback','RealTimeCollaborativeComments','data','RevisionsRepository','editor','Annotations','disableReadOnlyMode','_closeRevisionViewer','restoreRevision','error','closeRevisionViewerCallback','saveRevision','plugins','context','from','requires','update','style','map','names','long','adapter','showRevisionViewerCallback','toLocaleTimeString','isAnonymous','RealTimeCollaborativeEditing','revisionHistory.viewerContainer','enableReadOnlyMode','_showRevisionViewer','initialData','Users','addUser','removeMarker','isReady','toJSON','_recalculatePageBreaks','getRevisions','restrictedEditingException','isEnabled','creator','_restoreRevision','model','refreshPositioning','getRevisionData','addRevisionData','Restored','catch','getRevision','revision-history-missing-configuration','extraPlugins','Autosave','createdAt','string','markers','_update','RevisionHistoryUI','name','none','pluginName','bind','block','get','_getRevisionViewerEditorConfig','display','config','set','function','toVersion','every','create','includes','PaginationLookup','getUser','revisionHistory','_viewerEditor','RevisionHistory','save','_enhanceCloseRevisionViewerCallback','revisionHistory.showRevisionViewerCallback','revision-history-viewer-opened','has','users','revisionHistory.closeRevisionViewerCallback','_enhanceShowRevisionViewerCallback','init','indexOf','exitToEditing','fromVersion','push','repository','define'];(function(_0x4529ad,_0x24899d){const _0x52328b=function(_0x402193){while(--_0x402193){_0x4529ad['push'](_0x4529ad['shift']());}};_0x52328b(++_0x24899d);}(_0x2489,0x186));const _0x5232=function(_0x4529ad,_0x24899d){_0x4529ad=_0x4529ad-0x0;let _0x52328b=_0x2489[_0x4529ad];return _0x52328b;};import{Plugin as _0x5b307a}from'ckeditor5/src/core';import{CKEditorError as _0x143882,uid as _0x18e705}from'ckeditor5/src/utils';import _0x471444 from'./revisiontracker';import _0x4ef510 from'./ui/revisionhistory/revisionhistoryui';import _0x557c4c from'./revisionviewer';import _0x7f24f9 from'./ui/revisionviewer/revisionviewerui';import _0x11d8ea from'./ui/revisionssidebar/revisionssidebar';import _0x5ad8a3 from'./editor/revisionviewereditor';import{getTranslation as _0x13b96b}from'./utils/common-translations';const g=[_0x5232('0x20')],k=[_0x5232('0xd'),_0x5232('0x4a'),_0x5232('0x2c'),_0x5232('0x14'),_0x5232('0xa'),'RestrictedEditingMode',_0x5232('0x45')];export default class C extends _0x5b307a{static get[_0x5232('0x4d')](){return _0x5232('0x5e');}static get[_0x5232('0x22')](){return[_0x471444,_0x4ef510];}constructor(..._0x3268b2){if(super(..._0x3268b2),!this[_0x5232('0x17')][_0x5232('0x53')][_0x5232('0x50')](_0x5232('0x5c')))throw new _0x143882(_0x5232('0x43'),this);this['_viewerEditor']=null,this[_0x5232('0x17')]['config'][_0x5232('0x9')](_0x5232('0x61'),_0x279f14=>this[_0x5232('0x2f')](_0x279f14)),this[_0x5232('0x17')][_0x5232('0x53')][_0x5232('0x9')](_0x5232('0x1'),_0x13ba39=>this[_0x5232('0x1a')](_0x13ba39)),this[_0x5232('0x17')][_0x5232('0x53')][_0x5232('0x9')](_0x5232('0x13'),_0x3bd974=>this[_0x5232('0x3b')](_0x3bd974)),this['_enhanceShowRevisionViewerCallback'](),this[_0x5232('0x60')]();}set[_0x5232('0x28')](_0xffdd29){this['editor'][_0x5232('0x1f')][_0x5232('0x50')](_0x5232('0xd'))[_0x5232('0x28')]=_0xffdd29;}get[_0x5232('0x28')](){return this['editor'][_0x5232('0x1f')][_0x5232('0x50')](_0x5232('0xd'))[_0x5232('0x28')];}[_0x5232('0x3f')](..._0x359b40){return this['editor'][_0x5232('0x1f')][_0x5232('0x50')](_0x5232('0xd'))['addRevisionData'](..._0x359b40);}[_0x5232('0x42')](..._0x40aeac){return this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x50')]('RevisionsRepository')[_0x5232('0x42')](..._0x40aeac);}[_0x5232('0x37')](..._0x2d932f){return this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x50')](_0x5232('0x16'))[_0x5232('0x37')](..._0x2d932f);}[_0x5232('0x51')](){const _0x1706dc={},_0x950ab=this[_0x5232('0x17')],_0x229d93=_0x950ab[_0x5232('0x1f')][_0x5232('0x50')](_0x5232('0xd')),_0x1f462f=_0x950ab['plugins'][_0x5232('0x50')](_0x5232('0x31'))[_0x5232('0x0')];for(const _0x414f3d of _0x950ab['config'][_0x5232('0x26')]())g[_0x5232('0x59')](_0x414f3d)||(_0x1706dc[_0x414f3d]=_0x950ab[_0x5232('0x53')][_0x5232('0x50')](_0x414f3d));_0x1706dc[_0x5232('0x30')]='',_0x1706dc['toolbar']=[_0x5232('0x5'),_0x5232('0x1b'),'changesNavigation'];const _0x156bdc=this['editor'][_0x5232('0xb')][_0x5232('0x11')]||[],_0x4544d3=_0x1706dc[_0x5232('0x44')]||[];delete _0x1706dc[_0x5232('0x44')];const _0x400bd8=_0x156bdc['concat'](_0x1706dc[_0x5232('0x1f')])[_0x5232('0xe')](_0x4544d3)[_0x5232('0x25')](_0x59ca39=>_0x5232('0x47')==typeof _0x59ca39?_0x156bdc['find'](_0x3cee16=>_0x3cee16[_0x5232('0x4d')]==_0x59ca39):_0x59ca39);return _0x1706dc[_0x5232('0x1f')]=Array[_0x5232('0x21')](new Set(_0x400bd8))['filter'](_0x4fd614=>b(_0x4fd614,_0x950ab[_0x5232('0x1f')],[])),(_0x1706dc['plugins'][_0x5232('0x7')](_0x557c4c,_0x7f24f9,class extends _0x5b307a{static get['requires'](){return[_0x557c4c,_0x5232('0x31')];}[_0x5232('0x3')](){const _0x3515a1=this[_0x5232('0x17')][_0x5232('0x1f')]['get'](_0x5232('0x31'));for(const _0xca80f4 of _0x1f462f)_0xca80f4[_0x5232('0x2b')]||_0x3515a1[_0x5232('0x5b')](_0xca80f4['id'])||_0x3515a1[_0x5232('0x32')](_0xca80f4);const _0x2cf3d9=_0x229d93[_0x5232('0x8')][_0x5232('0x37')]();let _0x391350=null;const _0x2b0942=this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x50')]('RevisionViewer');_0x2b0942['adapter']=_0x229d93[_0x5232('0x28')],_0x2b0942['bind'](_0x5232('0x39'))['to'](_0x229d93),this[_0x5232('0x17')]['commands'][_0x5232('0x50')]('restoreRevision')[_0x5232('0x4e')]('isEnabled')['to'](_0x950ab,'isReadOnly',_0x128f6e=>!_0x128f6e);for(const _0x3f4340 of _0x2cf3d9){const _0x189767=null===_0x3f4340[_0x5232('0x3a')];if(_0x189767&&_0x3f4340['toVersion']===_0x3f4340[_0x5232('0x6')])continue;const _0xc4a082=_0x3f4340['toJSON']();_0x2b0942[_0x5232('0x3f')](_0xc4a082,(_0x4861de,_0x33b4ac,_0x1855b2)=>{if(_0x189767){if(_0x391350)_0x391350[_0x5232('0x49')](_0x4861de,_0x33b4ac);else{if(!_0x33b4ac){const _0x2f2b67=_0x1855b2[_0x5232('0x35')]();_0x2f2b67['id']=_0x18e705(),_0x229d93[_0x5232('0x1e')](_0x2f2b67,_0x1855b2[_0x5232('0x56')])[_0x5232('0xf')](_0x33fab9=>{_0x391350=_0x33fab9;});}}}else _0x3f4340[_0x5232('0x49')](_0x4861de,_0x33b4ac);});}}},_0x11d8ea),_0x1706dc);}[_0x5232('0x2')](){const _0x450840=this['editor'][_0x5232('0x53')][_0x5232('0x50')](_0x5232('0x5c'))[_0x5232('0x29')];this['editor'][_0x5232('0x53')][_0x5232('0x54')](_0x5232('0x61'),async()=>{this[_0x5232('0x17')][_0x5232('0x2e')]('revision-history-viewer-opened');const _0x24f26d=this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x50')]('RevisionTracker');this[_0x5232('0x17')]['plugins'][_0x5232('0x63')](_0x5232('0x45'))?await this['editor'][_0x5232('0x1f')]['get']('Autosave')[_0x5232('0x5f')]():await _0x24f26d[_0x5232('0x23')](),this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x63')]('PaginationLookup')&&this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x50')](_0x5232('0x5a'))[_0x5232('0x36')]();const _0x3c94a6=this[_0x5232('0x51')]();return _0x450840(_0x3c94a6)[_0x5232('0xf')](_0x29b5ab=>{this[_0x5232('0x5d')]=_0x29b5ab,this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x63')](_0x5232('0x18'))&&this['editor']['plugins'][_0x5232('0x50')]('Annotations')['refreshVisibility']();})[_0x5232('0x41')](_0x4ddc91=>{console[_0x5232('0x1c')](_0x4ddc91),this[_0x5232('0x17')]['disableReadOnlyMode'](_0x5232('0x62'));});});}[_0x5232('0x60')](){const _0x1be9a0=this[_0x5232('0x17')][_0x5232('0x53')]['get'](_0x5232('0x5c'))['closeRevisionViewerCallback'];this[_0x5232('0x17')][_0x5232('0x53')]['set'](_0x5232('0x1'),()=>(this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x63')](_0x5232('0x5a'))&&this['editor'][_0x5232('0x1f')][_0x5232('0x50')](_0x5232('0x5a'))[_0x5232('0x36')](),_0x1be9a0(this['_viewerEditor'])[_0x5232('0xf')](()=>{this[_0x5232('0x17')][_0x5232('0x19')](_0x5232('0x62')),this[_0x5232('0x5d')]=null,this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x63')](_0x5232('0x18'))&&(this['editor']['plugins'][_0x5232('0x50')](_0x5232('0x18'))[_0x5232('0x10')](),this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x50')](_0x5232('0x18'))[_0x5232('0x3d')]());})));}[_0x5232('0x2f')](_0x5319ef){const _0x5de3f0=this[_0x5232('0x17')][_0x5232('0x53')][_0x5232('0x50')](_0x5232('0x12')),_0x210198=this[_0x5232('0x17')][_0x5232('0x53')][_0x5232('0x50')](_0x5232('0x2d')),_0xb7ac75=this[_0x5232('0x17')][_0x5232('0x53')][_0x5232('0x50')]('revisionHistory.viewerEditorElement');return _0x5ad8a3[_0x5232('0x58')](_0xb7ac75,_0x5319ef)[_0x5232('0xf')](_0x3868c5=>(_0x210198[_0x5232('0x24')][_0x5232('0x52')]=_0x5232('0x4f'),_0x5de3f0['style']['display']=_0x5232('0x4c'),_0x3868c5));}[_0x5232('0x1a')](_0x2621b0){const _0x1cee56=this[_0x5232('0x17')]['config'][_0x5232('0x50')](_0x5232('0x12'));return this['editor'][_0x5232('0x53')][_0x5232('0x50')](_0x5232('0x2d'))[_0x5232('0x24')][_0x5232('0x52')]='none',_0x1cee56['style'][_0x5232('0x52')]='',_0x2621b0['destroy']();}async['_restoreRevision'](_0x2d4930){const _0x318625=this[_0x5232('0x17')],_0x54a92f=this['_viewerEditor']['plugins'][_0x5232('0x50')]('RevisionViewer'),_0x5564cc=_0x318625['plugins'][_0x5232('0x50')](_0x5232('0xd')),_0x40d452=_0x54a92f[_0x5232('0x8')][_0x5232('0x42')](_0x2d4930);let _0x4b582f,_0x34f280;try{_0x4b582f=await _0x54a92f[_0x5232('0x3e')](_0x40d452);}catch(_0x549d82){return void console['error'](_0x549d82);}_0x318625[_0x5232('0x3c')]['change'](_0x499d7b=>{for(const _0x2d732d of Array[_0x5232('0x21')](_0x318625[_0x5232('0x3c')][_0x5232('0x48')]['getMarkersGroup'](_0x5232('0x38'))))_0x499d7b[_0x5232('0x33')](_0x2d732d);}),_0x54a92f[_0x5232('0x34')]=!0x1,_0x318625[_0x5232('0x15')][_0x5232('0x54')](_0x4b582f,{'suppressErrorInCollaboration':!0x0});const _0x408079=_0x13b96b(_0x318625[_0x5232('0xc')],_0x5232('0x40'));if(_0x40d452[_0x5232('0x4b')])_0x34f280=-0x1==_0x40d452['name'][_0x5232('0x4')](_0x408079)?_0x408079+':\x20'+_0x40d452[_0x5232('0x4b')]:_0x40d452['name'];else _0x34f280=_0x408079+':\x20'+(_0x40d452[_0x5232('0x46')]['toLocaleDateString'](_0x318625[_0x5232('0xc')]['uiLanguage'],{'month':_0x5232('0x27'),'day':'numeric'})+',\x20'+_0x40d452[_0x5232('0x46')][_0x5232('0x2a')](_0x318625[_0x5232('0xc')]['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x5564cc[_0x5232('0x1e')]({'name':_0x34f280}),_0x54a92f[_0x5232('0x34')]=!0x0,_0x318625[_0x5232('0x53')][_0x5232('0x50')](_0x5232('0x5c'))[_0x5232('0x1d')]();}}function b(_0x2fd9c5,_0x16f155,_0x331218){const _0x3dc38e=_0x5232('0x55')==typeof _0x2fd9c5?_0x2fd9c5['pluginName']||_0x2fd9c5[_0x5232('0x4b')]:_0x2fd9c5;if(_0x331218[_0x5232('0x59')](_0x3dc38e))return!0x0;if(_0x331218['push'](_0x3dc38e),k['includes'](_0x3dc38e))return!0x1;const _0x463a24=((_0x5232('0x55')==typeof _0x2fd9c5?_0x2fd9c5:_0x16f155[_0x5232('0x63')](_0x3dc38e)?_0x16f155[_0x5232('0x50')](_0x3dc38e):{})[_0x5232('0x22')]||[])[_0x5232('0x57')](_0x483807=>b(_0x483807,_0x16f155,_0x331218));return _0x463a24||k[_0x5232('0x7')](_0x3dc38e),_0x463a24;}
23
+ const _0x25ef=['_update','RevisionViewer','indexOf','constructor','changesNavigation','closeRevisionViewerCallback','destroy','initialData','catch','toolbar','isReady','every','Restored','create','createdAt','get','revisionHistory','_showRevisionViewer','Users','filter','change','refreshVisibility','has','addRevisionData','exitToEditing','concat','_restoreRevision','requires','config','block','function','none','toVersion','removeMarker','Autosave','getRevisionData','extraPlugins','includes','data','toLocaleTimeString','from','getRevisions','map','RevisionHistoryUI','revisionHistory.restoreRevisionCallback','_enhanceCloseRevisionViewerCallback','plugins','style','display','commands','revision-history-viewer-opened','init','revision-history-missing-configuration','restoreRevision','pluginName','locale','revisionHistory.editorContainer','revisionHistory.viewerContainer','bind','getUser','repository','PaginationLookup','save','RevisionTracker','refreshPositioning','_viewerEditor','RevisionsRepository','_recalculatePageBreaks','uiLanguage','fromVersion','toJSON','set','error','revisionHistory.showRevisionViewerCallback','revisionHistory.closeRevisionViewerCallback','saveRevision','adapter','define','_getRevisionViewerEditorConfig','_enhanceShowRevisionViewerCallback','string','RealTimeCollaborativeComments','editor','restrictedEditingException','_closeRevisionViewer','model','push','name','Annotations','toLocaleDateString','long','numeric','RealTimeCollaborativeEditing','getMarkersGroup','builtinPlugins','then','getRevision'];(function(_0x1f7746,_0x25ef0f){const _0x47c38a=function(_0x3f4f9f){while(--_0x3f4f9f){_0x1f7746['push'](_0x1f7746['shift']());}};_0x47c38a(++_0x25ef0f);}(_0x25ef,0x6c));const _0x47c3=function(_0x1f7746,_0x25ef0f){_0x1f7746=_0x1f7746-0x0;let _0x47c38a=_0x25ef[_0x1f7746];return _0x47c38a;};import{Plugin as _0x1b9cb0}from'ckeditor5/src/core';import{CKEditorError as _0x1e7f59,uid as _0x283203}from'ckeditor5/src/utils';import _0x3dc929 from'./revisiontracker';import _0x431304 from'./ui/revisionhistory/revisionhistoryui';import _0xc51027 from'./revisionviewer';import _0x2e012b from'./ui/revisionviewer/revisionviewerui';import _0x356381 from'./ui/revisionssidebar/revisionssidebar';import _0x39aba3 from'./editor/revisionviewereditor';import{getTranslation as _0x1c8245}from'./utils/common-translations';const g=['context'],k=[_0x47c3('0x34'),_0x47c3('0x20'),_0x47c3('0x51'),_0x47c3('0x46'),'RealTimeCollaborativeTrackChanges','RestrictedEditingMode','Autosave'];export default class C extends _0x1b9cb0{static get[_0x47c3('0x2b')](){return'RevisionHistory';}static get[_0x47c3('0x10')](){return[_0x3dc929,_0x431304];}constructor(..._0x18a1b3){if(super(..._0x18a1b3),!this[_0x47c3('0x47')]['config'][_0x47c3('0x4')](_0x47c3('0x5')))throw new _0x1e7f59(_0x47c3('0x29'),this);this['_viewerEditor']=null,this['editor'][_0x47c3('0x11')][_0x47c3('0x42')](_0x47c3('0x3e'),_0x668eeb=>this[_0x47c3('0x6')](_0x668eeb)),this[_0x47c3('0x47')][_0x47c3('0x11')]['define'](_0x47c3('0x3f'),_0x1f3dbf=>this[_0x47c3('0x49')](_0x1f3dbf)),this[_0x47c3('0x47')][_0x47c3('0x11')]['define'](_0x47c3('0x21'),_0x16e6f4=>this['_restoreRevision'](_0x16e6f4)),this[_0x47c3('0x44')](),this[_0x47c3('0x22')]();}set[_0x47c3('0x41')](_0x4d1eac){this[_0x47c3('0x47')]['plugins']['get'](_0x47c3('0x34'))['adapter']=_0x4d1eac;}get[_0x47c3('0x41')](){return this[_0x47c3('0x47')][_0x47c3('0x23')]['get'](_0x47c3('0x34'))['adapter'];}['addRevisionData'](..._0x403a5c){return this[_0x47c3('0x47')]['plugins'][_0x47c3('0x4')](_0x47c3('0x34'))['addRevisionData'](..._0x403a5c);}[_0x47c3('0x55')](..._0x12791){return this[_0x47c3('0x47')][_0x47c3('0x23')][_0x47c3('0x4')](_0x47c3('0x37'))[_0x47c3('0x55')](..._0x12791);}[_0x47c3('0x1e')](..._0x4bccf1){return this['editor'][_0x47c3('0x23')]['get'](_0x47c3('0x37'))[_0x47c3('0x1e')](..._0x4bccf1);}['_getRevisionViewerEditorConfig'](){const _0x9ae5b2={},_0xc471dc=this[_0x47c3('0x47')],_0x114778=_0xc471dc[_0x47c3('0x23')]['get'](_0x47c3('0x34')),_0x54d383=_0xc471dc[_0x47c3('0x23')][_0x47c3('0x4')](_0x47c3('0x7'))['users'];for(const _0x1845c4 of _0xc471dc[_0x47c3('0x11')]['names']())g[_0x47c3('0x1a')](_0x1845c4)||(_0x9ae5b2[_0x1845c4]=_0xc471dc['config'][_0x47c3('0x4')](_0x1845c4));_0x9ae5b2[_0x47c3('0x5d')]='',_0x9ae5b2[_0x47c3('0x5f')]=[_0x47c3('0xd'),_0x47c3('0x2a'),_0x47c3('0x5a')];const _0x13108e=this[_0x47c3('0x47')][_0x47c3('0x59')][_0x47c3('0x53')]||[],_0xfbd2=_0x9ae5b2['extraPlugins']||[];delete _0x9ae5b2[_0x47c3('0x19')];const _0x377f57=_0x13108e[_0x47c3('0xe')](_0x9ae5b2[_0x47c3('0x23')])['concat'](_0xfbd2)[_0x47c3('0x1f')](_0x455056=>_0x47c3('0x45')==typeof _0x455056?_0x13108e['find'](_0x125d22=>_0x125d22[_0x47c3('0x2b')]==_0x455056):_0x455056);return _0x9ae5b2[_0x47c3('0x23')]=Array[_0x47c3('0x1d')](new Set(_0x377f57))[_0x47c3('0x8')](_0x3dc019=>b(_0x3dc019,_0xc471dc['plugins'],[])),(_0x9ae5b2[_0x47c3('0x23')][_0x47c3('0x4b')](_0xc51027,_0x2e012b,class extends _0x1b9cb0{static get[_0x47c3('0x10')](){return[_0xc51027,_0x47c3('0x7')];}[_0x47c3('0x28')](){const _0x21fba8=this['editor'][_0x47c3('0x23')][_0x47c3('0x4')]('Users');for(const _0x1872bc of _0x54d383)_0x1872bc['isAnonymous']||_0x21fba8[_0x47c3('0x30')](_0x1872bc['id'])||_0x21fba8['addUser'](_0x1872bc);const _0x5114bb=_0x114778[_0x47c3('0x31')][_0x47c3('0x1e')]();let _0x4b8bc7=null;const _0x283801=this[_0x47c3('0x47')][_0x47c3('0x23')][_0x47c3('0x4')](_0x47c3('0x57'));_0x283801[_0x47c3('0x41')]=_0x114778[_0x47c3('0x41')],_0x283801[_0x47c3('0x2f')]('isEnabled')['to'](_0x114778),this[_0x47c3('0x47')][_0x47c3('0x26')]['get'](_0x47c3('0x2a'))[_0x47c3('0x2f')]('isEnabled')['to'](_0xc471dc,'isReadOnly',_0x511a5f=>!_0x511a5f);for(const _0xfa5a58 of _0x5114bb){const _0x1bb533=null===_0xfa5a58['creator'];if(_0x1bb533&&_0xfa5a58[_0x47c3('0x15')]===_0xfa5a58[_0x47c3('0x3a')])continue;const _0x1ffea3=_0xfa5a58[_0x47c3('0x3b')]();_0x283801[_0x47c3('0xc')](_0x1ffea3,(_0x4963ac,_0x364d29,_0x432aae)=>{if(_0x1bb533){if(_0x4b8bc7)_0x4b8bc7['_update'](_0x4963ac,_0x364d29);else{if(!_0x364d29){const _0x342a57=_0x432aae['toJSON']();_0x342a57['id']=_0x283203(),_0x114778[_0x47c3('0x40')](_0x342a57,_0x432aae['toVersion'])[_0x47c3('0x54')](_0xa9e49b=>{_0x4b8bc7=_0xa9e49b;});}}}else _0xfa5a58[_0x47c3('0x56')](_0x4963ac,_0x364d29);});}}},_0x356381),_0x9ae5b2);}[_0x47c3('0x44')](){const _0x5ecdc2=this[_0x47c3('0x47')][_0x47c3('0x11')][_0x47c3('0x4')](_0x47c3('0x5'))['showRevisionViewerCallback'];this[_0x47c3('0x47')][_0x47c3('0x11')]['set'](_0x47c3('0x3e'),async()=>{this[_0x47c3('0x47')]['enableReadOnlyMode'](_0x47c3('0x27'));const _0xb302e1=this[_0x47c3('0x47')]['plugins'][_0x47c3('0x4')](_0x47c3('0x34'));this['editor']['plugins'][_0x47c3('0xb')](_0x47c3('0x17'))?await this[_0x47c3('0x47')]['plugins'][_0x47c3('0x4')]('Autosave')[_0x47c3('0x33')]():await _0xb302e1['update'](),this[_0x47c3('0x47')][_0x47c3('0x23')][_0x47c3('0xb')](_0x47c3('0x32'))&&this[_0x47c3('0x47')][_0x47c3('0x23')][_0x47c3('0x4')](_0x47c3('0x32'))[_0x47c3('0x38')]();const _0xee808b=this[_0x47c3('0x43')]();return _0x5ecdc2(_0xee808b)['then'](_0x258835=>{this[_0x47c3('0x36')]=_0x258835,this['editor']['plugins'][_0x47c3('0xb')]('Annotations')&&this[_0x47c3('0x47')][_0x47c3('0x23')][_0x47c3('0x4')](_0x47c3('0x4d'))['refreshVisibility']();})[_0x47c3('0x5e')](_0x28f2e1=>{console['error'](_0x28f2e1),this[_0x47c3('0x47')]['disableReadOnlyMode']('revision-history-viewer-opened');});});}['_enhanceCloseRevisionViewerCallback'](){const _0xda0640=this[_0x47c3('0x47')][_0x47c3('0x11')][_0x47c3('0x4')](_0x47c3('0x5'))['closeRevisionViewerCallback'];this[_0x47c3('0x47')][_0x47c3('0x11')][_0x47c3('0x3c')](_0x47c3('0x3f'),()=>(this['editor']['plugins'][_0x47c3('0xb')](_0x47c3('0x32'))&&this[_0x47c3('0x47')]['plugins'][_0x47c3('0x4')](_0x47c3('0x32'))[_0x47c3('0x38')](),_0xda0640(this['_viewerEditor'])[_0x47c3('0x54')](()=>{this[_0x47c3('0x47')]['disableReadOnlyMode'](_0x47c3('0x27')),this[_0x47c3('0x36')]=null,this[_0x47c3('0x47')][_0x47c3('0x23')][_0x47c3('0xb')](_0x47c3('0x4d'))&&(this[_0x47c3('0x47')]['plugins'][_0x47c3('0x4')]('Annotations')[_0x47c3('0xa')](),this[_0x47c3('0x47')]['plugins'][_0x47c3('0x4')](_0x47c3('0x4d'))[_0x47c3('0x35')]());})));}[_0x47c3('0x6')](_0x2bb2a9){const _0x5964a7=this[_0x47c3('0x47')][_0x47c3('0x11')]['get'](_0x47c3('0x2d')),_0x26bf0e=this[_0x47c3('0x47')][_0x47c3('0x11')][_0x47c3('0x4')]('revisionHistory.viewerContainer'),_0x467297=this['editor'][_0x47c3('0x11')][_0x47c3('0x4')]('revisionHistory.viewerEditorElement');return _0x39aba3[_0x47c3('0x2')](_0x467297,_0x2bb2a9)[_0x47c3('0x54')](_0x132dbe=>(_0x26bf0e[_0x47c3('0x24')][_0x47c3('0x25')]=_0x47c3('0x12'),_0x5964a7[_0x47c3('0x24')][_0x47c3('0x25')]=_0x47c3('0x14'),_0x132dbe));}[_0x47c3('0x49')](_0x17709e){const _0x4e5d3f=this[_0x47c3('0x47')][_0x47c3('0x11')][_0x47c3('0x4')](_0x47c3('0x2d'));return this[_0x47c3('0x47')][_0x47c3('0x11')][_0x47c3('0x4')](_0x47c3('0x2e'))[_0x47c3('0x24')][_0x47c3('0x25')]=_0x47c3('0x14'),_0x4e5d3f[_0x47c3('0x24')][_0x47c3('0x25')]='',_0x17709e[_0x47c3('0x5c')]();}async[_0x47c3('0xf')](_0x41f4c0){const _0x3dd571=this['editor'],_0x4494f1=this[_0x47c3('0x36')][_0x47c3('0x23')]['get']('RevisionViewer'),_0x220430=_0x3dd571[_0x47c3('0x23')]['get']('RevisionTracker'),_0x4b6a3e=_0x4494f1['repository']['getRevision'](_0x41f4c0);let _0x367f77,_0x3b76b2;try{_0x367f77=await _0x4494f1[_0x47c3('0x18')](_0x4b6a3e);}catch(_0x5b6e37){return void console[_0x47c3('0x3d')](_0x5b6e37);}_0x3dd571[_0x47c3('0x4a')][_0x47c3('0x9')](_0x1551de=>{for(const _0x49347d of Array[_0x47c3('0x1d')](_0x3dd571[_0x47c3('0x4a')]['markers'][_0x47c3('0x52')](_0x47c3('0x48'))))_0x1551de[_0x47c3('0x16')](_0x49347d);}),_0x4494f1['isReady']=!0x1,_0x3dd571[_0x47c3('0x1b')]['set'](_0x367f77,{'suppressErrorInCollaboration':!0x0});const _0x3db35c=_0x1c8245(_0x3dd571[_0x47c3('0x2c')],_0x47c3('0x1'));if(_0x4b6a3e[_0x47c3('0x4c')])_0x3b76b2=-0x1==_0x4b6a3e[_0x47c3('0x4c')][_0x47c3('0x58')](_0x3db35c)?_0x3db35c+':\x20'+_0x4b6a3e[_0x47c3('0x4c')]:_0x4b6a3e[_0x47c3('0x4c')];else _0x3b76b2=_0x3db35c+':\x20'+(_0x4b6a3e['createdAt'][_0x47c3('0x4e')](_0x3dd571['locale'][_0x47c3('0x39')],{'month':_0x47c3('0x4f'),'day':_0x47c3('0x50')})+',\x20'+_0x4b6a3e[_0x47c3('0x3')][_0x47c3('0x1c')](_0x3dd571[_0x47c3('0x2c')][_0x47c3('0x39')],{'hour':_0x47c3('0x50'),'minute':'numeric'}));return await _0x220430['saveRevision']({'name':_0x3b76b2}),_0x4494f1[_0x47c3('0x60')]=!0x0,_0x3dd571[_0x47c3('0x11')][_0x47c3('0x4')](_0x47c3('0x5'))[_0x47c3('0x5b')]();}}function b(_0x3f8848,_0xd044c3,_0x17678d){const _0x1e3395='function'==typeof _0x3f8848?_0x3f8848[_0x47c3('0x2b')]||_0x3f8848[_0x47c3('0x4c')]:_0x3f8848;if(_0x17678d[_0x47c3('0x1a')](_0x1e3395))return!0x0;if(_0x17678d[_0x47c3('0x4b')](_0x1e3395),k[_0x47c3('0x1a')](_0x1e3395))return!0x1;const _0x356147=((_0x47c3('0x13')==typeof _0x3f8848?_0x3f8848:_0xd044c3[_0x47c3('0xb')](_0x1e3395)?_0xd044c3[_0x47c3('0x4')](_0x1e3395):{})[_0x47c3('0x10')]||[])[_0x47c3('0x0')](_0x3d4d3a=>b(_0x3d4d3a,_0xd044c3,_0x17678d));return _0x356147||k[_0x47c3('0x4b')](_0x1e3395),_0x356147;}