@ckeditor/ckeditor5-revision-history 47.0.0-alpha.8 → 47.0.0-alpha.9
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.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +12 -12
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.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 +2 -2
- 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 +2 -2
- 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,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x3902(){const _0x465f35=['arrowdown','ck-responsive-form','383822qWxMsw','ck-revision-history-save-revision-form','form','extendTemplate','render','add','value','195123PeOJSH','focus','label','fieldView','setTemplate','trim','revisionNameInputValue','revisionName','stopPropagation','220','1QJVLUu','arrowup','keystrokes','input','optional','element','1335204VyTIkc','reset','_createRevisionNameInput','errorText','arrowleft','initializeCssTransitionDisablerMixin','arrowright','3955167TJiYFH','set','2062448SEZbvt','1317498eMlqwu','507515iBmimV','locale','revisionNameInputView','listenTo','6txTmWf','Name\x20of\x20the\x20revision','focusTracker'];_0x3902=function(){return _0x465f35;};return _0x3902();}const _0x35ebe8=_0x4396;(function(_0x2702b4,_0x14855a){const _0x4f3664=_0x4396,_0x17c652=_0x2702b4();while(!![]){try{const _0x4216b8=-parseInt(_0x4f3664(0x175))/0x1*(parseInt(_0x4f3664(0x18f))/0x2)+-parseInt(_0x4f3664(0x196))/0x3+parseInt(_0x4f3664(0x17b))/0x4+parseInt(_0x4f3664(0x186))/0x5*(parseInt(_0x4f3664(0x18a))/0x6)+parseInt(_0x4f3664(0x185))/0x7+parseInt(_0x4f3664(0x184))/0x8+-parseInt(_0x4f3664(0x182))/0x9;if(_0x4216b8===_0x14855a)break;else _0x17c652['push'](_0x17c652['shift']());}catch(_0x4fceca){_0x17c652['push'](_0x17c652['shift']());}}}(_0x3902,0x2d24d));import{CssTransitionDisablerMixin as _0x440ebc,LabeledFieldView as _0x2e434c,View as _0x24eb41,createLabeledInputText as _0x4eb3d7,submitHandler as _0x45864b}from'ckeditor5/src/ui.js';import{FocusTracker as _0x223271,KeystrokeHandler as _0x45844e}from'ckeditor5/src/utils.js';function _0x4396(_0x241607,_0x3f5b43){const _0x390227=_0x3902();return _0x4396=function(_0x43962e,_0x22c85e){_0x43962e=_0x43962e-0x16f;let _0x5f36fd=_0x390227[_0x43962e];return _0x5f36fd;},_0x4396(_0x241607,_0x3f5b43);}import{getTranslation as _0x5b397a}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x440ebc(_0x24eb41){[_0x35ebe8(0x18c)];[_0x35ebe8(0x177)];[_0x35ebe8(0x188)];constructor(_0x5a66f2,_0x191229){const _0x32c2e2=_0x35ebe8;super(_0x5a66f2),this[_0x32c2e2(0x18c)]=new _0x223271(),this[_0x32c2e2(0x177)]=new _0x45844e(),this[_0x32c2e2(0x183)](_0x32c2e2(0x171),''),this[_0x32c2e2(0x188)]=this[_0x32c2e2(0x17d)](_0x191229),this[_0x32c2e2(0x16f)]({'tag':_0x32c2e2(0x191),'attributes':{'class':['ck',_0x32c2e2(0x190),_0x32c2e2(0x18e)],'tabindex':'-1'},'children':[this[_0x32c2e2(0x188)]]}),this[_0x32c2e2(0x180)]();}[_0x35ebe8(0x193)](){const _0x567772=_0x35ebe8;super[_0x567772(0x193)](),_0x45864b({'view':this}),this[_0x567772(0x18c)][_0x567772(0x194)](this[_0x567772(0x188)][_0x567772(0x17a)]),this[_0x567772(0x177)][_0x567772(0x189)](this[_0x567772(0x17a)]);const _0x44ea58=_0x47c95b=>_0x47c95b[_0x567772(0x173)]();this[_0x567772(0x177)][_0x567772(0x183)](_0x567772(0x181),_0x44ea58),this[_0x567772(0x177)][_0x567772(0x183)](_0x567772(0x17f),_0x44ea58),this[_0x567772(0x177)][_0x567772(0x183)](_0x567772(0x176),_0x44ea58),this[_0x567772(0x177)][_0x567772(0x183)](_0x567772(0x18d),_0x44ea58);}[_0x35ebe8(0x197)](){const _0x307d2b=_0x35ebe8;this[_0x307d2b(0x188)][_0x307d2b(0x197)]();}get[_0x35ebe8(0x172)](){const _0x493fdb=_0x35ebe8;return this[_0x493fdb(0x188)][_0x493fdb(0x199)][_0x493fdb(0x17a)][_0x493fdb(0x195)][_0x493fdb(0x170)]();}set[_0x35ebe8(0x172)](_0x4461aa){const _0x27c9c9=_0x35ebe8;this[_0x27c9c9(0x188)][_0x27c9c9(0x199)][_0x27c9c9(0x17a)][_0x27c9c9(0x195)]=_0x4461aa[_0x27c9c9(0x170)]();}[_0x35ebe8(0x17c)](){const _0x36643f=_0x35ebe8;this[_0x36643f(0x188)][_0x36643f(0x199)][_0x36643f(0x17a)][_0x36643f(0x195)]='',this[_0x36643f(0x188)][_0x36643f(0x17e)]=null;}[_0x35ebe8(0x17d)](_0x3f59f4){const _0x2c0a06=_0x35ebe8,_0x1efbd5=new _0x2e434c(this[_0x2c0a06(0x187)],_0x4eb3d7),_0x2fcee1=_0x1efbd5[_0x2c0a06(0x199)];_0x2fcee1[_0x2c0a06(0x192)]({'attributes':{'maxlength':_0x2c0a06(0x174)}});let _0x42631e=_0x5b397a(this[_0x2c0a06(0x187)],_0x2c0a06(0x18b));return!_0x3f59f4&&(_0x42631e+='\x20('+_0x5b397a(this[_0x2c0a06(0x187)],_0x2c0a06(0x179))+')'),(_0x1efbd5[_0x2c0a06(0x198)]=_0x42631e,_0x2fcee1['on'](_0x2c0a06(0x178),()=>{const _0x3a9e6a=_0x2c0a06;this[_0x3a9e6a(0x171)]=_0x2fcee1[_0x3a9e6a(0x17a)][_0x3a9e6a(0x195)][_0x3a9e6a(0x170)]();}),_0x1efbd5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x54fd(_0x1486a3,_0x41bb26){const _0x49d78e=_0x49d7();return _0x54fd=function(_0x54fdcd,_0x1d9621){_0x54fdcd=_0x54fdcd-0x100;let _0x2eeb50=_0x49d78e[_0x54fdcd];return _0x2eeb50;},_0x54fd(_0x1486a3,_0x41bb26);}const _0x3b3c7e=_0x54fd;(function(_0xd73a3e,_0x377eb1){const _0x48501f=_0x54fd,_0x50fdc5=_0xd73a3e();while(!![]){try{const _0x46a7f0=-parseInt(_0x48501f(0x125))/0x1+-parseInt(_0x48501f(0x13b))/0x2*(-parseInt(_0x48501f(0x142))/0x3)+-parseInt(_0x48501f(0x135))/0x4+parseInt(_0x48501f(0x12d))/0x5*(-parseInt(_0x48501f(0x137))/0x6)+-parseInt(_0x48501f(0x122))/0x7+parseInt(_0x48501f(0x111))/0x8+parseInt(_0x48501f(0x104))/0x9;if(_0x46a7f0===_0x377eb1)break;else _0x50fdc5['push'](_0x50fdc5['shift']());}catch(_0x27229b){_0x50fdc5['push'](_0x50fdc5['shift']());}}}(_0x49d7,0x830e4));import{Plugin as _0x1e1cd6}from'ckeditor5/src/core.js';function _0x49d7(){const _0x16f928=['Dialog','role','set','delegate','2523664LWvVvF','isReady','get','children','view','revisionName','addMany','menuBar:revisionHistory','pluginName','reset','menuitem','editing','revisionHistory.requireRevisionName','Accept','locale','Save\x20current\x20revision','focus','904155fbPEaI','add','Cancel','683255vcKQiX','items','init','errorText','panelView','_registerMenuComponent','_showDialog','requires','1194635XcATgb','revisionHistory','isEnabled','componentFactory','isReadOnly','Open\x20revision\x20history','isOfficialPlugin','Revision\x20history','2872252xxeCiJ','showRevisionViewerCallback','12zaZIKI','execute','saveRevision','revisionNameInputView','4aRzXkk','isOpen','plugins','isPremiumPlugin','show','RevisionTracker','buttonView','341736fimnmB','editor','_saveRevisionFormView','render','The\x20revision\x20name\x20cannot\x20be\x20empty.','revisionSave','18016731JvUlvF','_createSaveRevisionFormView','config','hide','ck-button-action','bind','submit','menu','RevisionHistoryUI'];_0x49d7=function(){return _0x16f928;};return _0x49d7();}import{IconHistory as _0xb6a15f}from'ckeditor5/src/icons.js';import{createDropdown as _0x1b7f90,ButtonView as _0x4f1249,ListItemView as _0x1d6954,ListView as _0x385903,MenuBarMenuListItemButtonView as _0xbbbc20,MenuBarMenuListItemView as _0x372e62,MenuBarMenuListView as _0x51c47d,MenuBarMenuView as _0xe1782e}from'ckeditor5/src/ui.js';import{RevisionTracker as _0x839de0}from'../../revisiontracker.js';import{RevisionHistorySaveRevisionFormView as _0x3ddc98}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x17d14a}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0x1e1cd6{static get[_0x3b3c7e(0x119)](){const _0x46ad60=_0x3b3c7e;return _0x46ad60(0x10c);}static get[_0x3b3c7e(0x133)](){return!0x0;}static get[_0x3b3c7e(0x13e)](){return!0x0;}static get[_0x3b3c7e(0x12c)](){return[_0x839de0];}[_0x3b3c7e(0x100)];[_0x3b3c7e(0x127)](){const _0x3f630=_0x3b3c7e,_0x1580fd=this[_0x3f630(0x143)],_0x349fae=_0x1580fd[_0x3f630(0x13d)][_0x3f630(0x113)](_0x3f630(0x140));_0x1580fd['ui'][_0x3f630(0x130)][_0x3f630(0x123)](_0x3f630(0x12e),_0x1f8e40=>{const _0xe95648=_0x3f630,_0x273d1d=_0x1b7f90(_0x1f8e40),_0x59132e=_0x273d1d[_0xe95648(0x129)][_0xe95648(0x114)],_0x630f76=new _0x385903(_0x1f8e40),_0x5325a7=new _0x1d6954(_0x1f8e40),_0x18caca=new _0x4f1249(_0x1f8e40),_0x1da4ae=new _0x1d6954(_0x1f8e40),_0x50b46b=new _0x4f1249(_0x1f8e40);return _0x273d1d[_0xe95648(0x109)](_0xe95648(0x12f))['to'](_0x349fae,_0xe95648(0x112),_0x349fae,_0xe95648(0x12f),_0x1580fd,_0xe95648(0x131),(_0x25cc0d,_0x48cdd0,_0x4f7b56)=>_0x25cc0d&&_0x48cdd0&&!_0x4f7b56),_0x273d1d[_0xe95648(0x141)][_0xe95648(0x10f)]({'icon':_0xb6a15f,'label':_0x17d14a(_0x1f8e40,_0xe95648(0x134)),'tooltip':!0x0}),_0x18caca[_0xe95648(0x10f)]({'label':_0x17d14a(_0x1f8e40,_0xe95648(0x120)),'withText':!0x0,'role':_0xe95648(0x11b)}),_0x18caca[_0xe95648(0x109)](_0xe95648(0x12f))['to'](_0x349fae,_0xe95648(0x112),_0x349fae,_0xe95648(0x12f),_0x1580fd,_0xe95648(0x131),(_0x26306b,_0x2328ca,_0x44434a)=>_0x26306b&&_0x2328ca&&!_0x44434a),_0x18caca['on'](_0xe95648(0x138),()=>this[_0xe95648(0x12b)]()),_0x50b46b[_0xe95648(0x10f)]({'label':_0x17d14a(_0x1f8e40,_0xe95648(0x132)),'withText':!0x0,'role':_0xe95648(0x11b)}),_0x50b46b[_0xe95648(0x109)](_0xe95648(0x12f))['to'](_0x349fae,_0xe95648(0x112),_0x1580fd,_0xe95648(0x131),(_0x4e6fd7,_0x773d11)=>_0x4e6fd7&&!_0x773d11),_0x50b46b['on'](_0xe95648(0x138),()=>{const _0x481562=_0xe95648;_0x1580fd[_0x481562(0x106)][_0x481562(0x113)](_0x481562(0x12e))[_0x481562(0x136)](),_0x273d1d[_0x481562(0x13c)]=!0x1,_0x1580fd[_0x481562(0x11c)][_0x481562(0x115)][_0x481562(0x121)]();}),_0x5325a7[_0xe95648(0x114)][_0xe95648(0x123)](_0x18caca),_0x1da4ae[_0xe95648(0x114)][_0xe95648(0x123)](_0x50b46b),_0x630f76[_0xe95648(0x10e)]=_0xe95648(0x10b),_0x630f76[_0xe95648(0x126)][_0xe95648(0x117)]([_0x5325a7,_0x1da4ae]),_0x59132e[_0xe95648(0x123)](_0x630f76),_0x273d1d;}),_0x1580fd['ui'][_0x3f630(0x130)][_0x3f630(0x123)](_0x3f630(0x118),()=>this[_0x3f630(0x12a)]());}[_0x3b3c7e(0x12a)](){const _0x5466fe=_0x3b3c7e,_0x42f4ce=this[_0x5466fe(0x143)],_0x2dde19=_0x42f4ce[_0x5466fe(0x11f)],_0x2a1dc9=new _0xe1782e(_0x2dde19),_0x51f531=new _0x51c47d(_0x2dde19);_0x2a1dc9[_0x5466fe(0x141)][_0x5466fe(0x10f)]({'icon':_0xb6a15f,'label':_0x17d14a(_0x2dde19,_0x5466fe(0x134))});const _0x293dd0=new _0x372e62(_0x2dde19,_0x2a1dc9),_0x402909=new _0xbbbc20(_0x2dde19);_0x402909[_0x5466fe(0x10f)]({'label':_0x17d14a(_0x2dde19,_0x5466fe(0x120))}),_0x402909[_0x5466fe(0x110)](_0x5466fe(0x138))['to'](_0x2a1dc9),_0x402909['on'](_0x5466fe(0x138),()=>{const _0x46eb0a=_0x5466fe;this[_0x46eb0a(0x12b)]();}),_0x293dd0[_0x5466fe(0x114)][_0x5466fe(0x123)](_0x402909),_0x51f531[_0x5466fe(0x126)][_0x5466fe(0x123)](_0x293dd0);const _0x4e8e69=new _0x372e62(_0x2dde19,_0x2a1dc9),_0xab234f=new _0xbbbc20(_0x2dde19);return _0xab234f[_0x5466fe(0x10f)]({'label':_0x17d14a(_0x2dde19,_0x5466fe(0x132))}),_0xab234f[_0x5466fe(0x110)](_0x5466fe(0x138))['to'](_0x2a1dc9),_0xab234f['on'](_0x5466fe(0x138),()=>{const _0x13cce8=_0x5466fe;_0x42f4ce[_0x13cce8(0x106)][_0x13cce8(0x113)](_0x13cce8(0x12e))[_0x13cce8(0x136)]();}),_0x4e8e69[_0x5466fe(0x114)][_0x5466fe(0x123)](_0xab234f),_0x51f531[_0x5466fe(0x126)][_0x5466fe(0x123)](_0x4e8e69),_0x2a1dc9[_0x5466fe(0x129)][_0x5466fe(0x114)][_0x5466fe(0x123)](_0x51f531),_0x2a1dc9;}[_0x3b3c7e(0x12b)](){const _0x185a7e=_0x3b3c7e,_0x41bae5=this[_0x185a7e(0x143)],_0x488826=_0x41bae5[_0x185a7e(0x11f)],_0x41c777=_0x41bae5[_0x185a7e(0x13d)][_0x185a7e(0x113)](_0x185a7e(0x10d)),_0x269f33=_0x41bae5[_0x185a7e(0x13d)][_0x185a7e(0x113)](_0x185a7e(0x140));function _0x543dd7(_0x12eee9){const _0x17bd1c=_0x185a7e;_0x41bae5[_0x17bd1c(0x106)][_0x17bd1c(0x113)](_0x17bd1c(0x11d))&&''===_0x12eee9[_0x17bd1c(0x116)]?_0x12eee9[_0x17bd1c(0x13a)][_0x17bd1c(0x128)]=_0x17d14a(_0x488826,_0x17bd1c(0x102)):(_0x41bae5[_0x17bd1c(0x13d)][_0x17bd1c(0x113)](_0x839de0)[_0x17bd1c(0x139)]({'name':_0x12eee9[_0x17bd1c(0x116)]}),_0x41c777[_0x17bd1c(0x107)]());}this[_0x185a7e(0x100)]||(this[_0x185a7e(0x105)](),this[_0x185a7e(0x100)]['on'](_0x185a7e(0x10a),()=>_0x543dd7(this[_0x185a7e(0x100)]))),this[_0x185a7e(0x100)][_0x185a7e(0x11a)](),_0x41c777[_0x185a7e(0x13f)]({'id':_0x185a7e(0x103),'title':_0x17d14a(_0x488826,_0x185a7e(0x120)),'isModal':!0x0,'content':this[_0x185a7e(0x100)],'actionButtons':[{'label':_0x17d14a(_0x41bae5[_0x185a7e(0x11f)],_0x185a7e(0x124)),'withText':!0x0,'onExecute':()=>_0x41c777[_0x185a7e(0x107)]()},{'label':_0x17d14a(_0x41bae5[_0x185a7e(0x11f)],_0x185a7e(0x11e)),'class':_0x185a7e(0x108),'withText':!0x0,'onCreate'(_0x5d4f48){const _0x2bf6c2=_0x185a7e;_0x5d4f48[_0x2bf6c2(0x109)](_0x2bf6c2(0x12f))['to'](_0x269f33,_0x2bf6c2(0x112),_0x269f33,_0x2bf6c2(0x12f),_0x41bae5,_0x2bf6c2(0x131),(_0x467ad5,_0x58bf8a,_0x12d5f2)=>_0x467ad5&&_0x58bf8a&&!_0x12d5f2);},'onExecute':()=>_0x543dd7(this[_0x185a7e(0x100)])}]});}[_0x3b3c7e(0x105)](){const _0x5e2d72=_0x3b3c7e,_0x27899f=this[_0x5e2d72(0x143)],_0x6e353e=_0x27899f[_0x5e2d72(0x11f)];this[_0x5e2d72(0x100)]=new _0x3ddc98(_0x6e353e,_0x27899f[_0x5e2d72(0x106)][_0x5e2d72(0x113)](_0x5e2d72(0x11d))),this[_0x5e2d72(0x100)][_0x5e2d72(0x101)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46c1a4=_0x2fa3;(function(_0x1880c6,_0x3a4da0){const _0x141fec=_0x2fa3,_0x53a19b=_0x1880c6();while(!![]){try{const _0x32581d=parseInt(_0x141fec(0x12d))/0x1+-parseInt(_0x141fec(0x145))/0x2+parseInt(_0x141fec(0x116))/0x3*(-parseInt(_0x141fec(0x12b))/0x4)+-parseInt(_0x141fec(0x14b))/0x5+parseInt(_0x141fec(0xff))/0x6+parseInt(_0x141fec(0x100))/0x7*(parseInt(_0x141fec(0x13b))/0x8)+-parseInt(_0x141fec(0x105))/0x9*(parseInt(_0x141fec(0x142))/0xa);if(_0x32581d===_0x3a4da0)break;else _0x53a19b['push'](_0x53a19b['shift']());}catch(_0x3899f8){_0x53a19b['push'](_0x53a19b['shift']());}}}(_0x4547,0x5891c));function _0x4547(){const _0x547166=['compareAgainstSelected','isEnabled','element','isOfficialPlugin','revisionHistory.viewerSidebarContainer','requires','bind','_handleEditorDataReady','listenTo','init','plugins','_revisions','add','isPremiumPlugin','29475rurrSJ','selectRevision','revisionHistory','isSelected','getRevision','nameRevision','_revisionViewer','_revisionsRepository','destroy','getLaterVisibleRevision','_handleRevisionSetName','restoreRevisionCallback','repository','pluginName','compare','setName','length','render','availableRevisionActions','newRevisionId','appendChild','16VaWAgB','focus','264713TlKrnT','Name\x20this\x20revision','highlightRevisions','get','Compare\x20against\x20selected','defaultRevisionActions','_createRevisionActions','ready','getEarlierVisibleRevision','assign','locale','restoreRevision','_handleDiffChange','data','24kSHcZZ','select','editor','getIndex','diff','string','map','40TtKMPs','revisionSetName','getRevisionsInDiff','470636NSFLKM','revisionHistory.revisionActions','Restore\x20this\x20revision','revisionSelected','fieldView','revisionViews','590750KslSzU','isReady','RevisionsSidebar','config','isVisible','_handleRevisionSelected','revisionHistory.requireRevisionName','2826408HtfmWX','147007LdGZCR','remove','name','timePeriodViews','action','97281hSTUwV','change:diff','_sidebarView'];_0x4547=function(){return _0x547166;};return _0x4547();}import{Plugin as _0x5f35ef}from'ckeditor5/src/core.js';import{RevisionsSidebarView as _0x12e5bf}from'./revisionssidebarview.js';import{RevisionViewer as _0x1fab33}from'../../revisionviewer.js';function _0x2fa3(_0x3ecb1b,_0x2f92e5){const _0x4547b3=_0x4547();return _0x2fa3=function(_0x2fa347,_0xbc3e06){_0x2fa347=_0x2fa347-0xfd;let _0x4c9051=_0x4547b3[_0x2fa347];return _0x4c9051;},_0x2fa3(_0x3ecb1b,_0x2f92e5);}export class RevisionsSidebar extends _0x5f35ef{[_0x46c1a4(0x11c)];[_0x46c1a4(0x11d)];[_0x46c1a4(0x107)];static [_0x46c1a4(0x132)]=[_0x46c1a4(0x108),_0x46c1a4(0x138),_0x46c1a4(0x11b)];static [_0x46c1a4(0x128)]=(function(){const _0xe48eee=_0x46c1a4;return{'compareAgainstSelected':{'name':_0xe48eee(0x131),'action':({plugins:i},s)=>{const _0x29efb5=_0xe48eee,e=i[_0x29efb5(0x130)](_0x1fab33),n=e[_0x29efb5(0x122)];let r=e[_0x29efb5(0x13f)][_0x29efb5(0x129)],o=s['id'];n[_0x29efb5(0x13e)](r)>n[_0x29efb5(0x13e)](o)&&([r,o]=[o,r]),e[_0x29efb5(0x124)](r,o);},'isVisible':({plugins:i},s)=>{const _0x4a81ce=_0xe48eee,e=i[_0x4a81ce(0x130)](_0x1fab33);return!(e[_0x4a81ce(0x122)][_0x4a81ce(0x144)](e[_0x4a81ce(0x13f)])[_0x4a81ce(0x126)]>0x2)&&!s[_0x4a81ce(0x119)];}},'restoreRevision':{'name':_0xe48eee(0x147),'action':(i,{id:s})=>{const _0x1879d4=_0xe48eee;i[_0x1879d4(0x14e)][_0x1879d4(0x130)](_0x1879d4(0x118))[_0x1879d4(0x121)](s);},'isVisible':({plugins:i},s)=>!!i[_0xe48eee(0x130)](_0x1fab33)[_0xe48eee(0x122)][_0xe48eee(0x11f)](s['id'])},'nameRevision':{'name':_0xe48eee(0x12e),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x2b6b90=_0xe48eee,n=i[_0x2b6b90(0x130)](_0x1fab33),r=n[_0x2b6b90(0x122)][_0x2b6b90(0x135)](s);n[_0x2b6b90(0x124)](s,r),e[_0x2b6b90(0x12c)](),e[_0x2b6b90(0x149)][_0x2b6b90(0x13c)]();}}};}());static get[_0x46c1a4(0x123)](){const _0x44f645=_0x46c1a4;return _0x44f645(0x14d);}static get[_0x46c1a4(0x10b)](){return!0x0;}static get[_0x46c1a4(0x115)](){return!0x0;}static get[_0x46c1a4(0x10d)](){return[_0x1fab33];}constructor(_0x39222e){const _0x47d066=_0x46c1a4;super(_0x39222e),this[_0x47d066(0x11c)]=_0x39222e[_0x47d066(0x112)][_0x47d066(0x130)](_0x1fab33),this[_0x47d066(0x11d)]=this[_0x47d066(0x11c)][_0x47d066(0x122)],this[_0x47d066(0x107)]=null;}[_0x46c1a4(0x111)](){const _0x532c90=_0x46c1a4,_0x2700e3=this[_0x532c90(0x11d)][_0x532c90(0x113)],_0xd7b26f=this[_0x532c90(0x133)](),_0x28ed06=this[_0x532c90(0x13d)][_0x532c90(0x14e)][_0x532c90(0x130)](_0x532c90(0x10c));this[_0x532c90(0x107)]=new _0x12e5bf(this[_0x532c90(0x13d)][_0x532c90(0x137)],_0x2700e3,_0xd7b26f,this[_0x532c90(0x13d)][_0x532c90(0x14e)][_0x532c90(0x130)](_0x532c90(0xfe))),this[_0x532c90(0x107)]['on'](_0x532c90(0x148),this[_0x532c90(0xfd)][_0x532c90(0x10e)](this)),this[_0x532c90(0x107)]['on'](_0x532c90(0x143),this[_0x532c90(0x120)][_0x532c90(0x10e)](this)),this[_0x532c90(0x107)][_0x532c90(0x10e)](_0x532c90(0x109))['to'](this[_0x532c90(0x11c)]),this[_0x532c90(0x107)][_0x532c90(0x103)]['on'](_0x532c90(0x114),(_0x5ba914,_0x4b3459)=>{const _0xa23098=_0x532c90;_0x4b3459[_0xa23098(0x14a)]['on'](_0xa23098(0x114),(_0x361ffd,_0xd1b87e)=>{const _0x302aa5=_0xa23098;_0xd1b87e[_0x302aa5(0x10e)](_0x302aa5(0x109),_0x302aa5(0x14c))['to'](this[_0x302aa5(0x11c)]);});}),this[_0x532c90(0x107)][_0x532c90(0x127)](),this[_0x532c90(0x110)](this[_0x532c90(0x13d)][_0x532c90(0x13a)],_0x532c90(0x134),this[_0x532c90(0x10f)][_0x532c90(0x10e)](this)),this[_0x532c90(0x110)](this[_0x532c90(0x11c)],_0x532c90(0x106),this[_0x532c90(0x139)][_0x532c90(0x10e)](this)),_0x28ed06[_0x532c90(0x12a)](this[_0x532c90(0x107)][_0x532c90(0x10a)]);}[_0x46c1a4(0x11e)](){const _0x372821=_0x46c1a4;this[_0x372821(0x107)][_0x372821(0x10a)][_0x372821(0x101)](),this[_0x372821(0x107)][_0x372821(0x11e)]();}[_0x46c1a4(0x10f)](){const _0x58495f=_0x46c1a4,_0x12fa8a=this[_0x58495f(0x11d)][_0x58495f(0x11a)](0x0);if(_0x12fa8a){const _0x4773be=this[_0x58495f(0x11d)][_0x58495f(0x135)](_0x12fa8a['id']);this[_0x58495f(0x11c)][_0x58495f(0x124)](_0x12fa8a,_0x4773be);}}[_0x46c1a4(0xfd)](_0x1ba70f,_0x225d16){const _0x5f389f=_0x46c1a4,_0xb864ab=this[_0x5f389f(0x11d)][_0x5f389f(0x11a)](_0x225d16['id']),_0x526a6f=this[_0x5f389f(0x11d)][_0x5f389f(0x135)](_0xb864ab['id']);this[_0x5f389f(0x11c)][_0x5f389f(0x124)](_0xb864ab,_0x526a6f);}[_0x46c1a4(0x120)](_0x2ec7cc,_0x2a3ae4){const _0x4f1c20=_0x46c1a4;this[_0x4f1c20(0x11d)][_0x4f1c20(0x11a)](_0x2a3ae4['id'])[_0x4f1c20(0x125)](_0x2a3ae4[_0x4f1c20(0x102)]);}[_0x46c1a4(0x139)](_0x2d6d04,_0x3b20d7,_0x22c0e7){const _0x55f8bf=_0x46c1a4,_0x184a85=this[_0x55f8bf(0x11d)][_0x55f8bf(0x144)](_0x22c0e7);_0x184a85[_0x55f8bf(0x126)]>0x2?(this[_0x55f8bf(0x107)][_0x55f8bf(0x12f)](_0x184a85),this[_0x55f8bf(0x107)][_0x55f8bf(0x117)](null)):(this[_0x55f8bf(0x107)][_0x55f8bf(0x12f)]([]),this[_0x55f8bf(0x107)][_0x55f8bf(0x117)](_0x184a85[0x0]));}[_0x46c1a4(0x133)](){const _0x389879=_0x46c1a4,_0x10420c=this[_0x389879(0x13d)],_0x5ace13=RevisionsSidebar[_0x389879(0x128)],_0xccfeb0=_0x10420c[_0x389879(0x14e)][_0x389879(0x130)](_0x389879(0x146))||RevisionsSidebar[_0x389879(0x132)];if(_0xccfeb0[_0x389879(0x126)])return _0xccfeb0[_0x389879(0x141)](_0x358d4e=>{const _0x9e97e6=_0x389879,_0x4716f8=_0x9e97e6(0x140)==typeof _0x358d4e?Object[_0x9e97e6(0x136)]({},_0x5ace13[_0x358d4e]):_0x358d4e;return _0x4716f8[_0x9e97e6(0x104)]=_0x4716f8[_0x9e97e6(0x104)][_0x9e97e6(0x10e)](this,_0x10420c),_0x4716f8[_0x9e97e6(0x14f)]&&(_0x4716f8[_0x9e97e6(0x14f)]=_0x4716f8[_0x9e97e6(0x14f)][_0x9e97e6(0x10e)](this,_0x10420c)),_0x4716f8;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x52aa02,_0x24137d){const _0x56e293=_0x3f39,_0x282286=_0x52aa02();while(!![]){try{const _0x16667a=-parseInt(_0x56e293(0x16f))/0x1+-parseInt(_0x56e293(0x17c))/0x2+-parseInt(_0x56e293(0x17e))/0x3*(parseInt(_0x56e293(0x174))/0x4)+parseInt(_0x56e293(0x173))/0x5+-parseInt(_0x56e293(0x172))/0x6+-parseInt(_0x56e293(0x170))/0x7*(-parseInt(_0x56e293(0x171))/0x8)+parseInt(_0x56e293(0x17b))/0x9;if(_0x16667a===_0x24137d)break;else _0x282286['push'](_0x282286['shift']());}catch(_0x4a829a){_0x282286['push'](_0x282286['shift']());}}}(_0x1370,0x263c5));function _0x3f39(_0x16509f,_0x1ff7c3){const _0x1370ed=_0x1370();return _0x3f39=function(_0x3f397e,_0x54bbe9){_0x3f397e=_0x3f397e-0x16e;let _0x3177a0=_0x1370ed[_0x3f397e];return _0x3177a0;},_0x3f39(_0x16509f,_0x1ff7c3);}import{View as _0x38f48b,IconView as _0x150ff5}from'ckeditor5/src/ui.js';import{getTranslation as _0xbba328}from'../../utils/common-translations.js';import{IconHistory as _0x5b534f}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';function _0x1370(){const _0x1629e7=['content','693321QEImcE','ck-revision-history-sidebar__header__label','57532GOdhfC','28UGPFRn','415120FEqWxn','726612lLhAyc','847685dVclHz','4RaKHtS','div','setTemplate','span','ck-reset_all','ck-revision-history-sidebar__header','Revision\x20history','3132972vLazsw','317702mATkqi'];_0x1370=function(){return _0x1629e7;};return _0x1370();}export class RevisionsSidebarHeaderView extends _0x38f48b{constructor(_0x270b77){const _0x3ebabe=_0x3f39;super(_0x270b77);const _0x4d52f8=new _0x150ff5();_0x4d52f8[_0x3ebabe(0x17d)]=_0x5b534f,this[_0x3ebabe(0x176)]({'tag':_0x3ebabe(0x175),'attributes':{'class':['ck',_0x3ebabe(0x178),_0x3ebabe(0x179)]},'children':[_0x4d52f8,{'tag':_0x3ebabe(0x177),'attributes':{'class':['ck',_0x3ebabe(0x16e)]},'children':[_0xbba328(_0x270b77,_0x3ebabe(0x17a))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5688e9=_0x2168;function _0x2168(_0x1b7a3b,_0xcd6a8e){const _0xefbd21=_0xefbd();return _0x2168=function(_0x2168d0,_0x1a4322){_0x2168d0=_0x2168d0-0x1b5;let _0x5ebdb4=_0xefbd21[_0x2168d0];return _0x5ebdb4;},_0x2168(_0x1b7a3b,_0xcd6a8e);}(function(_0x4343a2,_0x377247){const _0x2ebbb3=_0x2168,_0x183a1f=_0x4343a2();while(!![]){try{const _0x5e28ec=parseInt(_0x2ebbb3(0x1cf))/0x1*(-parseInt(_0x2ebbb3(0x1ce))/0x2)+parseInt(_0x2ebbb3(0x1c8))/0x3*(-parseInt(_0x2ebbb3(0x1c6))/0x4)+parseInt(_0x2ebbb3(0x1bd))/0x5+-parseInt(_0x2ebbb3(0x1d3))/0x6*(parseInt(_0x2ebbb3(0x1bc))/0x7)+parseInt(_0x2ebbb3(0x1c4))/0x8*(-parseInt(_0x2ebbb3(0x1c9))/0x9)+-parseInt(_0x2ebbb3(0x1c5))/0xa+parseInt(_0x2ebbb3(0x1c1))/0xb*(parseInt(_0x2ebbb3(0x1b5))/0xc);if(_0x5e28ec===_0x377247)break;else _0x183a1f['push'](_0x183a1f['shift']());}catch(_0x16ada0){_0x183a1f['push'](_0x183a1f['shift']());}}}(_0xefbd,0x88139));import{View as _0x560f61}from'ckeditor5/src/ui.js';import{RevisionView as _0x3048d6}from'../revision/revisionview.js';function _0xefbd(){const _0x29154b=['1921776dKBSYy','2012350RAErGF','44AzbbOI','ck-revision-history-sidebar__time-period__revisions','228831GLYVkV','18FgwKXY','select','ck-revision-history-sidebar__time-period__label','remove','setTemplate','4hcdOng','160183tVuWQR','_revisionActions','locale','removeRevision','4128fYEbbs','delegate','find','div','528trXdHm','addRevision','setName','span','_requireRevisionName','revisionViews','uiLanguage','4711pJSUUq','3209745kpcxrC','startDate','add','localizedPeriodName','554884qtstkR','ck-revision-history-sidebar__time-period','createCollection'];_0xefbd=function(){return _0x29154b;};return _0xefbd();}import{getDateTimePeriodInfo as _0x4ff34c}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x560f61{[_0x5688e9(0x1be)];[_0x5688e9(0x1ba)];[_0x5688e9(0x1d0)];[_0x5688e9(0x1b9)];constructor(_0x2efb79,_0x1ad8be,_0x1e6ccb,_0x23da9a){const _0x4575c6=_0x5688e9;super(_0x2efb79);const _0x5ca2a5=_0x4ff34c(_0x1ad8be,this[_0x4575c6(0x1d1)][_0x4575c6(0x1bb)])[_0x4575c6(0x1c0)];this[_0x4575c6(0x1be)]=_0x1ad8be,this[_0x4575c6(0x1ba)]=this[_0x4575c6(0x1c3)](),this[_0x4575c6(0x1d0)]=_0x1e6ccb,this[_0x4575c6(0x1b9)]=_0x23da9a,this[_0x4575c6(0x1ba)][_0x4575c6(0x1d4)](_0x4575c6(0x1ca))['to'](this),this[_0x4575c6(0x1ba)][_0x4575c6(0x1d4)](_0x4575c6(0x1b7))['to'](this),this[_0x4575c6(0x1cd)]({'tag':_0x4575c6(0x1d6),'attributes':{'class':['ck',_0x4575c6(0x1c2)]},'children':[{'tag':_0x4575c6(0x1b8),'attributes':{'class':['ck',_0x4575c6(0x1cb)]},'children':[{'text':_0x5ca2a5}]},{'tag':_0x4575c6(0x1d6),'attributes':{'class':['ck',_0x4575c6(0x1c7)]},'children':this[_0x4575c6(0x1ba)]}]});}[_0x5688e9(0x1b6)](_0x9b8e2d){const _0xf16e19=_0x5688e9,_0x441bb0=new _0x3048d6(this[_0xf16e19(0x1d1)],_0x9b8e2d,this[_0xf16e19(0x1d0)],this[_0xf16e19(0x1b9)]);this[_0xf16e19(0x1ba)][_0xf16e19(0x1bf)](_0x441bb0);}[_0x5688e9(0x1d2)](_0x575f40){const _0x1c8827=_0x5688e9,_0x336933=this[_0x1c8827(0x1ba)][_0x1c8827(0x1d5)](_0x1a3558=>_0x1a3558['id']===_0x575f40['id']);this[_0x1c8827(0x1ba)][_0x1c8827(0x1cc)](_0x336933);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2dc0ef=_0x5697;(function(_0x2e1da5,_0x4f3adb){const _0x3bda8b=_0x5697,_0x55ace7=_0x2e1da5();while(!![]){try{const _0x5134=-parseInt(_0x3bda8b(0x10f))/0x1+parseInt(_0x3bda8b(0x116))/0x2+parseInt(_0x3bda8b(0x12f))/0x3+-parseInt(_0x3bda8b(0x112))/0x4+parseInt(_0x3bda8b(0x135))/0x5+parseInt(_0x3bda8b(0x12b))/0x6*(-parseInt(_0x3bda8b(0x128))/0x7)+parseInt(_0x3bda8b(0x12c))/0x8;if(_0x5134===_0x4f3adb)break;else _0x55ace7['push'](_0x55ace7['shift']());}catch(_0x527c9e){_0x55ace7['push'](_0x55ace7['shift']());}}}(_0x293f,0x4360a));import{View as _0x1b08c4}from'ckeditor5/src/ui.js';function _0x5697(_0x598054,_0x2aa16b){const _0x293f77=_0x293f();return _0x5697=function(_0x5697f5,_0x503ea7){_0x5697f5=_0x5697f5-0x104;let _0x36a864=_0x293f77[_0x5697f5];return _0x36a864;},_0x5697(_0x598054,_0x2aa16b);}import{RevisionsSidebarTimePeriodView as _0x25b18d}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x40d789}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x10ae8e}from'./utils.js';function _0x293f(){const _0x35a6f1=['selectRevision','div','223416WSNWkN','remove','setTemplate','_requireRevisionName','highlightRevisions','highlight','deselect','some','_revisionActions','_addRevision','get','ck-revision-history-sidebar','uiLanguage','render','createCollection','startDate','timePeriodViews','_revisions','12271RXVUWp','bindTemplate','ck-disabled','1398ipDXeR','3473544lmSvpP','set','fire','816171FwiAIi','getTime','isEnabled','ck-revision-history-sidebar__timeline','map','revisionSetName','1102210qhpbwe','delegate','createdAt','ck-reset','select','flat','_getTimePeriodViewByStartDate','setName','ck-rounded-corners','addRevision','find','add','locale','revisionSelected','revisionViews','233713zupRvl','removeRevision','_removeRevision','481040usgGlp','unhighlight'];_0x293f=function(){return _0x35a6f1;};return _0x293f();}import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x1b08c4{[_0x2dc0ef(0x126)];[_0x2dc0ef(0x127)];[_0x2dc0ef(0x11e)];[_0x2dc0ef(0x119)];constructor(_0x3a96d7,_0x514976,_0x37588a,_0x3caed7){const _0x596c09=_0x2dc0ef;super(_0x3a96d7);const _0x38757d=this[_0x596c09(0x129)];this[_0x596c09(0x126)]=this[_0x596c09(0x124)](),this[_0x596c09(0x126)][_0x596c09(0x136)](_0x596c09(0x104))['to'](this),this[_0x596c09(0x126)][_0x596c09(0x136)](_0x596c09(0x107))['to'](this),this[_0x596c09(0x127)]=_0x514976,this[_0x596c09(0x11e)]=_0x37588a,this[_0x596c09(0x119)]=_0x3caed7,this['on'](_0x596c09(0x104),(_0x6c803,_0x524ed1)=>{const _0x31f960=_0x596c09;this[_0x31f960(0x12e)](_0x31f960(0x10d),_0x524ed1);}),this['on'](_0x596c09(0x107),(_0x359f9f,_0x2aacba)=>{const _0x546207=_0x596c09;this[_0x546207(0x12e)](_0x546207(0x134),_0x2aacba);}),this[_0x596c09(0x12d)](_0x596c09(0x131),!0x1),this[_0x596c09(0x118)]({'tag':_0x596c09(0x115),'attributes':{'class':['ck',_0x596c09(0x138),_0x596c09(0x108),_0x596c09(0x121)]},'children':[new _0x40d789(_0x3a96d7),{'tag':_0x596c09(0x115),'attributes':{'class':['ck',_0x596c09(0x132),_0x38757d['if'](_0x596c09(0x131),_0x596c09(0x12a),_0x18298d=>!_0x18298d)]},'children':this[_0x596c09(0x126)]}]});}[_0x2dc0ef(0x123)](){const _0x58740b=_0x2dc0ef;super[_0x58740b(0x123)]();for(const _0x32730f of this[_0x58740b(0x127)])this[_0x58740b(0x11f)](_0x32730f);this[_0x58740b(0x127)]['on'](_0x58740b(0x10b),(_0x3c504c,_0x219ef6)=>{const _0x3dcb04=_0x58740b;this[_0x3dcb04(0x11f)](_0x219ef6);}),this[_0x58740b(0x127)]['on'](_0x58740b(0x117),(_0x53929f,_0x46edfd)=>{const _0x8d0a0=_0x58740b;this[_0x8d0a0(0x111)](_0x46edfd);});}get[_0x2dc0ef(0x10e)](){const _0x4e7d69=_0x2dc0ef;return this[_0x4e7d69(0x126)][_0x4e7d69(0x133)](_0x24ca5d=>_0x24ca5d[_0x4e7d69(0x10e)][_0x4e7d69(0x133)](_0x2b0487=>_0x2b0487))[_0x4e7d69(0x105)]();}[_0x2dc0ef(0x114)](_0x3ac6ad){const _0x151ec6=_0x2dc0ef;for(const _0x55d3c7 of this[_0x151ec6(0x10e)])_0x3ac6ad&&_0x3ac6ad['id']===_0x55d3c7['id']?_0x55d3c7[_0x151ec6(0x104)]():_0x55d3c7[_0x151ec6(0x11c)]();}[_0x2dc0ef(0x11a)](_0x6e7330){const _0x5202e4=_0x2dc0ef;for(const _0x356a1c of this[_0x5202e4(0x10e)])_0x6e7330[_0x5202e4(0x11d)](({id:_0x3a6fed})=>_0x3a6fed===_0x356a1c['id'])?_0x356a1c[_0x5202e4(0x11b)]():_0x356a1c[_0x5202e4(0x113)]();}[_0x2dc0ef(0x11f)](_0x9d3a36){const _0x483707=_0x2dc0ef,_0x9864ea=_0x10ae8e(_0x9d3a36[_0x483707(0x137)],this[_0x483707(0x10c)][_0x483707(0x122)])[_0x483707(0x125)];let _0x5d6eb3=this[_0x483707(0x126)][_0x483707(0x120)](0x0);_0x5d6eb3&&_0x5d6eb3[_0x483707(0x125)][_0x483707(0x130)]()===_0x9864ea[_0x483707(0x130)]()||(_0x5d6eb3=new _0x25b18d(this[_0x483707(0x10c)],_0x9864ea,this[_0x483707(0x11e)],this[_0x483707(0x119)]),this[_0x483707(0x126)][_0x483707(0x10b)](_0x5d6eb3)),_0x5d6eb3[_0x483707(0x109)](_0x9d3a36);}[_0x2dc0ef(0x111)](_0x3f0794){const _0x1f38a2=_0x2dc0ef,_0x5c7edd=_0x10ae8e(_0x3f0794[_0x1f38a2(0x137)],this[_0x1f38a2(0x10c)][_0x1f38a2(0x122)])[_0x1f38a2(0x125)];this[_0x1f38a2(0x106)](_0x5c7edd)[_0x1f38a2(0x110)](_0x3f0794);}[_0x2dc0ef(0x106)](_0x194ab3){const _0x22a694=_0x2dc0ef;return this[_0x22a694(0x126)][_0x22a694(0x10a)](_0x3aa2d5=>_0x3aa2d5[_0x22a694(0x125)][_0x22a694(0x130)]()===_0x194ab3[_0x22a694(0x130)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x26d9a1,_0x2aedf6){const _0x37b026=_0xb6eb,_0x1c1e1a=_0x26d9a1();while(!![]){try{const _0x128d4c=parseInt(_0x37b026(0x133))/0x1+parseInt(_0x37b026(0x142))/0x2*(-parseInt(_0x37b026(0x12d))/0x3)+-parseInt(_0x37b026(0x130))/0x4*(parseInt(_0x37b026(0x132))/0x5)+parseInt(_0x37b026(0x139))/0x6*(-parseInt(_0x37b026(0x134))/0x7)+parseInt(_0x37b026(0x129))/0x8*(-parseInt(_0x37b026(0x12b))/0x9)+parseInt(_0x37b026(0x12c))/0xa+parseInt(_0x37b026(0x12a))/0xb*(parseInt(_0x37b026(0x138))/0xc);if(_0x128d4c===_0x2aedf6)break;else _0x1c1e1a['push'](_0x1c1e1a['shift']());}catch(_0x29df3c){_0x1c1e1a['push'](_0x1c1e1a['shift']());}}}(_0x2328,0xc6eb9));function _0xb6eb(_0x167bd8,_0x13abcb){const _0x232824=_0x2328();return _0xb6eb=function(_0xb6ebcd,_0xc67dd0){_0xb6ebcd=_0xb6ebcd-0x129;let _0x48b2ee=_0x232824[_0xb6ebcd];return _0x48b2ee;},_0xb6eb(_0x167bd8,_0x13abcb);}import{DateTime as _0x15b90a}from'luxon';export function getDateTimePeriodInfo(_0xdb6a71,_0x2cabe7){const _0x3958b3=_0xb6eb,_0x1b0a60=_0x15b90a[_0x3958b3(0x135)](_0xdb6a71)[_0x3958b3(0x13e)](_0x2cabe7),_0x3356e4=_0x15b90a[_0x3958b3(0x12e)](),_0x3a7ce2=_0x3356e4[_0x3958b3(0x140)]({'days':0x1})[_0x3958b3(0x136)](_0x3958b3(0x13c));let _0x5a7cb1,_0x444db6;return _0x1b0a60[_0x3958b3(0x131)](_0x3356e4,_0x3958b3(0x13c))?(_0x5a7cb1=_0x1b0a60[_0x3958b3(0x136)](_0x3958b3(0x13c))[_0x3958b3(0x13d)](),_0x444db6=_0x1b0a60[_0x3958b3(0x12f)]()):_0x1b0a60[_0x3958b3(0x131)](_0x3a7ce2,_0x3958b3(0x13c))?(_0x5a7cb1=_0x3a7ce2[_0x3958b3(0x13d)](),_0x444db6=_0x1b0a60[_0x3958b3(0x12f)]()):_0x1b0a60[_0x3958b3(0x131)](_0x3356e4,_0x3958b3(0x13b))?(_0x5a7cb1=_0x1b0a60[_0x3958b3(0x136)](_0x3958b3(0x13b))[_0x3958b3(0x13d)](),_0x444db6=_0x1b0a60[_0x3958b3(0x13a)]||''):_0x1b0a60[_0x3958b3(0x131)](_0x3356e4,_0x3958b3(0x141))?(_0x5a7cb1=_0x1b0a60[_0x3958b3(0x136)](_0x3958b3(0x137))[_0x3958b3(0x13d)](),_0x444db6=_0x1b0a60[_0x3958b3(0x13f)]||''):(_0x5a7cb1=_0x1b0a60[_0x3958b3(0x136)](_0x3958b3(0x141))[_0x3958b3(0x13d)](),_0x444db6=String(_0x1b0a60[_0x3958b3(0x141)])),{'startDate':_0x5a7cb1,'localizedPeriodName':_0x444db6};}function _0x2328(){const _0x47972d=['setLocale','monthLong','minus','year','278ldZcTi','16QwicFJ','22UFlCDn','1829043pkbknx','4143390wdfZNa','31413ZyxeFz','local','toRelativeCalendar','39332tkxzGc','hasSame','545YWmVdB','643290SWvdxx','1132201RXQaqB','fromJSDate','startOf','month','21967956ZdjMlV','36dVOsgX','weekdayLong','week','day','toJSDate'];_0x2328=function(){return _0x47972d;};return _0x2328();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x538a(){const _0x836d06=['2974736wPzbRA','2390059qPQrTM','14612uodqRe','1003950ztcONS','element','Suggested\x20by','Added\x20by','ck-revision-change__label','55hJcMLk','ck-annotation','set','Removed\x20by','bindTemplate','2203323cvUJLG','ck-revision-change','20obenUK','type','ck-revision-change__','div','author','58914IbtVcK','name','add','span','45VMiRCI','focus','4xwNDAp','22Ugfykx','data','_model','isSuggestion','changeId','630468VnuFKY','setTemplate'];_0x538a=function(){return _0x836d06;};return _0x538a();}const _0x334aee=_0x4706;(function(_0x1527a6,_0x1837d7){const _0x29775c=_0x4706,_0x301353=_0x1527a6();while(!![]){try{const _0x2c3ced=parseInt(_0x29775c(0x14e))/0x1*(parseInt(_0x29775c(0x148))/0x2)+-parseInt(_0x29775c(0x153))/0x3*(-parseInt(_0x29775c(0x160))/0x4)+parseInt(_0x29775c(0x15e))/0x5*(parseInt(_0x29775c(0x15a))/0x6)+-parseInt(_0x29775c(0x169))/0x7+-parseInt(_0x29775c(0x168))/0x8+-parseInt(_0x29775c(0x149))/0x9*(parseInt(_0x29775c(0x155))/0xa)+parseInt(_0x29775c(0x161))/0xb*(parseInt(_0x29775c(0x166))/0xc);if(_0x2c3ced===_0x1837d7)break;else _0x301353['push'](_0x301353['shift']());}catch(_0x1a2b90){_0x301353['push'](_0x301353['shift']());}}}(_0x538a,0x6007d));import{View as _0x2b89d0}from'ckeditor5/src/ui.js';function _0x4706(_0x56463f,_0x18e5d0){const _0x538ad3=_0x538a();return _0x4706=function(_0x470687,_0x1d1459){_0x470687=_0x470687-0x148;let _0x350618=_0x538ad3[_0x470687];return _0x350618;},_0x4706(_0x56463f,_0x18e5d0);}import{getTranslation as _0x313b1a}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x2b89d0{[_0x334aee(0x165)];[_0x334aee(0x163)];constructor(_0xd22cd2,_0x39b759){const _0x3de750=_0x334aee;super(_0xd22cd2),this[_0x3de750(0x163)]=_0x39b759,this[_0x3de750(0x165)]=_0x39b759['id'];const _0x1a56ef=this[_0x3de750(0x152)],_0xeb0506=_0x313b1a(_0xd22cd2,_0x39b759[_0x3de750(0x162)][_0x3de750(0x164)]?_0x3de750(0x14b):_0x3de750(0x15c)==_0x39b759[_0x3de750(0x156)]?_0x3de750(0x14c):_0x3de750(0x151));this[_0x3de750(0x150)](_0x3de750(0x156),_0x39b759[_0x3de750(0x156)]),this[_0x3de750(0x167)]({'tag':_0x3de750(0x158),'attributes':{'class':[_0x3de750(0x14f),_0x3de750(0x154),_0x1a56ef['to'](_0x3de750(0x156),_0x51a470=>_0x3de750(0x157)+_0x51a470)],'tabindex':-0x1},'children':[{'tag':_0x3de750(0x15d),'children':[{'tag':_0x3de750(0x15d),'attributes':{'class':[_0x3de750(0x14d)]},'children':[{'text':_0xeb0506}]},{'text':'\x20'+_0x39b759[_0x3de750(0x159)][_0x3de750(0x15b)]}]}]});}[_0x334aee(0x15f)](){const _0x1b17f3=_0x334aee;this[_0x1b17f3(0x14a)][_0x1b17f3(0x15f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x54df17,_0x1f1c94){const _0x5f23ce=_0x3088,_0x78f16=_0x54df17();while(!![]){try{const _0x323b3d=parseInt(_0x5f23ce(0x117))/0x1+-parseInt(_0x5f23ce(0x10e))/0x2+-parseInt(_0x5f23ce(0x10a))/0x3+parseInt(_0x5f23ce(0x107))/0x4*(parseInt(_0x5f23ce(0x127))/0x5)+parseInt(_0x5f23ce(0x12d))/0x6*(-parseInt(_0x5f23ce(0x109))/0x7)+parseInt(_0x5f23ce(0x108))/0x8+parseInt(_0x5f23ce(0x115))/0x9;if(_0x323b3d===_0x1f1c94)break;else _0x78f16['push'](_0x78f16['shift']());}catch(_0x6282c6){_0x78f16['push'](_0x78f16['shift']());}}}(_0x1e53,0xd5023));import{View as _0x2b8d84,ButtonView as _0x506a51,ToolbarSeparatorView as _0x32f624}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x388de2,IconChevronDown as _0x28345f}from'ckeditor5/src/icons.js';function _0x1e53(){const _0x5a4d3f=['setTemplate','ck-hidden','30025017YgWKJz','ck-revision-history-ui__changes-navigation','42305lUSDoQ','Loading...','forward','isBackwardNavigationEnabled','Total','Show\x20previous\x20change','set','isNavigationMode','numberOfChanges','_statusText','div','Show\x20next\x20change','ck-revision-history-ui__changes-navigation__navigation','No\x20changes','ck-revision-history-ui__changes-navigation__wrapper','currentChangeNumber','460LumePD','span','isEnabled','ck-revision-history-ui','isReady','X_OF_Y_CHANGES','30UQWHFl','NUMBER_OF_CHANGES','backward','_isStatusLabelVisible','27212xuKlsq','1057680BFSYvl','2416071kUuVgh','350892MduVzB','isForwardNavigationEnabled','bindTemplate','execute','2842584hsTRON','fire','bind','EDIT_X_OF_Y_REVISIONS','ck-revision-history-ui__changes-navigation__label'];_0x1e53=function(){return _0x5a4d3f;};return _0x1e53();}import{getTranslation as _0x386d05}from'../../utils/common-translations.js';function _0x3088(_0x121342,_0x17b2be){const _0x1e5324=_0x1e53();return _0x3088=function(_0x3088dd,_0x2063c2){_0x3088dd=_0x3088dd-0x105;let _0x136b70=_0x1e5324[_0x3088dd];return _0x136b70;},_0x3088(_0x121342,_0x17b2be);}import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x2b8d84{constructor(_0x2f049a){const _0x44137f=_0x3088;super(_0x2f049a);const _0x514966=this[_0x44137f(0x10c)],_0x38b474=new _0x506a51(_0x2f049a),_0x32dda9=new _0x506a51(_0x2f049a);this[_0x44137f(0x11d)](_0x44137f(0x11e),!0x1),this[_0x44137f(0x11d)](_0x44137f(0x12b),!0x1),this[_0x44137f(0x11d)](_0x44137f(0x126),0x0),this[_0x44137f(0x11d)](_0x44137f(0x11f),0x0),this[_0x44137f(0x11d)](_0x44137f(0x10b),!0x1),this[_0x44137f(0x11d)](_0x44137f(0x11a),!0x1),this[_0x44137f(0x110)](_0x44137f(0x106))['to'](this,_0x44137f(0x12b),this,_0x44137f(0x11f),(_0x43f104,_0x259437)=>_0x43f104&&_0x259437>0x0),this[_0x44137f(0x110)](_0x44137f(0x120))['to'](this,_0x44137f(0x12b),this,_0x44137f(0x126),this,_0x44137f(0x11f),this,_0x44137f(0x11e),(_0x5a4ba6,_0x58d9ec,_0x5584ac,_0x163029)=>{const _0x47c50b=_0x44137f;if(!_0x5a4ba6)return _0x386d05(_0x2f049a,_0x47c50b(0x118));if(!_0x5584ac)return _0x386d05(_0x2f049a,_0x47c50b(0x124));const _0x4b2a2c=_0x386d05(_0x2f049a,_0x47c50b(0x12e),_0x5584ac);return _0x163029?_0x386d05(_0x2f049a,_0x47c50b(0x12c),[_0x58d9ec+0x1,_0x5584ac]):_0x4b2a2c;}),_0x38b474[_0x44137f(0x11d)]({'label':_0x386d05(_0x2f049a,_0x44137f(0x11c)),'tooltip':!0x0,'icon':_0x388de2}),_0x32dda9[_0x44137f(0x11d)]({'label':_0x386d05(_0x2f049a,_0x44137f(0x122)),'tooltip':!0x0,'icon':_0x28345f}),_0x38b474[_0x44137f(0x110)](_0x44137f(0x129))['to'](this,_0x44137f(0x11a)),_0x32dda9[_0x44137f(0x110)](_0x44137f(0x129))['to'](this,_0x44137f(0x10b)),_0x38b474['on'](_0x44137f(0x10d),()=>this[_0x44137f(0x10f)](_0x44137f(0x10d),_0x44137f(0x105))),_0x32dda9['on'](_0x44137f(0x10d),()=>this[_0x44137f(0x10f)](_0x44137f(0x10d),_0x44137f(0x119))),this[_0x44137f(0x113)]({'tag':_0x44137f(0x121),'attributes':{'class':['ck',_0x44137f(0x12a),_0x44137f(0x116)]},'children':[{'tag':_0x44137f(0x128),'attributes':{'class':[_0x44137f(0x125)]},'children':[{'tag':_0x44137f(0x128),'attributes':{'class':[_0x44137f(0x112),_0x514966['if'](_0x44137f(0x106),_0x44137f(0x114),_0x2fc131=>!_0x2fc131)]},'children':[{'text':_0x514966['to'](_0x44137f(0x11e),_0x332c1b=>_0x332c1b?_0x386d05(_0x2f049a,_0x44137f(0x111))+':\x20':_0x386d05(_0x2f049a,_0x44137f(0x11b))+':\x20')}]},{'text':_0x514966['to'](_0x44137f(0x120))}]},new _0x32f624(),{'tag':_0x44137f(0x121),'attributes':{'class':[_0x44137f(0x123)]},'children':[_0x38b474,_0x32dda9]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3c83b6=_0x4e67;(function(_0x1106d1,_0x12a6fb){const _0x3e0b58=_0x4e67,_0x27ec5d=_0x1106d1();while(!![]){try{const _0xa93f8d=parseInt(_0x3e0b58(0xf3))/0x1*(parseInt(_0x3e0b58(0xf6))/0x2)+parseInt(_0x3e0b58(0xe5))/0x3+parseInt(_0x3e0b58(0xf8))/0x4*(-parseInt(_0x3e0b58(0xf5))/0x5)+-parseInt(_0x3e0b58(0xf2))/0x6+parseInt(_0x3e0b58(0xec))/0x7+-parseInt(_0x3e0b58(0xe2))/0x8+parseInt(_0x3e0b58(0xed))/0x9;if(_0xa93f8d===_0x12a6fb)break;else _0x27ec5d['push'](_0x27ec5d['shift']());}catch(_0xb49d1f){_0x27ec5d['push'](_0x27ec5d['shift']());}}}(_0x2f57,0x93831));function _0x4e67(_0x55f767,_0xbef37){const _0x2f57c1=_0x2f57();return _0x4e67=function(_0x4e6797,_0x55c35f){_0x4e6797=_0x4e6797-0xe2;let _0x3b8c34=_0x2f57c1[_0x4e6797];return _0x3b8c34;},_0x4e67(_0x55f767,_0xbef37);}import{Plugin as _0x120c27}from'ckeditor5/src/core.js';const oe=_0x3c83b6(0xf0);import'../../../theme/revisionviewerloadingoverlay.css';function _0x2f57(){const _0x3e7cab=['2056025uCgUeW','69952rvjgFC','document','4NahhTq','view','6993752SjHzkE','removeClass','editor','2425317URATld','change','addClass','editing','show','isOfficialPlugin','isPremiumPlugin','1574643DjwxVo','8343081yhJEJh','pluginName','RevisionViewerLoadingOverlay','ck-editor__editable__loading-overlay','roots','634440JOdmdw','1fFeaTy','hide'];_0x2f57=function(){return _0x3e7cab;};return _0x2f57();}export class RevisionViewerLoadingOverlay extends _0x120c27{static get[_0x3c83b6(0xee)](){const _0x58e7cf=_0x3c83b6;return _0x58e7cf(0xef);}static get[_0x3c83b6(0xea)](){return!0x0;}static get[_0x3c83b6(0xeb)](){return!0x0;}[_0x3c83b6(0xe9)](){const _0x57b518=_0x3c83b6,_0x30008b=this[_0x57b518(0xe4)][_0x57b518(0xe8)][_0x57b518(0xf9)];_0x30008b[_0x57b518(0xe6)](_0x502ed7=>{const _0x52ca85=_0x57b518;for(const _0x25c501 of _0x30008b[_0x52ca85(0xf7)][_0x52ca85(0xf1)])_0x502ed7[_0x52ca85(0xe7)](oe,_0x25c501);});}[_0x3c83b6(0xf4)](){const _0x4618b4=_0x3c83b6,_0x1ed948=this[_0x4618b4(0xe4)][_0x4618b4(0xe8)][_0x4618b4(0xf9)];_0x1ed948[_0x4618b4(0xe6)](_0x5ddebc=>{const _0x17bc11=_0x4618b4;for(const _0x68ea7b of _0x1ed948[_0x17bc11(0xf7)][_0x17bc11(0xf1)])_0x5ddebc[_0x17bc11(0xe3)](oe,_0x68ea7b);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1b14(){const _0x40a277=['isEnabled','set','hide','isReady','changesNavigation','componentFactory','739940OoIzwP','closeRevisionViewerCallback','show','pluginName','init','isNavigationMode','ck-revision-history-ui__back-to-editing','plugins','execute','listenTo','restoreRevision','Back\x20to\x20editing','761089BNRtNw','currentChangeNumber','108TSSLHM','isBackwardNavigationEnabled','isForwardNavigationEnabled','30418245dXtQJV','1771620SOPjHu','116BhWIvZ','get','isPremiumPlugin','RevisionViewerUI','120LKGXtE','6HokyBo','bind','requires','forward','revisionHistory','isOfficialPlugin','1534004WpYter','showNextChange','exitToEditing','config','editor','showPreviousChange','change:isReady','Restore\x20this\x20revision','324479ikBEYt','71751MsHcmf','add','numberOfChanges','commands'];_0x1b14=function(){return _0x40a277;};return _0x1b14();}const _0x52bcfe=_0x3b74;(function(_0x3a7bb5,_0x37da37){const _0x5d811b=_0x3b74,_0x2984a3=_0x3a7bb5();while(!![]){try{const _0x325b35=-parseInt(_0x5d811b(0x1e7))/0x1+parseInt(_0x5d811b(0x1d4))/0x2*(parseInt(_0x5d811b(0x1e8))/0x3)+parseInt(_0x5d811b(0x1df))/0x4+parseInt(_0x5d811b(0x1d3))/0x5*(-parseInt(_0x5d811b(0x1d9))/0x6)+-parseInt(_0x5d811b(0x1cd))/0x7*(-parseInt(_0x5d811b(0x1d8))/0x8)+parseInt(_0x5d811b(0x1cf))/0x9*(parseInt(_0x5d811b(0x1c1))/0xa)+-parseInt(_0x5d811b(0x1d2))/0xb;if(_0x325b35===_0x37da37)break;else _0x2984a3['push'](_0x2984a3['shift']());}catch(_0x1a8188){_0x2984a3['push'](_0x2984a3['shift']());}}}(_0x1b14,0xce66e));import{Plugin as _0x119dae}from'ckeditor5/src/core.js';import{ButtonView as _0x576081}from'ckeditor5/src/ui.js';import{IconUndo as _0x14024e}from'ckeditor5/src/icons.js';function _0x3b74(_0x58c81c,_0x39ea4d){const _0x1b14bf=_0x1b14();return _0x3b74=function(_0x3b74d3,_0x22868a){_0x3b74d3=_0x3b74d3-0x1bf;let _0x57d56a=_0x1b14bf[_0x3b74d3];return _0x57d56a;},_0x3b74(_0x58c81c,_0x39ea4d);}import{ChangesNavigationView as _0x1dc5ef}from'./changesnavigationview.js';import{RevisionViewer as _0x4a257b}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0xe6b3a2}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x5210c9}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x119dae{static get[_0x52bcfe(0x1c4)](){const _0x3b9024=_0x52bcfe;return _0x3b9024(0x1d7);}static get[_0x52bcfe(0x1de)](){return!0x0;}static get[_0x52bcfe(0x1d6)](){return!0x0;}static get[_0x52bcfe(0x1db)](){return[_0x4a257b,_0xe6b3a2];}[_0x52bcfe(0x1c5)](){const _0x3e239b=_0x52bcfe,_0x2fa5fd=this[_0x3e239b(0x1e3)],_0x5bf6ba=_0x2fa5fd[_0x3e239b(0x1c8)][_0x3e239b(0x1d5)](_0x4a257b),_0x1dff53=_0x2fa5fd[_0x3e239b(0x1c8)][_0x3e239b(0x1d5)](_0xe6b3a2);_0x2fa5fd['ui'][_0x3e239b(0x1c0)][_0x3e239b(0x1e9)](_0x3e239b(0x1e1),_0x644803=>{const _0x550591=_0x3e239b,_0x392976=new _0x576081(_0x644803);return _0x392976[_0x550591(0x1ed)]({'label':_0x5210c9(_0x644803,_0x550591(0x1cc)),'icon':_0x14024e,'withText':!0x0,'tooltip':!0x0,'class':_0x550591(0x1c7)}),this[_0x550591(0x1ca)](_0x392976,_0x550591(0x1c9),()=>{const _0x5b59c2=_0x550591;_0x2fa5fd[_0x5b59c2(0x1e2)][_0x5b59c2(0x1d5)](_0x5b59c2(0x1dd))[_0x5b59c2(0x1c2)]();}),_0x392976;}),_0x2fa5fd['ui'][_0x3e239b(0x1c0)][_0x3e239b(0x1e9)](_0x3e239b(0x1cb),_0x476657=>{const _0xecbb81=_0x3e239b,_0x424d07=new _0x576081(_0x476657);return _0x424d07[_0xecbb81(0x1ed)]({'label':_0x5210c9(_0x476657,_0xecbb81(0x1e6)),'withText':!0x0,'tooltip':!0x0}),_0x424d07[_0xecbb81(0x1da)](_0xecbb81(0x1ec))['to'](_0x2fa5fd[_0xecbb81(0x1eb)][_0xecbb81(0x1d5)](_0xecbb81(0x1cb))),this[_0xecbb81(0x1ca)](_0x424d07,_0xecbb81(0x1c9),()=>_0x2fa5fd[_0xecbb81(0x1c9)](_0xecbb81(0x1cb))),_0x424d07;}),_0x2fa5fd['ui'][_0x3e239b(0x1c0)][_0x3e239b(0x1e9)](_0x3e239b(0x1bf),_0x4f3785=>{const _0x559688=_0x3e239b,_0x3a3574=new _0x1dc5ef(_0x4f3785),_0x3dd630=_0x2fa5fd[_0x559688(0x1eb)][_0x559688(0x1d5)](_0x559688(0x1e4)),_0x1519b7=_0x2fa5fd[_0x559688(0x1eb)][_0x559688(0x1d5)](_0x559688(0x1e0));return _0x3a3574[_0x559688(0x1da)](_0x559688(0x1d0))['to'](_0x3dd630,_0x559688(0x1ec)),_0x3a3574[_0x559688(0x1da)](_0x559688(0x1d1))['to'](_0x1519b7,_0x559688(0x1ec)),_0x3a3574[_0x559688(0x1da)](_0x559688(0x1ef),_0x559688(0x1ce),_0x559688(0x1ea),_0x559688(0x1c6))['to'](_0x5bf6ba),this[_0x559688(0x1ca)](_0x3a3574,_0x559688(0x1c9),(_0x2087b3,_0x54c434)=>{const _0x2e4af7=_0x559688;_0x2fa5fd[_0x2e4af7(0x1c9)](_0x2e4af7(0x1dc)===_0x54c434?_0x2e4af7(0x1e0):_0x2e4af7(0x1e4));}),_0x3a3574;}),_0x1dff53[_0x3e239b(0x1c3)](),_0x5bf6ba['on'](_0x3e239b(0x1e5),(_0xdd85b7,_0x4f1317,_0x5dbfc0)=>{const _0x213f8e=_0x3e239b;_0x5dbfc0?_0x1dff53[_0x213f8e(0x1ee)]():_0x1dff53[_0x213f8e(0x1c3)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x53476d,_0x109817,_0x2ade0a){const t=_0x53476d['t'];switch(_0x109817){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'},_0x2ade0a);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2ade0a);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'Accept':return t('Accept');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'';}}
|