@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240423.0 → 0.0.0-nightly-20240424.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/dist/index-content.css +46 -0
- package/dist/index-editor.css +434 -0
- package/dist/index.css +754 -0
- package/dist/index.js +23 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/types/augmentation.d.ts +33 -0
- package/dist/types/changeitem.d.ts +62 -0
- package/dist/types/editor/revisionviewereditor.d.ts +31 -0
- package/dist/types/editor/revisionviewereditorui.d.ts +32 -0
- package/dist/types/editor/revisionviewereditoruiview.d.ts +47 -0
- package/dist/types/index.d.ts +19 -0
- package/dist/types/revision.d.ts +157 -0
- package/dist/types/revisiondiff.d.ts +28 -0
- package/dist/types/revisionhistory.d.ts +103 -0
- package/dist/types/revisionhistoryadapter.d.ts +68 -0
- package/dist/types/revisionhistoryconfig.d.ts +75 -0
- package/dist/types/revisionsrepository.d.ts +56 -0
- package/dist/types/revisiontracker.d.ts +89 -0
- package/dist/types/revisionviewer.d.ts +29 -0
- package/dist/types/ui/revision/createrevisionactionsdropdown.d.ts +14 -0
- package/dist/types/ui/revision/revisionauthorview.d.ts +9 -0
- package/dist/types/ui/revision/revisionnameview.d.ts +9 -0
- package/dist/types/ui/revision/revisionview.d.ts +99 -0
- package/dist/types/ui/revision/subrevisioncollapserview.d.ts +25 -0
- package/dist/types/ui/revision/subrevisionview.d.ts +38 -0
- package/dist/types/ui/revision/utils.d.ts +9 -0
- package/dist/types/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +61 -0
- package/dist/types/ui/revisionhistory/revisionhistoryui.d.ts +30 -0
- package/dist/types/ui/revisionssidebar/revisionssidebar.d.ts +48 -0
- package/dist/types/ui/revisionssidebar/revisionssidebarheaderview.d.ts +9 -0
- package/dist/types/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +33 -0
- package/dist/types/ui/revisionssidebar/revisionssidebarview.d.ts +48 -0
- package/dist/types/ui/revisionssidebar/utils.d.ts +13 -0
- package/dist/types/ui/revisionviewer/changedetailsview.d.ts +26 -0
- package/dist/types/ui/revisionviewer/changesnavigationview.d.ts +44 -0
- package/dist/types/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +30 -0
- package/dist/types/ui/revisionviewer/revisionviewerui.d.ts +32 -0
- package/dist/types/utils/common-translations.d.ts +15 -0
- package/package.json +6 -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.d.ts +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x45c488=_0x2575;(function(_0x302189,_0x45358f){const _0xe1c96e=_0x2575,_0x3ff67e=_0x302189();while(!![]){try{const _0x1ad819=parseInt(_0xe1c96e(0x1fa))/0x1*(-parseInt(_0xe1c96e(0x1e2))/0x2)+parseInt(_0xe1c96e(0x1dc))/0x3*(-parseInt(_0xe1c96e(0x1fc))/0x4)+parseInt(_0xe1c96e(0x1e7))/0x5*(-parseInt(_0xe1c96e(0x1f9))/0x6)+parseInt(_0xe1c96e(0x1ec))/0x7*(parseInt(_0xe1c96e(0x1dd))/0x8)+parseInt(_0xe1c96e(0x1db))/0x9+parseInt(_0xe1c96e(0x1e9))/0xa+parseInt(_0xe1c96e(0x1f0))/0xb;if(_0x1ad819===_0x45358f)break;else _0x3ff67e['push'](_0x3ff67e['shift']());}catch(_0x14305f){_0x3ff67e['push'](_0x3ff67e['shift']());}}}(_0x458d,0xb223c));import{LabeledFieldView as _0x176b73,View as _0x4dce97,createLabeledInputText as _0x31c546,injectCssTransitionDisabler as _0x3da310,submitHandler as _0x14dc9a}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1aa206,KeystrokeHandler as _0x4e5537}from'ckeditor5/src/utils.js';import{getTranslation as _0x444395}from'../../utils/common-translations.js';function _0x2575(_0x4ffe13,_0x307e55){const _0x458d3c=_0x458d();return _0x2575=function(_0x257573,_0x1c02a6){_0x257573=_0x257573-0x1d9;let _0x564ece=_0x458d3c[_0x257573];return _0x564ece;},_0x2575(_0x4ffe13,_0x307e55);}import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';function _0x458d(){const _0x51d545=['element','trim','focusTracker','revisionName','revisionNameInputView','arrowleft','form','extendTemplate','83034laSGdj','3olEFNC','1640QBaddk','ck-revision-history-save-revision-form','revisionNameInputValue','keystrokes','Name\x20of\x20the\x20revision','5848sRQYtR','focus','input','render','ck-responsive-form','25BTxNKR','fieldView','3167920LBSNSi','arrowright','arrowdown','9422tOFtnU','setTemplate','optional','arrowup','29217848ngEXRN','stopPropagation','220','set','_createRevisionNameInput','reset','add','errorText','label','1551570rdpqQv','59jiTkaD','listenTo','4251860enQGCo','locale','value'];_0x458d=function(){return _0x51d545;};return _0x458d();}export default class ns extends _0x4dce97{constructor(_0x1b63d3,_0x125292){const _0x249029=_0x2575;super(_0x1b63d3),this[_0x249029(0x201)]=new _0x1aa206(),this[_0x249029(0x1e0)]=new _0x4e5537(),this[_0x249029(0x1f3)](_0x249029(0x1df),''),this[_0x249029(0x203)]=this[_0x249029(0x1f4)](_0x125292),this[_0x249029(0x1ed)]({'tag':_0x249029(0x1d9),'attributes':{'class':['ck',_0x249029(0x1de),_0x249029(0x1e6)],'tabindex':'-1'},'children':[this[_0x249029(0x203)]]}),_0x3da310(this);}[_0x45c488(0x1e5)](){const _0x412dad=_0x45c488;super[_0x412dad(0x1e5)](),_0x14dc9a({'view':this}),this[_0x412dad(0x201)][_0x412dad(0x1f6)](this[_0x412dad(0x203)][_0x412dad(0x1ff)]),this[_0x412dad(0x1e0)][_0x412dad(0x1fb)](this[_0x412dad(0x1ff)]);const _0x2abb91=_0x4ea0a1=>_0x4ea0a1[_0x412dad(0x1f1)]();this[_0x412dad(0x1e0)][_0x412dad(0x1f3)](_0x412dad(0x1ea),_0x2abb91),this[_0x412dad(0x1e0)][_0x412dad(0x1f3)](_0x412dad(0x204),_0x2abb91),this[_0x412dad(0x1e0)][_0x412dad(0x1f3)](_0x412dad(0x1ef),_0x2abb91),this[_0x412dad(0x1e0)][_0x412dad(0x1f3)](_0x412dad(0x1eb),_0x2abb91);}[_0x45c488(0x1e3)](){const _0x1e39de=_0x45c488;this[_0x1e39de(0x203)][_0x1e39de(0x1e3)]();}get[_0x45c488(0x202)](){const _0x1423c3=_0x45c488;return this[_0x1423c3(0x203)][_0x1423c3(0x1e8)][_0x1423c3(0x1ff)][_0x1423c3(0x1fe)][_0x1423c3(0x200)]();}set[_0x45c488(0x202)](_0x44f1f6){const _0x4416d8=_0x45c488;this[_0x4416d8(0x203)][_0x4416d8(0x1e8)][_0x4416d8(0x1ff)][_0x4416d8(0x1fe)]=_0x44f1f6[_0x4416d8(0x200)]();}[_0x45c488(0x1f5)](){const _0x2db434=_0x45c488;this[_0x2db434(0x203)][_0x2db434(0x1e8)][_0x2db434(0x1ff)][_0x2db434(0x1fe)]='',this[_0x2db434(0x203)][_0x2db434(0x1f7)]=null;}[_0x45c488(0x1f4)](_0x5102cf){const _0x46825=_0x45c488,_0x5db30b=new _0x176b73(this[_0x46825(0x1fd)],_0x31c546),_0x30d423=_0x5db30b[_0x46825(0x1e8)];_0x30d423[_0x46825(0x1da)]({'attributes':{'maxlength':_0x46825(0x1f2)}});let _0x8426c9=_0x444395(this[_0x46825(0x1fd)],_0x46825(0x1e1));return!_0x5102cf&&(_0x8426c9+='\x20('+_0x444395(this[_0x46825(0x1fd)],_0x46825(0x1ee))+')'),(_0x5db30b[_0x46825(0x1f8)]=_0x8426c9,_0x30d423['on'](_0x46825(0x1e4),()=>{const _0x4cdf10=_0x46825;this[_0x4cdf10(0x1df)]=_0x30d423[_0x4cdf10(0x1ff)][_0x4cdf10(0x1fe)][_0x4cdf10(0x200)]();}),_0x5db30b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x529bdd,icons as _0x405acc}from'ckeditor5/src/core.js';import{createDropdown as _0x4985ef,ButtonView as _0x54126c,ListItemView as _0x54cca3,ListView as te,MenuBarMenuListItemButtonView as _0x230cc9,MenuBarMenuListItemView as _0x458e9f,MenuBarMenuListView as _0x28d296,MenuBarMenuView as _0x6fee21}from'ckeditor5/src/ui.js';import _0x4e33b5 from'../../revisiontracker.js';import _0x39c112 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x95f4bd}from'../../utils/common-translations.js';export default class u extends _0x529bdd{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[_0x4e33b5];}['init'](){const _0x3883a1=this['editor'],_0x1ee745=_0x3883a1['plugins']['get']('RevisionTracker');_0x3883a1['ui']['componentFactory']['add']('revisionHistory',_0x2ffb89=>{const _0x38e00d=_0x4985ef(_0x2ffb89),_0x25f163=_0x38e00d['panelView']['children'],_0x19c1d0=new te(_0x2ffb89),_0x1a8dca=new _0x54cca3(_0x2ffb89),_0x49dd0f=new _0x54126c(_0x2ffb89),_0x2ba3eb=new _0x54cca3(_0x2ffb89),_0xdfaf00=new _0x54126c(_0x2ffb89);return _0x38e00d['bind']('isEnabled')['to'](_0x1ee745,'isReady',_0x1ee745,'isEnabled',_0x3883a1,'isReadOnly',(_0x5a62cb,_0xd3a708,_0x385325)=>_0x5a62cb&&_0xd3a708&&!_0x385325),_0x38e00d['buttonView']['set']({'icon':_0x405acc['history'],'label':_0x95f4bd(_0x2ffb89,'Revision\x20history'),'tooltip':!0x0}),_0x49dd0f['set']({'label':_0x95f4bd(_0x2ffb89,'Save\x20current\x20revision'),'withText':!0x0}),_0x49dd0f['bind']('isEnabled')['to'](_0x1ee745,'isReady',_0x1ee745,'isEnabled',_0x3883a1,'isReadOnly',(_0x4d0607,_0x41f776,_0x220f66)=>_0x4d0607&&_0x41f776&&!_0x220f66),_0x49dd0f['on']('execute',()=>this['_showDialog']()),_0xdfaf00['set']({'label':_0x95f4bd(_0x2ffb89,'Open\x20revision\x20history'),'withText':!0x0}),_0xdfaf00['bind']('isEnabled')['to'](_0x1ee745,'isReady',_0x3883a1,'isReadOnly',(_0x569615,_0x157ce9)=>_0x569615&&!_0x157ce9),_0xdfaf00['on']('execute',()=>{_0x3883a1['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x38e00d['isOpen']=!0x1,_0x3883a1['editing']['view']['focus']();}),_0x1a8dca['children']['add'](_0x49dd0f),_0x2ba3eb['children']['add'](_0xdfaf00),_0x19c1d0['items']['addMany']([_0x1a8dca,_0x2ba3eb]),_0x25f163['add'](_0x19c1d0),_0x38e00d;}),_0x3883a1['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0xdc949e=this['editor'],_0x43ef2e=_0xdc949e['locale'],_0x48d3b1=new _0x6fee21(_0x43ef2e),_0x458c30=new _0x28d296(_0x43ef2e);_0x48d3b1['buttonView']['set']({'icon':_0x405acc['history'],'label':_0x95f4bd(_0x43ef2e,'Revision\x20history')});const _0x17f45c=new _0x458e9f(_0x43ef2e,_0x48d3b1),_0x476ec7=new _0x230cc9(_0x43ef2e);_0x476ec7['set']({'label':_0x95f4bd(_0x43ef2e,'Save\x20current\x20revision')}),_0x476ec7['delegate']('execute')['to'](_0x48d3b1),_0x476ec7['on']('execute',()=>{this['_showDialog']();}),_0x17f45c['children']['add'](_0x476ec7),_0x458c30['items']['add'](_0x17f45c);const _0x5e6c7c=new _0x458e9f(_0x43ef2e,_0x48d3b1),_0x1552a1=new _0x230cc9(_0x43ef2e);return _0x1552a1['set']({'label':_0x95f4bd(_0x43ef2e,'Open\x20revision\x20history')}),_0x1552a1['delegate']('execute')['to'](_0x48d3b1),_0x1552a1['on']('execute',()=>{_0xdc949e['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x5e6c7c['children']['add'](_0x1552a1),_0x458c30['items']['add'](_0x5e6c7c),_0x48d3b1['panelView']['children']['add'](_0x458c30),_0x48d3b1;}['_showDialog'](){const _0x499614=this['editor'],_0x87d513=_0x499614['locale'],t=_0x87d513['t'],_0x649c2=_0x499614['plugins']['get']('Dialog'),_0x3ec8ea=_0x499614['plugins']['get']('RevisionTracker');function _0x1ca111(_0x4f71b5){_0x499614['config']['get']('revisionHistory.requireRevisionName')&&''===_0x4f71b5['revisionName']?_0x4f71b5['revisionNameInputView']['errorText']=_0x95f4bd(_0x87d513,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x499614['plugins']['get'](_0x4e33b5)['saveRevision']({'name':_0x4f71b5['revisionName']}),_0x649c2['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x1ca111(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x649c2['show']({'id':'findAndReplace','title':_0x95f4bd(_0x87d513,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x649c2['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x15028d){_0x15028d['bind']('isEnabled')['to'](_0x3ec8ea,'isReady',_0x3ec8ea,'isEnabled',_0x499614,'isReadOnly',(_0x365e57,_0x53fae7,_0x4dc279)=>_0x365e57&&_0x53fae7&&!_0x4dc279);},'onExecute':()=>_0x1ca111(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x2f0a0a=this['editor'],_0x109ee5=_0x2f0a0a['locale'];this['_saveRevisionFormView']=new _0x39c112(_0x109ee5,_0x2f0a0a['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31e707=_0x210b;(function(_0x5226b9,_0x3de0c6){const _0xf1c486=_0x210b,_0x1a30b9=_0x5226b9();while(!![]){try{const _0x2688fd=parseInt(_0xf1c486(0x119))/0x1*(-parseInt(_0xf1c486(0x158))/0x2)+parseInt(_0xf1c486(0x12f))/0x3*(parseInt(_0xf1c486(0x15a))/0x4)+parseInt(_0xf1c486(0x147))/0x5+-parseInt(_0xf1c486(0x148))/0x6+parseInt(_0xf1c486(0x128))/0x7*(-parseInt(_0xf1c486(0x152))/0x8)+-parseInt(_0xf1c486(0x156))/0x9+parseInt(_0xf1c486(0x121))/0xa*(parseInt(_0xf1c486(0x11d))/0xb);if(_0x2688fd===_0x3de0c6)break;else _0x1a30b9['push'](_0x1a30b9['shift']());}catch(_0x8bcc4){_0x1a30b9['push'](_0x1a30b9['shift']());}}}(_0x360e,0x4ed36));import{Plugin as _0x31c7bb}from'ckeditor5/src/core.js';function _0x210b(_0x446e19,_0xf7aa31){const _0x360eed=_0x360e();return _0x210b=function(_0x210bfb,_0x2bc5c7){_0x210bfb=_0x210bfb-0x114;let _0x250070=_0x360eed[_0x210bfb];return _0x250070;},_0x210b(_0x446e19,_0xf7aa31);}function _0x360e(){const _0x36e891=['isVisible','availableRevisionActions','_revisionViewer','1602030lEbZrc','3749184flrWll','change:diff','element','_sidebarView','revisionHistory.revisionActions','isReady','setName','revisionHistory.viewerSidebarContainer','map','Restore\x20this\x20revision','37664qvKSFu','restoreRevisionCallback','editor','revisionSelected','4176792RkpzxX','isEnabled','22FNVCky','appendChild','88sbnVCz','defaultRevisionActions','revisionHistory','highlightRevisions','render','Compare\x20against\x20selected','_handleDiffChange','_revisionsRepository','action','get','destroy','restoreRevision','compare','_handleRevisionSetName','diff','locale','revisionHistory.requireRevisionName','1739DuNouz','select','focus','revisionViews','11qQGXlX','add','name','init','15089430QCOuGx','Name\x20this\x20revision','repository','ready','listenTo','length','getEarlierVisibleRevision','777TgqydH','_handleEditorDataReady','nameRevision','config','_handleRevisionSelected','getRevision','remove','16935BYMcDa','data','assign','getLaterVisibleRevision','compareAgainstSelected','revisionSetName','getRevisionsInDiff','getIndex','fieldView','timePeriodViews','bind','selectRevision','_revisions','pluginName','isSelected','string','newRevisionId','plugins','requires','_createRevisionActions','RevisionsSidebar'];_0x360e=function(){return _0x36e891;};return _0x360e();}import _0x4a1a09 from'./revisionssidebarview.js';import _0xf69c8a from'../../revisionviewer.js';export default class w extends _0x31c7bb{static get[_0x31e707(0x13c)](){const _0x143c7c=_0x31e707;return _0x143c7c(0x143);}static get[_0x31e707(0x141)](){return[_0xf69c8a];}constructor(_0x15baa3){const _0x295360=_0x31e707;super(_0x15baa3),this[_0x295360(0x146)]=_0x15baa3[_0x295360(0x140)][_0x295360(0x163)](_0xf69c8a),this[_0x295360(0x161)]=this[_0x295360(0x146)][_0x295360(0x123)],this[_0x295360(0x14b)]=null;}[_0x31e707(0x120)](){const _0x5611a3=_0x31e707,_0x37eb0f=this[_0x5611a3(0x161)][_0x5611a3(0x13b)],_0x10350c=this[_0x5611a3(0x142)](),_0x1f5a38=this[_0x5611a3(0x154)][_0x5611a3(0x12b)][_0x5611a3(0x163)](_0x5611a3(0x14f));this[_0x5611a3(0x14b)]=new _0x4a1a09(this[_0x5611a3(0x154)][_0x5611a3(0x117)],_0x37eb0f,_0x10350c,this[_0x5611a3(0x154)][_0x5611a3(0x12b)][_0x5611a3(0x163)](_0x5611a3(0x118))),this[_0x5611a3(0x14b)]['on'](_0x5611a3(0x155),this[_0x5611a3(0x12c)][_0x5611a3(0x139)](this)),this[_0x5611a3(0x14b)]['on'](_0x5611a3(0x134),this[_0x5611a3(0x115)][_0x5611a3(0x139)](this)),this[_0x5611a3(0x14b)][_0x5611a3(0x139)](_0x5611a3(0x157))['to'](this[_0x5611a3(0x146)]),this[_0x5611a3(0x14b)][_0x5611a3(0x138)]['on'](_0x5611a3(0x11e),(_0x215618,_0x4539df)=>{const _0x32314f=_0x5611a3;_0x4539df[_0x32314f(0x11c)]['on'](_0x32314f(0x11e),(_0x21356c,_0x22bb49)=>{const _0x146c66=_0x32314f;_0x22bb49[_0x146c66(0x139)](_0x146c66(0x157),_0x146c66(0x14d))['to'](this[_0x146c66(0x146)]);});}),this[_0x5611a3(0x14b)][_0x5611a3(0x15e)](),this[_0x5611a3(0x125)](this[_0x5611a3(0x154)][_0x5611a3(0x130)],_0x5611a3(0x124),this[_0x5611a3(0x129)][_0x5611a3(0x139)](this)),this[_0x5611a3(0x125)](this[_0x5611a3(0x146)],_0x5611a3(0x149),this[_0x5611a3(0x160)][_0x5611a3(0x139)](this)),_0x1f5a38[_0x5611a3(0x159)](this[_0x5611a3(0x14b)][_0x5611a3(0x14a)]);}[_0x31e707(0x164)](){const _0x5f28f8=_0x31e707;this[_0x5f28f8(0x14b)][_0x5f28f8(0x14a)][_0x5f28f8(0x12e)](),this[_0x5f28f8(0x14b)][_0x5f28f8(0x164)]();}[_0x31e707(0x129)](){const _0x2172ed=_0x31e707,_0x8667a9=this[_0x2172ed(0x161)][_0x2172ed(0x12d)](0x0);if(_0x8667a9){const _0x94f5c1=this[_0x2172ed(0x161)][_0x2172ed(0x127)](_0x8667a9['id']);this[_0x2172ed(0x146)][_0x2172ed(0x114)](_0x8667a9,_0x94f5c1);}}[_0x31e707(0x12c)](_0xc73b8e,_0xcb9b43){const _0x2e865f=_0x31e707,_0x5b1581=this[_0x2e865f(0x161)][_0x2e865f(0x12d)](_0xcb9b43['id']),_0x8509c9=this[_0x2e865f(0x161)][_0x2e865f(0x127)](_0x5b1581['id']);this[_0x2e865f(0x146)][_0x2e865f(0x114)](_0x5b1581,_0x8509c9);}[_0x31e707(0x115)](_0x401ca2,_0x4fc6cb){const _0x5e1062=_0x31e707;this[_0x5e1062(0x161)][_0x5e1062(0x12d)](_0x4fc6cb['id'])[_0x5e1062(0x14e)](_0x4fc6cb[_0x5e1062(0x11f)]);}[_0x31e707(0x160)](_0x1b6945,_0x19774a,_0x3f0b06){const _0x358d68=_0x31e707,_0x1dba08=this[_0x358d68(0x161)][_0x358d68(0x135)](_0x3f0b06);_0x1dba08[_0x358d68(0x126)]>0x2?(this[_0x358d68(0x14b)][_0x358d68(0x15d)](_0x1dba08),this[_0x358d68(0x14b)][_0x358d68(0x13a)](null)):(this[_0x358d68(0x14b)][_0x358d68(0x15d)]([]),this[_0x358d68(0x14b)][_0x358d68(0x13a)](_0x1dba08[0x0]));}[_0x31e707(0x142)](){const _0x3655c4=_0x31e707,_0x2e88ba=this[_0x3655c4(0x154)],_0x4a8ed8=w[_0x3655c4(0x145)],_0x2a246c=_0x2e88ba[_0x3655c4(0x12b)][_0x3655c4(0x163)](_0x3655c4(0x14c))||w[_0x3655c4(0x15b)];if(_0x2a246c[_0x3655c4(0x126)])return _0x2a246c[_0x3655c4(0x150)](_0x3b389b=>{const _0x399517=_0x3655c4,_0x4d3fb=_0x399517(0x13e)==typeof _0x3b389b?Object[_0x399517(0x131)]({},_0x4a8ed8[_0x3b389b]):_0x3b389b;return _0x4d3fb[_0x399517(0x162)]=_0x4d3fb[_0x399517(0x162)][_0x399517(0x139)](this,_0x2e88ba),_0x4d3fb[_0x399517(0x144)]&&(_0x4d3fb[_0x399517(0x144)]=_0x4d3fb[_0x399517(0x144)][_0x399517(0x139)](this,_0x2e88ba)),_0x4d3fb;});}}w[_0x31e707(0x145)]={'compareAgainstSelected':{'name':_0x31e707(0x15f),'action':({plugins:_0x2ef64e},_0x41b850)=>{const _0x60e93d=_0x31e707,_0x2fcb40=_0x2ef64e[_0x60e93d(0x163)](_0xf69c8a),_0x31bab2=_0x2fcb40[_0x60e93d(0x123)];let _0x2feff7=_0x2fcb40[_0x60e93d(0x116)][_0x60e93d(0x13f)],_0x38b5ba=_0x41b850['id'];_0x31bab2[_0x60e93d(0x136)](_0x2feff7)>_0x31bab2[_0x60e93d(0x136)](_0x38b5ba)&&([_0x2feff7,_0x38b5ba]=[_0x38b5ba,_0x2feff7]),_0x2fcb40[_0x60e93d(0x114)](_0x2feff7,_0x38b5ba);},'isVisible':({plugins:_0xef197b},_0x374668)=>{const _0x1ffa25=_0x31e707,_0x22e273=_0xef197b[_0x1ffa25(0x163)](_0xf69c8a);return!(_0x22e273[_0x1ffa25(0x123)][_0x1ffa25(0x135)](_0x22e273[_0x1ffa25(0x116)])[_0x1ffa25(0x126)]>0x2)&&!_0x374668[_0x1ffa25(0x13d)];}},'restoreRevision':{'name':_0x31e707(0x151),'action':(_0x3e9dca,{id:_0x2032de})=>{const _0x22b635=_0x31e707;_0x3e9dca[_0x22b635(0x12b)][_0x22b635(0x163)](_0x22b635(0x15c))[_0x22b635(0x153)](_0x2032de);},'isVisible':({plugins:_0x1c577d},_0x423b64)=>!!_0x1c577d[_0x31e707(0x163)](_0xf69c8a)[_0x31e707(0x123)][_0x31e707(0x132)](_0x423b64['id'])},'nameRevision':{'name':_0x31e707(0x122),'action':({plugins:_0x2c63fa},{id:_0x4ca389,revisionNameView:_0x4aaaad})=>{const _0x41119d=_0x31e707,_0x528372=_0x2c63fa[_0x41119d(0x163)](_0xf69c8a),_0x517a83=_0x528372[_0x41119d(0x123)][_0x41119d(0x127)](_0x4ca389);_0x528372[_0x41119d(0x114)](_0x4ca389,_0x517a83),_0x4aaaad[_0x41119d(0x11b)](),_0x4aaaad[_0x41119d(0x137)][_0x41119d(0x11a)]();}}},w[_0x31e707(0x15b)]=[_0x31e707(0x133),_0x31e707(0x165),_0x31e707(0x12a)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2a49e9,_0x53b31a){const _0x22f832=_0x4534,_0x1f5cb1=_0x2a49e9();while(!![]){try{const _0x2f8914=parseInt(_0x22f832(0xb3))/0x1*(-parseInt(_0x22f832(0xa8))/0x2)+-parseInt(_0x22f832(0xb0))/0x3+-parseInt(_0x22f832(0xa7))/0x4+parseInt(_0x22f832(0xb8))/0x5*(-parseInt(_0x22f832(0xab))/0x6)+-parseInt(_0x22f832(0xa9))/0x7+-parseInt(_0x22f832(0xb2))/0x8+parseInt(_0x22f832(0xb5))/0x9;if(_0x2f8914===_0x53b31a)break;else _0x1f5cb1['push'](_0x1f5cb1['shift']());}catch(_0x1f8998){_0x1f5cb1['push'](_0x1f5cb1['shift']());}}}(_0x4e9c,0xcf8fc));import{View as _0x117117,IconView as _0x4eea66}from'ckeditor5/src/ui.js';import{getTranslation as _0x22434d}from'../../utils/common-translations.js';function _0x4e9c(){const _0x1ba287=['4599357dRvAJY','history','4655816THpWcD','153saTjfn','ck-reset_all','54403353UlubVR','Revision\x20history','ck-revision-history-sidebar__header__label','8420340AyLFhl','2268WdNteB','8006fEeBxF','5477185oGgmXA','ck-revision-history-sidebar__header','6DMYWuv','span','div','content','setTemplate'];_0x4e9c=function(){return _0x1ba287;};return _0x4e9c();}import{icons as _0x2c03db}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';function _0x4534(_0x29c616,_0x5ed1b0){const _0x4e9c72=_0x4e9c();return _0x4534=function(_0x453473,_0x5620d9){_0x453473=_0x453473-0xa7;let _0x58e5ea=_0x4e9c72[_0x453473];return _0x58e5ea;},_0x4534(_0x29c616,_0x5ed1b0);}export default class as extends _0x117117{constructor(_0x4a135a){const _0x49de4d=_0x4534;super(_0x4a135a);const _0x38d810=new _0x4eea66();_0x38d810[_0x49de4d(0xae)]=_0x2c03db[_0x49de4d(0xb1)],this[_0x49de4d(0xaf)]({'tag':_0x49de4d(0xad),'attributes':{'class':['ck',_0x49de4d(0xb4),_0x49de4d(0xaa)]},'children':[_0x38d810,{'tag':_0x49de4d(0xac),'attributes':{'class':['ck',_0x49de4d(0xb7)]},'children':[_0x22434d(_0x4a135a,_0x49de4d(0xb6))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3cbd6d=_0x28d1;(function(_0xc64353,_0x162ef5){const _0x489b94=_0x28d1,_0x349f0a=_0xc64353();while(!![]){try{const _0x473ec7=parseInt(_0x489b94(0xfc))/0x1*(parseInt(_0x489b94(0x115))/0x2)+-parseInt(_0x489b94(0x119))/0x3+parseInt(_0x489b94(0x101))/0x4*(-parseInt(_0x489b94(0x106))/0x5)+-parseInt(_0x489b94(0x10a))/0x6*(-parseInt(_0x489b94(0xff))/0x7)+parseInt(_0x489b94(0x103))/0x8+-parseInt(_0x489b94(0x100))/0x9*(-parseInt(_0x489b94(0x104))/0xa)+-parseInt(_0x489b94(0x114))/0xb;if(_0x473ec7===_0x162ef5)break;else _0x349f0a['push'](_0x349f0a['shift']());}catch(_0xf1dbe8){_0x349f0a['push'](_0x349f0a['shift']());}}}(_0x2e8d,0x63316));import{View as _0x1aeb3d}from'ckeditor5/src/ui.js';function _0x28d1(_0x41daea,_0x29717a){const _0x2e8dca=_0x2e8d();return _0x28d1=function(_0x28d15f,_0x103312){_0x28d15f=_0x28d15f-0xfa;let _0x4900c6=_0x2e8dca[_0x28d15f];return _0x4900c6;},_0x28d1(_0x41daea,_0x29717a);}function _0x2e8d(){const _0x4b770a=['4866440IMRiVl','4520LbPHwY','select','775AGKgYD','_revisionActions','add','createCollection','64794FJMmjc','span','setTemplate','removeRevision','ck-revision-history-sidebar__time-period','ck-revision-history-sidebar__time-period__revisions','remove','localizedPeriodName','div','addRevision','12033956efrasi','34ZnFbdg','ck-revision-history-sidebar__time-period__label','delegate','setName','1938726BXnLFd','locale','find','startDate','41666IciQGg','_requireRevisionName','revisionViews','217TKfLAo','11007KofsOB','1488TleWbq','uiLanguage'];_0x2e8d=function(){return _0x4b770a;};return _0x2e8d();}import _0x146690 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x563d04}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class mi extends _0x1aeb3d{constructor(_0x2a3946,_0x2bb1d5,_0x25da99,_0x2ac839){const _0x102f24=_0x28d1;super(_0x2a3946);const _0x2e0eec=_0x563d04(_0x2bb1d5,this[_0x102f24(0x11a)][_0x102f24(0x102)])[_0x102f24(0x111)];this[_0x102f24(0xfb)]=_0x2bb1d5,this[_0x102f24(0xfe)]=this[_0x102f24(0x109)](),this[_0x102f24(0x107)]=_0x25da99,this[_0x102f24(0xfd)]=_0x2ac839,this[_0x102f24(0xfe)][_0x102f24(0x117)](_0x102f24(0x105))['to'](this),this[_0x102f24(0xfe)][_0x102f24(0x117)](_0x102f24(0x118))['to'](this),this[_0x102f24(0x10c)]({'tag':_0x102f24(0x112),'attributes':{'class':['ck',_0x102f24(0x10e)]},'children':[{'tag':_0x102f24(0x10b),'attributes':{'class':['ck',_0x102f24(0x116)]},'children':[{'text':_0x2e0eec}]},{'tag':_0x102f24(0x112),'attributes':{'class':['ck',_0x102f24(0x10f)]},'children':this[_0x102f24(0xfe)]}]});}[_0x3cbd6d(0x113)](_0x31b977){const _0x286fa1=_0x3cbd6d,_0x4a0b89=new _0x146690(this[_0x286fa1(0x11a)],_0x31b977,this[_0x286fa1(0x107)],this[_0x286fa1(0xfd)]);this[_0x286fa1(0xfe)][_0x286fa1(0x108)](_0x4a0b89);}[_0x3cbd6d(0x10d)](_0x34c645){const _0x2ddbd3=_0x3cbd6d,_0x37f0da=this[_0x2ddbd3(0xfe)][_0x2ddbd3(0xfa)](_0x516f2c=>_0x516f2c['id']===_0x34c645['id']);this[_0x2ddbd3(0xfe)][_0x2ddbd3(0x110)](_0x37f0da);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4020b9=_0x4040;(function(_0x1527bf,_0x5e4f8b){const _0xecf0ee=_0x4040,_0x271489=_0x1527bf();while(!![]){try{const _0x48d153=-parseInt(_0xecf0ee(0x9d))/0x1*(parseInt(_0xecf0ee(0xa8))/0x2)+-parseInt(_0xecf0ee(0xa1))/0x3*(parseInt(_0xecf0ee(0xb4))/0x4)+-parseInt(_0xecf0ee(0xa6))/0x5*(parseInt(_0xecf0ee(0xa3))/0x6)+parseInt(_0xecf0ee(0xa9))/0x7*(-parseInt(_0xecf0ee(0x8d))/0x8)+parseInt(_0xecf0ee(0x9a))/0x9+-parseInt(_0xecf0ee(0x88))/0xa*(parseInt(_0xecf0ee(0xbd))/0xb)+parseInt(_0xecf0ee(0x9e))/0xc;if(_0x48d153===_0x5e4f8b)break;else _0x271489['push'](_0x271489['shift']());}catch(_0x1f0371){_0x271489['push'](_0x271489['shift']());}}}(_0xf269,0x1c8d3));import{View as _0x330998}from'ckeditor5/src/ui.js';import _0x56d5cf from'./revisionssidebartimeperiodview.js';function _0x4040(_0x507229,_0x2a8583){const _0xf26918=_0xf269();return _0x4040=function(_0x4040f7,_0x4dba48){_0x4040f7=_0x4040f7-0x87;let _0x165561=_0xf26918[_0x4040f7];return _0x165561;},_0x4040(_0x507229,_0x2a8583);}import _0x5e7aa1 from'./revisionssidebarheaderview.js';function _0xf269(){const _0x288f1c=['div','addRevision','locale','set','_removeRevision','revisionSetName','fire','4xzbsjE','_addRevision','selectRevision','flat','highlight','ck-revision-history-sidebar__timeline','deselect','_revisionActions','ck-revision-history-sidebar','11WhYcbi','delegate','unhighlight','getTime','87650UjwinB','select','startDate','isEnabled','createCollection','1130856OdIFjC','setName','bindTemplate','highlightRevisions','some','remove','add','get','_revisions','removeRevision','ck-reset','revisionViews','find','1461114BopGAK','revisionSelected','uiLanguage','41HKcPwH','5579976KOrffA','createdAt','ck-disabled','480687RuInPZ','_requireRevisionName','848742UHjxUx','timePeriodViews','ck-rounded-corners','5KRsqIG','setTemplate','2858Cvrlad','7FmUGVT','map','_getTimePeriodViewByStartDate','render'];_0xf269=function(){return _0x288f1c;};return _0xf269();}import{getDateTimePeriodInfo as _0xa17d47}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ci extends _0x330998{constructor(_0x5ce3e0,_0x3c5f37,_0x30b312,_0x519f62){const _0x1177f6=_0x4040;super(_0x5ce3e0);const _0xd070f=this[_0x1177f6(0x8f)];this[_0x1177f6(0xa4)]=this[_0x1177f6(0x8c)](),this[_0x1177f6(0xa4)][_0x1177f6(0xbe)](_0x1177f6(0x89))['to'](this),this[_0x1177f6(0xa4)][_0x1177f6(0xbe)](_0x1177f6(0x8e))['to'](this),this[_0x1177f6(0x95)]=_0x3c5f37,this[_0x1177f6(0xbb)]=_0x30b312,this[_0x1177f6(0xa2)]=_0x519f62,this['on'](_0x1177f6(0x89),(_0x46d62f,_0x328d77)=>{const _0x40873b=_0x1177f6;this[_0x40873b(0xb3)](_0x40873b(0x9b),_0x328d77);}),this['on'](_0x1177f6(0x8e),(_0xed5a12,_0x2a308e)=>{const _0x246b77=_0x1177f6;this[_0x246b77(0xb3)](_0x246b77(0xb2),_0x2a308e);}),this[_0x1177f6(0xb0)](_0x1177f6(0x8b),!0x1),this[_0x1177f6(0xa7)]({'tag':_0x1177f6(0xad),'attributes':{'class':['ck',_0x1177f6(0x97),_0x1177f6(0xa5),_0x1177f6(0xbc)]},'children':[new _0x5e7aa1(_0x5ce3e0),{'tag':_0x1177f6(0xad),'attributes':{'class':['ck',_0x1177f6(0xb9),_0xd070f['if'](_0x1177f6(0x8b),_0x1177f6(0xa0),_0x307e05=>!_0x307e05)]},'children':this[_0x1177f6(0xa4)]}]});}[_0x4020b9(0xac)](){const _0x34026c=_0x4020b9;super[_0x34026c(0xac)]();for(const _0xab66e8 of this[_0x34026c(0x95)])this[_0x34026c(0xb5)](_0xab66e8);this[_0x34026c(0x95)]['on'](_0x34026c(0x93),(_0x306aca,_0x2ef728)=>{const _0x515724=_0x34026c;this[_0x515724(0xb5)](_0x2ef728);}),this[_0x34026c(0x95)]['on'](_0x34026c(0x92),(_0x2f227e,_0xcc2b94)=>{const _0x54a15d=_0x34026c;this[_0x54a15d(0xb1)](_0xcc2b94);});}get[_0x4020b9(0x98)](){const _0x59f946=_0x4020b9;return this[_0x59f946(0xa4)][_0x59f946(0xaa)](_0xf06d41=>_0xf06d41[_0x59f946(0x98)][_0x59f946(0xaa)](_0x42acb8=>_0x42acb8))[_0x59f946(0xb7)]();}[_0x4020b9(0xb6)](_0x2da21c){const _0x4e8908=_0x4020b9;for(const _0x5670d6 of this[_0x4e8908(0x98)])_0x2da21c&&_0x2da21c['id']===_0x5670d6['id']?_0x5670d6[_0x4e8908(0x89)]():_0x5670d6[_0x4e8908(0xba)]();}[_0x4020b9(0x90)](_0x2630fc){const _0x41d722=_0x4020b9;for(const _0x5c1332 of this[_0x41d722(0x98)])_0x2630fc[_0x41d722(0x91)](({id:_0x114e99})=>_0x114e99===_0x5c1332['id'])?_0x5c1332[_0x41d722(0xb8)]():_0x5c1332[_0x41d722(0xbf)]();}[_0x4020b9(0xb5)](_0x4f8c62){const _0x4e7e01=_0x4020b9,_0x3c5324=_0xa17d47(_0x4f8c62[_0x4e7e01(0x9f)],this[_0x4e7e01(0xaf)][_0x4e7e01(0x9c)])[_0x4e7e01(0x8a)];let _0x131c52=this[_0x4e7e01(0xa4)][_0x4e7e01(0x94)](0x0);_0x131c52&&_0x131c52[_0x4e7e01(0x8a)][_0x4e7e01(0x87)]()===_0x3c5324[_0x4e7e01(0x87)]()||(_0x131c52=new _0x56d5cf(this[_0x4e7e01(0xaf)],_0x3c5324,this[_0x4e7e01(0xbb)],this[_0x4e7e01(0xa2)]),this[_0x4e7e01(0xa4)][_0x4e7e01(0x93)](_0x131c52)),_0x131c52[_0x4e7e01(0xae)](_0x4f8c62);}[_0x4020b9(0xb1)](_0x3b9809){const _0x5c550e=_0x4020b9,_0x2a7559=_0xa17d47(_0x3b9809[_0x5c550e(0x9f)],this[_0x5c550e(0xaf)][_0x5c550e(0x9c)])[_0x5c550e(0x8a)];this[_0x5c550e(0xab)](_0x2a7559)[_0x5c550e(0x96)](_0x3b9809);}[_0x4020b9(0xab)](_0x2284da){const _0x598812=_0x4020b9;return this[_0x598812(0xa4)][_0x598812(0x99)](_0x1ef72a=>_0x1ef72a[_0x598812(0x8a)][_0x598812(0x87)]()===_0x2284da[_0x598812(0x87)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2ee8(_0x262b56,_0x1b8908){const _0x24768f=_0x2476();return _0x2ee8=function(_0x2ee8de,_0x1d59be){_0x2ee8de=_0x2ee8de-0xcb;let _0x374d0c=_0x24768f[_0x2ee8de];return _0x374d0c;},_0x2ee8(_0x262b56,_0x1b8908);}(function(_0x128272,_0x1cec72){const _0x209822=_0x2ee8,_0x537df9=_0x128272();while(!![]){try{const _0xebb9f6=-parseInt(_0x209822(0xde))/0x1+parseInt(_0x209822(0xe0))/0x2*(parseInt(_0x209822(0xcd))/0x3)+-parseInt(_0x209822(0xe2))/0x4*(parseInt(_0x209822(0xce))/0x5)+-parseInt(_0x209822(0xdb))/0x6*(-parseInt(_0x209822(0xd7))/0x7)+-parseInt(_0x209822(0xd3))/0x8+-parseInt(_0x209822(0xda))/0x9+parseInt(_0x209822(0xe1))/0xa;if(_0xebb9f6===_0x1cec72)break;else _0x537df9['push'](_0x537df9['shift']());}catch(_0x338672){_0x537df9['push'](_0x537df9['shift']());}}}(_0x2476,0xe6832));function _0x2476(){const _0x38285c=['1672104KFvWdt','minus','20710IkuOyw','46858490WDugDM','123016rfsmhp','toJSDate','day','213LymbQo','305ElwvgJ','toRelativeCalendar','local','startOf','hasSame','6753552VCrSRS','fromJSDate','setLocale','monthLong','77KULFsQ','weekdayLong','week','9658485STsZyL','539226vxxCJx','month','year'];_0x2476=function(){return _0x38285c;};return _0x2476();}import{DateTime as _0x335a3c}from'luxon';export function getDateTimePeriodInfo(_0x20d6f5,_0x50a38b){const _0x2e7362=_0x2ee8,_0x14ddc9=_0x335a3c[_0x2e7362(0xd4)](_0x20d6f5)[_0x2e7362(0xd5)](_0x50a38b),_0x196f29=_0x335a3c[_0x2e7362(0xd0)](),_0x4ba990=_0x196f29[_0x2e7362(0xdf)]({'days':0x1})[_0x2e7362(0xd1)](_0x2e7362(0xcc));let _0x52d186,_0x2b3ca3;return _0x14ddc9[_0x2e7362(0xd2)](_0x196f29,_0x2e7362(0xcc))?(_0x52d186=_0x14ddc9[_0x2e7362(0xd1)](_0x2e7362(0xcc))[_0x2e7362(0xcb)](),_0x2b3ca3=_0x14ddc9[_0x2e7362(0xcf)]()):_0x14ddc9[_0x2e7362(0xd2)](_0x4ba990,_0x2e7362(0xcc))?(_0x52d186=_0x4ba990[_0x2e7362(0xcb)](),_0x2b3ca3=_0x14ddc9[_0x2e7362(0xcf)]()):_0x14ddc9[_0x2e7362(0xd2)](_0x196f29,_0x2e7362(0xd9))?(_0x52d186=_0x14ddc9[_0x2e7362(0xd1)](_0x2e7362(0xd9))[_0x2e7362(0xcb)](),_0x2b3ca3=_0x14ddc9[_0x2e7362(0xd8)]||''):_0x14ddc9[_0x2e7362(0xd2)](_0x196f29,_0x2e7362(0xdd))?(_0x52d186=_0x14ddc9[_0x2e7362(0xd1)](_0x2e7362(0xdc))[_0x2e7362(0xcb)](),_0x2b3ca3=_0x14ddc9[_0x2e7362(0xd6)]||''):(_0x52d186=_0x14ddc9[_0x2e7362(0xd1)](_0x2e7362(0xdd))[_0x2e7362(0xcb)](),_0x2b3ca3=String(_0x14ddc9[_0x2e7362(0xdd)])),{'startDate':_0x52d186,'localizedPeriodName':_0x2b3ca3};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2180(_0x23afe7,_0x43dc3d){const _0x309485=_0x3094();return _0x2180=function(_0x2180eb,_0xadc1d9){_0x2180eb=_0x2180eb-0xfe;let _0x4a25f1=_0x309485[_0x2180eb];return _0x4a25f1;},_0x2180(_0x23afe7,_0x43dc3d);}const _0x11611b=_0x2180;(function(_0x488c63,_0x113b46){const _0x3c8c25=_0x2180,_0xf8e633=_0x488c63();while(!![]){try{const _0x208046=parseInt(_0x3c8c25(0x108))/0x1*(-parseInt(_0x3c8c25(0x111))/0x2)+-parseInt(_0x3c8c25(0x112))/0x3*(parseInt(_0x3c8c25(0x102))/0x4)+-parseInt(_0x3c8c25(0x101))/0x5+parseInt(_0x3c8c25(0x10b))/0x6*(parseInt(_0x3c8c25(0x119))/0x7)+parseInt(_0x3c8c25(0x116))/0x8*(-parseInt(_0x3c8c25(0x118))/0x9)+parseInt(_0x3c8c25(0x100))/0xa+parseInt(_0x3c8c25(0x11d))/0xb*(parseInt(_0x3c8c25(0x106))/0xc);if(_0x208046===_0x113b46)break;else _0xf8e633['push'](_0xf8e633['shift']());}catch(_0xda93a6){_0xf8e633['push'](_0xf8e633['shift']());}}}(_0x3094,0x9f137));import{View as _0x18b208}from'ckeditor5/src/ui.js';import{getTranslation as _0x56c575}from'../../utils/common-translations.js';export default class Z extends _0x18b208{constructor(_0x49c950,_0x552996){const _0xb690cc=_0x2180;super(_0x49c950),this[_0xb690cc(0x11c)]=_0x552996,this[_0xb690cc(0x11b)]=_0x552996['id'];const _0x2cd6a2=this[_0xb690cc(0x103)],_0x365709=_0x56c575(_0x49c950,_0x552996[_0xb690cc(0x105)][_0xb690cc(0xfe)]?_0xb690cc(0x11a):_0xb690cc(0x10a)==_0x552996[_0xb690cc(0x10c)]?_0xb690cc(0x10f):_0xb690cc(0x114));this[_0xb690cc(0x10d)](_0xb690cc(0x10c),_0x552996[_0xb690cc(0x10c)]),this[_0xb690cc(0x11e)]({'tag':_0xb690cc(0x117),'attributes':{'class':[_0xb690cc(0x113),_0xb690cc(0x109),_0x2cd6a2['to'](_0xb690cc(0x10c),_0x5c2ec6=>_0xb690cc(0x115)+_0x5c2ec6)],'tabindex':-0x1},'children':[{'tag':_0xb690cc(0x11f),'children':[{'tag':_0xb690cc(0x11f),'attributes':{'class':[_0xb690cc(0x110)]},'children':[{'text':_0x365709}]},{'text':'\x20'+_0x552996[_0xb690cc(0x10e)][_0xb690cc(0x107)]}]}]});}[_0x11611b(0xff)](){const _0x12e164=_0x11611b;this[_0x12e164(0x104)][_0x12e164(0xff)]();}}function _0x3094(){const _0x52d988=['ck-revision-change__label','2gNgVsO','153867ODZrSj','ck-annotation','Removed\x20by','ck-revision-change__','13968grgOlB','div','5337RxNFZr','1210769tiOLle','Suggested\x20by','changeId','_model','4268nFzwkK','setTemplate','span','isSuggestion','focus','4042400rxOfrt','4876565AFfOYp','48QGsaAA','bindTemplate','element','data','61596RaiHfw','name','155912cBfysB','ck-revision-change','add','36wbplpH','type','set','author','Added\x20by'];_0x3094=function(){return _0x52d988;};return _0x3094();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x40970b,_0x5e88b6){const _0x3072aa=_0x36bf,_0x3c7f68=_0x40970b();while(!![]){try{const _0x31fa4f=parseInt(_0x3072aa(0x120))/0x1+parseInt(_0x3072aa(0x105))/0x2*(-parseInt(_0x3072aa(0x104))/0x3)+parseInt(_0x3072aa(0xfd))/0x4+-parseInt(_0x3072aa(0x116))/0x5*(parseInt(_0x3072aa(0x10f))/0x6)+-parseInt(_0x3072aa(0x125))/0x7*(-parseInt(_0x3072aa(0x10e))/0x8)+-parseInt(_0x3072aa(0xfe))/0x9+parseInt(_0x3072aa(0x11d))/0xa;if(_0x31fa4f===_0x5e88b6)break;else _0x3c7f68['push'](_0x3c7f68['shift']());}catch(_0x471c33){_0x3c7f68['push'](_0x3c7f68['shift']());}}}(_0x3564,0xbf836));import{View as _0x2bc446,ButtonView as _0x1ea58b,ToolbarSeparatorView as _0x5faaf4}from'ckeditor5/src/ui.js';import{getTranslation as _0x128a40}from'../../utils/common-translations.js';import _0x16906b from'../../../theme/icons/arrow-up.svg';import _0x3bb954 from'../../../theme/icons/arrow-down.svg';function _0x3564(){const _0x4d084a=['Show\x20previous\x20change','forward','8743LUEgII','ck-revision-history-ui__changes-navigation__label','isEnabled','3490588QQxgLV','4372047GrFWiC','ck-revision-history-ui__changes-navigation','bind','_isStatusLabelVisible','set','isReady','3FwYoCX','1931774UimAOQ','isBackwardNavigationEnabled','NUMBER_OF_CHANGES','execute','ck-hidden','fire','backward','Show\x20next\x20change','_statusText','72IPVQAd','6yBiTOq','numberOfChanges','setTemplate','X_OF_Y_CHANGES','isForwardNavigationEnabled','EDIT_X_OF_Y_REVISIONS','span','5710910ysOmWP','currentChangeNumber','ck-revision-history-ui__changes-navigation__wrapper','Loading...','div','ck-revision-history-ui','ck-revision-history-ui__changes-navigation__navigation','11447100YFafro','bindTemplate','No\x20changes','1349692WUkwTL','Total','isNavigationMode'];_0x3564=function(){return _0x4d084a;};return _0x3564();}import'../../../theme/changesnavigation.css';function _0x36bf(_0x1c5c37,_0x411473){const _0x3564f6=_0x3564();return _0x36bf=function(_0x36bf15,_0x3567b4){_0x36bf15=_0x36bf15-0xfb;let _0xcce8e9=_0x3564f6[_0x36bf15];return _0xcce8e9;},_0x36bf(_0x1c5c37,_0x411473);}export default class _i extends _0x2bc446{constructor(_0x373943){const _0x37ab91=_0x36bf;super(_0x373943);const _0x2789f1=this[_0x37ab91(0x11e)],_0x3864db=new _0x1ea58b(_0x373943),_0x282500=new _0x1ea58b(_0x373943);this[_0x37ab91(0x102)](_0x37ab91(0x122),!0x1),this[_0x37ab91(0x102)](_0x37ab91(0x103),!0x1),this[_0x37ab91(0x102)](_0x37ab91(0x117),0x0),this[_0x37ab91(0x102)](_0x37ab91(0x110),0x0),this[_0x37ab91(0x102)](_0x37ab91(0x113),!0x1),this[_0x37ab91(0x102)](_0x37ab91(0x106),!0x1),this[_0x37ab91(0x100)](_0x37ab91(0x101))['to'](this,_0x37ab91(0x103),this,_0x37ab91(0x110),(_0x59de7a,_0x5237dc)=>_0x59de7a&&_0x5237dc>0x0),this[_0x37ab91(0x100)](_0x37ab91(0x10d))['to'](this,_0x37ab91(0x103),this,_0x37ab91(0x117),this,_0x37ab91(0x110),this,_0x37ab91(0x122),(_0x7d1ad0,_0x25df58,_0x32300f,_0x4211da)=>{const _0x409771=_0x37ab91;if(!_0x7d1ad0)return _0x128a40(_0x373943,_0x409771(0x119));if(!_0x32300f)return _0x128a40(_0x373943,_0x409771(0x11f));const _0x485bdd=_0x128a40(_0x373943,_0x409771(0x107),_0x32300f);return _0x4211da?_0x128a40(_0x373943,_0x409771(0x112),[_0x25df58+0x1,_0x32300f]):_0x485bdd;}),_0x3864db[_0x37ab91(0x102)]({'label':_0x128a40(_0x373943,_0x37ab91(0x123)),'tooltip':!0x0,'icon':_0x16906b}),_0x282500[_0x37ab91(0x102)]({'label':_0x128a40(_0x373943,_0x37ab91(0x10c)),'tooltip':!0x0,'icon':_0x3bb954}),_0x3864db[_0x37ab91(0x100)](_0x37ab91(0xfc))['to'](this,_0x37ab91(0x106)),_0x282500[_0x37ab91(0x100)](_0x37ab91(0xfc))['to'](this,_0x37ab91(0x113)),_0x3864db['on'](_0x37ab91(0x108),()=>this[_0x37ab91(0x10a)](_0x37ab91(0x108),_0x37ab91(0x10b))),_0x282500['on'](_0x37ab91(0x108),()=>this[_0x37ab91(0x10a)](_0x37ab91(0x108),_0x37ab91(0x124))),this[_0x37ab91(0x111)]({'tag':_0x37ab91(0x11a),'attributes':{'class':['ck',_0x37ab91(0x11b),_0x37ab91(0xff)]},'children':[{'tag':_0x37ab91(0x115),'attributes':{'class':[_0x37ab91(0x118)]},'children':[{'tag':_0x37ab91(0x115),'attributes':{'class':[_0x37ab91(0xfb),_0x2789f1['if'](_0x37ab91(0x101),_0x37ab91(0x109),_0x14bf79=>!_0x14bf79)]},'children':[{'text':_0x2789f1['to'](_0x37ab91(0x122),_0x48fc03=>_0x48fc03?_0x128a40(_0x373943,_0x37ab91(0x114))+':\x20':_0x128a40(_0x373943,_0x37ab91(0x121))+':\x20')}]},{'text':_0x2789f1['to'](_0x37ab91(0x10d))}]},new _0x5faaf4(),{'tag':_0x37ab91(0x11a),'attributes':{'class':[_0x37ab91(0x11c)]},'children':[_0x3864db,_0x282500]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x491d1f=_0x43fb;(function(_0x28a762,_0x2e10cd){const _0x3cffc7=_0x43fb,_0x39c8f4=_0x28a762();while(!![]){try{const _0x44c64b=-parseInt(_0x3cffc7(0xe3))/0x1+-parseInt(_0x3cffc7(0xe9))/0x2+parseInt(_0x3cffc7(0xf0))/0x3+parseInt(_0x3cffc7(0xf1))/0x4*(-parseInt(_0x3cffc7(0xe2))/0x5)+-parseInt(_0x3cffc7(0xf8))/0x6*(parseInt(_0x3cffc7(0xee))/0x7)+parseInt(_0x3cffc7(0xf7))/0x8*(-parseInt(_0x3cffc7(0xf4))/0x9)+-parseInt(_0x3cffc7(0xe4))/0xa*(-parseInt(_0x3cffc7(0xf3))/0xb);if(_0x44c64b===_0x2e10cd)break;else _0x39c8f4['push'](_0x39c8f4['shift']());}catch(_0x15d20b){_0x39c8f4['push'](_0x39c8f4['shift']());}}}(_0x50f1,0x26cf9));import{Plugin as _0x233cda}from'ckeditor5/src/core.js';const ce=_0x491d1f(0xf9);import'../../../theme/revisionviewerloadingoverlay.css';function _0x43fb(_0x288ff6,_0x3d5372){const _0x50f113=_0x50f1();return _0x43fb=function(_0x43fbee,_0x3cdd2a){_0x43fbee=_0x43fbee-0xe2;let _0x98a62d=_0x50f113[_0x43fbee];return _0x98a62d;},_0x43fb(_0x288ff6,_0x3d5372);}function _0x50f1(){const _0x153efd=['17413loVewW','114372zMrhWr','removeClass','document','8nqCmLD','3834KSZVcc','ck-editor__editable__loading-overlay','5TaFqcG','187710aLHtUz','4990bCgxEg','RevisionViewerLoadingOverlay','editing','hide','view','578670dpFqbI','pluginName','change','editor','show','3465QwIJRd','roots','878601oJIUnR','471028nwOPhq','addClass'];_0x50f1=function(){return _0x153efd;};return _0x50f1();}export default class de extends _0x233cda{static get[_0x491d1f(0xea)](){const _0x2c76df=_0x491d1f;return _0x2c76df(0xe5);}[_0x491d1f(0xed)](){const _0x57db64=_0x491d1f,_0x5e9124=this[_0x57db64(0xec)][_0x57db64(0xe6)][_0x57db64(0xe8)];_0x5e9124[_0x57db64(0xeb)](_0x2e373b=>{const _0x29fb9d=_0x57db64;for(const _0x283d2d of _0x5e9124[_0x29fb9d(0xf6)][_0x29fb9d(0xef)])_0x2e373b[_0x29fb9d(0xf2)](ce,_0x283d2d);});}[_0x491d1f(0xe7)](){const _0x581414=_0x491d1f,_0x573d6f=this[_0x581414(0xec)][_0x581414(0xe6)][_0x581414(0xe8)];_0x573d6f[_0x581414(0xeb)](_0x1d4229=>{const _0x215207=_0x581414;for(const _0x5c2089 of _0x573d6f[_0x215207(0xf6)][_0x215207(0xef)])_0x1d4229[_0x215207(0xf5)](ce,_0x5c2089);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x19ef(_0xc4f10d,_0x39a401){const _0x32ca16=_0x32ca();return _0x19ef=function(_0x19ef5e,_0xaab710){_0x19ef5e=_0x19ef5e-0x1b8;let _0x29e389=_0x32ca16[_0x19ef5e];return _0x29e389;},_0x19ef(_0xc4f10d,_0x39a401);}const _0x218fc0=_0x19ef;(function(_0x354acc,_0xf4e13c){const _0x190c44=_0x19ef,_0x59faf6=_0x354acc();while(!![]){try{const _0x371f7a=-parseInt(_0x190c44(0x1d5))/0x1*(-parseInt(_0x190c44(0x1bb))/0x2)+-parseInt(_0x190c44(0x1cd))/0x3+-parseInt(_0x190c44(0x1e0))/0x4+-parseInt(_0x190c44(0x1bc))/0x5+parseInt(_0x190c44(0x1cf))/0x6+-parseInt(_0x190c44(0x1db))/0x7+parseInt(_0x190c44(0x1ca))/0x8*(parseInt(_0x190c44(0x1d0))/0x9);if(_0x371f7a===_0xf4e13c)break;else _0x59faf6['push'](_0x59faf6['shift']());}catch(_0x274de2){_0x59faf6['push'](_0x59faf6['shift']());}}}(_0x32ca,0x37ebc));function _0x32ca(){const _0x335d38=['commands','currentChangeNumber','show','requires','212312jayXGN','add','init','255093wCEzHU','isReady','540186DmKnnz','279DDYiAO','config','isForwardNavigationEnabled','isEnabled','listenTo','54743RXHdul','pluginName','isNavigationMode','isBackwardNavigationEnabled','showNextChange','revisionHistory','2153746dHIzjI','Back\x20to\x20editing','changesNavigation','get','exitToEditing','805640uDclJm','bind','RevisionViewerUI','componentFactory','set','Restore\x20this\x20revision','change:isReady','hide','plugins','8vUlIKk','1542705fZnGVi','restoreRevision','undo','ck-revision-history-ui__back-to-editing','editor','execute','numberOfChanges','closeRevisionViewerCallback','forward','showPreviousChange'];_0x32ca=function(){return _0x335d38;};return _0x32ca();}import{icons as _0x9fc5ab,Plugin as _0x5e6998}from'ckeditor5/src/core.js';import{ButtonView as _0x5eb185}from'ckeditor5/src/ui.js';import _0x411f91 from'./changesnavigationview.js';import _0x3d2a19 from'./../../revisionviewer.js';import _0x329e2a from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x161acb}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x5e6998{static get[_0x218fc0(0x1d6)](){const _0x5d8a20=_0x218fc0;return _0x5d8a20(0x1e2);}static get[_0x218fc0(0x1c9)](){return[_0x3d2a19,_0x329e2a];}[_0x218fc0(0x1cc)](){const _0x53afa6=_0x218fc0,_0x16a673=this[_0x53afa6(0x1c0)],_0x26417f=_0x16a673[_0x53afa6(0x1ba)][_0x53afa6(0x1de)](_0x3d2a19),_0x232e94=_0x16a673[_0x53afa6(0x1ba)][_0x53afa6(0x1de)](_0x329e2a);_0x16a673['ui'][_0x53afa6(0x1e3)][_0x53afa6(0x1cb)](_0x53afa6(0x1df),_0x12a44c=>{const _0x5bdafb=_0x53afa6,_0x4662f6=new _0x5eb185(_0x12a44c);return _0x4662f6[_0x5bdafb(0x1e4)]({'label':_0x161acb(_0x12a44c,_0x5bdafb(0x1dc)),'icon':_0x9fc5ab[_0x5bdafb(0x1be)],'withText':!0x0,'tooltip':!0x0,'class':_0x5bdafb(0x1bf)}),this[_0x5bdafb(0x1d4)](_0x4662f6,_0x5bdafb(0x1c1),()=>{const _0x40a37c=_0x5bdafb;_0x16a673[_0x40a37c(0x1d1)][_0x40a37c(0x1de)](_0x40a37c(0x1da))[_0x40a37c(0x1c3)]();}),_0x4662f6;}),_0x16a673['ui'][_0x53afa6(0x1e3)][_0x53afa6(0x1cb)](_0x53afa6(0x1bd),_0x272fad=>{const _0x451b43=_0x53afa6,_0x156f10=new _0x5eb185(_0x272fad);return _0x156f10[_0x451b43(0x1e4)]({'label':_0x161acb(_0x272fad,_0x451b43(0x1e5)),'withText':!0x0,'tooltip':!0x0}),_0x156f10[_0x451b43(0x1e1)](_0x451b43(0x1d3))['to'](_0x16a673[_0x451b43(0x1c6)][_0x451b43(0x1de)](_0x451b43(0x1bd))),this[_0x451b43(0x1d4)](_0x156f10,_0x451b43(0x1c1),()=>_0x16a673[_0x451b43(0x1c1)](_0x451b43(0x1bd))),_0x156f10;}),_0x16a673['ui'][_0x53afa6(0x1e3)][_0x53afa6(0x1cb)](_0x53afa6(0x1dd),_0x413163=>{const _0x408d65=_0x53afa6,_0x2dd2c0=new _0x411f91(_0x413163),_0x1fcec6=_0x16a673[_0x408d65(0x1c6)][_0x408d65(0x1de)](_0x408d65(0x1c5)),_0x1a8861=_0x16a673[_0x408d65(0x1c6)][_0x408d65(0x1de)](_0x408d65(0x1d9));return _0x2dd2c0[_0x408d65(0x1e1)](_0x408d65(0x1d8))['to'](_0x1fcec6,_0x408d65(0x1d3)),_0x2dd2c0[_0x408d65(0x1e1)](_0x408d65(0x1d2))['to'](_0x1a8861,_0x408d65(0x1d3)),_0x2dd2c0[_0x408d65(0x1e1)](_0x408d65(0x1ce),_0x408d65(0x1c7),_0x408d65(0x1c2),_0x408d65(0x1d7))['to'](_0x26417f),this[_0x408d65(0x1d4)](_0x2dd2c0,_0x408d65(0x1c1),(_0x5685e4,_0x3eb1f3)=>{const _0x57b7db=_0x408d65;_0x16a673[_0x57b7db(0x1c1)](_0x57b7db(0x1c4)===_0x3eb1f3?_0x57b7db(0x1d9):_0x57b7db(0x1c5));}),_0x2dd2c0;}),_0x232e94[_0x53afa6(0x1c8)](),_0x26417f['on'](_0x53afa6(0x1b8),(_0x2a7cdd,_0x52cc68,_0xf80e46)=>{const _0x264ac4=_0x53afa6;_0xf80e46?_0x232e94[_0x264ac4(0x1b9)]():_0x232e94[_0x264ac4(0x1c8)]();});}}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module revision-history/utils/common-translations
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
9
9
|
export declare function getTranslation(locale: Locale, id: string, values?: TranslationValues): string;
|
|
10
10
|
type TranslationValues = number | string | ReadonlyArray<number | string>;
|
|
11
11
|
export {};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x4468df,_0x401c7b,_0x460631){const t=_0x4468df['t'];switch(_0x401c7b){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'},_0x460631);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x460631);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'';}}
|