@ckeditor/ckeditor5-revision-history 41.3.1 → 41.3.2
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 _0x33766e=_0x1551;(function(_0x3b37b4,_0x51a19){const _0x97e01d=_0x1551,_0x179767=_0x3b37b4();while(!![]){try{const _0x32c967=-parseInt(_0x97e01d(0xe8))/0x1*(parseInt(_0x97e01d(0xdf))/0x2)+-parseInt(_0x97e01d(0xe1))/0x3*(-parseInt(_0x97e01d(0xe7))/0x4)+parseInt(_0x97e01d(0xd7))/0x5+-parseInt(_0x97e01d(0xea))/0x6+parseInt(_0x97e01d(0xe5))/0x7*(-parseInt(_0x97e01d(0xcb))/0x8)+-parseInt(_0x97e01d(0xca))/0x9+-parseInt(_0x97e01d(0xe6))/0xa*(-parseInt(_0x97e01d(0xc5))/0xb);if(_0x32c967===_0x51a19)break;else _0x179767['push'](_0x179767['shift']());}catch(_0x32c5aa){_0x179767['push'](_0x179767['shift']());}}}(_0x1793,0x9fcea));import{LabeledFieldView as _0x33ff1a,View as _0x34a1e9,createLabeledInputText as _0x5f28e5,injectCssTransitionDisabler as _0x3447f8,submitHandler as _0x4fde30}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1ab50e,KeystrokeHandler as _0x5c7c47}from'ckeditor5/src/utils.js';function _0x1793(){const _0x284b04=['label','ck-revision-history-save-revision-form','_createRevisionNameInput','arrowdown','input','stopPropagation','focusTracker','setTemplate','508405hpXSle','ck-responsive-form','220','extendTemplate','optional','arrowright','form','add','4fgqWOC','revisionNameInputView','9ujfERN','keystrokes','arrowleft','reset','14NFSKed','15445090LBmYWJ','1135396blOpga','37987SJYXqX','Name\x20of\x20the\x20revision','6958824UNySmt','value','trim','locale','arrowup','listenTo','revisionName','22aeEpNJ','revisionNameInputValue','render','fieldView','focus','11330712zXBgov','3571720fOWPSo','element','set','errorText'];_0x1793=function(){return _0x284b04;};return _0x1793();}function _0x1551(_0x4f5b42,_0x5dfa21){const _0x179394=_0x1793();return _0x1551=function(_0x155135,_0x52e2e9){_0x155135=_0x155135-0xc4;let _0x2c2504=_0x179394[_0x155135];return _0x2c2504;},_0x1551(_0x4f5b42,_0x5dfa21);}import{getTranslation as _0x399721}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class hs extends _0x34a1e9{constructor(_0x498d1e,_0x514c9f){const _0x445a5a=_0x1551;super(_0x498d1e),this[_0x445a5a(0xd5)]=new _0x1ab50e(),this[_0x445a5a(0xe2)]=new _0x5c7c47(),this[_0x445a5a(0xcd)](_0x445a5a(0xc6),''),this[_0x445a5a(0xe0)]=this[_0x445a5a(0xd1)](_0x514c9f),this[_0x445a5a(0xd6)]({'tag':_0x445a5a(0xdd),'attributes':{'class':['ck',_0x445a5a(0xd0),_0x445a5a(0xd8)],'tabindex':'-1'},'children':[this[_0x445a5a(0xe0)]]}),_0x3447f8(this);}[_0x33766e(0xc7)](){const _0x69cfcd=_0x33766e;super[_0x69cfcd(0xc7)](),_0x4fde30({'view':this}),this[_0x69cfcd(0xd5)][_0x69cfcd(0xde)](this[_0x69cfcd(0xe0)][_0x69cfcd(0xcc)]),this[_0x69cfcd(0xe2)][_0x69cfcd(0xef)](this[_0x69cfcd(0xcc)]);const _0x46c8f7=_0x4f5c57=>_0x4f5c57[_0x69cfcd(0xd4)]();this[_0x69cfcd(0xe2)][_0x69cfcd(0xcd)](_0x69cfcd(0xdc),_0x46c8f7),this[_0x69cfcd(0xe2)][_0x69cfcd(0xcd)](_0x69cfcd(0xe3),_0x46c8f7),this[_0x69cfcd(0xe2)][_0x69cfcd(0xcd)](_0x69cfcd(0xee),_0x46c8f7),this[_0x69cfcd(0xe2)][_0x69cfcd(0xcd)](_0x69cfcd(0xd2),_0x46c8f7);}[_0x33766e(0xc9)](){const _0x52eb57=_0x33766e;this[_0x52eb57(0xe0)][_0x52eb57(0xc9)]();}get[_0x33766e(0xc4)](){const _0xf92af2=_0x33766e;return this[_0xf92af2(0xe0)][_0xf92af2(0xc8)][_0xf92af2(0xcc)][_0xf92af2(0xeb)][_0xf92af2(0xec)]();}set[_0x33766e(0xc4)](_0x1bf5d4){const _0x48e1fe=_0x33766e;this[_0x48e1fe(0xe0)][_0x48e1fe(0xc8)][_0x48e1fe(0xcc)][_0x48e1fe(0xeb)]=_0x1bf5d4[_0x48e1fe(0xec)]();}[_0x33766e(0xe4)](){const _0x5cc094=_0x33766e;this[_0x5cc094(0xe0)][_0x5cc094(0xc8)][_0x5cc094(0xcc)][_0x5cc094(0xeb)]='',this[_0x5cc094(0xe0)][_0x5cc094(0xce)]=null;}[_0x33766e(0xd1)](_0x139751){const _0x50ce70=_0x33766e,_0x3cecca=new _0x33ff1a(this[_0x50ce70(0xed)],_0x5f28e5),_0x21a5f0=_0x3cecca[_0x50ce70(0xc8)];_0x21a5f0[_0x50ce70(0xda)]({'attributes':{'maxlength':_0x50ce70(0xd9)}});let _0x357c26=_0x399721(this[_0x50ce70(0xed)],_0x50ce70(0xe9));return!_0x139751&&(_0x357c26+='\x20('+_0x399721(this[_0x50ce70(0xed)],_0x50ce70(0xdb))+')'),(_0x3cecca[_0x50ce70(0xcf)]=_0x357c26,_0x21a5f0['on'](_0x50ce70(0xd3),()=>{const _0x4871ba=_0x50ce70;this[_0x4871ba(0xc6)]=_0x21a5f0[_0x4871ba(0xcc)][_0x4871ba(0xeb)][_0x4871ba(0xec)]();}),_0x3cecca);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x34f98f,icons as _0x56d0d0}from'ckeditor5/src/core.js';import{createDropdown as _0x2ed399,ButtonView as te,ListItemView as _0x3db345,ListView as _0x2d9060,MenuBarMenuListItemButtonView as _0x1fc093,MenuBarMenuListItemView as _0x496220,MenuBarMenuListView as _0x15983e,MenuBarMenuView as _0x2d156d}from'ckeditor5/src/ui.js';import _0x32d38f from'../../revisiontracker.js';import _0x522051 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0xfc54a6}from'../../utils/common-translations.js';export default class u extends _0x34f98f{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[_0x32d38f];}['init'](){const _0xcdeb30=this['editor'],_0x5dee83=_0xcdeb30['plugins']['get']('RevisionTracker');_0xcdeb30['ui']['componentFactory']['add']('revisionHistory',_0x26ff9c=>{const _0xf20a84=_0x2ed399(_0x26ff9c),_0x5c7343=_0xf20a84['panelView']['children'],_0xc6b162=new _0x2d9060(_0x26ff9c),_0x4cf18b=new _0x3db345(_0x26ff9c),_0x45a1b6=new te(_0x26ff9c),_0x1ca56b=new _0x3db345(_0x26ff9c),_0x2e9084=new te(_0x26ff9c);return _0xf20a84['bind']('isEnabled')['to'](_0x5dee83,'isReady',_0x5dee83,'isEnabled',_0xcdeb30,'isReadOnly',(_0x25499f,_0x3bbaa,_0x1e0311)=>_0x25499f&&_0x3bbaa&&!_0x1e0311),_0xf20a84['buttonView']['set']({'icon':_0x56d0d0['history'],'label':_0xfc54a6(_0x26ff9c,'Revision\x20history'),'tooltip':!0x0}),_0x45a1b6['set']({'label':_0xfc54a6(_0x26ff9c,'Save\x20current\x20revision'),'withText':!0x0}),_0x45a1b6['bind']('isEnabled')['to'](_0x5dee83,'isReady',_0x5dee83,'isEnabled',_0xcdeb30,'isReadOnly',(_0x10eb4e,_0x57bdc9,_0x23d2e4)=>_0x10eb4e&&_0x57bdc9&&!_0x23d2e4),_0x45a1b6['on']('execute',()=>this['_showDialog']()),_0x2e9084['set']({'label':_0xfc54a6(_0x26ff9c,'Open\x20revision\x20history'),'withText':!0x0}),_0x2e9084['bind']('isEnabled')['to'](_0x5dee83,'isReady',_0xcdeb30,'isReadOnly',(_0x3b2176,_0x2b587c)=>_0x3b2176&&!_0x2b587c),_0x2e9084['on']('execute',()=>{_0xcdeb30['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0xf20a84['isOpen']=!0x1,_0xcdeb30['editing']['view']['focus']();}),_0x4cf18b['children']['add'](_0x45a1b6),_0x1ca56b['children']['add'](_0x2e9084),_0xc6b162['items']['addMany']([_0x4cf18b,_0x1ca56b]),_0x5c7343['add'](_0xc6b162),_0xf20a84;}),_0xcdeb30['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x2f1e50=this['editor'],_0x493d00=_0x2f1e50['locale'],_0x100924=new _0x2d156d(_0x493d00),_0xf83f81=new _0x15983e(_0x493d00);_0x100924['buttonView']['set']({'icon':_0x56d0d0['history'],'label':_0xfc54a6(_0x493d00,'Revision\x20history')});const _0x4c03d1=new _0x496220(_0x493d00,_0x100924),_0x7baed0=new _0x1fc093(_0x493d00);_0x7baed0['set']({'label':_0xfc54a6(_0x493d00,'Save\x20current\x20revision')}),_0x7baed0['delegate']('execute')['to'](_0x100924),_0x7baed0['on']('execute',()=>{this['_showDialog']();}),_0x4c03d1['children']['add'](_0x7baed0),_0xf83f81['items']['add'](_0x4c03d1);const _0x57a4a3=new _0x496220(_0x493d00,_0x100924),_0x2bda30=new _0x1fc093(_0x493d00);return _0x2bda30['set']({'label':_0xfc54a6(_0x493d00,'Open\x20revision\x20history')}),_0x2bda30['delegate']('execute')['to'](_0x100924),_0x2bda30['on']('execute',()=>{_0x2f1e50['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x57a4a3['children']['add'](_0x2bda30),_0xf83f81['items']['add'](_0x57a4a3),_0x100924['panelView']['children']['add'](_0xf83f81),_0x100924;}['_showDialog'](){const _0x458fc7=this['editor'],_0x116b04=_0x458fc7['locale'],t=_0x116b04['t'],_0x3fd1df=_0x458fc7['plugins']['get']('Dialog'),_0x109a3b=_0x458fc7['plugins']['get']('RevisionTracker');function _0x28cce1(_0x382daa){_0x458fc7['config']['get']('revisionHistory.requireRevisionName')&&''===_0x382daa['revisionName']?_0x382daa['revisionNameInputView']['errorText']=_0xfc54a6(_0x116b04,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x458fc7['plugins']['get'](_0x32d38f)['saveRevision']({'name':_0x382daa['revisionName']}),_0x3fd1df['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x28cce1(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x3fd1df['show']({'id':'findAndReplace','title':_0xfc54a6(_0x116b04,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x3fd1df['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x273bf7){_0x273bf7['bind']('isEnabled')['to'](_0x109a3b,'isReady',_0x109a3b,'isEnabled',_0x458fc7,'isReadOnly',(_0x40294d,_0xb6123,_0x22eff5)=>_0x40294d&&_0xb6123&&!_0x22eff5);},'onExecute':()=>_0x28cce1(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x283179=this['editor'],_0x297211=_0x283179['locale'];this['_saveRevisionFormView']=new _0x522051(_0x297211,_0x283179['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5447e7=_0x49be;(function(_0x1f6d48,_0x3a78f4){const _0x563378=_0x49be,_0x2c9444=_0x1f6d48();while(!![]){try{const _0x364476=parseInt(_0x563378(0x20f))/0x1*(parseInt(_0x563378(0x215))/0x2)+-parseInt(_0x563378(0x20a))/0x3*(parseInt(_0x563378(0x232))/0x4)+parseInt(_0x563378(0x21b))/0x5+parseInt(_0x563378(0x231))/0x6*(-parseInt(_0x563378(0x1eb))/0x7)+-parseInt(_0x563378(0x225))/0x8*(-parseInt(_0x563378(0x20d))/0x9)+parseInt(_0x563378(0x1ea))/0xa*(-parseInt(_0x563378(0x1ed))/0xb)+parseInt(_0x563378(0x21e))/0xc;if(_0x364476===_0x3a78f4)break;else _0x2c9444['push'](_0x2c9444['shift']());}catch(_0x5c4a17){_0x2c9444['push'](_0x2c9444['shift']());}}}(_0x60d5,0x87440));import{Plugin as _0x33106a}from'ckeditor5/src/core.js';function _0x49be(_0x30e4b6,_0x3c9797){const _0x60d5f7=_0x60d5();return _0x49be=function(_0x49beb5,_0x1fc440){_0x49beb5=_0x49beb5-0x1e9;let _0x43be48=_0x60d5f7[_0x49beb5];return _0x43be48;},_0x49be(_0x30e4b6,_0x3c9797);}function _0x60d5(){const _0x121404=['revisionSetName','_handleRevisionSetName','3992385ctfpPz','getRevisionsInDiff','destroy','11099388kcbCQT','bind','_handleDiffChange','_revisionsRepository','fieldView','repository','assign','200inRmwt','revisionHistory.revisionActions','diff','appendChild','ready','getLaterVisibleRevision','render','getRevision','isReady','newRevisionId','string','plugins','146226yUCivg','8lcOQWK','_sidebarView','nameRevision','getIndex','change:diff','_createRevisionActions','requires','get','revisionHistory.requireRevisionName','_revisionViewer','revisionViews','620GTXiDa','91sDNVZw','Compare\x20against\x20selected','186417YdCMYg','getEarlierVisibleRevision','select','focus','RevisionsSidebar','defaultRevisionActions','Name\x20this\x20revision','isSelected','restoreRevision','editor','length','add','revisionHistory.viewerSidebarContainer','locale','isEnabled','init','revisionSelected','compareAgainstSelected','setName','selectRevision','compare','element','_revisions','map','highlightRevisions','listenTo','action','Restore\x20this\x20revision','config','1080831ntGpKk','revisionHistory','pluginName','307512hvUEse','isVisible','64513iwhMkP','timePeriodViews','_handleEditorDataReady','availableRevisionActions','restoreRevisionCallback','name','2iLQAPL','_handleRevisionSelected','data','remove'];_0x60d5=function(){return _0x121404;};return _0x60d5();}import _0x25e0cc from'./revisionssidebarview.js';import _0x21cec3 from'../../revisionviewer.js';export default class w extends _0x33106a{static get[_0x5447e7(0x20c)](){const _0x4ef288=_0x5447e7;return _0x4ef288(0x1f1);}static get[_0x5447e7(0x238)](){return[_0x21cec3];}constructor(_0x287be1){const _0x163af5=_0x5447e7;super(_0x287be1),this[_0x163af5(0x23b)]=_0x287be1[_0x163af5(0x230)][_0x163af5(0x239)](_0x21cec3),this[_0x163af5(0x221)]=this[_0x163af5(0x23b)][_0x163af5(0x223)],this[_0x163af5(0x233)]=null;}[_0x5447e7(0x1fc)](){const _0x3acf66=_0x5447e7,_0x2740ec=this[_0x3acf66(0x221)][_0x3acf66(0x203)],_0x4e76cf=this[_0x3acf66(0x237)](),_0x4c9c54=this[_0x3acf66(0x1f6)][_0x3acf66(0x209)][_0x3acf66(0x239)](_0x3acf66(0x1f9));this[_0x3acf66(0x233)]=new _0x25e0cc(this[_0x3acf66(0x1f6)][_0x3acf66(0x1fa)],_0x2740ec,_0x4e76cf,this[_0x3acf66(0x1f6)][_0x3acf66(0x209)][_0x3acf66(0x239)](_0x3acf66(0x23a))),this[_0x3acf66(0x233)]['on'](_0x3acf66(0x1fd),this[_0x3acf66(0x216)][_0x3acf66(0x21f)](this)),this[_0x3acf66(0x233)]['on'](_0x3acf66(0x219),this[_0x3acf66(0x21a)][_0x3acf66(0x21f)](this)),this[_0x3acf66(0x233)][_0x3acf66(0x21f)](_0x3acf66(0x1fb))['to'](this[_0x3acf66(0x23b)]),this[_0x3acf66(0x233)][_0x3acf66(0x210)]['on'](_0x3acf66(0x1f8),(_0x49b01a,_0x115b0a)=>{const _0xde4e21=_0x3acf66;_0x115b0a[_0xde4e21(0x1e9)]['on'](_0xde4e21(0x1f8),(_0x4e898d,_0x34a8e9)=>{const _0x444277=_0xde4e21;_0x34a8e9[_0x444277(0x21f)](_0x444277(0x1fb),_0x444277(0x22d))['to'](this[_0x444277(0x23b)]);});}),this[_0x3acf66(0x233)][_0x3acf66(0x22b)](),this[_0x3acf66(0x206)](this[_0x3acf66(0x1f6)][_0x3acf66(0x217)],_0x3acf66(0x229),this[_0x3acf66(0x211)][_0x3acf66(0x21f)](this)),this[_0x3acf66(0x206)](this[_0x3acf66(0x23b)],_0x3acf66(0x236),this[_0x3acf66(0x220)][_0x3acf66(0x21f)](this)),_0x4c9c54[_0x3acf66(0x228)](this[_0x3acf66(0x233)][_0x3acf66(0x202)]);}[_0x5447e7(0x21d)](){const _0xdddca9=_0x5447e7;this[_0xdddca9(0x233)][_0xdddca9(0x202)][_0xdddca9(0x218)](),this[_0xdddca9(0x233)][_0xdddca9(0x21d)]();}[_0x5447e7(0x211)](){const _0xbabb6c=_0x5447e7,_0x383b82=this[_0xbabb6c(0x221)][_0xbabb6c(0x22c)](0x0);if(_0x383b82){const _0x2ccfca=this[_0xbabb6c(0x221)][_0xbabb6c(0x1ee)](_0x383b82['id']);this[_0xbabb6c(0x23b)][_0xbabb6c(0x201)](_0x383b82,_0x2ccfca);}}[_0x5447e7(0x216)](_0xcad74c,_0x397384){const _0xe2fac7=_0x5447e7,_0x18903f=this[_0xe2fac7(0x221)][_0xe2fac7(0x22c)](_0x397384['id']),_0x4488fc=this[_0xe2fac7(0x221)][_0xe2fac7(0x1ee)](_0x18903f['id']);this[_0xe2fac7(0x23b)][_0xe2fac7(0x201)](_0x18903f,_0x4488fc);}[_0x5447e7(0x21a)](_0x48b9d7,_0x5506f4){const _0xed8050=_0x5447e7;this[_0xed8050(0x221)][_0xed8050(0x22c)](_0x5506f4['id'])[_0xed8050(0x1ff)](_0x5506f4[_0xed8050(0x214)]);}[_0x5447e7(0x220)](_0x1b19bd,_0x14a838,_0x1d1d3c){const _0x1cf075=_0x5447e7,_0x2179ec=this[_0x1cf075(0x221)][_0x1cf075(0x21c)](_0x1d1d3c);_0x2179ec[_0x1cf075(0x1f7)]>0x2?(this[_0x1cf075(0x233)][_0x1cf075(0x205)](_0x2179ec),this[_0x1cf075(0x233)][_0x1cf075(0x200)](null)):(this[_0x1cf075(0x233)][_0x1cf075(0x205)]([]),this[_0x1cf075(0x233)][_0x1cf075(0x200)](_0x2179ec[0x0]));}[_0x5447e7(0x237)](){const _0x49fc9a=_0x5447e7,_0x3babfd=this[_0x49fc9a(0x1f6)],_0x47b836=w[_0x49fc9a(0x212)],_0x5ae199=_0x3babfd[_0x49fc9a(0x209)][_0x49fc9a(0x239)](_0x49fc9a(0x226))||w[_0x49fc9a(0x1f2)];if(_0x5ae199[_0x49fc9a(0x1f7)])return _0x5ae199[_0x49fc9a(0x204)](_0x4a86ef=>{const _0xceb5ac=_0x49fc9a,_0x312525=_0xceb5ac(0x22f)==typeof _0x4a86ef?Object[_0xceb5ac(0x224)]({},_0x47b836[_0x4a86ef]):_0x4a86ef;return _0x312525[_0xceb5ac(0x207)]=_0x312525[_0xceb5ac(0x207)][_0xceb5ac(0x21f)](this,_0x3babfd),_0x312525[_0xceb5ac(0x20e)]&&(_0x312525[_0xceb5ac(0x20e)]=_0x312525[_0xceb5ac(0x20e)][_0xceb5ac(0x21f)](this,_0x3babfd)),_0x312525;});}}w[_0x5447e7(0x212)]={'compareAgainstSelected':{'name':_0x5447e7(0x1ec),'action':({plugins:_0x513f7e},_0x5f593f)=>{const _0x3ffdfd=_0x5447e7,_0x3254b5=_0x513f7e[_0x3ffdfd(0x239)](_0x21cec3),_0x1d6b4f=_0x3254b5[_0x3ffdfd(0x223)];let _0x526f22=_0x3254b5[_0x3ffdfd(0x227)][_0x3ffdfd(0x22e)],_0x147220=_0x5f593f['id'];_0x1d6b4f[_0x3ffdfd(0x235)](_0x526f22)>_0x1d6b4f[_0x3ffdfd(0x235)](_0x147220)&&([_0x526f22,_0x147220]=[_0x147220,_0x526f22]),_0x3254b5[_0x3ffdfd(0x201)](_0x526f22,_0x147220);},'isVisible':({plugins:_0x1cef2b},_0x5eeea5)=>{const _0x460ad8=_0x5447e7,_0x918040=_0x1cef2b[_0x460ad8(0x239)](_0x21cec3);return!(_0x918040[_0x460ad8(0x223)][_0x460ad8(0x21c)](_0x918040[_0x460ad8(0x227)])[_0x460ad8(0x1f7)]>0x2)&&!_0x5eeea5[_0x460ad8(0x1f4)];}},'restoreRevision':{'name':_0x5447e7(0x208),'action':(_0x2b261c,{id:_0x1803af})=>{const _0x9e4937=_0x5447e7;_0x2b261c[_0x9e4937(0x209)][_0x9e4937(0x239)](_0x9e4937(0x20b))[_0x9e4937(0x213)](_0x1803af);},'isVisible':({plugins:_0x24194c},_0xc2be85)=>!!_0x24194c[_0x5447e7(0x239)](_0x21cec3)[_0x5447e7(0x223)][_0x5447e7(0x22a)](_0xc2be85['id'])},'nameRevision':{'name':_0x5447e7(0x1f3),'action':({plugins:_0x469f92},{id:_0x3f34ed,revisionNameView:_0x38578a})=>{const _0x5853df=_0x5447e7,_0x172e04=_0x469f92[_0x5853df(0x239)](_0x21cec3),_0x252968=_0x172e04[_0x5853df(0x223)][_0x5853df(0x1ee)](_0x3f34ed);_0x172e04[_0x5853df(0x201)](_0x3f34ed,_0x252968),_0x38578a[_0x5853df(0x1f0)](),_0x38578a[_0x5853df(0x222)][_0x5853df(0x1ef)]();}}},w[_0x5447e7(0x1f2)]=[_0x5447e7(0x1fe),_0x5447e7(0x1f5),_0x5447e7(0x234)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4456(){const _0x4030f7=['setTemplate','1695723ELFEnK','2466704uzsWke','history','ck-revision-history-sidebar__header','Revision\x20history','1847440eQbvct','114196nIjnom','153497thuqRA','ck-revision-history-sidebar__header__label','content','1092510WABdWV','ck-reset_all','span','166824UJaJwr','div'];_0x4456=function(){return _0x4030f7;};return _0x4456();}(function(_0xe3268d,_0x150e3d){const _0x1566fa=_0x22d8,_0x209d92=_0xe3268d();while(!![]){try{const _0x4432fa=-parseInt(_0x1566fa(0xfd))/0x1+parseInt(_0x1566fa(0x10c))/0x2+parseInt(_0x1566fa(0x106))/0x3+-parseInt(_0x1566fa(0x107))/0x4+parseInt(_0x1566fa(0x100))/0x5+parseInt(_0x1566fa(0x103))/0x6+parseInt(_0x1566fa(0x10b))/0x7;if(_0x4432fa===_0x150e3d)break;else _0x209d92['push'](_0x209d92['shift']());}catch(_0x54d760){_0x209d92['push'](_0x209d92['shift']());}}}(_0x4456,0x58798));import{View as _0x5cac37,IconView as _0x1105c7}from'ckeditor5/src/ui.js';import{getTranslation as _0x594947}from'../../utils/common-translations.js';import{icons as _0x5206b9}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';function _0x22d8(_0x4d92ce,_0x2523d8){const _0x445640=_0x4456();return _0x22d8=function(_0x22d86f,_0x43417d){_0x22d86f=_0x22d86f-0xfd;let _0x18396d=_0x445640[_0x22d86f];return _0x18396d;},_0x22d8(_0x4d92ce,_0x2523d8);}export default class as extends _0x5cac37{constructor(_0xc83231){const _0x3135f0=_0x22d8;super(_0xc83231);const _0x7928e5=new _0x1105c7();_0x7928e5[_0x3135f0(0xff)]=_0x5206b9[_0x3135f0(0x108)],this[_0x3135f0(0x105)]({'tag':_0x3135f0(0x104),'attributes':{'class':['ck',_0x3135f0(0x101),_0x3135f0(0x109)]},'children':[_0x7928e5,{'tag':_0x3135f0(0x102),'attributes':{'class':['ck',_0x3135f0(0xfe)]},'children':[_0x594947(_0xc83231,_0x3135f0(0x10a))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13aaa5=_0x31b1;(function(_0x394ae2,_0x160f3b){const _0x9fce03=_0x31b1,_0x1b9753=_0x394ae2();while(!![]){try{const _0x4b21cd=parseInt(_0x9fce03(0xa9))/0x1*(parseInt(_0x9fce03(0xa6))/0x2)+parseInt(_0x9fce03(0xaa))/0x3+-parseInt(_0x9fce03(0x9a))/0x4+-parseInt(_0x9fce03(0xab))/0x5*(parseInt(_0x9fce03(0x9f))/0x6)+-parseInt(_0x9fce03(0xa8))/0x7+-parseInt(_0x9fce03(0x9e))/0x8+parseInt(_0x9fce03(0xb4))/0x9*(parseInt(_0x9fce03(0xb0))/0xa);if(_0x4b21cd===_0x160f3b)break;else _0x1b9753['push'](_0x1b9753['shift']());}catch(_0x572b42){_0x1b9753['push'](_0x1b9753['shift']());}}}(_0x5cb6,0xca827));import{View as _0x1d7bcd}from'ckeditor5/src/ui.js';import _0x955492 from'../revision/revisionview.js';function _0x31b1(_0x36e850,_0x116d70){const _0x5cb674=_0x5cb6();return _0x31b1=function(_0x31b1ca,_0x4393e4){_0x31b1ca=_0x31b1ca-0x98;let _0x12a5a7=_0x5cb674[_0x31b1ca];return _0x12a5a7;},_0x31b1(_0x36e850,_0x116d70);}import{getDateTimePeriodInfo as _0x4121f9}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class ai extends _0x1d7bcd{constructor(_0x4b6731,_0x1fa59d,_0xc9fa25,_0x3ab7ab){const _0x1ca7de=_0x31b1;super(_0x4b6731);const _0x5a3244=_0x4121f9(_0x1fa59d,this[_0x1ca7de(0xb7)][_0x1ca7de(0xa0)])[_0x1ca7de(0x98)];this[_0x1ca7de(0xaf)]=_0x1fa59d,this[_0x1ca7de(0xa7)]=this[_0x1ca7de(0xa1)](),this[_0x1ca7de(0xb1)]=_0xc9fa25,this[_0x1ca7de(0xa5)]=_0x3ab7ab,this[_0x1ca7de(0xa7)][_0x1ca7de(0xa2)](_0x1ca7de(0xae))['to'](this),this[_0x1ca7de(0xa7)][_0x1ca7de(0xa2)](_0x1ca7de(0xad))['to'](this),this[_0x1ca7de(0x99)]({'tag':_0x1ca7de(0xac),'attributes':{'class':['ck',_0x1ca7de(0xb5)]},'children':[{'tag':_0x1ca7de(0x9d),'attributes':{'class':['ck',_0x1ca7de(0xa4)]},'children':[{'text':_0x5a3244}]},{'tag':_0x1ca7de(0xac),'attributes':{'class':['ck',_0x1ca7de(0xb3)]},'children':this[_0x1ca7de(0xa7)]}]});}[_0x13aaa5(0x9b)](_0x3dfd4e){const _0x2bcc46=_0x13aaa5,_0x2c6173=new _0x955492(this[_0x2bcc46(0xb7)],_0x3dfd4e,this[_0x2bcc46(0xb1)],this[_0x2bcc46(0xa5)]);this[_0x2bcc46(0xa7)][_0x2bcc46(0xb6)](_0x2c6173);}[_0x13aaa5(0xa3)](_0x48237d){const _0x13a729=_0x13aaa5,_0x394651=this[_0x13a729(0xa7)][_0x13a729(0xb2)](_0x2e0641=>_0x2e0641['id']===_0x48237d['id']);this[_0x13a729(0xa7)][_0x13a729(0x9c)](_0x394651);}}function _0x5cb6(){const _0x5848b5=['_requireRevisionName','434550gAYQoG','revisionViews','2617013xMGZDl','6QRJmfO','1072332dEUMts','10EeWQKS','div','setName','select','startDate','890cKaLEd','_revisionActions','find','ck-revision-history-sidebar__time-period__revisions','170946aXkVXC','ck-revision-history-sidebar__time-period','add','locale','localizedPeriodName','setTemplate','292700QPNqqp','addRevision','remove','span','4599240GnqgLR','4500426efuyyJ','uiLanguage','createCollection','delegate','removeRevision','ck-revision-history-sidebar__time-period__label'];_0x5cb6=function(){return _0x5848b5;};return _0x5cb6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2eba32=_0x4ca2;function _0x1a6d(){const _0x1e523c=['8604512BMBiqw','map','_addRevision','addRevision','ck-reset','isEnabled','unhighlight','_requireRevisionName','add','bindTemplate','setTemplate','div','18212lFdNPX','uiLanguage','ck-rounded-corners','createdAt','ck-revision-history-sidebar__timeline','fire','setName','select','get','timePeriodViews','render','set','revisionViews','createCollection','14886EWQZNI','915QKBTFl','locale','_removeRevision','some','1865qmUKgL','_revisions','ck-revision-history-sidebar','delegate','revisionSelected','revisionSetName','find','flat','getTime','25692XwqZba','startDate','1880LqSOis','selectRevision','ck-disabled','17390260APdgAn','_revisionActions','24767622eeHKdl','292ZVBCGh','highlight','_getTimePeriodViewByStartDate','highlightRevisions','6334QzCCDD','deselect','removeRevision','remove'];_0x1a6d=function(){return _0x1e523c;};return _0x1a6d();}(function(_0x26253d,_0x5dbfb8){const _0x3826de=_0x4ca2,_0x59a159=_0x26253d();while(!![]){try{const _0x29cb23=-parseInt(_0x3826de(0x1ea))/0x1*(parseInt(_0x3826de(0x1e6))/0x2)+parseInt(_0x3826de(0x1d1))/0x3*(parseInt(_0x3826de(0x1c2))/0x4)+-parseInt(_0x3826de(0x1d5))/0x5*(parseInt(_0x3826de(0x1de))/0x6)+parseInt(_0x3826de(0x1ee))/0x7+-parseInt(_0x3826de(0x1e0))/0x8*(-parseInt(_0x3826de(0x1d0))/0x9)+-parseInt(_0x3826de(0x1e3))/0xa+parseInt(_0x3826de(0x1e5))/0xb;if(_0x29cb23===_0x5dbfb8)break;else _0x59a159['push'](_0x59a159['shift']());}catch(_0x59e7b8){_0x59a159['push'](_0x59a159['shift']());}}}(_0x1a6d,0xf374d));import{View as _0x463390}from'ckeditor5/src/ui.js';function _0x4ca2(_0x33fc0e,_0x4e46d7){const _0x1a6d0b=_0x1a6d();return _0x4ca2=function(_0x4ca2cb,_0x34000f){_0x4ca2cb=_0x4ca2cb-0x1c2;let _0x3afd0e=_0x1a6d0b[_0x4ca2cb];return _0x3afd0e;},_0x4ca2(_0x33fc0e,_0x4e46d7);}import _0x3188f3 from'./revisionssidebartimeperiodview.js';import _0x40b9c7 from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x25c954}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ni extends _0x463390{constructor(_0x34755c,_0x1e9f69,_0xe93674,_0x218169){const _0x1c04df=_0x4ca2;super(_0x34755c);const _0x468ed7=this[_0x1c04df(0x1f7)];this[_0x1c04df(0x1cb)]=this[_0x1c04df(0x1cf)](),this[_0x1c04df(0x1cb)][_0x1c04df(0x1d8)](_0x1c04df(0x1c9))['to'](this),this[_0x1c04df(0x1cb)][_0x1c04df(0x1d8)](_0x1c04df(0x1c8))['to'](this),this[_0x1c04df(0x1d6)]=_0x1e9f69,this[_0x1c04df(0x1e4)]=_0xe93674,this[_0x1c04df(0x1f5)]=_0x218169,this['on'](_0x1c04df(0x1c9),(_0x5110b5,_0x4b31dc)=>{const _0xd87ff9=_0x1c04df;this[_0xd87ff9(0x1c7)](_0xd87ff9(0x1d9),_0x4b31dc);}),this['on'](_0x1c04df(0x1c8),(_0x100bdc,_0x521aed)=>{const _0x5113c2=_0x1c04df;this[_0x5113c2(0x1c7)](_0x5113c2(0x1da),_0x521aed);}),this[_0x1c04df(0x1cd)](_0x1c04df(0x1f3),!0x1),this[_0x1c04df(0x1f8)]({'tag':_0x1c04df(0x1f9),'attributes':{'class':['ck',_0x1c04df(0x1f2),_0x1c04df(0x1c4),_0x1c04df(0x1d7)]},'children':[new _0x40b9c7(_0x34755c),{'tag':_0x1c04df(0x1f9),'attributes':{'class':['ck',_0x1c04df(0x1c6),_0x468ed7['if'](_0x1c04df(0x1f3),_0x1c04df(0x1e2),_0x5aca38=>!_0x5aca38)]},'children':this[_0x1c04df(0x1cb)]}]});}[_0x2eba32(0x1cc)](){const _0x58aa99=_0x2eba32;super[_0x58aa99(0x1cc)]();for(const _0x139a1a of this[_0x58aa99(0x1d6)])this[_0x58aa99(0x1f0)](_0x139a1a);this[_0x58aa99(0x1d6)]['on'](_0x58aa99(0x1f6),(_0x2bc778,_0x4f951b)=>{const _0x27900d=_0x58aa99;this[_0x27900d(0x1f0)](_0x4f951b);}),this[_0x58aa99(0x1d6)]['on'](_0x58aa99(0x1ed),(_0xfdc830,_0x2ff0a6)=>{const _0x41b4f6=_0x58aa99;this[_0x41b4f6(0x1d3)](_0x2ff0a6);});}get[_0x2eba32(0x1ce)](){const _0x5e264d=_0x2eba32;return this[_0x5e264d(0x1cb)][_0x5e264d(0x1ef)](_0x5e3493=>_0x5e3493[_0x5e264d(0x1ce)][_0x5e264d(0x1ef)](_0x404926=>_0x404926))[_0x5e264d(0x1dc)]();}[_0x2eba32(0x1e1)](_0x18b1ba){const _0x5cf655=_0x2eba32;for(const _0x2eefc8 of this[_0x5cf655(0x1ce)])_0x18b1ba&&_0x18b1ba['id']===_0x2eefc8['id']?_0x2eefc8[_0x5cf655(0x1c9)]():_0x2eefc8[_0x5cf655(0x1eb)]();}[_0x2eba32(0x1e9)](_0xbec155){const _0x3bdc0d=_0x2eba32;for(const _0x31a5f8 of this[_0x3bdc0d(0x1ce)])_0xbec155[_0x3bdc0d(0x1d4)](({id:_0x4c8238})=>_0x4c8238===_0x31a5f8['id'])?_0x31a5f8[_0x3bdc0d(0x1e7)]():_0x31a5f8[_0x3bdc0d(0x1f4)]();}[_0x2eba32(0x1f0)](_0x30bef6){const _0x2cb5e5=_0x2eba32,_0x507870=_0x25c954(_0x30bef6[_0x2cb5e5(0x1c5)],this[_0x2cb5e5(0x1d2)][_0x2cb5e5(0x1c3)])[_0x2cb5e5(0x1df)];let _0x22a809=this[_0x2cb5e5(0x1cb)][_0x2cb5e5(0x1ca)](0x0);_0x22a809&&_0x22a809[_0x2cb5e5(0x1df)][_0x2cb5e5(0x1dd)]()===_0x507870[_0x2cb5e5(0x1dd)]()||(_0x22a809=new _0x3188f3(this[_0x2cb5e5(0x1d2)],_0x507870,this[_0x2cb5e5(0x1e4)],this[_0x2cb5e5(0x1f5)]),this[_0x2cb5e5(0x1cb)][_0x2cb5e5(0x1f6)](_0x22a809)),_0x22a809[_0x2cb5e5(0x1f1)](_0x30bef6);}[_0x2eba32(0x1d3)](_0x5eef8a){const _0x434cfa=_0x2eba32,_0x57c166=_0x25c954(_0x5eef8a[_0x434cfa(0x1c5)],this[_0x434cfa(0x1d2)][_0x434cfa(0x1c3)])[_0x434cfa(0x1df)];this[_0x434cfa(0x1e8)](_0x57c166)[_0x434cfa(0x1ec)](_0x5eef8a);}[_0x2eba32(0x1e8)](_0xd12da1){const _0x31af92=_0x2eba32;return this[_0x31af92(0x1cb)][_0x31af92(0x1db)](_0x1f2a79=>_0x1f2a79[_0x31af92(0x1df)][_0x31af92(0x1dd)]()===_0xd12da1[_0x31af92(0x1dd)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x136a5a,_0x221f97){const _0x535646=_0x1ac7,_0x503b27=_0x136a5a();while(!![]){try{const _0x621acb=-parseInt(_0x535646(0x146))/0x1+parseInt(_0x535646(0x142))/0x2+parseInt(_0x535646(0x144))/0x3+-parseInt(_0x535646(0x14a))/0x4*(-parseInt(_0x535646(0x147))/0x5)+parseInt(_0x535646(0x140))/0x6*(parseInt(_0x535646(0x13d))/0x7)+parseInt(_0x535646(0x136))/0x8+parseInt(_0x535646(0x13c))/0x9*(-parseInt(_0x535646(0x139))/0xa);if(_0x621acb===_0x221f97)break;else _0x503b27['push'](_0x503b27['shift']());}catch(_0x37d814){_0x503b27['push'](_0x503b27['shift']());}}}(_0x1976,0xb8cb5));function _0x1ac7(_0x49b61e,_0x3714ab){const _0x1976e3=_0x1976();return _0x1ac7=function(_0x1ac7ea,_0x9ea4c3){_0x1ac7ea=_0x1ac7ea-0x133;let _0x14fb22=_0x1976e3[_0x1ac7ea];return _0x14fb22;},_0x1ac7(_0x49b61e,_0x3714ab);}import{DateTime as _0x3623dc}from'luxon';export function getDateTimePeriodInfo(_0x432b37,_0x420f3c){const _0x49936b=_0x1ac7,_0x4e5bab=_0x3623dc[_0x49936b(0x141)](_0x432b37)[_0x49936b(0x149)](_0x420f3c),_0xb30607=_0x3623dc[_0x49936b(0x143)](),_0x15d9a7=_0xb30607[_0x49936b(0x13b)]({'days':0x1})[_0x49936b(0x135)](_0x49936b(0x13e));let _0x4456a6,_0x234d48;return _0x4e5bab[_0x49936b(0x13a)](_0xb30607,_0x49936b(0x13e))?(_0x4456a6=_0x4e5bab[_0x49936b(0x135)](_0x49936b(0x13e))[_0x49936b(0x13f)](),_0x234d48=_0x4e5bab[_0x49936b(0x137)]()):_0x4e5bab[_0x49936b(0x13a)](_0x15d9a7,_0x49936b(0x13e))?(_0x4456a6=_0x15d9a7[_0x49936b(0x13f)](),_0x234d48=_0x4e5bab[_0x49936b(0x137)]()):_0x4e5bab[_0x49936b(0x13a)](_0xb30607,_0x49936b(0x138))?(_0x4456a6=_0x4e5bab[_0x49936b(0x135)](_0x49936b(0x138))[_0x49936b(0x13f)](),_0x234d48=_0x4e5bab[_0x49936b(0x133)]||''):_0x4e5bab[_0x49936b(0x13a)](_0xb30607,_0x49936b(0x134))?(_0x4456a6=_0x4e5bab[_0x49936b(0x135)](_0x49936b(0x145))[_0x49936b(0x13f)](),_0x234d48=_0x4e5bab[_0x49936b(0x148)]||''):(_0x4456a6=_0x4e5bab[_0x49936b(0x135)](_0x49936b(0x134))[_0x49936b(0x13f)](),_0x234d48=String(_0x4e5bab[_0x49936b(0x134)])),{'startDate':_0x4456a6,'localizedPeriodName':_0x234d48};}function _0x1976(){const _0x4f2ca3=['year','startOf','9146168zQOnxd','toRelativeCalendar','week','20EHcerU','hasSame','minus','9231903qDDwTQ','1288273fEOvAV','day','toJSDate','6fCxcPP','fromJSDate','614808QphiOw','local','2419119QuDAwP','month','118309PGgKAa','445IWDHGS','monthLong','setLocale','21828hZXtyw','weekdayLong'];_0x1976=function(){return _0x4f2ca3;};return _0x1976();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xebb6aa=_0x4cde;(function(_0x5154a7,_0x2187a9){const _0x1089af=_0x4cde,_0x5eeabf=_0x5154a7();while(!![]){try{const _0x387c44=parseInt(_0x1089af(0x165))/0x1*(-parseInt(_0x1089af(0x169))/0x2)+-parseInt(_0x1089af(0x176))/0x3+-parseInt(_0x1089af(0x173))/0x4*(parseInt(_0x1089af(0x175))/0x5)+parseInt(_0x1089af(0x170))/0x6+parseInt(_0x1089af(0x179))/0x7+-parseInt(_0x1089af(0x171))/0x8+parseInt(_0x1089af(0x181))/0x9*(parseInt(_0x1089af(0x17b))/0xa);if(_0x387c44===_0x2187a9)break;else _0x5eeabf['push'](_0x5eeabf['shift']());}catch(_0x4c25b6){_0x5eeabf['push'](_0x5eeabf['shift']());}}}(_0x4b77,0xb9f18));function _0x4cde(_0x41e84d,_0x483107){const _0x4b77fa=_0x4b77();return _0x4cde=function(_0x4cde44,_0x52ae9b){_0x4cde44=_0x4cde44-0x163;let _0x5756b9=_0x4b77fa[_0x4cde44];return _0x5756b9;},_0x4cde(_0x41e84d,_0x483107);}import{View as _0x5725a3}from'ckeditor5/src/ui.js';import{getTranslation as _0x18ea7d}from'../../utils/common-translations.js';function _0x4b77(){const _0x4e80b7=['Added\x20by','set','300130NQlbAP','author','bindTemplate','ck-revision-change__','Suggested\x20by','type','changeId','1131720awpkmN','2893288gwKItB','name','220SgfnBQ','Removed\x20by','80440flaBuF','3958338FZdUim','isSuggestion','_model','9435216RWaozl','data','1210tUnKFW','ck-revision-change__label','div','element','focus','add','177867bNsBGa','setTemplate','span','ck-annotation','4SvjcMS','ck-revision-change'];_0x4b77=function(){return _0x4e80b7;};return _0x4b77();}export default class Z extends _0x5725a3{constructor(_0x12885a,_0x39481a){const _0x8e8312=_0x4cde;super(_0x12885a),this[_0x8e8312(0x178)]=_0x39481a,this[_0x8e8312(0x16f)]=_0x39481a['id'];const _0x3cd6c8=this[_0x8e8312(0x16b)],_0x4db5a0=_0x18ea7d(_0x12885a,_0x39481a[_0x8e8312(0x17a)][_0x8e8312(0x177)]?_0x8e8312(0x16d):_0x8e8312(0x180)==_0x39481a[_0x8e8312(0x16e)]?_0x8e8312(0x167):_0x8e8312(0x174));this[_0x8e8312(0x168)](_0x8e8312(0x16e),_0x39481a[_0x8e8312(0x16e)]),this[_0x8e8312(0x182)]({'tag':_0x8e8312(0x17d),'attributes':{'class':[_0x8e8312(0x164),_0x8e8312(0x166),_0x3cd6c8['to'](_0x8e8312(0x16e),_0xe959ff=>_0x8e8312(0x16c)+_0xe959ff)],'tabindex':-0x1},'children':[{'tag':_0x8e8312(0x163),'children':[{'tag':_0x8e8312(0x163),'attributes':{'class':[_0x8e8312(0x17c)]},'children':[{'text':_0x4db5a0}]},{'text':'\x20'+_0x39481a[_0x8e8312(0x16a)][_0x8e8312(0x172)]}]}]});}[_0xebb6aa(0x17f)](){const _0x1c84a5=_0xebb6aa;this[_0x1c84a5(0x17e)][_0x1c84a5(0x17f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x7764(){const _0x5120c1=['_statusText','span','ck-revision-history-ui__changes-navigation__navigation','execute','78093xFrwEu','X_OF_Y_CHANGES','isNavigationMode','ck-hidden','forward','Total','2EQaFcO','_isStatusLabelVisible','numberOfChanges','Show\x20previous\x20change','755365gbrRGb','bindTemplate','EDIT_X_OF_Y_REVISIONS','845897VULiUL','ck-revision-history-ui__changes-navigation__label','isEnabled','bind','isForwardNavigationEnabled','379323ZuGRBF','fire','isBackwardNavigationEnabled','currentChangeNumber','45NfHvbL','div','105974EIgnxf','NUMBER_OF_CHANGES','351176ZvafaX','ck-revision-history-ui__changes-navigation__wrapper','set','ck-revision-history-ui__changes-navigation','Show\x20next\x20change','No\x20changes','backward','1040wJeMDc','Loading...','4lPapgp','1914414RRrZzQ','ck-revision-history-ui','setTemplate','isReady'];_0x7764=function(){return _0x5120c1;};return _0x7764();}(function(_0x580640,_0x434ba9){const _0x545694=_0x3bde,_0x1d758d=_0x580640();while(!![]){try{const _0x124d33=-parseInt(_0x545694(0x179))/0x1+-parseInt(_0x545694(0x172))/0x2*(parseInt(_0x545694(0x16c))/0x3)+-parseInt(_0x545694(0x163))/0x4*(-parseInt(_0x545694(0x176))/0x5)+parseInt(_0x545694(0x164))/0x6+parseInt(_0x545694(0x17e))/0x7+parseInt(_0x545694(0x186))/0x8*(-parseInt(_0x545694(0x182))/0x9)+-parseInt(_0x545694(0x161))/0xa*(-parseInt(_0x545694(0x184))/0xb);if(_0x124d33===_0x434ba9)break;else _0x1d758d['push'](_0x1d758d['shift']());}catch(_0x4e9ce1){_0x1d758d['push'](_0x1d758d['shift']());}}}(_0x7764,0x6a2a6));import{View as _0x2c068a,ButtonView as _0x1f5982,ToolbarSeparatorView as _0x254f19}from'ckeditor5/src/ui.js';function _0x3bde(_0x323c64,_0x2a5936){const _0x776442=_0x7764();return _0x3bde=function(_0x3bde1f,_0x3aa3e2){_0x3bde1f=_0x3bde1f-0x161;let _0x47ca3d=_0x776442[_0x3bde1f];return _0x47ca3d;},_0x3bde(_0x323c64,_0x2a5936);}import{getTranslation as _0x33d116}from'../../utils/common-translations.js';import _0x2d3815 from'../../../theme/icons/arrow-up.svg';import _0xfd9270 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class li extends _0x2c068a{constructor(_0xf99346){const _0x376879=_0x3bde;super(_0xf99346);const _0x136cda=this[_0x376879(0x177)],_0x1b10b4=new _0x1f5982(_0xf99346),_0x3cd0b3=new _0x1f5982(_0xf99346);this[_0x376879(0x188)](_0x376879(0x16e),!0x1),this[_0x376879(0x188)](_0x376879(0x167),!0x1),this[_0x376879(0x188)](_0x376879(0x181),0x0),this[_0x376879(0x188)](_0x376879(0x174),0x0),this[_0x376879(0x188)](_0x376879(0x17d),!0x1),this[_0x376879(0x188)](_0x376879(0x180),!0x1),this[_0x376879(0x17c)](_0x376879(0x173))['to'](this,_0x376879(0x167),this,_0x376879(0x174),(_0x1ab066,_0x3a7ebe)=>_0x1ab066&&_0x3a7ebe>0x0),this[_0x376879(0x17c)](_0x376879(0x168))['to'](this,_0x376879(0x167),this,_0x376879(0x181),this,_0x376879(0x174),this,_0x376879(0x16e),(_0x33e132,_0x354c3b,_0x51ec12,_0x23e1dc)=>{const _0x3b0c90=_0x376879;if(!_0x33e132)return _0x33d116(_0xf99346,_0x3b0c90(0x162));if(!_0x51ec12)return _0x33d116(_0xf99346,_0x3b0c90(0x18b));const _0xc7294a=_0x33d116(_0xf99346,_0x3b0c90(0x185),_0x51ec12);return _0x23e1dc?_0x33d116(_0xf99346,_0x3b0c90(0x16d),[_0x354c3b+0x1,_0x51ec12]):_0xc7294a;}),_0x1b10b4[_0x376879(0x188)]({'label':_0x33d116(_0xf99346,_0x376879(0x175)),'tooltip':!0x0,'icon':_0x2d3815}),_0x3cd0b3[_0x376879(0x188)]({'label':_0x33d116(_0xf99346,_0x376879(0x18a)),'tooltip':!0x0,'icon':_0xfd9270}),_0x1b10b4[_0x376879(0x17c)](_0x376879(0x17b))['to'](this,_0x376879(0x180)),_0x3cd0b3[_0x376879(0x17c)](_0x376879(0x17b))['to'](this,_0x376879(0x17d)),_0x1b10b4['on'](_0x376879(0x16b),()=>this[_0x376879(0x17f)](_0x376879(0x16b),_0x376879(0x18c))),_0x3cd0b3['on'](_0x376879(0x16b),()=>this[_0x376879(0x17f)](_0x376879(0x16b),_0x376879(0x170))),this[_0x376879(0x166)]({'tag':_0x376879(0x183),'attributes':{'class':['ck',_0x376879(0x165),_0x376879(0x189)]},'children':[{'tag':_0x376879(0x169),'attributes':{'class':[_0x376879(0x187)]},'children':[{'tag':_0x376879(0x169),'attributes':{'class':[_0x376879(0x17a),_0x136cda['if'](_0x376879(0x173),_0x376879(0x16f),_0x10f940=>!_0x10f940)]},'children':[{'text':_0x136cda['to'](_0x376879(0x16e),_0x3e67f6=>_0x3e67f6?_0x33d116(_0xf99346,_0x376879(0x178))+':\x20':_0x33d116(_0xf99346,_0x376879(0x171))+':\x20')}]},{'text':_0x136cda['to'](_0x376879(0x168))}]},new _0x254f19(),{'tag':_0x376879(0x183),'attributes':{'class':[_0x376879(0x16a)]},'children':[_0x1b10b4,_0x3cd0b3]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3ec5a9=_0x547f;(function(_0x597f8b,_0x18bc86){const _0x1913cc=_0x547f,_0x356df0=_0x597f8b();while(!![]){try{const _0x348d40=-parseInt(_0x1913cc(0x152))/0x1*(parseInt(_0x1913cc(0x147))/0x2)+-parseInt(_0x1913cc(0x158))/0x3+-parseInt(_0x1913cc(0x14b))/0x4+-parseInt(_0x1913cc(0x14e))/0x5+parseInt(_0x1913cc(0x150))/0x6*(parseInt(_0x1913cc(0x154))/0x7)+parseInt(_0x1913cc(0x145))/0x8+parseInt(_0x1913cc(0x14f))/0x9*(parseInt(_0x1913cc(0x148))/0xa);if(_0x348d40===_0x18bc86)break;else _0x356df0['push'](_0x356df0['shift']());}catch(_0x4e9b34){_0x356df0['push'](_0x356df0['shift']());}}}(_0x5215,0x197ff));import{Plugin as _0x3832c5}from'ckeditor5/src/core.js';const le=_0x3ec5a9(0x14c);function _0x547f(_0x140f82,_0x2dad03){const _0x5215c4=_0x5215();return _0x547f=function(_0x547fda,_0x27f6c6){_0x547fda=_0x547fda-0x145;let _0x47c89b=_0x5215c4[_0x547fda];return _0x47c89b;},_0x547f(_0x140f82,_0x2dad03);}import'../../../theme/revisionviewerloadingoverlay.css';export default class fe extends _0x3832c5{static get[_0x3ec5a9(0x159)](){const _0x5d290c=_0x3ec5a9;return _0x5d290c(0x156);}[_0x3ec5a9(0x146)](){const _0x1b248f=_0x3ec5a9,_0x323386=this[_0x1b248f(0x15a)][_0x1b248f(0x149)][_0x1b248f(0x153)];_0x323386[_0x1b248f(0x151)](_0x2feae4=>{const _0xc49a6d=_0x1b248f;for(const _0x234ea3 of _0x323386[_0xc49a6d(0x14d)][_0xc49a6d(0x155)])_0x2feae4[_0xc49a6d(0x157)](le,_0x234ea3);});}[_0x3ec5a9(0x15b)](){const _0x53f346=_0x3ec5a9,_0x23d19f=this[_0x53f346(0x15a)][_0x53f346(0x149)][_0x53f346(0x153)];_0x23d19f[_0x53f346(0x151)](_0x13ace2=>{const _0x5e8da4=_0x53f346;for(const _0x123643 of _0x23d19f[_0x5e8da4(0x14d)][_0x5e8da4(0x155)])_0x13ace2[_0x5e8da4(0x14a)](le,_0x123643);});}}function _0x5215(){const _0x5fa14d=['editing','removeClass','470204dalpEq','ck-editor__editable__loading-overlay','document','692475kvUElA','6957jdQaCG','108642oAdrwD','change','1044MpvivW','view','14PtnAQJ','roots','RevisionViewerLoadingOverlay','addClass','68382Hcnycx','pluginName','editor','hide','1610408eKkrqg','show','242WoIlRp','3520IajBrB'];_0x5215=function(){return _0x5fa14d;};return _0x5215();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x233b(){const _0x498175=['ck-revision-history-ui__back-to-editing','changesNavigation','hide','config','revisionHistory','show','69168EwIGYY','execute','showNextChange','1205366kQRfvr','init','numberOfChanges','RevisionViewerUI','bind','add','Restore\x20this\x20revision','isNavigationMode','310HmCCnL','showPreviousChange','219365QDnBPe','exitToEditing','isBackwardNavigationEnabled','get','forward','301osxltr','commands','listenTo','Back\x20to\x20editing','change:isReady','requires','set','30hBadYA','undo','isEnabled','108516XGoGVP','2398760gVfAvI','closeRevisionViewerCallback','isReady','componentFactory','pluginName','plugins','currentChangeNumber','editor','82071UJqPWO','restoreRevision','isForwardNavigationEnabled','2103105PGtFJk'];_0x233b=function(){return _0x498175;};return _0x233b();}const _0x17aa83=_0x539c;(function(_0x105b7f,_0x435ce5){const _0xbf6c79=_0x539c,_0x594da5=_0x105b7f();while(!![]){try{const _0x1b804f=parseInt(_0xbf6c79(0x15d))/0x1+-parseInt(_0xbf6c79(0x153))/0x2+parseInt(_0xbf6c79(0x178))/0x3+-parseInt(_0xbf6c79(0x16d))/0x4+parseInt(_0xbf6c79(0x169))/0x5*(parseInt(_0xbf6c79(0x16c))/0x6)+-parseInt(_0xbf6c79(0x162))/0x7*(-parseInt(_0xbf6c79(0x150))/0x8)+parseInt(_0xbf6c79(0x175))/0x9*(parseInt(_0xbf6c79(0x15b))/0xa);if(_0x1b804f===_0x435ce5)break;else _0x594da5['push'](_0x594da5['shift']());}catch(_0x2f90f2){_0x594da5['push'](_0x594da5['shift']());}}}(_0x233b,0x756f2));import{icons as _0x2e9d1a,Plugin as _0x2985ce}from'ckeditor5/src/core.js';import{ButtonView as _0x41b93f}from'ckeditor5/src/ui.js';import _0x37ae83 from'./changesnavigationview.js';function _0x539c(_0x34fc44,_0x2faf03){const _0x233b4e=_0x233b();return _0x539c=function(_0x539c6e,_0x4b967e){_0x539c6e=_0x539c6e-0x14a;let _0x415588=_0x233b4e[_0x539c6e];return _0x415588;},_0x539c(_0x34fc44,_0x2faf03);}import _0x28406d from'./../../revisionviewer.js';import _0x108f97 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x1edc60}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x2985ce{static get[_0x17aa83(0x171)](){const _0x17740b=_0x17aa83;return _0x17740b(0x156);}static get[_0x17aa83(0x167)](){return[_0x28406d,_0x108f97];}[_0x17aa83(0x154)](){const _0x189b4d=_0x17aa83,_0x3b15bf=this[_0x189b4d(0x174)],_0x1cf066=_0x3b15bf[_0x189b4d(0x172)][_0x189b4d(0x160)](_0x28406d),_0x387025=_0x3b15bf[_0x189b4d(0x172)][_0x189b4d(0x160)](_0x108f97);_0x3b15bf['ui'][_0x189b4d(0x170)][_0x189b4d(0x158)](_0x189b4d(0x15e),_0x1ee340=>{const _0x12dcec=_0x189b4d,_0x369c17=new _0x41b93f(_0x1ee340);return _0x369c17[_0x12dcec(0x168)]({'label':_0x1edc60(_0x1ee340,_0x12dcec(0x165)),'icon':_0x2e9d1a[_0x12dcec(0x16a)],'withText':!0x0,'tooltip':!0x0,'class':_0x12dcec(0x14a)}),this[_0x12dcec(0x164)](_0x369c17,_0x12dcec(0x151),()=>{const _0x4069ff=_0x12dcec;_0x3b15bf[_0x4069ff(0x14d)][_0x4069ff(0x160)](_0x4069ff(0x14e))[_0x4069ff(0x16e)]();}),_0x369c17;}),_0x3b15bf['ui'][_0x189b4d(0x170)][_0x189b4d(0x158)](_0x189b4d(0x176),_0x22b04c=>{const _0x5b4bb9=_0x189b4d,_0x1069e1=new _0x41b93f(_0x22b04c);return _0x1069e1[_0x5b4bb9(0x168)]({'label':_0x1edc60(_0x22b04c,_0x5b4bb9(0x159)),'withText':!0x0,'tooltip':!0x0}),_0x1069e1[_0x5b4bb9(0x157)](_0x5b4bb9(0x16b))['to'](_0x3b15bf[_0x5b4bb9(0x163)][_0x5b4bb9(0x160)](_0x5b4bb9(0x176))),this[_0x5b4bb9(0x164)](_0x1069e1,_0x5b4bb9(0x151),()=>_0x3b15bf[_0x5b4bb9(0x151)](_0x5b4bb9(0x176))),_0x1069e1;}),_0x3b15bf['ui'][_0x189b4d(0x170)][_0x189b4d(0x158)](_0x189b4d(0x14b),_0xb459f9=>{const _0x5ae819=_0x189b4d,_0x25b39d=new _0x37ae83(_0xb459f9),_0x34a4e0=_0x3b15bf[_0x5ae819(0x163)][_0x5ae819(0x160)](_0x5ae819(0x15c)),_0x278018=_0x3b15bf[_0x5ae819(0x163)][_0x5ae819(0x160)](_0x5ae819(0x152));return _0x25b39d[_0x5ae819(0x157)](_0x5ae819(0x15f))['to'](_0x34a4e0,_0x5ae819(0x16b)),_0x25b39d[_0x5ae819(0x157)](_0x5ae819(0x177))['to'](_0x278018,_0x5ae819(0x16b)),_0x25b39d[_0x5ae819(0x157)](_0x5ae819(0x16f),_0x5ae819(0x173),_0x5ae819(0x155),_0x5ae819(0x15a))['to'](_0x1cf066),this[_0x5ae819(0x164)](_0x25b39d,_0x5ae819(0x151),(_0x3b455a,_0x5b6c2c)=>{const _0x269f29=_0x5ae819;_0x3b15bf[_0x269f29(0x151)](_0x269f29(0x161)===_0x5b6c2c?_0x269f29(0x152):_0x269f29(0x15c));}),_0x25b39d;}),_0x387025[_0x189b4d(0x14f)](),_0x1cf066['on'](_0x189b4d(0x166),(_0x7033c,_0x2183a0,_0x119b16)=>{const _0x1212df=_0x189b4d;_0x119b16?_0x387025[_0x1212df(0x14c)]():_0x387025[_0x1212df(0x14f)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x16dea1,_0x3c34a9,_0x52d165){const t=_0x16dea1['t'];switch(_0x3c34a9){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'},_0x52d165);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x52d165);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'';}}
|