@ckeditor/ckeditor5-revision-history 47.3.0-alpha.7 → 47.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/package.json +12 -12
- 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/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "47.3.0
|
|
3
|
+
"version": "47.3.0",
|
|
4
4
|
"description": "Document revision history feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,18 +39,18 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-autosave": "47.3.0
|
|
43
|
-
"@ckeditor/ckeditor5-collaboration-core": "47.3.0
|
|
44
|
-
"@ckeditor/ckeditor5-comments": "47.3.0
|
|
45
|
-
"@ckeditor/ckeditor5-core": "47.3.0
|
|
46
|
-
"@ckeditor/ckeditor5-editor-classic": "47.3.0
|
|
47
|
-
"@ckeditor/ckeditor5-engine": "47.3.0
|
|
48
|
-
"@ckeditor/ckeditor5-icons": "47.3.0
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "47.3.0
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "47.3.0
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "47.3.0",
|
|
43
|
+
"@ckeditor/ckeditor5-collaboration-core": "47.3.0",
|
|
44
|
+
"@ckeditor/ckeditor5-comments": "47.3.0",
|
|
45
|
+
"@ckeditor/ckeditor5-core": "47.3.0",
|
|
46
|
+
"@ckeditor/ckeditor5-editor-classic": "47.3.0",
|
|
47
|
+
"@ckeditor/ckeditor5-engine": "47.3.0",
|
|
48
|
+
"@ckeditor/ckeditor5-icons": "47.3.0",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "47.3.0",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "47.3.0",
|
|
51
51
|
"@types/luxon": "3.6.2",
|
|
52
|
-
"ckeditor5": "47.3.0
|
|
53
|
-
"ckeditor5-collaboration": "47.3.0
|
|
52
|
+
"ckeditor5": "47.3.0",
|
|
53
|
+
"ckeditor5-collaboration": "47.3.0",
|
|
54
54
|
"es-toolkit": "1.39.5",
|
|
55
55
|
"luxon": "3.6.1"
|
|
56
56
|
},
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x378e1a,_0x1808f5){const _0x526531=_0x2600,_0x5507dc=_0x378e1a();while(!![]){try{const _0x5518af=parseInt(_0x526531(0x123))/0x1*(-parseInt(_0x526531(0x14e))/0x2)+-parseInt(_0x526531(0x13a))/0x3+-parseInt(_0x526531(0x148))/0x4*(-parseInt(_0x526531(0x121))/0x5)+parseInt(_0x526531(0x125))/0x6*(-parseInt(_0x526531(0x122))/0x7)+-parseInt(_0x526531(0x12f))/0x8*(parseInt(_0x526531(0x13f))/0x9)+parseInt(_0x526531(0x128))/0xa+-parseInt(_0x526531(0x131))/0xb*(-parseInt(_0x526531(0x126))/0xc);if(_0x5518af===_0x1808f5)break;else _0x5507dc['push'](_0x5507dc['shift']());}catch(_0x3e89ce){_0x5507dc['push'](_0x5507dc['shift']());}}}(_0x5ba2,0x89ba5));import{Collection as _0x4f7478}from'ckeditor5/src/utils.js';import{IconThreeVerticalDots as _0x574489}from'ckeditor5/src/icons.js';import{UIModel as _0x305ff3,addListToDropdown as _0x33b9e9,createDropdown as _0x2fc050}from'ckeditor5/src/ui.js';import{getTranslation as _0x2ff578}from'../../utils/common-translations.js';function _0x5ba2(){const _0x53d3c9=['set','4nqUVIr','menu','extendTemplate','isActionsDropdownOpen','listenTo','function','40IpoSrq','18823WvYDlX','408827pGTXEp','ck-on','1452wGlRJo','1668lGmaPE','model','382980LWBdNm','items','change:isActionsDropdownOpen','locale','children','isEnabled','add','4240AXMlll','source','205293MrvHEd','isReady','isVisible','first','bindTemplate','class','Restore\x20this\x20revision','bind','stopPropagation','2177484AZxZMj','execute','ck-revision-history-sidebar__revision__actions','menuitem','listView','9387exDAwE','Show\x20more\x20items','name','Name\x20this\x20revision','action','panelPosition','button','buttonView','find','339344kRJrVK','_action','Compare\x20against\x20selected','map','isOpen'];_0x5ba2=function(){return _0x53d3c9;};return _0x5ba2();}function _0x2600(_0x16bca3,_0x3e10ea){const _0x5ba2e6=_0x5ba2();return _0x2600=function(_0x26005c,_0x485212){_0x26005c=_0x26005c-0x120;let _0x1c65c5=_0x5ba2e6[_0x26005c];return _0x1c65c5;},_0x2600(_0x16bca3,_0x3e10ea);}import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x1447de,_0x4143c8){const _0x30f139=_0x2600,_0x58c4f5=_0x1447de[_0x30f139(0x135)],_0x2885fb=_0x1447de[_0x30f139(0x12b)],_0x255cfa=_0x2fc050(_0x2885fb);_0x255cfa[_0x30f139(0x144)]='sw';const _0x3bb0b2=function(_0x3165cd,_0x4d9fdc){const _0x2d41ac=_0x30f139,_0x254347=function(_0xccc7d4,_0x178f31){const _0x55904c=_0x2600,_0x3ceba2=_0xccc7d4[_0x55904c(0x12b)],_0x580f1d={'Compare\x20against\x20selected':_0x2ff578(_0x3ceba2,_0x55904c(0x14a)),'Name\x20this\x20revision':_0x2ff578(_0x3ceba2,_0x55904c(0x142)),'Restore\x20this\x20revision':_0x2ff578(_0x3ceba2,_0x55904c(0x137))};return _0x178f31[_0x55904c(0x14b)](_0x45c335=>{const _0x17e38a=_0x55904c,_0x26fbfd=_0x580f1d[_0x45c335[_0x17e38a(0x141)]];return _0x26fbfd&&_0x26fbfd!==_0x45c335[_0x17e38a(0x141)]&&(_0x45c335[_0x17e38a(0x141)]=_0x26fbfd),_0x45c335;});}(_0x3165cd,_0x4d9fdc),_0x42a255=new _0x4f7478();for(const _0x25f443 of _0x254347){const _0x507045={'type':_0x2d41ac(0x145),'model':new _0x305ff3({'label':_0x25f443[_0x2d41ac(0x141)],'class':_0x25f443[_0x2d41ac(0x136)],'withText':!0x0,'role':_0x2d41ac(0x13d),'_action':_0x25f443[_0x2d41ac(0x143)]})};_0x507045[_0x2d41ac(0x127)][_0x2d41ac(0x138)](_0x2d41ac(0x12d))['to'](_0x3165cd,_0x2d41ac(0x151),_0x278b28=>_0x2d41ac(0x120)!=typeof _0x25f443[_0x2d41ac(0x12d)]||(!_0x278b28||_0x25f443[_0x2d41ac(0x12d)](_0x3165cd))),_0x42a255[_0x2d41ac(0x12e)](_0x507045);}return _0x42a255;}(_0x1447de,_0x4143c8);return _0x1447de[_0x30f139(0x138)](_0x30f139(0x151))['to'](_0x255cfa,_0x30f139(0x14c)),_0x255cfa[_0x30f139(0x146)][_0x30f139(0x14d)]({'label':_0x2ff578(_0x2885fb,_0x30f139(0x140)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x574489}),_0x255cfa[_0x30f139(0x150)]({'attributes':{'class':[_0x30f139(0x13c),_0x58c4f5['if'](_0x30f139(0x151),_0x30f139(0x124))]},'on':{'click':_0x58c4f5['to'](_0x3388e8=>_0x3388e8[_0x30f139(0x139)]())}}),_0x255cfa['on'](_0x30f139(0x13b),_0x4d0dec=>{const _0x5ead7c=_0x30f139;_0x1447de[_0x5ead7c(0x132)]&&_0x5ead7c(0x120)==typeof _0x4d0dec[_0x5ead7c(0x130)][_0x5ead7c(0x149)]&&_0x4d0dec[_0x5ead7c(0x130)][_0x5ead7c(0x149)](_0x1447de);}),_0x33b9e9(_0x255cfa,_0x3bb0b2,{'role':_0x30f139(0x14f)}),_0x255cfa[_0x30f139(0x152)](_0x1447de,_0x30f139(0x12a),(_0x33e136,_0x23e1f1,_0x371366)=>{const _0x2fc8ae=_0x30f139;if(_0x371366)for(const _0x4158d8 of _0x255cfa[_0x2fc8ae(0x13e)][_0x2fc8ae(0x129)]){const _0x7af95d=_0x4158d8[_0x2fc8ae(0x12c)][_0x2fc8ae(0x134)],_0xff7de5=_0x4143c8[_0x2fc8ae(0x147)](_0x36a3de=>_0x36a3de[_0x2fc8ae(0x143)]===_0x7af95d[_0x2fc8ae(0x149)])[_0x2fc8ae(0x133)];_0x4158d8[_0x2fc8ae(0x133)]=void 0x0===_0xff7de5||_0xff7de5(_0x1447de);}}),_0x255cfa;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x30a2(){const _0x124f38=['635568KXXtyH','60FEJTGt','120028GJCvCa','span','4802295VdXier','11000caAxLB','9zHjGhV','490180ZQoGhO','ck-revision-history-sidebar__revision-author__name','Revision\x20author','13827CCgzHR','0\x200\x2011\x2010','ck-revision-history-sidebar__revision-author_creator','1062110jkprYY','setTemplate','99jgqSIu','5706328YgcWhn','ck-revision-history-sidebar__revision-author','name','push','set','Revision\x20creator'];_0x30a2=function(){return _0x124f38;};return _0x30a2();}(function(_0x4a7aa7,_0x5eaad8){const _0x1f6df5=_0x3d6b,_0xa8fb3e=_0x4a7aa7();while(!![]){try{const _0x56de57=-parseInt(_0x1f6df5(0x186))/0x1+-parseInt(_0x1f6df5(0x18d))/0x2+parseInt(_0x1f6df5(0x17f))/0x3*(-parseInt(_0x1f6df5(0x188))/0x4)+-parseInt(_0x1f6df5(0x18a))/0x5+-parseInt(_0x1f6df5(0x187))/0x6*(-parseInt(_0x1f6df5(0x17d))/0x7)+-parseInt(_0x1f6df5(0x180))/0x8*(-parseInt(_0x1f6df5(0x18c))/0x9)+-parseInt(_0x1f6df5(0x18b))/0xa*(-parseInt(_0x1f6df5(0x190))/0xb);if(_0x56de57===_0x5eaad8)break;else _0xa8fb3e['push'](_0xa8fb3e['shift']());}catch(_0x5a4451){_0xa8fb3e['push'](_0xa8fb3e['shift']());}}}(_0x30a2,0xbee77));import{View as _0x350108,IconView as _0x436e55}from'ckeditor5/src/ui.js';import{IconUser as _0x2f8568}from'ckeditor5/src/icons.js';import{getTranslation as _0x35f644}from'../../utils/common-translations.js';function _0x3d6b(_0x1b563e,_0xa617b2){const _0x30a24b=_0x30a2();return _0x3d6b=function(_0x3d6b4f,_0xbd2719){_0x3d6b4f=_0x3d6b4f-0x17d;let _0x3ba52c=_0x30a24b[_0x3d6b4f];return _0x3ba52c;},_0x3d6b(_0x1b563e,_0xa617b2);}import'../../../theme/revision/revisionauthor.css';export class RevisionAuthorView extends _0x350108{constructor(_0x18a92e,_0x273676,_0x108830){const _0x560e28=_0x3d6b;super(_0x18a92e);const _0x48e81f=new _0x436e55();_0x48e81f[_0x560e28(0x184)]({'content':_0x2f8568,'viewBox':_0x560e28(0x191)});const _0x405c7d=['ck',_0x560e28(0x181)];_0x108830&&_0x405c7d[_0x560e28(0x183)](_0x560e28(0x192));const _0x31a349=[{'tag':_0x560e28(0x189),'attributes':{'class':['ck',_0x560e28(0x18e)],'title':_0x35f644(_0x18a92e,_0x108830?_0x560e28(0x185):_0x560e28(0x18f))},'children':[_0x48e81f,_0x273676[_0x560e28(0x182)]]}];this[_0x560e28(0x17e)]({'tag':'li','attributes':{'class':_0x405c7d},'children':_0x31a349});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1e3f2=_0x5c47;(function(_0x2004fa,_0x4fce63){const _0x3df85c=_0x5c47,_0x53314e=_0x2004fa();while(!![]){try{const _0x103934=parseInt(_0x3df85c(0x19f))/0x1+parseInt(_0x3df85c(0x188))/0x2+parseInt(_0x3df85c(0x19d))/0x3+parseInt(_0x3df85c(0x1a2))/0x4+parseInt(_0x3df85c(0x189))/0x5*(-parseInt(_0x3df85c(0x187))/0x6)+-parseInt(_0x3df85c(0x1a0))/0x7*(parseInt(_0x3df85c(0x18c))/0x8)+-parseInt(_0x3df85c(0x199))/0x9*(-parseInt(_0x3df85c(0x195))/0xa);if(_0x103934===_0x4fce63)break;else _0x53314e['push'](_0x53314e['shift']());}catch(_0xe30b89){_0x53314e['push'](_0x53314e['shift']());}}}(_0x5b16,0x77ea7));import{LabeledFieldView as _0x32a3ae}from'ckeditor5/src/ui.js';import{ResizeObserver as _0xc25212}from'ckeditor5/src/utils.js';function _0x5b16(){const _0x17452f=['bindTemplate','1984347ubcqJq','value','368142KtGygQ','34370NnCGrJ','Revision\x20name','887172YkhGid','ck-tooltip_multi-line','destroy','clientWidth','534WswilB','1682936YfmFxQ','53110pPitzW','span','extendTemplate','1096iKWNvn','render','ck-revision-history-sidebar__revision-name','fieldView','placeholder','listenTo','Enter\x20the\x20revision\x20name','input','set','10Itqzfo','_tooltipString','element','_updateTooltipText','147159dMznXF','scrollWidth','_resizeObserver'];_0x5b16=function(){return _0x17452f;};return _0x5b16();}function _0x5c47(_0x2caf1f,_0x23f2d9){const _0x5b1642=_0x5b16();return _0x5c47=function(_0x5c471f,_0x42702c){_0x5c471f=_0x5c471f-0x184;let _0x369143=_0x5b1642[_0x5c471f];return _0x369143;},_0x5c47(_0x2caf1f,_0x23f2d9);}import{getTranslation as _0x4646fb}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export class RevisionNameView extends _0x32a3ae{[_0x1e3f2(0x19b)]=null;constructor(_0x25945c,_0x4d256e){const _0x5b4796=_0x1e3f2;super(_0x25945c,_0x4d256e);const _0x197b3a=this[_0x5b4796(0x19c)];this[_0x5b4796(0x194)]({'label':_0x4646fb(_0x25945c,_0x5b4796(0x1a1)),'_tooltipString':''}),this[_0x5b4796(0x18f)][_0x5b4796(0x190)]=_0x4646fb(_0x25945c,_0x5b4796(0x192)),this[_0x5b4796(0x18b)]({'tag':_0x5b4796(0x18a),'attributes':{'class':[_0x5b4796(0x18e)],'data-cke-tooltip-text':_0x197b3a['to'](_0x5b4796(0x196)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x5b4796(0x184)}});}[_0x1e3f2(0x18d)](){const _0x1a8bcb=_0x1e3f2;super[_0x1a8bcb(0x18d)](),this[_0x1a8bcb(0x19b)]=new _0xc25212(this[_0x1a8bcb(0x18f)][_0x1a8bcb(0x197)],()=>this[_0x1a8bcb(0x198)]()),this[_0x1a8bcb(0x191)](this[_0x1a8bcb(0x18f)],_0x1a8bcb(0x193),()=>this[_0x1a8bcb(0x198)]());}[_0x1e3f2(0x185)](){const _0x5056ae=_0x1e3f2;super[_0x5056ae(0x185)](),this[_0x5056ae(0x19b)]&&this[_0x5056ae(0x19b)][_0x5056ae(0x185)]();}[_0x1e3f2(0x198)](){const _0x5c020f=_0x1e3f2,_0x312809=this[_0x5c020f(0x18f)][_0x5c020f(0x197)];this[_0x5c020f(0x196)]=_0x312809[_0x5c020f(0x19a)]>_0x312809[_0x5c020f(0x186)]&&_0x312809[_0x5c020f(0x19e)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x4fd43b=_0x2c88;function _0x2c88(_0x5631ad,_0x6a60e2){const _0x57f22f=_0x57f2();return _0x2c88=function(_0x2c88b9,_0x257e89){_0x2c88b9=_0x2c88b9-0x132;let _0x3be592=_0x57f22f[_0x2c88b9];return _0x3be592;},_0x2c88(_0x5631ad,_0x6a60e2);}(function(_0x42a630,_0x57c5cd){const _0x12747e=_0x2c88,_0x1bceb5=_0x42a630();while(!![]){try{const _0xb6fcd=parseInt(_0x12747e(0x161))/0x1+parseInt(_0x12747e(0x15c))/0x2*(-parseInt(_0x12747e(0x136))/0x3)+-parseInt(_0x12747e(0x142))/0x4+-parseInt(_0x12747e(0x13a))/0x5+parseInt(_0x12747e(0x13d))/0x6*(parseInt(_0x12747e(0x148))/0x7)+parseInt(_0x12747e(0x137))/0x8*(parseInt(_0x12747e(0x172))/0x9)+-parseInt(_0x12747e(0x14b))/0xa;if(_0xb6fcd===_0x57c5cd)break;else _0x1bceb5['push'](_0x1bceb5['shift']());}catch(_0x3fea81){_0x1bceb5['push'](_0x1bceb5['shift']());}}}(_0x57f2,0x54391));function _0x57f2(){const _0x4128b7=['9EYXKCk','3887496kPFpHl','ck-revision-history-sidebar__revision__date','authors','1772395kGlokC','isConfirm','creator','1002VbAyYu','ck-revision-history-sidebar__revision_selected','fieldView','span','deselect','547200Phnkyf','setTemplate','setName','uiLanguage','ck-revision-history-sidebar__revision','createdAt','19831ikBkbW','select','isReady','1816600ksIfcI','_createdAtFormatted','element','ck-revision-history-sidebar__actions_dropdown_open','extendTemplate','div','unhighlight','220','value','ck-reset','filter','bindTemplate','set','.ck-confirm-view','srcElement','highlight','ck-revision-history-sidebar__revision__controls-wrapper','303060BWOCYg','ck-revision-history-sidebar__revision-wrapper','ck-revision-history-sidebar__revision_highlighted','revisionActionsView','_requireRevisionName','513458fStruP','length','ck-revision-history-sidebar__revision-authors','isSelected','ck-disabled','bind','map','_revision','from','closest','render','isActionsDropdownOpen','isEnabled','isHighlighted','unshift','name','fire','9SekifS','listenTo','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','change','revisionNameView'];_0x57f2=function(){return _0x4128b7;};return _0x57f2();}import{View as _0x692cf5,createLabeledInputText as _0x2dcd55}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x551914}from'ckeditor5-collaboration/src/collaboration-core.js';import{RevisionNameView as _0x286040}from'./revisionnameview.js';import{RevisionAuthorView as _0x8e8fa6}from'./revisionauthorview.js';import{dateToPrettyFormat as _0x2e2cab}from'./utils.js';import{createActionsDropdownView as _0x4d6156}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export class RevisionView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x551914(_0x692cf5){['id'];[_0x4fd43b(0x135)];[_0x4fd43b(0x15f)];[_0x4fd43b(0x168)];[_0x4fd43b(0x160)];constructor(_0x20b27d,_0x48ab17,_0x46fe33,_0x2c26f5){const _0x489a8c=_0x4fd43b;super(_0x20b27d);const _0x20d74b=this[_0x489a8c(0x156)],_0x1043ad=function(_0x513f53,_0x2d8759){const _0x7b8132=_0x489a8c,_0x592208=Array[_0x7b8132(0x169)](_0x2d8759[_0x7b8132(0x139)])[_0x7b8132(0x155)](_0x2f54ee=>_0x2f54ee!=_0x2d8759[_0x7b8132(0x13c)]);return _0x2d8759[_0x7b8132(0x13c)]&&_0x592208[_0x7b8132(0x16f)](_0x2d8759[_0x7b8132(0x13c)]),_0x592208[_0x7b8132(0x167)](_0x227682=>new _0x8e8fa6(_0x513f53,_0x227682,_0x227682==_0x2d8759[_0x7b8132(0x13c)]));}(_0x20b27d,_0x48ab17);this['id']=_0x48ab17['id'],this[_0x489a8c(0x168)]=_0x48ab17,this[_0x489a8c(0x160)]=_0x2c26f5,this[_0x489a8c(0x166)](_0x489a8c(0x170),_0x489a8c(0x147))['to'](_0x48ab17),this[_0x489a8c(0x166)](_0x489a8c(0x14c))['to'](this,_0x489a8c(0x147),_0x10d726=>_0x2e2cab(_0x20b27d[_0x489a8c(0x145)],_0x10d726)),this[_0x489a8c(0x157)](_0x489a8c(0x164),!0x1),this[_0x489a8c(0x157)](_0x489a8c(0x16e),!0x1),this[_0x489a8c(0x157)](_0x489a8c(0x16c),!0x1),this[_0x489a8c(0x157)](_0x489a8c(0x14a),!0x1),this[_0x489a8c(0x157)](_0x489a8c(0x16d),!0x1),this[_0x489a8c(0x135)]=new _0x286040(_0x20b27d,_0x2dcd55),this[_0x489a8c(0x135)][_0x489a8c(0x13f)][_0x489a8c(0x14f)]({'attributes':{'maxlength':_0x489a8c(0x152)}}),this[_0x489a8c(0x135)][_0x489a8c(0x13f)][_0x489a8c(0x166)](_0x489a8c(0x153))['to'](this,_0x489a8c(0x170),_0x5251d1=>_0x5251d1||this[_0x489a8c(0x14c)]),this[_0x489a8c(0x135)][_0x489a8c(0x166)](_0x489a8c(0x16d))['to'](this,_0x489a8c(0x164),this,_0x489a8c(0x16d),(_0x2c4163,_0x151ead)=>_0x2c4163&&_0x151ead),this[_0x489a8c(0x15f)]=_0x46fe33&&_0x46fe33[_0x489a8c(0x162)]?_0x4d6156(this,_0x46fe33):'',this[_0x489a8c(0x15f)]&&this[_0x489a8c(0x15f)][_0x489a8c(0x166)](_0x489a8c(0x16d))['to'](this),this[_0x489a8c(0x143)]({'tag':_0x489a8c(0x150),'attributes':{'class':['ck',_0x489a8c(0x154),_0x489a8c(0x15d),_0x20d74b['if'](_0x489a8c(0x13b),_0x489a8c(0x133))]},'children':[{'tag':_0x489a8c(0x150),'attributes':{'class':['ck',_0x489a8c(0x154),_0x489a8c(0x146),_0x20d74b['if'](_0x489a8c(0x16d),_0x489a8c(0x165),_0x51e25e=>!_0x51e25e),_0x20d74b['if'](_0x489a8c(0x164),_0x489a8c(0x13e)),_0x20d74b['if'](_0x489a8c(0x16e),_0x489a8c(0x15e)),_0x20d74b['if'](_0x489a8c(0x16c),_0x489a8c(0x14e))]},'children':[this[_0x489a8c(0x135)],{'tag':_0x489a8c(0x140),'attributes':{'class':['ck',_0x489a8c(0x138)]},'children':[{'text':_0x20d74b['to'](_0x489a8c(0x14c))}]},{'tag':_0x489a8c(0x150),'attributes':{'class':['ck',_0x489a8c(0x15b)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x489a8c(0x163)]},'children':_0x1043ad}]},this[_0x489a8c(0x15f)]],'on':{'click':_0x20d74b['to'](_0x1481c3=>{const _0x3f7b8a=_0x489a8c;_0x1481c3[_0x3f7b8a(0x159)][_0x3f7b8a(0x16a)](_0x3f7b8a(0x158))||this[_0x3f7b8a(0x14a)]&&this[_0x3f7b8a(0x16d)]&&this[_0x3f7b8a(0x171)](_0x3f7b8a(0x149),{'id':this['id']});})}}]});}[_0x4fd43b(0x16b)](){const _0x3143c1=_0x4fd43b;super[_0x3143c1(0x16b)]();const _0x53a6c3=this[_0x3143c1(0x135)][_0x3143c1(0x13f)][_0x3143c1(0x14d)];this[_0x3143c1(0x132)](_0x53a6c3,_0x3143c1(0x134),()=>{const _0x150cae=_0x3143c1;this[_0x150cae(0x160)]&&!_0x53a6c3[_0x150cae(0x153)]||this[_0x150cae(0x171)](_0x150cae(0x144),{'id':this['id'],'name':_0x53a6c3[_0x150cae(0x153)]}),_0x53a6c3[_0x150cae(0x153)]||(_0x53a6c3[_0x150cae(0x153)]=this[_0x150cae(0x170)]?this[_0x150cae(0x170)]:this[_0x150cae(0x14c)]);});}[_0x4fd43b(0x149)](){const _0x271809=_0x4fd43b;this[_0x271809(0x164)]=!0x0;}[_0x4fd43b(0x141)](){const _0x1f3cb3=_0x4fd43b;this[_0x1f3cb3(0x164)]=!0x1;}[_0x4fd43b(0x15a)](){const _0x5375df=_0x4fd43b;this[_0x5375df(0x16e)]=!0x0;}[_0x4fd43b(0x151)](){const _0x5f4c28=_0x4fd43b;this[_0x5f4c28(0x16e)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x370a95=_0x1b1f;(function(_0x493c4d,_0x3f2c8d){const _0x453bce=_0x1b1f,_0x23c44e=_0x493c4d();while(!![]){try{const _0x2e39ab=parseInt(_0x453bce(0xb0))/0x1*(-parseInt(_0x453bce(0xb3))/0x2)+-parseInt(_0x453bce(0xa1))/0x3+-parseInt(_0x453bce(0xb4))/0x4+-parseInt(_0x453bce(0xb1))/0x5*(parseInt(_0x453bce(0xa4))/0x6)+-parseInt(_0x453bce(0xb9))/0x7+-parseInt(_0x453bce(0xab))/0x8*(-parseInt(_0x453bce(0xb5))/0x9)+parseInt(_0x453bce(0xa3))/0xa*(parseInt(_0x453bce(0xb6))/0xb);if(_0x2e39ab===_0x3f2c8d)break;else _0x23c44e['push'](_0x23c44e['shift']());}catch(_0x3521eb){_0x23c44e['push'](_0x23c44e['shift']());}}}(_0x29a6,0x8f594));import{View as _0x45dab9}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';function _0x1b1f(_0x518716,_0x1655fa){const _0x29a658=_0x29a6();return _0x1b1f=function(_0x1b1ffa,_0x1443bb){_0x1b1ffa=_0x1b1ffa-0xa0;let _0x34ea5f=_0x29a658[_0x1b1ffa];return _0x34ea5f;},_0x1b1f(_0x518716,_0x1655fa);}function _0x29a6(){const _0x593168=['ck-hidden','ck-revision-history-sidebar__subrevision-collapser_collapsed','5574824oRrNHM','true','isVisible','ck-revision-history-sidebar__subrevision-collapser__inner','button','113919ZdDKgk','5uESXog','setTemplate','6HnSBjt','2646128vVFxdx','9oeqenC','22hXRMCv','bindTemplate','false','4152211QLwGsI','set','568086UHSZQE','span','11873720rTUkad','4191702AIjwoU','_isCollapsed','click','toggle','ck-revision-history-sidebar__subrevision-collapser'];_0x29a6=function(){return _0x593168;};return _0x29a6();}export class SubrevisionCollapserView extends _0x45dab9{constructor(_0x1063d6){const _0x3ca44e=_0x1b1f;super(_0x1063d6);const _0xc08a44=this[_0x3ca44e(0xb7)];this[_0x3ca44e(0xa0)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x3ca44e(0xb2)]({'tag':_0x3ca44e(0xa2),'attributes':{'class':['ck',_0x3ca44e(0xa8),_0xc08a44['if'](_0x3ca44e(0xad),_0x3ca44e(0xa9),_0x411b5a=>!_0x411b5a),_0xc08a44['if'](_0x3ca44e(0xa5),_0x3ca44e(0xaa))],'role':_0x3ca44e(0xaf),'aria-pressed':_0xc08a44['to'](_0x3ca44e(0xa5),_0x145361=>_0x145361?_0x3ca44e(0xb8):_0x3ca44e(0xac))},'children':[{'tag':_0x3ca44e(0xa2),'attributes':{'class':['ck',_0x3ca44e(0xae)]}}],'on':{'click':_0xc08a44['to'](_0x3ca44e(0xa6))}});}[_0x370a95(0xa7)](){const _0x230c3e=_0x370a95;this[_0x230c3e(0xa5)]=!this[_0x230c3e(0xa5)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5263b9=_0x1cd7;function _0x1cd7(_0x45e030,_0x25273f){const _0xcc20a=_0xcc20();return _0x1cd7=function(_0x1cd701,_0x3443ba){_0x1cd701=_0x1cd701-0x1da;let _0x5165b7=_0xcc20a[_0x1cd701];return _0x5165b7;},_0x1cd7(_0x45e030,_0x25273f);}(function(_0x24ceba,_0x3dd1a6){const _0x338e99=_0x1cd7,_0x56bf0b=_0x24ceba();while(!![]){try{const _0x13b039=parseInt(_0x338e99(0x1dc))/0x1+-parseInt(_0x338e99(0x1f1))/0x2*(parseInt(_0x338e99(0x1da))/0x3)+parseInt(_0x338e99(0x1f5))/0x4*(-parseInt(_0x338e99(0x1f4))/0x5)+parseInt(_0x338e99(0x1ee))/0x6+parseInt(_0x338e99(0x1e8))/0x7*(-parseInt(_0x338e99(0x1eb))/0x8)+-parseInt(_0x338e99(0x1f0))/0x9+parseInt(_0x338e99(0x1f6))/0xa;if(_0x13b039===_0x3dd1a6)break;else _0x56bf0b['push'](_0x56bf0b['shift']());}catch(_0x25bc44){_0x56bf0b['push'](_0x56bf0b['shift']());}}}(_0xcc20,0xc27e2));import{View as _0x2d4d0e}from'ckeditor5/src/ui.js';import{RevisionAuthorView as _0x5799ea}from'./revisionauthorview.js';function _0xcc20(){const _0x513089=['ck-revision-history-sidebar__subrevision','161MYrWfN','ck-revision-history-sidebar__revision-authors','fire','409128qoAsTk','set','_parentRevisionId','9358278GFKmvI','_createdAtFormatted','10770957LpWWWu','302680zJwfgz','ck-revision-history-sidebar__revision__date','ck-revision-history-sidebar__revision','5zVkvfq','3362416LaKRng','22735470sXCmDp','isSelected','ck-revision-history-sidebar__revision_selected','3yxDebw','createdAt','328342SJIlEW','ck-reset','bindTemplate','bind','div','uiLanguage','creator','setTemplate','select','deselect','span'];_0xcc20=function(){return _0x513089;};return _0xcc20();}import{dateToPrettyFormat as _0x487604}from'./utils.js';import'../../../theme/revision/subrevision.css';export class SubrevisionView extends _0x2d4d0e{['id'];[_0x5263b9(0x1ed)];constructor(_0x348940,_0x1ac1c4,_0x44fff7){const _0x3d07fe=_0x5263b9;super(_0x348940);const _0x419e5c=this[_0x3d07fe(0x1de)];this['id']=_0x1ac1c4['id'],this[_0x3d07fe(0x1df)](_0x3d07fe(0x1db))['to'](_0x1ac1c4),this[_0x3d07fe(0x1ec)](_0x3d07fe(0x1f7),!0x1),this[_0x3d07fe(0x1df)](_0x3d07fe(0x1ef))['to'](this,_0x3d07fe(0x1db),_0x358d49=>_0x358d49?_0x487604(_0x348940[_0x3d07fe(0x1e1)],_0x358d49):void 0x0),this[_0x3d07fe(0x1ed)]=_0x44fff7,this[_0x3d07fe(0x1e3)]({'tag':_0x3d07fe(0x1e0),'attributes':{'class':['ck',_0x3d07fe(0x1dd),_0x3d07fe(0x1f3),_0x3d07fe(0x1e7),_0x419e5c['if'](_0x3d07fe(0x1f7),_0x3d07fe(0x1f8))]},'children':[{'tag':_0x3d07fe(0x1e6),'attributes':{'class':['ck',_0x3d07fe(0x1f2)]},'children':[{'text':_0x419e5c['to'](_0x3d07fe(0x1ef))}]},{'tag':'ul','attributes':{'class':['ck',_0x3d07fe(0x1e9)]},'children':[new _0x5799ea(_0x348940,_0x1ac1c4[_0x3d07fe(0x1e2)],!0x0)]}],'on':{'click':_0x419e5c['to'](this[_0x3d07fe(0x1e4)][_0x3d07fe(0x1df)](this))}});}[_0x5263b9(0x1e4)](){const _0xbbf1c6=_0x5263b9;this[_0xbbf1c6(0x1f7)]=!0x0,this[_0xbbf1c6(0x1ea)](_0xbbf1c6(0x1e4),{'parentId':this[_0xbbf1c6(0x1ed)]});}[_0x5263b9(0x1e5)](){const _0x115ee8=_0x5263b9;this[_0x115ee8(0x1f7)]=!0x1;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xf72b25=_0x351a;(function(_0x10f5aa,_0x25ed5d){const _0x2ce1dc=_0x351a,_0x394aac=_0x10f5aa();while(!![]){try{const _0x4487de=parseInt(_0x2ce1dc(0x13f))/0x1+-parseInt(_0x2ce1dc(0x119))/0x2+parseInt(_0x2ce1dc(0x135))/0x3+-parseInt(_0x2ce1dc(0x139))/0x4+-parseInt(_0x2ce1dc(0x143))/0x5*(parseInt(_0x2ce1dc(0x140))/0x6)+parseInt(_0x2ce1dc(0x13a))/0x7*(parseInt(_0x2ce1dc(0x141))/0x8)+-parseInt(_0x2ce1dc(0x128))/0x9*(-parseInt(_0x2ce1dc(0x13d))/0xa);if(_0x4487de===_0x25ed5d)break;else _0x394aac['push'](_0x394aac['shift']());}catch(_0x17122e){_0x394aac['push'](_0x394aac['shift']());}}}(_0x2de7,0xcf96a));import{CssTransitionDisablerMixin as _0x27b8b4,LabeledFieldView as _0x9c6661,View as _0x33dbbb,createLabeledInputText as _0xd3ed2,submitHandler as _0x2c933b}from'ckeditor5/src/ui.js';function _0x351a(_0xec89fb,_0x2a2862){const _0x2de7de=_0x2de7();return _0x351a=function(_0x351a45,_0x4e0a40){_0x351a45=_0x351a45-0x119;let _0x30d4a8=_0x2de7de[_0x351a45];return _0x30d4a8;},_0x351a(_0xec89fb,_0x2a2862);}import{FocusTracker as _0x285e89,KeystrokeHandler as _0x50dd3c}from'ckeditor5/src/utils.js';import{getTranslation as _0xa35cdb}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';function _0x2de7(){const _0x1d7d9c=['2411184bgDCAQ','Name\x20of\x20the\x20revision','optional','errorText','114420LstGEB','14HWxbZE','form','keystrokes','10mkgrWs','revisionNameInputValue','1050076PCEVhw','35754gjlNbh','1332536vHbFri','element','125zidmEH','revisionNameInputView','2419424GxmTUR','arrowleft','focusTracker','locale','render','arrowright','extendTemplate','trim','stopPropagation','listenTo','add','fieldView','220','_createRevisionNameInput','value','455724MrURYY','reset','revisionName','setTemplate','initializeCssTransitionDisablerMixin','input','ck-revision-history-save-revision-form','arrowup','label','arrowdown','focus','set','ck-responsive-form'];_0x2de7=function(){return _0x1d7d9c;};return _0x2de7();}import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x27b8b4(_0x33dbbb){[_0xf72b25(0x11b)];[_0xf72b25(0x13c)];[_0xf72b25(0x144)];constructor(_0x20e817,_0x3c79a0){const _0x557f3d=_0xf72b25;super(_0x20e817),this[_0x557f3d(0x11b)]=new _0x285e89(),this[_0x557f3d(0x13c)]=new _0x50dd3c(),this[_0x557f3d(0x133)](_0x557f3d(0x13e),''),this[_0x557f3d(0x144)]=this[_0x557f3d(0x126)](_0x3c79a0),this[_0x557f3d(0x12b)]({'tag':_0x557f3d(0x13b),'attributes':{'class':['ck',_0x557f3d(0x12e),_0x557f3d(0x134)],'tabindex':'-1'},'children':[this[_0x557f3d(0x144)]]}),this[_0x557f3d(0x12c)]();}[_0xf72b25(0x11d)](){const _0x4c037c=_0xf72b25;super[_0x4c037c(0x11d)](),_0x2c933b({'view':this}),this[_0x4c037c(0x11b)][_0x4c037c(0x123)](this[_0x4c037c(0x144)][_0x4c037c(0x142)]),this[_0x4c037c(0x13c)][_0x4c037c(0x122)](this[_0x4c037c(0x142)]);const _0x12771a=_0x3c970d=>_0x3c970d[_0x4c037c(0x121)]();this[_0x4c037c(0x13c)][_0x4c037c(0x133)](_0x4c037c(0x11e),_0x12771a),this[_0x4c037c(0x13c)][_0x4c037c(0x133)](_0x4c037c(0x11a),_0x12771a),this[_0x4c037c(0x13c)][_0x4c037c(0x133)](_0x4c037c(0x12f),_0x12771a),this[_0x4c037c(0x13c)][_0x4c037c(0x133)](_0x4c037c(0x131),_0x12771a);}[_0xf72b25(0x132)](){const _0x255a31=_0xf72b25;this[_0x255a31(0x144)][_0x255a31(0x132)]();}get[_0xf72b25(0x12a)](){const _0x5a12b1=_0xf72b25;return this[_0x5a12b1(0x144)][_0x5a12b1(0x124)][_0x5a12b1(0x142)][_0x5a12b1(0x127)][_0x5a12b1(0x120)]();}set[_0xf72b25(0x12a)](_0x49cca4){const _0x4ef658=_0xf72b25;this[_0x4ef658(0x144)][_0x4ef658(0x124)][_0x4ef658(0x142)][_0x4ef658(0x127)]=_0x49cca4[_0x4ef658(0x120)]();}[_0xf72b25(0x129)](){const _0x2913db=_0xf72b25;this[_0x2913db(0x144)][_0x2913db(0x124)][_0x2913db(0x142)][_0x2913db(0x127)]='',this[_0x2913db(0x144)][_0x2913db(0x138)]=null;}[_0xf72b25(0x126)](_0x4d32e2){const _0x22dc00=_0xf72b25,_0x1c3f4e=new _0x9c6661(this[_0x22dc00(0x11c)],_0xd3ed2),_0xd0bad=_0x1c3f4e[_0x22dc00(0x124)];_0xd0bad[_0x22dc00(0x11f)]({'attributes':{'maxlength':_0x22dc00(0x125)}});let _0x3e96ec=_0xa35cdb(this[_0x22dc00(0x11c)],_0x22dc00(0x136));return!_0x4d32e2&&(_0x3e96ec+='\x20('+_0xa35cdb(this[_0x22dc00(0x11c)],_0x22dc00(0x137))+')'),(_0x1c3f4e[_0x22dc00(0x130)]=_0x3e96ec,_0xd0bad['on'](_0x22dc00(0x12d),()=>{const _0x3cd68a=_0x22dc00;this[_0x3cd68a(0x13e)]=_0xd0bad[_0x3cd68a(0x142)][_0x3cd68a(0x127)][_0x3cd68a(0x120)]();}),_0x1c3f4e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2829(){const _0x1a9d0b=['_showDialog','submit','reset','isOfficialPlugin','587691QmcOeS','children','_createSaveRevisionButton','menuBar:revisionHistory','componentFactory','914949xzVgth','_createOpenRevisionButton','Open\x20revision\x20history','isReady','saveRevision','panelView','isEnabled','28266LMiBSj','errorText','20KgjOwJ','buttonView','Accept','showRevisionViewerCallback','_saveRevisionFormView','revisionName','_registerMenuComponent','isReadOnly','set','Revision\x20history','addMany','revisionHistory.requireRevisionName','show','5264vOVUHr','get','The\x20revision\x20name\x20cannot\x20be\x20empty.','menuitem','isOpen','items','view','Dialog','isPremiumPlugin','3387444MRiZkt','config','ck-button-action','editing','95532BQntpz','1038519PvKccp','listenTo','plugins','delegate','4151xGHscy','low','add','locale','170CyVuae','pluginName','role','revisionNameInputView','menu','Save\x20current\x20revision','revisionHistory','bind','RevisionTracker','execute','hide','editor','requires','Cancel','render','RevisionHistoryUI','focus','init','_createSaveRevisionFormView','revisionSave'];_0x2829=function(){return _0x1a9d0b;};return _0x2829();}const _0x461bf0=_0x286e;(function(_0xc4f8c3,_0x1d95a3){const _0x5a4f75=_0x286e,_0x3a9d01=_0xc4f8c3();while(!![]){try{const _0x14e70d=-parseInt(_0x5a4f75(0x169))/0x1+-parseInt(_0x5a4f75(0x148))/0x2+-parseInt(_0x5a4f75(0x16e))/0x3+-parseInt(_0x5a4f75(0x144))/0x4+parseInt(_0x5a4f75(0x177))/0x5*(-parseInt(_0x5a4f75(0x175))/0x6)+-parseInt(_0x5a4f75(0x14d))/0x7*(-parseInt(_0x5a4f75(0x13b))/0x8)+-parseInt(_0x5a4f75(0x149))/0x9*(-parseInt(_0x5a4f75(0x151))/0xa);if(_0x14e70d===_0x1d95a3)break;else _0x3a9d01['push'](_0x3a9d01['shift']());}catch(_0x562b60){_0x3a9d01['push'](_0x3a9d01['shift']());}}}(_0x2829,0x853a0));import{Plugin as _0xb4ec94}from'ckeditor5/src/core.js';import{IconHistory as _0x1dbc71}from'ckeditor5/src/icons.js';import{createDropdown as _0x5c4d38,ButtonView as _0x31ec72,ListItemView as _0x67f861,ListView as _0x2b6d3a,MenuBarMenuListItemButtonView as _0x502be0,MenuBarMenuListItemView as _0x142c62,MenuBarMenuListView as _0x1508c7,MenuBarMenuView as _0x48a35f}from'ckeditor5/src/ui.js';function _0x286e(_0x374292,_0x43f972){const _0x2829f8=_0x2829();return _0x286e=function(_0x286e8c,_0x3db1d1){_0x286e8c=_0x286e8c-0x136;let _0x4e556e=_0x2829f8[_0x286e8c];return _0x4e556e;},_0x286e(_0x374292,_0x43f972);}import{RevisionTracker as _0x5351e6}from'../../revisiontracker.js';import{RevisionHistorySaveRevisionFormView as _0x2334db}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x19cb3c}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0xb4ec94{static get[_0x461bf0(0x152)](){const _0x4b2c5d=_0x461bf0;return _0x4b2c5d(0x160);}static get[_0x461bf0(0x168)](){return!0x0;}static get[_0x461bf0(0x143)](){return!0x0;}static get[_0x461bf0(0x15d)](){return[_0x5351e6];}[_0x461bf0(0x17b)];[_0x461bf0(0x162)](){const _0x168424=_0x461bf0,_0x390383=this[_0x168424(0x15c)],_0x193e98=_0x390383[_0x168424(0x14b)][_0x168424(0x13c)](_0x168424(0x159));_0x390383['ui'][_0x168424(0x16d)][_0x168424(0x14f)](_0x168424(0x157),_0x1d4073=>{const _0x2fca2b=_0x168424,_0x1d3ba4=_0x5c4d38(_0x1d4073),_0x189dd4=_0x1d3ba4[_0x2fca2b(0x173)][_0x2fca2b(0x16a)],_0x145f3f=new _0x2b6d3a(_0x1d4073),_0x36a0b6=new _0x67f861(_0x1d4073),_0x519750=this[_0x2fca2b(0x16b)](_0x31ec72),_0x209768=new _0x67f861(_0x1d4073),_0x2653b5=this[_0x2fca2b(0x16f)](_0x31ec72);return _0x1d3ba4[_0x2fca2b(0x158)](_0x2fca2b(0x174))['to'](_0x193e98,_0x2fca2b(0x171),_0x193e98,_0x2fca2b(0x174),_0x390383,_0x2fca2b(0x17e),(_0x981e0c,_0x2ee5d2,_0x150b81)=>_0x981e0c&&_0x2ee5d2&&!_0x150b81),_0x1d3ba4[_0x2fca2b(0x178)][_0x2fca2b(0x136)]({'icon':_0x1dbc71,'label':_0x19cb3c(_0x1d4073,_0x2fca2b(0x137)),'tooltip':!0x0}),_0x519750[_0x2fca2b(0x136)]({'withText':!0x0,'role':_0x2fca2b(0x13e)}),_0x2653b5[_0x2fca2b(0x136)]({'withText':!0x0,'role':_0x2fca2b(0x13e)}),this[_0x2fca2b(0x14a)](_0x2653b5,_0x2fca2b(0x15a),()=>{const _0xe1c94e=_0x2fca2b;_0x1d3ba4[_0xe1c94e(0x13f)]=!0x1,_0x390383[_0xe1c94e(0x147)][_0xe1c94e(0x141)][_0xe1c94e(0x161)]();},{'priority':_0x2fca2b(0x14e)}),_0x36a0b6[_0x2fca2b(0x16a)][_0x2fca2b(0x14f)](_0x519750),_0x209768[_0x2fca2b(0x16a)][_0x2fca2b(0x14f)](_0x2653b5),_0x145f3f[_0x2fca2b(0x153)]=_0x2fca2b(0x155),_0x145f3f[_0x2fca2b(0x140)][_0x2fca2b(0x138)]([_0x36a0b6,_0x209768]),_0x189dd4[_0x2fca2b(0x14f)](_0x145f3f),_0x1d3ba4;}),_0x390383['ui'][_0x168424(0x16d)][_0x168424(0x14f)](_0x168424(0x16c),()=>this[_0x168424(0x17d)]());}[_0x461bf0(0x17d)](){const _0x197b14=_0x461bf0,_0x454899=this[_0x197b14(0x15c)],_0x5ca7d1=_0x454899[_0x197b14(0x150)],_0x83f4e2=_0x454899[_0x197b14(0x14b)][_0x197b14(0x13c)](_0x197b14(0x159)),_0x13b493=new _0x48a35f(_0x5ca7d1),_0x3fcd05=new _0x1508c7(_0x5ca7d1);_0x13b493[_0x197b14(0x158)](_0x197b14(0x174))['to'](_0x83f4e2,_0x197b14(0x171),_0x83f4e2,_0x197b14(0x174),_0x454899,_0x197b14(0x17e),(_0x510bcd,_0x40f8b5,_0x2433eb)=>_0x510bcd&&_0x40f8b5&&!_0x2433eb),_0x13b493[_0x197b14(0x178)][_0x197b14(0x136)]({'icon':_0x1dbc71,'label':_0x19cb3c(_0x5ca7d1,_0x197b14(0x137))});const _0x24158a=new _0x142c62(_0x5ca7d1,_0x13b493),_0x1036d0=this[_0x197b14(0x16b)](_0x502be0);_0x1036d0[_0x197b14(0x14c)](_0x197b14(0x15a))['to'](_0x13b493),_0x24158a[_0x197b14(0x16a)][_0x197b14(0x14f)](_0x1036d0),_0x3fcd05[_0x197b14(0x140)][_0x197b14(0x14f)](_0x24158a);const _0x3ae2c9=new _0x142c62(_0x5ca7d1,_0x13b493),_0x1b3578=this[_0x197b14(0x16f)](_0x502be0);return _0x1b3578[_0x197b14(0x14c)](_0x197b14(0x15a))['to'](_0x13b493),_0x3ae2c9[_0x197b14(0x16a)][_0x197b14(0x14f)](_0x1b3578),_0x3fcd05[_0x197b14(0x140)][_0x197b14(0x14f)](_0x3ae2c9),_0x13b493[_0x197b14(0x173)][_0x197b14(0x16a)][_0x197b14(0x14f)](_0x3fcd05),_0x13b493;}[_0x461bf0(0x16b)](_0x10605e){const _0x5a664f=_0x461bf0,_0x393c55=this[_0x5a664f(0x15c)],_0x1ec3fa=_0x393c55[_0x5a664f(0x14b)][_0x5a664f(0x13c)](_0x5a664f(0x159)),_0x593c24=new _0x10605e(_0x393c55[_0x5a664f(0x150)]);return _0x593c24[_0x5a664f(0x136)]({'label':_0x19cb3c(_0x393c55[_0x5a664f(0x150)],_0x5a664f(0x156))}),_0x593c24[_0x5a664f(0x158)](_0x5a664f(0x174))['to'](_0x1ec3fa,_0x5a664f(0x171),_0x1ec3fa,_0x5a664f(0x174),_0x393c55,_0x5a664f(0x17e),(_0x166cb0,_0x500d66,_0x42437d)=>_0x166cb0&&_0x500d66&&!_0x42437d),this[_0x5a664f(0x14a)](_0x593c24,_0x5a664f(0x15a),()=>{const _0x25ffd7=_0x5a664f;this[_0x25ffd7(0x165)]();}),_0x593c24;}[_0x461bf0(0x16f)](_0x2a8b34){const _0x17c435=_0x461bf0,_0x344f6d=this[_0x17c435(0x15c)],_0xfd4880=_0x344f6d[_0x17c435(0x14b)][_0x17c435(0x13c)](_0x17c435(0x159)),_0x28c7ff=new _0x2a8b34(_0x344f6d[_0x17c435(0x150)]);return _0x28c7ff[_0x17c435(0x136)]({'label':_0x19cb3c(_0x344f6d[_0x17c435(0x150)],_0x17c435(0x170))}),_0x28c7ff[_0x17c435(0x158)](_0x17c435(0x174))['to'](_0xfd4880,_0x17c435(0x171),_0x344f6d,_0x17c435(0x17e),(_0x241c63,_0x2de6ad)=>_0x241c63&&!_0x2de6ad),this[_0x17c435(0x14a)](_0x28c7ff,_0x17c435(0x15a),()=>{const _0x98c83b=_0x17c435;_0x344f6d[_0x98c83b(0x145)][_0x98c83b(0x13c)](_0x98c83b(0x157))[_0x98c83b(0x17a)]();}),_0x28c7ff;}[_0x461bf0(0x165)](){const _0x1f3f4d=_0x461bf0,_0x58c672=this[_0x1f3f4d(0x15c)],_0x5bea76=_0x58c672[_0x1f3f4d(0x150)],_0x49a37b=_0x58c672[_0x1f3f4d(0x14b)][_0x1f3f4d(0x13c)](_0x1f3f4d(0x142)),_0x3f7a37=_0x58c672[_0x1f3f4d(0x14b)][_0x1f3f4d(0x13c)](_0x1f3f4d(0x159));function _0x1a20b5(_0x378097){const _0x5da349=_0x1f3f4d;_0x58c672[_0x5da349(0x145)][_0x5da349(0x13c)](_0x5da349(0x139))&&''===_0x378097[_0x5da349(0x17c)]?_0x378097[_0x5da349(0x154)][_0x5da349(0x176)]=_0x19cb3c(_0x5bea76,_0x5da349(0x13d)):(_0x58c672[_0x5da349(0x14b)][_0x5da349(0x13c)](_0x5351e6)[_0x5da349(0x172)]({'name':_0x378097[_0x5da349(0x17c)]}),_0x49a37b[_0x5da349(0x15b)]());}this[_0x1f3f4d(0x17b)]||(this[_0x1f3f4d(0x163)](),this[_0x1f3f4d(0x17b)]['on'](_0x1f3f4d(0x166),()=>_0x1a20b5(this[_0x1f3f4d(0x17b)]))),this[_0x1f3f4d(0x17b)][_0x1f3f4d(0x167)](),_0x49a37b[_0x1f3f4d(0x13a)]({'id':_0x1f3f4d(0x164),'title':_0x19cb3c(_0x5bea76,_0x1f3f4d(0x156)),'isModal':!0x0,'content':this[_0x1f3f4d(0x17b)],'actionButtons':[{'label':_0x19cb3c(_0x58c672[_0x1f3f4d(0x150)],_0x1f3f4d(0x15e)),'withText':!0x0,'onExecute':()=>_0x49a37b[_0x1f3f4d(0x15b)]()},{'label':_0x19cb3c(_0x58c672[_0x1f3f4d(0x150)],_0x1f3f4d(0x179)),'class':_0x1f3f4d(0x146),'withText':!0x0,'onCreate'(_0x435f85){const _0x2b057f=_0x1f3f4d;_0x435f85[_0x2b057f(0x158)](_0x2b057f(0x174))['to'](_0x3f7a37,_0x2b057f(0x171),_0x3f7a37,_0x2b057f(0x174),_0x58c672,_0x2b057f(0x17e),(_0x423000,_0xe4a15b,_0x12bdab)=>_0x423000&&_0xe4a15b&&!_0x12bdab);},'onExecute':()=>_0x1a20b5(this[_0x1f3f4d(0x17b)])}]});}[_0x461bf0(0x163)](){const _0x422e2f=_0x461bf0,_0x1d0d03=this[_0x422e2f(0x15c)],_0xce8330=_0x1d0d03[_0x422e2f(0x150)];this[_0x422e2f(0x17b)]=new _0x2334db(_0xce8330,_0x1d0d03[_0x422e2f(0x145)][_0x422e2f(0x13c)](_0x422e2f(0x139))),this[_0x422e2f(0x17b)][_0x422e2f(0x15f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ee562=_0x55d1;(function(_0xe3eb83,_0x17d4c5){const _0x4bc5a9=_0x55d1,_0x491c54=_0xe3eb83();while(!![]){try{const _0x584548=-parseInt(_0x4bc5a9(0x117))/0x1*(parseInt(_0x4bc5a9(0x129))/0x2)+-parseInt(_0x4bc5a9(0x138))/0x3*(parseInt(_0x4bc5a9(0x11f))/0x4)+-parseInt(_0x4bc5a9(0x113))/0x5+parseInt(_0x4bc5a9(0x13b))/0x6*(-parseInt(_0x4bc5a9(0x132))/0x7)+-parseInt(_0x4bc5a9(0x12e))/0x8*(-parseInt(_0x4bc5a9(0x119))/0x9)+-parseInt(_0x4bc5a9(0x137))/0xa+parseInt(_0x4bc5a9(0x14c))/0xb;if(_0x584548===_0x17d4c5)break;else _0x491c54['push'](_0x491c54['shift']());}catch(_0x5ab355){_0x491c54['push'](_0x491c54['shift']());}}}(_0x5049,0x8eefe));import{Plugin as _0x53cff8}from'ckeditor5/src/core.js';import{RevisionsSidebarView as _0x4211d1}from'./revisionssidebarview.js';function _0x55d1(_0x1f437c,_0x3bfc7d){const _0x504940=_0x5049();return _0x55d1=function(_0x55d188,_0x33f739){_0x55d188=_0x55d188-0x10d;let _0x34d0b5=_0x504940[_0x55d188];return _0x34d0b5;},_0x55d1(_0x1f437c,_0x3bfc7d);}import{RevisionViewer as _0x305107}from'../../revisionviewer.js';function _0x5049(){const _0x4a64d4=['remove','_handleRevisionSetName','plugins','getEarlierVisibleRevision','get','revisionSetName','RevisionsSidebar','2CTOMCc','Compare\x20against\x20selected','diff','getRevision','selectRevision','2696RPoYcf','render','_sidebarView','_revisions','1757LQzKtb','highlightRevisions','config','map','pluginName','4473300Bvnrru','171579toiqiP','restoreRevision','fieldView','22254qNNkRe','name','availableRevisionActions','requires','timePeriodViews','revisionHistory.requireRevisionName','ready','_handleDiffChange','action','revisionViews','_handleEditorDataReady','Name\x20this\x20revision','setName','select','add','revisionHistory','_createRevisionActions','34996401eyMsHb','newRevisionId','change:diff','revisionSelected','element','appendChild','assign','data','listenTo','getIndex','defaultRevisionActions','revisionHistory.revisionActions','_revisionViewer','isSelected','restoreRevisionCallback','revisionHistory.viewerSidebarContainer','bind','nameRevision','isVisible','Restore\x20this\x20revision','isOfficialPlugin','isEnabled','length','compareAgainstSelected','string','getLaterVisibleRevision','isReady','862840EKVeTL','compare','isPremiumPlugin','destroy','1163553krKGbC','locale','15381CsmcKb','editor','getRevisionsInDiff','init','repository','_handleRevisionSelected','32kJUMpj','focus','_revisionsRepository'];_0x5049=function(){return _0x4a64d4;};return _0x5049();}export class RevisionsSidebar extends _0x53cff8{[_0x1ee562(0x158)];[_0x1ee562(0x121)];[_0x1ee562(0x130)];static [_0x1ee562(0x156)]=[_0x1ee562(0x10f),_0x1ee562(0x139),_0x1ee562(0x15d)];static [_0x1ee562(0x13d)]=(function(){const _0x2d1990=_0x1ee562;return{'compareAgainstSelected':{'name':_0x2d1990(0x12a),'action':({plugins:i},s)=>{const _0x533d7b=_0x2d1990,e=i[_0x533d7b(0x126)](_0x305107),n=e[_0x533d7b(0x11d)];let r=e[_0x533d7b(0x12b)][_0x533d7b(0x14d)],o=s['id'];n[_0x533d7b(0x155)](r)>n[_0x533d7b(0x155)](o)&&([r,o]=[o,r]),e[_0x533d7b(0x114)](r,o);},'isVisible':({plugins:i},s)=>{const _0x414235=_0x2d1990,e=i[_0x414235(0x126)](_0x305107);return!(e[_0x414235(0x11d)][_0x414235(0x11b)](e[_0x414235(0x12b)])[_0x414235(0x10e)]>0x2)&&!s[_0x414235(0x159)];}},'restoreRevision':{'name':_0x2d1990(0x15f),'action':(i,{id:s})=>{const _0x238781=_0x2d1990;i[_0x238781(0x134)][_0x238781(0x126)](_0x238781(0x14a))[_0x238781(0x15a)](s);},'isVisible':({plugins:i},s)=>!!i[_0x2d1990(0x126)](_0x305107)[_0x2d1990(0x11d)][_0x2d1990(0x111)](s['id'])},'nameRevision':{'name':_0x2d1990(0x146),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x225eb8=_0x2d1990,n=i[_0x225eb8(0x126)](_0x305107),r=n[_0x225eb8(0x11d)][_0x225eb8(0x125)](s);n[_0x225eb8(0x114)](s,r),e[_0x225eb8(0x120)](),e[_0x225eb8(0x13a)][_0x225eb8(0x148)]();}}};}());static get[_0x1ee562(0x136)](){const _0x431cbf=_0x1ee562;return _0x431cbf(0x128);}static get[_0x1ee562(0x160)](){return!0x0;}static get[_0x1ee562(0x115)](){return!0x0;}static get[_0x1ee562(0x13e)](){return[_0x305107];}constructor(_0x31f89d){const _0x293271=_0x1ee562;super(_0x31f89d),this[_0x293271(0x158)]=_0x31f89d[_0x293271(0x124)][_0x293271(0x126)](_0x305107),this[_0x293271(0x121)]=this[_0x293271(0x158)][_0x293271(0x11d)],this[_0x293271(0x130)]=null;}[_0x1ee562(0x11c)](){const _0x132062=_0x1ee562,_0x2b131c=this[_0x132062(0x121)][_0x132062(0x131)],_0x5e3d1c=this[_0x132062(0x14b)](),_0x11b33b=this[_0x132062(0x11a)][_0x132062(0x134)][_0x132062(0x126)](_0x132062(0x15b));this[_0x132062(0x130)]=new _0x4211d1(this[_0x132062(0x11a)][_0x132062(0x118)],_0x2b131c,_0x5e3d1c,this[_0x132062(0x11a)][_0x132062(0x134)][_0x132062(0x126)](_0x132062(0x140))),this[_0x132062(0x130)]['on'](_0x132062(0x14f),this[_0x132062(0x11e)][_0x132062(0x15c)](this)),this[_0x132062(0x130)]['on'](_0x132062(0x127),this[_0x132062(0x123)][_0x132062(0x15c)](this)),this[_0x132062(0x130)][_0x132062(0x15c)](_0x132062(0x10d))['to'](this[_0x132062(0x158)]),this[_0x132062(0x130)][_0x132062(0x13f)]['on'](_0x132062(0x149),(_0x33377c,_0xdd827)=>{const _0x17f951=_0x132062;_0xdd827[_0x17f951(0x144)]['on'](_0x17f951(0x149),(_0x4710b2,_0x5a360e)=>{const _0xb2f8c0=_0x17f951;_0x5a360e[_0xb2f8c0(0x15c)](_0xb2f8c0(0x10d),_0xb2f8c0(0x112))['to'](this[_0xb2f8c0(0x158)]);});}),this[_0x132062(0x130)][_0x132062(0x12f)](),this[_0x132062(0x154)](this[_0x132062(0x11a)][_0x132062(0x153)],_0x132062(0x141),this[_0x132062(0x145)][_0x132062(0x15c)](this)),this[_0x132062(0x154)](this[_0x132062(0x158)],_0x132062(0x14e),this[_0x132062(0x142)][_0x132062(0x15c)](this)),_0x11b33b[_0x132062(0x151)](this[_0x132062(0x130)][_0x132062(0x150)]);}[_0x1ee562(0x116)](){const _0x303066=_0x1ee562;this[_0x303066(0x130)][_0x303066(0x150)][_0x303066(0x122)](),this[_0x303066(0x130)][_0x303066(0x116)]();}[_0x1ee562(0x145)](){const _0x514fcb=_0x1ee562,_0x4b8aa9=this[_0x514fcb(0x121)][_0x514fcb(0x12c)](0x0);if(_0x4b8aa9){const _0x2a1707=this[_0x514fcb(0x121)][_0x514fcb(0x125)](_0x4b8aa9['id']);this[_0x514fcb(0x158)][_0x514fcb(0x114)](_0x4b8aa9,_0x2a1707);}}[_0x1ee562(0x11e)](_0x57544c,_0x337fd9){const _0x45931f=_0x1ee562,_0x592e78=this[_0x45931f(0x121)][_0x45931f(0x12c)](_0x337fd9['id']),_0xdfc0ab=this[_0x45931f(0x121)][_0x45931f(0x125)](_0x592e78['id']);this[_0x45931f(0x158)][_0x45931f(0x114)](_0x592e78,_0xdfc0ab);}[_0x1ee562(0x123)](_0x9a9b9a,_0xb50148){const _0x2c7b6f=_0x1ee562;this[_0x2c7b6f(0x121)][_0x2c7b6f(0x12c)](_0xb50148['id'])[_0x2c7b6f(0x147)](_0xb50148[_0x2c7b6f(0x13c)]);}[_0x1ee562(0x142)](_0x4cc226,_0x18c5f6,_0x14ef4e){const _0x40e66d=_0x1ee562,_0x450d0a=this[_0x40e66d(0x121)][_0x40e66d(0x11b)](_0x14ef4e);_0x450d0a[_0x40e66d(0x10e)]>0x2?(this[_0x40e66d(0x130)][_0x40e66d(0x133)](_0x450d0a),this[_0x40e66d(0x130)][_0x40e66d(0x12d)](null)):(this[_0x40e66d(0x130)][_0x40e66d(0x133)]([]),this[_0x40e66d(0x130)][_0x40e66d(0x12d)](_0x450d0a[0x0]));}[_0x1ee562(0x14b)](){const _0x5191be=_0x1ee562,_0x123925=this[_0x5191be(0x11a)],_0x22c0fc=RevisionsSidebar[_0x5191be(0x13d)],_0x466dc3=_0x123925[_0x5191be(0x134)][_0x5191be(0x126)](_0x5191be(0x157))||RevisionsSidebar[_0x5191be(0x156)];if(_0x466dc3[_0x5191be(0x10e)])return _0x466dc3[_0x5191be(0x135)](_0x1e6401=>{const _0x3a0bde=_0x5191be,_0x11f29c=_0x3a0bde(0x110)==typeof _0x1e6401?Object[_0x3a0bde(0x152)]({},_0x22c0fc[_0x1e6401]):_0x1e6401;return _0x11f29c[_0x3a0bde(0x143)]=_0x11f29c[_0x3a0bde(0x143)][_0x3a0bde(0x15c)](this,_0x123925),_0x11f29c[_0x3a0bde(0x15e)]&&(_0x11f29c[_0x3a0bde(0x15e)]=_0x11f29c[_0x3a0bde(0x15e)][_0x3a0bde(0x15c)](this,_0x123925)),_0x11f29c;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x16f528,_0x408fe3){const _0x5e4af0=_0x1431,_0x5b6f12=_0x16f528();while(!![]){try{const _0x166525=-parseInt(_0x5e4af0(0x97))/0x1*(parseInt(_0x5e4af0(0x9e))/0x2)+parseInt(_0x5e4af0(0xa4))/0x3+parseInt(_0x5e4af0(0x9b))/0x4*(-parseInt(_0x5e4af0(0x9d))/0x5)+-parseInt(_0x5e4af0(0xa2))/0x6*(-parseInt(_0x5e4af0(0xa5))/0x7)+-parseInt(_0x5e4af0(0x9c))/0x8+-parseInt(_0x5e4af0(0x96))/0x9+parseInt(_0x5e4af0(0x9a))/0xa;if(_0x166525===_0x408fe3)break;else _0x5b6f12['push'](_0x5b6f12['shift']());}catch(_0x3e27a1){_0x5b6f12['push'](_0x5b6f12['shift']());}}}(_0xa9f7,0x4bce2));function _0x1431(_0x5b31b1,_0x5a293b){const _0xa9f787=_0xa9f7();return _0x1431=function(_0x14310d,_0x36dc93){_0x14310d=_0x14310d-0x94;let _0xe5f7be=_0xa9f787[_0x14310d];return _0xe5f7be;},_0x1431(_0x5b31b1,_0x5a293b);}import{View as _0x33b873,IconView as _0x58b52c}from'ckeditor5/src/ui.js';import{getTranslation as _0x5b8ed1}from'../../utils/common-translations.js';function _0xa9f7(){const _0x5b1b5e=['Revision\x20history','6zYherD','ck-revision-history-sidebar__header__label','1516476CMeiGH','692132kHGHep','div','span','1033479KJIdeC','1mQvcVo','content','ck-reset_all','5798490HvaGyH','4rgaVVm','3751736rnzlTX','155250bpBuWe','517742yYGilo','setTemplate','ck-revision-history-sidebar__header'];_0xa9f7=function(){return _0x5b1b5e;};return _0xa9f7();}import{IconHistory as _0x409ad2}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x33b873{constructor(_0x5cf866){const _0x5937e3=_0x1431;super(_0x5cf866);const _0x5b9d76=new _0x58b52c();_0x5b9d76[_0x5937e3(0x98)]=_0x409ad2,this[_0x5937e3(0x9f)]({'tag':_0x5937e3(0x94),'attributes':{'class':['ck',_0x5937e3(0x99),_0x5937e3(0xa0)]},'children':[_0x5b9d76,{'tag':_0x5937e3(0x95),'attributes':{'class':['ck',_0x5937e3(0xa3)]},'children':[_0x5b8ed1(_0x5cf866,_0x5937e3(0xa1))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x500aa4=_0x541b;(function(_0x58ce54,_0x4fc300){const _0x264781=_0x541b,_0x50328e=_0x58ce54();while(!![]){try{const _0x3f2340=-parseInt(_0x264781(0xff))/0x1*(-parseInt(_0x264781(0x109))/0x2)+-parseInt(_0x264781(0x115))/0x3+parseInt(_0x264781(0x106))/0x4+-parseInt(_0x264781(0x107))/0x5*(-parseInt(_0x264781(0x117))/0x6)+parseInt(_0x264781(0x116))/0x7+-parseInt(_0x264781(0x103))/0x8+-parseInt(_0x264781(0x101))/0x9*(parseInt(_0x264781(0x11b))/0xa);if(_0x3f2340===_0x4fc300)break;else _0x50328e['push'](_0x50328e['shift']());}catch(_0x86d204){_0x50328e['push'](_0x50328e['shift']());}}}(_0xeb57,0x9fb5b));function _0xeb57(){const _0x1a63f0=['locale','125OGdVDD','div','9NsWOtQ','localizedPeriodName','3387336zMJHlM','removeRevision','createCollection','4028604emEVDU','35RXSFQk','remove','11554goMYlU','addRevision','_revisionActions','add','ck-revision-history-sidebar__time-period__label','_requireRevisionName','setTemplate','uiLanguage','delegate','revisionViews','startDate','ck-revision-history-sidebar__time-period','1833990EmNnDz','4696426CCOjlc','1044726VCOzbN','span','select','ck-revision-history-sidebar__time-period__revisions','19301230cUMrZw','find','setName'];_0xeb57=function(){return _0x1a63f0;};return _0xeb57();}function _0x541b(_0x309fc2,_0xe2b022){const _0xeb5713=_0xeb57();return _0x541b=function(_0x541bb5,_0x55acdf){_0x541bb5=_0x541bb5-0xfc;let _0x2aa2b2=_0xeb5713[_0x541bb5];return _0x2aa2b2;},_0x541b(_0x309fc2,_0xe2b022);}import{View as _0x1bcda4}from'ckeditor5/src/ui.js';import{RevisionView as _0x102ae1}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x451f9b}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x1bcda4{[_0x500aa4(0x113)];[_0x500aa4(0x112)];[_0x500aa4(0x10b)];[_0x500aa4(0x10e)];constructor(_0x173aaa,_0xecb531,_0x3e5dd4,_0x3106e2){const _0x454f8a=_0x500aa4;super(_0x173aaa);const _0x52925b=_0x451f9b(_0xecb531,this[_0x454f8a(0xfe)][_0x454f8a(0x110)])[_0x454f8a(0x102)];this[_0x454f8a(0x113)]=_0xecb531,this[_0x454f8a(0x112)]=this[_0x454f8a(0x105)](),this[_0x454f8a(0x10b)]=_0x3e5dd4,this[_0x454f8a(0x10e)]=_0x3106e2,this[_0x454f8a(0x112)][_0x454f8a(0x111)](_0x454f8a(0x119))['to'](this),this[_0x454f8a(0x112)][_0x454f8a(0x111)](_0x454f8a(0xfd))['to'](this),this[_0x454f8a(0x10f)]({'tag':_0x454f8a(0x100),'attributes':{'class':['ck',_0x454f8a(0x114)]},'children':[{'tag':_0x454f8a(0x118),'attributes':{'class':['ck',_0x454f8a(0x10d)]},'children':[{'text':_0x52925b}]},{'tag':_0x454f8a(0x100),'attributes':{'class':['ck',_0x454f8a(0x11a)]},'children':this[_0x454f8a(0x112)]}]});}[_0x500aa4(0x10a)](_0x21a9f3){const _0x51cd95=_0x500aa4,_0x4780de=new _0x102ae1(this[_0x51cd95(0xfe)],_0x21a9f3,this[_0x51cd95(0x10b)],this[_0x51cd95(0x10e)]);this[_0x51cd95(0x112)][_0x51cd95(0x10c)](_0x4780de);}[_0x500aa4(0x104)](_0x49b404){const _0x1e812b=_0x500aa4,_0xd5b670=this[_0x1e812b(0x112)][_0x1e812b(0xfc)](_0x5b66b4=>_0x5b66b4['id']===_0x49b404['id']);this[_0x1e812b(0x112)][_0x1e812b(0x108)](_0xd5b670);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x129ef3=_0x3775;(function(_0x58d670,_0x1664c6){const _0x4c1569=_0x3775,_0x40c818=_0x58d670();while(!![]){try{const _0x2221d5=-parseInt(_0x4c1569(0x1e7))/0x1*(parseInt(_0x4c1569(0x201))/0x2)+parseInt(_0x4c1569(0x1f2))/0x3+-parseInt(_0x4c1569(0x1db))/0x4*(-parseInt(_0x4c1569(0x1df))/0x5)+-parseInt(_0x4c1569(0x1e2))/0x6*(parseInt(_0x4c1569(0x1e1))/0x7)+parseInt(_0x4c1569(0x1e0))/0x8+-parseInt(_0x4c1569(0x202))/0x9*(parseInt(_0x4c1569(0x1f1))/0xa)+parseInt(_0x4c1569(0x208))/0xb;if(_0x2221d5===_0x1664c6)break;else _0x40c818['push'](_0x40c818['shift']());}catch(_0x14a8a5){_0x40c818['push'](_0x40c818['shift']());}}}(_0xabf3,0x893d5));import{View as _0x5f0c41}from'ckeditor5/src/ui.js';function _0x3775(_0x3d197a,_0x317dae){const _0xabf355=_0xabf3();return _0x3775=function(_0x377505,_0x1fa07f){_0x377505=_0x377505-0x1d7;let _0x492639=_0xabf355[_0x377505];return _0x492639;},_0x3775(_0x3d197a,_0x317dae);}import{RevisionsSidebarTimePeriodView as _0x5a28e9}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x395727}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x4db5e9}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';function _0xabf3(){const _0xd78667=['delegate','uiLanguage','find','highlightRevisions','7537882ZDyOUz','ck-reset','unhighlight','flat','map','render','selectRevision','isEnabled','createdAt','revisionSetName','revisionViews','4BXReUv','removeRevision','ck-disabled','_addRevision','2067860egKaxI','407952uObWYo','84XAqSWX','380544XJBHpt','fire','bindTemplate','_revisions','remove','12ZFdrmE','ck-rounded-corners','deselect','_revisionActions','add','createCollection','getTime','addRevision','ck-revision-history-sidebar__timeline','select','1619600ObFUZZ','2182515wIHvji','setTemplate','timePeriodViews','locale','_removeRevision','revisionSelected','get','setName','startDate','ck-revision-history-sidebar','_getTimePeriodViewByStartDate','div','_requireRevisionName','some','set','11372RbOodk','27iBMEoC','highlight'];_0xabf3=function(){return _0xd78667;};return _0xabf3();}export class RevisionsSidebarView extends _0x5f0c41{[_0x129ef3(0x1f4)];[_0x129ef3(0x1e5)];[_0x129ef3(0x1ea)];[_0x129ef3(0x1fe)];constructor(_0x173246,_0xe60a6f,_0x554603,_0x4dfe42){const _0x1903bb=_0x129ef3;super(_0x173246);const _0x27afa9=this[_0x1903bb(0x1e4)];this[_0x1903bb(0x1f4)]=this[_0x1903bb(0x1ec)](),this[_0x1903bb(0x1f4)][_0x1903bb(0x204)](_0x1903bb(0x1f0))['to'](this),this[_0x1903bb(0x1f4)][_0x1903bb(0x204)](_0x1903bb(0x1f9))['to'](this),this[_0x1903bb(0x1e5)]=_0xe60a6f,this[_0x1903bb(0x1ea)]=_0x554603,this[_0x1903bb(0x1fe)]=_0x4dfe42,this['on'](_0x1903bb(0x1f0),(_0x1277db,_0x1425ce)=>{const _0x37c9b7=_0x1903bb;this[_0x37c9b7(0x1e3)](_0x37c9b7(0x1f7),_0x1425ce);}),this['on'](_0x1903bb(0x1f9),(_0x22a2ef,_0x717a54)=>{const _0x35bb45=_0x1903bb;this[_0x35bb45(0x1e3)](_0x35bb45(0x1d9),_0x717a54);}),this[_0x1903bb(0x200)](_0x1903bb(0x1d7),!0x1),this[_0x1903bb(0x1f3)]({'tag':_0x1903bb(0x1fd),'attributes':{'class':['ck',_0x1903bb(0x209),_0x1903bb(0x1e8),_0x1903bb(0x1fb)]},'children':[new _0x395727(_0x173246),{'tag':_0x1903bb(0x1fd),'attributes':{'class':['ck',_0x1903bb(0x1ef),_0x27afa9['if'](_0x1903bb(0x1d7),_0x1903bb(0x1dd),_0x53bd1f=>!_0x53bd1f)]},'children':this[_0x1903bb(0x1f4)]}]});}[_0x129ef3(0x20d)](){const _0x1ff386=_0x129ef3;super[_0x1ff386(0x20d)]();for(const _0x2c553f of this[_0x1ff386(0x1e5)])this[_0x1ff386(0x1de)](_0x2c553f);this[_0x1ff386(0x1e5)]['on'](_0x1ff386(0x1eb),(_0x1b4931,_0xe289c3)=>{const _0x2b5782=_0x1ff386;this[_0x2b5782(0x1de)](_0xe289c3);}),this[_0x1ff386(0x1e5)]['on'](_0x1ff386(0x1e6),(_0x13ed45,_0x7889cb)=>{const _0x533745=_0x1ff386;this[_0x533745(0x1f6)](_0x7889cb);});}get[_0x129ef3(0x1da)](){const _0x40baed=_0x129ef3;return this[_0x40baed(0x1f4)][_0x40baed(0x20c)](_0xfd3088=>_0xfd3088[_0x40baed(0x1da)][_0x40baed(0x20c)](_0x50f3f4=>_0x50f3f4))[_0x40baed(0x20b)]();}[_0x129ef3(0x20e)](_0x24bab0){const _0x3e6e2b=_0x129ef3;for(const _0x42b27c of this[_0x3e6e2b(0x1da)])_0x24bab0&&_0x24bab0['id']===_0x42b27c['id']?_0x42b27c[_0x3e6e2b(0x1f0)]():_0x42b27c[_0x3e6e2b(0x1e9)]();}[_0x129ef3(0x207)](_0x4a6b33){const _0x5abe44=_0x129ef3;for(const _0x157456 of this[_0x5abe44(0x1da)])_0x4a6b33[_0x5abe44(0x1ff)](({id:_0x27a42e})=>_0x27a42e===_0x157456['id'])?_0x157456[_0x5abe44(0x203)]():_0x157456[_0x5abe44(0x20a)]();}[_0x129ef3(0x1de)](_0x33fc33){const _0x83f57f=_0x129ef3,_0x40f3cf=_0x4db5e9(_0x33fc33[_0x83f57f(0x1d8)],this[_0x83f57f(0x1f5)][_0x83f57f(0x205)])[_0x83f57f(0x1fa)];let _0x5a818c=this[_0x83f57f(0x1f4)][_0x83f57f(0x1f8)](0x0);_0x5a818c&&_0x5a818c[_0x83f57f(0x1fa)][_0x83f57f(0x1ed)]()===_0x40f3cf[_0x83f57f(0x1ed)]()||(_0x5a818c=new _0x5a28e9(this[_0x83f57f(0x1f5)],_0x40f3cf,this[_0x83f57f(0x1ea)],this[_0x83f57f(0x1fe)]),this[_0x83f57f(0x1f4)][_0x83f57f(0x1eb)](_0x5a818c)),_0x5a818c[_0x83f57f(0x1ee)](_0x33fc33);}[_0x129ef3(0x1f6)](_0x3bba9e){const _0xab11c6=_0x129ef3,_0x32800e=_0x4db5e9(_0x3bba9e[_0xab11c6(0x1d8)],this[_0xab11c6(0x1f5)][_0xab11c6(0x205)])[_0xab11c6(0x1fa)];this[_0xab11c6(0x1fc)](_0x32800e)[_0xab11c6(0x1dc)](_0x3bba9e);}[_0x129ef3(0x1fc)](_0x4df877){const _0x22928c=_0x129ef3;return this[_0x22928c(0x1f4)][_0x22928c(0x206)](_0x27c588=>_0x27c588[_0x22928c(0x1fa)][_0x22928c(0x1ed)]()===_0x4df877[_0x22928c(0x1ed)]());}}
|