@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240410.0 → 0.0.0-nightly-20240411.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
|
-
|
|
23
|
+
const _0x3a31af=_0x8d88;(function(_0x50a1da,_0x593f36){const _0x1bf5dd=_0x8d88,_0x2c7e05=_0x50a1da();while(!![]){try{const _0x1acf5d=-parseInt(_0x1bf5dd(0x9d))/0x1*(parseInt(_0x1bf5dd(0x96))/0x2)+-parseInt(_0x1bf5dd(0x82))/0x3+parseInt(_0x1bf5dd(0x94))/0x4*(-parseInt(_0x1bf5dd(0x9a))/0x5)+-parseInt(_0x1bf5dd(0x8c))/0x6*(parseInt(_0x1bf5dd(0x8d))/0x7)+-parseInt(_0x1bf5dd(0x92))/0x8+-parseInt(_0x1bf5dd(0x8b))/0x9*(-parseInt(_0x1bf5dd(0x98))/0xa)+-parseInt(_0x1bf5dd(0x81))/0xb*(-parseInt(_0x1bf5dd(0x8e))/0xc);if(_0x1acf5d===_0x593f36)break;else _0x2c7e05['push'](_0x2c7e05['shift']());}catch(_0x596691){_0x2c7e05['push'](_0x2c7e05['shift']());}}}(_0x410f,0xeab28));import{LabeledFieldView as _0x41393d,View as _0x61d350,createLabeledInputText as _0x36983a,injectCssTransitionDisabler as _0x592cc4,submitHandler as _0x28a0cb}from'ckeditor5/src/ui.js';function _0x8d88(_0x49e194,_0x1c49a1){const _0x410f9d=_0x410f();return _0x8d88=function(_0x8d8849,_0xbb8191){_0x8d8849=_0x8d8849-0x74;let _0x4e19dd=_0x410f9d[_0x8d8849];return _0x4e19dd;},_0x8d88(_0x49e194,_0x1c49a1);}import{FocusTracker as _0x4af77e,KeystrokeHandler as _0x452dbc}from'ckeditor5/src/utils.js';import{getTranslation as _0x2a44c3}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';function _0x410f(){const _0x13d0f3=['revisionNameInputView','optional','extendTemplate','render','arrowleft','144sIghXX','54MztaRv','1366554LAdlza','102189336lSlrjJ','focus','form','trim','15016992FQIZVv','arrowup','186768ItSpYc','stopPropagation','2bpyAUv','220','305570yWTXid','ck-responsive-form','205oaNZKs','input','value','1178046DYyues','set','element','ck-revision-history-save-revision-form','listenTo','revisionName','label','keystrokes','errorText','Name\x20of\x20the\x20revision','reset','arrowright','setTemplate','locale','focusTracker','_createRevisionNameInput','arrowdown','11qBQjsL','3950490CYDVOo','add','fieldView','revisionNameInputValue'];_0x410f=function(){return _0x13d0f3;};return _0x410f();}import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class ns extends _0x61d350{constructor(_0x185085,_0x5a342e){const _0x256e10=_0x8d88;super(_0x185085),this[_0x256e10(0x7e)]=new _0x4af77e(),this[_0x256e10(0x77)]=new _0x452dbc(),this[_0x256e10(0x9e)](_0x256e10(0x85),''),this[_0x256e10(0x86)]=this[_0x256e10(0x7f)](_0x5a342e),this[_0x256e10(0x7c)]({'tag':_0x256e10(0x90),'attributes':{'class':['ck',_0x256e10(0xa0),_0x256e10(0x99)],'tabindex':'-1'},'children':[this[_0x256e10(0x86)]]}),_0x592cc4(this);}[_0x3a31af(0x89)](){const _0x5af9f4=_0x3a31af;super[_0x5af9f4(0x89)](),_0x28a0cb({'view':this}),this[_0x5af9f4(0x7e)][_0x5af9f4(0x83)](this[_0x5af9f4(0x86)][_0x5af9f4(0x9f)]),this[_0x5af9f4(0x77)][_0x5af9f4(0x74)](this[_0x5af9f4(0x9f)]);const _0x345b86=_0x41a0ac=>_0x41a0ac[_0x5af9f4(0x95)]();this[_0x5af9f4(0x77)][_0x5af9f4(0x9e)](_0x5af9f4(0x7b),_0x345b86),this[_0x5af9f4(0x77)][_0x5af9f4(0x9e)](_0x5af9f4(0x8a),_0x345b86),this[_0x5af9f4(0x77)][_0x5af9f4(0x9e)](_0x5af9f4(0x93),_0x345b86),this[_0x5af9f4(0x77)][_0x5af9f4(0x9e)](_0x5af9f4(0x80),_0x345b86);}[_0x3a31af(0x8f)](){const _0x44b9cb=_0x3a31af;this[_0x44b9cb(0x86)][_0x44b9cb(0x8f)]();}get[_0x3a31af(0x75)](){const _0x3c9abe=_0x3a31af;return this[_0x3c9abe(0x86)][_0x3c9abe(0x84)][_0x3c9abe(0x9f)][_0x3c9abe(0x9c)][_0x3c9abe(0x91)]();}set[_0x3a31af(0x75)](_0x4d5d8c){const _0x107fba=_0x3a31af;this[_0x107fba(0x86)][_0x107fba(0x84)][_0x107fba(0x9f)][_0x107fba(0x9c)]=_0x4d5d8c[_0x107fba(0x91)]();}[_0x3a31af(0x7a)](){const _0x8a5bf6=_0x3a31af;this[_0x8a5bf6(0x86)][_0x8a5bf6(0x84)][_0x8a5bf6(0x9f)][_0x8a5bf6(0x9c)]='',this[_0x8a5bf6(0x86)][_0x8a5bf6(0x78)]=null;}[_0x3a31af(0x7f)](_0x4276cc){const _0x37d51e=_0x3a31af,_0x541965=new _0x41393d(this[_0x37d51e(0x7d)],_0x36983a),_0x13cae5=_0x541965[_0x37d51e(0x84)];_0x13cae5[_0x37d51e(0x88)]({'attributes':{'maxlength':_0x37d51e(0x97)}});let _0x272a59=_0x2a44c3(this[_0x37d51e(0x7d)],_0x37d51e(0x79));return!_0x4276cc&&(_0x272a59+='\x20('+_0x2a44c3(this[_0x37d51e(0x7d)],_0x37d51e(0x87))+')'),(_0x541965[_0x37d51e(0x76)]=_0x272a59,_0x13cae5['on'](_0x37d51e(0x9b),()=>{const _0x295456=_0x37d51e;this[_0x295456(0x85)]=_0x13cae5[_0x295456(0x9f)][_0x295456(0x9c)][_0x295456(0x91)]();}),_0x541965);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x540f38,icons as _0x5254e9}from'ckeditor5/src/core.js';import{createDropdown as _0x444a79,ButtonView as _0x42569a,ListItemView as _0x22d44f,ListView as te,MenuBarMenuListItemButtonView as _0xa5472d,MenuBarMenuListItemView as _0xee5f6c,MenuBarMenuListView as _0x4bc4a1,MenuBarMenuView as _0x2ed707}from'ckeditor5/src/ui.js';import _0x18e18c from'../../revisiontracker.js';import _0x439c6d from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x474bc3}from'../../utils/common-translations.js';export default class u extends _0x540f38{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[_0x18e18c];}['init'](){const _0x2a4031=this['editor'],_0x2ee27e=_0x2a4031['plugins']['get']('RevisionTracker');_0x2a4031['ui']['componentFactory']['add']('revisionHistory',_0x60d17a=>{const _0x1af5f3=_0x444a79(_0x60d17a),_0x10bb09=_0x1af5f3['panelView']['children'],_0xea3100=new te(_0x60d17a),_0xac115d=new _0x22d44f(_0x60d17a),_0x35d1a0=new _0x42569a(_0x60d17a),_0x1844e7=new _0x22d44f(_0x60d17a),_0x32edb0=new _0x42569a(_0x60d17a);return _0x1af5f3['bind']('isEnabled')['to'](_0x2ee27e,'isReady',_0x2ee27e,'isEnabled',_0x2a4031,'isReadOnly',(_0x2c14fb,_0x580009,_0x1216e8)=>_0x2c14fb&&_0x580009&&!_0x1216e8),_0x1af5f3['buttonView']['set']({'icon':_0x5254e9['history'],'label':_0x474bc3(_0x60d17a,'Revision\x20history'),'tooltip':!0x0}),_0x35d1a0['set']({'label':_0x474bc3(_0x60d17a,'Save\x20current\x20revision'),'withText':!0x0}),_0x35d1a0['bind']('isEnabled')['to'](_0x2ee27e,'isReady',_0x2ee27e,'isEnabled',_0x2a4031,'isReadOnly',(_0x5368bc,_0x56bc31,_0x63f6e6)=>_0x5368bc&&_0x56bc31&&!_0x63f6e6),_0x35d1a0['on']('execute',()=>this['_showDialog']()),_0x32edb0['set']({'label':_0x474bc3(_0x60d17a,'Open\x20revision\x20history'),'withText':!0x0}),_0x32edb0['bind']('isEnabled')['to'](_0x2ee27e,'isReady',_0x2a4031,'isReadOnly',(_0x36c06a,_0x143d2b)=>_0x36c06a&&!_0x143d2b),_0x32edb0['on']('execute',()=>{_0x2a4031['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x1af5f3['isOpen']=!0x1,_0x2a4031['editing']['view']['focus']();}),_0xac115d['children']['add'](_0x35d1a0),_0x1844e7['children']['add'](_0x32edb0),_0xea3100['items']['addMany']([_0xac115d,_0x1844e7]),_0x10bb09['add'](_0xea3100),_0x1af5f3;}),_0x2a4031['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x4850b0=this['editor'],_0x4f0852=_0x4850b0['locale'],_0x25d733=new _0x2ed707(_0x4f0852),_0xef8089=new _0x4bc4a1(_0x4f0852);_0x25d733['buttonView']['set']({'icon':_0x5254e9['history'],'label':_0x474bc3(_0x4f0852,'Revision\x20history')});const _0x35ccdb=new _0xee5f6c(_0x4f0852,_0x25d733),_0x4dd480=new _0xa5472d(_0x4f0852);_0x4dd480['set']({'label':_0x474bc3(_0x4f0852,'Save\x20current\x20revision')}),_0x4dd480['delegate']('execute')['to'](_0x25d733),_0x4dd480['on']('execute',()=>{this['_showDialog']();}),_0x35ccdb['children']['add'](_0x4dd480),_0xef8089['items']['add'](_0x35ccdb);const _0x54781e=new _0xee5f6c(_0x4f0852,_0x25d733),_0x3a11f2=new _0xa5472d(_0x4f0852);return _0x3a11f2['set']({'label':_0x474bc3(_0x4f0852,'Open\x20revision\x20history')}),_0x3a11f2['delegate']('execute')['to'](_0x25d733),_0x3a11f2['on']('execute',()=>{_0x4850b0['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x54781e['children']['add'](_0x3a11f2),_0xef8089['items']['add'](_0x54781e),_0x25d733['panelView']['children']['add'](_0xef8089),_0x25d733;}['_showDialog'](){const _0x4389e=this['editor'],_0x5b9632=_0x4389e['locale'],t=_0x5b9632['t'],_0x13e2e3=_0x4389e['plugins']['get']('Dialog'),_0x458277=_0x4389e['plugins']['get']('RevisionTracker');function _0x21c4f2(_0x185463){_0x4389e['config']['get']('revisionHistory.requireRevisionName')&&''===_0x185463['revisionName']?_0x185463['revisionNameInputView']['errorText']=_0x474bc3(_0x5b9632,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x4389e['plugins']['get'](_0x18e18c)['saveRevision']({'name':_0x185463['revisionName']}),_0x13e2e3['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x21c4f2(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x13e2e3['show']({'id':'findAndReplace','title':_0x474bc3(_0x5b9632,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x13e2e3['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x108a39){_0x108a39['bind']('isEnabled')['to'](_0x458277,'isReady',_0x458277,'isEnabled',_0x4389e,'isReadOnly',(_0x46edd8,_0x261b40,_0x3714ea)=>_0x46edd8&&_0x261b40&&!_0x3714ea);},'onExecute':()=>_0x21c4f2(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x2c9dae=this['editor'],_0x489c1c=_0x2c9dae['locale'];this['_saveRevisionFormView']=new _0x439c6d(_0x489c1c,_0x2c9dae['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x597cfe=_0x187a;(function(_0x547899,_0x4a4114){const _0xd7553d=_0x187a,_0x213762=_0x547899();while(!![]){try{const _0x1dbe04=-parseInt(_0xd7553d(0xe9))/0x1+-parseInt(_0xd7553d(0x109))/0x2+-parseInt(_0xd7553d(0x104))/0x3+-parseInt(_0xd7553d(0xf9))/0x4+parseInt(_0xd7553d(0xf3))/0x5*(parseInt(_0xd7553d(0xee))/0x6)+-parseInt(_0xd7553d(0xff))/0x7+parseInt(_0xd7553d(0x136))/0x8;if(_0x1dbe04===_0x4a4114)break;else _0x213762['push'](_0x213762['shift']());}catch(_0x153653){_0x213762['push'](_0x213762['shift']());}}}(_0x3af2,0x3a440));import{Plugin as _0x354fe5}from'ckeditor5/src/core.js';function _0x187a(_0xe2eed0,_0x554329){const _0x3af26b=_0x3af2();return _0x187a=function(_0x187a37,_0x39083c){_0x187a37=_0x187a37-0xe8;let _0x5e6c3c=_0x3af26b[_0x187a37];return _0x5e6c3c;},_0x187a(_0xe2eed0,_0x554329);}import _0x2457b2 from'./revisionssidebarview.js';import _0x16f47f from'../../revisionviewer.js';export default class w extends _0x354fe5{static get[_0x597cfe(0x131)](){const _0x259b93=_0x597cfe;return _0x259b93(0x117);}static get[_0x597cfe(0x133)](){return[_0x16f47f];}constructor(_0x416bb7){const _0xedf554=_0x597cfe;super(_0x416bb7),this[_0xedf554(0x110)]=_0x416bb7[_0xedf554(0xfb)][_0xedf554(0x12a)](_0x16f47f),this[_0xedf554(0x10e)]=this[_0xedf554(0x110)][_0xedf554(0x12d)],this[_0xedf554(0x12e)]=null;}[_0x597cfe(0x122)](){const _0x11d975=_0x597cfe,_0x9beec5=this[_0x11d975(0x10e)][_0x11d975(0xeb)],_0x278a9b=this[_0x11d975(0x129)](),_0x421250=this[_0x11d975(0xf5)][_0x11d975(0x108)][_0x11d975(0x12a)](_0x11d975(0xec));this[_0x11d975(0x12e)]=new _0x2457b2(this[_0x11d975(0xf5)][_0x11d975(0x10f)],_0x9beec5,_0x278a9b,this[_0x11d975(0xf5)][_0x11d975(0x108)][_0x11d975(0x12a)](_0x11d975(0xf4))),this[_0x11d975(0x12e)]['on'](_0x11d975(0x11c),this[_0x11d975(0x11b)][_0x11d975(0x120)](this)),this[_0x11d975(0x12e)]['on'](_0x11d975(0x10b),this[_0x11d975(0x127)][_0x11d975(0x120)](this)),this[_0x11d975(0x12e)][_0x11d975(0x120)](_0x11d975(0x106))['to'](this[_0x11d975(0x110)]),this[_0x11d975(0x12e)][_0x11d975(0xea)]['on'](_0x11d975(0x10a),(_0x1a51ea,_0x2e0a03)=>{const _0x1fcc2b=_0x11d975;_0x2e0a03[_0x1fcc2b(0x102)]['on'](_0x1fcc2b(0x10a),(_0x399f11,_0x238232)=>{const _0x29e640=_0x1fcc2b;_0x238232[_0x29e640(0x120)](_0x29e640(0x106),_0x29e640(0x11f))['to'](this[_0x29e640(0x110)]);});}),this[_0x11d975(0x12e)][_0x11d975(0xf8)](),this[_0x11d975(0x128)](this[_0x11d975(0xf5)][_0x11d975(0x105)],_0x11d975(0x10c),this[_0x11d975(0x101)][_0x11d975(0x120)](this)),this[_0x11d975(0x128)](this[_0x11d975(0x110)],_0x11d975(0x12f),this[_0x11d975(0x10d)][_0x11d975(0x120)](this)),_0x421250[_0x11d975(0x121)](this[_0x11d975(0x12e)][_0x11d975(0x130)]);}[_0x597cfe(0xf6)](){const _0x29cbcf=_0x597cfe;this[_0x29cbcf(0x12e)][_0x29cbcf(0x130)][_0x29cbcf(0xfa)](),this[_0x29cbcf(0x12e)][_0x29cbcf(0xf6)]();}[_0x597cfe(0x101)](){const _0x490727=_0x597cfe,_0x5a90a4=this[_0x490727(0x10e)][_0x490727(0x11d)](0x0);if(_0x5a90a4){const _0x1fc08e=this[_0x490727(0x10e)][_0x490727(0x111)](_0x5a90a4['id']);this[_0x490727(0x110)][_0x490727(0x116)](_0x5a90a4,_0x1fc08e);}}[_0x597cfe(0x11b)](_0x322928,_0x18236b){const _0x2cb45e=_0x597cfe,_0x3e41d2=this[_0x2cb45e(0x10e)][_0x2cb45e(0x11d)](_0x18236b['id']),_0x5f3a7a=this[_0x2cb45e(0x10e)][_0x2cb45e(0x111)](_0x3e41d2['id']);this[_0x2cb45e(0x110)][_0x2cb45e(0x116)](_0x3e41d2,_0x5f3a7a);}[_0x597cfe(0x127)](_0x4ec6f1,_0x211238){const _0x48fea8=_0x597cfe;this[_0x48fea8(0x10e)][_0x48fea8(0x11d)](_0x211238['id'])[_0x48fea8(0x124)](_0x211238[_0x48fea8(0x119)]);}[_0x597cfe(0x10d)](_0xf08073,_0x24ba47,_0x2918f3){const _0x32014f=_0x597cfe,_0x491abd=this[_0x32014f(0x10e)][_0x32014f(0x135)](_0x2918f3);_0x491abd[_0x32014f(0x113)]>0x2?(this[_0x32014f(0x12e)][_0x32014f(0x12c)](_0x491abd),this[_0x32014f(0x12e)][_0x32014f(0xf1)](null)):(this[_0x32014f(0x12e)][_0x32014f(0x12c)]([]),this[_0x32014f(0x12e)][_0x32014f(0xf1)](_0x491abd[0x0]));}[_0x597cfe(0x129)](){const _0x23805e=_0x597cfe,_0x2dd8f1=this[_0x23805e(0xf5)],_0x2822e4=w[_0x23805e(0x12b)],_0x4afc16=_0x2dd8f1[_0x23805e(0x108)][_0x23805e(0x12a)](_0x23805e(0x112))||w[_0x23805e(0x134)];if(_0x4afc16[_0x23805e(0x113)])return _0x4afc16[_0x23805e(0xe8)](_0x55e565=>{const _0x41c204=_0x23805e,_0x59b8af=_0x41c204(0xef)==typeof _0x55e565?Object[_0x41c204(0x125)]({},_0x2822e4[_0x55e565]):_0x55e565;return _0x59b8af[_0x41c204(0x132)]=_0x59b8af[_0x41c204(0x132)][_0x41c204(0x120)](this,_0x2dd8f1),_0x59b8af[_0x41c204(0x114)]&&(_0x59b8af[_0x41c204(0x114)]=_0x59b8af[_0x41c204(0x114)][_0x41c204(0x120)](this,_0x2dd8f1)),_0x59b8af;});}}w[_0x597cfe(0x12b)]={'compareAgainstSelected':{'name':_0x597cfe(0xfc),'action':({plugins:_0x261df3},_0x376755)=>{const _0x3403f6=_0x597cfe,_0x1b4750=_0x261df3[_0x3403f6(0x12a)](_0x16f47f),_0x300813=_0x1b4750[_0x3403f6(0x12d)];let _0x1125a9=_0x1b4750[_0x3403f6(0x100)][_0x3403f6(0x126)],_0x5164fe=_0x376755['id'];_0x300813[_0x3403f6(0x11a)](_0x1125a9)>_0x300813[_0x3403f6(0x11a)](_0x5164fe)&&([_0x1125a9,_0x5164fe]=[_0x5164fe,_0x1125a9]),_0x1b4750[_0x3403f6(0x116)](_0x1125a9,_0x5164fe);},'isVisible':({plugins:_0x41ddd8},_0x2b45ae)=>{const _0x54d4cf=_0x597cfe,_0x26973b=_0x41ddd8[_0x54d4cf(0x12a)](_0x16f47f);return!(_0x26973b[_0x54d4cf(0x12d)][_0x54d4cf(0x135)](_0x26973b[_0x54d4cf(0x100)])[_0x54d4cf(0x113)]>0x2)&&!_0x2b45ae[_0x54d4cf(0x11e)];}},'restoreRevision':{'name':_0x597cfe(0xf0),'action':(_0x55aafe,{id:_0x40ba76})=>{const _0x5d5e39=_0x597cfe;_0x55aafe[_0x5d5e39(0x108)][_0x5d5e39(0x12a)](_0x5d5e39(0xfe))[_0x5d5e39(0x107)](_0x40ba76);},'isVisible':({plugins:_0x50d2af},_0x4d118b)=>!!_0x50d2af[_0x597cfe(0x12a)](_0x16f47f)[_0x597cfe(0x12d)][_0x597cfe(0xf2)](_0x4d118b['id'])},'nameRevision':{'name':_0x597cfe(0x118),'action':({plugins:_0x34bdcd},{id:_0x1ee068,revisionNameView:_0xc52a7f})=>{const _0x5f317e=_0x597cfe,_0x245c46=_0x34bdcd[_0x5f317e(0x12a)](_0x16f47f),_0x4b10aa=_0x245c46[_0x5f317e(0x12d)][_0x5f317e(0x111)](_0x1ee068);_0x245c46[_0x5f317e(0x116)](_0x1ee068,_0x4b10aa),_0xc52a7f[_0x5f317e(0x103)](),_0xc52a7f[_0x5f317e(0xfd)][_0x5f317e(0xf7)]();}}},w[_0x597cfe(0x134)]=[_0x597cfe(0xed),_0x597cfe(0x115),_0x597cfe(0x123)];function _0x3af2(){const _0x101f1d=['_revisionViewer','getEarlierVisibleRevision','revisionHistory.revisionActions','length','isVisible','restoreRevision','compare','RevisionsSidebar','Name\x20this\x20revision','name','getIndex','_handleRevisionSelected','revisionSelected','getRevision','isSelected','isReady','bind','appendChild','init','nameRevision','setName','assign','newRevisionId','_handleRevisionSetName','listenTo','_createRevisionActions','get','availableRevisionActions','highlightRevisions','repository','_sidebarView','change:diff','element','pluginName','action','requires','defaultRevisionActions','getRevisionsInDiff','7166584fXmLJU','map','133682OhtiBC','timePeriodViews','_revisions','revisionHistory.viewerSidebarContainer','compareAgainstSelected','102bncTnG','string','Restore\x20this\x20revision','selectRevision','getLaterVisibleRevision','108085cbUcIg','revisionHistory.requireRevisionName','editor','destroy','select','render','1478420npwYfi','remove','plugins','Compare\x20against\x20selected','fieldView','revisionHistory','879676pDpGbl','diff','_handleEditorDataReady','revisionViews','focus','13731xUTkrE','data','isEnabled','restoreRevisionCallback','config','782248NHRAor','add','revisionSetName','ready','_handleDiffChange','_revisionsRepository','locale'];_0x3af2=function(){return _0x101f1d;};return _0x3af2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3e80d5,_0x5790e1){const _0x5cd159=_0x54df,_0x16c17d=_0x3e80d5();while(!![]){try{const _0x5a1ed1=-parseInt(_0x5cd159(0x1b5))/0x1+parseInt(_0x5cd159(0x1ac))/0x2+parseInt(_0x5cd159(0x1ae))/0x3+parseInt(_0x5cd159(0x1b7))/0x4*(parseInt(_0x5cd159(0x1b6))/0x5)+-parseInt(_0x5cd159(0x1a8))/0x6*(parseInt(_0x5cd159(0x1b0))/0x7)+parseInt(_0x5cd159(0x1b2))/0x8+parseInt(_0x5cd159(0x1b1))/0x9*(-parseInt(_0x5cd159(0x1a6))/0xa);if(_0x5a1ed1===_0x5790e1)break;else _0x16c17d['push'](_0x16c17d['shift']());}catch(_0x48dfc0){_0x16c17d['push'](_0x16c17d['shift']());}}}(_0x3c24,0x6bfe3));function _0x3c24(){const _0xc1e877=['358887eBHIvs','402025gNgriw','28UrrEdK','Revision\x20history','938030zdAZcc','div','1055130YQgNhF','setTemplate','ck-revision-history-sidebar__header__label','span','147482cJDwfD','content','1643811LqvORr','ck-reset_all','7TKgeIJ','81kgyvsE','5094360lTznOi','history','ck-revision-history-sidebar__header'];_0x3c24=function(){return _0xc1e877;};return _0x3c24();}function _0x54df(_0x5c086c,_0x341de8){const _0x3c24b1=_0x3c24();return _0x54df=function(_0x54df91,_0x5dba96){_0x54df91=_0x54df91-0x1a5;let _0x4e67b2=_0x3c24b1[_0x54df91];return _0x4e67b2;},_0x54df(_0x5c086c,_0x341de8);}import{View as _0x281804,IconView as _0x1bc7b1}from'ckeditor5/src/ui.js';import{getTranslation as _0x403ec0}from'../../utils/common-translations.js';import{icons as _0x47b262}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class as extends _0x281804{constructor(_0x3a0ed7){const _0x3d0f66=_0x54df;super(_0x3a0ed7);const _0x37d264=new _0x1bc7b1();_0x37d264[_0x3d0f66(0x1ad)]=_0x47b262[_0x3d0f66(0x1b3)],this[_0x3d0f66(0x1a9)]({'tag':_0x3d0f66(0x1a7),'attributes':{'class':['ck',_0x3d0f66(0x1af),_0x3d0f66(0x1b4)]},'children':[_0x37d264,{'tag':_0x3d0f66(0x1ab),'attributes':{'class':['ck',_0x3d0f66(0x1aa)]},'children':[_0x403ec0(_0x3a0ed7,_0x3d0f66(0x1a5))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xcc3628=_0x4a42;(function(_0x34dbd9,_0x5e930d){const _0x31fd6c=_0x4a42,_0x10191d=_0x34dbd9();while(!![]){try{const _0x2de9db=-parseInt(_0x31fd6c(0xad))/0x1*(parseInt(_0x31fd6c(0xa0))/0x2)+parseInt(_0x31fd6c(0xa3))/0x3*(-parseInt(_0x31fd6c(0x9c))/0x4)+parseInt(_0x31fd6c(0x8f))/0x5+-parseInt(_0x31fd6c(0x91))/0x6*(parseInt(_0x31fd6c(0x97))/0x7)+-parseInt(_0x31fd6c(0xaa))/0x8+parseInt(_0x31fd6c(0xa5))/0x9*(-parseInt(_0x31fd6c(0x9b))/0xa)+parseInt(_0x31fd6c(0xae))/0xb;if(_0x2de9db===_0x5e930d)break;else _0x10191d['push'](_0x10191d['shift']());}catch(_0x47cd9c){_0x10191d['push'](_0x10191d['shift']());}}}(_0xe8a3,0x95a72));import{View as _0x58a31b}from'ckeditor5/src/ui.js';import _0xaaba05 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x206fc9}from'./utils.js';function _0x4a42(_0x23151c,_0x3e31ac){const _0xe8a3b2=_0xe8a3();return _0x4a42=function(_0x4a42fc,_0x55fdd7){_0x4a42fc=_0x4a42fc-0x8f;let _0x340653=_0xe8a3b2[_0x4a42fc];return _0x340653;},_0x4a42(_0x23151c,_0x3e31ac);}import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class mi extends _0x58a31b{constructor(_0x4466da,_0x58a54d,_0x263d0e,_0x2e007b){const _0x1b5ec8=_0x4a42;super(_0x4466da);const _0x480033=_0x206fc9(_0x58a54d,this[_0x1b5ec8(0x96)][_0x1b5ec8(0xa4)])[_0x1b5ec8(0x93)];this[_0x1b5ec8(0xa6)]=_0x58a54d,this[_0x1b5ec8(0xab)]=this[_0x1b5ec8(0xaf)](),this[_0x1b5ec8(0xa7)]=_0x263d0e,this[_0x1b5ec8(0xa8)]=_0x2e007b,this[_0x1b5ec8(0xab)][_0x1b5ec8(0xa9)](_0x1b5ec8(0x90))['to'](this),this[_0x1b5ec8(0xab)][_0x1b5ec8(0xa9)](_0x1b5ec8(0xac))['to'](this),this[_0x1b5ec8(0xa2)]({'tag':_0x1b5ec8(0xa1),'attributes':{'class':['ck',_0x1b5ec8(0x98)]},'children':[{'tag':_0x1b5ec8(0x9e),'attributes':{'class':['ck',_0x1b5ec8(0x92)]},'children':[{'text':_0x480033}]},{'tag':_0x1b5ec8(0xa1),'attributes':{'class':['ck',_0x1b5ec8(0x95)]},'children':this[_0x1b5ec8(0xab)]}]});}[_0xcc3628(0x94)](_0x4bbee1){const _0x3cdcb0=_0xcc3628,_0x2c53d3=new _0xaaba05(this[_0x3cdcb0(0x96)],_0x4bbee1,this[_0x3cdcb0(0xa7)],this[_0x3cdcb0(0xa8)]);this[_0x3cdcb0(0xab)][_0x3cdcb0(0x9f)](_0x2c53d3);}[_0xcc3628(0x9d)](_0x378ac1){const _0x455bfe=_0xcc3628,_0x185ca9=this[_0x455bfe(0xab)][_0x455bfe(0x9a)](_0x1e677f=>_0x1e677f['id']===_0x378ac1['id']);this[_0x455bfe(0xab)][_0x455bfe(0x99)](_0x185ca9);}}function _0xe8a3(){const _0x11140a=['setTemplate','21ItOjdx','uiLanguage','18369pfhRmT','startDate','_revisionActions','_requireRevisionName','delegate','3880840UkAeTC','revisionViews','setName','1GbRLxR','25155724GWaQRf','createCollection','5842835qXxCvN','select','84RUIeyT','ck-revision-history-sidebar__time-period__label','localizedPeriodName','addRevision','ck-revision-history-sidebar__time-period__revisions','locale','219436FXmMwh','ck-revision-history-sidebar__time-period','remove','find','970LmRrmN','496964kOBBFX','removeRevision','span','add','1701664YQirmK','div'];_0xe8a3=function(){return _0x11140a;};return _0xe8a3();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa849a=_0x34b5;(function(_0x231efa,_0x2edbca){const _0x564466=_0x34b5,_0x57235e=_0x231efa();while(!![]){try{const _0x5e5841=-parseInt(_0x564466(0x21f))/0x1*(parseInt(_0x564466(0x201))/0x2)+-parseInt(_0x564466(0x208))/0x3*(parseInt(_0x564466(0x1ec))/0x4)+-parseInt(_0x564466(0x1fb))/0x5+-parseInt(_0x564466(0x1f5))/0x6+-parseInt(_0x564466(0x216))/0x7*(parseInt(_0x564466(0x211))/0x8)+parseInt(_0x564466(0x1ea))/0x9+parseInt(_0x564466(0x21a))/0xa*(parseInt(_0x564466(0x1f7))/0xb);if(_0x5e5841===_0x2edbca)break;else _0x57235e['push'](_0x57235e['shift']());}catch(_0x5c7bf6){_0x57235e['push'](_0x57235e['shift']());}}}(_0x9a9a,0x3c535));import{View as _0x2bb209}from'ckeditor5/src/ui.js';import _0x15ba48 from'./revisionssidebartimeperiodview.js';function _0x9a9a(){const _0x5cd278=['95724SSnJpx','revisionSelected','ck-revision-history-sidebar','set','revisionSetName','get','selectRevision','map','ck-disabled','1290042XycMRt','removeRevision','12876226fCaOIU','ck-reset','bindTemplate','deselect','932410ttGmTA','highlight','_revisionActions','locale','fire','select','158748TJwYzr','unhighlight','some','setTemplate','getTime','find','revisionViews','3xpHzZN','_revisions','_removeRevision','ck-rounded-corners','createdAt','_requireRevisionName','div','ck-revision-history-sidebar__timeline','startDate','1940296sXcyCb','addRevision','createCollection','setName','_getTimePeriodViewByStartDate','7HWyGcT','render','remove','flat','10uUlIkl','uiLanguage','isEnabled','_addRevision','timePeriodViews','4wgraKj','delegate','highlightRevisions','557820VQWXix','add'];_0x9a9a=function(){return _0x5cd278;};return _0x9a9a();}function _0x34b5(_0xf70461,_0x3f2513){const _0x9a9a55=_0x9a9a();return _0x34b5=function(_0x34b5c9,_0x46b872){_0x34b5c9=_0x34b5c9-0x1e9;let _0x2f5ed8=_0x9a9a55[_0x34b5c9];return _0x2f5ed8;},_0x34b5(_0xf70461,_0x3f2513);}import _0x6e151c from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x170bbb}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ci extends _0x2bb209{constructor(_0x150195,_0x24233b,_0x325805,_0x2c2cff){const _0x1d3b84=_0x34b5;super(_0x150195);const _0x53fd1a=this[_0x1d3b84(0x1f9)];this[_0x1d3b84(0x21e)]=this[_0x1d3b84(0x213)](),this[_0x1d3b84(0x21e)][_0x1d3b84(0x220)](_0x1d3b84(0x200))['to'](this),this[_0x1d3b84(0x21e)][_0x1d3b84(0x220)](_0x1d3b84(0x214))['to'](this),this[_0x1d3b84(0x209)]=_0x24233b,this[_0x1d3b84(0x1fd)]=_0x325805,this[_0x1d3b84(0x20d)]=_0x2c2cff,this['on'](_0x1d3b84(0x200),(_0x1ebd6d,_0x2412c4)=>{const _0x550937=_0x1d3b84;this[_0x550937(0x1ff)](_0x550937(0x1ed),_0x2412c4);}),this['on'](_0x1d3b84(0x214),(_0x2646b2,_0x1057ad)=>{const _0x52da93=_0x1d3b84;this[_0x52da93(0x1ff)](_0x52da93(0x1f0),_0x1057ad);}),this[_0x1d3b84(0x1ef)](_0x1d3b84(0x21c),!0x1),this[_0x1d3b84(0x204)]({'tag':_0x1d3b84(0x20e),'attributes':{'class':['ck',_0x1d3b84(0x1f8),_0x1d3b84(0x20b),_0x1d3b84(0x1ee)]},'children':[new _0x6e151c(_0x150195),{'tag':_0x1d3b84(0x20e),'attributes':{'class':['ck',_0x1d3b84(0x20f),_0x53fd1a['if'](_0x1d3b84(0x21c),_0x1d3b84(0x1f4),_0x5a7dd5=>!_0x5a7dd5)]},'children':this[_0x1d3b84(0x21e)]}]});}[_0xa849a(0x217)](){const _0x2e4a00=_0xa849a;super[_0x2e4a00(0x217)]();for(const _0x5070f5 of this[_0x2e4a00(0x209)])this[_0x2e4a00(0x21d)](_0x5070f5);this[_0x2e4a00(0x209)]['on'](_0x2e4a00(0x1eb),(_0x451c65,_0x140e0d)=>{const _0x3dc489=_0x2e4a00;this[_0x3dc489(0x21d)](_0x140e0d);}),this[_0x2e4a00(0x209)]['on'](_0x2e4a00(0x218),(_0xbd8676,_0x46a425)=>{const _0x35a33b=_0x2e4a00;this[_0x35a33b(0x20a)](_0x46a425);});}get[_0xa849a(0x207)](){const _0x556d40=_0xa849a;return this[_0x556d40(0x21e)][_0x556d40(0x1f3)](_0x469b8f=>_0x469b8f[_0x556d40(0x207)][_0x556d40(0x1f3)](_0x1fd70c=>_0x1fd70c))[_0x556d40(0x219)]();}[_0xa849a(0x1f2)](_0xa61c2f){const _0xf62b50=_0xa849a;for(const _0x498ecd of this[_0xf62b50(0x207)])_0xa61c2f&&_0xa61c2f['id']===_0x498ecd['id']?_0x498ecd[_0xf62b50(0x200)]():_0x498ecd[_0xf62b50(0x1fa)]();}[_0xa849a(0x1e9)](_0x1c2ae2){const _0x1f1226=_0xa849a;for(const _0x305031 of this[_0x1f1226(0x207)])_0x1c2ae2[_0x1f1226(0x203)](({id:_0x6638de})=>_0x6638de===_0x305031['id'])?_0x305031[_0x1f1226(0x1fc)]():_0x305031[_0x1f1226(0x202)]();}[_0xa849a(0x21d)](_0x219c5a){const _0x1b5f8f=_0xa849a,_0x4862aa=_0x170bbb(_0x219c5a[_0x1b5f8f(0x20c)],this[_0x1b5f8f(0x1fe)][_0x1b5f8f(0x21b)])[_0x1b5f8f(0x210)];let _0x341dee=this[_0x1b5f8f(0x21e)][_0x1b5f8f(0x1f1)](0x0);_0x341dee&&_0x341dee[_0x1b5f8f(0x210)][_0x1b5f8f(0x205)]()===_0x4862aa[_0x1b5f8f(0x205)]()||(_0x341dee=new _0x15ba48(this[_0x1b5f8f(0x1fe)],_0x4862aa,this[_0x1b5f8f(0x1fd)],this[_0x1b5f8f(0x20d)]),this[_0x1b5f8f(0x21e)][_0x1b5f8f(0x1eb)](_0x341dee)),_0x341dee[_0x1b5f8f(0x212)](_0x219c5a);}[_0xa849a(0x20a)](_0x3818ba){const _0x32e22a=_0xa849a,_0x29f321=_0x170bbb(_0x3818ba[_0x32e22a(0x20c)],this[_0x32e22a(0x1fe)][_0x32e22a(0x21b)])[_0x32e22a(0x210)];this[_0x32e22a(0x215)](_0x29f321)[_0x32e22a(0x1f6)](_0x3818ba);}[_0xa849a(0x215)](_0x11098b){const _0x376f57=_0xa849a;return this[_0x376f57(0x21e)][_0x376f57(0x206)](_0x2e84b0=>_0x2e84b0[_0x376f57(0x210)][_0x376f57(0x205)]()===_0x11098b[_0x376f57(0x205)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5d54(){const _0x49ae29=['6OljJGP','8ULEgPs','setLocale','monthLong','toRelativeCalendar','year','day','4156596mVpTQK','week','3580633CIVbNx','month','16250iqPgGN','391832AlhDvf','7641nGUVzK','918368JTMUAj','local','7943670CLcRAa','fromJSDate','6063840sTkGkP','toJSDate','minus','weekdayLong','startOf','hasSame'];_0x5d54=function(){return _0x49ae29;};return _0x5d54();}(function(_0x5b7155,_0x191eeb){const _0xb97f91=_0x2123,_0x4286d9=_0x5b7155();while(!![]){try{const _0xeef385=parseInt(_0xb97f91(0xa6))/0x1*(parseInt(_0xb97f91(0x9a))/0x2)+-parseInt(_0xb97f91(0xa1))/0x3+parseInt(_0xb97f91(0x90))/0x4+parseInt(_0xb97f91(0x94))/0x5+-parseInt(_0xb97f91(0x92))/0x6+-parseInt(_0xb97f91(0xa3))/0x7*(parseInt(_0xb97f91(0x9b))/0x8)+-parseInt(_0xb97f91(0x8f))/0x9*(-parseInt(_0xb97f91(0xa5))/0xa);if(_0xeef385===_0x191eeb)break;else _0x4286d9['push'](_0x4286d9['shift']());}catch(_0x4d33ea){_0x4286d9['push'](_0x4286d9['shift']());}}}(_0x5d54,0xbd925));import{DateTime as _0x496dbd}from'luxon';function _0x2123(_0x250d3d,_0x48ad6b){const _0x5d5445=_0x5d54();return _0x2123=function(_0x212376,_0x3bb63c){_0x212376=_0x212376-0x8f;let _0x53e6d1=_0x5d5445[_0x212376];return _0x53e6d1;},_0x2123(_0x250d3d,_0x48ad6b);}export function getDateTimePeriodInfo(_0x2126cc,_0x5e4e7a){const _0x4c5c32=_0x2123,_0x56a5a5=_0x496dbd[_0x4c5c32(0x93)](_0x2126cc)[_0x4c5c32(0x9c)](_0x5e4e7a),_0x11283b=_0x496dbd[_0x4c5c32(0x91)](),_0x346085=_0x11283b[_0x4c5c32(0x96)]({'days':0x1})[_0x4c5c32(0x98)](_0x4c5c32(0xa0));let _0x154349,_0x2013fb;return _0x56a5a5[_0x4c5c32(0x99)](_0x11283b,_0x4c5c32(0xa0))?(_0x154349=_0x56a5a5[_0x4c5c32(0x98)](_0x4c5c32(0xa0))[_0x4c5c32(0x95)](),_0x2013fb=_0x56a5a5[_0x4c5c32(0x9e)]()):_0x56a5a5[_0x4c5c32(0x99)](_0x346085,_0x4c5c32(0xa0))?(_0x154349=_0x346085[_0x4c5c32(0x95)](),_0x2013fb=_0x56a5a5[_0x4c5c32(0x9e)]()):_0x56a5a5[_0x4c5c32(0x99)](_0x11283b,_0x4c5c32(0xa2))?(_0x154349=_0x56a5a5[_0x4c5c32(0x98)](_0x4c5c32(0xa2))[_0x4c5c32(0x95)](),_0x2013fb=_0x56a5a5[_0x4c5c32(0x97)]||''):_0x56a5a5[_0x4c5c32(0x99)](_0x11283b,_0x4c5c32(0x9f))?(_0x154349=_0x56a5a5[_0x4c5c32(0x98)](_0x4c5c32(0xa4))[_0x4c5c32(0x95)](),_0x2013fb=_0x56a5a5[_0x4c5c32(0x9d)]||''):(_0x154349=_0x56a5a5[_0x4c5c32(0x98)](_0x4c5c32(0x9f))[_0x4c5c32(0x95)](),_0x2013fb=String(_0x56a5a5[_0x4c5c32(0x9f)])),{'startDate':_0x154349,'localizedPeriodName':_0x2013fb};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3375ed=_0x4a62;function _0x4a62(_0x32dcca,_0x23a9d0){const _0x51ce07=_0x51ce();return _0x4a62=function(_0x4a6292,_0x57ed80){_0x4a6292=_0x4a6292-0x132;let _0x36a9e2=_0x51ce07[_0x4a6292];return _0x36a9e2;},_0x4a62(_0x32dcca,_0x23a9d0);}(function(_0x3f6c16,_0x2ad5f5){const _0x5e6b0c=_0x4a62,_0x343f32=_0x3f6c16();while(!![]){try{const _0x42b41c=parseInt(_0x5e6b0c(0x142))/0x1*(parseInt(_0x5e6b0c(0x146))/0x2)+parseInt(_0x5e6b0c(0x152))/0x3+-parseInt(_0x5e6b0c(0x13e))/0x4*(-parseInt(_0x5e6b0c(0x151))/0x5)+-parseInt(_0x5e6b0c(0x133))/0x6+-parseInt(_0x5e6b0c(0x13f))/0x7*(-parseInt(_0x5e6b0c(0x141))/0x8)+-parseInt(_0x5e6b0c(0x138))/0x9*(parseInt(_0x5e6b0c(0x13a))/0xa)+-parseInt(_0x5e6b0c(0x14b))/0xb;if(_0x42b41c===_0x2ad5f5)break;else _0x343f32['push'](_0x343f32['shift']());}catch(_0x13b5f4){_0x343f32['push'](_0x343f32['shift']());}}}(_0x51ce,0xd9d74));import{View as _0x46bfe3}from'ckeditor5/src/ui.js';import{getTranslation as _0x2ca5ad}from'../../utils/common-translations.js';export default class Z extends _0x46bfe3{constructor(_0x4a8b32,_0x2f3f24){const _0x2c3cd0=_0x4a62;super(_0x4a8b32),this[_0x2c3cd0(0x14f)]=_0x2f3f24,this[_0x2c3cd0(0x13d)]=_0x2f3f24['id'];const _0x1985f3=this[_0x2c3cd0(0x132)],_0xead21a=_0x2ca5ad(_0x4a8b32,_0x2f3f24[_0x2c3cd0(0x145)][_0x2c3cd0(0x136)]?_0x2c3cd0(0x148):_0x2c3cd0(0x140)==_0x2f3f24[_0x2c3cd0(0x143)]?_0x2c3cd0(0x134):_0x2c3cd0(0x13b));this[_0x2c3cd0(0x14d)](_0x2c3cd0(0x143),_0x2f3f24[_0x2c3cd0(0x143)]),this[_0x2c3cd0(0x14c)]({'tag':_0x2c3cd0(0x135),'attributes':{'class':[_0x2c3cd0(0x149),_0x2c3cd0(0x139),_0x1985f3['to'](_0x2c3cd0(0x143),_0xc4e447=>_0x2c3cd0(0x147)+_0xc4e447)],'tabindex':-0x1},'children':[{'tag':_0x2c3cd0(0x137),'children':[{'tag':_0x2c3cd0(0x137),'attributes':{'class':[_0x2c3cd0(0x13c)]},'children':[{'text':_0xead21a}]},{'text':'\x20'+_0x2f3f24[_0x2c3cd0(0x14e)][_0x2c3cd0(0x144)]}]}]});}[_0x3375ed(0x14a)](){const _0x4217a3=_0x3375ed;this[_0x4217a3(0x150)][_0x4217a3(0x14a)]();}}function _0x51ce(){const _0xc92f5d=['div','isSuggestion','span','36UeiHuU','ck-revision-change','1242580cnoCbS','Removed\x20by','ck-revision-change__label','changeId','8EZHvxq','7qPLruN','add','11547064SVBWJI','592549csoVZr','type','name','data','6aZomqa','ck-revision-change__','Suggested\x20by','ck-annotation','focus','37517502HNueTD','setTemplate','set','author','_model','element','3743955CGFeKR','268251NBjRLO','bindTemplate','48234zPVxyL','Added\x20by'];_0x51ce=function(){return _0xc92f5d;};return _0x51ce();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5372(){const _0x4fbce7=['No\x20changes','505mUtnrq','Total','isNavigationMode','NUMBER_OF_CHANGES','isReady','Show\x20previous\x20change','203168QUqKhm','404027AZBPVU','_statusText','7AqqBzF','span','ck-revision-history-ui','backward','isBackwardNavigationEnabled','ck-revision-history-ui__changes-navigation__wrapper','execute','div','isEnabled','numberOfChanges','ck-hidden','ck-revision-history-ui__changes-navigation','_isStatusLabelVisible','1590744dPlaEf','fire','currentChangeNumber','EDIT_X_OF_Y_REVISIONS','667330NnGePj','23409kQVRqX','bindTemplate','10716bnyKBj','isForwardNavigationEnabled','2510jPGKnM','Loading...','3592112mlqQjQ','setTemplate','set','forward','Show\x20next\x20change','X_OF_Y_CHANGES','ck-revision-history-ui__changes-navigation__navigation','ck-revision-history-ui__changes-navigation__label','bind'];_0x5372=function(){return _0x4fbce7;};return _0x5372();}(function(_0x47913e,_0x571f06){const _0x1a111b=_0x5dfd,_0x447221=_0x47913e();while(!![]){try{const _0xc87e5b=parseInt(_0x1a111b(0xc7))/0x1+-parseInt(_0x1a111b(0xda))/0x2+parseInt(_0x1a111b(0xd6))/0x3+-parseInt(_0x1a111b(0xf1))/0x4+-parseInt(_0x1a111b(0xeb))/0x5*(-parseInt(_0x1a111b(0xdd))/0x6)+-parseInt(_0x1a111b(0xc9))/0x7*(-parseInt(_0x1a111b(0xe1))/0x8)+-parseInt(_0x1a111b(0xdb))/0x9*(parseInt(_0x1a111b(0xdf))/0xa);if(_0xc87e5b===_0x571f06)break;else _0x447221['push'](_0x447221['shift']());}catch(_0x1046a9){_0x447221['push'](_0x447221['shift']());}}}(_0x5372,0x8081f));import{View as _0x3dea61,ButtonView as _0xabb927,ToolbarSeparatorView as _0x132dbe}from'ckeditor5/src/ui.js';import{getTranslation as _0x458b90}from'../../utils/common-translations.js';import _0x239dbd from'../../../theme/icons/arrow-up.svg';import _0x4e4759 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';function _0x5dfd(_0x48ba2e,_0xbe6131){const _0x5372e7=_0x5372();return _0x5dfd=function(_0x5dfd9c,_0x19161d){_0x5dfd9c=_0x5dfd9c-0xc7;let _0x52f28c=_0x5372e7[_0x5dfd9c];return _0x52f28c;},_0x5dfd(_0x48ba2e,_0xbe6131);}export default class _i extends _0x3dea61{constructor(_0x5513a8){const _0x211806=_0x5dfd;super(_0x5513a8);const _0x5c5467=this[_0x211806(0xdc)],_0x298c2c=new _0xabb927(_0x5513a8),_0xaf71a2=new _0xabb927(_0x5513a8);this[_0x211806(0xe3)](_0x211806(0xed),!0x1),this[_0x211806(0xe3)](_0x211806(0xef),!0x1),this[_0x211806(0xe3)](_0x211806(0xd8),0x0),this[_0x211806(0xe3)](_0x211806(0xd2),0x0),this[_0x211806(0xe3)](_0x211806(0xde),!0x1),this[_0x211806(0xe3)](_0x211806(0xcd),!0x1),this[_0x211806(0xe9)](_0x211806(0xd5))['to'](this,_0x211806(0xef),this,_0x211806(0xd2),(_0x388a21,_0x18ab30)=>_0x388a21&&_0x18ab30>0x0),this[_0x211806(0xe9)](_0x211806(0xc8))['to'](this,_0x211806(0xef),this,_0x211806(0xd8),this,_0x211806(0xd2),this,_0x211806(0xed),(_0x3c3eda,_0x24f5f4,_0x3f5ff2,_0x47c19b)=>{const _0x1b0d56=_0x211806;if(!_0x3c3eda)return _0x458b90(_0x5513a8,_0x1b0d56(0xe0));if(!_0x3f5ff2)return _0x458b90(_0x5513a8,_0x1b0d56(0xea));const _0x2b94df=_0x458b90(_0x5513a8,_0x1b0d56(0xee),_0x3f5ff2);return _0x47c19b?_0x458b90(_0x5513a8,_0x1b0d56(0xe6),[_0x24f5f4+0x1,_0x3f5ff2]):_0x2b94df;}),_0x298c2c[_0x211806(0xe3)]({'label':_0x458b90(_0x5513a8,_0x211806(0xf0)),'tooltip':!0x0,'icon':_0x239dbd}),_0xaf71a2[_0x211806(0xe3)]({'label':_0x458b90(_0x5513a8,_0x211806(0xe5)),'tooltip':!0x0,'icon':_0x4e4759}),_0x298c2c[_0x211806(0xe9)](_0x211806(0xd1))['to'](this,_0x211806(0xcd)),_0xaf71a2[_0x211806(0xe9)](_0x211806(0xd1))['to'](this,_0x211806(0xde)),_0x298c2c['on'](_0x211806(0xcf),()=>this[_0x211806(0xd7)](_0x211806(0xcf),_0x211806(0xcc))),_0xaf71a2['on'](_0x211806(0xcf),()=>this[_0x211806(0xd7)](_0x211806(0xcf),_0x211806(0xe4))),this[_0x211806(0xe2)]({'tag':_0x211806(0xd0),'attributes':{'class':['ck',_0x211806(0xcb),_0x211806(0xd4)]},'children':[{'tag':_0x211806(0xca),'attributes':{'class':[_0x211806(0xce)]},'children':[{'tag':_0x211806(0xca),'attributes':{'class':[_0x211806(0xe8),_0x5c5467['if'](_0x211806(0xd5),_0x211806(0xd3),_0x45eb44=>!_0x45eb44)]},'children':[{'text':_0x5c5467['to'](_0x211806(0xed),_0x50ae21=>_0x50ae21?_0x458b90(_0x5513a8,_0x211806(0xd9))+':\x20':_0x458b90(_0x5513a8,_0x211806(0xec))+':\x20')}]},{'text':_0x5c5467['to'](_0x211806(0xc8))}]},new _0x132dbe(),{'tag':_0x211806(0xd0),'attributes':{'class':[_0x211806(0xe7)]},'children':[_0x298c2c,_0xaf71a2]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x263ae9=_0x5848;(function(_0x3703b6,_0x15cd81){const _0x1ecf96=_0x5848,_0xc3f3d3=_0x3703b6();while(!![]){try{const _0x1e5e1c=parseInt(_0x1ecf96(0x127))/0x1+parseInt(_0x1ecf96(0x133))/0x2*(parseInt(_0x1ecf96(0x126))/0x3)+-parseInt(_0x1ecf96(0x134))/0x4*(-parseInt(_0x1ecf96(0x129))/0x5)+-parseInt(_0x1ecf96(0x136))/0x6+-parseInt(_0x1ecf96(0x122))/0x7+parseInt(_0x1ecf96(0x125))/0x8+-parseInt(_0x1ecf96(0x124))/0x9*(parseInt(_0x1ecf96(0x12f))/0xa);if(_0x1e5e1c===_0x15cd81)break;else _0xc3f3d3['push'](_0xc3f3d3['shift']());}catch(_0x2ce819){_0xc3f3d3['push'](_0xc3f3d3['shift']());}}}(_0x51e8,0x447ed));import{Plugin as _0x4707fb}from'ckeditor5/src/core.js';function _0x51e8(){const _0x534491=['4095860rKPzZy','RevisionViewerLoadingOverlay','ck-editor__editable__loading-overlay','editor','16QsLzTl','12Lgbfsh','view','2352738Dmfyuy','change','pluginName','343371akIQSz','document','9VazuKi','2279632NRgoLi','1308TfPAYA','549858BBhNgg','show','488365IaBTkk','addClass','hide','roots','editing','removeClass'];_0x51e8=function(){return _0x534491;};return _0x51e8();}const ce=_0x263ae9(0x131);function _0x5848(_0x1f2839,_0x4eb714){const _0x51e8a4=_0x51e8();return _0x5848=function(_0x584811,_0x144d09){_0x584811=_0x584811-0x122;let _0x2f3ec4=_0x51e8a4[_0x584811];return _0x2f3ec4;},_0x5848(_0x1f2839,_0x4eb714);}import'../../../theme/revisionviewerloadingoverlay.css';export default class de extends _0x4707fb{static get[_0x263ae9(0x138)](){const _0x5ed669=_0x263ae9;return _0x5ed669(0x130);}[_0x263ae9(0x128)](){const _0x3f6b29=_0x263ae9,_0x2b806f=this[_0x3f6b29(0x132)][_0x3f6b29(0x12d)][_0x3f6b29(0x135)];_0x2b806f[_0x3f6b29(0x137)](_0x67ff07=>{const _0x2f23bd=_0x3f6b29;for(const _0x2071cf of _0x2b806f[_0x2f23bd(0x123)][_0x2f23bd(0x12c)])_0x67ff07[_0x2f23bd(0x12a)](ce,_0x2071cf);});}[_0x263ae9(0x12b)](){const _0x336f54=_0x263ae9,_0xa397d1=this[_0x336f54(0x132)][_0x336f54(0x12d)][_0x336f54(0x135)];_0xa397d1[_0x336f54(0x137)](_0x5548de=>{const _0x26097f=_0x336f54;for(const _0x161f26 of _0xa397d1[_0x26097f(0x123)][_0x26097f(0x12c)])_0x5548de[_0x26097f(0x12e)](ce,_0x161f26);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55721c=_0x3c19;(function(_0xed100e,_0x2ab10a){const _0x70b8f2=_0x3c19,_0x16d7bb=_0xed100e();while(!![]){try{const _0x32e456=parseInt(_0x70b8f2(0xcc))/0x1+-parseInt(_0x70b8f2(0xca))/0x2+-parseInt(_0x70b8f2(0xa7))/0x3+parseInt(_0x70b8f2(0xb3))/0x4*(parseInt(_0x70b8f2(0xac))/0x5)+-parseInt(_0x70b8f2(0xa0))/0x6*(-parseInt(_0x70b8f2(0xc6))/0x7)+-parseInt(_0x70b8f2(0xb8))/0x8*(parseInt(_0x70b8f2(0xa5))/0x9)+parseInt(_0x70b8f2(0xbd))/0xa*(parseInt(_0x70b8f2(0xcb))/0xb);if(_0x32e456===_0x2ab10a)break;else _0x16d7bb['push'](_0x16d7bb['shift']());}catch(_0x44b3fb){_0x16d7bb['push'](_0x16d7bb['shift']());}}}(_0x355a,0x96c2b));import{icons as _0x1b3bc0,Plugin as _0x4795e6}from'ckeditor5/src/core.js';import{ButtonView as _0x481235}from'ckeditor5/src/ui.js';import _0x267052 from'./changesnavigationview.js';import _0x4777af from'./../../revisionviewer.js';import _0xd22a09 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x354733}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';function _0x3c19(_0x1bef76,_0x43faf8){const _0x355a41=_0x355a();return _0x3c19=function(_0x3c19a7,_0x29e193){_0x3c19a7=_0x3c19a7-0xa0;let _0x31a5c9=_0x355a41[_0x3c19a7];return _0x31a5c9;},_0x3c19(_0x1bef76,_0x43faf8);}function _0x355a(){const _0x149be2=['13275190zhKPsi','isEnabled','changesNavigation','showPreviousChange','config','forward','isForwardNavigationEnabled','show','restoreRevision','56rvBYrY','Back\x20to\x20editing','closeRevisionViewerCallback','isNavigationMode','1632828xMaZmA','11lDNNlv','58153sfpXma','numberOfChanges','set','ck-revision-history-ui__back-to-editing','265638WYpKBE','undo','listenTo','Restore\x20this\x20revision','bind','5124357wXnTBZ','commands','840696BmdrjL','showNextChange','currentChangeNumber','plugins','hide','465GxyFKz','componentFactory','requires','init','execute','revisionHistory','RevisionViewerUI','23384QECsfX','pluginName','isBackwardNavigationEnabled','add','editor','8CnmVSn','exitToEditing','change:isReady','isReady','get'];_0x355a=function(){return _0x149be2;};return _0x355a();}export default class R extends _0x4795e6{static get[_0x55721c(0xb4)](){const _0x36044a=_0x55721c;return _0x36044a(0xb2);}static get[_0x55721c(0xae)](){return[_0x4777af,_0xd22a09];}[_0x55721c(0xaf)](){const _0x156eb7=_0x55721c,_0x13fad0=this[_0x156eb7(0xb7)],_0x53cb9d=_0x13fad0[_0x156eb7(0xaa)][_0x156eb7(0xbc)](_0x4777af),_0x44a763=_0x13fad0[_0x156eb7(0xaa)][_0x156eb7(0xbc)](_0xd22a09);_0x13fad0['ui'][_0x156eb7(0xad)][_0x156eb7(0xb6)](_0x156eb7(0xb9),_0x4a1f11=>{const _0x1841bf=_0x156eb7,_0x317ace=new _0x481235(_0x4a1f11);return _0x317ace[_0x1841bf(0xce)]({'label':_0x354733(_0x4a1f11,_0x1841bf(0xc7)),'icon':_0x1b3bc0[_0x1841bf(0xa1)],'withText':!0x0,'tooltip':!0x0,'class':_0x1841bf(0xcf)}),this[_0x1841bf(0xa2)](_0x317ace,_0x1841bf(0xb0),()=>{const _0x3e26c0=_0x1841bf;_0x13fad0[_0x3e26c0(0xc1)][_0x3e26c0(0xbc)](_0x3e26c0(0xb1))[_0x3e26c0(0xc8)]();}),_0x317ace;}),_0x13fad0['ui'][_0x156eb7(0xad)][_0x156eb7(0xb6)](_0x156eb7(0xc5),_0x857bbc=>{const _0x4e9977=_0x156eb7,_0xe74ff=new _0x481235(_0x857bbc);return _0xe74ff[_0x4e9977(0xce)]({'label':_0x354733(_0x857bbc,_0x4e9977(0xa3)),'withText':!0x0,'tooltip':!0x0}),_0xe74ff[_0x4e9977(0xa4)](_0x4e9977(0xbe))['to'](_0x13fad0[_0x4e9977(0xa6)][_0x4e9977(0xbc)](_0x4e9977(0xc5))),this[_0x4e9977(0xa2)](_0xe74ff,_0x4e9977(0xb0),()=>_0x13fad0[_0x4e9977(0xb0)](_0x4e9977(0xc5))),_0xe74ff;}),_0x13fad0['ui'][_0x156eb7(0xad)][_0x156eb7(0xb6)](_0x156eb7(0xbf),_0x1d2f55=>{const _0x991812=_0x156eb7,_0x4d2321=new _0x267052(_0x1d2f55),_0x2c5fcc=_0x13fad0[_0x991812(0xa6)][_0x991812(0xbc)](_0x991812(0xc0)),_0xc5f1cd=_0x13fad0[_0x991812(0xa6)][_0x991812(0xbc)](_0x991812(0xa8));return _0x4d2321[_0x991812(0xa4)](_0x991812(0xb5))['to'](_0x2c5fcc,_0x991812(0xbe)),_0x4d2321[_0x991812(0xa4)](_0x991812(0xc3))['to'](_0xc5f1cd,_0x991812(0xbe)),_0x4d2321[_0x991812(0xa4)](_0x991812(0xbb),_0x991812(0xa9),_0x991812(0xcd),_0x991812(0xc9))['to'](_0x53cb9d),this[_0x991812(0xa2)](_0x4d2321,_0x991812(0xb0),(_0x973c34,_0x22526d)=>{const _0x4daa0f=_0x991812;_0x13fad0[_0x4daa0f(0xb0)](_0x4daa0f(0xc2)===_0x22526d?_0x4daa0f(0xa8):_0x4daa0f(0xc0));}),_0x4d2321;}),_0x44a763[_0x156eb7(0xc4)](),_0x53cb9d['on'](_0x156eb7(0xba),(_0x27b1c4,_0x2a1a41,_0x387769)=>{const _0x2783ed=_0x156eb7;_0x387769?_0x44a763[_0x2783ed(0xab)]():_0x44a763[_0x2783ed(0xc4)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x55427a,_0x1f4517,_0xbcb6a1){const t=_0x55427a['t'];switch(_0x1f4517){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'},_0xbcb6a1);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0xbcb6a1);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'';}}
|