@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240417.0 → 0.0.0-nightly-20240419.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/package.json +5 -5
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +1 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +1 -1
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x583b4d=_0x179f;function _0x179f(_0x13884e,_0x2e21a7){const _0xd1010c=_0xd101();return _0x179f=function(_0x179f33,_0x3d1ae1){_0x179f33=_0x179f33-0xa4;let _0x184569=_0xd1010c[_0x179f33];return _0x184569;},_0x179f(_0x13884e,_0x2e21a7);}(function(_0x2443e9,_0x3e5f5d){const _0x47a325=_0x179f,_0x5748ab=_0x2443e9();while(!![]){try{const _0x542d03=parseInt(_0x47a325(0xaa))/0x1*(-parseInt(_0x47a325(0xa9))/0x2)+parseInt(_0x47a325(0xb8))/0x3+parseInt(_0x47a325(0xcc))/0x4*(-parseInt(_0x47a325(0xbf))/0x5)+-parseInt(_0x47a325(0xa8))/0x6+-parseInt(_0x47a325(0xc4))/0x7+-parseInt(_0x47a325(0xc5))/0x8*(parseInt(_0x47a325(0xc2))/0x9)+parseInt(_0x47a325(0xb0))/0xa;if(_0x542d03===_0x3e5f5d)break;else _0x5748ab['push'](_0x5748ab['shift']());}catch(_0xab8aa5){_0x5748ab['push'](_0x5748ab['shift']());}}}(_0xd101,0xd7ca3));import{LabeledFieldView as _0x5cb694,View as _0x21fe74,createLabeledInputText as _0x3fe8dd,injectCssTransitionDisabler as _0x55535e,submitHandler as _0x41bf4a}from'ckeditor5/src/ui.js';import{FocusTracker as _0xafedd2,KeystrokeHandler as _0x6d26e6}from'ckeditor5/src/utils.js';function _0xd101(){const _0x1b3571=['focus','5yMrRoK','focusTracker','_createRevisionNameInput','9CLebgg','errorText','10642429ROzEUW','1598504YGxiod','stopPropagation','render','value','locale','add','220','1491904RKPXuW','trim','ck-responsive-form','revisionNameInputView','revisionNameInputValue','input','arrowright','7862412FrhFAk','1689752WBJrFd','2SGJxRl','reset','ck-revision-history-save-revision-form','arrowup','setTemplate','arrowdown','56936090cClcBl','fieldView','Name\x20of\x20the\x20revision','element','listenTo','set','revisionName','label','850668qUvnkG','keystrokes','optional','arrowleft','extendTemplate','form'];_0xd101=function(){return _0x1b3571;};return _0xd101();}import{getTranslation as _0xb3b017}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class ns extends _0x21fe74{constructor(_0x34b78f,_0x1a7af5){const _0x19e0bc=_0x179f;super(_0x34b78f),this[_0x19e0bc(0xc0)]=new _0xafedd2(),this[_0x19e0bc(0xb9)]=new _0x6d26e6(),this[_0x19e0bc(0xb5)](_0x19e0bc(0xa5),''),this[_0x19e0bc(0xa4)]=this[_0x19e0bc(0xc1)](_0x1a7af5),this[_0x19e0bc(0xae)]({'tag':_0x19e0bc(0xbd),'attributes':{'class':['ck',_0x19e0bc(0xac),_0x19e0bc(0xce)],'tabindex':'-1'},'children':[this[_0x19e0bc(0xa4)]]}),_0x55535e(this);}[_0x583b4d(0xc7)](){const _0x1187ec=_0x583b4d;super[_0x1187ec(0xc7)](),_0x41bf4a({'view':this}),this[_0x1187ec(0xc0)][_0x1187ec(0xca)](this[_0x1187ec(0xa4)][_0x1187ec(0xb3)]),this[_0x1187ec(0xb9)][_0x1187ec(0xb4)](this[_0x1187ec(0xb3)]);const _0x1eed60=_0x16e8f5=>_0x16e8f5[_0x1187ec(0xc6)]();this[_0x1187ec(0xb9)][_0x1187ec(0xb5)](_0x1187ec(0xa7),_0x1eed60),this[_0x1187ec(0xb9)][_0x1187ec(0xb5)](_0x1187ec(0xbb),_0x1eed60),this[_0x1187ec(0xb9)][_0x1187ec(0xb5)](_0x1187ec(0xad),_0x1eed60),this[_0x1187ec(0xb9)][_0x1187ec(0xb5)](_0x1187ec(0xaf),_0x1eed60);}[_0x583b4d(0xbe)](){const _0x2c7b79=_0x583b4d;this[_0x2c7b79(0xa4)][_0x2c7b79(0xbe)]();}get[_0x583b4d(0xb6)](){const _0x5c1fa3=_0x583b4d;return this[_0x5c1fa3(0xa4)][_0x5c1fa3(0xb1)][_0x5c1fa3(0xb3)][_0x5c1fa3(0xc8)][_0x5c1fa3(0xcd)]();}set[_0x583b4d(0xb6)](_0x2756fd){const _0x3fedab=_0x583b4d;this[_0x3fedab(0xa4)][_0x3fedab(0xb1)][_0x3fedab(0xb3)][_0x3fedab(0xc8)]=_0x2756fd[_0x3fedab(0xcd)]();}[_0x583b4d(0xab)](){const _0x535df3=_0x583b4d;this[_0x535df3(0xa4)][_0x535df3(0xb1)][_0x535df3(0xb3)][_0x535df3(0xc8)]='',this[_0x535df3(0xa4)][_0x535df3(0xc3)]=null;}[_0x583b4d(0xc1)](_0x11288b){const _0x58a2a5=_0x583b4d,_0x2ca2f5=new _0x5cb694(this[_0x58a2a5(0xc9)],_0x3fe8dd),_0x32ff29=_0x2ca2f5[_0x58a2a5(0xb1)];_0x32ff29[_0x58a2a5(0xbc)]({'attributes':{'maxlength':_0x58a2a5(0xcb)}});let _0x83f32b=_0xb3b017(this[_0x58a2a5(0xc9)],_0x58a2a5(0xb2));return!_0x11288b&&(_0x83f32b+='\x20('+_0xb3b017(this[_0x58a2a5(0xc9)],_0x58a2a5(0xba))+')'),(_0x2ca2f5[_0x58a2a5(0xb7)]=_0x83f32b,_0x32ff29['on'](_0x58a2a5(0xa6),()=>{const _0x284760=_0x58a2a5;this[_0x284760(0xa5)]=_0x32ff29[_0x284760(0xb3)][_0x284760(0xc8)][_0x284760(0xcd)]();}),_0x2ca2f5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x58068d,icons as _0x569298}from'ckeditor5/src/core.js';import{createDropdown as _0x26e899,ButtonView as _0xabb145,ListItemView as _0x31fbf0,ListView as te,MenuBarMenuListItemButtonView as _0x28ffc9,MenuBarMenuListItemView as _0x12d73f,MenuBarMenuListView as _0x17005e,MenuBarMenuView as _0x2f9aaa}from'ckeditor5/src/ui.js';import _0x4d2844 from'../../revisiontracker.js';import _0x25f73d from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x11ad31}from'../../utils/common-translations.js';export default class u extends _0x58068d{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[_0x4d2844];}['init'](){const _0x472663=this['editor'],_0x2f21cc=_0x472663['plugins']['get']('RevisionTracker');_0x472663['ui']['componentFactory']['add']('revisionHistory',_0x332836=>{const _0x3f40b5=_0x26e899(_0x332836),_0xb456d8=_0x3f40b5['panelView']['children'],_0x5216f2=new te(_0x332836),_0x142e07=new _0x31fbf0(_0x332836),_0x28798e=new _0xabb145(_0x332836),_0x32cafe=new _0x31fbf0(_0x332836),_0x4612d6=new _0xabb145(_0x332836);return _0x3f40b5['bind']('isEnabled')['to'](_0x2f21cc,'isReady',_0x2f21cc,'isEnabled',_0x472663,'isReadOnly',(_0x4273b8,_0x4f6fa3,_0x395d5f)=>_0x4273b8&&_0x4f6fa3&&!_0x395d5f),_0x3f40b5['buttonView']['set']({'icon':_0x569298['history'],'label':_0x11ad31(_0x332836,'Revision\x20history'),'tooltip':!0x0}),_0x28798e['set']({'label':_0x11ad31(_0x332836,'Save\x20current\x20revision'),'withText':!0x0}),_0x28798e['bind']('isEnabled')['to'](_0x2f21cc,'isReady',_0x2f21cc,'isEnabled',_0x472663,'isReadOnly',(_0x3224b5,_0x485974,_0x2618b7)=>_0x3224b5&&_0x485974&&!_0x2618b7),_0x28798e['on']('execute',()=>this['_showDialog']()),_0x4612d6['set']({'label':_0x11ad31(_0x332836,'Open\x20revision\x20history'),'withText':!0x0}),_0x4612d6['bind']('isEnabled')['to'](_0x2f21cc,'isReady',_0x472663,'isReadOnly',(_0x13876b,_0x470caa)=>_0x13876b&&!_0x470caa),_0x4612d6['on']('execute',()=>{_0x472663['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3f40b5['isOpen']=!0x1,_0x472663['editing']['view']['focus']();}),_0x142e07['children']['add'](_0x28798e),_0x32cafe['children']['add'](_0x4612d6),_0x5216f2['items']['addMany']([_0x142e07,_0x32cafe]),_0xb456d8['add'](_0x5216f2),_0x3f40b5;}),_0x472663['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x2593de=this['editor'],_0x31c220=_0x2593de['locale'],_0x5efe16=new _0x2f9aaa(_0x31c220),_0x5c6f27=new _0x17005e(_0x31c220);_0x5efe16['buttonView']['set']({'icon':_0x569298['history'],'label':_0x11ad31(_0x31c220,'Revision\x20history')});const _0x1e07fc=new _0x12d73f(_0x31c220,_0x5efe16),_0x250e9b=new _0x28ffc9(_0x31c220);_0x250e9b['set']({'label':_0x11ad31(_0x31c220,'Save\x20current\x20revision')}),_0x250e9b['delegate']('execute')['to'](_0x5efe16),_0x250e9b['on']('execute',()=>{this['_showDialog']();}),_0x1e07fc['children']['add'](_0x250e9b),_0x5c6f27['items']['add'](_0x1e07fc);const _0x2569d4=new _0x12d73f(_0x31c220,_0x5efe16),_0x3ba0f3=new _0x28ffc9(_0x31c220);return _0x3ba0f3['set']({'label':_0x11ad31(_0x31c220,'Open\x20revision\x20history')}),_0x3ba0f3['delegate']('execute')['to'](_0x5efe16),_0x3ba0f3['on']('execute',()=>{_0x2593de['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2569d4['children']['add'](_0x3ba0f3),_0x5c6f27['items']['add'](_0x2569d4),_0x5efe16['panelView']['children']['add'](_0x5c6f27),_0x5efe16;}['_showDialog'](){const _0x5ba27e=this['editor'],_0x55b104=_0x5ba27e['locale'],t=_0x55b104['t'],_0x5081a6=_0x5ba27e['plugins']['get']('Dialog'),_0xd27edc=_0x5ba27e['plugins']['get']('RevisionTracker');function _0x3cd45a(_0x42b82f){_0x5ba27e['config']['get']('revisionHistory.requireRevisionName')&&''===_0x42b82f['revisionName']?_0x42b82f['revisionNameInputView']['errorText']=_0x11ad31(_0x55b104,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x5ba27e['plugins']['get'](_0x4d2844)['saveRevision']({'name':_0x42b82f['revisionName']}),_0x5081a6['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x3cd45a(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x5081a6['show']({'id':'findAndReplace','title':_0x11ad31(_0x55b104,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x5081a6['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x13a72e){_0x13a72e['bind']('isEnabled')['to'](_0xd27edc,'isReady',_0xd27edc,'isEnabled',_0x5ba27e,'isReadOnly',(_0x4c3d24,_0x41607a,_0x50be1b)=>_0x4c3d24&&_0x41607a&&!_0x50be1b);},'onExecute':()=>_0x3cd45a(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x1e7369=this['editor'],_0xd0cb70=_0x1e7369['locale'];this['_saveRevisionFormView']=new _0x25f73d(_0xd0cb70,_0x1e7369['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3257(){const _0x5ce706=['_handleRevisionSetName','element','_handleDiffChange','Name\x20this\x20revision','getRevision','plugins','149599DVIUoz','select','revisionHistory.viewerSidebarContainer','compareAgainstSelected','405740qVpCZp','setName','revisionHistory.requireRevisionName','getLaterVisibleRevision','fieldView','locale','_handleRevisionSelected','init','66771ZJodYy','map','render','revisionHistory.revisionActions','restoreRevisionCallback','revisionSetName','pluginName','_revisionsRepository','timePeriodViews','listenTo','change:diff','RevisionsSidebar','91gQwVfN','destroy','focus','Restore\x20this\x20revision','remove','ready','repository','availableRevisionActions','_sidebarView','bind','data','length','config','add','name','isEnabled','selectRevision','newRevisionId','string','_createRevisionActions','appendChild','getEarlierVisibleRevision','revisionHistory','_revisions','144XJfvkZ','revisionSelected','807130PuhRfS','defaultRevisionActions','851721jpyUHx','isVisible','_revisionViewer','highlightRevisions','113418RmYIgn','getIndex','isSelected','20603qcHJEF','_handleEditorDataReady','4DYeVCB','diff','editor','nameRevision','isReady','assign','get','getRevisionsInDiff','requires','compare','revisionViews','3130KWzNfE','restoreRevision','action','Compare\x20against\x20selected'];_0x3257=function(){return _0x5ce706;};return _0x3257();}const _0x48d788=_0x5bb4;(function(_0x121457,_0x5f1f58){const _0x24be02=_0x5bb4,_0x488673=_0x121457();while(!![]){try{const _0x2a5c81=parseInt(_0x24be02(0x158))/0x1+-parseInt(_0x24be02(0x15c))/0x2+-parseInt(_0x24be02(0x18c))/0x3+-parseInt(_0x24be02(0x195))/0x4*(parseInt(_0x24be02(0x18a))/0x5)+parseInt(_0x24be02(0x190))/0x6*(parseInt(_0x24be02(0x170))/0x7)+parseInt(_0x24be02(0x188))/0x8*(-parseInt(_0x24be02(0x164))/0x9)+-parseInt(_0x24be02(0x14e))/0xa*(-parseInt(_0x24be02(0x193))/0xb);if(_0x2a5c81===_0x5f1f58)break;else _0x488673['push'](_0x488673['shift']());}catch(_0x426bfb){_0x488673['push'](_0x488673['shift']());}}}(_0x3257,0x30ca2));function _0x5bb4(_0x4daf3d,_0xf1b524){const _0x3257f9=_0x3257();return _0x5bb4=function(_0x5bb461,_0x58f3f6){_0x5bb461=_0x5bb461-0x14e;let _0x142108=_0x3257f9[_0x5bb461];return _0x142108;},_0x5bb4(_0x4daf3d,_0xf1b524);}import{Plugin as _0x50063c}from'ckeditor5/src/core.js';import _0x329238 from'./revisionssidebarview.js';import _0x5da3e9 from'../../revisionviewer.js';export default class w extends _0x50063c{static get[_0x48d788(0x16a)](){const _0x4e78b3=_0x48d788;return _0x4e78b3(0x16f);}static get[_0x48d788(0x19d)](){return[_0x5da3e9];}constructor(_0x9a9e66){const _0x280000=_0x48d788;super(_0x9a9e66),this[_0x280000(0x18e)]=_0x9a9e66[_0x280000(0x157)][_0x280000(0x19b)](_0x5da3e9),this[_0x280000(0x16b)]=this[_0x280000(0x18e)][_0x280000(0x176)],this[_0x280000(0x178)]=null;}[_0x48d788(0x163)](){const _0x8ca035=_0x48d788,_0x28186a=this[_0x8ca035(0x16b)][_0x8ca035(0x187)],_0x27f99d=this[_0x8ca035(0x183)](),_0x30b5ba=this[_0x8ca035(0x197)][_0x8ca035(0x17c)][_0x8ca035(0x19b)](_0x8ca035(0x15a));this[_0x8ca035(0x178)]=new _0x329238(this[_0x8ca035(0x197)][_0x8ca035(0x161)],_0x28186a,_0x27f99d,this[_0x8ca035(0x197)][_0x8ca035(0x17c)][_0x8ca035(0x19b)](_0x8ca035(0x15e))),this[_0x8ca035(0x178)]['on'](_0x8ca035(0x189),this[_0x8ca035(0x162)][_0x8ca035(0x179)](this)),this[_0x8ca035(0x178)]['on'](_0x8ca035(0x169),this[_0x8ca035(0x152)][_0x8ca035(0x179)](this)),this[_0x8ca035(0x178)][_0x8ca035(0x179)](_0x8ca035(0x17f))['to'](this[_0x8ca035(0x18e)]),this[_0x8ca035(0x178)][_0x8ca035(0x16c)]['on'](_0x8ca035(0x17d),(_0x41e19e,_0x5f284f)=>{const _0x470094=_0x8ca035;_0x5f284f[_0x470094(0x19f)]['on'](_0x470094(0x17d),(_0x27b675,_0x10e23b)=>{const _0x567f82=_0x470094;_0x10e23b[_0x567f82(0x179)](_0x567f82(0x17f),_0x567f82(0x199))['to'](this[_0x567f82(0x18e)]);});}),this[_0x8ca035(0x178)][_0x8ca035(0x166)](),this[_0x8ca035(0x16d)](this[_0x8ca035(0x197)][_0x8ca035(0x17a)],_0x8ca035(0x175),this[_0x8ca035(0x194)][_0x8ca035(0x179)](this)),this[_0x8ca035(0x16d)](this[_0x8ca035(0x18e)],_0x8ca035(0x16e),this[_0x8ca035(0x154)][_0x8ca035(0x179)](this)),_0x30b5ba[_0x8ca035(0x184)](this[_0x8ca035(0x178)][_0x8ca035(0x153)]);}[_0x48d788(0x171)](){const _0x539623=_0x48d788;this[_0x539623(0x178)][_0x539623(0x153)][_0x539623(0x174)](),this[_0x539623(0x178)][_0x539623(0x171)]();}[_0x48d788(0x194)](){const _0x4eb50d=_0x48d788,_0x4acc13=this[_0x4eb50d(0x16b)][_0x4eb50d(0x156)](0x0);if(_0x4acc13){const _0x3d087d=this[_0x4eb50d(0x16b)][_0x4eb50d(0x185)](_0x4acc13['id']);this[_0x4eb50d(0x18e)][_0x4eb50d(0x19e)](_0x4acc13,_0x3d087d);}}[_0x48d788(0x162)](_0x78ec9f,_0x83383){const _0x139775=_0x48d788,_0x1854c1=this[_0x139775(0x16b)][_0x139775(0x156)](_0x83383['id']),_0x556600=this[_0x139775(0x16b)][_0x139775(0x185)](_0x1854c1['id']);this[_0x139775(0x18e)][_0x139775(0x19e)](_0x1854c1,_0x556600);}[_0x48d788(0x152)](_0x5a3553,_0x22d346){const _0x3a98a0=_0x48d788;this[_0x3a98a0(0x16b)][_0x3a98a0(0x156)](_0x22d346['id'])[_0x3a98a0(0x15d)](_0x22d346[_0x3a98a0(0x17e)]);}[_0x48d788(0x154)](_0x1f3a6f,_0x5cec39,_0x44e553){const _0xb5b5ef=_0x48d788,_0x4a4f5e=this[_0xb5b5ef(0x16b)][_0xb5b5ef(0x19c)](_0x44e553);_0x4a4f5e[_0xb5b5ef(0x17b)]>0x2?(this[_0xb5b5ef(0x178)][_0xb5b5ef(0x18f)](_0x4a4f5e),this[_0xb5b5ef(0x178)][_0xb5b5ef(0x180)](null)):(this[_0xb5b5ef(0x178)][_0xb5b5ef(0x18f)]([]),this[_0xb5b5ef(0x178)][_0xb5b5ef(0x180)](_0x4a4f5e[0x0]));}[_0x48d788(0x183)](){const _0x854825=_0x48d788,_0x1ad802=this[_0x854825(0x197)],_0x165597=w[_0x854825(0x177)],_0x4aa297=_0x1ad802[_0x854825(0x17c)][_0x854825(0x19b)](_0x854825(0x167))||w[_0x854825(0x18b)];if(_0x4aa297[_0x854825(0x17b)])return _0x4aa297[_0x854825(0x165)](_0x4a304e=>{const _0x4ad941=_0x854825,_0x8ba620=_0x4ad941(0x182)==typeof _0x4a304e?Object[_0x4ad941(0x19a)]({},_0x165597[_0x4a304e]):_0x4a304e;return _0x8ba620[_0x4ad941(0x150)]=_0x8ba620[_0x4ad941(0x150)][_0x4ad941(0x179)](this,_0x1ad802),_0x8ba620[_0x4ad941(0x18d)]&&(_0x8ba620[_0x4ad941(0x18d)]=_0x8ba620[_0x4ad941(0x18d)][_0x4ad941(0x179)](this,_0x1ad802)),_0x8ba620;});}}w[_0x48d788(0x177)]={'compareAgainstSelected':{'name':_0x48d788(0x151),'action':({plugins:_0x1260eb},_0x502230)=>{const _0x3c27bf=_0x48d788,_0x8979f1=_0x1260eb[_0x3c27bf(0x19b)](_0x5da3e9),_0x155e54=_0x8979f1[_0x3c27bf(0x176)];let _0x2dbd78=_0x8979f1[_0x3c27bf(0x196)][_0x3c27bf(0x181)],_0x1e4f5e=_0x502230['id'];_0x155e54[_0x3c27bf(0x191)](_0x2dbd78)>_0x155e54[_0x3c27bf(0x191)](_0x1e4f5e)&&([_0x2dbd78,_0x1e4f5e]=[_0x1e4f5e,_0x2dbd78]),_0x8979f1[_0x3c27bf(0x19e)](_0x2dbd78,_0x1e4f5e);},'isVisible':({plugins:_0x383d92},_0x5b50cb)=>{const _0x580c54=_0x48d788,_0x4a0b20=_0x383d92[_0x580c54(0x19b)](_0x5da3e9);return!(_0x4a0b20[_0x580c54(0x176)][_0x580c54(0x19c)](_0x4a0b20[_0x580c54(0x196)])[_0x580c54(0x17b)]>0x2)&&!_0x5b50cb[_0x580c54(0x192)];}},'restoreRevision':{'name':_0x48d788(0x173),'action':(_0x355b65,{id:_0x19a905})=>{const _0x1282dd=_0x48d788;_0x355b65[_0x1282dd(0x17c)][_0x1282dd(0x19b)](_0x1282dd(0x186))[_0x1282dd(0x168)](_0x19a905);},'isVisible':({plugins:_0x3e7eae},_0x33d286)=>!!_0x3e7eae[_0x48d788(0x19b)](_0x5da3e9)[_0x48d788(0x176)][_0x48d788(0x15f)](_0x33d286['id'])},'nameRevision':{'name':_0x48d788(0x155),'action':({plugins:_0x548fac},{id:_0xcf64ea,revisionNameView:_0x4533a0})=>{const _0x22ab68=_0x48d788,_0x4c9386=_0x548fac[_0x22ab68(0x19b)](_0x5da3e9),_0x128072=_0x4c9386[_0x22ab68(0x176)][_0x22ab68(0x185)](_0xcf64ea);_0x4c9386[_0x22ab68(0x19e)](_0xcf64ea,_0x128072),_0x4533a0[_0x22ab68(0x172)](),_0x4533a0[_0x22ab68(0x160)][_0x22ab68(0x159)]();}}},w[_0x48d788(0x18b)]=[_0x48d788(0x15b),_0x48d788(0x14f),_0x48d788(0x198)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1c5fc1,_0x20e3cd){const _0x421c51=_0x5d63,_0x476f97=_0x1c5fc1();while(!![]){try{const _0x206c39=parseInt(_0x421c51(0x1b4))/0x1*(-parseInt(_0x421c51(0x1c1))/0x2)+-parseInt(_0x421c51(0x1bb))/0x3+-parseInt(_0x421c51(0x1c4))/0x4+parseInt(_0x421c51(0x1c2))/0x5*(parseInt(_0x421c51(0x1bf))/0x6)+parseInt(_0x421c51(0x1b7))/0x7*(parseInt(_0x421c51(0x1b8))/0x8)+parseInt(_0x421c51(0x1c5))/0x9*(parseInt(_0x421c51(0x1b3))/0xa)+parseInt(_0x421c51(0x1b5))/0xb*(parseInt(_0x421c51(0x1b2))/0xc);if(_0x206c39===_0x20e3cd)break;else _0x476f97['push'](_0x476f97['shift']());}catch(_0x56bd8c){_0x476f97['push'](_0x476f97['shift']());}}}(_0x36ee,0xb1f2a));import{View as _0xbc2be5,IconView as _0x4ce014}from'ckeditor5/src/ui.js';import{getTranslation as _0x359c8a}from'../../utils/common-translations.js';function _0x36ee(){const _0x400dc4=['400585iLNSsR','div','3819852wiCalL','549lLQKEv','history','324HTeuoX','216530lQShGU','365830eioWcJ','230703nfjDTo','content','7454643FOcZjJ','8OpbXoO','ck-revision-history-sidebar__header','ck-reset_all','4253529BwOHwi','span','setTemplate','ck-revision-history-sidebar__header__label','66lnVIDG','Revision\x20history','4gJCkUx'];_0x36ee=function(){return _0x400dc4;};return _0x36ee();}import{icons as _0x277e76}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';function _0x5d63(_0x385cd7,_0x2b7777){const _0x36eec0=_0x36ee();return _0x5d63=function(_0x5d6306,_0x56692d){_0x5d6306=_0x5d6306-0x1b1;let _0x3ed423=_0x36eec0[_0x5d6306];return _0x3ed423;},_0x5d63(_0x385cd7,_0x2b7777);}export default class as extends _0xbc2be5{constructor(_0x13125f){const _0x150f19=_0x5d63;super(_0x13125f);const _0x848c9a=new _0x4ce014();_0x848c9a[_0x150f19(0x1b6)]=_0x277e76[_0x150f19(0x1b1)],this[_0x150f19(0x1bd)]({'tag':_0x150f19(0x1c3),'attributes':{'class':['ck',_0x150f19(0x1ba),_0x150f19(0x1b9)]},'children':[_0x848c9a,{'tag':_0x150f19(0x1bc),'attributes':{'class':['ck',_0x150f19(0x1be)]},'children':[_0x359c8a(_0x13125f,_0x150f19(0x1c0))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x56088d=_0x3994;function _0x3994(_0x3442c2,_0x168df8){const _0x24938a=_0x2493();return _0x3994=function(_0x399498,_0x1fd785){_0x399498=_0x399498-0x1de;let _0x203baf=_0x24938a[_0x399498];return _0x203baf;},_0x3994(_0x3442c2,_0x168df8);}(function(_0x5a49c5,_0x21c786){const _0x4f3e03=_0x3994,_0x7f5029=_0x5a49c5();while(!![]){try{const _0x40686e=parseInt(_0x4f3e03(0x1e3))/0x1*(parseInt(_0x4f3e03(0x1ec))/0x2)+-parseInt(_0x4f3e03(0x1f1))/0x3*(parseInt(_0x4f3e03(0x1f8))/0x4)+-parseInt(_0x4f3e03(0x1eb))/0x5+parseInt(_0x4f3e03(0x1e4))/0x6*(-parseInt(_0x4f3e03(0x1ef))/0x7)+parseInt(_0x4f3e03(0x1ed))/0x8*(-parseInt(_0x4f3e03(0x1fa))/0x9)+-parseInt(_0x4f3e03(0x1f2))/0xa*(-parseInt(_0x4f3e03(0x1f3))/0xb)+parseInt(_0x4f3e03(0x1e7))/0xc;if(_0x40686e===_0x21c786)break;else _0x7f5029['push'](_0x7f5029['shift']());}catch(_0x5dd031){_0x7f5029['push'](_0x7f5029['shift']());}}}(_0x2493,0x53495));function _0x2493(){const _0x4dcb6b=['18835116CkOVMU','_requireRevisionName','revisionViews','startDate','1660465WdwUNi','974FwNJDC','48208lLNfZM','select','93401PocuBF','removeRevision','3uotrTm','2350610jFlUMz','11GhnRjm','remove','div','uiLanguage','ck-revision-history-sidebar__time-period__revisions','1560428cEnlXa','add','801EXblLB','delegate','ck-revision-history-sidebar__time-period','ck-revision-history-sidebar__time-period__label','setTemplate','createCollection','addRevision','localizedPeriodName','locale','find','_revisionActions','538TjQvrc','210kheQQO','setName','span'];_0x2493=function(){return _0x4dcb6b;};return _0x2493();}import{View as _0x33f218}from'ckeditor5/src/ui.js';import _0x45f85e from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x5202c8}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class mi extends _0x33f218{constructor(_0x4973bf,_0xf63ad0,_0xadf28f,_0x298dce){const _0xbbba10=_0x3994;super(_0x4973bf);const _0x4ca33c=_0x5202c8(_0xf63ad0,this[_0xbbba10(0x1e0)][_0xbbba10(0x1f6)])[_0xbbba10(0x1df)];this[_0xbbba10(0x1ea)]=_0xf63ad0,this[_0xbbba10(0x1e9)]=this[_0xbbba10(0x1ff)](),this[_0xbbba10(0x1e2)]=_0xadf28f,this[_0xbbba10(0x1e8)]=_0x298dce,this[_0xbbba10(0x1e9)][_0xbbba10(0x1fb)](_0xbbba10(0x1ee))['to'](this),this[_0xbbba10(0x1e9)][_0xbbba10(0x1fb)](_0xbbba10(0x1e5))['to'](this),this[_0xbbba10(0x1fe)]({'tag':_0xbbba10(0x1f5),'attributes':{'class':['ck',_0xbbba10(0x1fc)]},'children':[{'tag':_0xbbba10(0x1e6),'attributes':{'class':['ck',_0xbbba10(0x1fd)]},'children':[{'text':_0x4ca33c}]},{'tag':_0xbbba10(0x1f5),'attributes':{'class':['ck',_0xbbba10(0x1f7)]},'children':this[_0xbbba10(0x1e9)]}]});}[_0x56088d(0x1de)](_0x113338){const _0x14d736=_0x56088d,_0x54f3d8=new _0x45f85e(this[_0x14d736(0x1e0)],_0x113338,this[_0x14d736(0x1e2)],this[_0x14d736(0x1e8)]);this[_0x14d736(0x1e9)][_0x14d736(0x1f9)](_0x54f3d8);}[_0x56088d(0x1f0)](_0x8e14e8){const _0x786bef=_0x56088d,_0x1558f0=this[_0x786bef(0x1e9)][_0x786bef(0x1e1)](_0x5ba8aa=>_0x5ba8aa['id']===_0x8e14e8['id']);this[_0x786bef(0x1e9)][_0x786bef(0x1f4)](_0x1558f0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe0088=_0x2382;(function(_0x483957,_0x8edab){const _0x2477a8=_0x2382,_0x3947b3=_0x483957();while(!![]){try{const _0x3e4988=parseInt(_0x2477a8(0x18c))/0x1+-parseInt(_0x2477a8(0x196))/0x2+parseInt(_0x2477a8(0x18b))/0x3+-parseInt(_0x2477a8(0x17f))/0x4+-parseInt(_0x2477a8(0x179))/0x5+-parseInt(_0x2477a8(0x194))/0x6+parseInt(_0x2477a8(0x1a5))/0x7*(parseInt(_0x2477a8(0x198))/0x8);if(_0x3e4988===_0x8edab)break;else _0x3947b3['push'](_0x3947b3['shift']());}catch(_0x1ed3a4){_0x3947b3['push'](_0x3947b3['shift']());}}}(_0x59a4,0x31e05));import{View as _0x895f10}from'ckeditor5/src/ui.js';function _0x59a4(){const _0x3a1228=['remove','75390wQfClt','setTemplate','selectRevision','locale','uiLanguage','deselect','ck-disabled','startDate','setName','1042440HmyqLK','_revisions','_getTimePeriodViewByStartDate','revisionViews','add','_addRevision','111860hMaXde','div','find','unhighlight','delegate','fire','createdAt','ck-reset','_requireRevisionName','_removeRevision','select','highlightRevisions','104712qailWi','172704wfikjg','flat','render','get','ck-rounded-corners','ck-revision-history-sidebar__timeline','revisionSelected','createCollection','2193174GXcpQq','getTime','762806psryKk','timePeriodViews','728BiQiEc','revisionSetName','addRevision','map','_revisionActions','bindTemplate','highlight','set','ck-revision-history-sidebar','isEnabled','some','removeRevision'];_0x59a4=function(){return _0x3a1228;};return _0x59a4();}import _0x278ffb from'./revisionssidebartimeperiodview.js';import _0x274e20 from'./revisionssidebarheaderview.js';function _0x2382(_0x5cbacf,_0x1fea22){const _0x59a4f5=_0x59a4();return _0x2382=function(_0x238283,_0x44de58){_0x238283=_0x238283-0x172;let _0x3c9622=_0x59a4f5[_0x238283];return _0x3c9622;},_0x2382(_0x5cbacf,_0x1fea22);}import{getDateTimePeriodInfo as _0x48aee6}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ci extends _0x895f10{constructor(_0x4dd82f,_0x4131dd,_0xb1b6bc,_0x71601f){const _0x1e1dd4=_0x2382;super(_0x4dd82f);const _0xc608c6=this[_0x1e1dd4(0x19d)];this[_0x1e1dd4(0x197)]=this[_0x1e1dd4(0x193)](),this[_0x1e1dd4(0x197)][_0x1e1dd4(0x183)](_0x1e1dd4(0x189))['to'](this),this[_0x1e1dd4(0x197)][_0x1e1dd4(0x183)](_0x1e1dd4(0x178))['to'](this),this[_0x1e1dd4(0x17a)]=_0x4131dd,this[_0x1e1dd4(0x19c)]=_0xb1b6bc,this[_0x1e1dd4(0x187)]=_0x71601f,this['on'](_0x1e1dd4(0x189),(_0x2dc4ff,_0x16b871)=>{const _0x4e375c=_0x1e1dd4;this[_0x4e375c(0x184)](_0x4e375c(0x192),_0x16b871);}),this['on'](_0x1e1dd4(0x178),(_0x426fe5,_0x70f387)=>{const _0x361582=_0x1e1dd4;this[_0x361582(0x184)](_0x361582(0x199),_0x70f387);}),this[_0x1e1dd4(0x19f)](_0x1e1dd4(0x1a1),!0x1),this[_0x1e1dd4(0x1a6)]({'tag':_0x1e1dd4(0x180),'attributes':{'class':['ck',_0x1e1dd4(0x186),_0x1e1dd4(0x190),_0x1e1dd4(0x1a0)]},'children':[new _0x274e20(_0x4dd82f),{'tag':_0x1e1dd4(0x180),'attributes':{'class':['ck',_0x1e1dd4(0x191),_0xc608c6['if'](_0x1e1dd4(0x1a1),_0x1e1dd4(0x176),_0x2eba12=>!_0x2eba12)]},'children':this[_0x1e1dd4(0x197)]}]});}[_0xe0088(0x18e)](){const _0x420de1=_0xe0088;super[_0x420de1(0x18e)]();for(const _0x179702 of this[_0x420de1(0x17a)])this[_0x420de1(0x17e)](_0x179702);this[_0x420de1(0x17a)]['on'](_0x420de1(0x17d),(_0x4d194e,_0x7680b4)=>{const _0x441e0b=_0x420de1;this[_0x441e0b(0x17e)](_0x7680b4);}),this[_0x420de1(0x17a)]['on'](_0x420de1(0x1a4),(_0x59b0bd,_0x1f944f)=>{const _0x17d1ea=_0x420de1;this[_0x17d1ea(0x188)](_0x1f944f);});}get[_0xe0088(0x17c)](){const _0x1f9a34=_0xe0088;return this[_0x1f9a34(0x197)][_0x1f9a34(0x19b)](_0x1f1465=>_0x1f1465[_0x1f9a34(0x17c)][_0x1f9a34(0x19b)](_0x4c8bb9=>_0x4c8bb9))[_0x1f9a34(0x18d)]();}[_0xe0088(0x172)](_0x4f1322){const _0x4db6ce=_0xe0088;for(const _0x7ba316 of this[_0x4db6ce(0x17c)])_0x4f1322&&_0x4f1322['id']===_0x7ba316['id']?_0x7ba316[_0x4db6ce(0x189)]():_0x7ba316[_0x4db6ce(0x175)]();}[_0xe0088(0x18a)](_0x225514){const _0x221adc=_0xe0088;for(const _0x5f5a45 of this[_0x221adc(0x17c)])_0x225514[_0x221adc(0x1a2)](({id:_0x496d26})=>_0x496d26===_0x5f5a45['id'])?_0x5f5a45[_0x221adc(0x19e)]():_0x5f5a45[_0x221adc(0x182)]();}[_0xe0088(0x17e)](_0x2af13e){const _0x475c68=_0xe0088,_0xed3ca3=_0x48aee6(_0x2af13e[_0x475c68(0x185)],this[_0x475c68(0x173)][_0x475c68(0x174)])[_0x475c68(0x177)];let _0xa6835f=this[_0x475c68(0x197)][_0x475c68(0x18f)](0x0);_0xa6835f&&_0xa6835f[_0x475c68(0x177)][_0x475c68(0x195)]()===_0xed3ca3[_0x475c68(0x195)]()||(_0xa6835f=new _0x278ffb(this[_0x475c68(0x173)],_0xed3ca3,this[_0x475c68(0x19c)],this[_0x475c68(0x187)]),this[_0x475c68(0x197)][_0x475c68(0x17d)](_0xa6835f)),_0xa6835f[_0x475c68(0x19a)](_0x2af13e);}[_0xe0088(0x188)](_0x21ea20){const _0x218fd9=_0xe0088,_0x42944d=_0x48aee6(_0x21ea20[_0x218fd9(0x185)],this[_0x218fd9(0x173)][_0x218fd9(0x174)])[_0x218fd9(0x177)];this[_0x218fd9(0x17b)](_0x42944d)[_0x218fd9(0x1a3)](_0x21ea20);}[_0xe0088(0x17b)](_0x2db2a0){const _0x2512e8=_0xe0088;return this[_0x2512e8(0x197)][_0x2512e8(0x181)](_0xfd4920=>_0xfd4920[_0x2512e8(0x177)][_0x2512e8(0x195)]()===_0x2db2a0[_0x2512e8(0x195)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x161d(){const _0x306f14=['toJSDate','fromJSDate','230Rtycgk','1234lIduqt','8QWnOQq','55520DFBbks','toRelativeCalendar','2143974WTpbHh','minus','14QnzvHK','local','setLocale','hasSame','27509640xTrZoY','24nlnQSb','30RqJFsM','monthLong','333927mmsoZe','7865055soupJf','weekdayLong','year','startOf','month','week','day','509044YxXfwM'];_0x161d=function(){return _0x306f14;};return _0x161d();}function _0x4092(_0xd38eb8,_0x2fe6fd){const _0x161d40=_0x161d();return _0x4092=function(_0x409245,_0x343179){_0x409245=_0x409245-0x159;let _0x41efad=_0x161d40[_0x409245];return _0x41efad;},_0x4092(_0xd38eb8,_0x2fe6fd);}(function(_0x391543,_0x2130b0){const _0x5f252b=_0x4092,_0x4a396a=_0x391543();while(!![]){try{const _0x4b9d60=-parseInt(_0x5f252b(0x160))/0x1*(parseInt(_0x5f252b(0x166))/0x2)+-parseInt(_0x5f252b(0x16c))/0x3*(-parseInt(_0x5f252b(0x15c))/0x4)+parseInt(_0x5f252b(0x162))/0x5*(parseInt(_0x5f252b(0x16b))/0x6)+-parseInt(_0x5f252b(0x164))/0x7*(-parseInt(_0x5f252b(0x161))/0x8)+parseInt(_0x5f252b(0x16f))/0x9+-parseInt(_0x5f252b(0x15f))/0xa*(-parseInt(_0x5f252b(0x16e))/0xb)+-parseInt(_0x5f252b(0x16a))/0xc;if(_0x4b9d60===_0x2130b0)break;else _0x4a396a['push'](_0x4a396a['shift']());}catch(_0x50226e){_0x4a396a['push'](_0x4a396a['shift']());}}}(_0x161d,0xda562));import{DateTime as _0x4af612}from'luxon';export function getDateTimePeriodInfo(_0x1505fe,_0x312aea){const _0x562665=_0x4092,_0x53a982=_0x4af612[_0x562665(0x15e)](_0x1505fe)[_0x562665(0x168)](_0x312aea),_0x2e6c6a=_0x4af612[_0x562665(0x167)](),_0x5a6a84=_0x2e6c6a[_0x562665(0x165)]({'days':0x1})[_0x562665(0x172)](_0x562665(0x15b));let _0x4ae819,_0x2e0fc8;return _0x53a982[_0x562665(0x169)](_0x2e6c6a,_0x562665(0x15b))?(_0x4ae819=_0x53a982[_0x562665(0x172)](_0x562665(0x15b))[_0x562665(0x15d)](),_0x2e0fc8=_0x53a982[_0x562665(0x163)]()):_0x53a982[_0x562665(0x169)](_0x5a6a84,_0x562665(0x15b))?(_0x4ae819=_0x5a6a84[_0x562665(0x15d)](),_0x2e0fc8=_0x53a982[_0x562665(0x163)]()):_0x53a982[_0x562665(0x169)](_0x2e6c6a,_0x562665(0x15a))?(_0x4ae819=_0x53a982[_0x562665(0x172)](_0x562665(0x15a))[_0x562665(0x15d)](),_0x2e0fc8=_0x53a982[_0x562665(0x170)]||''):_0x53a982[_0x562665(0x169)](_0x2e6c6a,_0x562665(0x171))?(_0x4ae819=_0x53a982[_0x562665(0x172)](_0x562665(0x159))[_0x562665(0x15d)](),_0x2e0fc8=_0x53a982[_0x562665(0x16d)]||''):(_0x4ae819=_0x53a982[_0x562665(0x172)](_0x562665(0x171))[_0x562665(0x15d)](),_0x2e0fc8=String(_0x53a982[_0x562665(0x171)])),{'startDate':_0x4ae819,'localizedPeriodName':_0x2e0fc8};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2034(_0x46dda6,_0x1b8243){const _0x320d1a=_0x320d();return _0x2034=function(_0x203482,_0x4d1833){_0x203482=_0x203482-0x100;let _0x513275=_0x320d1a[_0x203482];return _0x513275;},_0x2034(_0x46dda6,_0x1b8243);}const _0x1814d3=_0x2034;(function(_0x2424ab,_0x42be73){const _0x496495=_0x2034,_0x46c373=_0x2424ab();while(!![]){try{const _0x126de6=-parseInt(_0x496495(0x114))/0x1+-parseInt(_0x496495(0x11b))/0x2+-parseInt(_0x496495(0x105))/0x3*(-parseInt(_0x496495(0x115))/0x4)+-parseInt(_0x496495(0x104))/0x5+parseInt(_0x496495(0x119))/0x6*(parseInt(_0x496495(0x107))/0x7)+parseInt(_0x496495(0x11e))/0x8*(parseInt(_0x496495(0x10f))/0x9)+parseInt(_0x496495(0x109))/0xa;if(_0x126de6===_0x42be73)break;else _0x46c373['push'](_0x46c373['shift']());}catch(_0x3add77){_0x46c373['push'](_0x46c373['shift']());}}}(_0x320d,0xb6c8f));import{View as _0x1250cf}from'ckeditor5/src/ui.js';function _0x320d(){const _0x560cec=['bindTemplate','9CMzxGe','ck-annotation','ck-revision-change','focus','div','1071690aHDMwn','10916HGnEeQ','add','ck-revision-change__','Suggested\x20by','1565922omfBlS','Removed\x20by','2814916UNIRWw','type','name','11434272FFKOdA','Added\x20by','element','_model','span','author','6073245cnEScY','675SVeIrc','changeId','7DysDTC','set','21381880GUTYTS','data','isSuggestion','setTemplate','ck-revision-change__label'];_0x320d=function(){return _0x560cec;};return _0x320d();}import{getTranslation as _0x4ec65c}from'../../utils/common-translations.js';export default class Z extends _0x1250cf{constructor(_0x4dd5f5,_0x4f8e61){const _0x4fb581=_0x2034;super(_0x4dd5f5),this[_0x4fb581(0x101)]=_0x4f8e61,this[_0x4fb581(0x106)]=_0x4f8e61['id'];const _0x4e3b85=this[_0x4fb581(0x10e)],_0x248450=_0x4ec65c(_0x4dd5f5,_0x4f8e61[_0x4fb581(0x10a)][_0x4fb581(0x10b)]?_0x4fb581(0x118):_0x4fb581(0x116)==_0x4f8e61[_0x4fb581(0x11c)]?_0x4fb581(0x11f):_0x4fb581(0x11a));this[_0x4fb581(0x108)](_0x4fb581(0x11c),_0x4f8e61[_0x4fb581(0x11c)]),this[_0x4fb581(0x10c)]({'tag':_0x4fb581(0x113),'attributes':{'class':[_0x4fb581(0x110),_0x4fb581(0x111),_0x4e3b85['to'](_0x4fb581(0x11c),_0x31a635=>_0x4fb581(0x117)+_0x31a635)],'tabindex':-0x1},'children':[{'tag':_0x4fb581(0x102),'children':[{'tag':_0x4fb581(0x102),'attributes':{'class':[_0x4fb581(0x10d)]},'children':[{'text':_0x248450}]},{'text':'\x20'+_0x4f8e61[_0x4fb581(0x103)][_0x4fb581(0x11d)]}]}]});}[_0x1814d3(0x112)](){const _0x125968=_0x1814d3;this[_0x125968(0x100)][_0x125968(0x112)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xcdc2ed,_0x19ed86){const _0x26e756=_0x3eb9,_0x28a6b1=_0xcdc2ed();while(!![]){try{const _0x49d5bd=-parseInt(_0x26e756(0x7f))/0x1*(-parseInt(_0x26e756(0x6d))/0x2)+parseInt(_0x26e756(0x81))/0x3+-parseInt(_0x26e756(0x95))/0x4*(parseInt(_0x26e756(0x7e))/0x5)+-parseInt(_0x26e756(0x76))/0x6*(-parseInt(_0x26e756(0x8a))/0x7)+-parseInt(_0x26e756(0x8c))/0x8+parseInt(_0x26e756(0x84))/0x9+-parseInt(_0x26e756(0x87))/0xa;if(_0x49d5bd===_0x19ed86)break;else _0x28a6b1['push'](_0x28a6b1['shift']());}catch(_0x172ec7){_0x28a6b1['push'](_0x28a6b1['shift']());}}}(_0x2e1e,0xdd6b6));import{View as _0x37db6e,ButtonView as _0x47dd1e,ToolbarSeparatorView as _0x2f5544}from'ckeditor5/src/ui.js';function _0x2e1e(){const _0x6dad65=['backward','381590mnHBoq','isReady','isEnabled','NUMBER_OF_CHANGES','isNavigationMode','ck-hidden','bind','_isStatusLabelVisible','Total','3339678qmHyjP','isForwardNavigationEnabled','No\x20changes','ck-revision-history-ui__changes-navigation__navigation','Show\x20next\x20change','setTemplate','forward','set','20YiiOdR','6gIeOuB','currentChangeNumber','3358527zqRCBa','numberOfChanges','span','12633219tJpcUr','ck-revision-history-ui__changes-navigation__wrapper','ck-revision-history-ui__changes-navigation','18133610XDnqTB','fire','bindTemplate','14fpNpkA','EDIT_X_OF_Y_REVISIONS','14178504Xxxvgx','div','_statusText','isBackwardNavigationEnabled','ck-revision-history-ui__changes-navigation__label','Show\x20previous\x20change','ck-revision-history-ui','Loading...','execute','288588hnJhcR','X_OF_Y_CHANGES'];_0x2e1e=function(){return _0x6dad65;};return _0x2e1e();}import{getTranslation as _0x31419a}from'../../utils/common-translations.js';import _0x5bfd55 from'../../../theme/icons/arrow-up.svg';import _0x1b7118 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';function _0x3eb9(_0x3a40d9,_0x485efd){const _0x2e1e49=_0x2e1e();return _0x3eb9=function(_0x3eb94b,_0x118377){_0x3eb94b=_0x3eb94b-0x6d;let _0x1978f0=_0x2e1e49[_0x3eb94b];return _0x1978f0;},_0x3eb9(_0x3a40d9,_0x485efd);}export default class _i extends _0x37db6e{constructor(_0x4a85a0){const _0x2d0115=_0x3eb9;super(_0x4a85a0);const _0x5e3fa1=this[_0x2d0115(0x89)],_0x253c30=new _0x47dd1e(_0x4a85a0),_0x4405d6=new _0x47dd1e(_0x4a85a0);this[_0x2d0115(0x7d)](_0x2d0115(0x71),!0x1),this[_0x2d0115(0x7d)](_0x2d0115(0x6e),!0x1),this[_0x2d0115(0x7d)](_0x2d0115(0x80),0x0),this[_0x2d0115(0x7d)](_0x2d0115(0x82),0x0),this[_0x2d0115(0x7d)](_0x2d0115(0x77),!0x1),this[_0x2d0115(0x7d)](_0x2d0115(0x8f),!0x1),this[_0x2d0115(0x73)](_0x2d0115(0x74))['to'](this,_0x2d0115(0x6e),this,_0x2d0115(0x82),(_0x401b57,_0x2e9542)=>_0x401b57&&_0x2e9542>0x0),this[_0x2d0115(0x73)](_0x2d0115(0x8e))['to'](this,_0x2d0115(0x6e),this,_0x2d0115(0x80),this,_0x2d0115(0x82),this,_0x2d0115(0x71),(_0x409f47,_0x179d7c,_0x3961e1,_0x2663da)=>{const _0x4782b2=_0x2d0115;if(!_0x409f47)return _0x31419a(_0x4a85a0,_0x4782b2(0x93));if(!_0x3961e1)return _0x31419a(_0x4a85a0,_0x4782b2(0x78));const _0x2a92c0=_0x31419a(_0x4a85a0,_0x4782b2(0x70),_0x3961e1);return _0x2663da?_0x31419a(_0x4a85a0,_0x4782b2(0x96),[_0x179d7c+0x1,_0x3961e1]):_0x2a92c0;}),_0x253c30[_0x2d0115(0x7d)]({'label':_0x31419a(_0x4a85a0,_0x2d0115(0x91)),'tooltip':!0x0,'icon':_0x5bfd55}),_0x4405d6[_0x2d0115(0x7d)]({'label':_0x31419a(_0x4a85a0,_0x2d0115(0x7a)),'tooltip':!0x0,'icon':_0x1b7118}),_0x253c30[_0x2d0115(0x73)](_0x2d0115(0x6f))['to'](this,_0x2d0115(0x8f)),_0x4405d6[_0x2d0115(0x73)](_0x2d0115(0x6f))['to'](this,_0x2d0115(0x77)),_0x253c30['on'](_0x2d0115(0x94),()=>this[_0x2d0115(0x88)](_0x2d0115(0x94),_0x2d0115(0x97))),_0x4405d6['on'](_0x2d0115(0x94),()=>this[_0x2d0115(0x88)](_0x2d0115(0x94),_0x2d0115(0x7c))),this[_0x2d0115(0x7b)]({'tag':_0x2d0115(0x8d),'attributes':{'class':['ck',_0x2d0115(0x92),_0x2d0115(0x86)]},'children':[{'tag':_0x2d0115(0x83),'attributes':{'class':[_0x2d0115(0x85)]},'children':[{'tag':_0x2d0115(0x83),'attributes':{'class':[_0x2d0115(0x90),_0x5e3fa1['if'](_0x2d0115(0x74),_0x2d0115(0x72),_0x47112a=>!_0x47112a)]},'children':[{'text':_0x5e3fa1['to'](_0x2d0115(0x71),_0x596de3=>_0x596de3?_0x31419a(_0x4a85a0,_0x2d0115(0x8b))+':\x20':_0x31419a(_0x4a85a0,_0x2d0115(0x75))+':\x20')}]},{'text':_0x5e3fa1['to'](_0x2d0115(0x8e))}]},new _0x2f5544(),{'tag':_0x2d0115(0x8d),'attributes':{'class':[_0x2d0115(0x79)]},'children':[_0x253c30,_0x4405d6]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2732d4=_0x6f38;(function(_0x3ed528,_0x1f6a86){const _0x892f42=_0x6f38,_0x9b2ce7=_0x3ed528();while(!![]){try{const _0x1af15f=-parseInt(_0x892f42(0x10d))/0x1+parseInt(_0x892f42(0x103))/0x2+-parseInt(_0x892f42(0x105))/0x3+-parseInt(_0x892f42(0xfd))/0x4*(-parseInt(_0x892f42(0x109))/0x5)+parseInt(_0x892f42(0x10a))/0x6+parseInt(_0x892f42(0xff))/0x7+-parseInt(_0x892f42(0x110))/0x8*(parseInt(_0x892f42(0x107))/0x9);if(_0x1af15f===_0x1f6a86)break;else _0x9b2ce7['push'](_0x9b2ce7['shift']());}catch(_0xa5f256){_0x9b2ce7['push'](_0x9b2ce7['shift']());}}}(_0xf099,0x22b01));import{Plugin as _0x43fc97}from'ckeditor5/src/core.js';const ce=_0x2732d4(0x101);import'../../../theme/revisionviewerloadingoverlay.css';function _0x6f38(_0x4932c6,_0x5593c1){const _0xf0991f=_0xf099();return _0x6f38=function(_0x6f389f,_0x4961a6){_0x6f389f=_0x6f389f-0xfd;let _0x2d810f=_0xf0991f[_0x6f389f];return _0x2d810f;},_0x6f38(_0x4932c6,_0x5593c1);}export default class de extends _0x43fc97{static get[_0x2732d4(0xfe)](){const _0x4f149f=_0x2732d4;return _0x4f149f(0x111);}[_0x2732d4(0x102)](){const _0x22f8c2=_0x2732d4,_0x443804=this[_0x22f8c2(0x112)][_0x22f8c2(0x108)][_0x22f8c2(0x100)];_0x443804[_0x22f8c2(0x10f)](_0x124a5d=>{const _0x4a75f4=_0x22f8c2;for(const _0x2502ec of _0x443804[_0x4a75f4(0x10e)][_0x4a75f4(0x106)])_0x124a5d[_0x4a75f4(0x104)](ce,_0x2502ec);});}[_0x2732d4(0x10c)](){const _0x26b75c=_0x2732d4,_0x4fa4df=this[_0x26b75c(0x112)][_0x26b75c(0x108)][_0x26b75c(0x100)];_0x4fa4df[_0x26b75c(0x10f)](_0x1ed192=>{const _0x23dff4=_0x26b75c;for(const _0x406732 of _0x4fa4df[_0x23dff4(0x10e)][_0x23dff4(0x106)])_0x1ed192[_0x23dff4(0x10b)](ce,_0x406732);});}}function _0xf099(){const _0x2376cf=['RevisionViewerLoadingOverlay','editor','2888XMrrog','pluginName','886277SagGsD','view','ck-editor__editable__loading-overlay','show','508522SpYIjN','addClass','624990jxwmfg','roots','2115pdWDTs','editing','1445TAeJEd','797118cCMxfw','removeClass','hide','188907eIlHbO','document','change','6232GuWxih'];_0xf099=function(){return _0x2376cf;};return _0xf099();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40393f=_0x5112;(function(_0x1889bd,_0x1cf1e9){const _0x41e6e2=_0x5112,_0x36cf08=_0x1889bd();while(!![]){try{const _0x6ddce8=parseInt(_0x41e6e2(0x8a))/0x1+-parseInt(_0x41e6e2(0x8d))/0x2+parseInt(_0x41e6e2(0x87))/0x3+parseInt(_0x41e6e2(0x95))/0x4+-parseInt(_0x41e6e2(0x83))/0x5+-parseInt(_0x41e6e2(0x9b))/0x6+parseInt(_0x41e6e2(0x7a))/0x7;if(_0x6ddce8===_0x1cf1e9)break;else _0x36cf08['push'](_0x36cf08['shift']());}catch(_0x446be5){_0x36cf08['push'](_0x36cf08['shift']());}}}(_0xe2f8,0x4a5fd));import{icons as _0x1ce87f,Plugin as _0xe1e628}from'ckeditor5/src/core.js';import{ButtonView as _0x19f32d}from'ckeditor5/src/ui.js';import _0x2f6381 from'./changesnavigationview.js';import _0x53c54e from'./../../revisionviewer.js';import _0xc537f4 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x292548}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';function _0xe2f8(){const _0xbab864=['2130102iaiMVY','ck-revision-history-ui__back-to-editing','editor','isNavigationMode','get','plugins','set','Back\x20to\x20editing','config','requires','RevisionViewerUI','7693245QaHOQf','listenTo','isReady','currentChangeNumber','isBackwardNavigationEnabled','exitToEditing','Restore\x20this\x20revision','change:isReady','add','2270895UVtxbQ','showPreviousChange','componentFactory','pluginName','1100034ZwQMRs','hide','undo','166163fbAZBG','commands','numberOfChanges','1064534uWBOdk','show','forward','execute','restoreRevision','bind','changesNavigation','isEnabled','56896scBosp','closeRevisionViewerCallback','init','isForwardNavigationEnabled','revisionHistory','showNextChange'];_0xe2f8=function(){return _0xbab864;};return _0xe2f8();}function _0x5112(_0x8fc49b,_0x584e2b){const _0xe2f8b9=_0xe2f8();return _0x5112=function(_0x511240,_0x5ae860){_0x511240=_0x511240-0x77;let _0x5478da=_0xe2f8b9[_0x511240];return _0x5478da;},_0x5112(_0x8fc49b,_0x584e2b);}export default class R extends _0xe1e628{static get[_0x40393f(0x86)](){const _0x1e24a6=_0x40393f;return _0x1e24a6(0x79);}static get[_0x40393f(0x78)](){return[_0x53c54e,_0xc537f4];}[_0x40393f(0x97)](){const _0x2245f5=_0x40393f,_0x559173=this[_0x2245f5(0x9d)],_0x14c8a1=_0x559173[_0x2245f5(0xa0)][_0x2245f5(0x9f)](_0x53c54e),_0x14f0c4=_0x559173[_0x2245f5(0xa0)][_0x2245f5(0x9f)](_0xc537f4);_0x559173['ui'][_0x2245f5(0x85)][_0x2245f5(0x82)](_0x2245f5(0x7f),_0x4804a5=>{const _0x36a68c=_0x2245f5,_0x1f72e6=new _0x19f32d(_0x4804a5);return _0x1f72e6[_0x36a68c(0xa1)]({'label':_0x292548(_0x4804a5,_0x36a68c(0xa2)),'icon':_0x1ce87f[_0x36a68c(0x89)],'withText':!0x0,'tooltip':!0x0,'class':_0x36a68c(0x9c)}),this[_0x36a68c(0x7b)](_0x1f72e6,_0x36a68c(0x90),()=>{const _0x380ab4=_0x36a68c;_0x559173[_0x380ab4(0x77)][_0x380ab4(0x9f)](_0x380ab4(0x99))[_0x380ab4(0x96)]();}),_0x1f72e6;}),_0x559173['ui'][_0x2245f5(0x85)][_0x2245f5(0x82)](_0x2245f5(0x91),_0x2f5595=>{const _0x3a5017=_0x2245f5,_0x398754=new _0x19f32d(_0x2f5595);return _0x398754[_0x3a5017(0xa1)]({'label':_0x292548(_0x2f5595,_0x3a5017(0x80)),'withText':!0x0,'tooltip':!0x0}),_0x398754[_0x3a5017(0x92)](_0x3a5017(0x94))['to'](_0x559173[_0x3a5017(0x8b)][_0x3a5017(0x9f)](_0x3a5017(0x91))),this[_0x3a5017(0x7b)](_0x398754,_0x3a5017(0x90),()=>_0x559173[_0x3a5017(0x90)](_0x3a5017(0x91))),_0x398754;}),_0x559173['ui'][_0x2245f5(0x85)][_0x2245f5(0x82)](_0x2245f5(0x93),_0x492492=>{const _0x2dc4ca=_0x2245f5,_0x52ed3e=new _0x2f6381(_0x492492),_0xaf96db=_0x559173[_0x2dc4ca(0x8b)][_0x2dc4ca(0x9f)](_0x2dc4ca(0x84)),_0x5d0dff=_0x559173[_0x2dc4ca(0x8b)][_0x2dc4ca(0x9f)](_0x2dc4ca(0x9a));return _0x52ed3e[_0x2dc4ca(0x92)](_0x2dc4ca(0x7e))['to'](_0xaf96db,_0x2dc4ca(0x94)),_0x52ed3e[_0x2dc4ca(0x92)](_0x2dc4ca(0x98))['to'](_0x5d0dff,_0x2dc4ca(0x94)),_0x52ed3e[_0x2dc4ca(0x92)](_0x2dc4ca(0x7c),_0x2dc4ca(0x7d),_0x2dc4ca(0x8c),_0x2dc4ca(0x9e))['to'](_0x14c8a1),this[_0x2dc4ca(0x7b)](_0x52ed3e,_0x2dc4ca(0x90),(_0x12266d,_0x345671)=>{const _0x37c953=_0x2dc4ca;_0x559173[_0x37c953(0x90)](_0x37c953(0x8f)===_0x345671?_0x37c953(0x9a):_0x37c953(0x84));}),_0x52ed3e;}),_0x14f0c4[_0x2245f5(0x8e)](),_0x14c8a1['on'](_0x2245f5(0x81),(_0x37ffd0,_0x5d5ba7,_0x253d68)=>{const _0xa4c7d3=_0x2245f5;_0x253d68?_0x14f0c4[_0xa4c7d3(0x88)]():_0x14f0c4[_0xa4c7d3(0x8e)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x2ee204,_0x5ce754,_0x53b62e){const t=_0x2ee204['t'];switch(_0x5ce754){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x53b62e);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x53b62e);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}
|