@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240421.0 → 0.0.0-nightly-20240423.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
|
-
const
|
|
23
|
+
const _0xa7f2a=_0x4542;(function(_0x2a80c2,_0x3becaa){const _0x3e4673=_0x4542,_0x46febd=_0x2a80c2();while(!![]){try{const _0xddc692=-parseInt(_0x3e4673(0x103))/0x1*(-parseInt(_0x3e4673(0x11e))/0x2)+-parseInt(_0x3e4673(0x11f))/0x3*(parseInt(_0x3e4673(0x111))/0x4)+-parseInt(_0x3e4673(0x108))/0x5+parseInt(_0x3e4673(0x105))/0x6*(parseInt(_0x3e4673(0x10a))/0x7)+-parseInt(_0x3e4673(0x117))/0x8*(-parseInt(_0x3e4673(0x11c))/0x9)+parseInt(_0x3e4673(0x107))/0xa+parseInt(_0x3e4673(0xfd))/0xb*(-parseInt(_0x3e4673(0x10e))/0xc);if(_0xddc692===_0x3becaa)break;else _0x46febd['push'](_0x46febd['shift']());}catch(_0x17a0b6){_0x46febd['push'](_0x46febd['shift']());}}}(_0x4de2,0x87160));import{LabeledFieldView as _0x30faf1,View as _0x367cbe,createLabeledInputText as _0x574c61,injectCssTransitionDisabler as _0x54e364,submitHandler as _0x214d21}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5e7c37,KeystrokeHandler as _0x3482e5}from'ckeditor5/src/utils.js';function _0x4542(_0x8c5e7,_0x33c970){const _0x4de20b=_0x4de2();return _0x4542=function(_0x4542a9,_0x22eabf){_0x4542a9=_0x4542a9-0xfd;let _0x57798e=_0x4de20b[_0x4542a9];return _0x57798e;},_0x4542(_0x8c5e7,_0x33c970);}import{getTranslation as _0x483829}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';function _0x4de2(){const _0x3733aa=['element','render','form','set','errorText','ck-revision-history-save-revision-form','_createRevisionNameInput','arrowright','revisionNameInputView','4819507vyAUCF','optional','focus','value','label','trim','167Dddzpx','fieldView','234168CtwhdY','extendTemplate','573050vXsKdb','186780fEbeym','focusTracker','84IlMkzC','stopPropagation','Name\x20of\x20the\x20revision','revisionNameInputValue','12xGBvKf','listenTo','arrowdown','16CNGzoE','revisionName','arrowleft','locale','arrowup','setTemplate','2008vHCRzE','input','reset','220','keystrokes','17217VcrrhJ','add','5358ynNhQV','318294KdUHFj','ck-responsive-form'];_0x4de2=function(){return _0x3733aa;};return _0x4de2();}import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class ns extends _0x367cbe{constructor(_0x2b6d37,_0x50c5b7){const _0x4f7741=_0x4542;super(_0x2b6d37),this[_0x4f7741(0x109)]=new _0x5e7c37(),this[_0x4f7741(0x11b)]=new _0x3482e5(),this[_0x4f7741(0x124)](_0x4f7741(0x10d),''),this[_0x4f7741(0x129)]=this[_0x4f7741(0x127)](_0x50c5b7),this[_0x4f7741(0x116)]({'tag':_0x4f7741(0x123),'attributes':{'class':['ck',_0x4f7741(0x126),_0x4f7741(0x120)],'tabindex':'-1'},'children':[this[_0x4f7741(0x129)]]}),_0x54e364(this);}[_0xa7f2a(0x122)](){const _0x4a0ceb=_0xa7f2a;super[_0x4a0ceb(0x122)](),_0x214d21({'view':this}),this[_0x4a0ceb(0x109)][_0x4a0ceb(0x11d)](this[_0x4a0ceb(0x129)][_0x4a0ceb(0x121)]),this[_0x4a0ceb(0x11b)][_0x4a0ceb(0x10f)](this[_0x4a0ceb(0x121)]);const _0x3456f2=_0x1f7c8c=>_0x1f7c8c[_0x4a0ceb(0x10b)]();this[_0x4a0ceb(0x11b)][_0x4a0ceb(0x124)](_0x4a0ceb(0x128),_0x3456f2),this[_0x4a0ceb(0x11b)][_0x4a0ceb(0x124)](_0x4a0ceb(0x113),_0x3456f2),this[_0x4a0ceb(0x11b)][_0x4a0ceb(0x124)](_0x4a0ceb(0x115),_0x3456f2),this[_0x4a0ceb(0x11b)][_0x4a0ceb(0x124)](_0x4a0ceb(0x110),_0x3456f2);}[_0xa7f2a(0xff)](){const _0x4650a1=_0xa7f2a;this[_0x4650a1(0x129)][_0x4650a1(0xff)]();}get[_0xa7f2a(0x112)](){const _0x3a50cb=_0xa7f2a;return this[_0x3a50cb(0x129)][_0x3a50cb(0x104)][_0x3a50cb(0x121)][_0x3a50cb(0x100)][_0x3a50cb(0x102)]();}set[_0xa7f2a(0x112)](_0x205a13){const _0x5e29b5=_0xa7f2a;this[_0x5e29b5(0x129)][_0x5e29b5(0x104)][_0x5e29b5(0x121)][_0x5e29b5(0x100)]=_0x205a13[_0x5e29b5(0x102)]();}[_0xa7f2a(0x119)](){const _0x4234c4=_0xa7f2a;this[_0x4234c4(0x129)][_0x4234c4(0x104)][_0x4234c4(0x121)][_0x4234c4(0x100)]='',this[_0x4234c4(0x129)][_0x4234c4(0x125)]=null;}[_0xa7f2a(0x127)](_0x2355c6){const _0x16426c=_0xa7f2a,_0x399521=new _0x30faf1(this[_0x16426c(0x114)],_0x574c61),_0x3f906b=_0x399521[_0x16426c(0x104)];_0x3f906b[_0x16426c(0x106)]({'attributes':{'maxlength':_0x16426c(0x11a)}});let _0x115e1e=_0x483829(this[_0x16426c(0x114)],_0x16426c(0x10c));return!_0x2355c6&&(_0x115e1e+='\x20('+_0x483829(this[_0x16426c(0x114)],_0x16426c(0xfe))+')'),(_0x399521[_0x16426c(0x101)]=_0x115e1e,_0x3f906b['on'](_0x16426c(0x118),()=>{const _0x182150=_0x16426c;this[_0x182150(0x10d)]=_0x3f906b[_0x182150(0x121)][_0x182150(0x100)][_0x182150(0x102)]();}),_0x399521);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x4c9c9f,icons as _0x28e6e5}from'ckeditor5/src/core.js';import{createDropdown as _0xb3781b,ButtonView as _0x521272,ListItemView as _0x4c0f1b,ListView as te,MenuBarMenuListItemButtonView as _0x3906db,MenuBarMenuListItemView as _0x30df75,MenuBarMenuListView as _0x1b5b67,MenuBarMenuView as _0x13b72b}from'ckeditor5/src/ui.js';import _0x1180bb from'../../revisiontracker.js';import _0x312ba7 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x4a6a4e}from'../../utils/common-translations.js';export default class u extends _0x4c9c9f{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[_0x1180bb];}['init'](){const _0x1bf7a6=this['editor'],_0x201c70=_0x1bf7a6['plugins']['get']('RevisionTracker');_0x1bf7a6['ui']['componentFactory']['add']('revisionHistory',_0x38766c=>{const _0x42eeac=_0xb3781b(_0x38766c),_0xabe5bc=_0x42eeac['panelView']['children'],_0x35bad7=new te(_0x38766c),_0x153853=new _0x4c0f1b(_0x38766c),_0x402a87=new _0x521272(_0x38766c),_0x332dd6=new _0x4c0f1b(_0x38766c),_0x2b9de0=new _0x521272(_0x38766c);return _0x42eeac['bind']('isEnabled')['to'](_0x201c70,'isReady',_0x201c70,'isEnabled',_0x1bf7a6,'isReadOnly',(_0x5021ef,_0x599c59,_0x190423)=>_0x5021ef&&_0x599c59&&!_0x190423),_0x42eeac['buttonView']['set']({'icon':_0x28e6e5['history'],'label':_0x4a6a4e(_0x38766c,'Revision\x20history'),'tooltip':!0x0}),_0x402a87['set']({'label':_0x4a6a4e(_0x38766c,'Save\x20current\x20revision'),'withText':!0x0}),_0x402a87['bind']('isEnabled')['to'](_0x201c70,'isReady',_0x201c70,'isEnabled',_0x1bf7a6,'isReadOnly',(_0xf0cb23,_0x331b69,_0x5b37b3)=>_0xf0cb23&&_0x331b69&&!_0x5b37b3),_0x402a87['on']('execute',()=>this['_showDialog']()),_0x2b9de0['set']({'label':_0x4a6a4e(_0x38766c,'Open\x20revision\x20history'),'withText':!0x0}),_0x2b9de0['bind']('isEnabled')['to'](_0x201c70,'isReady',_0x1bf7a6,'isReadOnly',(_0x3dae7d,_0x112029)=>_0x3dae7d&&!_0x112029),_0x2b9de0['on']('execute',()=>{_0x1bf7a6['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x42eeac['isOpen']=!0x1,_0x1bf7a6['editing']['view']['focus']();}),_0x153853['children']['add'](_0x402a87),_0x332dd6['children']['add'](_0x2b9de0),_0x35bad7['items']['addMany']([_0x153853,_0x332dd6]),_0xabe5bc['add'](_0x35bad7),_0x42eeac;}),_0x1bf7a6['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x13af4c=this['editor'],_0x4765a6=_0x13af4c['locale'],_0x4cff1c=new _0x13b72b(_0x4765a6),_0x19437b=new _0x1b5b67(_0x4765a6);_0x4cff1c['buttonView']['set']({'icon':_0x28e6e5['history'],'label':_0x4a6a4e(_0x4765a6,'Revision\x20history')});const _0x48397e=new _0x30df75(_0x4765a6,_0x4cff1c),_0x16002a=new _0x3906db(_0x4765a6);_0x16002a['set']({'label':_0x4a6a4e(_0x4765a6,'Save\x20current\x20revision')}),_0x16002a['delegate']('execute')['to'](_0x4cff1c),_0x16002a['on']('execute',()=>{this['_showDialog']();}),_0x48397e['children']['add'](_0x16002a),_0x19437b['items']['add'](_0x48397e);const _0x124a3b=new _0x30df75(_0x4765a6,_0x4cff1c),_0x273769=new _0x3906db(_0x4765a6);return _0x273769['set']({'label':_0x4a6a4e(_0x4765a6,'Open\x20revision\x20history')}),_0x273769['delegate']('execute')['to'](_0x4cff1c),_0x273769['on']('execute',()=>{_0x13af4c['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x124a3b['children']['add'](_0x273769),_0x19437b['items']['add'](_0x124a3b),_0x4cff1c['panelView']['children']['add'](_0x19437b),_0x4cff1c;}['_showDialog'](){const _0x7536cf=this['editor'],_0x3aece4=_0x7536cf['locale'],t=_0x3aece4['t'],_0x284a4e=_0x7536cf['plugins']['get']('Dialog'),_0x44cfcd=_0x7536cf['plugins']['get']('RevisionTracker');function _0x1c4f05(_0x137658){_0x7536cf['config']['get']('revisionHistory.requireRevisionName')&&''===_0x137658['revisionName']?_0x137658['revisionNameInputView']['errorText']=_0x4a6a4e(_0x3aece4,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x7536cf['plugins']['get'](_0x1180bb)['saveRevision']({'name':_0x137658['revisionName']}),_0x284a4e['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x1c4f05(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x284a4e['show']({'id':'findAndReplace','title':_0x4a6a4e(_0x3aece4,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x284a4e['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x19834a){_0x19834a['bind']('isEnabled')['to'](_0x44cfcd,'isReady',_0x44cfcd,'isEnabled',_0x7536cf,'isReadOnly',(_0x1e3ec1,_0x48b5ff,_0x5893c4)=>_0x1e3ec1&&_0x48b5ff&&!_0x5893c4);},'onExecute':()=>_0x1c4f05(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x56a731=this['editor'],_0x3fb61d=_0x56a731['locale'];this['_saveRevisionFormView']=new _0x312ba7(_0x3fb61d,_0x56a731['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3384a6=_0x56ec;(function(_0x2f2b38,_0x1432cb){const _0x5b12a1=_0x56ec,_0x4edb88=_0x2f2b38();while(!![]){try{const _0x676415=parseInt(_0x5b12a1(0x157))/0x1+parseInt(_0x5b12a1(0x162))/0x2+-parseInt(_0x5b12a1(0x16e))/0x3*(-parseInt(_0x5b12a1(0x164))/0x4)+parseInt(_0x5b12a1(0x16d))/0x5*(parseInt(_0x5b12a1(0x195))/0x6)+parseInt(_0x5b12a1(0x18a))/0x7*(parseInt(_0x5b12a1(0x165))/0x8)+parseInt(_0x5b12a1(0x177))/0x9+-parseInt(_0x5b12a1(0x18c))/0xa;if(_0x676415===_0x1432cb)break;else _0x4edb88['push'](_0x4edb88['shift']());}catch(_0x14f8b5){_0x4edb88['push'](_0x4edb88['shift']());}}}(_0x27b7,0x63d89));import{Plugin as _0x39a17c}from'ckeditor5/src/core.js';import _0x2a0412 from'./revisionssidebarview.js';function _0x56ec(_0x1d7e43,_0x4a68bc){const _0x27b77c=_0x27b7();return _0x56ec=function(_0x56ec3f,_0x4f5478){_0x56ec3f=_0x56ec3f-0x152;let _0x4eb5f7=_0x27b77c[_0x56ec3f];return _0x4eb5f7;},_0x56ec(_0x1d7e43,_0x4a68bc);}import _0x4678db from'../../revisionviewer.js';export default class w extends _0x39a17c{static get[_0x3384a6(0x181)](){const _0x3c034a=_0x3384a6;return _0x3c034a(0x168);}static get[_0x3384a6(0x15c)](){return[_0x4678db];}constructor(_0x3239f2){const _0x43206f=_0x3384a6;super(_0x3239f2),this[_0x43206f(0x178)]=_0x3239f2[_0x43206f(0x180)][_0x43206f(0x176)](_0x4678db),this[_0x43206f(0x18e)]=this[_0x43206f(0x178)][_0x43206f(0x19b)],this[_0x43206f(0x17a)]=null;}[_0x3384a6(0x156)](){const _0xc4a64f=_0x3384a6,_0x3b1ea6=this[_0xc4a64f(0x18e)][_0xc4a64f(0x19d)],_0xec1250=this[_0xc4a64f(0x194)](),_0x549fda=this[_0xc4a64f(0x15f)][_0xc4a64f(0x154)][_0xc4a64f(0x176)](_0xc4a64f(0x1a0));this[_0xc4a64f(0x17a)]=new _0x2a0412(this[_0xc4a64f(0x15f)][_0xc4a64f(0x163)],_0x3b1ea6,_0xec1250,this[_0xc4a64f(0x15f)][_0xc4a64f(0x154)][_0xc4a64f(0x176)](_0xc4a64f(0x197))),this[_0xc4a64f(0x17a)]['on'](_0xc4a64f(0x198),this[_0xc4a64f(0x186)][_0xc4a64f(0x167)](this)),this[_0xc4a64f(0x17a)]['on'](_0xc4a64f(0x158),this[_0xc4a64f(0x182)][_0xc4a64f(0x167)](this)),this[_0xc4a64f(0x17a)][_0xc4a64f(0x167)](_0xc4a64f(0x171))['to'](this[_0xc4a64f(0x178)]),this[_0xc4a64f(0x17a)][_0xc4a64f(0x1a2)]['on'](_0xc4a64f(0x173),(_0x11e993,_0x38f2d9)=>{const _0xd435d5=_0xc4a64f;_0x38f2d9[_0xd435d5(0x159)]['on'](_0xd435d5(0x173),(_0x1b070e,_0x45b944)=>{const _0x116516=_0xd435d5;_0x45b944[_0x116516(0x167)](_0x116516(0x171),_0x116516(0x19f))['to'](this[_0x116516(0x178)]);});}),this[_0xc4a64f(0x17a)][_0xc4a64f(0x160)](),this[_0xc4a64f(0x196)](this[_0xc4a64f(0x15f)][_0xc4a64f(0x16b)],_0xc4a64f(0x191),this[_0xc4a64f(0x190)][_0xc4a64f(0x167)](this)),this[_0xc4a64f(0x196)](this[_0xc4a64f(0x178)],_0xc4a64f(0x15a),this[_0xc4a64f(0x15e)][_0xc4a64f(0x167)](this)),_0x549fda[_0xc4a64f(0x170)](this[_0xc4a64f(0x17a)][_0xc4a64f(0x152)]);}[_0x3384a6(0x16a)](){const _0x4d1f51=_0x3384a6;this[_0x4d1f51(0x17a)][_0x4d1f51(0x152)][_0x4d1f51(0x172)](),this[_0x4d1f51(0x17a)][_0x4d1f51(0x16a)]();}[_0x3384a6(0x190)](){const _0x4f76f0=_0x3384a6,_0x2cb6ab=this[_0x4f76f0(0x18e)][_0x4f76f0(0x184)](0x0);if(_0x2cb6ab){const _0x51db71=this[_0x4f76f0(0x18e)][_0x4f76f0(0x19c)](_0x2cb6ab['id']);this[_0x4f76f0(0x178)][_0x4f76f0(0x18d)](_0x2cb6ab,_0x51db71);}}[_0x3384a6(0x186)](_0x46a2b1,_0x38e980){const _0x36fbd2=_0x3384a6,_0x1046e0=this[_0x36fbd2(0x18e)][_0x36fbd2(0x184)](_0x38e980['id']),_0xf4526d=this[_0x36fbd2(0x18e)][_0x36fbd2(0x19c)](_0x1046e0['id']);this[_0x36fbd2(0x178)][_0x36fbd2(0x18d)](_0x1046e0,_0xf4526d);}[_0x3384a6(0x182)](_0x575f35,_0x73dbcc){const _0x284d0d=_0x3384a6;this[_0x284d0d(0x18e)][_0x284d0d(0x184)](_0x73dbcc['id'])[_0x284d0d(0x19e)](_0x73dbcc[_0x284d0d(0x192)]);}[_0x3384a6(0x15e)](_0x1a392c,_0x3666d8,_0x57d368){const _0x563705=_0x3384a6,_0x1b73ff=this[_0x563705(0x18e)][_0x563705(0x166)](_0x57d368);_0x1b73ff[_0x563705(0x174)]>0x2?(this[_0x563705(0x17a)][_0x563705(0x15d)](_0x1b73ff),this[_0x563705(0x17a)][_0x563705(0x17e)](null)):(this[_0x563705(0x17a)][_0x563705(0x15d)]([]),this[_0x563705(0x17a)][_0x563705(0x17e)](_0x1b73ff[0x0]));}[_0x3384a6(0x194)](){const _0x578e08=_0x3384a6,_0x29eb61=this[_0x578e08(0x15f)],_0x1dcd92=w[_0x578e08(0x193)],_0x7ab0f7=_0x29eb61[_0x578e08(0x154)][_0x578e08(0x176)](_0x578e08(0x16c))||w[_0x578e08(0x175)];if(_0x7ab0f7[_0x578e08(0x174)])return _0x7ab0f7[_0x578e08(0x17b)](_0xc1e4ca=>{const _0x513fd6=_0x578e08,_0x3440d1=_0x513fd6(0x179)==typeof _0xc1e4ca?Object[_0x513fd6(0x18b)]({},_0x1dcd92[_0xc1e4ca]):_0xc1e4ca;return _0x3440d1[_0x513fd6(0x185)]=_0x3440d1[_0x513fd6(0x185)][_0x513fd6(0x167)](this,_0x29eb61),_0x3440d1[_0x513fd6(0x17f)]&&(_0x3440d1[_0x513fd6(0x17f)]=_0x3440d1[_0x513fd6(0x17f)][_0x513fd6(0x167)](this,_0x29eb61)),_0x3440d1;});}}function _0x27b7(){const _0x5541da=['126PPeBVq','listenTo','revisionHistory.requireRevisionName','revisionSelected','Compare\x20against\x20selected','compareAgainstSelected','repository','getEarlierVisibleRevision','_revisions','setName','isReady','revisionHistory.viewerSidebarContainer','fieldView','timePeriodViews','element','focus','config','Restore\x20this\x20revision','init','37610DiAGXZ','revisionSetName','revisionViews','change:diff','getIndex','requires','highlightRevisions','_handleDiffChange','editor','render','revisionHistory','404586VpLyoc','locale','536816uYzLmh','56mLwJbg','getRevisionsInDiff','bind','RevisionsSidebar','select','destroy','data','revisionHistory.revisionActions','173960JNArwV','18QLaTBj','nameRevision','appendChild','isEnabled','remove','add','length','defaultRevisionActions','get','4134078YbVjzk','_revisionViewer','string','_sidebarView','map','Name\x20this\x20revision','restoreRevision','selectRevision','isVisible','plugins','pluginName','_handleRevisionSetName','getLaterVisibleRevision','getRevision','action','_handleRevisionSelected','newRevisionId','restoreRevisionCallback','isSelected','517979qiABrB','assign','23441110wjglvZ','compare','_revisionsRepository','diff','_handleEditorDataReady','ready','name','availableRevisionActions','_createRevisionActions'];_0x27b7=function(){return _0x5541da;};return _0x27b7();}w[_0x3384a6(0x193)]={'compareAgainstSelected':{'name':_0x3384a6(0x199),'action':({plugins:_0x27b1ad},_0x836e33)=>{const _0x1b0309=_0x3384a6,_0x432374=_0x27b1ad[_0x1b0309(0x176)](_0x4678db),_0xad72c4=_0x432374[_0x1b0309(0x19b)];let _0x19c81d=_0x432374[_0x1b0309(0x18f)][_0x1b0309(0x187)],_0x30609a=_0x836e33['id'];_0xad72c4[_0x1b0309(0x15b)](_0x19c81d)>_0xad72c4[_0x1b0309(0x15b)](_0x30609a)&&([_0x19c81d,_0x30609a]=[_0x30609a,_0x19c81d]),_0x432374[_0x1b0309(0x18d)](_0x19c81d,_0x30609a);},'isVisible':({plugins:_0x29381d},_0x303daf)=>{const _0x2fc33c=_0x3384a6,_0x16bed7=_0x29381d[_0x2fc33c(0x176)](_0x4678db);return!(_0x16bed7[_0x2fc33c(0x19b)][_0x2fc33c(0x166)](_0x16bed7[_0x2fc33c(0x18f)])[_0x2fc33c(0x174)]>0x2)&&!_0x303daf[_0x2fc33c(0x189)];}},'restoreRevision':{'name':_0x3384a6(0x155),'action':(_0x436c21,{id:_0x1d9e64})=>{const _0x2af5db=_0x3384a6;_0x436c21[_0x2af5db(0x154)][_0x2af5db(0x176)](_0x2af5db(0x161))[_0x2af5db(0x188)](_0x1d9e64);},'isVisible':({plugins:_0x4e9df2},_0x8825ab)=>!!_0x4e9df2[_0x3384a6(0x176)](_0x4678db)[_0x3384a6(0x19b)][_0x3384a6(0x183)](_0x8825ab['id'])},'nameRevision':{'name':_0x3384a6(0x17c),'action':({plugins:_0x586098},{id:_0x401a7c,revisionNameView:_0x378faf})=>{const _0x513aa0=_0x3384a6,_0x2f947b=_0x586098[_0x513aa0(0x176)](_0x4678db),_0x450bb8=_0x2f947b[_0x513aa0(0x19b)][_0x513aa0(0x19c)](_0x401a7c);_0x2f947b[_0x513aa0(0x18d)](_0x401a7c,_0x450bb8),_0x378faf[_0x513aa0(0x153)](),_0x378faf[_0x513aa0(0x1a1)][_0x513aa0(0x169)]();}}},w[_0x3384a6(0x175)]=[_0x3384a6(0x19a),_0x3384a6(0x17d),_0x3384a6(0x16f)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x29f3(_0x4ab0fd,_0x13510e){const _0x2fb0a2=_0x2fb0();return _0x29f3=function(_0x29f34f,_0x3aa1b2){_0x29f34f=_0x29f34f-0x128;let _0x183de1=_0x2fb0a2[_0x29f34f];return _0x183de1;},_0x29f3(_0x4ab0fd,_0x13510e);}function _0x2fb0(){const _0x6c39f0=['477700EvOOBN','div','setTemplate','Revision\x20history','8931835ZPPbCD','150UBAARU','35zoGovz','686798BzAZgY','ck-revision-history-sidebar__header__label','16SaNywh','span','ck-revision-history-sidebar__header','513180TYOMPp','history','668715GWWcAv','ck-reset_all','292725VJsofF','2609012aCUhDS','content','4JVnyzI'];_0x2fb0=function(){return _0x6c39f0;};return _0x2fb0();}(function(_0x484562,_0x5077ae){const _0x34a2fc=_0x29f3,_0x32734d=_0x484562();while(!![]){try{const _0x4f7539=-parseInt(_0x34a2fc(0x12f))/0x1+-parseInt(_0x34a2fc(0x13b))/0x2*(parseInt(_0x34a2fc(0x136))/0x3)+-parseInt(_0x34a2fc(0x128))/0x4+-parseInt(_0x34a2fc(0x12e))/0x5*(-parseInt(_0x34a2fc(0x134))/0x6)+parseInt(_0x34a2fc(0x139))/0x7*(parseInt(_0x34a2fc(0x131))/0x8)+-parseInt(_0x34a2fc(0x138))/0x9*(parseInt(_0x34a2fc(0x12d))/0xa)+parseInt(_0x34a2fc(0x12c))/0xb;if(_0x4f7539===_0x5077ae)break;else _0x32734d['push'](_0x32734d['shift']());}catch(_0x501a1c){_0x32734d['push'](_0x32734d['shift']());}}}(_0x2fb0,0x659db));import{View as _0x69bbad,IconView as _0x2828a8}from'ckeditor5/src/ui.js';import{getTranslation as _0x1bbe74}from'../../utils/common-translations.js';import{icons as _0x44e7d0}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class as extends _0x69bbad{constructor(_0x93465a){const _0x45f32a=_0x29f3;super(_0x93465a);const _0x45c235=new _0x2828a8();_0x45c235[_0x45f32a(0x13a)]=_0x44e7d0[_0x45f32a(0x135)],this[_0x45f32a(0x12a)]({'tag':_0x45f32a(0x129),'attributes':{'class':['ck',_0x45f32a(0x137),_0x45f32a(0x133)]},'children':[_0x45c235,{'tag':_0x45f32a(0x132),'attributes':{'class':['ck',_0x45f32a(0x130)]},'children':[_0x1bbe74(_0x93465a,_0x45f32a(0x12b))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43290c=_0x4ff9;function _0x5d92(){const _0x4240a1=['addRevision','8752464VVGUXb','_revisionActions','delegate','locale','20kMPXik','5970141cfjvxp','10VHCtlJ','removeRevision','ck-revision-history-sidebar__time-period__revisions','uiLanguage','ck-revision-history-sidebar__time-period','createCollection','localizedPeriodName','add','span','revisionViews','select','1907272fkJMdn','startDate','remove','setTemplate','find','_requireRevisionName','1303535juVPcK','div','setName','ck-revision-history-sidebar__time-period__label','1415590YprCHy','5534304UeSocD','438693ddEpyR'];_0x5d92=function(){return _0x4240a1;};return _0x5d92();}(function(_0x2a7989,_0x51a3c5){const _0x422e75=_0x4ff9,_0x9ce700=_0x2a7989();while(!![]){try{const _0x30bcc4=parseInt(_0x422e75(0xfe))/0x1+parseInt(_0x422e75(0x10c))/0x2*(-parseInt(_0x422e75(0x104))/0x3)+-parseInt(_0x422e75(0x10a))/0x4*(-parseInt(_0x422e75(0x102))/0x5)+-parseInt(_0x422e75(0x103))/0x6+-parseInt(_0x422e75(0x106))/0x7+parseInt(_0x422e75(0x117))/0x8+parseInt(_0x422e75(0x10b))/0x9;if(_0x30bcc4===_0x51a3c5)break;else _0x9ce700['push'](_0x9ce700['shift']());}catch(_0x5bea9c){_0x9ce700['push'](_0x9ce700['shift']());}}}(_0x5d92,0xaf0c0));import{View as _0x5d74cf}from'ckeditor5/src/ui.js';function _0x4ff9(_0x15bc99,_0x55782e){const _0x5d923a=_0x5d92();return _0x4ff9=function(_0x4ff9df,_0x5260cb){_0x4ff9df=_0x4ff9df-0xfa;let _0x3e928b=_0x5d923a[_0x4ff9df];return _0x3e928b;},_0x4ff9(_0x15bc99,_0x55782e);}import _0x30af59 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x328be8}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class mi extends _0x5d74cf{constructor(_0x3c2228,_0x198d46,_0x259f92,_0x399956){const _0x7a1e38=_0x4ff9;super(_0x3c2228);const _0x1db40e=_0x328be8(_0x198d46,this[_0x7a1e38(0x109)][_0x7a1e38(0x10f)])[_0x7a1e38(0x112)];this[_0x7a1e38(0x118)]=_0x198d46,this[_0x7a1e38(0x115)]=this[_0x7a1e38(0x111)](),this[_0x7a1e38(0x107)]=_0x259f92,this[_0x7a1e38(0xfd)]=_0x399956,this[_0x7a1e38(0x115)][_0x7a1e38(0x108)](_0x7a1e38(0x116))['to'](this),this[_0x7a1e38(0x115)][_0x7a1e38(0x108)](_0x7a1e38(0x100))['to'](this),this[_0x7a1e38(0xfb)]({'tag':_0x7a1e38(0xff),'attributes':{'class':['ck',_0x7a1e38(0x110)]},'children':[{'tag':_0x7a1e38(0x114),'attributes':{'class':['ck',_0x7a1e38(0x101)]},'children':[{'text':_0x1db40e}]},{'tag':_0x7a1e38(0xff),'attributes':{'class':['ck',_0x7a1e38(0x10e)]},'children':this[_0x7a1e38(0x115)]}]});}[_0x43290c(0x105)](_0x35df76){const _0x1e6891=_0x43290c,_0x8129d3=new _0x30af59(this[_0x1e6891(0x109)],_0x35df76,this[_0x1e6891(0x107)],this[_0x1e6891(0xfd)]);this[_0x1e6891(0x115)][_0x1e6891(0x113)](_0x8129d3);}[_0x43290c(0x10d)](_0x196f82){const _0x39c0e3=_0x43290c,_0xf45d4b=this[_0x39c0e3(0x115)][_0x39c0e3(0xfc)](_0x17b036=>_0x17b036['id']===_0x196f82['id']);this[_0x39c0e3(0x115)][_0x39c0e3(0xfa)](_0xf45d4b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x540f(_0x2b3749,_0x372a1a){const _0x265a6d=_0x265a();return _0x540f=function(_0x540f5f,_0xccb157){_0x540f5f=_0x540f5f-0xc4;let _0x33d5a3=_0x265a6d[_0x540f5f];return _0x33d5a3;},_0x540f(_0x2b3749,_0x372a1a);}const _0x393c62=_0x540f;(function(_0x2b7bf6,_0x592d72){const _0x3173b8=_0x540f,_0x404ef0=_0x2b7bf6();while(!![]){try{const _0x411ed4=-parseInt(_0x3173b8(0xd6))/0x1+parseInt(_0x3173b8(0xd7))/0x2+-parseInt(_0x3173b8(0xe7))/0x3+parseInt(_0x3173b8(0xd9))/0x4*(-parseInt(_0x3173b8(0xd3))/0x5)+-parseInt(_0x3173b8(0xe2))/0x6+parseInt(_0x3173b8(0xef))/0x7+parseInt(_0x3173b8(0xea))/0x8*(parseInt(_0x3173b8(0xed))/0x9);if(_0x411ed4===_0x592d72)break;else _0x404ef0['push'](_0x404ef0['shift']());}catch(_0x28b7bf){_0x404ef0['push'](_0x404ef0['shift']());}}}(_0x265a,0x31fb1));import{View as _0x219d65}from'ckeditor5/src/ui.js';import _0x3c7779 from'./revisionssidebartimeperiodview.js';import _0x366652 from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x52517e}from'./utils.js';function _0x265a(){const _0x40de22=['fire','highlightRevisions','selectRevision','155490VOqSry','unhighlight','select','32HLhLwC','locale','ck-rounded-corners','2192949suyWqQ','get','328748MxkTtw','startDate','revisionSelected','delegate','_requireRevisionName','revisionSetName','_addRevision','highlight','ck-reset','createdAt','_revisions','ck-revision-history-sidebar__timeline','getTime','set','div','ck-disabled','addRevision','_getTimePeriodViewByStartDate','ck-revision-history-sidebar','render','setName','revisionViews','remove','map','uiLanguage','createCollection','65rvfkQo','timePeriodViews','find','386910lQuXsr','655648QTSnXv','setTemplate','106476UTGfbv','_removeRevision','flat','deselect','add','isEnabled','removeRevision','bindTemplate','_revisionActions','2159544mpqDlw','some'];_0x265a=function(){return _0x40de22;};return _0x265a();}import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ci extends _0x219d65{constructor(_0x33c845,_0x5edecf,_0xdf7841,_0x6bf7a9){const _0x496520=_0x540f;super(_0x33c845);const _0x2ca6e4=this[_0x496520(0xe0)];this[_0x496520(0xd4)]=this[_0x496520(0xd2)](),this[_0x496520(0xd4)][_0x496520(0xf2)](_0x496520(0xe9))['to'](this),this[_0x496520(0xd4)][_0x496520(0xf2)](_0x496520(0xcd))['to'](this),this[_0x496520(0xf9)]=_0x5edecf,this[_0x496520(0xe1)]=_0xdf7841,this[_0x496520(0xf3)]=_0x6bf7a9,this['on'](_0x496520(0xe9),(_0x1bd1a3,_0x40871b)=>{const _0x4ed397=_0x496520;this[_0x4ed397(0xe4)](_0x4ed397(0xf1),_0x40871b);}),this['on'](_0x496520(0xcd),(_0x19eb77,_0x390095)=>{const _0x5da3bc=_0x496520;this[_0x5da3bc(0xe4)](_0x5da3bc(0xf4),_0x390095);}),this[_0x496520(0xc6)](_0x496520(0xde),!0x1),this[_0x496520(0xd8)]({'tag':_0x496520(0xc7),'attributes':{'class':['ck',_0x496520(0xf7),_0x496520(0xec),_0x496520(0xcb)]},'children':[new _0x366652(_0x33c845),{'tag':_0x496520(0xc7),'attributes':{'class':['ck',_0x496520(0xc4),_0x2ca6e4['if'](_0x496520(0xde),_0x496520(0xc8),_0x319b52=>!_0x319b52)]},'children':this[_0x496520(0xd4)]}]});}[_0x393c62(0xcc)](){const _0x5b6de2=_0x393c62;super[_0x5b6de2(0xcc)]();for(const _0x327064 of this[_0x5b6de2(0xf9)])this[_0x5b6de2(0xf5)](_0x327064);this[_0x5b6de2(0xf9)]['on'](_0x5b6de2(0xdd),(_0x4bf39d,_0x5e9932)=>{const _0xe98a43=_0x5b6de2;this[_0xe98a43(0xf5)](_0x5e9932);}),this[_0x5b6de2(0xf9)]['on'](_0x5b6de2(0xcf),(_0xd54906,_0x4cb6eb)=>{const _0x1c2088=_0x5b6de2;this[_0x1c2088(0xda)](_0x4cb6eb);});}get[_0x393c62(0xce)](){const _0x17414f=_0x393c62;return this[_0x17414f(0xd4)][_0x17414f(0xd0)](_0x466027=>_0x466027[_0x17414f(0xce)][_0x17414f(0xd0)](_0x5a7e22=>_0x5a7e22))[_0x17414f(0xdb)]();}[_0x393c62(0xe6)](_0x4e5491){const _0x79d9b8=_0x393c62;for(const _0xb81dd6 of this[_0x79d9b8(0xce)])_0x4e5491&&_0x4e5491['id']===_0xb81dd6['id']?_0xb81dd6[_0x79d9b8(0xe9)]():_0xb81dd6[_0x79d9b8(0xdc)]();}[_0x393c62(0xe5)](_0x198cc2){const _0x4860d9=_0x393c62;for(const _0x38d2e9 of this[_0x4860d9(0xce)])_0x198cc2[_0x4860d9(0xe3)](({id:_0x37b000})=>_0x37b000===_0x38d2e9['id'])?_0x38d2e9[_0x4860d9(0xf6)]():_0x38d2e9[_0x4860d9(0xe8)]();}[_0x393c62(0xf5)](_0x553332){const _0x1f24e3=_0x393c62,_0x5e33d8=_0x52517e(_0x553332[_0x1f24e3(0xf8)],this[_0x1f24e3(0xeb)][_0x1f24e3(0xd1)])[_0x1f24e3(0xf0)];let _0x92c3ce=this[_0x1f24e3(0xd4)][_0x1f24e3(0xee)](0x0);_0x92c3ce&&_0x92c3ce[_0x1f24e3(0xf0)][_0x1f24e3(0xc5)]()===_0x5e33d8[_0x1f24e3(0xc5)]()||(_0x92c3ce=new _0x3c7779(this[_0x1f24e3(0xeb)],_0x5e33d8,this[_0x1f24e3(0xe1)],this[_0x1f24e3(0xf3)]),this[_0x1f24e3(0xd4)][_0x1f24e3(0xdd)](_0x92c3ce)),_0x92c3ce[_0x1f24e3(0xc9)](_0x553332);}[_0x393c62(0xda)](_0x2b451d){const _0x19f636=_0x393c62,_0xcedd64=_0x52517e(_0x2b451d[_0x19f636(0xf8)],this[_0x19f636(0xeb)][_0x19f636(0xd1)])[_0x19f636(0xf0)];this[_0x19f636(0xca)](_0xcedd64)[_0x19f636(0xdf)](_0x2b451d);}[_0x393c62(0xca)](_0x314f4c){const _0x34b871=_0x393c62;return this[_0x34b871(0xd4)][_0x34b871(0xd5)](_0x2f2529=>_0x2f2529[_0x34b871(0xf0)][_0x34b871(0xc5)]()===_0x314f4c[_0x34b871(0xc5)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x51a9f5,_0x336324){const _0x25427f=_0x1c33,_0x3e9be3=_0x51a9f5();while(!![]){try{const _0x512abb=parseInt(_0x25427f(0x160))/0x1*(parseInt(_0x25427f(0x167))/0x2)+-parseInt(_0x25427f(0x16e))/0x3*(-parseInt(_0x25427f(0x166))/0x4)+parseInt(_0x25427f(0x172))/0x5*(parseInt(_0x25427f(0x165))/0x6)+parseInt(_0x25427f(0x169))/0x7*(-parseInt(_0x25427f(0x171))/0x8)+parseInt(_0x25427f(0x16d))/0x9+-parseInt(_0x25427f(0x178))/0xa+parseInt(_0x25427f(0x15f))/0xb*(-parseInt(_0x25427f(0x161))/0xc);if(_0x512abb===_0x336324)break;else _0x3e9be3['push'](_0x3e9be3['shift']());}catch(_0x543fb9){_0x3e9be3['push'](_0x3e9be3['shift']());}}}(_0x452f,0x8260b));import{DateTime as _0x8cbf40}from'luxon';function _0x1c33(_0x2e2d7d,_0x236ec3){const _0x452f06=_0x452f();return _0x1c33=function(_0x1c336f,_0x533f5f){_0x1c336f=_0x1c336f-0x15f;let _0x1fa6fc=_0x452f06[_0x1c336f];return _0x1fa6fc;},_0x1c33(_0x2e2d7d,_0x236ec3);}export function getDateTimePeriodInfo(_0x2a72ac,_0x26b6bc){const _0x4cab65=_0x1c33,_0x567a4e=_0x8cbf40[_0x4cab65(0x16a)](_0x2a72ac)[_0x4cab65(0x162)](_0x26b6bc),_0x5d71b9=_0x8cbf40[_0x4cab65(0x163)](),_0x1c3e96=_0x5d71b9[_0x4cab65(0x164)]({'days':0x1})[_0x4cab65(0x16c)](_0x4cab65(0x170));let _0x32ac95,_0xe5cfeb;return _0x567a4e[_0x4cab65(0x173)](_0x5d71b9,_0x4cab65(0x170))?(_0x32ac95=_0x567a4e[_0x4cab65(0x16c)](_0x4cab65(0x170))[_0x4cab65(0x175)](),_0xe5cfeb=_0x567a4e[_0x4cab65(0x168)]()):_0x567a4e[_0x4cab65(0x173)](_0x1c3e96,_0x4cab65(0x170))?(_0x32ac95=_0x1c3e96[_0x4cab65(0x175)](),_0xe5cfeb=_0x567a4e[_0x4cab65(0x168)]()):_0x567a4e[_0x4cab65(0x173)](_0x5d71b9,_0x4cab65(0x16f))?(_0x32ac95=_0x567a4e[_0x4cab65(0x16c)](_0x4cab65(0x16f))[_0x4cab65(0x175)](),_0xe5cfeb=_0x567a4e[_0x4cab65(0x174)]||''):_0x567a4e[_0x4cab65(0x173)](_0x5d71b9,_0x4cab65(0x177))?(_0x32ac95=_0x567a4e[_0x4cab65(0x16c)](_0x4cab65(0x16b))[_0x4cab65(0x175)](),_0xe5cfeb=_0x567a4e[_0x4cab65(0x176)]||''):(_0x32ac95=_0x567a4e[_0x4cab65(0x16c)](_0x4cab65(0x177))[_0x4cab65(0x175)](),_0xe5cfeb=String(_0x567a4e[_0x4cab65(0x177)])),{'startDate':_0x32ac95,'localizedPeriodName':_0xe5cfeb};}function _0x452f(){const _0x4cd155=['startOf','3879531pFJXEG','2811MpUpYl','week','day','8qbEGtL','3358415blBjIK','hasSame','weekdayLong','toJSDate','monthLong','year','5727840WyYUpg','5757807vxAUlP','2QMXhhh','36gWWKrq','setLocale','local','minus','6eqnRej','4156tIglVS','884132LkfqAq','toRelativeCalendar','1983065uKtbgA','fromJSDate','month'];_0x452f=function(){return _0x4cd155;};return _0x452f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5d5fe9=_0x5703;(function(_0x3fcd90,_0x55922a){const _0x61f136=_0x5703,_0x5336d6=_0x3fcd90();while(!![]){try{const _0x33fb16=-parseInt(_0x61f136(0x1ca))/0x1+parseInt(_0x61f136(0x1b0))/0x2*(-parseInt(_0x61f136(0x1c9))/0x3)+-parseInt(_0x61f136(0x1b5))/0x4+-parseInt(_0x61f136(0x1b1))/0x5+-parseInt(_0x61f136(0x1bb))/0x6*(-parseInt(_0x61f136(0x1ad))/0x7)+-parseInt(_0x61f136(0x1cb))/0x8+parseInt(_0x61f136(0x1b7))/0x9;if(_0x33fb16===_0x55922a)break;else _0x5336d6['push'](_0x5336d6['shift']());}catch(_0x3f2e81){_0x5336d6['push'](_0x5336d6['shift']());}}}(_0x43d1,0xf32e2));import{View as _0x59eaf9}from'ckeditor5/src/ui.js';function _0x5703(_0x49a086,_0x20a7cb){const _0x43d141=_0x43d1();return _0x5703=function(_0x570384,_0x3a435b){_0x570384=_0x570384-0x1ad;let _0x1436fa=_0x43d141[_0x570384];return _0x1436fa;},_0x5703(_0x49a086,_0x20a7cb);}function _0x43d1(){const _0x3479ff=['bindTemplate','Suggested\x20by','Added\x20by','focus','_model','ck-revision-change__label','Removed\x20by','ck-revision-change__','2901LyXMmT','445025xdScUT','11317320stRMgk','642663yEtRLp','isSuggestion','author','3022arPATo','1691060WbVQLf','changeId','name','ck-revision-change','7092000SBGKrO','element','52895259rvGqNB','setTemplate','div','data','36KMUcQC','span','type','set','add','ck-annotation'];_0x43d1=function(){return _0x3479ff;};return _0x43d1();}import{getTranslation as _0x4c4f38}from'../../utils/common-translations.js';export default class Z extends _0x59eaf9{constructor(_0x19f2f3,_0x1aa366){const _0x30657d=_0x5703;super(_0x19f2f3),this[_0x30657d(0x1c5)]=_0x1aa366,this[_0x30657d(0x1b2)]=_0x1aa366['id'];const _0x306a53=this[_0x30657d(0x1c1)],_0x352768=_0x4c4f38(_0x19f2f3,_0x1aa366[_0x30657d(0x1ba)][_0x30657d(0x1ae)]?_0x30657d(0x1c2):_0x30657d(0x1bf)==_0x1aa366[_0x30657d(0x1bd)]?_0x30657d(0x1c3):_0x30657d(0x1c7));this[_0x30657d(0x1be)](_0x30657d(0x1bd),_0x1aa366[_0x30657d(0x1bd)]),this[_0x30657d(0x1b8)]({'tag':_0x30657d(0x1b9),'attributes':{'class':[_0x30657d(0x1c0),_0x30657d(0x1b4),_0x306a53['to'](_0x30657d(0x1bd),_0x45a019=>_0x30657d(0x1c8)+_0x45a019)],'tabindex':-0x1},'children':[{'tag':_0x30657d(0x1bc),'children':[{'tag':_0x30657d(0x1bc),'attributes':{'class':[_0x30657d(0x1c6)]},'children':[{'text':_0x352768}]},{'text':'\x20'+_0x1aa366[_0x30657d(0x1af)][_0x30657d(0x1b3)]}]}]});}[_0x5d5fe9(0x1c4)](){const _0x50de8c=_0x5d5fe9;this[_0x50de8c(0x1b6)][_0x50de8c(0x1c4)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xf008(_0xb6820b,_0x29ef3a){const _0x1798cd=_0x1798();return _0xf008=function(_0xf00890,_0x4c2bea){_0xf00890=_0xf00890-0x1ca;let _0x5d6796=_0x1798cd[_0xf00890];return _0x5d6796;},_0xf008(_0xb6820b,_0x29ef3a);}(function(_0x5497e2,_0x20cac7){const _0x1237f3=_0xf008,_0x1af846=_0x5497e2();while(!![]){try{const _0x57f0e6=-parseInt(_0x1237f3(0x1d8))/0x1*(parseInt(_0x1237f3(0x1f6))/0x2)+parseInt(_0x1237f3(0x1f0))/0x3+parseInt(_0x1237f3(0x1cf))/0x4*(parseInt(_0x1237f3(0x1f1))/0x5)+parseInt(_0x1237f3(0x1ce))/0x6*(parseInt(_0x1237f3(0x1d6))/0x7)+-parseInt(_0x1237f3(0x1f5))/0x8*(parseInt(_0x1237f3(0x1cd))/0x9)+-parseInt(_0x1237f3(0x1f3))/0xa+parseInt(_0x1237f3(0x1e1))/0xb*(parseInt(_0x1237f3(0x1dc))/0xc);if(_0x57f0e6===_0x20cac7)break;else _0x1af846['push'](_0x1af846['shift']());}catch(_0x4c0c25){_0x1af846['push'](_0x1af846['shift']());}}}(_0x1798,0xcef1b));import{View as _0x595a53,ButtonView as _0x4b5347,ToolbarSeparatorView as _0x5670d2}from'ckeditor5/src/ui.js';import{getTranslation as _0x14cc6e}from'../../utils/common-translations.js';import _0x6e6b17 from'../../../theme/icons/arrow-up.svg';import _0x3dde1e from'../../../theme/icons/arrow-down.svg';function _0x1798(){const _0x150965=['div','Total','NUMBER_OF_CHANGES','forward','2689638uyadmr','5dscyNI','numberOfChanges','5229080XVuZVk','Loading...','7735304iJdfCI','40EmmfHU','fire','currentChangeNumber','Show\x20previous\x20change','9BAFGMa','378FBekka','4932708XGLKgv','ck-revision-history-ui__changes-navigation__label','ck-revision-history-ui','set','_isStatusLabelVisible','ck-revision-history-ui__changes-navigation','execute','37457PTmKCq','backward','9382VrcAwV','bind','_statusText','isEnabled','349608LUuznv','X_OF_Y_CHANGES','setTemplate','isForwardNavigationEnabled','ck-hidden','22dgpJAs','span','Show\x20next\x20change','ck-revision-history-ui__changes-navigation__wrapper','EDIT_X_OF_Y_REVISIONS','bindTemplate','isNavigationMode','isBackwardNavigationEnabled','No\x20changes','isReady','ck-revision-history-ui__changes-navigation__navigation'];_0x1798=function(){return _0x150965;};return _0x1798();}import'../../../theme/changesnavigation.css';export default class _i extends _0x595a53{constructor(_0x10c266){const _0x55dda6=_0xf008;super(_0x10c266);const _0x5df277=this[_0x55dda6(0x1e6)],_0x21c741=new _0x4b5347(_0x10c266),_0x6c5884=new _0x4b5347(_0x10c266);this[_0x55dda6(0x1d2)](_0x55dda6(0x1e7),!0x1),this[_0x55dda6(0x1d2)](_0x55dda6(0x1ea),!0x1),this[_0x55dda6(0x1d2)](_0x55dda6(0x1cb),0x0),this[_0x55dda6(0x1d2)](_0x55dda6(0x1f2),0x0),this[_0x55dda6(0x1d2)](_0x55dda6(0x1df),!0x1),this[_0x55dda6(0x1d2)](_0x55dda6(0x1e8),!0x1),this[_0x55dda6(0x1d9)](_0x55dda6(0x1d3))['to'](this,_0x55dda6(0x1ea),this,_0x55dda6(0x1f2),(_0x5d5c6f,_0x1ef735)=>_0x5d5c6f&&_0x1ef735>0x0),this[_0x55dda6(0x1d9)](_0x55dda6(0x1da))['to'](this,_0x55dda6(0x1ea),this,_0x55dda6(0x1cb),this,_0x55dda6(0x1f2),this,_0x55dda6(0x1e7),(_0x1942a7,_0x155616,_0x481fd6,_0x13d45c)=>{const _0x212680=_0x55dda6;if(!_0x1942a7)return _0x14cc6e(_0x10c266,_0x212680(0x1f4));if(!_0x481fd6)return _0x14cc6e(_0x10c266,_0x212680(0x1e9));const _0x35da19=_0x14cc6e(_0x10c266,_0x212680(0x1ee),_0x481fd6);return _0x13d45c?_0x14cc6e(_0x10c266,_0x212680(0x1dd),[_0x155616+0x1,_0x481fd6]):_0x35da19;}),_0x21c741[_0x55dda6(0x1d2)]({'label':_0x14cc6e(_0x10c266,_0x55dda6(0x1cc)),'tooltip':!0x0,'icon':_0x6e6b17}),_0x6c5884[_0x55dda6(0x1d2)]({'label':_0x14cc6e(_0x10c266,_0x55dda6(0x1e3)),'tooltip':!0x0,'icon':_0x3dde1e}),_0x21c741[_0x55dda6(0x1d9)](_0x55dda6(0x1db))['to'](this,_0x55dda6(0x1e8)),_0x6c5884[_0x55dda6(0x1d9)](_0x55dda6(0x1db))['to'](this,_0x55dda6(0x1df)),_0x21c741['on'](_0x55dda6(0x1d5),()=>this[_0x55dda6(0x1ca)](_0x55dda6(0x1d5),_0x55dda6(0x1d7))),_0x6c5884['on'](_0x55dda6(0x1d5),()=>this[_0x55dda6(0x1ca)](_0x55dda6(0x1d5),_0x55dda6(0x1ef))),this[_0x55dda6(0x1de)]({'tag':_0x55dda6(0x1ec),'attributes':{'class':['ck',_0x55dda6(0x1d1),_0x55dda6(0x1d4)]},'children':[{'tag':_0x55dda6(0x1e2),'attributes':{'class':[_0x55dda6(0x1e4)]},'children':[{'tag':_0x55dda6(0x1e2),'attributes':{'class':[_0x55dda6(0x1d0),_0x5df277['if'](_0x55dda6(0x1d3),_0x55dda6(0x1e0),_0x24a71f=>!_0x24a71f)]},'children':[{'text':_0x5df277['to'](_0x55dda6(0x1e7),_0x515268=>_0x515268?_0x14cc6e(_0x10c266,_0x55dda6(0x1e5))+':\x20':_0x14cc6e(_0x10c266,_0x55dda6(0x1ed))+':\x20')}]},{'text':_0x5df277['to'](_0x55dda6(0x1da))}]},new _0x5670d2(),{'tag':_0x55dda6(0x1ec),'attributes':{'class':[_0x55dda6(0x1eb)]},'children':[_0x21c741,_0x6c5884]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c940c=_0x5627;function _0x48db(){const _0x48283a=['ck-editor__editable__loading-overlay','1332710gqtmOD','roots','addClass','removeClass','RevisionViewerLoadingOverlay','5591999NHRsoG','show','4CrXyin','hide','3665163TdDUcV','change','editing','editor','4579225XgjllZ','4PJhrdN','view','234SDbSMb','6572656YzsYRu','193904AGMzjN','document','pluginName','4399680nLhwzA'];_0x48db=function(){return _0x48283a;};return _0x48db();}(function(_0x450a51,_0x3bdaa4){const _0x1e7a12=_0x5627,_0xa35fcb=_0x450a51();while(!![]){try{const _0x5073b5=parseInt(_0x1e7a12(0x9c))/0x1*(parseInt(_0x1e7a12(0x90))/0x2)+parseInt(_0x1e7a12(0x9e))/0x3*(-parseInt(_0x1e7a12(0x8c))/0x4)+-parseInt(_0x1e7a12(0xa2))/0x5+-parseInt(_0x1e7a12(0x93))/0x6+parseInt(_0x1e7a12(0x9a))/0x7+-parseInt(_0x1e7a12(0x8f))/0x8+-parseInt(_0x1e7a12(0x8e))/0x9*(-parseInt(_0x1e7a12(0x95))/0xa);if(_0x5073b5===_0x3bdaa4)break;else _0xa35fcb['push'](_0xa35fcb['shift']());}catch(_0x593f7d){_0xa35fcb['push'](_0xa35fcb['shift']());}}}(_0x48db,0xea333));function _0x5627(_0x54eb8b,_0x36af38){const _0x48dbf3=_0x48db();return _0x5627=function(_0x562785,_0x29d9f0){_0x562785=_0x562785-0x8c;let _0xa12f2d=_0x48dbf3[_0x562785];return _0xa12f2d;},_0x5627(_0x54eb8b,_0x36af38);}import{Plugin as _0x530a51}from'ckeditor5/src/core.js';const ce=_0x5c940c(0x94);import'../../../theme/revisionviewerloadingoverlay.css';export default class de extends _0x530a51{static get[_0x5c940c(0x92)](){const _0x1780f4=_0x5c940c;return _0x1780f4(0x99);}[_0x5c940c(0x9b)](){const _0x4dc395=_0x5c940c,_0x217a50=this[_0x4dc395(0xa1)][_0x4dc395(0xa0)][_0x4dc395(0x8d)];_0x217a50[_0x4dc395(0x9f)](_0x2cd672=>{const _0x484644=_0x4dc395;for(const _0x1d73ff of _0x217a50[_0x484644(0x91)][_0x484644(0x96)])_0x2cd672[_0x484644(0x97)](ce,_0x1d73ff);});}[_0x5c940c(0x9d)](){const _0x712b6c=_0x5c940c,_0x51235a=this[_0x712b6c(0xa1)][_0x712b6c(0xa0)][_0x712b6c(0x8d)];_0x51235a[_0x712b6c(0x9f)](_0xacc84e=>{const _0x50042e=_0x712b6c;for(const _0x4babba of _0x51235a[_0x50042e(0x91)][_0x50042e(0x96)])_0xacc84e[_0x50042e(0x98)](ce,_0x4babba);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6a2726=_0x711a;function _0x4630(){const _0x41e413=['5906NkvyXr','restoreRevision','isForwardNavigationEnabled','init','exitToEditing','componentFactory','add','isBackwardNavigationEnabled','change:isReady','requires','7eOOiAw','pluginName','835725zCleCh','currentChangeNumber','plugins','bind','forward','hide','isNavigationMode','listenTo','160kLZaCf','337500RrsEKp','showPreviousChange','4526384jjbwud','numberOfChanges','isEnabled','config','show','Back\x20to\x20editing','2567217YvRzca','get','Restore\x20this\x20revision','3289434ocicmR','30CbFZHS','undo','4GReyAK','36JfTAwG','editor','isReady','RevisionViewerUI','changesNavigation','1277082pGbFzw','closeRevisionViewerCallback','revisionHistory','showNextChange','commands','ck-revision-history-ui__back-to-editing','set','execute'];_0x4630=function(){return _0x41e413;};return _0x4630();}(function(_0x585420,_0x1e7a40){const _0x5743cc=_0x711a,_0x1085e7=_0x585420();while(!![]){try{const _0x354412=-parseInt(_0x5743cc(0x91))/0x1*(parseInt(_0x5743cc(0x74))/0x2)+-parseInt(_0x5743cc(0x7d))/0x3*(parseInt(_0x5743cc(0x83))/0x4)+parseInt(_0x5743cc(0x75))/0x5+parseInt(_0x5743cc(0x80))/0x6*(parseInt(_0x5743cc(0x6a))/0x7)+parseInt(_0x5743cc(0x77))/0x8+-parseInt(_0x5743cc(0x89))/0x9*(-parseInt(_0x5743cc(0x81))/0xa)+-parseInt(_0x5743cc(0x6c))/0xb*(-parseInt(_0x5743cc(0x84))/0xc);if(_0x354412===_0x1e7a40)break;else _0x1085e7['push'](_0x1085e7['shift']());}catch(_0xdfcb02){_0x1085e7['push'](_0x1085e7['shift']());}}}(_0x4630,0x7bc39));function _0x711a(_0x3aab55,_0x9bfa02){const _0x4630a6=_0x4630();return _0x711a=function(_0x711adc,_0x2d54cc){_0x711adc=_0x711adc-0x69;let _0x451a04=_0x4630a6[_0x711adc];return _0x451a04;},_0x711a(_0x3aab55,_0x9bfa02);}import{icons as _0x3c988e,Plugin as _0x2bdecc}from'ckeditor5/src/core.js';import{ButtonView as _0x576124}from'ckeditor5/src/ui.js';import _0x392b2f from'./changesnavigationview.js';import _0x1a35a2 from'./../../revisionviewer.js';import _0x997d82 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x11e473}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x2bdecc{static get[_0x6a2726(0x6b)](){const _0x3db563=_0x6a2726;return _0x3db563(0x87);}static get[_0x6a2726(0x69)](){return[_0x1a35a2,_0x997d82];}[_0x6a2726(0x94)](){const _0x35ff1b=_0x6a2726,_0x5f2586=this[_0x35ff1b(0x85)],_0x25c6fe=_0x5f2586[_0x35ff1b(0x6e)][_0x35ff1b(0x7e)](_0x1a35a2),_0x123b39=_0x5f2586[_0x35ff1b(0x6e)][_0x35ff1b(0x7e)](_0x997d82);_0x5f2586['ui'][_0x35ff1b(0x96)][_0x35ff1b(0x97)](_0x35ff1b(0x95),_0x3c2d3b=>{const _0x3df7eb=_0x35ff1b,_0x40c1df=new _0x576124(_0x3c2d3b);return _0x40c1df[_0x3df7eb(0x8f)]({'label':_0x11e473(_0x3c2d3b,_0x3df7eb(0x7c)),'icon':_0x3c988e[_0x3df7eb(0x82)],'withText':!0x0,'tooltip':!0x0,'class':_0x3df7eb(0x8e)}),this[_0x3df7eb(0x73)](_0x40c1df,_0x3df7eb(0x90),()=>{const _0x35c2c8=_0x3df7eb;_0x5f2586[_0x35c2c8(0x7a)][_0x35c2c8(0x7e)](_0x35c2c8(0x8b))[_0x35c2c8(0x8a)]();}),_0x40c1df;}),_0x5f2586['ui'][_0x35ff1b(0x96)][_0x35ff1b(0x97)](_0x35ff1b(0x92),_0x310ae4=>{const _0x1e699c=_0x35ff1b,_0x522cd4=new _0x576124(_0x310ae4);return _0x522cd4[_0x1e699c(0x8f)]({'label':_0x11e473(_0x310ae4,_0x1e699c(0x7f)),'withText':!0x0,'tooltip':!0x0}),_0x522cd4[_0x1e699c(0x6f)](_0x1e699c(0x79))['to'](_0x5f2586[_0x1e699c(0x8d)][_0x1e699c(0x7e)](_0x1e699c(0x92))),this[_0x1e699c(0x73)](_0x522cd4,_0x1e699c(0x90),()=>_0x5f2586[_0x1e699c(0x90)](_0x1e699c(0x92))),_0x522cd4;}),_0x5f2586['ui'][_0x35ff1b(0x96)][_0x35ff1b(0x97)](_0x35ff1b(0x88),_0x48a0f2=>{const _0x5d1e53=_0x35ff1b,_0x591724=new _0x392b2f(_0x48a0f2),_0x4fedcc=_0x5f2586[_0x5d1e53(0x8d)][_0x5d1e53(0x7e)](_0x5d1e53(0x76)),_0x2cc975=_0x5f2586[_0x5d1e53(0x8d)][_0x5d1e53(0x7e)](_0x5d1e53(0x8c));return _0x591724[_0x5d1e53(0x6f)](_0x5d1e53(0x98))['to'](_0x4fedcc,_0x5d1e53(0x79)),_0x591724[_0x5d1e53(0x6f)](_0x5d1e53(0x93))['to'](_0x2cc975,_0x5d1e53(0x79)),_0x591724[_0x5d1e53(0x6f)](_0x5d1e53(0x86),_0x5d1e53(0x6d),_0x5d1e53(0x78),_0x5d1e53(0x72))['to'](_0x25c6fe),this[_0x5d1e53(0x73)](_0x591724,_0x5d1e53(0x90),(_0x1c345f,_0x1b4397)=>{const _0x1f55d4=_0x5d1e53;_0x5f2586[_0x1f55d4(0x90)](_0x1f55d4(0x70)===_0x1b4397?_0x1f55d4(0x8c):_0x1f55d4(0x76));}),_0x591724;}),_0x123b39[_0x35ff1b(0x7b)](),_0x25c6fe['on'](_0x35ff1b(0x99),(_0x433f4d,_0x30ae49,_0x45fd0d)=>{const _0x5404c7=_0x35ff1b;_0x45fd0d?_0x123b39[_0x5404c7(0x71)]():_0x123b39[_0x5404c7(0x7b)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x528590,_0x1639aa,_0x367f3c){const t=_0x528590['t'];switch(_0x1639aa){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'},_0x367f3c);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x367f3c);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'';}}
|