@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250617.0 → 0.0.0-nightly-20250619.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.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 +11 -11
- 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
|
+
const _0x4bb627=_0x1591;(function(_0x5d91bc,_0x56dfc7){const _0x32d4ed=_0x1591,_0x343921=_0x5d91bc();while(!![]){try{const _0x239e84=parseInt(_0x32d4ed(0xba))/0x1*(-parseInt(_0x32d4ed(0xa3))/0x2)+parseInt(_0x32d4ed(0xb4))/0x3*(-parseInt(_0x32d4ed(0xb0))/0x4)+parseInt(_0x32d4ed(0xb1))/0x5+-parseInt(_0x32d4ed(0xa9))/0x6+parseInt(_0x32d4ed(0xad))/0x7+-parseInt(_0x32d4ed(0xb7))/0x8*(parseInt(_0x32d4ed(0x99))/0x9)+-parseInt(_0x32d4ed(0xb9))/0xa*(-parseInt(_0x32d4ed(0xa2))/0xb);if(_0x239e84===_0x56dfc7)break;else _0x343921['push'](_0x343921['shift']());}catch(_0x208697){_0x343921['push'](_0x343921['shift']());}}}(_0x4be2,0xc6ec2));function _0x4be2(){const _0x595513=['errorText','stopPropagation','setTemplate','trim','add','revisionName','keystrokes','176vedNUO','2lEjGYJ','revisionNameInputValue','set','arrowright','arrowup','value','6163746rMPDoL','render','ck-responsive-form','focus','6191612WplVQs','ck-revision-history-save-revision-form','arrowdown','40qmnJSs','3146570ZTEgGO','form','locale','121212qpmPyB','extendTemplate','element','324496cguodZ','revisionNameInputView','860050RInXXZ','440983KiigJo','_createRevisionNameInput','focusTracker','optional','label','input','initializeCssTransitionDisablerMixin','reset','arrowleft','listenTo','220','Name\x20of\x20the\x20revision','45eTEopW','fieldView'];_0x4be2=function(){return _0x595513;};return _0x4be2();}import{CssTransitionDisablerMixin as _0x52aa56,LabeledFieldView as _0x4164b9,View as _0x1d549e,createLabeledInputText as _0x1f5024,submitHandler as _0x4c1ecd}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2eb009,KeystrokeHandler as _0x230237}from'ckeditor5/src/utils.js';import{getTranslation as _0xeaa046}from'../../utils/common-translations.js';function _0x1591(_0x140472,_0x5eb620){const _0x4be25f=_0x4be2();return _0x1591=function(_0x159180,_0x156667){_0x159180=_0x159180-0x90;let _0x4008c2=_0x4be25f[_0x159180];return _0x4008c2;},_0x1591(_0x140472,_0x5eb620);}import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x52aa56(_0x1d549e){[_0x4bb627(0xbc)];[_0x4bb627(0xa1)];[_0x4bb627(0xb8)];constructor(_0xb719c6,_0x3134a6){const _0x5cc375=_0x4bb627;super(_0xb719c6),this[_0x5cc375(0xbc)]=new _0x2eb009(),this[_0x5cc375(0xa1)]=new _0x230237(),this[_0x5cc375(0xa5)](_0x5cc375(0xa4),''),this[_0x5cc375(0xb8)]=this[_0x5cc375(0xbb)](_0x3134a6),this[_0x5cc375(0x9d)]({'tag':_0x5cc375(0xb2),'attributes':{'class':['ck',_0x5cc375(0xae),_0x5cc375(0xab)],'tabindex':'-1'},'children':[this[_0x5cc375(0xb8)]]}),this[_0x5cc375(0x93)]();}[_0x4bb627(0xaa)](){const _0x9a7a09=_0x4bb627;super[_0x9a7a09(0xaa)](),_0x4c1ecd({'view':this}),this[_0x9a7a09(0xbc)][_0x9a7a09(0x9f)](this[_0x9a7a09(0xb8)][_0x9a7a09(0xb6)]),this[_0x9a7a09(0xa1)][_0x9a7a09(0x96)](this[_0x9a7a09(0xb6)]);const _0x5324ba=_0x1dee87=>_0x1dee87[_0x9a7a09(0x9c)]();this[_0x9a7a09(0xa1)][_0x9a7a09(0xa5)](_0x9a7a09(0xa6),_0x5324ba),this[_0x9a7a09(0xa1)][_0x9a7a09(0xa5)](_0x9a7a09(0x95),_0x5324ba),this[_0x9a7a09(0xa1)][_0x9a7a09(0xa5)](_0x9a7a09(0xa7),_0x5324ba),this[_0x9a7a09(0xa1)][_0x9a7a09(0xa5)](_0x9a7a09(0xaf),_0x5324ba);}[_0x4bb627(0xac)](){const _0x44e27b=_0x4bb627;this[_0x44e27b(0xb8)][_0x44e27b(0xac)]();}get[_0x4bb627(0xa0)](){const _0x21b3ed=_0x4bb627;return this[_0x21b3ed(0xb8)][_0x21b3ed(0x9a)][_0x21b3ed(0xb6)][_0x21b3ed(0xa8)][_0x21b3ed(0x9e)]();}set[_0x4bb627(0xa0)](_0x2e828f){const _0x5ac7fa=_0x4bb627;this[_0x5ac7fa(0xb8)][_0x5ac7fa(0x9a)][_0x5ac7fa(0xb6)][_0x5ac7fa(0xa8)]=_0x2e828f[_0x5ac7fa(0x9e)]();}[_0x4bb627(0x94)](){const _0x56c4ce=_0x4bb627;this[_0x56c4ce(0xb8)][_0x56c4ce(0x9a)][_0x56c4ce(0xb6)][_0x56c4ce(0xa8)]='',this[_0x56c4ce(0xb8)][_0x56c4ce(0x9b)]=null;}[_0x4bb627(0xbb)](_0x1a6dbb){const _0x1ef4be=_0x4bb627,_0x12b7b2=new _0x4164b9(this[_0x1ef4be(0xb3)],_0x1f5024),_0x416e4c=_0x12b7b2[_0x1ef4be(0x9a)];_0x416e4c[_0x1ef4be(0xb5)]({'attributes':{'maxlength':_0x1ef4be(0x97)}});let _0x280f3e=_0xeaa046(this[_0x1ef4be(0xb3)],_0x1ef4be(0x98));return!_0x1a6dbb&&(_0x280f3e+='\x20('+_0xeaa046(this[_0x1ef4be(0xb3)],_0x1ef4be(0x90))+')'),(_0x12b7b2[_0x1ef4be(0x91)]=_0x280f3e,_0x416e4c['on'](_0x1ef4be(0x92),()=>{const _0x3cfafc=_0x1ef4be;this[_0x3cfafc(0xa4)]=_0x416e4c[_0x3cfafc(0xb6)][_0x3cfafc(0xa8)][_0x3cfafc(0x9e)]();}),_0x12b7b2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5007fd=_0x4232;(function(_0x3db924,_0x3fefbd){const _0x3f7788=_0x4232,_0x3e0224=_0x3db924();while(!![]){try{const _0x96d450=parseInt(_0x3f7788(0x154))/0x1*(-parseInt(_0x3f7788(0x130))/0x2)+-parseInt(_0x3f7788(0x11d))/0x3*(parseInt(_0x3f7788(0x140))/0x4)+-parseInt(_0x3f7788(0x14a))/0x5*(parseInt(_0x3f7788(0x116))/0x6)+parseInt(_0x3f7788(0x125))/0x7+-parseInt(_0x3f7788(0x12f))/0x8*(-parseInt(_0x3f7788(0x142))/0x9)+-parseInt(_0x3f7788(0x14f))/0xa+parseInt(_0x3f7788(0x136))/0xb*(parseInt(_0x3f7788(0x13d))/0xc);if(_0x96d450===_0x3fefbd)break;else _0x3e0224['push'](_0x3e0224['shift']());}catch(_0x1ff4f9){_0x3e0224['push'](_0x3e0224['shift']());}}}(_0x1325,0xa6d92));import{Plugin as _0x524ca6}from'ckeditor5/src/core.js';import{IconHistory as _0x356b01}from'ckeditor5/src/icons.js';import{createDropdown as _0x58fc8a,ButtonView as _0x5266b4,ListItemView as _0x55ac7b,ListView as _0x281e55,MenuBarMenuListItemButtonView as _0x5c1ddd,MenuBarMenuListItemView as _0x1413c8,MenuBarMenuListView as _0xdebd24,MenuBarMenuView as _0x4e892d}from'ckeditor5/src/ui.js';function _0x1325(){const _0x22beaf=['children','Open\x20revision\x20history','show','revisionName','revisionNameInputView','11896NimkXA','10594XUNUGn','requires','isPremiumPlugin','get','ck-button-action','isOpen','22gHQcwN','view','Cancel','render','showRevisionViewerCallback','RevisionHistoryUI','execute','14116512RUqTQN','focus','locale','12uGivPQ','_showDialog','153jHwcAw','buttonView','panelView','errorText','componentFactory','isReady','config','set','6595KFpOJm','RevisionTracker','_saveRevisionFormView','delegate','isEnabled','4320900bVbWLV','Accept','editing','Dialog','menu','1ivifzN','plugins','add','The\x20revision\x20name\x20cannot\x20be\x20empty.','hide','menuBar:revisionHistory','isOfficialPlugin','saveRevision','items','2172kOXdMX','editor','menuitem','revisionHistory.requireRevisionName','Save\x20current\x20revision','submit','_createSaveRevisionFormView','1251399tfYLRB','revisionHistory','addMany','pluginName','_registerMenuComponent','init','role','revisionSave','3301501cCENdI','reset','isReadOnly','bind','Revision\x20history'];_0x1325=function(){return _0x22beaf;};return _0x1325();}import{RevisionTracker as _0x51b72f}from'../../revisiontracker.js';import{RevisionHistorySaveRevisionFormView as _0x1e83aa}from'./revisionhistorysaverevisionformview.js';function _0x4232(_0x54c9ce,_0x4efa44){const _0x13252e=_0x1325();return _0x4232=function(_0x4232e5,_0x3535fd){_0x4232e5=_0x4232e5-0x115;let _0x15890f=_0x13252e[_0x4232e5];return _0x15890f;},_0x4232(_0x54c9ce,_0x4efa44);}import{getTranslation as _0xcd9240}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0x524ca6{static get[_0x5007fd(0x120)](){const _0x2a7a22=_0x5007fd;return _0x2a7a22(0x13b);}static get[_0x5007fd(0x15a)](){return!0x0;}static get[_0x5007fd(0x132)](){return!0x0;}static get[_0x5007fd(0x131)](){return[_0x51b72f];}[_0x5007fd(0x14c)];[_0x5007fd(0x122)](){const _0x38bcb7=_0x5007fd,_0x1fec6a=this[_0x38bcb7(0x117)],_0x2666e8=_0x1fec6a[_0x38bcb7(0x155)][_0x38bcb7(0x133)](_0x38bcb7(0x14b));_0x1fec6a['ui'][_0x38bcb7(0x146)][_0x38bcb7(0x156)](_0x38bcb7(0x11e),_0x593247=>{const _0x5102b1=_0x38bcb7,_0x7b14a6=_0x58fc8a(_0x593247),_0x450c61=_0x7b14a6[_0x5102b1(0x144)][_0x5102b1(0x12a)],_0x57fc76=new _0x281e55(_0x593247),_0x34c3cb=new _0x55ac7b(_0x593247),_0x454330=new _0x5266b4(_0x593247),_0x42e8b5=new _0x55ac7b(_0x593247),_0x373cf9=new _0x5266b4(_0x593247);return _0x7b14a6[_0x5102b1(0x128)](_0x5102b1(0x14e))['to'](_0x2666e8,_0x5102b1(0x147),_0x2666e8,_0x5102b1(0x14e),_0x1fec6a,_0x5102b1(0x127),(_0x5202f4,_0x276ad1,_0x4a36c0)=>_0x5202f4&&_0x276ad1&&!_0x4a36c0),_0x7b14a6[_0x5102b1(0x143)][_0x5102b1(0x149)]({'icon':_0x356b01,'label':_0xcd9240(_0x593247,_0x5102b1(0x129)),'tooltip':!0x0}),_0x454330[_0x5102b1(0x149)]({'label':_0xcd9240(_0x593247,_0x5102b1(0x11a)),'withText':!0x0,'role':_0x5102b1(0x118)}),_0x454330[_0x5102b1(0x128)](_0x5102b1(0x14e))['to'](_0x2666e8,_0x5102b1(0x147),_0x2666e8,_0x5102b1(0x14e),_0x1fec6a,_0x5102b1(0x127),(_0x4485b0,_0x13092e,_0x7fdfdc)=>_0x4485b0&&_0x13092e&&!_0x7fdfdc),_0x454330['on'](_0x5102b1(0x13c),()=>this[_0x5102b1(0x141)]()),_0x373cf9[_0x5102b1(0x149)]({'label':_0xcd9240(_0x593247,_0x5102b1(0x12b)),'withText':!0x0,'role':_0x5102b1(0x118)}),_0x373cf9[_0x5102b1(0x128)](_0x5102b1(0x14e))['to'](_0x2666e8,_0x5102b1(0x147),_0x1fec6a,_0x5102b1(0x127),(_0x19d4cb,_0x307825)=>_0x19d4cb&&!_0x307825),_0x373cf9['on'](_0x5102b1(0x13c),()=>{const _0x1b621a=_0x5102b1;_0x1fec6a[_0x1b621a(0x148)][_0x1b621a(0x133)](_0x1b621a(0x11e))[_0x1b621a(0x13a)](),_0x7b14a6[_0x1b621a(0x135)]=!0x1,_0x1fec6a[_0x1b621a(0x151)][_0x1b621a(0x137)][_0x1b621a(0x13e)]();}),_0x34c3cb[_0x5102b1(0x12a)][_0x5102b1(0x156)](_0x454330),_0x42e8b5[_0x5102b1(0x12a)][_0x5102b1(0x156)](_0x373cf9),_0x57fc76[_0x5102b1(0x123)]=_0x5102b1(0x153),_0x57fc76[_0x5102b1(0x115)][_0x5102b1(0x11f)]([_0x34c3cb,_0x42e8b5]),_0x450c61[_0x5102b1(0x156)](_0x57fc76),_0x7b14a6;}),_0x1fec6a['ui'][_0x38bcb7(0x146)][_0x38bcb7(0x156)](_0x38bcb7(0x159),()=>this[_0x38bcb7(0x121)]());}[_0x5007fd(0x121)](){const _0x1e17ef=_0x5007fd,_0x253cbd=this[_0x1e17ef(0x117)],_0x2f4515=_0x253cbd[_0x1e17ef(0x13f)],_0x4e683a=new _0x4e892d(_0x2f4515),_0x384242=new _0xdebd24(_0x2f4515);_0x4e683a[_0x1e17ef(0x143)][_0x1e17ef(0x149)]({'icon':_0x356b01,'label':_0xcd9240(_0x2f4515,_0x1e17ef(0x129))});const _0x228ea4=new _0x1413c8(_0x2f4515,_0x4e683a),_0x175580=new _0x5c1ddd(_0x2f4515);_0x175580[_0x1e17ef(0x149)]({'label':_0xcd9240(_0x2f4515,_0x1e17ef(0x11a))}),_0x175580[_0x1e17ef(0x14d)](_0x1e17ef(0x13c))['to'](_0x4e683a),_0x175580['on'](_0x1e17ef(0x13c),()=>{const _0x17ddf9=_0x1e17ef;this[_0x17ddf9(0x141)]();}),_0x228ea4[_0x1e17ef(0x12a)][_0x1e17ef(0x156)](_0x175580),_0x384242[_0x1e17ef(0x115)][_0x1e17ef(0x156)](_0x228ea4);const _0x15cceb=new _0x1413c8(_0x2f4515,_0x4e683a),_0x203a9e=new _0x5c1ddd(_0x2f4515);return _0x203a9e[_0x1e17ef(0x149)]({'label':_0xcd9240(_0x2f4515,_0x1e17ef(0x12b))}),_0x203a9e[_0x1e17ef(0x14d)](_0x1e17ef(0x13c))['to'](_0x4e683a),_0x203a9e['on'](_0x1e17ef(0x13c),()=>{const _0x481215=_0x1e17ef;_0x253cbd[_0x481215(0x148)][_0x481215(0x133)](_0x481215(0x11e))[_0x481215(0x13a)]();}),_0x15cceb[_0x1e17ef(0x12a)][_0x1e17ef(0x156)](_0x203a9e),_0x384242[_0x1e17ef(0x115)][_0x1e17ef(0x156)](_0x15cceb),_0x4e683a[_0x1e17ef(0x144)][_0x1e17ef(0x12a)][_0x1e17ef(0x156)](_0x384242),_0x4e683a;}[_0x5007fd(0x141)](){const _0x544d1c=_0x5007fd,_0x15653d=this[_0x544d1c(0x117)],_0x24f33f=_0x15653d[_0x544d1c(0x13f)],_0x473db3=_0x15653d[_0x544d1c(0x155)][_0x544d1c(0x133)](_0x544d1c(0x152)),_0x3493af=_0x15653d[_0x544d1c(0x155)][_0x544d1c(0x133)](_0x544d1c(0x14b));function _0x3dea2e(_0xb43ceb){const _0x11c1eb=_0x544d1c;_0x15653d[_0x11c1eb(0x148)][_0x11c1eb(0x133)](_0x11c1eb(0x119))&&''===_0xb43ceb[_0x11c1eb(0x12d)]?_0xb43ceb[_0x11c1eb(0x12e)][_0x11c1eb(0x145)]=_0xcd9240(_0x24f33f,_0x11c1eb(0x157)):(_0x15653d[_0x11c1eb(0x155)][_0x11c1eb(0x133)](_0x51b72f)[_0x11c1eb(0x15b)]({'name':_0xb43ceb[_0x11c1eb(0x12d)]}),_0x473db3[_0x11c1eb(0x158)]());}this[_0x544d1c(0x14c)]||(this[_0x544d1c(0x11c)](),this[_0x544d1c(0x14c)]['on'](_0x544d1c(0x11b),()=>_0x3dea2e(this[_0x544d1c(0x14c)]))),this[_0x544d1c(0x14c)][_0x544d1c(0x126)](),_0x473db3[_0x544d1c(0x12c)]({'id':_0x544d1c(0x124),'title':_0xcd9240(_0x24f33f,_0x544d1c(0x11a)),'isModal':!0x0,'content':this[_0x544d1c(0x14c)],'actionButtons':[{'label':_0xcd9240(_0x15653d[_0x544d1c(0x13f)],_0x544d1c(0x138)),'withText':!0x0,'onExecute':()=>_0x473db3[_0x544d1c(0x158)]()},{'label':_0xcd9240(_0x15653d[_0x544d1c(0x13f)],_0x544d1c(0x150)),'class':_0x544d1c(0x134),'withText':!0x0,'onCreate'(_0x29f1c9){const _0x4cfb58=_0x544d1c;_0x29f1c9[_0x4cfb58(0x128)](_0x4cfb58(0x14e))['to'](_0x3493af,_0x4cfb58(0x147),_0x3493af,_0x4cfb58(0x14e),_0x15653d,_0x4cfb58(0x127),(_0x3dc92f,_0x3903ad,_0x4137bd)=>_0x3dc92f&&_0x3903ad&&!_0x4137bd);},'onExecute':()=>_0x3dea2e(this[_0x544d1c(0x14c)])}]});}[_0x5007fd(0x11c)](){const _0x44d915=_0x5007fd,_0x47a9fd=this[_0x44d915(0x117)],_0x1b194b=_0x47a9fd[_0x44d915(0x13f)];this[_0x44d915(0x14c)]=new _0x1e83aa(_0x1b194b,_0x47a9fd[_0x44d915(0x148)][_0x44d915(0x133)](_0x44d915(0x119))),this[_0x44d915(0x14c)][_0x44d915(0x139)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5f0b82=_0x1034;(function(_0x5b5c79,_0x122483){const _0x33778c=_0x1034,_0x5b6e15=_0x5b5c79();while(!![]){try{const _0xb94714=-parseInt(_0x33778c(0x18a))/0x1+parseInt(_0x33778c(0x17e))/0x2+-parseInt(_0x33778c(0x15a))/0x3*(parseInt(_0x33778c(0x17f))/0x4)+-parseInt(_0x33778c(0x147))/0x5+-parseInt(_0x33778c(0x189))/0x6*(parseInt(_0x33778c(0x172))/0x7)+parseInt(_0x33778c(0x146))/0x8*(-parseInt(_0x33778c(0x194))/0x9)+parseInt(_0x33778c(0x143))/0xa;if(_0xb94714===_0x122483)break;else _0x5b6e15['push'](_0x5b6e15['shift']());}catch(_0x42a2e8){_0x5b6e15['push'](_0x5b6e15['shift']());}}}(_0x38cd,0x9a399));import{Plugin as _0x1b117a}from'ckeditor5/src/core.js';function _0x1034(_0x28aa78,_0x329503){const _0x38cd75=_0x38cd();return _0x1034=function(_0x10343c,_0x45bff5){_0x10343c=_0x10343c-0x143;let _0x46cc76=_0x38cd75[_0x10343c];return _0x46cc76;},_0x1034(_0x28aa78,_0x329503);}import{RevisionsSidebarView as _0x5c2117}from'./revisionssidebarview.js';import{RevisionViewer as _0x6d2915}from'../../revisionviewer.js';class f extends _0x1b117a{[_0x5f0b82(0x158)];[_0x5f0b82(0x159)];[_0x5f0b82(0x184)];static [_0x5f0b82(0x193)]=[_0x5f0b82(0x162),_0x5f0b82(0x14e),_0x5f0b82(0x148)];static [_0x5f0b82(0x161)]=(function(){const _0x325625=_0x5f0b82;return{'compareAgainstSelected':{'name':_0x325625(0x16b),'action':({plugins:i},s)=>{const _0x4110a7=_0x325625,e=i[_0x4110a7(0x165)](_0x6d2915),n=e[_0x4110a7(0x164)];let r=e[_0x4110a7(0x16d)][_0x4110a7(0x156)],o=s['id'];n[_0x4110a7(0x15f)](r)>n[_0x4110a7(0x15f)](o)&&([r,o]=[o,r]),e[_0x4110a7(0x17a)](r,o);},'isVisible':({plugins:i},s)=>{const _0x3c7c24=_0x325625,e=i[_0x3c7c24(0x165)](_0x6d2915);return!(e[_0x3c7c24(0x164)][_0x3c7c24(0x15e)](e[_0x3c7c24(0x16d)])[_0x3c7c24(0x16e)]>0x2)&&!s[_0x3c7c24(0x14d)];}},'restoreRevision':{'name':_0x325625(0x145),'action':(i,{id:s})=>{const _0x17d6b5=_0x325625;i[_0x17d6b5(0x174)][_0x17d6b5(0x165)](_0x17d6b5(0x14a))[_0x17d6b5(0x150)](s);},'isVisible':({plugins:i},s)=>!!i[_0x325625(0x165)](_0x6d2915)[_0x325625(0x164)][_0x325625(0x182)](s['id'])},'nameRevision':{'name':_0x325625(0x149),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x3c2faa=_0x325625,n=i[_0x3c2faa(0x165)](_0x6d2915),r=n[_0x3c2faa(0x164)][_0x3c2faa(0x15d)](s);n[_0x3c2faa(0x17a)](s,r),e[_0x3c2faa(0x17d)](),e[_0x3c2faa(0x192)][_0x3c2faa(0x17b)]();}}};}());static get[_0x5f0b82(0x155)](){const _0x364ed2=_0x5f0b82;return _0x364ed2(0x157);}static get[_0x5f0b82(0x151)](){return!0x0;}static get[_0x5f0b82(0x175)](){return!0x0;}static get[_0x5f0b82(0x18c)](){return[_0x6d2915];}constructor(_0x3af74d){const _0x3daaba=_0x5f0b82;super(_0x3af74d),this[_0x3daaba(0x158)]=_0x3af74d[_0x3daaba(0x190)][_0x3daaba(0x165)](_0x6d2915),this[_0x3daaba(0x159)]=this[_0x3daaba(0x158)][_0x3daaba(0x164)],this[_0x3daaba(0x184)]=null;}[_0x5f0b82(0x154)](){const _0x1baccd=_0x5f0b82,_0x4a2615=this[_0x1baccd(0x159)][_0x1baccd(0x163)],_0x354d14=this[_0x1baccd(0x17c)](),_0x1b7ade=this[_0x1baccd(0x16f)][_0x1baccd(0x174)][_0x1baccd(0x165)](_0x1baccd(0x187));this[_0x1baccd(0x184)]=new _0x5c2117(this[_0x1baccd(0x16f)][_0x1baccd(0x14f)],_0x4a2615,_0x354d14,this[_0x1baccd(0x16f)][_0x1baccd(0x174)][_0x1baccd(0x165)](_0x1baccd(0x185))),this[_0x1baccd(0x184)]['on'](_0x1baccd(0x18d),this[_0x1baccd(0x153)][_0x1baccd(0x171)](this)),this[_0x1baccd(0x184)]['on'](_0x1baccd(0x173),this[_0x1baccd(0x183)][_0x1baccd(0x171)](this)),this[_0x1baccd(0x184)][_0x1baccd(0x171)](_0x1baccd(0x169))['to'](this[_0x1baccd(0x158)]),this[_0x1baccd(0x184)][_0x1baccd(0x168)]['on'](_0x1baccd(0x16c),(_0x132667,_0x1386d1)=>{const _0x46a934=_0x1baccd;_0x1386d1[_0x46a934(0x18e)]['on'](_0x46a934(0x16c),(_0x180362,_0x5f2a77)=>{const _0x3b084c=_0x46a934;_0x5f2a77[_0x3b084c(0x171)](_0x3b084c(0x169),_0x3b084c(0x14b))['to'](this[_0x3b084c(0x158)]);});}),this[_0x1baccd(0x184)][_0x1baccd(0x191)](),this[_0x1baccd(0x186)](this[_0x1baccd(0x16f)][_0x1baccd(0x180)],_0x1baccd(0x16a),this[_0x1baccd(0x177)][_0x1baccd(0x171)](this)),this[_0x1baccd(0x186)](this[_0x1baccd(0x158)],_0x1baccd(0x170),this[_0x1baccd(0x18b)][_0x1baccd(0x171)](this)),_0x1b7ade[_0x1baccd(0x152)](this[_0x1baccd(0x184)][_0x1baccd(0x176)]);}[_0x5f0b82(0x188)](){const _0x473cb6=_0x5f0b82;this[_0x473cb6(0x184)][_0x473cb6(0x176)][_0x473cb6(0x18f)](),this[_0x473cb6(0x184)][_0x473cb6(0x188)]();}[_0x5f0b82(0x177)](){const _0x36199b=_0x5f0b82,_0x147793=this[_0x36199b(0x159)][_0x36199b(0x144)](0x0);if(_0x147793){const _0x296134=this[_0x36199b(0x159)][_0x36199b(0x15d)](_0x147793['id']);this[_0x36199b(0x158)][_0x36199b(0x17a)](_0x147793,_0x296134);}}[_0x5f0b82(0x153)](_0x2b9d8d,_0x2c06c1){const _0x122aba=_0x5f0b82,_0x457748=this[_0x122aba(0x159)][_0x122aba(0x144)](_0x2c06c1['id']),_0x1dde3a=this[_0x122aba(0x159)][_0x122aba(0x15d)](_0x457748['id']);this[_0x122aba(0x158)][_0x122aba(0x17a)](_0x457748,_0x1dde3a);}[_0x5f0b82(0x183)](_0x145838,_0x3cd8da){const _0x5b02d2=_0x5f0b82;this[_0x5b02d2(0x159)][_0x5b02d2(0x144)](_0x3cd8da['id'])[_0x5b02d2(0x178)](_0x3cd8da[_0x5b02d2(0x160)]);}[_0x5f0b82(0x18b)](_0x2c7703,_0x234812,_0x91e6d1){const _0x38e7be=_0x5f0b82,_0x3df7f6=this[_0x38e7be(0x159)][_0x38e7be(0x15e)](_0x91e6d1);_0x3df7f6[_0x38e7be(0x16e)]>0x2?(this[_0x38e7be(0x184)][_0x38e7be(0x166)](_0x3df7f6),this[_0x38e7be(0x184)][_0x38e7be(0x179)](null)):(this[_0x38e7be(0x184)][_0x38e7be(0x166)]([]),this[_0x38e7be(0x184)][_0x38e7be(0x179)](_0x3df7f6[0x0]));}[_0x5f0b82(0x17c)](){const _0x4e7713=_0x5f0b82,_0x5736fd=this[_0x4e7713(0x16f)],_0x128c35=f[_0x4e7713(0x161)],_0x3e640d=_0x5736fd[_0x4e7713(0x174)][_0x4e7713(0x165)](_0x4e7713(0x195))||f[_0x4e7713(0x193)];if(_0x3e640d[_0x4e7713(0x16e)])return _0x3e640d[_0x4e7713(0x15c)](_0x26eab7=>{const _0x1d9d8a=_0x4e7713,_0x12ea04=_0x1d9d8a(0x167)==typeof _0x26eab7?Object[_0x1d9d8a(0x15b)]({},_0x128c35[_0x26eab7]):_0x26eab7;return _0x12ea04[_0x1d9d8a(0x181)]=_0x12ea04[_0x1d9d8a(0x181)][_0x1d9d8a(0x171)](this,_0x5736fd),_0x12ea04[_0x1d9d8a(0x14c)]&&(_0x12ea04[_0x1d9d8a(0x14c)]=_0x12ea04[_0x1d9d8a(0x14c)][_0x1d9d8a(0x171)](this,_0x5736fd)),_0x12ea04;});}}export{f as RevisionsSidebar};function _0x38cd(){const _0x581a5f=['compare','select','_createRevisionActions','focus','2112164JMNRFx','4qkoIdb','data','action','getLaterVisibleRevision','_handleRevisionSetName','_sidebarView','revisionHistory.requireRevisionName','listenTo','revisionHistory.viewerSidebarContainer','destroy','6282JcaeIa','238800hAOOMU','_handleDiffChange','requires','revisionSelected','revisionViews','remove','plugins','render','fieldView','defaultRevisionActions','113895ZKpDZc','revisionHistory.revisionActions','14171950LNACbz','getRevision','Restore\x20this\x20revision','376wmOXEF','52650KzDPur','nameRevision','Name\x20this\x20revision','revisionHistory','isReady','isVisible','isSelected','restoreRevision','locale','restoreRevisionCallback','isOfficialPlugin','appendChild','_handleRevisionSelected','init','pluginName','newRevisionId','RevisionsSidebar','_revisionViewer','_revisionsRepository','1911867EOuFpw','assign','map','getEarlierVisibleRevision','getRevisionsInDiff','getIndex','name','availableRevisionActions','compareAgainstSelected','_revisions','repository','get','highlightRevisions','string','timePeriodViews','isEnabled','ready','Compare\x20against\x20selected','add','diff','length','editor','change:diff','bind','2408hqkExw','revisionSetName','config','isPremiumPlugin','element','_handleEditorDataReady','setName','selectRevision'];_0x38cd=function(){return _0x581a5f;};return _0x38cd();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2d87(){const _0x5c714d=['917SQkGYE','149944vVUNhW','36959jPMXTx','150UaZsLW','setTemplate','288GlOlXX','3064495oIJDXb','ck-reset_all','4499709xDoFUi','881353SamSNk','Revision\x20history','div','1092rCezFN','span','ck-revision-history-sidebar__header__label','1572VZpzua','718crsbwR','4OIzPvz','content','45258Wghwkw','ck-revision-history-sidebar__header'];_0x2d87=function(){return _0x5c714d;};return _0x2d87();}function _0x2f28(_0x1fc34b,_0x345033){const _0x2d8711=_0x2d87();return _0x2f28=function(_0x2f28d8,_0x5c885f){_0x2f28d8=_0x2f28d8-0x17f;let _0x24b5f7=_0x2d8711[_0x2f28d8];return _0x24b5f7;},_0x2f28(_0x1fc34b,_0x345033);}(function(_0x3c6f49,_0xe86483){const _0x1fcae5=_0x2f28,_0x4cdd82=_0x3c6f49();while(!![]){try{const _0x276970=-parseInt(_0x1fcae5(0x190))/0x1*(-parseInt(_0x1fcae5(0x18b))/0x2)+parseInt(_0x1fcae5(0x183))/0x3*(-parseInt(_0x1fcae5(0x18c))/0x4)+-parseInt(_0x1fcae5(0x181))/0x5+parseInt(_0x1fcae5(0x18e))/0x6*(parseInt(_0x1fcae5(0x187))/0x7)+parseInt(_0x1fcae5(0x191))/0x8*(parseInt(_0x1fcae5(0x180))/0x9)+-parseInt(_0x1fcae5(0x193))/0xa*(-parseInt(_0x1fcae5(0x184))/0xb)+-parseInt(_0x1fcae5(0x18a))/0xc*(parseInt(_0x1fcae5(0x192))/0xd);if(_0x276970===_0xe86483)break;else _0x4cdd82['push'](_0x4cdd82['shift']());}catch(_0x641e61){_0x4cdd82['push'](_0x4cdd82['shift']());}}}(_0x2d87,0xc8c19));import{View as _0x3e20f4,IconView as _0x2b1cf2}from'ckeditor5/src/ui.js';import{getTranslation as _0x4164ea}from'../../utils/common-translations.js';import{IconHistory as _0x3fc89f}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x3e20f4{constructor(_0xe656d1){const _0x5d6fd8=_0x2f28;super(_0xe656d1);const _0x59fbe4=new _0x2b1cf2();_0x59fbe4[_0x5d6fd8(0x18d)]=_0x3fc89f,this[_0x5d6fd8(0x17f)]({'tag':_0x5d6fd8(0x186),'attributes':{'class':['ck',_0x5d6fd8(0x182),_0x5d6fd8(0x18f)]},'children':[_0x59fbe4,{'tag':_0x5d6fd8(0x188),'attributes':{'class':['ck',_0x5d6fd8(0x189)]},'children':[_0x4164ea(_0xe656d1,_0x5d6fd8(0x185))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3fdd38=_0x2634;function _0x2634(_0x26e78e,_0x18373b){const _0x168ebf=_0x168e();return _0x2634=function(_0x263485,_0x2410ae){_0x263485=_0x263485-0x1e8;let _0x4e4dbe=_0x168ebf[_0x263485];return _0x4e4dbe;},_0x2634(_0x26e78e,_0x18373b);}function _0x168e(){const _0xae4b0d=['497212xevwrl','addRevision','12858VINQPj','9475480pvtZMn','2736591tCntEx','revisionViews','135WmKnjG','locale','5798560MsgxKR','startDate','setTemplate','_revisionActions','_requireRevisionName','ck-revision-history-sidebar__time-period__revisions','localizedPeriodName','removeRevision','ck-revision-history-sidebar__time-period__label','select','add','4412754fIYBwD','delegate','setName','ck-revision-history-sidebar__time-period','30407436Ebtgnw','createCollection','55BneEmX','remove','uiLanguage','div','span','find'];_0x168e=function(){return _0xae4b0d;};return _0x168e();}(function(_0x14fc6c,_0x4d170c){const _0x1d5023=_0x2634,_0x59d04b=_0x14fc6c();while(!![]){try{const _0x146ccc=parseInt(_0x1d5023(0x1e9))/0x1*(parseInt(_0x1d5023(0x204))/0x2)+-parseInt(_0x1d5023(0x206))/0x3+-parseInt(_0x1d5023(0x202))/0x4*(-parseInt(_0x1d5023(0x1fc))/0x5)+parseInt(_0x1d5023(0x1f6))/0x6+parseInt(_0x1d5023(0x205))/0x7+parseInt(_0x1d5023(0x1eb))/0x8+-parseInt(_0x1d5023(0x1fa))/0x9;if(_0x146ccc===_0x4d170c)break;else _0x59d04b['push'](_0x59d04b['shift']());}catch(_0x5d25bf){_0x59d04b['push'](_0x59d04b['shift']());}}}(_0x168e,0xb925e));import{View as _0x233248}from'ckeditor5/src/ui.js';import{RevisionView as _0x39fa27}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0xc4261d}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x233248{[_0x3fdd38(0x1ec)];[_0x3fdd38(0x1e8)];[_0x3fdd38(0x1ee)];[_0x3fdd38(0x1ef)];constructor(_0x1d4884,_0x119ad3,_0x2d7a66,_0x454cb7){const _0x2cb61a=_0x3fdd38;super(_0x1d4884);const _0x306e6b=_0xc4261d(_0x119ad3,this[_0x2cb61a(0x1ea)][_0x2cb61a(0x1fe)])[_0x2cb61a(0x1f1)];this[_0x2cb61a(0x1ec)]=_0x119ad3,this[_0x2cb61a(0x1e8)]=this[_0x2cb61a(0x1fb)](),this[_0x2cb61a(0x1ee)]=_0x2d7a66,this[_0x2cb61a(0x1ef)]=_0x454cb7,this[_0x2cb61a(0x1e8)][_0x2cb61a(0x1f7)](_0x2cb61a(0x1f4))['to'](this),this[_0x2cb61a(0x1e8)][_0x2cb61a(0x1f7)](_0x2cb61a(0x1f8))['to'](this),this[_0x2cb61a(0x1ed)]({'tag':_0x2cb61a(0x1ff),'attributes':{'class':['ck',_0x2cb61a(0x1f9)]},'children':[{'tag':_0x2cb61a(0x200),'attributes':{'class':['ck',_0x2cb61a(0x1f3)]},'children':[{'text':_0x306e6b}]},{'tag':_0x2cb61a(0x1ff),'attributes':{'class':['ck',_0x2cb61a(0x1f0)]},'children':this[_0x2cb61a(0x1e8)]}]});}[_0x3fdd38(0x203)](_0xe4c4a8){const _0x38a428=_0x3fdd38,_0x1a4a1d=new _0x39fa27(this[_0x38a428(0x1ea)],_0xe4c4a8,this[_0x38a428(0x1ee)],this[_0x38a428(0x1ef)]);this[_0x38a428(0x1e8)][_0x38a428(0x1f5)](_0x1a4a1d);}[_0x3fdd38(0x1f2)](_0x1f8fed){const _0x5e5b21=_0x3fdd38,_0xfb4feb=this[_0x5e5b21(0x1e8)][_0x5e5b21(0x201)](_0x5ed952=>_0x5ed952['id']===_0x1f8fed['id']);this[_0x5e5b21(0x1e8)][_0x5e5b21(0x1fd)](_0xfb4feb);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2d0d69=_0x21c0;(function(_0x23f381,_0x265d40){const _0x28368a=_0x21c0,_0x4687cd=_0x23f381();while(!![]){try{const _0x19a37b=-parseInt(_0x28368a(0x1b2))/0x1+-parseInt(_0x28368a(0x1b9))/0x2*(-parseInt(_0x28368a(0x1d5))/0x3)+-parseInt(_0x28368a(0x1cc))/0x4+-parseInt(_0x28368a(0x1d3))/0x5*(parseInt(_0x28368a(0x1c1))/0x6)+-parseInt(_0x28368a(0x1d6))/0x7+-parseInt(_0x28368a(0x1d9))/0x8*(parseInt(_0x28368a(0x1c2))/0x9)+-parseInt(_0x28368a(0x1cb))/0xa*(-parseInt(_0x28368a(0x1bf))/0xb);if(_0x19a37b===_0x265d40)break;else _0x4687cd['push'](_0x4687cd['shift']());}catch(_0x430373){_0x4687cd['push'](_0x4687cd['shift']());}}}(_0xa25c,0x68a06));import{View as _0x4cbb58}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x101f88}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x39b3c3}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x451db0}from'./utils.js';function _0x21c0(_0x1bcda3,_0x443b20){const _0xa25cfe=_0xa25c();return _0x21c0=function(_0x21c040,_0x35cf74){_0x21c040=_0x21c040-0x1b1;let _0x3e720c=_0xa25cfe[_0x21c040];return _0x3e720c;},_0x21c0(_0x1bcda3,_0x443b20);}import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x4cbb58{[_0x2d0d69(0x1df)];[_0x2d0d69(0x1c7)];[_0x2d0d69(0x1d1)];[_0x2d0d69(0x1da)];constructor(_0x3b67d9,_0x8b6b70,_0x57e78c,_0x313d9a){const _0x3ce7f5=_0x2d0d69;super(_0x3b67d9);const _0x197b30=this[_0x3ce7f5(0x1c8)];this[_0x3ce7f5(0x1df)]=this[_0x3ce7f5(0x1dc)](),this[_0x3ce7f5(0x1df)][_0x3ce7f5(0x1b5)](_0x3ce7f5(0x1bb))['to'](this),this[_0x3ce7f5(0x1df)][_0x3ce7f5(0x1b5)](_0x3ce7f5(0x1ce))['to'](this),this[_0x3ce7f5(0x1c7)]=_0x8b6b70,this[_0x3ce7f5(0x1d1)]=_0x57e78c,this[_0x3ce7f5(0x1da)]=_0x313d9a,this['on'](_0x3ce7f5(0x1bb),(_0x1419d2,_0x31c4b9)=>{const _0x4a9dcc=_0x3ce7f5;this[_0x4a9dcc(0x1b6)](_0x4a9dcc(0x1b4),_0x31c4b9);}),this['on'](_0x3ce7f5(0x1ce),(_0x10ad4d,_0x3640d9)=>{const _0x4c1443=_0x3ce7f5;this[_0x4c1443(0x1b6)](_0x4c1443(0x1dd),_0x3640d9);}),this[_0x3ce7f5(0x1e0)](_0x3ce7f5(0x1cf),!0x1),this[_0x3ce7f5(0x1e1)]({'tag':_0x3ce7f5(0x1e7),'attributes':{'class':['ck',_0x3ce7f5(0x1db),_0x3ce7f5(0x1e6),_0x3ce7f5(0x1be)]},'children':[new _0x39b3c3(_0x3b67d9),{'tag':_0x3ce7f5(0x1e7),'attributes':{'class':['ck',_0x3ce7f5(0x1c4),_0x197b30['if'](_0x3ce7f5(0x1cf),_0x3ce7f5(0x1cd),_0xfc0f8a=>!_0xfc0f8a)]},'children':this[_0x3ce7f5(0x1df)]}]});}[_0x2d0d69(0x1c0)](){const _0x43bb96=_0x2d0d69;super[_0x43bb96(0x1c0)]();for(const _0x5ace74 of this[_0x43bb96(0x1c7)])this[_0x43bb96(0x1e5)](_0x5ace74);this[_0x43bb96(0x1c7)]['on'](_0x43bb96(0x1d0),(_0x42565d,_0x37d4a5)=>{const _0x1f372d=_0x43bb96;this[_0x1f372d(0x1e5)](_0x37d4a5);}),this[_0x43bb96(0x1c7)]['on'](_0x43bb96(0x1b7),(_0x4245de,_0x12dd5a)=>{const _0x537714=_0x43bb96;this[_0x537714(0x1ba)](_0x12dd5a);});}get[_0x2d0d69(0x1c6)](){const _0x3bd415=_0x2d0d69;return this[_0x3bd415(0x1df)][_0x3bd415(0x1b1)](_0x5aaa59=>_0x5aaa59[_0x3bd415(0x1c6)][_0x3bd415(0x1b1)](_0xd20eab=>_0xd20eab))[_0x3bd415(0x1b8)]();}[_0x2d0d69(0x1d2)](_0xe4db1d){const _0x4ccd55=_0x2d0d69;for(const _0xdd4ebd of this[_0x4ccd55(0x1c6)])_0xe4db1d&&_0xe4db1d['id']===_0xdd4ebd['id']?_0xdd4ebd[_0x4ccd55(0x1bb)]():_0xdd4ebd[_0x4ccd55(0x1e4)]();}[_0x2d0d69(0x1b3)](_0x337f92){const _0x4e617a=_0x2d0d69;for(const _0x559e34 of this[_0x4e617a(0x1c6)])_0x337f92[_0x4e617a(0x1c9)](({id:_0x1df5e5})=>_0x1df5e5===_0x559e34['id'])?_0x559e34[_0x4e617a(0x1d7)]():_0x559e34[_0x4e617a(0x1e8)]();}[_0x2d0d69(0x1e5)](_0x4d3803){const _0x94f14f=_0x2d0d69,_0x1696d2=_0x451db0(_0x4d3803[_0x94f14f(0x1de)],this[_0x94f14f(0x1c3)][_0x94f14f(0x1d4)])[_0x94f14f(0x1ca)];let _0x40887d=this[_0x94f14f(0x1df)][_0x94f14f(0x1bd)](0x0);_0x40887d&&_0x40887d[_0x94f14f(0x1ca)][_0x94f14f(0x1d8)]()===_0x1696d2[_0x94f14f(0x1d8)]()||(_0x40887d=new _0x101f88(this[_0x94f14f(0x1c3)],_0x1696d2,this[_0x94f14f(0x1d1)],this[_0x94f14f(0x1da)]),this[_0x94f14f(0x1df)][_0x94f14f(0x1d0)](_0x40887d)),_0x40887d[_0x94f14f(0x1bc)](_0x4d3803);}[_0x2d0d69(0x1ba)](_0x12ae86){const _0x279eb9=_0x2d0d69,_0x1a7602=_0x451db0(_0x12ae86[_0x279eb9(0x1de)],this[_0x279eb9(0x1c3)][_0x279eb9(0x1d4)])[_0x279eb9(0x1ca)];this[_0x279eb9(0x1e3)](_0x1a7602)[_0x279eb9(0x1c5)](_0x12ae86);}[_0x2d0d69(0x1e3)](_0x524b85){const _0x3c345a=_0x2d0d69;return this[_0x3c345a(0x1df)][_0x3c345a(0x1e2)](_0x3f82ed=>_0x3f82ed[_0x3c345a(0x1ca)][_0x3c345a(0x1d8)]()===_0x524b85[_0x3c345a(0x1d8)]());}}function _0xa25c(){const _0x33578e=['35PswcTb','uiLanguage','996909BESjWN','1689058hkxVdx','highlight','getTime','4794848fmoYxa','_requireRevisionName','ck-reset','createCollection','revisionSetName','createdAt','timePeriodViews','set','setTemplate','find','_getTimePeriodViewByStartDate','deselect','_addRevision','ck-rounded-corners','div','unhighlight','map','448158MyHbAg','highlightRevisions','revisionSelected','delegate','fire','remove','flat','2iPUIXK','_removeRevision','select','addRevision','get','ck-revision-history-sidebar','4903096IOSWNI','render','399780hLWQRL','9IbbvoZ','locale','ck-revision-history-sidebar__timeline','removeRevision','revisionViews','_revisions','bindTemplate','some','startDate','60LjXWCl','3291804TiBIMn','ck-disabled','setName','isEnabled','add','_revisionActions','selectRevision'];_0xa25c=function(){return _0x33578e;};return _0xa25c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xb839(_0x25815a,_0x5a0b7b){const _0x1fb81b=_0x1fb8();return _0xb839=function(_0xb8392b,_0x55e8fb){_0xb8392b=_0xb8392b-0x1f0;let _0x3d427c=_0x1fb81b[_0xb8392b];return _0x3d427c;},_0xb839(_0x25815a,_0x5a0b7b);}(function(_0x4a7c23,_0x24ccd){const _0x31fac5=_0xb839,_0x2f3629=_0x4a7c23();while(!![]){try{const _0x5196f5=parseInt(_0x31fac5(0x1fd))/0x1*(-parseInt(_0x31fac5(0x1fa))/0x2)+-parseInt(_0x31fac5(0x204))/0x3+parseInt(_0x31fac5(0x1fc))/0x4+-parseInt(_0x31fac5(0x201))/0x5+-parseInt(_0x31fac5(0x205))/0x6+-parseInt(_0x31fac5(0x203))/0x7*(-parseInt(_0x31fac5(0x1f8))/0x8)+parseInt(_0x31fac5(0x1f9))/0x9;if(_0x5196f5===_0x24ccd)break;else _0x2f3629['push'](_0x2f3629['shift']());}catch(_0x399c24){_0x2f3629['push'](_0x2f3629['shift']());}}}(_0x1fb8,0x9f3c9));import{DateTime as _0x56da79}from'luxon';function _0x1fb8(){const _0x214a5d=['toJSDate','16048umTyFa','11341260FSoTDy','6SUwaDD','monthLong','2034744VbSryu','50550EGnZNm','weekdayLong','week','minus','1389540VMsurB','local','1127dwExwO','1324299xMbgqj','3411408wabvHi','fromJSDate','year','month','setLocale','startOf','toRelativeCalendar','day','hasSame'];_0x1fb8=function(){return _0x214a5d;};return _0x1fb8();}export function getDateTimePeriodInfo(_0x2dd0a0,_0x2383b3){const _0x23c583=_0xb839,_0x266b65=_0x56da79[_0x23c583(0x206)](_0x2dd0a0)[_0x23c583(0x1f2)](_0x2383b3),_0x389d0b=_0x56da79[_0x23c583(0x202)](),_0x5a201b=_0x389d0b[_0x23c583(0x200)]({'days':0x1})[_0x23c583(0x1f3)](_0x23c583(0x1f5));let _0x9e116f,_0x3eb640;return _0x266b65[_0x23c583(0x1f6)](_0x389d0b,_0x23c583(0x1f5))?(_0x9e116f=_0x266b65[_0x23c583(0x1f3)](_0x23c583(0x1f5))[_0x23c583(0x1f7)](),_0x3eb640=_0x266b65[_0x23c583(0x1f4)]()):_0x266b65[_0x23c583(0x1f6)](_0x5a201b,_0x23c583(0x1f5))?(_0x9e116f=_0x5a201b[_0x23c583(0x1f7)](),_0x3eb640=_0x266b65[_0x23c583(0x1f4)]()):_0x266b65[_0x23c583(0x1f6)](_0x389d0b,_0x23c583(0x1ff))?(_0x9e116f=_0x266b65[_0x23c583(0x1f3)](_0x23c583(0x1ff))[_0x23c583(0x1f7)](),_0x3eb640=_0x266b65[_0x23c583(0x1fe)]||''):_0x266b65[_0x23c583(0x1f6)](_0x389d0b,_0x23c583(0x1f0))?(_0x9e116f=_0x266b65[_0x23c583(0x1f3)](_0x23c583(0x1f1))[_0x23c583(0x1f7)](),_0x3eb640=_0x266b65[_0x23c583(0x1fb)]||''):(_0x9e116f=_0x266b65[_0x23c583(0x1f3)](_0x23c583(0x1f0))[_0x23c583(0x1f7)](),_0x3eb640=String(_0x266b65[_0x23c583(0x1f0)])),{'startDate':_0x9e116f,'localizedPeriodName':_0x3eb640};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x12cb(_0x3450ce,_0x9c2d1f){const _0x139b5b=_0x139b();return _0x12cb=function(_0x12cbc2,_0x2fdb19){_0x12cbc2=_0x12cbc2-0x184;let _0x8a79a8=_0x139b5b[_0x12cbc2];return _0x8a79a8;},_0x12cb(_0x3450ce,_0x9c2d1f);}const _0x3a0d5c=_0x12cb;(function(_0x9883e,_0x3684e7){const _0x378fd5=_0x12cb,_0x20966b=_0x9883e();while(!![]){try{const _0x1f6028=parseInt(_0x378fd5(0x18c))/0x1*(-parseInt(_0x378fd5(0x198))/0x2)+parseInt(_0x378fd5(0x18d))/0x3*(-parseInt(_0x378fd5(0x1a0))/0x4)+parseInt(_0x378fd5(0x193))/0x5+parseInt(_0x378fd5(0x18b))/0x6*(-parseInt(_0x378fd5(0x197))/0x7)+parseInt(_0x378fd5(0x185))/0x8*(-parseInt(_0x378fd5(0x190))/0x9)+parseInt(_0x378fd5(0x18e))/0xa+-parseInt(_0x378fd5(0x191))/0xb*(-parseInt(_0x378fd5(0x19c))/0xc);if(_0x1f6028===_0x3684e7)break;else _0x20966b['push'](_0x20966b['shift']());}catch(_0x5a1cd1){_0x20966b['push'](_0x20966b['shift']());}}}(_0x139b,0x457cb));function _0x139b(){const _0xb69842=['ck-revision-change__','Removed\x20by','Suggested\x20by','changeId','element','880OusWxA','bindTemplate','isSuggestion','type','setTemplate','ck-annotation','5514lGnypl','102625OwceOc','9VucbBe','5186130vWZbwS','add','30807IoUTHI','22cRolFf','div','1528110FbBgOE','span','ck-revision-change__label','data','3731AVVCYP','8ymwsHk','name','set','ck-revision-change','5512068YMaYtw','Added\x20by','focus','_model','241916EGxiSs','author'];_0x139b=function(){return _0xb69842;};return _0x139b();}import{View as _0x2cc521}from'ckeditor5/src/ui.js';import{getTranslation as _0x4817cf}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x2cc521{[_0x3a0d5c(0x1a5)];[_0x3a0d5c(0x19f)];constructor(_0x5156bf,_0x4ce2bb){const _0x50aca5=_0x3a0d5c;super(_0x5156bf),this[_0x50aca5(0x19f)]=_0x4ce2bb,this[_0x50aca5(0x1a5)]=_0x4ce2bb['id'];const _0x275ead=this[_0x50aca5(0x186)],_0x1072fe=_0x4817cf(_0x5156bf,_0x4ce2bb[_0x50aca5(0x196)][_0x50aca5(0x187)]?_0x50aca5(0x1a4):_0x50aca5(0x18f)==_0x4ce2bb[_0x50aca5(0x188)]?_0x50aca5(0x19d):_0x50aca5(0x1a3));this[_0x50aca5(0x19a)](_0x50aca5(0x188),_0x4ce2bb[_0x50aca5(0x188)]),this[_0x50aca5(0x189)]({'tag':_0x50aca5(0x192),'attributes':{'class':[_0x50aca5(0x18a),_0x50aca5(0x19b),_0x275ead['to'](_0x50aca5(0x188),_0x1b6e9e=>_0x50aca5(0x1a2)+_0x1b6e9e)],'tabindex':-0x1},'children':[{'tag':_0x50aca5(0x194),'children':[{'tag':_0x50aca5(0x194),'attributes':{'class':[_0x50aca5(0x195)]},'children':[{'text':_0x1072fe}]},{'text':'\x20'+_0x4ce2bb[_0x50aca5(0x1a1)][_0x50aca5(0x199)]}]}]});}[_0x3a0d5c(0x19e)](){const _0x1826e9=_0x3a0d5c;this[_0x1826e9(0x184)][_0x1826e9(0x19e)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x16ad03,_0x28de83){const _0x5ca89b=_0x411e,_0x15ab66=_0x16ad03();while(!![]){try{const _0x141b88=parseInt(_0x5ca89b(0x118))/0x1*(parseInt(_0x5ca89b(0x116))/0x2)+parseInt(_0x5ca89b(0x123))/0x3*(parseInt(_0x5ca89b(0x115))/0x4)+-parseInt(_0x5ca89b(0x120))/0x5+parseInt(_0x5ca89b(0x122))/0x6+-parseInt(_0x5ca89b(0x109))/0x7*(-parseInt(_0x5ca89b(0x11d))/0x8)+parseInt(_0x5ca89b(0x100))/0x9*(parseInt(_0x5ca89b(0x12a))/0xa)+-parseInt(_0x5ca89b(0x10d))/0xb*(parseInt(_0x5ca89b(0x113))/0xc);if(_0x141b88===_0x28de83)break;else _0x15ab66['push'](_0x15ab66['shift']());}catch(_0x3ae021){_0x15ab66['push'](_0x15ab66['shift']());}}}(_0x2499,0x7929b));import{View as _0x1800b6,ButtonView as _0x27418b,ToolbarSeparatorView as _0x11b0f4}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x44d73d,IconChevronDown as _0x4c9313}from'ckeditor5/src/icons.js';import{getTranslation as _0x2aaf12}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';function _0x411e(_0x1ab516,_0xa07626){const _0x249937=_0x2499();return _0x411e=function(_0x411e00,_0x2899ac){_0x411e00=_0x411e00-0x100;let _0x3fc24b=_0x249937[_0x411e00];return _0x3fc24b;},_0x411e(_0x1ab516,_0xa07626);}function _0x2499(){const _0x25cee6=['44852CaOVjD','2wrYOKQ','set','888857iycIZc','_isStatusLabelVisible','ck-revision-history-ui','span','NUMBER_OF_CHANGES','1294008xuFiic','EDIT_X_OF_Y_REVISIONS','isForwardNavigationEnabled','3266540PTPTEs','ck-revision-history-ui__changes-navigation__navigation','2090898FBAqQH','129iLliEw','isReady','div','ck-hidden','No\x20changes','ck-revision-history-ui__changes-navigation','isBackwardNavigationEnabled','20CGvxNJ','isNavigationMode','bind','663291eLzUlw','_statusText','Loading...','fire','ck-revision-history-ui__changes-navigation__label','setTemplate','numberOfChanges','bindTemplate','Show\x20next\x20change','7XQxUVJ','backward','execute','Total','9669627GphQnw','forward','currentChangeNumber','X_OF_Y_CHANGES','ck-revision-history-ui__changes-navigation__wrapper','isEnabled','12Unczox','Show\x20previous\x20change'];_0x2499=function(){return _0x25cee6;};return _0x2499();}export class ChangesNavigationView extends _0x1800b6{constructor(_0xe6a8ba){const _0xf9292d=_0x411e;super(_0xe6a8ba);const _0xcc91d7=this[_0xf9292d(0x107)],_0x4a6992=new _0x27418b(_0xe6a8ba),_0x4a4e82=new _0x27418b(_0xe6a8ba);this[_0xf9292d(0x117)](_0xf9292d(0x12b),!0x1),this[_0xf9292d(0x117)](_0xf9292d(0x124),!0x1),this[_0xf9292d(0x117)](_0xf9292d(0x10f),0x0),this[_0xf9292d(0x117)](_0xf9292d(0x106),0x0),this[_0xf9292d(0x117)](_0xf9292d(0x11f),!0x1),this[_0xf9292d(0x117)](_0xf9292d(0x129),!0x1),this[_0xf9292d(0x12c)](_0xf9292d(0x119))['to'](this,_0xf9292d(0x124),this,_0xf9292d(0x106),(_0x1e8d00,_0x277d9e)=>_0x1e8d00&&_0x277d9e>0x0),this[_0xf9292d(0x12c)](_0xf9292d(0x101))['to'](this,_0xf9292d(0x124),this,_0xf9292d(0x10f),this,_0xf9292d(0x106),this,_0xf9292d(0x12b),(_0x5a8e7a,_0x4e93d6,_0x597ea0,_0x359f2e)=>{const _0x5f379a=_0xf9292d;if(!_0x5a8e7a)return _0x2aaf12(_0xe6a8ba,_0x5f379a(0x102));if(!_0x597ea0)return _0x2aaf12(_0xe6a8ba,_0x5f379a(0x127));const _0x6c0efd=_0x2aaf12(_0xe6a8ba,_0x5f379a(0x11c),_0x597ea0);return _0x359f2e?_0x2aaf12(_0xe6a8ba,_0x5f379a(0x110),[_0x4e93d6+0x1,_0x597ea0]):_0x6c0efd;}),_0x4a6992[_0xf9292d(0x117)]({'label':_0x2aaf12(_0xe6a8ba,_0xf9292d(0x114)),'tooltip':!0x0,'icon':_0x44d73d}),_0x4a4e82[_0xf9292d(0x117)]({'label':_0x2aaf12(_0xe6a8ba,_0xf9292d(0x108)),'tooltip':!0x0,'icon':_0x4c9313}),_0x4a6992[_0xf9292d(0x12c)](_0xf9292d(0x112))['to'](this,_0xf9292d(0x129)),_0x4a4e82[_0xf9292d(0x12c)](_0xf9292d(0x112))['to'](this,_0xf9292d(0x11f)),_0x4a6992['on'](_0xf9292d(0x10b),()=>this[_0xf9292d(0x103)](_0xf9292d(0x10b),_0xf9292d(0x10a))),_0x4a4e82['on'](_0xf9292d(0x10b),()=>this[_0xf9292d(0x103)](_0xf9292d(0x10b),_0xf9292d(0x10e))),this[_0xf9292d(0x105)]({'tag':_0xf9292d(0x125),'attributes':{'class':['ck',_0xf9292d(0x11a),_0xf9292d(0x128)]},'children':[{'tag':_0xf9292d(0x11b),'attributes':{'class':[_0xf9292d(0x111)]},'children':[{'tag':_0xf9292d(0x11b),'attributes':{'class':[_0xf9292d(0x104),_0xcc91d7['if'](_0xf9292d(0x119),_0xf9292d(0x126),_0xf2a2b3=>!_0xf2a2b3)]},'children':[{'text':_0xcc91d7['to'](_0xf9292d(0x12b),_0xedbfdb=>_0xedbfdb?_0x2aaf12(_0xe6a8ba,_0xf9292d(0x11e))+':\x20':_0x2aaf12(_0xe6a8ba,_0xf9292d(0x10c))+':\x20')}]},{'text':_0xcc91d7['to'](_0xf9292d(0x101))}]},new _0x11b0f4(),{'tag':_0xf9292d(0x125),'attributes':{'class':[_0xf9292d(0x121)]},'children':[_0x4a6992,_0x4a4e82]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x512c(){const _0xb0f855=['ck-editor__editable__loading-overlay','pluginName','roots','change','show','RevisionViewerLoadingOverlay','1620336nPKVwd','251265vWBGjc','editing','document','1188145DiBZqA','addClass','19724ynNefv','14ORAPPG','removeClass','1150245ddcJmv','isOfficialPlugin','isPremiumPlugin','106194mJYyOG','40PMyWpc','4FdcetM','hide','view','editor','172794faXcuf'];_0x512c=function(){return _0xb0f855;};return _0x512c();}const _0x1aa7d9=_0x3202;function _0x3202(_0x46187,_0x4b61db){const _0x512c21=_0x512c();return _0x3202=function(_0x320265,_0x5d1e23){_0x320265=_0x320265-0x169;let _0x53a4b0=_0x512c21[_0x320265];return _0x53a4b0;},_0x3202(_0x46187,_0x4b61db);}(function(_0x513ed9,_0x33a650){const _0x23ba51=_0x3202,_0x1dc9e7=_0x513ed9();while(!![]){try{const _0x140734=-parseInt(_0x23ba51(0x16f))/0x1*(-parseInt(_0x23ba51(0x170))/0x2)+-parseInt(_0x23ba51(0x17b))/0x3+-parseInt(_0x23ba51(0x177))/0x4*(parseInt(_0x23ba51(0x16d))/0x5)+parseInt(_0x23ba51(0x175))/0x6+-parseInt(_0x23ba51(0x16a))/0x7+-parseInt(_0x23ba51(0x169))/0x8+-parseInt(_0x23ba51(0x172))/0x9*(-parseInt(_0x23ba51(0x176))/0xa);if(_0x140734===_0x33a650)break;else _0x1dc9e7['push'](_0x1dc9e7['shift']());}catch(_0x70ad6){_0x1dc9e7['push'](_0x1dc9e7['shift']());}}}(_0x512c,0x208cb));import{Plugin as _0x47b2d5}from'ckeditor5/src/core.js';const ge=_0x1aa7d9(0x17c);import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0x47b2d5{static get[_0x1aa7d9(0x17d)](){const _0x274690=_0x1aa7d9;return _0x274690(0x181);}static get[_0x1aa7d9(0x173)](){return!0x0;}static get[_0x1aa7d9(0x174)](){return!0x0;}[_0x1aa7d9(0x180)](){const _0x1f02c3=_0x1aa7d9,_0x239b6a=this[_0x1f02c3(0x17a)][_0x1f02c3(0x16b)][_0x1f02c3(0x179)];_0x239b6a[_0x1f02c3(0x17f)](_0x16496a=>{const _0x49003e=_0x1f02c3;for(const _0x581dc2 of _0x239b6a[_0x49003e(0x16c)][_0x49003e(0x17e)])_0x16496a[_0x49003e(0x16e)](ge,_0x581dc2);});}[_0x1aa7d9(0x178)](){const _0x4b09f0=_0x1aa7d9,_0x4ce32a=this[_0x4b09f0(0x17a)][_0x4b09f0(0x16b)][_0x4b09f0(0x179)];_0x4ce32a[_0x4b09f0(0x17f)](_0x5776ce=>{const _0x145f0e=_0x4b09f0;for(const _0x491aea of _0x4ce32a[_0x145f0e(0x16c)][_0x145f0e(0x17e)])_0x5776ce[_0x145f0e(0x171)](ge,_0x491aea);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd45ffb=_0x68bd;(function(_0x334563,_0x42e46e){const _0x1f641b=_0x68bd,_0x1f3bfe=_0x334563();while(!![]){try{const _0x2535a2=parseInt(_0x1f641b(0x1d2))/0x1*(-parseInt(_0x1f641b(0x1db))/0x2)+parseInt(_0x1f641b(0x1ec))/0x3*(parseInt(_0x1f641b(0x1d1))/0x4)+parseInt(_0x1f641b(0x1d4))/0x5*(parseInt(_0x1f641b(0x1d0))/0x6)+parseInt(_0x1f641b(0x1e0))/0x7*(-parseInt(_0x1f641b(0x1f4))/0x8)+-parseInt(_0x1f641b(0x1e8))/0x9*(-parseInt(_0x1f641b(0x1e3))/0xa)+-parseInt(_0x1f641b(0x1de))/0xb*(parseInt(_0x1f641b(0x1f7))/0xc)+parseInt(_0x1f641b(0x1eb))/0xd*(-parseInt(_0x1f641b(0x1d8))/0xe);if(_0x2535a2===_0x42e46e)break;else _0x1f3bfe['push'](_0x1f3bfe['shift']());}catch(_0x50d99c){_0x1f3bfe['push'](_0x1f3bfe['shift']());}}}(_0x4b91,0x42728));function _0x4b91(){const _0x52367d=['config','closeRevisionViewerCallback','9JiIjgA','isReady','init','1391YNLFYV','9561wvNIXi','showPreviousChange','isOfficialPlugin','isPremiumPlugin','numberOfChanges','get','editor','revisionHistory','136BFrcfI','changesNavigation','plugins','228HlkDgi','Restore\x20this\x20revision','set','isNavigationMode','exitToEditing','restoreRevision','show','pluginName','add','showNextChange','hide','componentFactory','execute','6rPFzwu','620ifNSxG','121150cIVvfl','commands','1701695Rvvndm','requires','Back\x20to\x20editing','isEnabled','18802XGwvOW','RevisionViewerUI','currentChangeNumber','4clDAiT','listenTo','isForwardNavigationEnabled','243023PMSmQq','ck-revision-history-ui__back-to-editing','80486bVhwUe','isBackwardNavigationEnabled','bind','4390780mGybfB','forward','change:isReady'];_0x4b91=function(){return _0x52367d;};return _0x4b91();}import{Plugin as _0x45c831}from'ckeditor5/src/core.js';import{ButtonView as _0x286057}from'ckeditor5/src/ui.js';import{IconUndo as _0x58beba}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x9c2f91}from'./changesnavigationview.js';function _0x68bd(_0x22c441,_0x432fc7){const _0x4b9182=_0x4b91();return _0x68bd=function(_0x68bdbe,_0x2d7909){_0x68bdbe=_0x68bdbe-0x1cf;let _0x1b810b=_0x4b9182[_0x68bdbe];return _0x1b810b;},_0x68bd(_0x22c441,_0x432fc7);}import{RevisionViewer as _0x6d1bf}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x1e5ecd}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x3cf1ab}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x45c831{static get[_0xd45ffb(0x1fe)](){const _0x5e3771=_0xd45ffb;return _0x5e3771(0x1d9);}static get[_0xd45ffb(0x1ee)](){return!0x0;}static get[_0xd45ffb(0x1ef)](){return!0x0;}static get[_0xd45ffb(0x1d5)](){return[_0x6d1bf,_0x1e5ecd];}[_0xd45ffb(0x1ea)](){const _0xc5fbbd=_0xd45ffb,_0x1f59ea=this[_0xc5fbbd(0x1f2)],_0x13affd=_0x1f59ea[_0xc5fbbd(0x1f6)][_0xc5fbbd(0x1f1)](_0x6d1bf),_0x58bd56=_0x1f59ea[_0xc5fbbd(0x1f6)][_0xc5fbbd(0x1f1)](_0x1e5ecd);_0x1f59ea['ui'][_0xc5fbbd(0x202)][_0xc5fbbd(0x1ff)](_0xc5fbbd(0x1fb),_0x7802f8=>{const _0x194ba8=_0xc5fbbd,_0x1d0b9b=new _0x286057(_0x7802f8);return _0x1d0b9b[_0x194ba8(0x1f9)]({'label':_0x3cf1ab(_0x7802f8,_0x194ba8(0x1d6)),'icon':_0x58beba,'withText':!0x0,'tooltip':!0x0,'class':_0x194ba8(0x1df)}),this[_0x194ba8(0x1dc)](_0x1d0b9b,_0x194ba8(0x1cf),()=>{const _0x5c88c2=_0x194ba8;_0x1f59ea[_0x5c88c2(0x1e6)][_0x5c88c2(0x1f1)](_0x5c88c2(0x1f3))[_0x5c88c2(0x1e7)]();}),_0x1d0b9b;}),_0x1f59ea['ui'][_0xc5fbbd(0x202)][_0xc5fbbd(0x1ff)](_0xc5fbbd(0x1fc),_0x52f040=>{const _0x3ae2e1=_0xc5fbbd,_0x50529a=new _0x286057(_0x52f040);return _0x50529a[_0x3ae2e1(0x1f9)]({'label':_0x3cf1ab(_0x52f040,_0x3ae2e1(0x1f8)),'withText':!0x0,'tooltip':!0x0}),_0x50529a[_0x3ae2e1(0x1e2)](_0x3ae2e1(0x1d7))['to'](_0x1f59ea[_0x3ae2e1(0x1d3)][_0x3ae2e1(0x1f1)](_0x3ae2e1(0x1fc))),this[_0x3ae2e1(0x1dc)](_0x50529a,_0x3ae2e1(0x1cf),()=>_0x1f59ea[_0x3ae2e1(0x1cf)](_0x3ae2e1(0x1fc))),_0x50529a;}),_0x1f59ea['ui'][_0xc5fbbd(0x202)][_0xc5fbbd(0x1ff)](_0xc5fbbd(0x1f5),_0x3522a8=>{const _0x5d5fb5=_0xc5fbbd,_0x568687=new _0x9c2f91(_0x3522a8),_0x1848be=_0x1f59ea[_0x5d5fb5(0x1d3)][_0x5d5fb5(0x1f1)](_0x5d5fb5(0x1ed)),_0x4a0455=_0x1f59ea[_0x5d5fb5(0x1d3)][_0x5d5fb5(0x1f1)](_0x5d5fb5(0x200));return _0x568687[_0x5d5fb5(0x1e2)](_0x5d5fb5(0x1e1))['to'](_0x1848be,_0x5d5fb5(0x1d7)),_0x568687[_0x5d5fb5(0x1e2)](_0x5d5fb5(0x1dd))['to'](_0x4a0455,_0x5d5fb5(0x1d7)),_0x568687[_0x5d5fb5(0x1e2)](_0x5d5fb5(0x1e9),_0x5d5fb5(0x1da),_0x5d5fb5(0x1f0),_0x5d5fb5(0x1fa))['to'](_0x13affd),this[_0x5d5fb5(0x1dc)](_0x568687,_0x5d5fb5(0x1cf),(_0x23a020,_0x420c65)=>{const _0x36da42=_0x5d5fb5;_0x1f59ea[_0x36da42(0x1cf)](_0x36da42(0x1e4)===_0x420c65?_0x36da42(0x200):_0x36da42(0x1ed));}),_0x568687;}),_0x58bd56[_0xc5fbbd(0x1fd)](),_0x13affd['on'](_0xc5fbbd(0x1e5),(_0x573310,_0x49db62,_0x2df411)=>{const _0x29a806=_0xc5fbbd;_0x2df411?_0x58bd56[_0x29a806(0x201)]():_0x58bd56[_0x29a806(0x1fd)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x2cd8bd,_0x2a7d5e,_0x29409b){const t=_0x2cd8bd['t'];switch(_0x2a7d5e){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'},_0x29409b);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x29409b);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'';}}
|