@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240415.0 → 0.0.0-nightly-20240416.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 _0x46cdfc=_0x5409;(function(_0x3cc454,_0x54d524){const _0x10eaa3=_0x5409,_0xa578a4=_0x3cc454();while(!![]){try{const _0x103990=-parseInt(_0x10eaa3(0x1e5))/0x1*(-parseInt(_0x10eaa3(0x1ee))/0x2)+parseInt(_0x10eaa3(0x1cf))/0x3+parseInt(_0x10eaa3(0x1ea))/0x4+-parseInt(_0x10eaa3(0x1db))/0x5+parseInt(_0x10eaa3(0x1e4))/0x6*(parseInt(_0x10eaa3(0x1c3))/0x7)+-parseInt(_0x10eaa3(0x1e9))/0x8*(-parseInt(_0x10eaa3(0x1d1))/0x9)+-parseInt(_0x10eaa3(0x1da))/0xa*(parseInt(_0x10eaa3(0x1d3))/0xb);if(_0x103990===_0x54d524)break;else _0xa578a4['push'](_0xa578a4['shift']());}catch(_0x2185fd){_0xa578a4['push'](_0xa578a4['shift']());}}}(_0x41fc,0x80555));function _0x41fc(){const _0x13ea35=['form','setTemplate','revisionName','focus','optional','220','52428PGeDDo','1008379RyxOSi','locale','element','listenTo','81960KJIPrX','3612096AuMSMW','trim','ck-responsive-form','Name\x20of\x20the\x20revision','2JRXkAx','112CTmnax','arrowup','revisionNameInputValue','arrowleft','errorText','ck-revision-history-save-revision-form','arrowright','value','arrowdown','fieldView','focusTracker','extendTemplate','1386843amNjFw','render','72hrvCKh','input','13345310ntSZGa','set','label','_createRevisionNameInput','add','stopPropagation','keystrokes','10RxEHkR','4282945dOoCeT','reset','revisionNameInputView'];_0x41fc=function(){return _0x13ea35;};return _0x41fc();}import{LabeledFieldView as _0x1899a6,View as _0x23f924,createLabeledInputText as _0x8d6b8b,injectCssTransitionDisabler as _0x231652,submitHandler as _0x484837}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3c58d0,KeystrokeHandler as _0x12dd26}from'ckeditor5/src/utils.js';import{getTranslation as _0x438a21}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';function _0x5409(_0x5f5a57,_0x19e73f){const _0x41fc36=_0x41fc();return _0x5409=function(_0x5409b6,_0x316847){_0x5409b6=_0x5409b6-0x1c3;let _0xd748de=_0x41fc36[_0x5409b6];return _0xd748de;},_0x5409(_0x5f5a57,_0x19e73f);}import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class ns extends _0x23f924{constructor(_0x2f9aec,_0x8c4b35){const _0x24114b=_0x5409;super(_0x2f9aec),this[_0x24114b(0x1cd)]=new _0x3c58d0(),this[_0x24114b(0x1d9)]=new _0x12dd26(),this[_0x24114b(0x1d4)](_0x24114b(0x1c5),''),this[_0x24114b(0x1dd)]=this[_0x24114b(0x1d6)](_0x8c4b35),this[_0x24114b(0x1df)]({'tag':_0x24114b(0x1de),'attributes':{'class':['ck',_0x24114b(0x1c8),_0x24114b(0x1ec)],'tabindex':'-1'},'children':[this[_0x24114b(0x1dd)]]}),_0x231652(this);}[_0x46cdfc(0x1d0)](){const _0x5b2ac2=_0x46cdfc;super[_0x5b2ac2(0x1d0)](),_0x484837({'view':this}),this[_0x5b2ac2(0x1cd)][_0x5b2ac2(0x1d7)](this[_0x5b2ac2(0x1dd)][_0x5b2ac2(0x1e7)]),this[_0x5b2ac2(0x1d9)][_0x5b2ac2(0x1e8)](this[_0x5b2ac2(0x1e7)]);const _0x3ac693=_0x87d76c=>_0x87d76c[_0x5b2ac2(0x1d8)]();this[_0x5b2ac2(0x1d9)][_0x5b2ac2(0x1d4)](_0x5b2ac2(0x1c9),_0x3ac693),this[_0x5b2ac2(0x1d9)][_0x5b2ac2(0x1d4)](_0x5b2ac2(0x1c6),_0x3ac693),this[_0x5b2ac2(0x1d9)][_0x5b2ac2(0x1d4)](_0x5b2ac2(0x1c4),_0x3ac693),this[_0x5b2ac2(0x1d9)][_0x5b2ac2(0x1d4)](_0x5b2ac2(0x1cb),_0x3ac693);}[_0x46cdfc(0x1e1)](){const _0x57278a=_0x46cdfc;this[_0x57278a(0x1dd)][_0x57278a(0x1e1)]();}get[_0x46cdfc(0x1e0)](){const _0x578f76=_0x46cdfc;return this[_0x578f76(0x1dd)][_0x578f76(0x1cc)][_0x578f76(0x1e7)][_0x578f76(0x1ca)][_0x578f76(0x1eb)]();}set[_0x46cdfc(0x1e0)](_0x1bde04){const _0x4b6b3a=_0x46cdfc;this[_0x4b6b3a(0x1dd)][_0x4b6b3a(0x1cc)][_0x4b6b3a(0x1e7)][_0x4b6b3a(0x1ca)]=_0x1bde04[_0x4b6b3a(0x1eb)]();}[_0x46cdfc(0x1dc)](){const _0x308352=_0x46cdfc;this[_0x308352(0x1dd)][_0x308352(0x1cc)][_0x308352(0x1e7)][_0x308352(0x1ca)]='',this[_0x308352(0x1dd)][_0x308352(0x1c7)]=null;}[_0x46cdfc(0x1d6)](_0x13e257){const _0xfdecf8=_0x46cdfc,_0x34e6b7=new _0x1899a6(this[_0xfdecf8(0x1e6)],_0x8d6b8b),_0x49aa3a=_0x34e6b7[_0xfdecf8(0x1cc)];_0x49aa3a[_0xfdecf8(0x1ce)]({'attributes':{'maxlength':_0xfdecf8(0x1e3)}});let _0x924f83=_0x438a21(this[_0xfdecf8(0x1e6)],_0xfdecf8(0x1ed));return!_0x13e257&&(_0x924f83+='\x20('+_0x438a21(this[_0xfdecf8(0x1e6)],_0xfdecf8(0x1e2))+')'),(_0x34e6b7[_0xfdecf8(0x1d5)]=_0x924f83,_0x49aa3a['on'](_0xfdecf8(0x1d2),()=>{const _0x2bf163=_0xfdecf8;this[_0x2bf163(0x1c5)]=_0x49aa3a[_0x2bf163(0x1e7)][_0x2bf163(0x1ca)][_0x2bf163(0x1eb)]();}),_0x34e6b7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x1c39d8,icons as _0x1c65df}from'ckeditor5/src/core.js';import{createDropdown as _0x4b23dc,ButtonView as _0x16a184,ListItemView as _0x3e7047,ListView as te,MenuBarMenuListItemButtonView as _0x2c7bd1,MenuBarMenuListItemView as _0x56d174,MenuBarMenuListView as _0x3d4cb9,MenuBarMenuView as _0x242799}from'ckeditor5/src/ui.js';import _0x2e7121 from'../../revisiontracker.js';import _0x9f7c04 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x14f30b}from'../../utils/common-translations.js';export default class u extends _0x1c39d8{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[_0x2e7121];}['init'](){const _0xcd2509=this['editor'],_0x3bc94a=_0xcd2509['plugins']['get']('RevisionTracker');_0xcd2509['ui']['componentFactory']['add']('revisionHistory',_0x17938e=>{const _0x5e7c7b=_0x4b23dc(_0x17938e),_0x2745bf=_0x5e7c7b['panelView']['children'],_0x2b4ed6=new te(_0x17938e),_0x15f68e=new _0x3e7047(_0x17938e),_0x1e2888=new _0x16a184(_0x17938e),_0x3b174a=new _0x3e7047(_0x17938e),_0x528de5=new _0x16a184(_0x17938e);return _0x5e7c7b['bind']('isEnabled')['to'](_0x3bc94a,'isReady',_0x3bc94a,'isEnabled',_0xcd2509,'isReadOnly',(_0x4cfe98,_0x4cfc42,_0x53b523)=>_0x4cfe98&&_0x4cfc42&&!_0x53b523),_0x5e7c7b['buttonView']['set']({'icon':_0x1c65df['history'],'label':_0x14f30b(_0x17938e,'Revision\x20history'),'tooltip':!0x0}),_0x1e2888['set']({'label':_0x14f30b(_0x17938e,'Save\x20current\x20revision'),'withText':!0x0}),_0x1e2888['bind']('isEnabled')['to'](_0x3bc94a,'isReady',_0x3bc94a,'isEnabled',_0xcd2509,'isReadOnly',(_0x492bf9,_0x3f29b5,_0x29e5c1)=>_0x492bf9&&_0x3f29b5&&!_0x29e5c1),_0x1e2888['on']('execute',()=>this['_showDialog']()),_0x528de5['set']({'label':_0x14f30b(_0x17938e,'Open\x20revision\x20history'),'withText':!0x0}),_0x528de5['bind']('isEnabled')['to'](_0x3bc94a,'isReady',_0xcd2509,'isReadOnly',(_0x4d62cd,_0x6ee662)=>_0x4d62cd&&!_0x6ee662),_0x528de5['on']('execute',()=>{_0xcd2509['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x5e7c7b['isOpen']=!0x1,_0xcd2509['editing']['view']['focus']();}),_0x15f68e['children']['add'](_0x1e2888),_0x3b174a['children']['add'](_0x528de5),_0x2b4ed6['items']['addMany']([_0x15f68e,_0x3b174a]),_0x2745bf['add'](_0x2b4ed6),_0x5e7c7b;}),_0xcd2509['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x58c2fd=this['editor'],_0x19361b=_0x58c2fd['locale'],_0x43e03a=new _0x242799(_0x19361b),_0x1ce551=new _0x3d4cb9(_0x19361b);_0x43e03a['buttonView']['set']({'icon':_0x1c65df['history'],'label':_0x14f30b(_0x19361b,'Revision\x20history')});const _0x2c0e6f=new _0x56d174(_0x19361b,_0x43e03a),_0x36d5f4=new _0x2c7bd1(_0x19361b);_0x36d5f4['set']({'label':_0x14f30b(_0x19361b,'Save\x20current\x20revision')}),_0x36d5f4['delegate']('execute')['to'](_0x43e03a),_0x36d5f4['on']('execute',()=>{this['_showDialog']();}),_0x2c0e6f['children']['add'](_0x36d5f4),_0x1ce551['items']['add'](_0x2c0e6f);const _0x10add1=new _0x56d174(_0x19361b,_0x43e03a),_0x1ec2f3=new _0x2c7bd1(_0x19361b);return _0x1ec2f3['set']({'label':_0x14f30b(_0x19361b,'Open\x20revision\x20history')}),_0x1ec2f3['delegate']('execute')['to'](_0x43e03a),_0x1ec2f3['on']('execute',()=>{_0x58c2fd['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x10add1['children']['add'](_0x1ec2f3),_0x1ce551['items']['add'](_0x10add1),_0x43e03a['panelView']['children']['add'](_0x1ce551),_0x43e03a;}['_showDialog'](){const _0x32b574=this['editor'],_0x20bd76=_0x32b574['locale'],t=_0x20bd76['t'],_0x1f1c4a=_0x32b574['plugins']['get']('Dialog'),_0x144956=_0x32b574['plugins']['get']('RevisionTracker');function _0x2655a9(_0x1a3bd8){_0x32b574['config']['get']('revisionHistory.requireRevisionName')&&''===_0x1a3bd8['revisionName']?_0x1a3bd8['revisionNameInputView']['errorText']=_0x14f30b(_0x20bd76,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x32b574['plugins']['get'](_0x2e7121)['saveRevision']({'name':_0x1a3bd8['revisionName']}),_0x1f1c4a['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x2655a9(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x1f1c4a['show']({'id':'findAndReplace','title':_0x14f30b(_0x20bd76,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x1f1c4a['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x459446){_0x459446['bind']('isEnabled')['to'](_0x144956,'isReady',_0x144956,'isEnabled',_0x32b574,'isReadOnly',(_0x4b8498,_0x2484b4,_0x1bb850)=>_0x4b8498&&_0x2484b4&&!_0x1bb850);},'onExecute':()=>_0x2655a9(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x5348ed=this['editor'],_0xcb3d5d=_0x5348ed['locale'];this['_saveRevisionFormView']=new _0x9f7c04(_0xcb3d5d,_0x5348ed['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c95aa=_0x4fe5;(function(_0x5b76b1,_0x5c881b){const _0x2cc7a6=_0x4fe5,_0x13edb1=_0x5b76b1();while(!![]){try{const _0x5d906b=-parseInt(_0x2cc7a6(0xed))/0x1*(-parseInt(_0x2cc7a6(0x10e))/0x2)+parseInt(_0x2cc7a6(0x12e))/0x3*(parseInt(_0x2cc7a6(0x12b))/0x4)+-parseInt(_0x2cc7a6(0xe3))/0x5*(-parseInt(_0x2cc7a6(0x11a))/0x6)+-parseInt(_0x2cc7a6(0xea))/0x7+parseInt(_0x2cc7a6(0x12f))/0x8*(-parseInt(_0x2cc7a6(0xe2))/0x9)+parseInt(_0x2cc7a6(0x125))/0xa*(-parseInt(_0x2cc7a6(0x124))/0xb)+-parseInt(_0x2cc7a6(0x10d))/0xc;if(_0x5d906b===_0x5c881b)break;else _0x13edb1['push'](_0x13edb1['shift']());}catch(_0x431423){_0x13edb1['push'](_0x13edb1['shift']());}}}(_0x2136,0xc873f));import{Plugin as _0x4f60d8}from'ckeditor5/src/core.js';import _0x4061f1 from'./revisionssidebarview.js';function _0x2136(){const _0x168e85=['isVisible','get','Compare\x20against\x20selected','listenTo','isEnabled','nameRevision','revisionHistory.revisionActions','getRevision','isReady','Restore\x20this\x20revision','getIndex','restoreRevision','fieldView','revisionViews','newRevisionId','selectRevision','2970660rHWYMb','2ujrCwo','setName','render','revisionHistory.requireRevisionName','highlightRevisions','RevisionsSidebar','editor','revisionSelected','_handleRevisionSelected','plugins','_handleDiffChange','isSelected','6EZgfze','map','config','revisionHistory','string','destroy','pluginName','_revisionViewer','compareAgainstSelected','data','671fYLSjq','133540RFIwEm','Name\x20this\x20revision','repository','remove','element','availableRevisionActions','4QJgSHg','ready','change:diff','3348333NPqCqj','1144ElFatA','getRevisionsInDiff','action','_createRevisionActions','diff','bind','29439XtorDP','3502375roHDQT','revisionSetName','compare','requires','_sidebarView','name','_handleEditorDataReady','782152NntGpk','defaultRevisionActions','add','646107qwJEOR','restoreRevisionCallback','getLaterVisibleRevision','_handleRevisionSetName','_revisions','select','focus','appendChild','assign','locale','getEarlierVisibleRevision','_revisionsRepository','init','revisionHistory.viewerSidebarContainer','timePeriodViews','length'];_0x2136=function(){return _0x168e85;};return _0x2136();}import _0x123db9 from'../../revisionviewer.js';function _0x4fe5(_0x5f3d14,_0x5e6f14){const _0x2136de=_0x2136();return _0x4fe5=function(_0x4fe533,_0x4d5478){_0x4fe533=_0x4fe533-0xde;let _0x42f0ca=_0x2136de[_0x4fe533];return _0x42f0ca;},_0x4fe5(_0x5f3d14,_0x5e6f14);}export default class w extends _0x4f60d8{static get[_0x3c95aa(0x120)](){const _0x171f1b=_0x3c95aa;return _0x171f1b(0x113);}static get[_0x3c95aa(0xe6)](){return[_0x123db9];}constructor(_0x4908ba){const _0x5e2b92=_0x3c95aa;super(_0x4908ba),this[_0x5e2b92(0x121)]=_0x4908ba[_0x5e2b92(0x117)][_0x5e2b92(0xfe)](_0x123db9),this[_0x5e2b92(0xf8)]=this[_0x5e2b92(0x121)][_0x5e2b92(0x127)],this[_0x5e2b92(0xe7)]=null;}[_0x3c95aa(0xf9)](){const _0x2f60a8=_0x3c95aa,_0x4c14fe=this[_0x2f60a8(0xf8)][_0x2f60a8(0xf1)],_0x42b23c=this[_0x2f60a8(0xdf)](),_0x41c512=this[_0x2f60a8(0x114)][_0x2f60a8(0x11c)][_0x2f60a8(0xfe)](_0x2f60a8(0xfa));this[_0x2f60a8(0xe7)]=new _0x4061f1(this[_0x2f60a8(0x114)][_0x2f60a8(0xf6)],_0x4c14fe,_0x42b23c,this[_0x2f60a8(0x114)][_0x2f60a8(0x11c)][_0x2f60a8(0xfe)](_0x2f60a8(0x111))),this[_0x2f60a8(0xe7)]['on'](_0x2f60a8(0x115),this[_0x2f60a8(0x116)][_0x2f60a8(0xe1)](this)),this[_0x2f60a8(0xe7)]['on'](_0x2f60a8(0xe4),this[_0x2f60a8(0xf0)][_0x2f60a8(0xe1)](this)),this[_0x2f60a8(0xe7)][_0x2f60a8(0xe1)](_0x2f60a8(0x101))['to'](this[_0x2f60a8(0x121)]),this[_0x2f60a8(0xe7)][_0x2f60a8(0xfb)]['on'](_0x2f60a8(0xec),(_0x1f3207,_0x2068ff)=>{const _0x2aae95=_0x2f60a8;_0x2068ff[_0x2aae95(0x10a)]['on'](_0x2aae95(0xec),(_0xe53eb0,_0x2749d0)=>{const _0x22e0fa=_0x2aae95;_0x2749d0[_0x22e0fa(0xe1)](_0x22e0fa(0x101),_0x22e0fa(0x105))['to'](this[_0x22e0fa(0x121)]);});}),this[_0x2f60a8(0xe7)][_0x2f60a8(0x110)](),this[_0x2f60a8(0x100)](this[_0x2f60a8(0x114)][_0x2f60a8(0x123)],_0x2f60a8(0x12c),this[_0x2f60a8(0xe9)][_0x2f60a8(0xe1)](this)),this[_0x2f60a8(0x100)](this[_0x2f60a8(0x121)],_0x2f60a8(0x12d),this[_0x2f60a8(0x118)][_0x2f60a8(0xe1)](this)),_0x41c512[_0x2f60a8(0xf4)](this[_0x2f60a8(0xe7)][_0x2f60a8(0x129)]);}[_0x3c95aa(0x11f)](){const _0x3f9748=_0x3c95aa;this[_0x3f9748(0xe7)][_0x3f9748(0x129)][_0x3f9748(0x128)](),this[_0x3f9748(0xe7)][_0x3f9748(0x11f)]();}[_0x3c95aa(0xe9)](){const _0x103856=_0x3c95aa,_0x4ae6dc=this[_0x103856(0xf8)][_0x103856(0x104)](0x0);if(_0x4ae6dc){const _0x936189=this[_0x103856(0xf8)][_0x103856(0xf7)](_0x4ae6dc['id']);this[_0x103856(0x121)][_0x103856(0xe5)](_0x4ae6dc,_0x936189);}}[_0x3c95aa(0x116)](_0x1bfabc,_0x48bc8e){const _0x25438c=_0x3c95aa,_0x3b35f3=this[_0x25438c(0xf8)][_0x25438c(0x104)](_0x48bc8e['id']),_0x1cdba9=this[_0x25438c(0xf8)][_0x25438c(0xf7)](_0x3b35f3['id']);this[_0x25438c(0x121)][_0x25438c(0xe5)](_0x3b35f3,_0x1cdba9);}[_0x3c95aa(0xf0)](_0x162aeb,_0x2d2d47){const _0xac2cda=_0x3c95aa;this[_0xac2cda(0xf8)][_0xac2cda(0x104)](_0x2d2d47['id'])[_0xac2cda(0x10f)](_0x2d2d47[_0xac2cda(0xe8)]);}[_0x3c95aa(0x118)](_0x32a2ea,_0xa87d58,_0x34b6b2){const _0x592ff5=_0x3c95aa,_0x2f3945=this[_0x592ff5(0xf8)][_0x592ff5(0x130)](_0x34b6b2);_0x2f3945[_0x592ff5(0xfc)]>0x2?(this[_0x592ff5(0xe7)][_0x592ff5(0x112)](_0x2f3945),this[_0x592ff5(0xe7)][_0x592ff5(0x10c)](null)):(this[_0x592ff5(0xe7)][_0x592ff5(0x112)]([]),this[_0x592ff5(0xe7)][_0x592ff5(0x10c)](_0x2f3945[0x0]));}[_0x3c95aa(0xdf)](){const _0xc6b51c=_0x3c95aa,_0x1ec9ae=this[_0xc6b51c(0x114)],_0x25a5f1=w[_0xc6b51c(0x12a)],_0x27ec03=_0x1ec9ae[_0xc6b51c(0x11c)][_0xc6b51c(0xfe)](_0xc6b51c(0x103))||w[_0xc6b51c(0xeb)];if(_0x27ec03[_0xc6b51c(0xfc)])return _0x27ec03[_0xc6b51c(0x11b)](_0x5f3ccc=>{const _0x3ff54e=_0xc6b51c,_0x3b3d2d=_0x3ff54e(0x11e)==typeof _0x5f3ccc?Object[_0x3ff54e(0xf5)]({},_0x25a5f1[_0x5f3ccc]):_0x5f3ccc;return _0x3b3d2d[_0x3ff54e(0xde)]=_0x3b3d2d[_0x3ff54e(0xde)][_0x3ff54e(0xe1)](this,_0x1ec9ae),_0x3b3d2d[_0x3ff54e(0xfd)]&&(_0x3b3d2d[_0x3ff54e(0xfd)]=_0x3b3d2d[_0x3ff54e(0xfd)][_0x3ff54e(0xe1)](this,_0x1ec9ae)),_0x3b3d2d;});}}w[_0x3c95aa(0x12a)]={'compareAgainstSelected':{'name':_0x3c95aa(0xff),'action':({plugins:_0x541a0b},_0x1e92fd)=>{const _0x301cfe=_0x3c95aa,_0xb1a308=_0x541a0b[_0x301cfe(0xfe)](_0x123db9),_0x10488f=_0xb1a308[_0x301cfe(0x127)];let _0x2b6e8c=_0xb1a308[_0x301cfe(0xe0)][_0x301cfe(0x10b)],_0x168e51=_0x1e92fd['id'];_0x10488f[_0x301cfe(0x107)](_0x2b6e8c)>_0x10488f[_0x301cfe(0x107)](_0x168e51)&&([_0x2b6e8c,_0x168e51]=[_0x168e51,_0x2b6e8c]),_0xb1a308[_0x301cfe(0xe5)](_0x2b6e8c,_0x168e51);},'isVisible':({plugins:_0x3a3e4c},_0x5a684a)=>{const _0x5209dc=_0x3c95aa,_0x4eff67=_0x3a3e4c[_0x5209dc(0xfe)](_0x123db9);return!(_0x4eff67[_0x5209dc(0x127)][_0x5209dc(0x130)](_0x4eff67[_0x5209dc(0xe0)])[_0x5209dc(0xfc)]>0x2)&&!_0x5a684a[_0x5209dc(0x119)];}},'restoreRevision':{'name':_0x3c95aa(0x106),'action':(_0x4c2889,{id:_0x13cbeb})=>{const _0x5ac046=_0x3c95aa;_0x4c2889[_0x5ac046(0x11c)][_0x5ac046(0xfe)](_0x5ac046(0x11d))[_0x5ac046(0xee)](_0x13cbeb);},'isVisible':({plugins:_0x195fac},_0x23c956)=>!!_0x195fac[_0x3c95aa(0xfe)](_0x123db9)[_0x3c95aa(0x127)][_0x3c95aa(0xef)](_0x23c956['id'])},'nameRevision':{'name':_0x3c95aa(0x126),'action':({plugins:_0x2d8fa5},{id:_0x3954de,revisionNameView:_0x36c484})=>{const _0x4f8ea0=_0x3c95aa,_0x3cce51=_0x2d8fa5[_0x4f8ea0(0xfe)](_0x123db9),_0x280616=_0x3cce51[_0x4f8ea0(0x127)][_0x4f8ea0(0xf7)](_0x3954de);_0x3cce51[_0x4f8ea0(0xe5)](_0x3954de,_0x280616),_0x36c484[_0x4f8ea0(0xf3)](),_0x36c484[_0x4f8ea0(0x109)][_0x4f8ea0(0xf2)]();}}},w[_0x3c95aa(0xeb)]=[_0x3c95aa(0x122),_0x3c95aa(0x108),_0x3c95aa(0x102)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4afbfc,_0x4c963e){const _0x45e30f=_0xcdf5,_0x390a8e=_0x4afbfc();while(!![]){try{const _0x49c79a=parseInt(_0x45e30f(0x1df))/0x1+parseInt(_0x45e30f(0x1e0))/0x2+-parseInt(_0x45e30f(0x1e8))/0x3*(parseInt(_0x45e30f(0x1dc))/0x4)+parseInt(_0x45e30f(0x1e3))/0x5+parseInt(_0x45e30f(0x1da))/0x6+-parseInt(_0x45e30f(0x1e2))/0x7*(parseInt(_0x45e30f(0x1d9))/0x8)+parseInt(_0x45e30f(0x1ea))/0x9;if(_0x49c79a===_0x4c963e)break;else _0x390a8e['push'](_0x390a8e['shift']());}catch(_0x34e5de){_0x390a8e['push'](_0x390a8e['shift']());}}}(_0xc903,0x6c596));import{View as _0x40f28d,IconView as _0x26af74}from'ckeditor5/src/ui.js';import{getTranslation as _0xd9d444}from'../../utils/common-translations.js';function _0xc903(){const _0x2b6d6b=['80SmSgYT','history','ck-revision-history-sidebar__header__label','166140kCcDXV','749620uZiRay','ck-revision-history-sidebar__header','2534wdDMGa','857985rWBnEV','div','ck-reset_all','setTemplate','Revision\x20history','123429sOxPBn','span','11167047YtaDxn','18104mrdTRc','795204qVdycv','content'];_0xc903=function(){return _0x2b6d6b;};return _0xc903();}function _0xcdf5(_0x4bf3b8,_0xc6927a){const _0xc90370=_0xc903();return _0xcdf5=function(_0xcdf58c,_0x1e46ef){_0xcdf58c=_0xcdf58c-0x1d9;let _0x2b0e1d=_0xc90370[_0xcdf58c];return _0x2b0e1d;},_0xcdf5(_0x4bf3b8,_0xc6927a);}import{icons as _0x12317a}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class as extends _0x40f28d{constructor(_0x241174){const _0x463861=_0xcdf5;super(_0x241174);const _0x2e9b5c=new _0x26af74();_0x2e9b5c[_0x463861(0x1db)]=_0x12317a[_0x463861(0x1dd)],this[_0x463861(0x1e6)]({'tag':_0x463861(0x1e4),'attributes':{'class':['ck',_0x463861(0x1e5),_0x463861(0x1e1)]},'children':[_0x2e9b5c,{'tag':_0x463861(0x1e9),'attributes':{'class':['ck',_0x463861(0x1de)]},'children':[_0xd9d444(_0x241174,_0x463861(0x1e7))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x57df(_0x4d0658,_0x3235e6){const _0x520bda=_0x520b();return _0x57df=function(_0x57dfa6,_0x366268){_0x57dfa6=_0x57dfa6-0xa7;let _0x2dff5f=_0x520bda[_0x57dfa6];return _0x2dff5f;},_0x57df(_0x4d0658,_0x3235e6);}const _0x1a3045=_0x57df;(function(_0x52b50c,_0x19cf72){const _0x1caf00=_0x57df,_0x193e00=_0x52b50c();while(!![]){try{const _0x46b695=parseInt(_0x1caf00(0xbd))/0x1*(parseInt(_0x1caf00(0xa8))/0x2)+-parseInt(_0x1caf00(0xc3))/0x3+parseInt(_0x1caf00(0xc5))/0x4*(-parseInt(_0x1caf00(0xb1))/0x5)+parseInt(_0x1caf00(0xb7))/0x6+parseInt(_0x1caf00(0xac))/0x7*(-parseInt(_0x1caf00(0xc2))/0x8)+parseInt(_0x1caf00(0xaa))/0x9*(-parseInt(_0x1caf00(0xb2))/0xa)+parseInt(_0x1caf00(0xb5))/0xb;if(_0x46b695===_0x19cf72)break;else _0x193e00['push'](_0x193e00['shift']());}catch(_0x21401a){_0x193e00['push'](_0x193e00['shift']());}}}(_0x520b,0x226d2));import{View as _0x3229ae}from'ckeditor5/src/ui.js';function _0x520b(){const _0x47d17f=['revisionViews','setName','4280199lxVrZD','_revisionActions','308730AOAURP','createCollection','addRevision','ck-revision-history-sidebar__time-period__label','removeRevision','find','13fhMmRn','delegate','_requireRevisionName','ck-revision-history-sidebar__time-period','remove','312TPFXsv','538467omxDdC','select','116zwlHxY','uiLanguage','setTemplate','localizedPeriodName','35532tdOLhl','ck-revision-history-sidebar__time-period__revisions','9wpAfDe','add','45367oKQcTy','startDate','span','locale','div','14515peVqRA','140770sFmiVj'];_0x520b=function(){return _0x47d17f;};return _0x520b();}import _0x474434 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x1f9e2c}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class mi extends _0x3229ae{constructor(_0x37572e,_0x3990d5,_0x5a9a5b,_0x3ba8ef){const _0x3408b9=_0x57df;super(_0x37572e);const _0x574339=_0x1f9e2c(_0x3990d5,this[_0x3408b9(0xaf)][_0x3408b9(0xc6)])[_0x3408b9(0xa7)];this[_0x3408b9(0xad)]=_0x3990d5,this[_0x3408b9(0xb3)]=this[_0x3408b9(0xb8)](),this[_0x3408b9(0xb6)]=_0x5a9a5b,this[_0x3408b9(0xbf)]=_0x3ba8ef,this[_0x3408b9(0xb3)][_0x3408b9(0xbe)](_0x3408b9(0xc4))['to'](this),this[_0x3408b9(0xb3)][_0x3408b9(0xbe)](_0x3408b9(0xb4))['to'](this),this[_0x3408b9(0xc7)]({'tag':_0x3408b9(0xb0),'attributes':{'class':['ck',_0x3408b9(0xc0)]},'children':[{'tag':_0x3408b9(0xae),'attributes':{'class':['ck',_0x3408b9(0xba)]},'children':[{'text':_0x574339}]},{'tag':_0x3408b9(0xb0),'attributes':{'class':['ck',_0x3408b9(0xa9)]},'children':this[_0x3408b9(0xb3)]}]});}[_0x1a3045(0xb9)](_0x8025ae){const _0x5d7f00=_0x1a3045,_0x1179d7=new _0x474434(this[_0x5d7f00(0xaf)],_0x8025ae,this[_0x5d7f00(0xb6)],this[_0x5d7f00(0xbf)]);this[_0x5d7f00(0xb3)][_0x5d7f00(0xab)](_0x1179d7);}[_0x1a3045(0xbb)](_0x2a83f9){const _0x33f3e1=_0x1a3045,_0x47b580=this[_0x33f3e1(0xb3)][_0x33f3e1(0xbc)](_0xb982d=>_0xb982d['id']===_0x2a83f9['id']);this[_0x33f3e1(0xb3)][_0x33f3e1(0xc1)](_0x47b580);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4af1(_0x2998d8,_0x5a9520){const _0x4ac06a=_0x4ac0();return _0x4af1=function(_0x4af16f,_0xdd5182){_0x4af16f=_0x4af16f-0xe6;let _0x24b7be=_0x4ac06a[_0x4af16f];return _0x24b7be;},_0x4af1(_0x2998d8,_0x5a9520);}const _0x1d2a2a=_0x4af1;(function(_0x11a979,_0x3785f3){const _0x467be1=_0x4af1,_0x4c609c=_0x11a979();while(!![]){try{const _0x508b26=-parseInt(_0x467be1(0xf2))/0x1*(parseInt(_0x467be1(0x11a))/0x2)+-parseInt(_0x467be1(0x110))/0x3*(parseInt(_0x467be1(0xf8))/0x4)+parseInt(_0x467be1(0x117))/0x5+parseInt(_0x467be1(0x109))/0x6*(-parseInt(_0x467be1(0x102))/0x7)+parseInt(_0x467be1(0xfe))/0x8+parseInt(_0x467be1(0x119))/0x9*(-parseInt(_0x467be1(0xf6))/0xa)+parseInt(_0x467be1(0xf1))/0xb*(parseInt(_0x467be1(0x114))/0xc);if(_0x508b26===_0x3785f3)break;else _0x4c609c['push'](_0x4c609c['shift']());}catch(_0x378e5a){_0x4c609c['push'](_0x4c609c['shift']());}}}(_0x4ac0,0xbc0dc));import{View as _0xb04a0b}from'ckeditor5/src/ui.js';import _0x1993e5 from'./revisionssidebartimeperiodview.js';import _0x3ffc30 from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x3ff6e6}from'./utils.js';function _0x4ac0(){const _0x410b89=['3mCyPyh','selectRevision','bindTemplate','revisionSetName','4020pxAWJs','get','add','3081195SUgsYK','highlightRevisions','227826udhGNv','694NecIAm','getTime','unhighlight','addRevision','_addRevision','_revisionActions','remove','createCollection','ck-rounded-corners','revisionSelected','ck-disabled','_requireRevisionName','uiLanguage','setTemplate','locale','ck-reset','93819TjKLGG','1420PlRYRL','_revisions','fire','highlight','460ioJvQt','find','2614796JDYRaA','createdAt','ck-revision-history-sidebar__timeline','set','timePeriodViews','select','1412840alcZhJ','isEnabled','flat','map','63CVnolO','setName','ck-revision-history-sidebar','startDate','_removeRevision','revisionViews','div','379272sCBsIi','removeRevision','some','delegate','deselect','_getTimePeriodViewByStartDate','render'];_0x4ac0=function(){return _0x410b89;};return _0x4ac0();}import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ci extends _0xb04a0b{constructor(_0x421256,_0x14d5aa,_0x1273f5,_0x273262){const _0x3112c7=_0x4af1;super(_0x421256);const _0x243e60=this[_0x3112c7(0x112)];this[_0x3112c7(0xfc)]=this[_0x3112c7(0xe8)](),this[_0x3112c7(0xfc)][_0x3112c7(0x10c)](_0x3112c7(0xfd))['to'](this),this[_0x3112c7(0xfc)][_0x3112c7(0x10c)](_0x3112c7(0x103))['to'](this),this[_0x3112c7(0xf3)]=_0x14d5aa,this[_0x3112c7(0xe6)]=_0x1273f5,this[_0x3112c7(0xec)]=_0x273262,this['on'](_0x3112c7(0xfd),(_0x25fa71,_0x464f82)=>{const _0x3d1b97=_0x3112c7;this[_0x3d1b97(0xf4)](_0x3d1b97(0xea),_0x464f82);}),this['on'](_0x3112c7(0x103),(_0x257cf0,_0x36c168)=>{const _0x395715=_0x3112c7;this[_0x395715(0xf4)](_0x395715(0x113),_0x36c168);}),this[_0x3112c7(0xfb)](_0x3112c7(0xff),!0x1),this[_0x3112c7(0xee)]({'tag':_0x3112c7(0x108),'attributes':{'class':['ck',_0x3112c7(0xf0),_0x3112c7(0xe9),_0x3112c7(0x104)]},'children':[new _0x3ffc30(_0x421256),{'tag':_0x3112c7(0x108),'attributes':{'class':['ck',_0x3112c7(0xfa),_0x243e60['if'](_0x3112c7(0xff),_0x3112c7(0xeb),_0x505597=>!_0x505597)]},'children':this[_0x3112c7(0xfc)]}]});}[_0x1d2a2a(0x10f)](){const _0x4343c9=_0x1d2a2a;super[_0x4343c9(0x10f)]();for(const _0x28b129 of this[_0x4343c9(0xf3)])this[_0x4343c9(0x11e)](_0x28b129);this[_0x4343c9(0xf3)]['on'](_0x4343c9(0x116),(_0x44f69f,_0x543f81)=>{const _0x35a053=_0x4343c9;this[_0x35a053(0x11e)](_0x543f81);}),this[_0x4343c9(0xf3)]['on'](_0x4343c9(0xe7),(_0xc9d09b,_0x52d5fb)=>{const _0x3fa0a8=_0x4343c9;this[_0x3fa0a8(0x106)](_0x52d5fb);});}get[_0x1d2a2a(0x107)](){const _0x21c98f=_0x1d2a2a;return this[_0x21c98f(0xfc)][_0x21c98f(0x101)](_0x1fb502=>_0x1fb502[_0x21c98f(0x107)][_0x21c98f(0x101)](_0x299580=>_0x299580))[_0x21c98f(0x100)]();}[_0x1d2a2a(0x111)](_0x13ba73){const _0xaa6c3f=_0x1d2a2a;for(const _0x1045a0 of this[_0xaa6c3f(0x107)])_0x13ba73&&_0x13ba73['id']===_0x1045a0['id']?_0x1045a0[_0xaa6c3f(0xfd)]():_0x1045a0[_0xaa6c3f(0x10d)]();}[_0x1d2a2a(0x118)](_0x43892b){const _0x3c068b=_0x1d2a2a;for(const _0x23e0d5 of this[_0x3c068b(0x107)])_0x43892b[_0x3c068b(0x10b)](({id:_0x201c2f})=>_0x201c2f===_0x23e0d5['id'])?_0x23e0d5[_0x3c068b(0xf5)]():_0x23e0d5[_0x3c068b(0x11c)]();}[_0x1d2a2a(0x11e)](_0x1d6f0f){const _0x2f1058=_0x1d2a2a,_0x24ba2e=_0x3ff6e6(_0x1d6f0f[_0x2f1058(0xf9)],this[_0x2f1058(0xef)][_0x2f1058(0xed)])[_0x2f1058(0x105)];let _0x969f03=this[_0x2f1058(0xfc)][_0x2f1058(0x115)](0x0);_0x969f03&&_0x969f03[_0x2f1058(0x105)][_0x2f1058(0x11b)]()===_0x24ba2e[_0x2f1058(0x11b)]()||(_0x969f03=new _0x1993e5(this[_0x2f1058(0xef)],_0x24ba2e,this[_0x2f1058(0xe6)],this[_0x2f1058(0xec)]),this[_0x2f1058(0xfc)][_0x2f1058(0x116)](_0x969f03)),_0x969f03[_0x2f1058(0x11d)](_0x1d6f0f);}[_0x1d2a2a(0x106)](_0x4f7c88){const _0x9e5fa8=_0x1d2a2a,_0x477f87=_0x3ff6e6(_0x4f7c88[_0x9e5fa8(0xf9)],this[_0x9e5fa8(0xef)][_0x9e5fa8(0xed)])[_0x9e5fa8(0x105)];this[_0x9e5fa8(0x10e)](_0x477f87)[_0x9e5fa8(0x10a)](_0x4f7c88);}[_0x1d2a2a(0x10e)](_0x1220ee){const _0x53649e=_0x1d2a2a;return this[_0x53649e(0xfc)][_0x53649e(0xf7)](_0x2d3142=>_0x2d3142[_0x53649e(0x105)][_0x53649e(0x11b)]()===_0x1220ee[_0x53649e(0x11b)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x118c(_0x4ba635,_0x3ef7b6){const _0x276d3c=_0x276d();return _0x118c=function(_0x118c6e,_0x328763){_0x118c6e=_0x118c6e-0x12f;let _0xad6a37=_0x276d3c[_0x118c6e];return _0xad6a37;},_0x118c(_0x4ba635,_0x3ef7b6);}(function(_0x558b72,_0x3508ae){const _0x164bd6=_0x118c,_0x5e15de=_0x558b72();while(!![]){try{const _0x5e1865=-parseInt(_0x164bd6(0x13d))/0x1*(parseInt(_0x164bd6(0x140))/0x2)+parseInt(_0x164bd6(0x139))/0x3*(-parseInt(_0x164bd6(0x145))/0x4)+parseInt(_0x164bd6(0x13c))/0x5+parseInt(_0x164bd6(0x135))/0x6+parseInt(_0x164bd6(0x13e))/0x7+-parseInt(_0x164bd6(0x12f))/0x8+-parseInt(_0x164bd6(0x13f))/0x9*(parseInt(_0x164bd6(0x141))/0xa);if(_0x5e1865===_0x3508ae)break;else _0x5e15de['push'](_0x5e15de['shift']());}catch(_0x4ab4dd){_0x5e15de['push'](_0x5e15de['shift']());}}}(_0x276d,0xad392));import{DateTime as _0x653891}from'luxon';function _0x276d(){const _0x3201f6=['4109913aaKLxK','14854HlDCtO','10UmAusr','year','month','toRelativeCalendar','861512AbBegl','hasSame','7804712ktfEHS','minus','toJSDate','weekdayLong','week','day','6988464hWexpu','local','startOf','setLocale','18RABgWt','monthLong','fromJSDate','6920985Jsrnjn','35tBLpME','8015280EGXZNT'];_0x276d=function(){return _0x3201f6;};return _0x276d();}export function getDateTimePeriodInfo(_0x314073,_0x4dc77d){const _0x438083=_0x118c,_0x3cb8a3=_0x653891[_0x438083(0x13b)](_0x314073)[_0x438083(0x138)](_0x4dc77d),_0x47a032=_0x653891[_0x438083(0x136)](),_0x51a8c2=_0x47a032[_0x438083(0x130)]({'days':0x1})[_0x438083(0x137)](_0x438083(0x134));let _0x3174b2,_0x3c23d6;return _0x3cb8a3[_0x438083(0x146)](_0x47a032,_0x438083(0x134))?(_0x3174b2=_0x3cb8a3[_0x438083(0x137)](_0x438083(0x134))[_0x438083(0x131)](),_0x3c23d6=_0x3cb8a3[_0x438083(0x144)]()):_0x3cb8a3[_0x438083(0x146)](_0x51a8c2,_0x438083(0x134))?(_0x3174b2=_0x51a8c2[_0x438083(0x131)](),_0x3c23d6=_0x3cb8a3[_0x438083(0x144)]()):_0x3cb8a3[_0x438083(0x146)](_0x47a032,_0x438083(0x133))?(_0x3174b2=_0x3cb8a3[_0x438083(0x137)](_0x438083(0x133))[_0x438083(0x131)](),_0x3c23d6=_0x3cb8a3[_0x438083(0x132)]||''):_0x3cb8a3[_0x438083(0x146)](_0x47a032,_0x438083(0x142))?(_0x3174b2=_0x3cb8a3[_0x438083(0x137)](_0x438083(0x143))[_0x438083(0x131)](),_0x3c23d6=_0x3cb8a3[_0x438083(0x13a)]||''):(_0x3174b2=_0x3cb8a3[_0x438083(0x137)](_0x438083(0x142))[_0x438083(0x131)](),_0x3c23d6=String(_0x3cb8a3[_0x438083(0x142)])),{'startDate':_0x3174b2,'localizedPeriodName':_0x3c23d6};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2839(_0x1d4e49,_0x62aaaf){const _0x219fae=_0x219f();return _0x2839=function(_0x2839d2,_0x6fc5a7){_0x2839d2=_0x2839d2-0x16c;let _0x50e2b2=_0x219fae[_0x2839d2];return _0x50e2b2;},_0x2839(_0x1d4e49,_0x62aaaf);}const _0x1a0a1c=_0x2839;(function(_0x459631,_0x53582e){const _0x4642ce=_0x2839,_0x42c1ac=_0x459631();while(!![]){try{const _0x1cefc8=parseInt(_0x4642ce(0x189))/0x1*(-parseInt(_0x4642ce(0x188))/0x2)+parseInt(_0x4642ce(0x179))/0x3*(parseInt(_0x4642ce(0x18a))/0x4)+-parseInt(_0x4642ce(0x184))/0x5*(parseInt(_0x4642ce(0x185))/0x6)+parseInt(_0x4642ce(0x180))/0x7+-parseInt(_0x4642ce(0x170))/0x8+-parseInt(_0x4642ce(0x181))/0x9*(parseInt(_0x4642ce(0x17f))/0xa)+-parseInt(_0x4642ce(0x16c))/0xb*(-parseInt(_0x4642ce(0x17e))/0xc);if(_0x1cefc8===_0x53582e)break;else _0x42c1ac['push'](_0x42c1ac['shift']());}catch(_0x579d39){_0x42c1ac['push'](_0x42c1ac['shift']());}}}(_0x219f,0xc25ff));function _0x219f(){const _0x17cc2e=['246gZzzVx','element','set','2990554YSVzgJ','1gfidVo','2390824QbCzgV','_model','Suggested\x20by','div','5842331oKOfFR','span','bindTemplate','ck-annotation','8796304MdxOHL','data','setTemplate','changeId','isSuggestion','type','author','focus','ck-revision-change__label','3lHSczb','Removed\x20by','ck-revision-change__','ck-revision-change','add','84nmTioi','479390Cstrhz','4022599LrBcWL','27vPJdYe','Added\x20by','name','165295GTHgCF'];_0x219f=function(){return _0x17cc2e;};return _0x219f();}import{View as _0x4cca22}from'ckeditor5/src/ui.js';import{getTranslation as _0x4985d8}from'../../utils/common-translations.js';export default class Z extends _0x4cca22{constructor(_0x1621db,_0x4f5504){const _0x34acb6=_0x2839;super(_0x1621db),this[_0x34acb6(0x18b)]=_0x4f5504,this[_0x34acb6(0x173)]=_0x4f5504['id'];const _0x4eab40=this[_0x34acb6(0x16e)],_0x52c1bf=_0x4985d8(_0x1621db,_0x4f5504[_0x34acb6(0x171)][_0x34acb6(0x174)]?_0x34acb6(0x18c):_0x34acb6(0x17d)==_0x4f5504[_0x34acb6(0x175)]?_0x34acb6(0x182):_0x34acb6(0x17a));this[_0x34acb6(0x187)](_0x34acb6(0x175),_0x4f5504[_0x34acb6(0x175)]),this[_0x34acb6(0x172)]({'tag':_0x34acb6(0x18d),'attributes':{'class':[_0x34acb6(0x16f),_0x34acb6(0x17c),_0x4eab40['to'](_0x34acb6(0x175),_0x27a84d=>_0x34acb6(0x17b)+_0x27a84d)],'tabindex':-0x1},'children':[{'tag':_0x34acb6(0x16d),'children':[{'tag':_0x34acb6(0x16d),'attributes':{'class':[_0x34acb6(0x178)]},'children':[{'text':_0x52c1bf}]},{'text':'\x20'+_0x4f5504[_0x34acb6(0x176)][_0x34acb6(0x183)]}]}]});}[_0x1a0a1c(0x177)](){const _0x1c163a=_0x1a0a1c;this[_0x1c163a(0x186)][_0x1c163a(0x177)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x44d64f,_0x555145){const _0x3a42a2=_0x2f56,_0x5ef98a=_0x44d64f();while(!![]){try{const _0xf7a29a=-parseInt(_0x3a42a2(0x11d))/0x1+parseInt(_0x3a42a2(0x127))/0x2*(parseInt(_0x3a42a2(0x13b))/0x3)+-parseInt(_0x3a42a2(0x128))/0x4+parseInt(_0x3a42a2(0x13a))/0x5*(parseInt(_0x3a42a2(0x120))/0x6)+parseInt(_0x3a42a2(0x134))/0x7*(parseInt(_0x3a42a2(0x132))/0x8)+parseInt(_0x3a42a2(0x115))/0x9*(parseInt(_0x3a42a2(0x123))/0xa)+parseInt(_0x3a42a2(0x117))/0xb*(parseInt(_0x3a42a2(0x124))/0xc);if(_0xf7a29a===_0x555145)break;else _0x5ef98a['push'](_0x5ef98a['shift']());}catch(_0x7a4775){_0x5ef98a['push'](_0x5ef98a['shift']());}}}(_0x3ece,0x8f8d5));function _0x2f56(_0x217f0c,_0x99ec21){const _0x3ece14=_0x3ece();return _0x2f56=function(_0x2f564d,_0x4169ab){_0x2f564d=_0x2f564d-0x113;let _0x592fa5=_0x3ece14[_0x2f564d];return _0x592fa5;},_0x2f56(_0x217f0c,_0x99ec21);}function _0x3ece(){const _0x5debae=['7mEKYlQ','Total','isReady','NUMBER_OF_CHANGES','forward','currentChangeNumber','80UeMszb','937119aDHNQx','_statusText','ck-revision-history-ui__changes-navigation','bind','set','X_OF_Y_CHANGES','bindTemplate','234XHpIjg','ck-revision-history-ui__changes-navigation__navigation','11YAQPmh','isForwardNavigationEnabled','span','ck-revision-history-ui__changes-navigation__label','No\x20changes','Show\x20previous\x20change','398534JEtkcq','backward','Show\x20next\x20change','6iYRFAL','ck-revision-history-ui__changes-navigation__wrapper','isBackwardNavigationEnabled','89230cEnPkx','3504684caFDVV','EDIT_X_OF_Y_REVISIONS','ck-revision-history-ui','2oRiway','3126840ABrzpN','div','isEnabled','_isStatusLabelVisible','ck-hidden','Loading...','isNavigationMode','fire','numberOfChanges','setTemplate','7454312iADCVL','execute'];_0x3ece=function(){return _0x5debae;};return _0x3ece();}import{View as _0x318953,ButtonView as _0xa5bd48,ToolbarSeparatorView as _0x506817}from'ckeditor5/src/ui.js';import{getTranslation as _0x45b47c}from'../../utils/common-translations.js';import _0x2f98d0 from'../../../theme/icons/arrow-up.svg';import _0x55d558 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class _i extends _0x318953{constructor(_0x329fcf){const _0x3be248=_0x2f56;super(_0x329fcf);const _0x3c7595=this[_0x3be248(0x114)],_0x172628=new _0xa5bd48(_0x329fcf),_0x141aab=new _0xa5bd48(_0x329fcf);this[_0x3be248(0x13f)](_0x3be248(0x12e),!0x1),this[_0x3be248(0x13f)](_0x3be248(0x136),!0x1),this[_0x3be248(0x13f)](_0x3be248(0x139),0x0),this[_0x3be248(0x13f)](_0x3be248(0x130),0x0),this[_0x3be248(0x13f)](_0x3be248(0x118),!0x1),this[_0x3be248(0x13f)](_0x3be248(0x122),!0x1),this[_0x3be248(0x13e)](_0x3be248(0x12b))['to'](this,_0x3be248(0x136),this,_0x3be248(0x130),(_0x3dce5e,_0x391e0f)=>_0x3dce5e&&_0x391e0f>0x0),this[_0x3be248(0x13e)](_0x3be248(0x13c))['to'](this,_0x3be248(0x136),this,_0x3be248(0x139),this,_0x3be248(0x130),this,_0x3be248(0x12e),(_0x2dedbe,_0x436337,_0x2265d7,_0x5efb57)=>{const _0x8b646e=_0x3be248;if(!_0x2dedbe)return _0x45b47c(_0x329fcf,_0x8b646e(0x12d));if(!_0x2265d7)return _0x45b47c(_0x329fcf,_0x8b646e(0x11b));const _0x1f9e5b=_0x45b47c(_0x329fcf,_0x8b646e(0x137),_0x2265d7);return _0x5efb57?_0x45b47c(_0x329fcf,_0x8b646e(0x113),[_0x436337+0x1,_0x2265d7]):_0x1f9e5b;}),_0x172628[_0x3be248(0x13f)]({'label':_0x45b47c(_0x329fcf,_0x3be248(0x11c)),'tooltip':!0x0,'icon':_0x2f98d0}),_0x141aab[_0x3be248(0x13f)]({'label':_0x45b47c(_0x329fcf,_0x3be248(0x11f)),'tooltip':!0x0,'icon':_0x55d558}),_0x172628[_0x3be248(0x13e)](_0x3be248(0x12a))['to'](this,_0x3be248(0x122)),_0x141aab[_0x3be248(0x13e)](_0x3be248(0x12a))['to'](this,_0x3be248(0x118)),_0x172628['on'](_0x3be248(0x133),()=>this[_0x3be248(0x12f)](_0x3be248(0x133),_0x3be248(0x11e))),_0x141aab['on'](_0x3be248(0x133),()=>this[_0x3be248(0x12f)](_0x3be248(0x133),_0x3be248(0x138))),this[_0x3be248(0x131)]({'tag':_0x3be248(0x129),'attributes':{'class':['ck',_0x3be248(0x126),_0x3be248(0x13d)]},'children':[{'tag':_0x3be248(0x119),'attributes':{'class':[_0x3be248(0x121)]},'children':[{'tag':_0x3be248(0x119),'attributes':{'class':[_0x3be248(0x11a),_0x3c7595['if'](_0x3be248(0x12b),_0x3be248(0x12c),_0x21df80=>!_0x21df80)]},'children':[{'text':_0x3c7595['to'](_0x3be248(0x12e),_0x2965f3=>_0x2965f3?_0x45b47c(_0x329fcf,_0x3be248(0x125))+':\x20':_0x45b47c(_0x329fcf,_0x3be248(0x135))+':\x20')}]},{'text':_0x3c7595['to'](_0x3be248(0x13c))}]},new _0x506817(),{'tag':_0x3be248(0x129),'attributes':{'class':[_0x3be248(0x116)]},'children':[_0x172628,_0x141aab]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x222567=_0xf0a7;(function(_0x4d7e85,_0x450386){const _0xe845cc=_0xf0a7,_0x512ce9=_0x4d7e85();while(!![]){try{const _0x31df16=-parseInt(_0xe845cc(0x12a))/0x1*(-parseInt(_0xe845cc(0x122))/0x2)+-parseInt(_0xe845cc(0x11b))/0x3*(parseInt(_0xe845cc(0x12d))/0x4)+parseInt(_0xe845cc(0x127))/0x5*(parseInt(_0xe845cc(0x126))/0x6)+parseInt(_0xe845cc(0x11c))/0x7*(parseInt(_0xe845cc(0x131))/0x8)+-parseInt(_0xe845cc(0x12b))/0x9*(-parseInt(_0xe845cc(0x11f))/0xa)+parseInt(_0xe845cc(0x12f))/0xb*(-parseInt(_0xe845cc(0x11e))/0xc)+-parseInt(_0xe845cc(0x124))/0xd;if(_0x31df16===_0x450386)break;else _0x512ce9['push'](_0x512ce9['shift']());}catch(_0x561980){_0x512ce9['push'](_0x512ce9['shift']());}}}(_0x4f84,0xc8005));import{Plugin as _0x58acc2}from'ckeditor5/src/core.js';function _0x4f84(){const _0x254fa1=['4420066kHaXDV','pluginName','1116DSlawc','2723330NrlIwi','view','change','2epybNp','editing','3499678uTQWuO','hide','2749596WVofno','5uyyroy','document','ck-editor__editable__loading-overlay','455783wYKvhE','45XKjgLu','editor','4504xuuENU','addClass','162217uvxUXD','roots','16AAzcWK','RevisionViewerLoadingOverlay','removeClass','show','2874EfFcRC'];_0x4f84=function(){return _0x254fa1;};return _0x4f84();}const ce=_0x222567(0x129);function _0xf0a7(_0x550d92,_0x2b1808){const _0x4f84ce=_0x4f84();return _0xf0a7=function(_0xf0a78b,_0x108294){_0xf0a78b=_0xf0a78b-0x11b;let _0x150ca0=_0x4f84ce[_0xf0a78b];return _0x150ca0;},_0xf0a7(_0x550d92,_0x2b1808);}import'../../../theme/revisionviewerloadingoverlay.css';export default class de extends _0x58acc2{static get[_0x222567(0x11d)](){const _0x2e3ce7=_0x222567;return _0x2e3ce7(0x132);}[_0x222567(0x134)](){const _0xce006b=_0x222567,_0x1bc871=this[_0xce006b(0x12c)][_0xce006b(0x123)][_0xce006b(0x120)];_0x1bc871[_0xce006b(0x121)](_0x42226e=>{const _0x4f893c=_0xce006b;for(const _0x31b048 of _0x1bc871[_0x4f893c(0x128)][_0x4f893c(0x130)])_0x42226e[_0x4f893c(0x12e)](ce,_0x31b048);});}[_0x222567(0x125)](){const _0x546f99=_0x222567,_0xae90f8=this[_0x546f99(0x12c)][_0x546f99(0x123)][_0x546f99(0x120)];_0xae90f8[_0x546f99(0x121)](_0x54b3ba=>{const _0x26d602=_0x546f99;for(const _0x2e2e7c of _0xae90f8[_0x26d602(0x128)][_0x26d602(0x130)])_0x54b3ba[_0x26d602(0x133)](ce,_0x2e2e7c);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59e8d1=_0x5738;(function(_0x4d414e,_0x15585b){const _0x5cdc0b=_0x5738,_0x3856a6=_0x4d414e();while(!![]){try{const _0x4e6233=parseInt(_0x5cdc0b(0xb8))/0x1+-parseInt(_0x5cdc0b(0xaf))/0x2*(parseInt(_0x5cdc0b(0xcc))/0x3)+parseInt(_0x5cdc0b(0xaa))/0x4*(-parseInt(_0x5cdc0b(0xc9))/0x5)+-parseInt(_0x5cdc0b(0xa2))/0x6+-parseInt(_0x5cdc0b(0xa7))/0x7*(-parseInt(_0x5cdc0b(0xc6))/0x8)+parseInt(_0x5cdc0b(0xb7))/0x9*(parseInt(_0x5cdc0b(0xbb))/0xa)+parseInt(_0x5cdc0b(0xb1))/0xb;if(_0x4e6233===_0x15585b)break;else _0x3856a6['push'](_0x3856a6['shift']());}catch(_0x4b4bc8){_0x3856a6['push'](_0x3856a6['shift']());}}}(_0x4edc,0x213b7));import{icons as _0x45fa87,Plugin as _0x1a05c0}from'ckeditor5/src/core.js';import{ButtonView as _0x202690}from'ckeditor5/src/ui.js';import _0x2c0fcc from'./changesnavigationview.js';function _0x4edc(){const _0x13a8d6=['3702633oSoQfc','get','commands','changesNavigation','isEnabled','editor','2139246cERGAY','3471qwZZHt','isBackwardNavigationEnabled','restoreRevision','10wfKKQm','requires','show','revisionHistory','execute','componentFactory','plugins','pluginName','hide','undo','ck-revision-history-ui__back-to-editing','8bSHgCT','bind','currentChangeNumber','895gshEJY','RevisionViewerUI','set','605631mHmaJH','Restore\x20this\x20revision','Back\x20to\x20editing','isReady','closeRevisionViewerCallback','listenTo','143928PUCSIW','isForwardNavigationEnabled','showPreviousChange','change:isReady','numberOfChanges','167279UNlHcL','config','showNextChange','5356ZWhBGC','add','init','forward','isNavigationMode','2anNdUS','exitToEditing'];_0x4edc=function(){return _0x13a8d6;};return _0x4edc();}import _0x2a4eda from'./../../revisionviewer.js';function _0x5738(_0x542d5d,_0x259d94){const _0x4edc9c=_0x4edc();return _0x5738=function(_0x573819,_0x226523){_0x573819=_0x573819-0x9e;let _0x27cd0a=_0x4edc9c[_0x573819];return _0x27cd0a;},_0x5738(_0x542d5d,_0x259d94);}import _0x13aa45 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x3fba85}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x1a05c0{static get[_0x59e8d1(0xc2)](){const _0x3952c8=_0x59e8d1;return _0x3952c8(0xca);}static get[_0x59e8d1(0xbc)](){return[_0x2a4eda,_0x13aa45];}[_0x59e8d1(0xac)](){const _0x268fe4=_0x59e8d1,_0x192b0c=this[_0x268fe4(0xb6)],_0x4eec8c=_0x192b0c[_0x268fe4(0xc1)][_0x268fe4(0xb2)](_0x2a4eda),_0x368111=_0x192b0c[_0x268fe4(0xc1)][_0x268fe4(0xb2)](_0x13aa45);_0x192b0c['ui'][_0x268fe4(0xc0)][_0x268fe4(0xab)](_0x268fe4(0xb0),_0x43a6ad=>{const _0x4bb20c=_0x268fe4,_0x46227a=new _0x202690(_0x43a6ad);return _0x46227a[_0x4bb20c(0xcb)]({'label':_0x3fba85(_0x43a6ad,_0x4bb20c(0x9e)),'icon':_0x45fa87[_0x4bb20c(0xc4)],'withText':!0x0,'tooltip':!0x0,'class':_0x4bb20c(0xc5)}),this[_0x4bb20c(0xa1)](_0x46227a,_0x4bb20c(0xbf),()=>{const _0x2214e2=_0x4bb20c;_0x192b0c[_0x2214e2(0xa8)][_0x2214e2(0xb2)](_0x2214e2(0xbe))[_0x2214e2(0xa0)]();}),_0x46227a;}),_0x192b0c['ui'][_0x268fe4(0xc0)][_0x268fe4(0xab)](_0x268fe4(0xba),_0x133171=>{const _0x482580=_0x268fe4,_0xff15ab=new _0x202690(_0x133171);return _0xff15ab[_0x482580(0xcb)]({'label':_0x3fba85(_0x133171,_0x482580(0xcd)),'withText':!0x0,'tooltip':!0x0}),_0xff15ab[_0x482580(0xc7)](_0x482580(0xb5))['to'](_0x192b0c[_0x482580(0xb3)][_0x482580(0xb2)](_0x482580(0xba))),this[_0x482580(0xa1)](_0xff15ab,_0x482580(0xbf),()=>_0x192b0c[_0x482580(0xbf)](_0x482580(0xba))),_0xff15ab;}),_0x192b0c['ui'][_0x268fe4(0xc0)][_0x268fe4(0xab)](_0x268fe4(0xb4),_0x52c9cc=>{const _0x5701de=_0x268fe4,_0x3cb122=new _0x2c0fcc(_0x52c9cc),_0xae7949=_0x192b0c[_0x5701de(0xb3)][_0x5701de(0xb2)](_0x5701de(0xa4)),_0x5b16a1=_0x192b0c[_0x5701de(0xb3)][_0x5701de(0xb2)](_0x5701de(0xa9));return _0x3cb122[_0x5701de(0xc7)](_0x5701de(0xb9))['to'](_0xae7949,_0x5701de(0xb5)),_0x3cb122[_0x5701de(0xc7)](_0x5701de(0xa3))['to'](_0x5b16a1,_0x5701de(0xb5)),_0x3cb122[_0x5701de(0xc7)](_0x5701de(0x9f),_0x5701de(0xc8),_0x5701de(0xa6),_0x5701de(0xae))['to'](_0x4eec8c),this[_0x5701de(0xa1)](_0x3cb122,_0x5701de(0xbf),(_0x518f1e,_0x9a236f)=>{const _0x2b24da=_0x5701de;_0x192b0c[_0x2b24da(0xbf)](_0x2b24da(0xad)===_0x9a236f?_0x2b24da(0xa9):_0x2b24da(0xa4));}),_0x3cb122;}),_0x368111[_0x268fe4(0xbd)](),_0x4eec8c['on'](_0x268fe4(0xa5),(_0x10c835,_0x9b20b7,_0x398956)=>{const _0x282e0a=_0x268fe4;_0x398956?_0x368111[_0x282e0a(0xc3)]():_0x368111[_0x282e0a(0xbd)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x4e1053,_0x41964f,_0x453b81){const t=_0x4e1053['t'];switch(_0x41964f){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'},_0x453b81);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x453b81);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'';}}
|