@ckeditor/ckeditor5-revision-history 47.0.0-alpha.2 → 47.0.0-alpha.4
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
|
+
const _0x3a886c=_0xd43b;(function(_0x46faaf,_0x282650){const _0x174c4c=_0xd43b,_0x9817b9=_0x46faaf();while(!![]){try{const _0x39ab45=parseInt(_0x174c4c(0x1d3))/0x1+parseInt(_0x174c4c(0x1f3))/0x2+-parseInt(_0x174c4c(0x1e9))/0x3+parseInt(_0x174c4c(0x1fb))/0x4*(-parseInt(_0x174c4c(0x1eb))/0x5)+-parseInt(_0x174c4c(0x1f0))/0x6+-parseInt(_0x174c4c(0x1f9))/0x7*(-parseInt(_0x174c4c(0x1d6))/0x8)+parseInt(_0x174c4c(0x1f2))/0x9*(-parseInt(_0x174c4c(0x1ed))/0xa);if(_0x39ab45===_0x282650)break;else _0x9817b9['push'](_0x9817b9['shift']());}catch(_0x440fe2){_0x9817b9['push'](_0x9817b9['shift']());}}}(_0x51a3,0xa7aea));import{CssTransitionDisablerMixin as _0x38a5ab,LabeledFieldView as _0x324feb,View as _0x4f658b,createLabeledInputText as _0xd1f540,submitHandler as _0x1e8613}from'ckeditor5/src/ui.js';function _0x51a3(){const _0x1f3717=['arrowup','3287406apMjVM','listenTo','130JvfWuJ','optional','10TRpUtt','extendTemplate','render','4645428ABMmUf','fieldView','4722390yvnaGX','2644622TofwqL','form','revisionNameInputView','revisionName','locale','arrowdown','10094ooqNJM','ck-revision-history-save-revision-form','24788kwlWjc','errorText','set','focusTracker','1252741luEVvu','focus','input','3704jJwMqZ','Name\x20of\x20the\x20revision','220','revisionNameInputValue','element','reset','add','_createRevisionNameInput','trim','initializeCssTransitionDisablerMixin','label','stopPropagation','ck-responsive-form','setTemplate','value','arrowright','keystrokes','arrowleft'];_0x51a3=function(){return _0x1f3717;};return _0x51a3();}import{FocusTracker as _0x1548af,KeystrokeHandler as _0x3c0924}from'ckeditor5/src/utils.js';import{getTranslation as _0xa1536a}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';function _0xd43b(_0x6491bd,_0x102adc){const _0x51a3dc=_0x51a3();return _0xd43b=function(_0xd43b6,_0x4a1ca6){_0xd43b6=_0xd43b6-0x1d2;let _0x394daa=_0x51a3dc[_0xd43b6];return _0x394daa;},_0xd43b(_0x6491bd,_0x102adc);}import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x38a5ab(_0x4f658b){[_0x3a886c(0x1d2)];[_0x3a886c(0x1e6)];[_0x3a886c(0x1f5)];constructor(_0x2a5f0b,_0x4ffb20){const _0x450587=_0x3a886c;super(_0x2a5f0b),this[_0x450587(0x1d2)]=new _0x1548af(),this[_0x450587(0x1e6)]=new _0x3c0924(),this[_0x450587(0x1fd)](_0x450587(0x1d9),''),this[_0x450587(0x1f5)]=this[_0x450587(0x1dd)](_0x4ffb20),this[_0x450587(0x1e3)]({'tag':_0x450587(0x1f4),'attributes':{'class':['ck',_0x450587(0x1fa),_0x450587(0x1e2)],'tabindex':'-1'},'children':[this[_0x450587(0x1f5)]]}),this[_0x450587(0x1df)]();}[_0x3a886c(0x1ef)](){const _0x2d22c2=_0x3a886c;super[_0x2d22c2(0x1ef)](),_0x1e8613({'view':this}),this[_0x2d22c2(0x1d2)][_0x2d22c2(0x1dc)](this[_0x2d22c2(0x1f5)][_0x2d22c2(0x1da)]),this[_0x2d22c2(0x1e6)][_0x2d22c2(0x1ea)](this[_0x2d22c2(0x1da)]);const _0x57f416=_0x21b5f0=>_0x21b5f0[_0x2d22c2(0x1e1)]();this[_0x2d22c2(0x1e6)][_0x2d22c2(0x1fd)](_0x2d22c2(0x1e5),_0x57f416),this[_0x2d22c2(0x1e6)][_0x2d22c2(0x1fd)](_0x2d22c2(0x1e7),_0x57f416),this[_0x2d22c2(0x1e6)][_0x2d22c2(0x1fd)](_0x2d22c2(0x1e8),_0x57f416),this[_0x2d22c2(0x1e6)][_0x2d22c2(0x1fd)](_0x2d22c2(0x1f8),_0x57f416);}[_0x3a886c(0x1d4)](){const _0x20cc3f=_0x3a886c;this[_0x20cc3f(0x1f5)][_0x20cc3f(0x1d4)]();}get[_0x3a886c(0x1f6)](){const _0x5dc96d=_0x3a886c;return this[_0x5dc96d(0x1f5)][_0x5dc96d(0x1f1)][_0x5dc96d(0x1da)][_0x5dc96d(0x1e4)][_0x5dc96d(0x1de)]();}set[_0x3a886c(0x1f6)](_0x9806f6){const _0x3ab839=_0x3a886c;this[_0x3ab839(0x1f5)][_0x3ab839(0x1f1)][_0x3ab839(0x1da)][_0x3ab839(0x1e4)]=_0x9806f6[_0x3ab839(0x1de)]();}[_0x3a886c(0x1db)](){const _0x54c2a0=_0x3a886c;this[_0x54c2a0(0x1f5)][_0x54c2a0(0x1f1)][_0x54c2a0(0x1da)][_0x54c2a0(0x1e4)]='',this[_0x54c2a0(0x1f5)][_0x54c2a0(0x1fc)]=null;}[_0x3a886c(0x1dd)](_0x542f21){const _0x59422e=_0x3a886c,_0x407465=new _0x324feb(this[_0x59422e(0x1f7)],_0xd1f540),_0x4e363c=_0x407465[_0x59422e(0x1f1)];_0x4e363c[_0x59422e(0x1ee)]({'attributes':{'maxlength':_0x59422e(0x1d8)}});let _0x166660=_0xa1536a(this[_0x59422e(0x1f7)],_0x59422e(0x1d7));return!_0x542f21&&(_0x166660+='\x20('+_0xa1536a(this[_0x59422e(0x1f7)],_0x59422e(0x1ec))+')'),(_0x407465[_0x59422e(0x1e0)]=_0x166660,_0x4e363c['on'](_0x59422e(0x1d5),()=>{const _0x472448=_0x59422e;this[_0x472448(0x1d9)]=_0x4e363c[_0x472448(0x1da)][_0x472448(0x1e4)][_0x472448(0x1de)]();}),_0x407465);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3cafdf=_0x18ff;(function(_0x180ce2,_0x1fe605){const _0xf4c724=_0x18ff,_0x2f0e88=_0x180ce2();while(!![]){try{const _0x2f791e=-parseInt(_0xf4c724(0xd7))/0x1*(parseInt(_0xf4c724(0xca))/0x2)+-parseInt(_0xf4c724(0xd1))/0x3+-parseInt(_0xf4c724(0xb0))/0x4+parseInt(_0xf4c724(0xde))/0x5*(parseInt(_0xf4c724(0xa6))/0x6)+-parseInt(_0xf4c724(0xbd))/0x7+parseInt(_0xf4c724(0xdb))/0x8*(-parseInt(_0xf4c724(0xb7))/0x9)+parseInt(_0xf4c724(0xa5))/0xa;if(_0x2f791e===_0x1fe605)break;else _0x2f0e88['push'](_0x2f0e88['shift']());}catch(_0x1bcec9){_0x2f0e88['push'](_0x2f0e88['shift']());}}}(_0x12a7,0xb1b07));function _0x12a7(){const _0x1c5f5a=['19205TkMwTO','execute','focus','componentFactory','editor','isPremiumPlugin','render','Revision\x20history','init','revisionNameInputView','isEnabled','delegate','35707270dprTVU','1002LubJOU','revisionHistory','items','revisionSave','Cancel','_registerMenuComponent','bind','set','ck-button-action','_saveRevisionFormView','5758400DyOKOQ','Dialog','panelView','_createSaveRevisionFormView','hide','pluginName','show','7305345Vfdtgp','isOpen','config','addMany','revisionName','saveRevision','3238900NhsiKq','showRevisionViewerCallback','view','menuitem','errorText','isOfficialPlugin','RevisionHistoryUI','Accept','requires','buttonView','Save\x20current\x20revision','submit','isReadOnly','20228xzCQRD','The\x20revision\x20name\x20cannot\x20be\x20empty.','isReady','Open\x20revision\x20history','get','RevisionTracker','plugins','702936sLGtdE','menu','locale','menuBar:revisionHistory','reset','add','53hXdnyA','_showDialog','role','editing','8VgrhnB','children','revisionHistory.requireRevisionName'];_0x12a7=function(){return _0x1c5f5a;};return _0x12a7();}function _0x18ff(_0x339c85,_0x2bbdac){const _0x12a7c0=_0x12a7();return _0x18ff=function(_0x18ff9d,_0x57fd76){_0x18ff9d=_0x18ff9d-0x9f;let _0x2d584f=_0x12a7c0[_0x18ff9d];return _0x2d584f;},_0x18ff(_0x339c85,_0x2bbdac);}import{Plugin as _0x151ff3}from'ckeditor5/src/core.js';import{IconHistory as _0x26845d}from'ckeditor5/src/icons.js';import{createDropdown as _0x19e748,ButtonView as _0x37884c,ListItemView as _0x262d3a,ListView as _0x10b9e2,MenuBarMenuListItemButtonView as _0xe15456,MenuBarMenuListItemView as _0x16b8a4,MenuBarMenuListView as _0x25a988,MenuBarMenuView as _0x41e83b}from'ckeditor5/src/ui.js';import{RevisionTracker as _0x40b593}from'../../revisiontracker.js';import{RevisionHistorySaveRevisionFormView as _0x20bf61}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0xe3d1d}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0x151ff3{static get[_0x3cafdf(0xb5)](){const _0x534125=_0x3cafdf;return _0x534125(0xc3);}static get[_0x3cafdf(0xc2)](){return!0x0;}static get[_0x3cafdf(0xe3)](){return!0x0;}static get[_0x3cafdf(0xc5)](){return[_0x40b593];}[_0x3cafdf(0xaf)];[_0x3cafdf(0xa1)](){const _0x2904ef=_0x3cafdf,_0x5ee975=this[_0x2904ef(0xe2)],_0x3809e2=_0x5ee975[_0x2904ef(0xd0)][_0x2904ef(0xce)](_0x2904ef(0xcf));_0x5ee975['ui'][_0x2904ef(0xe1)][_0x2904ef(0xd6)](_0x2904ef(0xa7),_0xf8295e=>{const _0x1149cd=_0x2904ef,_0x186a2a=_0x19e748(_0xf8295e),_0x1192aa=_0x186a2a[_0x1149cd(0xb2)][_0x1149cd(0xdc)],_0x28aedd=new _0x10b9e2(_0xf8295e),_0x446af4=new _0x262d3a(_0xf8295e),_0x30fa96=new _0x37884c(_0xf8295e),_0x23b42c=new _0x262d3a(_0xf8295e),_0x4759ea=new _0x37884c(_0xf8295e);return _0x186a2a[_0x1149cd(0xac)](_0x1149cd(0xa3))['to'](_0x3809e2,_0x1149cd(0xcc),_0x3809e2,_0x1149cd(0xa3),_0x5ee975,_0x1149cd(0xc9),(_0x30bf17,_0x1034d0,_0x3f53d6)=>_0x30bf17&&_0x1034d0&&!_0x3f53d6),_0x186a2a[_0x1149cd(0xc6)][_0x1149cd(0xad)]({'icon':_0x26845d,'label':_0xe3d1d(_0xf8295e,_0x1149cd(0xa0)),'tooltip':!0x0}),_0x30fa96[_0x1149cd(0xad)]({'label':_0xe3d1d(_0xf8295e,_0x1149cd(0xc7)),'withText':!0x0,'role':_0x1149cd(0xc0)}),_0x30fa96[_0x1149cd(0xac)](_0x1149cd(0xa3))['to'](_0x3809e2,_0x1149cd(0xcc),_0x3809e2,_0x1149cd(0xa3),_0x5ee975,_0x1149cd(0xc9),(_0xbf03ab,_0x3bb134,_0x2c4f3a)=>_0xbf03ab&&_0x3bb134&&!_0x2c4f3a),_0x30fa96['on'](_0x1149cd(0xdf),()=>this[_0x1149cd(0xd8)]()),_0x4759ea[_0x1149cd(0xad)]({'label':_0xe3d1d(_0xf8295e,_0x1149cd(0xcd)),'withText':!0x0,'role':_0x1149cd(0xc0)}),_0x4759ea[_0x1149cd(0xac)](_0x1149cd(0xa3))['to'](_0x3809e2,_0x1149cd(0xcc),_0x5ee975,_0x1149cd(0xc9),(_0x3e4909,_0x202bfb)=>_0x3e4909&&!_0x202bfb),_0x4759ea['on'](_0x1149cd(0xdf),()=>{const _0xae1744=_0x1149cd;_0x5ee975[_0xae1744(0xb9)][_0xae1744(0xce)](_0xae1744(0xa7))[_0xae1744(0xbe)](),_0x186a2a[_0xae1744(0xb8)]=!0x1,_0x5ee975[_0xae1744(0xda)][_0xae1744(0xbf)][_0xae1744(0xe0)]();}),_0x446af4[_0x1149cd(0xdc)][_0x1149cd(0xd6)](_0x30fa96),_0x23b42c[_0x1149cd(0xdc)][_0x1149cd(0xd6)](_0x4759ea),_0x28aedd[_0x1149cd(0xd9)]=_0x1149cd(0xd2),_0x28aedd[_0x1149cd(0xa8)][_0x1149cd(0xba)]([_0x446af4,_0x23b42c]),_0x1192aa[_0x1149cd(0xd6)](_0x28aedd),_0x186a2a;}),_0x5ee975['ui'][_0x2904ef(0xe1)][_0x2904ef(0xd6)](_0x2904ef(0xd4),()=>this[_0x2904ef(0xab)]());}[_0x3cafdf(0xab)](){const _0x51c018=_0x3cafdf,_0x98fa2f=this[_0x51c018(0xe2)],_0xd6bd9b=_0x98fa2f[_0x51c018(0xd3)],_0x4c2b34=new _0x41e83b(_0xd6bd9b),_0x5ebe4c=new _0x25a988(_0xd6bd9b);_0x4c2b34[_0x51c018(0xc6)][_0x51c018(0xad)]({'icon':_0x26845d,'label':_0xe3d1d(_0xd6bd9b,_0x51c018(0xa0))});const _0x3a1b18=new _0x16b8a4(_0xd6bd9b,_0x4c2b34),_0x1f8cca=new _0xe15456(_0xd6bd9b);_0x1f8cca[_0x51c018(0xad)]({'label':_0xe3d1d(_0xd6bd9b,_0x51c018(0xc7))}),_0x1f8cca[_0x51c018(0xa4)](_0x51c018(0xdf))['to'](_0x4c2b34),_0x1f8cca['on'](_0x51c018(0xdf),()=>{const _0x516ee7=_0x51c018;this[_0x516ee7(0xd8)]();}),_0x3a1b18[_0x51c018(0xdc)][_0x51c018(0xd6)](_0x1f8cca),_0x5ebe4c[_0x51c018(0xa8)][_0x51c018(0xd6)](_0x3a1b18);const _0x338cef=new _0x16b8a4(_0xd6bd9b,_0x4c2b34),_0x50d47e=new _0xe15456(_0xd6bd9b);return _0x50d47e[_0x51c018(0xad)]({'label':_0xe3d1d(_0xd6bd9b,_0x51c018(0xcd))}),_0x50d47e[_0x51c018(0xa4)](_0x51c018(0xdf))['to'](_0x4c2b34),_0x50d47e['on'](_0x51c018(0xdf),()=>{const _0x2fbf3f=_0x51c018;_0x98fa2f[_0x2fbf3f(0xb9)][_0x2fbf3f(0xce)](_0x2fbf3f(0xa7))[_0x2fbf3f(0xbe)]();}),_0x338cef[_0x51c018(0xdc)][_0x51c018(0xd6)](_0x50d47e),_0x5ebe4c[_0x51c018(0xa8)][_0x51c018(0xd6)](_0x338cef),_0x4c2b34[_0x51c018(0xb2)][_0x51c018(0xdc)][_0x51c018(0xd6)](_0x5ebe4c),_0x4c2b34;}[_0x3cafdf(0xd8)](){const _0x1fb414=_0x3cafdf,_0x41a5d8=this[_0x1fb414(0xe2)],_0x3486f6=_0x41a5d8[_0x1fb414(0xd3)],_0x230807=_0x41a5d8[_0x1fb414(0xd0)][_0x1fb414(0xce)](_0x1fb414(0xb1)),_0x449bdd=_0x41a5d8[_0x1fb414(0xd0)][_0x1fb414(0xce)](_0x1fb414(0xcf));function _0x1004d4(_0x23cea0){const _0x4c5df5=_0x1fb414;_0x41a5d8[_0x4c5df5(0xb9)][_0x4c5df5(0xce)](_0x4c5df5(0xdd))&&''===_0x23cea0[_0x4c5df5(0xbb)]?_0x23cea0[_0x4c5df5(0xa2)][_0x4c5df5(0xc1)]=_0xe3d1d(_0x3486f6,_0x4c5df5(0xcb)):(_0x41a5d8[_0x4c5df5(0xd0)][_0x4c5df5(0xce)](_0x40b593)[_0x4c5df5(0xbc)]({'name':_0x23cea0[_0x4c5df5(0xbb)]}),_0x230807[_0x4c5df5(0xb4)]());}this[_0x1fb414(0xaf)]||(this[_0x1fb414(0xb3)](),this[_0x1fb414(0xaf)]['on'](_0x1fb414(0xc8),()=>_0x1004d4(this[_0x1fb414(0xaf)]))),this[_0x1fb414(0xaf)][_0x1fb414(0xd5)](),_0x230807[_0x1fb414(0xb6)]({'id':_0x1fb414(0xa9),'title':_0xe3d1d(_0x3486f6,_0x1fb414(0xc7)),'isModal':!0x0,'content':this[_0x1fb414(0xaf)],'actionButtons':[{'label':_0xe3d1d(_0x41a5d8[_0x1fb414(0xd3)],_0x1fb414(0xaa)),'withText':!0x0,'onExecute':()=>_0x230807[_0x1fb414(0xb4)]()},{'label':_0xe3d1d(_0x41a5d8[_0x1fb414(0xd3)],_0x1fb414(0xc4)),'class':_0x1fb414(0xae),'withText':!0x0,'onCreate'(_0x441657){const _0x4d0dcc=_0x1fb414;_0x441657[_0x4d0dcc(0xac)](_0x4d0dcc(0xa3))['to'](_0x449bdd,_0x4d0dcc(0xcc),_0x449bdd,_0x4d0dcc(0xa3),_0x41a5d8,_0x4d0dcc(0xc9),(_0x59d252,_0x59ba6e,_0x445713)=>_0x59d252&&_0x59ba6e&&!_0x445713);},'onExecute':()=>_0x1004d4(this[_0x1fb414(0xaf)])}]});}[_0x3cafdf(0xb3)](){const _0x5173ac=_0x3cafdf,_0x364988=this[_0x5173ac(0xe2)],_0x2926b1=_0x364988[_0x5173ac(0xd3)];this[_0x5173ac(0xaf)]=new _0x20bf61(_0x2926b1,_0x364988[_0x5173ac(0xb9)][_0x5173ac(0xce)](_0x5173ac(0xdd))),this[_0x5173ac(0xaf)][_0x5173ac(0x9f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1969ab=_0x119d;(function(_0x2e328e,_0x2430d8){const _0x5c2d23=_0x119d,_0x2c2076=_0x2e328e();while(!![]){try{const _0x1416a5=parseInt(_0x5c2d23(0x14c))/0x1+-parseInt(_0x5c2d23(0x180))/0x2*(-parseInt(_0x5c2d23(0x177))/0x3)+-parseInt(_0x5c2d23(0x15e))/0x4+parseInt(_0x5c2d23(0x148))/0x5*(-parseInt(_0x5c2d23(0x13d))/0x6)+-parseInt(_0x5c2d23(0x14e))/0x7*(parseInt(_0x5c2d23(0x144))/0x8)+parseInt(_0x5c2d23(0x150))/0x9*(-parseInt(_0x5c2d23(0x147))/0xa)+parseInt(_0x5c2d23(0x157))/0xb*(parseInt(_0x5c2d23(0x13c))/0xc);if(_0x1416a5===_0x2430d8)break;else _0x2c2076['push'](_0x2c2076['shift']());}catch(_0xf7ec5d){_0x2c2076['push'](_0x2c2076['shift']());}}}(_0x585e,0x42977));function _0x585e(){const _0x3ab74e=['init','142764nNxMeh','assign','42GsxyoO','getIndex','16893ngVFQv','isVisible','revisionHistory','getEarlierVisibleRevision','nameRevision','destroy','listenTo','1685816kgApyf','Restore\x20this\x20revision','highlightRevisions','add','RevisionsSidebar','compareAgainstSelected','restoreRevision','2132396jdlkEx','action','map','_revisionViewer','fieldView','selectRevision','name','data','bind','focus','select','isReady','_handleEditorDataReady','setName','revisionHistory.revisionActions','getRevisionsInDiff','newRevisionId','repository','getLaterVisibleRevision','locale','get','isOfficialPlugin','_revisions','revisionSetName','_createRevisionActions','76719loIltg','_sidebarView','length','Compare\x20against\x20selected','isEnabled','revisionSelected','_handleRevisionSelected','plugins','timePeriodViews','30UBpjJd','_revisionsRepository','getRevision','diff','_handleRevisionSetName','defaultRevisionActions','_handleDiffChange','string','change:diff','Name\x20this\x20revision','pluginName','revisionHistory.requireRevisionName','appendChild','availableRevisionActions','remove','restoreRevisionCallback','render','96EeCtwp','2255856OmdLnc','element','requires','revisionHistory.viewerSidebarContainer','revisionViews','editor','isSelected','182648GBhEyJ','config','ready','2310zGvZIr','5kpQrhd','isPremiumPlugin','compare'];_0x585e=function(){return _0x3ab74e;};return _0x585e();}import{Plugin as _0x4c8307}from'ckeditor5/src/core.js';function _0x119d(_0x5297b9,_0x2ef6f7){const _0x585ee8=_0x585e();return _0x119d=function(_0x119d6c,_0x39dee3){_0x119d6c=_0x119d6c-0x133;let _0x1893b3=_0x585ee8[_0x119d6c];return _0x1893b3;},_0x119d(_0x5297b9,_0x2ef6f7);}import{RevisionsSidebarView as _0x3dce4e}from'./revisionssidebarview.js';import{RevisionViewer as _0x588247}from'../../revisionviewer.js';export class RevisionsSidebar extends _0x4c8307{[_0x1969ab(0x161)];[_0x1969ab(0x181)];[_0x1969ab(0x178)];static [_0x1969ab(0x185)]=[_0x1969ab(0x15c),_0x1969ab(0x15d),_0x1969ab(0x154)];static [_0x1969ab(0x138)]=(function(){const _0x2981f1=_0x1969ab;return{'compareAgainstSelected':{'name':_0x2981f1(0x17a),'action':({plugins:i},s)=>{const _0x20c7da=_0x2981f1,e=i[_0x20c7da(0x172)](_0x588247),n=e[_0x20c7da(0x16f)];let r=e[_0x20c7da(0x183)][_0x20c7da(0x16e)],o=s['id'];n[_0x20c7da(0x14f)](r)>n[_0x20c7da(0x14f)](o)&&([r,o]=[o,r]),e[_0x20c7da(0x14a)](r,o);},'isVisible':({plugins:i},s)=>{const _0x220a66=_0x2981f1,e=i[_0x220a66(0x172)](_0x588247);return!(e[_0x220a66(0x16f)][_0x220a66(0x16d)](e[_0x220a66(0x183)])[_0x220a66(0x179)]>0x2)&&!s[_0x220a66(0x143)];}},'restoreRevision':{'name':_0x2981f1(0x158),'action':(i,{id:s})=>{const _0x5b673e=_0x2981f1;i[_0x5b673e(0x145)][_0x5b673e(0x172)](_0x5b673e(0x152))[_0x5b673e(0x13a)](s);},'isVisible':({plugins:i},s)=>!!i[_0x2981f1(0x172)](_0x588247)[_0x2981f1(0x16f)][_0x2981f1(0x170)](s['id'])},'nameRevision':{'name':_0x2981f1(0x134),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0xdbf564=_0x2981f1,n=i[_0xdbf564(0x172)](_0x588247),r=n[_0xdbf564(0x16f)][_0xdbf564(0x153)](s);n[_0xdbf564(0x14a)](s,r),e[_0xdbf564(0x167)](),e[_0xdbf564(0x162)][_0xdbf564(0x168)]();}}};}());static get[_0x1969ab(0x135)](){const _0x49c856=_0x1969ab;return _0x49c856(0x15b);}static get[_0x1969ab(0x173)](){return!0x0;}static get[_0x1969ab(0x149)](){return!0x0;}static get[_0x1969ab(0x13f)](){return[_0x588247];}constructor(_0x1b7903){const _0x443e51=_0x1969ab;super(_0x1b7903),this[_0x443e51(0x161)]=_0x1b7903[_0x443e51(0x17e)][_0x443e51(0x172)](_0x588247),this[_0x443e51(0x181)]=this[_0x443e51(0x161)][_0x443e51(0x16f)],this[_0x443e51(0x178)]=null;}[_0x1969ab(0x14b)](){const _0x7e0f63=_0x1969ab,_0x6bb452=this[_0x7e0f63(0x181)][_0x7e0f63(0x174)],_0x83ba3e=this[_0x7e0f63(0x176)](),_0x3dec4f=this[_0x7e0f63(0x142)][_0x7e0f63(0x145)][_0x7e0f63(0x172)](_0x7e0f63(0x140));this[_0x7e0f63(0x178)]=new _0x3dce4e(this[_0x7e0f63(0x142)][_0x7e0f63(0x171)],_0x6bb452,_0x83ba3e,this[_0x7e0f63(0x142)][_0x7e0f63(0x145)][_0x7e0f63(0x172)](_0x7e0f63(0x136))),this[_0x7e0f63(0x178)]['on'](_0x7e0f63(0x17c),this[_0x7e0f63(0x17d)][_0x7e0f63(0x166)](this)),this[_0x7e0f63(0x178)]['on'](_0x7e0f63(0x175),this[_0x7e0f63(0x184)][_0x7e0f63(0x166)](this)),this[_0x7e0f63(0x178)][_0x7e0f63(0x166)](_0x7e0f63(0x17b))['to'](this[_0x7e0f63(0x161)]),this[_0x7e0f63(0x178)][_0x7e0f63(0x17f)]['on'](_0x7e0f63(0x15a),(_0x22fcc8,_0x23d98f)=>{const _0x358acb=_0x7e0f63;_0x23d98f[_0x358acb(0x141)]['on'](_0x358acb(0x15a),(_0x4917ab,_0x32cacc)=>{const _0x149c38=_0x358acb;_0x32cacc[_0x149c38(0x166)](_0x149c38(0x17b),_0x149c38(0x169))['to'](this[_0x149c38(0x161)]);});}),this[_0x7e0f63(0x178)][_0x7e0f63(0x13b)](),this[_0x7e0f63(0x156)](this[_0x7e0f63(0x142)][_0x7e0f63(0x165)],_0x7e0f63(0x146),this[_0x7e0f63(0x16a)][_0x7e0f63(0x166)](this)),this[_0x7e0f63(0x156)](this[_0x7e0f63(0x161)],_0x7e0f63(0x133),this[_0x7e0f63(0x186)][_0x7e0f63(0x166)](this)),_0x3dec4f[_0x7e0f63(0x137)](this[_0x7e0f63(0x178)][_0x7e0f63(0x13e)]);}[_0x1969ab(0x155)](){const _0x1117c5=_0x1969ab;this[_0x1117c5(0x178)][_0x1117c5(0x13e)][_0x1117c5(0x139)](),this[_0x1117c5(0x178)][_0x1117c5(0x155)]();}[_0x1969ab(0x16a)](){const _0x31f9cf=_0x1969ab,_0x1b70ef=this[_0x31f9cf(0x181)][_0x31f9cf(0x182)](0x0);if(_0x1b70ef){const _0x288fb7=this[_0x31f9cf(0x181)][_0x31f9cf(0x153)](_0x1b70ef['id']);this[_0x31f9cf(0x161)][_0x31f9cf(0x14a)](_0x1b70ef,_0x288fb7);}}[_0x1969ab(0x17d)](_0x3e2076,_0x45a264){const _0x3b17e5=_0x1969ab,_0x42f3a9=this[_0x3b17e5(0x181)][_0x3b17e5(0x182)](_0x45a264['id']),_0x40a422=this[_0x3b17e5(0x181)][_0x3b17e5(0x153)](_0x42f3a9['id']);this[_0x3b17e5(0x161)][_0x3b17e5(0x14a)](_0x42f3a9,_0x40a422);}[_0x1969ab(0x184)](_0x5b1bed,_0x2bd0bc){const _0x40cfc3=_0x1969ab;this[_0x40cfc3(0x181)][_0x40cfc3(0x182)](_0x2bd0bc['id'])[_0x40cfc3(0x16b)](_0x2bd0bc[_0x40cfc3(0x164)]);}[_0x1969ab(0x186)](_0x51a06b,_0x2a1146,_0x163d26){const _0x5206a2=_0x1969ab,_0x3f958e=this[_0x5206a2(0x181)][_0x5206a2(0x16d)](_0x163d26);_0x3f958e[_0x5206a2(0x179)]>0x2?(this[_0x5206a2(0x178)][_0x5206a2(0x159)](_0x3f958e),this[_0x5206a2(0x178)][_0x5206a2(0x163)](null)):(this[_0x5206a2(0x178)][_0x5206a2(0x159)]([]),this[_0x5206a2(0x178)][_0x5206a2(0x163)](_0x3f958e[0x0]));}[_0x1969ab(0x176)](){const _0x17146b=_0x1969ab,_0x1e9f70=this[_0x17146b(0x142)],_0x329d1a=RevisionsSidebar[_0x17146b(0x138)],_0x39d446=_0x1e9f70[_0x17146b(0x145)][_0x17146b(0x172)](_0x17146b(0x16c))||RevisionsSidebar[_0x17146b(0x185)];if(_0x39d446[_0x17146b(0x179)])return _0x39d446[_0x17146b(0x160)](_0x41d016=>{const _0x428ceb=_0x17146b,_0x1d3bab=_0x428ceb(0x187)==typeof _0x41d016?Object[_0x428ceb(0x14d)]({},_0x329d1a[_0x41d016]):_0x41d016;return _0x1d3bab[_0x428ceb(0x15f)]=_0x1d3bab[_0x428ceb(0x15f)][_0x428ceb(0x166)](this,_0x1e9f70),_0x1d3bab[_0x428ceb(0x151)]&&(_0x1d3bab[_0x428ceb(0x151)]=_0x1d3bab[_0x428ceb(0x151)][_0x428ceb(0x166)](this,_0x1e9f70)),_0x1d3bab;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2bc1(){const _0x2eae42=['ck-revision-history-sidebar__header','1601055XLelJF','470nUJvTU','div','3351204OEdDRk','78512krzSgZ','5sFHyHy','Revision\x20history','1044652bOXFyj','16LSPeWb','content','span','122466yRXLbx','ck-reset_all','setTemplate','187439EKOqtP','ck-revision-history-sidebar__header__label','351243ApyMHM'];_0x2bc1=function(){return _0x2eae42;};return _0x2bc1();}(function(_0x7a9157,_0x4753ad){const _0x12a119=_0x5c27,_0x561a64=_0x7a9157();while(!![]){try{const _0x4231c2=parseInt(_0x12a119(0x18c))/0x1+parseInt(_0x12a119(0x189))/0x2+parseInt(_0x12a119(0x185))/0x3+parseInt(_0x12a119(0x188))/0x4+parseInt(_0x12a119(0x18a))/0x5*(-parseInt(_0x12a119(0x190))/0x6)+-parseInt(_0x12a119(0x193))/0x7*(parseInt(_0x12a119(0x18d))/0x8)+-parseInt(_0x12a119(0x195))/0x9*(parseInt(_0x12a119(0x186))/0xa);if(_0x4231c2===_0x4753ad)break;else _0x561a64['push'](_0x561a64['shift']());}catch(_0x2db389){_0x561a64['push'](_0x561a64['shift']());}}}(_0x2bc1,0x85958));import{View as _0xc3066d,IconView as _0x3b33e6}from'ckeditor5/src/ui.js';import{getTranslation as _0x207901}from'../../utils/common-translations.js';import{IconHistory as _0x48c740}from'ckeditor5/src/icons.js';function _0x5c27(_0x4650da,_0x7a8d47){const _0x2bc185=_0x2bc1();return _0x5c27=function(_0x5c2759,_0x274265){_0x5c2759=_0x5c2759-0x184;let _0xf6fce0=_0x2bc185[_0x5c2759];return _0xf6fce0;},_0x5c27(_0x4650da,_0x7a8d47);}import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0xc3066d{constructor(_0x26f3fc){const _0x1cbe7d=_0x5c27;super(_0x26f3fc);const _0x1b9121=new _0x3b33e6();_0x1b9121[_0x1cbe7d(0x18e)]=_0x48c740,this[_0x1cbe7d(0x192)]({'tag':_0x1cbe7d(0x187),'attributes':{'class':['ck',_0x1cbe7d(0x191),_0x1cbe7d(0x184)]},'children':[_0x1b9121,{'tag':_0x1cbe7d(0x18f),'attributes':{'class':['ck',_0x1cbe7d(0x194)]},'children':[_0x207901(_0x26f3fc,_0x1cbe7d(0x18b))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x19ca(){const _0x2bb445=['46076OTJPjK','ck-revision-history-sidebar__time-period__revisions','removeRevision','find','delegate','remove','locale','2403560edcPYZ','span','div','136080OtiuNN','localizedPeriodName','4555117CKPyzo','setTemplate','336335mLNRFA','addRevision','51JQGpac','select','126IbKCWW','setName','_requireRevisionName','uiLanguage','998136WjHJgM','ck-revision-history-sidebar__time-period__label','add','_revisionActions','681460OKgbaK','ck-revision-history-sidebar__time-period','revisionViews','startDate','5fzJYZc','createCollection'];_0x19ca=function(){return _0x2bb445;};return _0x19ca();}const _0x580e85=_0x5d42;(function(_0x5587ac,_0x4bdb13){const _0x5181af=_0x5d42,_0x6a652f=_0x5587ac();while(!![]){try{const _0x1e4334=-parseInt(_0x5181af(0x12f))/0x1+-parseInt(_0x5181af(0x11b))/0x2+-parseInt(_0x5181af(0x131))/0x3*(-parseInt(_0x5181af(0x121))/0x4)+parseInt(_0x5181af(0x11f))/0x5*(parseInt(_0x5181af(0x137))/0x6)+parseInt(_0x5181af(0x12d))/0x7+parseInt(_0x5181af(0x12b))/0x8*(parseInt(_0x5181af(0x133))/0x9)+-parseInt(_0x5181af(0x128))/0xa;if(_0x1e4334===_0x4bdb13)break;else _0x6a652f['push'](_0x6a652f['shift']());}catch(_0x50a2cf){_0x6a652f['push'](_0x6a652f['shift']());}}}(_0x19ca,0x5173d));import{View as _0x5e5408}from'ckeditor5/src/ui.js';import{RevisionView as _0x573200}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x46cc9d}from'./utils.js';function _0x5d42(_0x299c5f,_0x168287){const _0x19ca0c=_0x19ca();return _0x5d42=function(_0x5d422a,_0x23fdbf){_0x5d422a=_0x5d422a-0x119;let _0x195f73=_0x19ca0c[_0x5d422a];return _0x195f73;},_0x5d42(_0x299c5f,_0x168287);}import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x5e5408{[_0x580e85(0x11e)];[_0x580e85(0x11d)];[_0x580e85(0x11a)];[_0x580e85(0x135)];constructor(_0x21252f,_0x20108b,_0x51c6b6,_0x30a5d9){const _0x800aad=_0x580e85;super(_0x21252f);const _0x989ae3=_0x46cc9d(_0x20108b,this[_0x800aad(0x127)][_0x800aad(0x136)])[_0x800aad(0x12c)];this[_0x800aad(0x11e)]=_0x20108b,this[_0x800aad(0x11d)]=this[_0x800aad(0x120)](),this[_0x800aad(0x11a)]=_0x51c6b6,this[_0x800aad(0x135)]=_0x30a5d9,this[_0x800aad(0x11d)][_0x800aad(0x125)](_0x800aad(0x132))['to'](this),this[_0x800aad(0x11d)][_0x800aad(0x125)](_0x800aad(0x134))['to'](this),this[_0x800aad(0x12e)]({'tag':_0x800aad(0x12a),'attributes':{'class':['ck',_0x800aad(0x11c)]},'children':[{'tag':_0x800aad(0x129),'attributes':{'class':['ck',_0x800aad(0x138)]},'children':[{'text':_0x989ae3}]},{'tag':_0x800aad(0x12a),'attributes':{'class':['ck',_0x800aad(0x122)]},'children':this[_0x800aad(0x11d)]}]});}[_0x580e85(0x130)](_0x13e86c){const _0x2c8514=_0x580e85,_0xc982c4=new _0x573200(this[_0x2c8514(0x127)],_0x13e86c,this[_0x2c8514(0x11a)],this[_0x2c8514(0x135)]);this[_0x2c8514(0x11d)][_0x2c8514(0x119)](_0xc982c4);}[_0x580e85(0x123)](_0x4489cb){const _0x180ac3=_0x580e85,_0x3459b7=this[_0x180ac3(0x11d)][_0x180ac3(0x124)](_0xe8e325=>_0xe8e325['id']===_0x4489cb['id']);this[_0x180ac3(0x11d)][_0x180ac3(0x126)](_0x3459b7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1bf746=_0x244c;(function(_0x200dd1,_0x282bc1){const _0x25c5a4=_0x244c,_0xf71750=_0x200dd1();while(!![]){try{const _0x59eb24=-parseInt(_0x25c5a4(0xbb))/0x1+-parseInt(_0x25c5a4(0xcb))/0x2+-parseInt(_0x25c5a4(0xa5))/0x3+parseInt(_0x25c5a4(0xbe))/0x4*(parseInt(_0x25c5a4(0xa9))/0x5)+-parseInt(_0x25c5a4(0xc9))/0x6*(parseInt(_0x25c5a4(0xc8))/0x7)+-parseInt(_0x25c5a4(0xb1))/0x8*(parseInt(_0x25c5a4(0xcd))/0x9)+parseInt(_0x25c5a4(0xc2))/0xa;if(_0x59eb24===_0x282bc1)break;else _0xf71750['push'](_0xf71750['shift']());}catch(_0x535b10){_0xf71750['push'](_0xf71750['shift']());}}}(_0x1d5b,0x408da));import{View as _0x692d38}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x271c90}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x1435da}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x2286c1}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';function _0x244c(_0x53b9db,_0x5b1b60){const _0x1d5b2c=_0x1d5b();return _0x244c=function(_0x244ce0,_0x55f073){_0x244ce0=_0x244ce0-0x9a;let _0x96656d=_0x1d5b2c[_0x244ce0];return _0x96656d;},_0x244c(_0x53b9db,_0x5b1b60);}export class RevisionsSidebarView extends _0x692d38{[_0x1bf746(0xa7)];[_0x1bf746(0xb8)];[_0x1bf746(0xac)];[_0x1bf746(0xa0)];constructor(_0x57cc12,_0x10b849,_0x3d0a52,_0x1e5acf){const _0x4ae030=_0x1bf746;super(_0x57cc12);const _0x160079=this[_0x4ae030(0xa8)];this[_0x4ae030(0xa7)]=this[_0x4ae030(0xc3)](),this[_0x4ae030(0xa7)][_0x4ae030(0xa3)](_0x4ae030(0xc5))['to'](this),this[_0x4ae030(0xa7)][_0x4ae030(0xa3)](_0x4ae030(0xb7))['to'](this),this[_0x4ae030(0xb8)]=_0x10b849,this[_0x4ae030(0xac)]=_0x3d0a52,this[_0x4ae030(0xa0)]=_0x1e5acf,this['on'](_0x4ae030(0xc5),(_0x54d4b4,_0x2780b8)=>{const _0x555ab2=_0x4ae030;this[_0x555ab2(0xcc)](_0x555ab2(0x9b),_0x2780b8);}),this['on'](_0x4ae030(0xb7),(_0x3f88df,_0x2307af)=>{const _0x468b15=_0x4ae030;this[_0x468b15(0xcc)](_0x468b15(0x9d),_0x2307af);}),this[_0x4ae030(0xc4)](_0x4ae030(0xbc),!0x1),this[_0x4ae030(0xce)]({'tag':_0x4ae030(0xaa),'attributes':{'class':['ck',_0x4ae030(0xc1),_0x4ae030(0xd0),_0x4ae030(0xae)]},'children':[new _0x1435da(_0x57cc12),{'tag':_0x4ae030(0xaa),'attributes':{'class':['ck',_0x4ae030(0xbd),_0x160079['if'](_0x4ae030(0xbc),_0x4ae030(0xb9),_0x5d61c7=>!_0x5d61c7)]},'children':this[_0x4ae030(0xa7)]}]});}[_0x1bf746(0xab)](){const _0x4adee2=_0x1bf746;super[_0x4adee2(0xab)]();for(const _0x440a13 of this[_0x4adee2(0xb8)])this[_0x4adee2(0x9c)](_0x440a13);this[_0x4adee2(0xb8)]['on'](_0x4adee2(0xa4),(_0x64e232,_0xff689b)=>{const _0x133f06=_0x4adee2;this[_0x133f06(0x9c)](_0xff689b);}),this[_0x4adee2(0xb8)]['on'](_0x4adee2(0xa2),(_0x2b6471,_0x157300)=>{const _0x69dc37=_0x4adee2;this[_0x69dc37(0xb0)](_0x157300);});}get[_0x1bf746(0xc0)](){const _0x1ebae2=_0x1bf746;return this[_0x1ebae2(0xa7)][_0x1ebae2(0x9a)](_0x11f3d1=>_0x11f3d1[_0x1ebae2(0xc0)][_0x1ebae2(0x9a)](_0x590702=>_0x590702))[_0x1ebae2(0xc6)]();}[_0x1bf746(0xca)](_0x293870){const _0x56ab8c=_0x1bf746;for(const _0x4718a2 of this[_0x56ab8c(0xc0)])_0x293870&&_0x293870['id']===_0x4718a2['id']?_0x4718a2[_0x56ab8c(0xc5)]():_0x4718a2[_0x56ab8c(0xba)]();}[_0x1bf746(0xaf)](_0x487acf){const _0x14ece0=_0x1bf746;for(const _0x35097d of this[_0x14ece0(0xc0)])_0x487acf[_0x14ece0(0xc7)](({id:_0x565794})=>_0x565794===_0x35097d['id'])?_0x35097d[_0x14ece0(0xbf)]():_0x35097d[_0x14ece0(0xad)]();}[_0x1bf746(0x9c)](_0x5c8aa9){const _0x49b682=_0x1bf746,_0x48725d=_0x2286c1(_0x5c8aa9[_0x49b682(0x9e)],this[_0x49b682(0xb5)][_0x49b682(0xb6)])[_0x49b682(0xb4)];let _0x41ea88=this[_0x49b682(0xa7)][_0x49b682(0x9f)](0x0);_0x41ea88&&_0x41ea88[_0x49b682(0xb4)][_0x49b682(0xb3)]()===_0x48725d[_0x49b682(0xb3)]()||(_0x41ea88=new _0x271c90(this[_0x49b682(0xb5)],_0x48725d,this[_0x49b682(0xac)],this[_0x49b682(0xa0)]),this[_0x49b682(0xa7)][_0x49b682(0xa4)](_0x41ea88)),_0x41ea88[_0x49b682(0xcf)](_0x5c8aa9);}[_0x1bf746(0xb0)](_0x4d6632){const _0x468366=_0x1bf746,_0x317ea6=_0x2286c1(_0x4d6632[_0x468366(0x9e)],this[_0x468366(0xb5)][_0x468366(0xb6)])[_0x468366(0xb4)];this[_0x468366(0xa1)](_0x317ea6)[_0x468366(0xb2)](_0x4d6632);}[_0x1bf746(0xa1)](_0x2ce5ec){const _0x2dbab0=_0x1bf746;return this[_0x2dbab0(0xa7)][_0x2dbab0(0xa6)](_0x3cf106=>_0x3cf106[_0x2dbab0(0xb4)][_0x2dbab0(0xb3)]()===_0x2ce5ec[_0x2dbab0(0xb3)]());}}function _0x1d5b(){const _0x1173ad=['ck-rounded-corners','map','revisionSelected','_addRevision','revisionSetName','createdAt','get','_requireRevisionName','_getTimePeriodViewByStartDate','remove','delegate','add','359604hLWazw','find','timePeriodViews','bindTemplate','445UwoGsB','div','render','_revisionActions','unhighlight','ck-revision-history-sidebar','highlightRevisions','_removeRevision','16736wlOfPI','removeRevision','getTime','startDate','locale','uiLanguage','setName','_revisions','ck-disabled','deselect','271041thHyfH','isEnabled','ck-revision-history-sidebar__timeline','21604RoeKwy','highlight','revisionViews','ck-reset','11300130ifVrdc','createCollection','set','select','flat','some','1503747oTqAYj','6FhBZXH','selectRevision','531356PwBFQE','fire','2043NOClXk','setTemplate','addRevision'];_0x1d5b=function(){return _0x1173ad;};return _0x1d5b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x166e(_0x1b2227,_0x27c0cc){const _0x5192cf=_0x5192();return _0x166e=function(_0x166e2c,_0x2ab6d4){_0x166e2c=_0x166e2c-0xf0;let _0x4eab36=_0x5192cf[_0x166e2c];return _0x4eab36;},_0x166e(_0x1b2227,_0x27c0cc);}(function(_0x1915d7,_0x560f2f){const _0x52dc56=_0x166e,_0x56c951=_0x1915d7();while(!![]){try{const _0x5a5a43=parseInt(_0x52dc56(0xfc))/0x1+-parseInt(_0x52dc56(0xfd))/0x2+parseInt(_0x52dc56(0x104))/0x3*(parseInt(_0x52dc56(0xf2))/0x4)+parseInt(_0x52dc56(0xfa))/0x5*(-parseInt(_0x52dc56(0x101))/0x6)+-parseInt(_0x52dc56(0xfb))/0x7+-parseInt(_0x52dc56(0xff))/0x8*(-parseInt(_0x52dc56(0x107))/0x9)+parseInt(_0x52dc56(0xf4))/0xa;if(_0x5a5a43===_0x560f2f)break;else _0x56c951['push'](_0x56c951['shift']());}catch(_0x5a9ace){_0x56c951['push'](_0x56c951['shift']());}}}(_0x5192,0xc8df4));import{DateTime as _0x702f4e}from'luxon';export function getDateTimePeriodInfo(_0x220a6e,_0x229a58){const _0x3754f5=_0x166e,_0x4ce919=_0x702f4e[_0x3754f5(0x102)](_0x220a6e)[_0x3754f5(0xf6)](_0x229a58),_0x2393d1=_0x702f4e[_0x3754f5(0xf1)](),_0x48c370=_0x2393d1[_0x3754f5(0x103)]({'days':0x1})[_0x3754f5(0xf3)](_0x3754f5(0xf7));let _0x569a23,_0x3b1f0;return _0x4ce919[_0x3754f5(0xfe)](_0x2393d1,_0x3754f5(0xf7))?(_0x569a23=_0x4ce919[_0x3754f5(0xf3)](_0x3754f5(0xf7))[_0x3754f5(0xf9)](),_0x3b1f0=_0x4ce919[_0x3754f5(0xf0)]()):_0x4ce919[_0x3754f5(0xfe)](_0x48c370,_0x3754f5(0xf7))?(_0x569a23=_0x48c370[_0x3754f5(0xf9)](),_0x3b1f0=_0x4ce919[_0x3754f5(0xf0)]()):_0x4ce919[_0x3754f5(0xfe)](_0x2393d1,_0x3754f5(0x105))?(_0x569a23=_0x4ce919[_0x3754f5(0xf3)](_0x3754f5(0x105))[_0x3754f5(0xf9)](),_0x3b1f0=_0x4ce919[_0x3754f5(0x106)]||''):_0x4ce919[_0x3754f5(0xfe)](_0x2393d1,_0x3754f5(0xf8))?(_0x569a23=_0x4ce919[_0x3754f5(0xf3)](_0x3754f5(0x100))[_0x3754f5(0xf9)](),_0x3b1f0=_0x4ce919[_0x3754f5(0xf5)]||''):(_0x569a23=_0x4ce919[_0x3754f5(0xf3)](_0x3754f5(0xf8))[_0x3754f5(0xf9)](),_0x3b1f0=String(_0x4ce919[_0x3754f5(0xf8)])),{'startDate':_0x569a23,'localizedPeriodName':_0x3b1f0};}function _0x5192(){const _0x123003=['6WxgUrh','fromJSDate','minus','12KWjbTb','week','weekdayLong','38439CaqXVi','toRelativeCalendar','local','1065392bJwtLW','startOf','10345440MoccCJ','monthLong','setLocale','day','year','toJSDate','4647095NvcCGf','1540007MhUFXJ','796773ijgbmN','2267592kxkayf','hasSame','392dbtcsa','month'];_0x5192=function(){return _0x123003;};return _0x5192();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51955b=_0x47b5;function _0x47b5(_0x5c66c4,_0x328f26){const _0x4ff47a=_0x4ff4();return _0x47b5=function(_0x47b52e,_0x61f2cc){_0x47b52e=_0x47b52e-0x13d;let _0x5b0110=_0x4ff47a[_0x47b52e];return _0x5b0110;},_0x47b5(_0x5c66c4,_0x328f26);}(function(_0xc90106,_0x1996c4){const _0x2b8a91=_0x47b5,_0x32bf52=_0xc90106();while(!![]){try{const _0x4a7347=parseInt(_0x2b8a91(0x156))/0x1+parseInt(_0x2b8a91(0x147))/0x2*(-parseInt(_0x2b8a91(0x14f))/0x3)+-parseInt(_0x2b8a91(0x150))/0x4*(-parseInt(_0x2b8a91(0x14a))/0x5)+parseInt(_0x2b8a91(0x153))/0x6+-parseInt(_0x2b8a91(0x157))/0x7*(parseInt(_0x2b8a91(0x141))/0x8)+parseInt(_0x2b8a91(0x15b))/0x9+-parseInt(_0x2b8a91(0x15a))/0xa;if(_0x4a7347===_0x1996c4)break;else _0x32bf52['push'](_0x32bf52['shift']());}catch(_0x46baf4){_0x32bf52['push'](_0x32bf52['shift']());}}}(_0x4ff4,0x1907b));import{View as _0x59785a}from'ckeditor5/src/ui.js';import{getTranslation as _0x50fa1b}from'../../utils/common-translations.js';function _0x4ff4(){const _0x2ffc91=['ck-revision-change__label','ck-annotation','isSuggestion','add','Added\x20by','1593096JZQpFe','ck-revision-change__','ck-revision-change','changeId','bindTemplate','focus','2cDKKzu','element','setTemplate','10qDzfre','data','_model','span','author','20814ijmxUZ','160044gDSDyD','Removed\x20by','Suggested\x20by','724254sQPsPW','name','set','94258enMUlT','7ARhrJN','type','div','1007240DGRDkv','1028997jPMtcU'];_0x4ff4=function(){return _0x2ffc91;};return _0x4ff4();}export class ChangeDetailsView extends _0x59785a{[_0x51955b(0x144)];[_0x51955b(0x14c)];constructor(_0x658106,_0xebc4ab){const _0x4f8619=_0x51955b;super(_0x658106),this[_0x4f8619(0x14c)]=_0xebc4ab,this[_0x4f8619(0x144)]=_0xebc4ab['id'];const _0x35b5b7=this[_0x4f8619(0x145)],_0x39dab8=_0x50fa1b(_0x658106,_0xebc4ab[_0x4f8619(0x14b)][_0x4f8619(0x13e)]?_0x4f8619(0x152):_0x4f8619(0x13f)==_0xebc4ab[_0x4f8619(0x158)]?_0x4f8619(0x140):_0x4f8619(0x151));this[_0x4f8619(0x155)](_0x4f8619(0x158),_0xebc4ab[_0x4f8619(0x158)]),this[_0x4f8619(0x149)]({'tag':_0x4f8619(0x159),'attributes':{'class':[_0x4f8619(0x13d),_0x4f8619(0x143),_0x35b5b7['to'](_0x4f8619(0x158),_0x1c55b2=>_0x4f8619(0x142)+_0x1c55b2)],'tabindex':-0x1},'children':[{'tag':_0x4f8619(0x14d),'children':[{'tag':_0x4f8619(0x14d),'attributes':{'class':[_0x4f8619(0x15c)]},'children':[{'text':_0x39dab8}]},{'text':'\x20'+_0xebc4ab[_0x4f8619(0x14e)][_0x4f8619(0x154)]}]}]});}[_0x51955b(0x146)](){const _0x343011=_0x51955b;this[_0x343011(0x148)][_0x343011(0x146)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x485635,_0x242b87){const _0x24f8eb=_0x57bd,_0x29b59c=_0x485635();while(!![]){try{const _0x38bd55=parseInt(_0x24f8eb(0x1d6))/0x1*(-parseInt(_0x24f8eb(0x1d5))/0x2)+-parseInt(_0x24f8eb(0x1cb))/0x3+parseInt(_0x24f8eb(0x1b8))/0x4+parseInt(_0x24f8eb(0x1bc))/0x5*(parseInt(_0x24f8eb(0x1bb))/0x6)+-parseInt(_0x24f8eb(0x1da))/0x7+parseInt(_0x24f8eb(0x1db))/0x8+parseInt(_0x24f8eb(0x1c4))/0x9;if(_0x38bd55===_0x242b87)break;else _0x29b59c['push'](_0x29b59c['shift']());}catch(_0x4111e1){_0x29b59c['push'](_0x29b59c['shift']());}}}(_0x53a0,0x8ef8b));function _0x57bd(_0x586297,_0x1a96f5){const _0x53a079=_0x53a0();return _0x57bd=function(_0x57bdf4,_0x5384bd){_0x57bdf4=_0x57bdf4-0x1b4;let _0x5a835d=_0x53a079[_0x57bdf4];return _0x5a835d;},_0x57bd(_0x586297,_0x1a96f5);}import{View as _0x4c1069,ButtonView as _0x4f1399,ToolbarSeparatorView as _0x13d8e1}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x3d24b8,IconChevronDown as _0x33caf2}from'ckeditor5/src/icons.js';import{getTranslation as _0x3fe010}from'../../utils/common-translations.js';function _0x53a0(){const _0x302247=['1920QFyJZg','15370NJVwVC','bindTemplate','forward','ck-revision-history-ui','Show\x20next\x20change','fire','_isStatusLabelVisible','No\x20changes','7157727ANgesQ','ck-revision-history-ui__changes-navigation__navigation','Total','isForwardNavigationEnabled','isReady','isNavigationMode','numberOfChanges','288456oggrbC','Show\x20previous\x20change','NUMBER_OF_CHANGES','isBackwardNavigationEnabled','ck-revision-history-ui__changes-navigation__wrapper','ck-hidden','span','X_OF_Y_CHANGES','bind','div','92PPksjA','21261dIVPFy','EDIT_X_OF_Y_REVISIONS','ck-revision-history-ui__changes-navigation__label','setTemplate','4955902BULjaF','1018200yMvEGf','_statusText','currentChangeNumber','set','ck-revision-history-ui__changes-navigation','backward','isEnabled','1845988AIBAZC','Loading...','execute'];_0x53a0=function(){return _0x302247;};return _0x53a0();}import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x4c1069{constructor(_0x45ebd5){const _0x3e95e5=_0x57bd;super(_0x45ebd5);const _0x514f4a=this[_0x3e95e5(0x1bd)],_0x4413f1=new _0x4f1399(_0x45ebd5),_0x517f80=new _0x4f1399(_0x45ebd5);this[_0x3e95e5(0x1b4)](_0x3e95e5(0x1c9),!0x1),this[_0x3e95e5(0x1b4)](_0x3e95e5(0x1c8),!0x1),this[_0x3e95e5(0x1b4)](_0x3e95e5(0x1dd),0x0),this[_0x3e95e5(0x1b4)](_0x3e95e5(0x1ca),0x0),this[_0x3e95e5(0x1b4)](_0x3e95e5(0x1c7),!0x1),this[_0x3e95e5(0x1b4)](_0x3e95e5(0x1ce),!0x1),this[_0x3e95e5(0x1d3)](_0x3e95e5(0x1c2))['to'](this,_0x3e95e5(0x1c8),this,_0x3e95e5(0x1ca),(_0x4cad5e,_0x80804)=>_0x4cad5e&&_0x80804>0x0),this[_0x3e95e5(0x1d3)](_0x3e95e5(0x1dc))['to'](this,_0x3e95e5(0x1c8),this,_0x3e95e5(0x1dd),this,_0x3e95e5(0x1ca),this,_0x3e95e5(0x1c9),(_0x6f51c7,_0x43aa02,_0x54656b,_0x1169ce)=>{const _0x252dd5=_0x3e95e5;if(!_0x6f51c7)return _0x3fe010(_0x45ebd5,_0x252dd5(0x1b9));if(!_0x54656b)return _0x3fe010(_0x45ebd5,_0x252dd5(0x1c3));const _0x437bcf=_0x3fe010(_0x45ebd5,_0x252dd5(0x1cd),_0x54656b);return _0x1169ce?_0x3fe010(_0x45ebd5,_0x252dd5(0x1d2),[_0x43aa02+0x1,_0x54656b]):_0x437bcf;}),_0x4413f1[_0x3e95e5(0x1b4)]({'label':_0x3fe010(_0x45ebd5,_0x3e95e5(0x1cc)),'tooltip':!0x0,'icon':_0x3d24b8}),_0x517f80[_0x3e95e5(0x1b4)]({'label':_0x3fe010(_0x45ebd5,_0x3e95e5(0x1c0)),'tooltip':!0x0,'icon':_0x33caf2}),_0x4413f1[_0x3e95e5(0x1d3)](_0x3e95e5(0x1b7))['to'](this,_0x3e95e5(0x1ce)),_0x517f80[_0x3e95e5(0x1d3)](_0x3e95e5(0x1b7))['to'](this,_0x3e95e5(0x1c7)),_0x4413f1['on'](_0x3e95e5(0x1ba),()=>this[_0x3e95e5(0x1c1)](_0x3e95e5(0x1ba),_0x3e95e5(0x1b6))),_0x517f80['on'](_0x3e95e5(0x1ba),()=>this[_0x3e95e5(0x1c1)](_0x3e95e5(0x1ba),_0x3e95e5(0x1be))),this[_0x3e95e5(0x1d9)]({'tag':_0x3e95e5(0x1d4),'attributes':{'class':['ck',_0x3e95e5(0x1bf),_0x3e95e5(0x1b5)]},'children':[{'tag':_0x3e95e5(0x1d1),'attributes':{'class':[_0x3e95e5(0x1cf)]},'children':[{'tag':_0x3e95e5(0x1d1),'attributes':{'class':[_0x3e95e5(0x1d8),_0x514f4a['if'](_0x3e95e5(0x1c2),_0x3e95e5(0x1d0),_0x1a7ec3=>!_0x1a7ec3)]},'children':[{'text':_0x514f4a['to'](_0x3e95e5(0x1c9),_0x20ad7e=>_0x20ad7e?_0x3fe010(_0x45ebd5,_0x3e95e5(0x1d7))+':\x20':_0x3fe010(_0x45ebd5,_0x3e95e5(0x1c6))+':\x20')}]},{'text':_0x514f4a['to'](_0x3e95e5(0x1dc))}]},new _0x13d8e1(),{'tag':_0x3e95e5(0x1d4),'attributes':{'class':[_0x3e95e5(0x1c5)]},'children':[_0x4413f1,_0x517f80]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41aa9c=_0x510b;function _0xb80e(){const _0x203abc=['removeClass','3861618VsqMIp','ck-editor__editable__loading-overlay','document','editing','addClass','show','hide','738750OeJmAc','26848OViEFP','RevisionViewerLoadingOverlay','editor','10rhgufw','2807049CGwcpZ','isOfficialPlugin','25556445tROvYX','875chQqxY','5615610tijIjs','isPremiumPlugin','3723160cQBFBT','roots','change','view','pluginName','2QCWhaU'];_0xb80e=function(){return _0x203abc;};return _0xb80e();}(function(_0x5966bc,_0x276002){const _0x1d73e9=_0x510b,_0x11df69=_0x5966bc();while(!![]){try{const _0x3edf62=-parseInt(_0x1d73e9(0xac))/0x1+-parseInt(_0x1d73e9(0xbc))/0x2*(-parseInt(_0x1d73e9(0xb1))/0x3)+-parseInt(_0x1d73e9(0xb7))/0x4+-parseInt(_0x1d73e9(0xb5))/0x5+-parseInt(_0x1d73e9(0xa5))/0x6+parseInt(_0x1d73e9(0xb4))/0x7*(parseInt(_0x1d73e9(0xad))/0x8)+parseInt(_0x1d73e9(0xb3))/0x9*(parseInt(_0x1d73e9(0xb0))/0xa);if(_0x3edf62===_0x276002)break;else _0x11df69['push'](_0x11df69['shift']());}catch(_0x53a64e){_0x11df69['push'](_0x11df69['shift']());}}}(_0xb80e,0xb92fb));function _0x510b(_0x123418,_0x46cb1a){const _0xb80ec2=_0xb80e();return _0x510b=function(_0x510be2,_0x268ff0){_0x510be2=_0x510be2-0xa5;let _0x51b901=_0xb80ec2[_0x510be2];return _0x51b901;},_0x510b(_0x123418,_0x46cb1a);}import{Plugin as _0x4a2beb}from'ckeditor5/src/core.js';const ge=_0x41aa9c(0xa6);import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0x4a2beb{static get[_0x41aa9c(0xbb)](){const _0x1f2f14=_0x41aa9c;return _0x1f2f14(0xae);}static get[_0x41aa9c(0xb2)](){return!0x0;}static get[_0x41aa9c(0xb6)](){return!0x0;}[_0x41aa9c(0xaa)](){const _0x144335=_0x41aa9c,_0x54f20f=this[_0x144335(0xaf)][_0x144335(0xa8)][_0x144335(0xba)];_0x54f20f[_0x144335(0xb9)](_0x26486b=>{const _0x5d1efa=_0x144335;for(const _0x12c087 of _0x54f20f[_0x5d1efa(0xa7)][_0x5d1efa(0xb8)])_0x26486b[_0x5d1efa(0xa9)](ge,_0x12c087);});}[_0x41aa9c(0xab)](){const _0x2b45f8=_0x41aa9c,_0x5bf6ee=this[_0x2b45f8(0xaf)][_0x2b45f8(0xa8)][_0x2b45f8(0xba)];_0x5bf6ee[_0x2b45f8(0xb9)](_0x3bb126=>{const _0x2b5da8=_0x2b45f8;for(const _0x126e8f of _0x5bf6ee[_0x2b5da8(0xa7)][_0x2b5da8(0xb8)])_0x3bb126[_0x2b5da8(0xbd)](ge,_0x126e8f);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x187d10=_0x1054;(function(_0x585e7c,_0x13cb8d){const _0x50b0f4=_0x1054,_0x4ea0bd=_0x585e7c();while(!![]){try{const _0xc751b4=parseInt(_0x50b0f4(0x11a))/0x1+parseInt(_0x50b0f4(0x13e))/0x2*(parseInt(_0x50b0f4(0x129))/0x3)+parseInt(_0x50b0f4(0x12e))/0x4*(-parseInt(_0x50b0f4(0x130))/0x5)+-parseInt(_0x50b0f4(0x135))/0x6+-parseInt(_0x50b0f4(0x143))/0x7+parseInt(_0x50b0f4(0x144))/0x8*(-parseInt(_0x50b0f4(0x115))/0x9)+-parseInt(_0x50b0f4(0x124))/0xa*(-parseInt(_0x50b0f4(0x128))/0xb);if(_0xc751b4===_0x13cb8d)break;else _0x4ea0bd['push'](_0x4ea0bd['shift']());}catch(_0xb4416d){_0x4ea0bd['push'](_0x4ea0bd['shift']());}}}(_0x4d6b,0x8395f));import{Plugin as _0x31eea7}from'ckeditor5/src/core.js';import{ButtonView as _0x20d20c}from'ckeditor5/src/ui.js';import{IconUndo as _0x2aee54}from'ckeditor5/src/icons.js';function _0x4d6b(){const _0x479a93=['496BAOmAs','restoreRevision','136953ceMIYK','get','numberOfChanges','exitToEditing','isEnabled','644015qCtUmB','bind','revisionHistory','ck-revision-history-ui__back-to-editing','listenTo','commands','execute','show','showNextChange','Restore\x20this\x20revision','150xfCHIB','isForwardNavigationEnabled','isReady','Back\x20to\x20editing','1028060XmHZFb','31746hrYnGX','config','set','componentFactory','RevisionViewerUI','44gISTSI','init','38195GwcxAi','hide','isPremiumPlugin','requires','currentChangeNumber','4669284IcpVbF','isOfficialPlugin','plugins','closeRevisionViewerCallback','editor','pluginName','forward','change:isReady','showPreviousChange','156gZCZFH','isNavigationMode','isBackwardNavigationEnabled','add','changesNavigation','3686473wSwlNn'];_0x4d6b=function(){return _0x479a93;};return _0x4d6b();}import{ChangesNavigationView as _0x43093d}from'./changesnavigationview.js';import{RevisionViewer as _0x25de09}from'./../../revisionviewer.js';function _0x1054(_0xab767c,_0x592537){const _0x4d6bf8=_0x4d6b();return _0x1054=function(_0x10541e,_0x39cf19){_0x10541e=_0x10541e-0x115;let _0x2d239f=_0x4d6bf8[_0x10541e];return _0x2d239f;},_0x1054(_0xab767c,_0x592537);}import{RevisionViewerLoadingOverlay as _0x5e4427}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x361db7}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x31eea7{static get[_0x187d10(0x13a)](){const _0x554498=_0x187d10;return _0x554498(0x12d);}static get[_0x187d10(0x136)](){return!0x0;}static get[_0x187d10(0x132)](){return!0x0;}static get[_0x187d10(0x133)](){return[_0x25de09,_0x5e4427];}[_0x187d10(0x12f)](){const _0xe865eb=_0x187d10,_0x5d80d5=this[_0xe865eb(0x139)],_0x10633e=_0x5d80d5[_0xe865eb(0x137)][_0xe865eb(0x116)](_0x25de09),_0x5923b2=_0x5d80d5[_0xe865eb(0x137)][_0xe865eb(0x116)](_0x5e4427);_0x5d80d5['ui'][_0xe865eb(0x12c)][_0xe865eb(0x141)](_0xe865eb(0x118),_0xfd9e83=>{const _0x4424ef=_0xe865eb,_0x2d3bca=new _0x20d20c(_0xfd9e83);return _0x2d3bca[_0x4424ef(0x12b)]({'label':_0x361db7(_0xfd9e83,_0x4424ef(0x127)),'icon':_0x2aee54,'withText':!0x0,'tooltip':!0x0,'class':_0x4424ef(0x11d)}),this[_0x4424ef(0x11e)](_0x2d3bca,_0x4424ef(0x120),()=>{const _0x54b90a=_0x4424ef;_0x5d80d5[_0x54b90a(0x12a)][_0x54b90a(0x116)](_0x54b90a(0x11c))[_0x54b90a(0x138)]();}),_0x2d3bca;}),_0x5d80d5['ui'][_0xe865eb(0x12c)][_0xe865eb(0x141)](_0xe865eb(0x145),_0x1a2412=>{const _0x4f700f=_0xe865eb,_0x3d686f=new _0x20d20c(_0x1a2412);return _0x3d686f[_0x4f700f(0x12b)]({'label':_0x361db7(_0x1a2412,_0x4f700f(0x123)),'withText':!0x0,'tooltip':!0x0}),_0x3d686f[_0x4f700f(0x11b)](_0x4f700f(0x119))['to'](_0x5d80d5[_0x4f700f(0x11f)][_0x4f700f(0x116)](_0x4f700f(0x145))),this[_0x4f700f(0x11e)](_0x3d686f,_0x4f700f(0x120),()=>_0x5d80d5[_0x4f700f(0x120)](_0x4f700f(0x145))),_0x3d686f;}),_0x5d80d5['ui'][_0xe865eb(0x12c)][_0xe865eb(0x141)](_0xe865eb(0x142),_0x48a8d2=>{const _0x2de29d=_0xe865eb,_0x36a938=new _0x43093d(_0x48a8d2),_0x17787c=_0x5d80d5[_0x2de29d(0x11f)][_0x2de29d(0x116)](_0x2de29d(0x13d)),_0x215dbe=_0x5d80d5[_0x2de29d(0x11f)][_0x2de29d(0x116)](_0x2de29d(0x122));return _0x36a938[_0x2de29d(0x11b)](_0x2de29d(0x140))['to'](_0x17787c,_0x2de29d(0x119)),_0x36a938[_0x2de29d(0x11b)](_0x2de29d(0x125))['to'](_0x215dbe,_0x2de29d(0x119)),_0x36a938[_0x2de29d(0x11b)](_0x2de29d(0x126),_0x2de29d(0x134),_0x2de29d(0x117),_0x2de29d(0x13f))['to'](_0x10633e),this[_0x2de29d(0x11e)](_0x36a938,_0x2de29d(0x120),(_0x33da7e,_0x86b326)=>{const _0x4521da=_0x2de29d;_0x5d80d5[_0x4521da(0x120)](_0x4521da(0x13b)===_0x86b326?_0x4521da(0x122):_0x4521da(0x13d));}),_0x36a938;}),_0x5923b2[_0xe865eb(0x121)](),_0x10633e['on'](_0xe865eb(0x13c),(_0x30703a,_0x3117b4,_0x16e823)=>{const _0x424f08=_0xe865eb;_0x16e823?_0x5923b2[_0x424f08(0x131)]():_0x5923b2[_0x424f08(0x121)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0xe8f53e,_0x318821,_0x51cd08){const t=_0xe8f53e['t'];switch(_0x318821){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'},_0x51cd08);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x51cd08);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'';}}
|