@ckeditor/ckeditor5-revision-history 46.1.0-alpha.0 → 46.1.0-alpha.1
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 _0x293c4b=_0x1aea;function _0x1aea(_0x46a6e2,_0x158262){const _0x59e830=_0x59e8();return _0x1aea=function(_0x1aea06,_0x283c0e){_0x1aea06=_0x1aea06-0xdd;let _0x4eb569=_0x59e830[_0x1aea06];return _0x4eb569;},_0x1aea(_0x46a6e2,_0x158262);}function _0x59e8(){const _0xdaf6a0=['add','trim','keystrokes','arrowdown','fieldView','7yeOGAs','setTemplate','1067296PUmWRc','17vAdIhb','focusTracker','220','revisionNameInputValue','13774AxZWkM','render','ck-revision-history-save-revision-form','initializeCssTransitionDisablerMixin','set','listenTo','revisionNameInputView','arrowright','input','308EAyZag','387340YMrudy','element','108deuScm','_createRevisionNameInput','locale','value','revisionName','1565yiJssh','reset','form','label','9vOzraG','stopPropagation','ck-responsive-form','arrowup','errorText','6921512zIVHzK','focus','12585iCRsaY','optional','43560AWKfHw','extendTemplate','4146QSAEmr','Name\x20of\x20the\x20revision','arrowleft'];_0x59e8=function(){return _0xdaf6a0;};return _0x59e8();}(function(_0x73000c,_0x52a22a){const _0x34d707=_0x1aea,_0x375bc5=_0x73000c();while(!![]){try{const _0x1295a4=-parseInt(_0x34d707(0x103))/0x1*(-parseInt(_0x34d707(0x107))/0x2)+-parseInt(_0x34d707(0xf4))/0x3*(-parseInt(_0x34d707(0xe4))/0x4)+parseInt(_0x34d707(0xe9))/0x5*(parseInt(_0x34d707(0xf8))/0x6)+-parseInt(_0x34d707(0x100))/0x7*(-parseInt(_0x34d707(0x102))/0x8)+-parseInt(_0x34d707(0xed))/0x9*(parseInt(_0x34d707(0xe2))/0xa)+-parseInt(_0x34d707(0xe1))/0xb*(-parseInt(_0x34d707(0xf6))/0xc)+-parseInt(_0x34d707(0xf2))/0xd;if(_0x1295a4===_0x52a22a)break;else _0x375bc5['push'](_0x375bc5['shift']());}catch(_0x324428){_0x375bc5['push'](_0x375bc5['shift']());}}}(_0x59e8,0x1afb9));import{CssTransitionDisablerMixin as _0x246027,LabeledFieldView as _0xadfe2a,View as _0x42f329,createLabeledInputText as _0x2788f4,submitHandler as _0x485f1b}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3dc746,KeystrokeHandler as _0x431a54}from'ckeditor5/src/utils.js';import{getTranslation as _0x26d455}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x246027(_0x42f329){[_0x293c4b(0x104)];[_0x293c4b(0xfd)];[_0x293c4b(0xde)];constructor(_0x35ab77,_0x2a6078){const _0x1da9d3=_0x293c4b;super(_0x35ab77),this[_0x1da9d3(0x104)]=new _0x3dc746(),this[_0x1da9d3(0xfd)]=new _0x431a54(),this[_0x1da9d3(0x10b)](_0x1da9d3(0x106),''),this[_0x1da9d3(0xde)]=this[_0x1da9d3(0xe5)](_0x2a6078),this[_0x1da9d3(0x101)]({'tag':_0x1da9d3(0xeb),'attributes':{'class':['ck',_0x1da9d3(0x109),_0x1da9d3(0xef)],'tabindex':'-1'},'children':[this[_0x1da9d3(0xde)]]}),this[_0x1da9d3(0x10a)]();}[_0x293c4b(0x108)](){const _0x183278=_0x293c4b;super[_0x183278(0x108)](),_0x485f1b({'view':this}),this[_0x183278(0x104)][_0x183278(0xfb)](this[_0x183278(0xde)][_0x183278(0xe3)]),this[_0x183278(0xfd)][_0x183278(0xdd)](this[_0x183278(0xe3)]);const _0x122a1c=_0x35c1a3=>_0x35c1a3[_0x183278(0xee)]();this[_0x183278(0xfd)][_0x183278(0x10b)](_0x183278(0xdf),_0x122a1c),this[_0x183278(0xfd)][_0x183278(0x10b)](_0x183278(0xfa),_0x122a1c),this[_0x183278(0xfd)][_0x183278(0x10b)](_0x183278(0xf0),_0x122a1c),this[_0x183278(0xfd)][_0x183278(0x10b)](_0x183278(0xfe),_0x122a1c);}[_0x293c4b(0xf3)](){const _0x14880b=_0x293c4b;this[_0x14880b(0xde)][_0x14880b(0xf3)]();}get[_0x293c4b(0xe8)](){const _0xdcede7=_0x293c4b;return this[_0xdcede7(0xde)][_0xdcede7(0xff)][_0xdcede7(0xe3)][_0xdcede7(0xe7)][_0xdcede7(0xfc)]();}set[_0x293c4b(0xe8)](_0x21179c){const _0x1ef81c=_0x293c4b;this[_0x1ef81c(0xde)][_0x1ef81c(0xff)][_0x1ef81c(0xe3)][_0x1ef81c(0xe7)]=_0x21179c[_0x1ef81c(0xfc)]();}[_0x293c4b(0xea)](){const _0x45f198=_0x293c4b;this[_0x45f198(0xde)][_0x45f198(0xff)][_0x45f198(0xe3)][_0x45f198(0xe7)]='',this[_0x45f198(0xde)][_0x45f198(0xf1)]=null;}[_0x293c4b(0xe5)](_0x24599e){const _0x32a906=_0x293c4b,_0x52a9a8=new _0xadfe2a(this[_0x32a906(0xe6)],_0x2788f4),_0x6af9d6=_0x52a9a8[_0x32a906(0xff)];_0x6af9d6[_0x32a906(0xf7)]({'attributes':{'maxlength':_0x32a906(0x105)}});let _0x9a53bc=_0x26d455(this[_0x32a906(0xe6)],_0x32a906(0xf9));return!_0x24599e&&(_0x9a53bc+='\x20('+_0x26d455(this[_0x32a906(0xe6)],_0x32a906(0xf5))+')'),(_0x52a9a8[_0x32a906(0xec)]=_0x9a53bc,_0x6af9d6['on'](_0x32a906(0xe0),()=>{const _0x367fde=_0x32a906;this[_0x367fde(0x106)]=_0x6af9d6[_0x367fde(0xe3)][_0x367fde(0xe7)][_0x367fde(0xfc)]();}),_0x52a9a8);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x382be7=_0x4489;(function(_0xd03a86,_0x4b8f89){const _0x5b0d18=_0x4489,_0x37c52f=_0xd03a86();while(!![]){try{const _0x2df57b=-parseInt(_0x5b0d18(0x185))/0x1*(parseInt(_0x5b0d18(0x1ae))/0x2)+-parseInt(_0x5b0d18(0x1a5))/0x3+-parseInt(_0x5b0d18(0x1ac))/0x4*(-parseInt(_0x5b0d18(0x178))/0x5)+parseInt(_0x5b0d18(0x171))/0x6+-parseInt(_0x5b0d18(0x1a0))/0x7*(-parseInt(_0x5b0d18(0x173))/0x8)+-parseInt(_0x5b0d18(0x197))/0x9*(-parseInt(_0x5b0d18(0x193))/0xa)+-parseInt(_0x5b0d18(0x1aa))/0xb;if(_0x2df57b===_0x4b8f89)break;else _0x37c52f['push'](_0x37c52f['shift']());}catch(_0x484477){_0x37c52f['push'](_0x37c52f['shift']());}}}(_0x27c1,0x3e1c4));import{Plugin as _0x1f8eab}from'ckeditor5/src/core.js';import{IconHistory as _0x42633a}from'ckeditor5/src/icons.js';import{createDropdown as _0x4aaefb,ButtonView as _0x4e70b2,ListItemView as _0x40e876,ListView as _0x3b50ff,MenuBarMenuListItemButtonView as _0x274751,MenuBarMenuListItemView as _0x54e626,MenuBarMenuListView as _0x5aedd8,MenuBarMenuView as _0x1cbe74}from'ckeditor5/src/ui.js';function _0x4489(_0x24c96d,_0x29e019){const _0x27c158=_0x27c1();return _0x4489=function(_0x4489c0,_0x30aeba){_0x4489c0=_0x4489c0-0x16c;let _0x59086f=_0x27c158[_0x4489c0];return _0x59086f;},_0x4489(_0x24c96d,_0x29e019);}import{RevisionTracker as _0x55f1f1}from'../../revisiontracker.js';import{RevisionHistorySaveRevisionFormView as _0x4ce1b6}from'./revisionhistorysaverevisionformview.js';function _0x27c1(){const _0x77ae61=['locale','showRevisionViewerCallback','Open\x20revision\x20history','isOfficialPlugin','menuBar:revisionHistory','2559dZLxne','Cancel','editing','_saveRevisionFormView','buttonView','menuitem','Revision\x20history','bind','isOpen','revisionSave','_registerMenuComponent','The\x20revision\x20name\x20cannot\x20be\x20empty.','role','Save\x20current\x20revision','9110XeuiBp','delegate','panelView','focus','828NjbyhA','Accept','RevisionHistoryUI','saveRevision','errorText','editor','view','set','render','7GkNsdB','hide','componentFactory','_showDialog','add','827607nwmSGM','show','isPremiumPlugin','revisionNameInputView','Dialog','5308941swIBvs','items','4WurJLo','isReady','38Wxlkjl','init','addMany','_createSaveRevisionFormView','plugins','get','pluginName','menu','isReadOnly','2216598ddPBbs','revisionHistory.requireRevisionName','3745928dWsIdG','revisionName','isEnabled','config','revisionHistory','700195oUXnOG','ck-button-action','RevisionTracker','submit','requires','reset','execute','children'];_0x27c1=function(){return _0x77ae61;};return _0x27c1();}import{getTranslation as _0x1f8d66}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0x1f8eab{static get[_0x382be7(0x16e)](){const _0x244814=_0x382be7;return _0x244814(0x199);}static get[_0x382be7(0x183)](){return!0x0;}static get[_0x382be7(0x1a7)](){return!0x0;}static get[_0x382be7(0x17c)](){return[_0x55f1f1];}[_0x382be7(0x188)];[_0x382be7(0x1af)](){const _0x3320d8=_0x382be7,_0x334094=this[_0x3320d8(0x19c)],_0xeba7f4=_0x334094[_0x3320d8(0x16c)][_0x3320d8(0x16d)](_0x3320d8(0x17a));_0x334094['ui'][_0x3320d8(0x1a2)][_0x3320d8(0x1a4)](_0x3320d8(0x177),_0x5aa4c1=>{const _0x3cab6a=_0x3320d8,_0x564d8a=_0x4aaefb(_0x5aa4c1),_0x388434=_0x564d8a[_0x3cab6a(0x195)][_0x3cab6a(0x17f)],_0x5d17a3=new _0x3b50ff(_0x5aa4c1),_0x859d46=new _0x40e876(_0x5aa4c1),_0x319e34=new _0x4e70b2(_0x5aa4c1),_0x2e9195=new _0x40e876(_0x5aa4c1),_0x45e89b=new _0x4e70b2(_0x5aa4c1);return _0x564d8a[_0x3cab6a(0x18c)](_0x3cab6a(0x175))['to'](_0xeba7f4,_0x3cab6a(0x1ad),_0xeba7f4,_0x3cab6a(0x175),_0x334094,_0x3cab6a(0x170),(_0x15d34b,_0x32788a,_0xb5129)=>_0x15d34b&&_0x32788a&&!_0xb5129),_0x564d8a[_0x3cab6a(0x189)][_0x3cab6a(0x19e)]({'icon':_0x42633a,'label':_0x1f8d66(_0x5aa4c1,_0x3cab6a(0x18b)),'tooltip':!0x0}),_0x319e34[_0x3cab6a(0x19e)]({'label':_0x1f8d66(_0x5aa4c1,_0x3cab6a(0x192)),'withText':!0x0,'role':_0x3cab6a(0x18a)}),_0x319e34[_0x3cab6a(0x18c)](_0x3cab6a(0x175))['to'](_0xeba7f4,_0x3cab6a(0x1ad),_0xeba7f4,_0x3cab6a(0x175),_0x334094,_0x3cab6a(0x170),(_0x1444af,_0x20dfcb,_0x1f3bb7)=>_0x1444af&&_0x20dfcb&&!_0x1f3bb7),_0x319e34['on'](_0x3cab6a(0x17e),()=>this[_0x3cab6a(0x1a3)]()),_0x45e89b[_0x3cab6a(0x19e)]({'label':_0x1f8d66(_0x5aa4c1,_0x3cab6a(0x182)),'withText':!0x0,'role':_0x3cab6a(0x18a)}),_0x45e89b[_0x3cab6a(0x18c)](_0x3cab6a(0x175))['to'](_0xeba7f4,_0x3cab6a(0x1ad),_0x334094,_0x3cab6a(0x170),(_0x42ca04,_0xd92c55)=>_0x42ca04&&!_0xd92c55),_0x45e89b['on'](_0x3cab6a(0x17e),()=>{const _0x433b63=_0x3cab6a;_0x334094[_0x433b63(0x176)][_0x433b63(0x16d)](_0x433b63(0x177))[_0x433b63(0x181)](),_0x564d8a[_0x433b63(0x18d)]=!0x1,_0x334094[_0x433b63(0x187)][_0x433b63(0x19d)][_0x433b63(0x196)]();}),_0x859d46[_0x3cab6a(0x17f)][_0x3cab6a(0x1a4)](_0x319e34),_0x2e9195[_0x3cab6a(0x17f)][_0x3cab6a(0x1a4)](_0x45e89b),_0x5d17a3[_0x3cab6a(0x191)]=_0x3cab6a(0x16f),_0x5d17a3[_0x3cab6a(0x1ab)][_0x3cab6a(0x1b0)]([_0x859d46,_0x2e9195]),_0x388434[_0x3cab6a(0x1a4)](_0x5d17a3),_0x564d8a;}),_0x334094['ui'][_0x3320d8(0x1a2)][_0x3320d8(0x1a4)](_0x3320d8(0x184),()=>this[_0x3320d8(0x18f)]());}[_0x382be7(0x18f)](){const _0x1a09ba=_0x382be7,_0x2a06e4=this[_0x1a09ba(0x19c)],_0x3beae0=_0x2a06e4[_0x1a09ba(0x180)],_0x1516cb=new _0x1cbe74(_0x3beae0),_0x190759=new _0x5aedd8(_0x3beae0);_0x1516cb[_0x1a09ba(0x189)][_0x1a09ba(0x19e)]({'icon':_0x42633a,'label':_0x1f8d66(_0x3beae0,_0x1a09ba(0x18b))});const _0x4d9017=new _0x54e626(_0x3beae0,_0x1516cb),_0xedf383=new _0x274751(_0x3beae0);_0xedf383[_0x1a09ba(0x19e)]({'label':_0x1f8d66(_0x3beae0,_0x1a09ba(0x192))}),_0xedf383[_0x1a09ba(0x194)](_0x1a09ba(0x17e))['to'](_0x1516cb),_0xedf383['on'](_0x1a09ba(0x17e),()=>{const _0x3cfaaa=_0x1a09ba;this[_0x3cfaaa(0x1a3)]();}),_0x4d9017[_0x1a09ba(0x17f)][_0x1a09ba(0x1a4)](_0xedf383),_0x190759[_0x1a09ba(0x1ab)][_0x1a09ba(0x1a4)](_0x4d9017);const _0x431700=new _0x54e626(_0x3beae0,_0x1516cb),_0xff4707=new _0x274751(_0x3beae0);return _0xff4707[_0x1a09ba(0x19e)]({'label':_0x1f8d66(_0x3beae0,_0x1a09ba(0x182))}),_0xff4707[_0x1a09ba(0x194)](_0x1a09ba(0x17e))['to'](_0x1516cb),_0xff4707['on'](_0x1a09ba(0x17e),()=>{const _0x4604aa=_0x1a09ba;_0x2a06e4[_0x4604aa(0x176)][_0x4604aa(0x16d)](_0x4604aa(0x177))[_0x4604aa(0x181)]();}),_0x431700[_0x1a09ba(0x17f)][_0x1a09ba(0x1a4)](_0xff4707),_0x190759[_0x1a09ba(0x1ab)][_0x1a09ba(0x1a4)](_0x431700),_0x1516cb[_0x1a09ba(0x195)][_0x1a09ba(0x17f)][_0x1a09ba(0x1a4)](_0x190759),_0x1516cb;}[_0x382be7(0x1a3)](){const _0x15e99b=_0x382be7,_0x325d40=this[_0x15e99b(0x19c)],_0x40f9cc=_0x325d40[_0x15e99b(0x180)],_0x530d44=_0x325d40[_0x15e99b(0x16c)][_0x15e99b(0x16d)](_0x15e99b(0x1a9)),_0x5dae36=_0x325d40[_0x15e99b(0x16c)][_0x15e99b(0x16d)](_0x15e99b(0x17a));function _0x29472e(_0x5c5f9f){const _0x4632f3=_0x15e99b;_0x325d40[_0x4632f3(0x176)][_0x4632f3(0x16d)](_0x4632f3(0x172))&&''===_0x5c5f9f[_0x4632f3(0x174)]?_0x5c5f9f[_0x4632f3(0x1a8)][_0x4632f3(0x19b)]=_0x1f8d66(_0x40f9cc,_0x4632f3(0x190)):(_0x325d40[_0x4632f3(0x16c)][_0x4632f3(0x16d)](_0x55f1f1)[_0x4632f3(0x19a)]({'name':_0x5c5f9f[_0x4632f3(0x174)]}),_0x530d44[_0x4632f3(0x1a1)]());}this[_0x15e99b(0x188)]||(this[_0x15e99b(0x1b1)](),this[_0x15e99b(0x188)]['on'](_0x15e99b(0x17b),()=>_0x29472e(this[_0x15e99b(0x188)]))),this[_0x15e99b(0x188)][_0x15e99b(0x17d)](),_0x530d44[_0x15e99b(0x1a6)]({'id':_0x15e99b(0x18e),'title':_0x1f8d66(_0x40f9cc,_0x15e99b(0x192)),'isModal':!0x0,'content':this[_0x15e99b(0x188)],'actionButtons':[{'label':_0x1f8d66(_0x325d40[_0x15e99b(0x180)],_0x15e99b(0x186)),'withText':!0x0,'onExecute':()=>_0x530d44[_0x15e99b(0x1a1)]()},{'label':_0x1f8d66(_0x325d40[_0x15e99b(0x180)],_0x15e99b(0x198)),'class':_0x15e99b(0x179),'withText':!0x0,'onCreate'(_0x28fbe2){const _0x59c930=_0x15e99b;_0x28fbe2[_0x59c930(0x18c)](_0x59c930(0x175))['to'](_0x5dae36,_0x59c930(0x1ad),_0x5dae36,_0x59c930(0x175),_0x325d40,_0x59c930(0x170),(_0x23a837,_0x43b9b2,_0x490d8a)=>_0x23a837&&_0x43b9b2&&!_0x490d8a);},'onExecute':()=>_0x29472e(this[_0x15e99b(0x188)])}]});}[_0x382be7(0x1b1)](){const _0x115939=_0x382be7,_0x2b4f12=this[_0x115939(0x19c)],_0x4fc3b0=_0x2b4f12[_0x115939(0x180)];this[_0x115939(0x188)]=new _0x4ce1b6(_0x4fc3b0,_0x2b4f12[_0x115939(0x176)][_0x115939(0x16d)](_0x115939(0x172))),this[_0x115939(0x188)][_0x115939(0x19f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x8da6(_0x566f8d,_0x148684){const _0x12db31=_0x12db();return _0x8da6=function(_0x8da649,_0xf7f8b4){_0x8da649=_0x8da649-0x198;let _0x2ded8c=_0x12db31[_0x8da649];return _0x2ded8c;},_0x8da6(_0x566f8d,_0x148684);}function _0x12db(){const _0x43878f=['1315128lgrVjo','change:diff','bind','revisionSelected','4644GNOQoD','action','repository','isOfficialPlugin','32261LUAoTH','restoreRevision','isReady','data','availableRevisionActions','element','revisionHistory.viewerSidebarContainer','assign','isEnabled','Compare\x20against\x20selected','compare','getRevisionsInDiff','editor','Name\x20this\x20revision','appendChild','ready','highlightRevisions','_handleRevisionSelected','_handleEditorDataReady','revisionHistory','compareAgainstSelected','_sidebarView','listenTo','revisionViews','revisionSetName','_createRevisionActions','map','init','focus','setName','requires','newRevisionId','18piwizi','pluginName','26YSffVM','revisionHistory.revisionActions','getRevision','1216405wtKEbn','defaultRevisionActions','isPremiumPlugin','getLaterVisibleRevision','destroy','plugins','revisionHistory.requireRevisionName','name','diff','getEarlierVisibleRevision','_revisionsRepository','string','8691361ACeBUj','selectRevision','select','timePeriodViews','RevisionsSidebar','isSelected','_revisionViewer','18eQdEYu','restoreRevisionCallback','46sLFLwC','_handleRevisionSetName','2288456FqLZvR','remove','11zhNNrx','fieldView','locale','nameRevision','length','_revisions','isVisible','get','9787490GqkKbl','249KlChpt','_handleDiffChange','config','Restore\x20this\x20revision','add','render','getIndex'];_0x12db=function(){return _0x43878f;};return _0x12db();}const _0x146cc7=_0x8da6;(function(_0xc1dd5c,_0x2edf87){const _0x5cf363=_0x8da6,_0x496be5=_0xc1dd5c();while(!![]){try{const _0x4bf50e=-parseInt(_0x5cf363(0x1dd))/0x1*(-parseInt(_0x5cf363(0x1c1))/0x2)+-parseInt(_0x5cf363(0x1ce))/0x3*(-parseInt(_0x5cf363(0x1d9))/0x4)+parseInt(_0x5cf363(0x1ac))/0x5*(-parseInt(_0x5cf363(0x1bf))/0x6)+parseInt(_0x5cf363(0x1b8))/0x7+-parseInt(_0x5cf363(0x1c3))/0x8*(-parseInt(_0x5cf363(0x1a7))/0x9)+parseInt(_0x5cf363(0x1cd))/0xa*(-parseInt(_0x5cf363(0x1c5))/0xb)+-parseInt(_0x5cf363(0x1d5))/0xc*(parseInt(_0x5cf363(0x1a9))/0xd);if(_0x4bf50e===_0x2edf87)break;else _0x496be5['push'](_0x496be5['shift']());}catch(_0x561700){_0x496be5['push'](_0x496be5['shift']());}}}(_0x12db,0xb0d63));import{Plugin as _0x58e5eb}from'ckeditor5/src/core.js';import{RevisionsSidebarView as _0xd2db7}from'./revisionssidebarview.js';import{RevisionViewer as _0x15b348}from'../../revisionviewer.js';class f extends _0x58e5eb{[_0x146cc7(0x1be)];[_0x146cc7(0x1b6)];[_0x146cc7(0x19c)];static [_0x146cc7(0x1ad)]=[_0x146cc7(0x19b),_0x146cc7(0x1de),_0x146cc7(0x1c8)];static [_0x146cc7(0x1e1)]=(function(){const _0x46674e=_0x146cc7;return{'compareAgainstSelected':{'name':_0x46674e(0x1e6),'action':({plugins:i},s)=>{const _0x21f6e8=_0x46674e,e=i[_0x21f6e8(0x1cc)](_0x15b348),n=e[_0x21f6e8(0x1db)];let r=e[_0x21f6e8(0x1b4)][_0x21f6e8(0x1a6)],o=s['id'];n[_0x21f6e8(0x1d4)](r)>n[_0x21f6e8(0x1d4)](o)&&([r,o]=[o,r]),e[_0x21f6e8(0x1e7)](r,o);},'isVisible':({plugins:i},s)=>{const _0x961f47=_0x46674e,e=i[_0x961f47(0x1cc)](_0x15b348);return!(e[_0x961f47(0x1db)][_0x961f47(0x1e8)](e[_0x961f47(0x1b4)])[_0x961f47(0x1c9)]>0x2)&&!s[_0x961f47(0x1bd)];}},'restoreRevision':{'name':_0x46674e(0x1d1),'action':(i,{id:s})=>{const _0x576fcc=_0x46674e;i[_0x576fcc(0x1d0)][_0x576fcc(0x1cc)](_0x576fcc(0x19a))[_0x576fcc(0x1c0)](s);},'isVisible':({plugins:i},s)=>!!i[_0x46674e(0x1cc)](_0x15b348)[_0x46674e(0x1db)][_0x46674e(0x1af)](s['id'])},'nameRevision':{'name':_0x46674e(0x1ea),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x547073=_0x46674e,n=i[_0x547073(0x1cc)](_0x15b348),r=n[_0x547073(0x1db)][_0x547073(0x1b5)](s);n[_0x547073(0x1e7)](s,r),e[_0x547073(0x1a3)](),e[_0x547073(0x1c6)][_0x547073(0x1ba)]();}}};}());static get[_0x146cc7(0x1a8)](){const _0x10da88=_0x146cc7;return _0x10da88(0x1bc);}static get[_0x146cc7(0x1dc)](){return!0x0;}static get[_0x146cc7(0x1ae)](){return!0x0;}static get[_0x146cc7(0x1a5)](){return[_0x15b348];}constructor(_0x491e2b){const _0x5bf664=_0x146cc7;super(_0x491e2b),this[_0x5bf664(0x1be)]=_0x491e2b[_0x5bf664(0x1b1)][_0x5bf664(0x1cc)](_0x15b348),this[_0x5bf664(0x1b6)]=this[_0x5bf664(0x1be)][_0x5bf664(0x1db)],this[_0x5bf664(0x19c)]=null;}[_0x146cc7(0x1a2)](){const _0x3a5763=_0x146cc7,_0x225527=this[_0x3a5763(0x1b6)][_0x3a5763(0x1ca)],_0x56e3c3=this[_0x3a5763(0x1a0)](),_0x1818ca=this[_0x3a5763(0x1e9)][_0x3a5763(0x1d0)][_0x3a5763(0x1cc)](_0x3a5763(0x1e3));this[_0x3a5763(0x19c)]=new _0xd2db7(this[_0x3a5763(0x1e9)][_0x3a5763(0x1c7)],_0x225527,_0x56e3c3,this[_0x3a5763(0x1e9)][_0x3a5763(0x1d0)][_0x3a5763(0x1cc)](_0x3a5763(0x1b2))),this[_0x3a5763(0x19c)]['on'](_0x3a5763(0x1d8),this[_0x3a5763(0x198)][_0x3a5763(0x1d7)](this)),this[_0x3a5763(0x19c)]['on'](_0x3a5763(0x19f),this[_0x3a5763(0x1c2)][_0x3a5763(0x1d7)](this)),this[_0x3a5763(0x19c)][_0x3a5763(0x1d7)](_0x3a5763(0x1e5))['to'](this[_0x3a5763(0x1be)]),this[_0x3a5763(0x19c)][_0x3a5763(0x1bb)]['on'](_0x3a5763(0x1d2),(_0x38f029,_0x2bd54c)=>{const _0x3829a1=_0x3a5763;_0x2bd54c[_0x3829a1(0x19e)]['on'](_0x3829a1(0x1d2),(_0x4b4812,_0x1f3de9)=>{const _0x501922=_0x3829a1;_0x1f3de9[_0x501922(0x1d7)](_0x501922(0x1e5),_0x501922(0x1df))['to'](this[_0x501922(0x1be)]);});}),this[_0x3a5763(0x19c)][_0x3a5763(0x1d3)](),this[_0x3a5763(0x19d)](this[_0x3a5763(0x1e9)][_0x3a5763(0x1e0)],_0x3a5763(0x1ec),this[_0x3a5763(0x199)][_0x3a5763(0x1d7)](this)),this[_0x3a5763(0x19d)](this[_0x3a5763(0x1be)],_0x3a5763(0x1d6),this[_0x3a5763(0x1cf)][_0x3a5763(0x1d7)](this)),_0x1818ca[_0x3a5763(0x1eb)](this[_0x3a5763(0x19c)][_0x3a5763(0x1e2)]);}[_0x146cc7(0x1b0)](){const _0xe64cd1=_0x146cc7;this[_0xe64cd1(0x19c)][_0xe64cd1(0x1e2)][_0xe64cd1(0x1c4)](),this[_0xe64cd1(0x19c)][_0xe64cd1(0x1b0)]();}[_0x146cc7(0x199)](){const _0x156334=_0x146cc7,_0x4007da=this[_0x156334(0x1b6)][_0x156334(0x1ab)](0x0);if(_0x4007da){const _0x47c6fb=this[_0x156334(0x1b6)][_0x156334(0x1b5)](_0x4007da['id']);this[_0x156334(0x1be)][_0x156334(0x1e7)](_0x4007da,_0x47c6fb);}}[_0x146cc7(0x198)](_0x180444,_0x231606){const _0xd6a986=_0x146cc7,_0xf464e=this[_0xd6a986(0x1b6)][_0xd6a986(0x1ab)](_0x231606['id']),_0x19f300=this[_0xd6a986(0x1b6)][_0xd6a986(0x1b5)](_0xf464e['id']);this[_0xd6a986(0x1be)][_0xd6a986(0x1e7)](_0xf464e,_0x19f300);}[_0x146cc7(0x1c2)](_0x306adb,_0x205e93){const _0xd7bfc7=_0x146cc7;this[_0xd7bfc7(0x1b6)][_0xd7bfc7(0x1ab)](_0x205e93['id'])[_0xd7bfc7(0x1a4)](_0x205e93[_0xd7bfc7(0x1b3)]);}[_0x146cc7(0x1cf)](_0x3f64db,_0x16df73,_0x2b88a3){const _0x1dc60f=_0x146cc7,_0xbfd38c=this[_0x1dc60f(0x1b6)][_0x1dc60f(0x1e8)](_0x2b88a3);_0xbfd38c[_0x1dc60f(0x1c9)]>0x2?(this[_0x1dc60f(0x19c)][_0x1dc60f(0x1ed)](_0xbfd38c),this[_0x1dc60f(0x19c)][_0x1dc60f(0x1b9)](null)):(this[_0x1dc60f(0x19c)][_0x1dc60f(0x1ed)]([]),this[_0x1dc60f(0x19c)][_0x1dc60f(0x1b9)](_0xbfd38c[0x0]));}[_0x146cc7(0x1a0)](){const _0x55b71c=_0x146cc7,_0x306928=this[_0x55b71c(0x1e9)],_0x528b0e=f[_0x55b71c(0x1e1)],_0x331df8=_0x306928[_0x55b71c(0x1d0)][_0x55b71c(0x1cc)](_0x55b71c(0x1aa))||f[_0x55b71c(0x1ad)];if(_0x331df8[_0x55b71c(0x1c9)])return _0x331df8[_0x55b71c(0x1a1)](_0x2d9b1b=>{const _0x5e9d43=_0x55b71c,_0x28fea6=_0x5e9d43(0x1b7)==typeof _0x2d9b1b?Object[_0x5e9d43(0x1e4)]({},_0x528b0e[_0x2d9b1b]):_0x2d9b1b;return _0x28fea6[_0x5e9d43(0x1da)]=_0x28fea6[_0x5e9d43(0x1da)][_0x5e9d43(0x1d7)](this,_0x306928),_0x28fea6[_0x5e9d43(0x1cb)]&&(_0x28fea6[_0x5e9d43(0x1cb)]=_0x28fea6[_0x5e9d43(0x1cb)][_0x5e9d43(0x1d7)](this,_0x306928)),_0x28fea6;});}}export{f as RevisionsSidebar};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xc4d1f8,_0x137760){const _0x5e5edc=_0x215c,_0x26b13b=_0xc4d1f8();while(!![]){try{const _0x25f5cb=-parseInt(_0x5e5edc(0x13e))/0x1*(parseInt(_0x5e5edc(0x137))/0x2)+-parseInt(_0x5e5edc(0x142))/0x3+parseInt(_0x5e5edc(0x133))/0x4*(parseInt(_0x5e5edc(0x139))/0x5)+-parseInt(_0x5e5edc(0x146))/0x6+parseInt(_0x5e5edc(0x140))/0x7*(parseInt(_0x5e5edc(0x136))/0x8)+parseInt(_0x5e5edc(0x13c))/0x9*(-parseInt(_0x5e5edc(0x13b))/0xa)+parseInt(_0x5e5edc(0x141))/0xb*(parseInt(_0x5e5edc(0x135))/0xc);if(_0x25f5cb===_0x137760)break;else _0x26b13b['push'](_0x26b13b['shift']());}catch(_0x71970d){_0x26b13b['push'](_0x26b13b['shift']());}}}(_0x16d2,0xeb109));function _0x16d2(){const _0x1b6de3=['8338128SMRopM','20944pBHQSP','Revision\x20history','9744BpGWAA','2171152sUqQFw','274172SAFPAi','ck-reset_all','1635VjTWxP','span','600430YswmyZ','99jjHvWK','div','10bOEMod','ck-revision-history-sidebar__header__label','14WyIXjB','34078YGYtmY','1160070zwsXuE','setTemplate','content','ck-revision-history-sidebar__header'];_0x16d2=function(){return _0x1b6de3;};return _0x16d2();}import{View as _0x3b65bd,IconView as _0x3e8823}from'ckeditor5/src/ui.js';import{getTranslation as _0x285f62}from'../../utils/common-translations.js';import{IconHistory as _0x30ae70}from'ckeditor5/src/icons.js';function _0x215c(_0x1393ce,_0x1eed6b){const _0x16d255=_0x16d2();return _0x215c=function(_0x215c1c,_0x4795a0){_0x215c1c=_0x215c1c-0x133;let _0x2fa313=_0x16d255[_0x215c1c];return _0x2fa313;},_0x215c(_0x1393ce,_0x1eed6b);}import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x3b65bd{constructor(_0x1dcd8e){const _0x128dbd=_0x215c;super(_0x1dcd8e);const _0x4dd46c=new _0x3e8823();_0x4dd46c[_0x128dbd(0x144)]=_0x30ae70,this[_0x128dbd(0x143)]({'tag':_0x128dbd(0x13d),'attributes':{'class':['ck',_0x128dbd(0x138),_0x128dbd(0x145)]},'children':[_0x4dd46c,{'tag':_0x128dbd(0x13a),'attributes':{'class':['ck',_0x128dbd(0x13f)]},'children':[_0x285f62(_0x1dcd8e,_0x128dbd(0x134))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1e46ba=_0x2c18;(function(_0x3bcbf9,_0x59e9b4){const _0x5f5739=_0x2c18,_0x12f56=_0x3bcbf9();while(!![]){try{const _0x586f37=-parseInt(_0x5f5739(0x1eb))/0x1+parseInt(_0x5f5739(0x1e3))/0x2+parseInt(_0x5f5739(0x1dd))/0x3*(parseInt(_0x5f5739(0x1d6))/0x4)+parseInt(_0x5f5739(0x1ea))/0x5+-parseInt(_0x5f5739(0x1df))/0x6*(-parseInt(_0x5f5739(0x1e8))/0x7)+-parseInt(_0x5f5739(0x1de))/0x8+-parseInt(_0x5f5739(0x1d5))/0x9;if(_0x586f37===_0x59e9b4)break;else _0x12f56['push'](_0x12f56['shift']());}catch(_0x50b83f){_0x12f56['push'](_0x12f56['shift']());}}}(_0x291f,0x20bca));import{View as _0x5760e0}from'ckeditor5/src/ui.js';import{RevisionView as _0x7a3cb8}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x4885bd}from'./utils.js';function _0x2c18(_0x54bb6f,_0x3109d0){const _0x291f94=_0x291f();return _0x2c18=function(_0x2c18ca,_0x4c236c){_0x2c18ca=_0x2c18ca-0x1d1;let _0x5de7d1=_0x291f94[_0x2c18ca];return _0x5de7d1;},_0x2c18(_0x54bb6f,_0x3109d0);}import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';function _0x291f(){const _0x2f5a91=['6CMtKZe','764544QVlwJS','589386xYHVwk','find','revisionViews','add','363548gjQHkQ','remove','setName','locale','span','7qorEIL','startDate','1010055NyXQeH','231971okhpUc','ck-revision-history-sidebar__time-period__revisions','delegate','uiLanguage','_requireRevisionName','localizedPeriodName','removeRevision','ck-revision-history-sidebar__time-period__label','_revisionActions','241119eVrMRh','12808YFNfgN','createCollection','setTemplate','addRevision','select','ck-revision-history-sidebar__time-period','div'];_0x291f=function(){return _0x2f5a91;};return _0x291f();}export class RevisionsSidebarTimePeriodView extends _0x5760e0{[_0x1e46ba(0x1e9)];[_0x1e46ba(0x1e1)];[_0x1e46ba(0x1d4)];[_0x1e46ba(0x1ef)];constructor(_0x30c2b9,_0x13035d,_0x338e4a,_0x18f638){const _0x1eb2dd=_0x1e46ba;super(_0x30c2b9);const _0x1a250c=_0x4885bd(_0x13035d,this[_0x1eb2dd(0x1e6)][_0x1eb2dd(0x1ee)])[_0x1eb2dd(0x1d1)];this[_0x1eb2dd(0x1e9)]=_0x13035d,this[_0x1eb2dd(0x1e1)]=this[_0x1eb2dd(0x1d7)](),this[_0x1eb2dd(0x1d4)]=_0x338e4a,this[_0x1eb2dd(0x1ef)]=_0x18f638,this[_0x1eb2dd(0x1e1)][_0x1eb2dd(0x1ed)](_0x1eb2dd(0x1da))['to'](this),this[_0x1eb2dd(0x1e1)][_0x1eb2dd(0x1ed)](_0x1eb2dd(0x1e5))['to'](this),this[_0x1eb2dd(0x1d8)]({'tag':_0x1eb2dd(0x1dc),'attributes':{'class':['ck',_0x1eb2dd(0x1db)]},'children':[{'tag':_0x1eb2dd(0x1e7),'attributes':{'class':['ck',_0x1eb2dd(0x1d3)]},'children':[{'text':_0x1a250c}]},{'tag':_0x1eb2dd(0x1dc),'attributes':{'class':['ck',_0x1eb2dd(0x1ec)]},'children':this[_0x1eb2dd(0x1e1)]}]});}[_0x1e46ba(0x1d9)](_0x4c7fd4){const _0xa931ab=_0x1e46ba,_0x3c5a6b=new _0x7a3cb8(this[_0xa931ab(0x1e6)],_0x4c7fd4,this[_0xa931ab(0x1d4)],this[_0xa931ab(0x1ef)]);this[_0xa931ab(0x1e1)][_0xa931ab(0x1e2)](_0x3c5a6b);}[_0x1e46ba(0x1d2)](_0x23ab67){const _0x2b7ad3=_0x1e46ba,_0x352ec3=this[_0x2b7ad3(0x1e1)][_0x2b7ad3(0x1e0)](_0x1d0840=>_0x1d0840['id']===_0x23ab67['id']);this[_0x2b7ad3(0x1e1)][_0x2b7ad3(0x1e4)](_0x352ec3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4329c7=_0x26fc;(function(_0x411ee4,_0x53e4d9){const _0x479b27=_0x26fc,_0x219863=_0x411ee4();while(!![]){try{const _0x41b231=parseInt(_0x479b27(0x116))/0x1+parseInt(_0x479b27(0x129))/0x2*(parseInt(_0x479b27(0x123))/0x3)+parseInt(_0x479b27(0x136))/0x4+parseInt(_0x479b27(0x139))/0x5*(parseInt(_0x479b27(0x122))/0x6)+parseInt(_0x479b27(0x105))/0x7*(-parseInt(_0x479b27(0x12d))/0x8)+-parseInt(_0x479b27(0x114))/0x9*(-parseInt(_0x479b27(0x11e))/0xa)+-parseInt(_0x479b27(0x12a))/0xb;if(_0x41b231===_0x53e4d9)break;else _0x219863['push'](_0x219863['shift']());}catch(_0x2d9a58){_0x219863['push'](_0x219863['shift']());}}}(_0xdb97,0x83d46));function _0xdb97(){const _0x3cfc93=['2207160bOkjLD','setName','ck-reset','createCollection','uiLanguage','deselect','bindTemplate','addRevision','highlight','1609460LLfNtl','find','_revisionActions','5UlKAMc','timePeriodViews','render','setTemplate','21SkulQc','isEnabled','_requireRevisionName','ck-revision-history-sidebar__timeline','delegate','_addRevision','revisionSetName','createdAt','selectRevision','removeRevision','ck-revision-history-sidebar','_getTimePeriodViewByStartDate','some','startDate','_revisions','1782153GomorO','get','499134xnIuVD','set','map','div','_removeRevision','ck-disabled','select','locale','10BlXGNE','ck-rounded-corners','flat','highlightRevisions','5789310rsPkfb','3HJMjnM','revisionSelected','add','revisionViews','fire','getTime','489286TFXUIP','10355235GIMkpP','unhighlight','remove'];_0xdb97=function(){return _0x3cfc93;};return _0xdb97();}import{View as _0x1426e2}from'ckeditor5/src/ui.js';function _0x26fc(_0xe5f8d5,_0xcf47e6){const _0xdb970=_0xdb97();return _0x26fc=function(_0x26fc78,_0x551148){_0x26fc78=_0x26fc78-0x104;let _0x388114=_0xdb970[_0x26fc78];return _0x388114;},_0x26fc(_0xe5f8d5,_0xcf47e6);}import{RevisionsSidebarTimePeriodView as _0x370002}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x4649d6}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x445dcc}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x1426e2{[_0x4329c7(0x13a)];[_0x4329c7(0x113)];[_0x4329c7(0x138)];[_0x4329c7(0x107)];constructor(_0x35f841,_0xadd4a5,_0xd9c015,_0x300946){const _0x4663b5=_0x4329c7;super(_0x35f841);const _0x93bbb8=this[_0x4663b5(0x133)];this[_0x4663b5(0x13a)]=this[_0x4663b5(0x130)](),this[_0x4663b5(0x13a)][_0x4663b5(0x109)](_0x4663b5(0x11c))['to'](this),this[_0x4663b5(0x13a)][_0x4663b5(0x109)](_0x4663b5(0x12e))['to'](this),this[_0x4663b5(0x113)]=_0xadd4a5,this[_0x4663b5(0x138)]=_0xd9c015,this[_0x4663b5(0x107)]=_0x300946,this['on'](_0x4663b5(0x11c),(_0x5047cf,_0x5168ac)=>{const _0x1218e0=_0x4663b5;this[_0x1218e0(0x127)](_0x1218e0(0x124),_0x5168ac);}),this['on'](_0x4663b5(0x12e),(_0x4c8f7c,_0x263ca1)=>{const _0x1b010b=_0x4663b5;this[_0x1b010b(0x127)](_0x1b010b(0x10b),_0x263ca1);}),this[_0x4663b5(0x117)](_0x4663b5(0x106),!0x1),this[_0x4663b5(0x104)]({'tag':_0x4663b5(0x119),'attributes':{'class':['ck',_0x4663b5(0x12f),_0x4663b5(0x11f),_0x4663b5(0x10f)]},'children':[new _0x4649d6(_0x35f841),{'tag':_0x4663b5(0x119),'attributes':{'class':['ck',_0x4663b5(0x108),_0x93bbb8['if'](_0x4663b5(0x106),_0x4663b5(0x11b),_0x4a1b22=>!_0x4a1b22)]},'children':this[_0x4663b5(0x13a)]}]});}[_0x4329c7(0x13b)](){const _0x5e8a35=_0x4329c7;super[_0x5e8a35(0x13b)]();for(const _0x4d2536 of this[_0x5e8a35(0x113)])this[_0x5e8a35(0x10a)](_0x4d2536);this[_0x5e8a35(0x113)]['on'](_0x5e8a35(0x125),(_0x3d2b53,_0x4be553)=>{const _0x21c81d=_0x5e8a35;this[_0x21c81d(0x10a)](_0x4be553);}),this[_0x5e8a35(0x113)]['on'](_0x5e8a35(0x12c),(_0x29c4b,_0x4cd564)=>{const _0xab7d1d=_0x5e8a35;this[_0xab7d1d(0x11a)](_0x4cd564);});}get[_0x4329c7(0x126)](){const _0x323eef=_0x4329c7;return this[_0x323eef(0x13a)][_0x323eef(0x118)](_0x5e1e8e=>_0x5e1e8e[_0x323eef(0x126)][_0x323eef(0x118)](_0x4fd3aa=>_0x4fd3aa))[_0x323eef(0x120)]();}[_0x4329c7(0x10d)](_0x28dc7a){const _0x587385=_0x4329c7;for(const _0x5cd2ef of this[_0x587385(0x126)])_0x28dc7a&&_0x28dc7a['id']===_0x5cd2ef['id']?_0x5cd2ef[_0x587385(0x11c)]():_0x5cd2ef[_0x587385(0x132)]();}[_0x4329c7(0x121)](_0x317544){const _0x28149c=_0x4329c7;for(const _0x4cfd49 of this[_0x28149c(0x126)])_0x317544[_0x28149c(0x111)](({id:_0x1b323f})=>_0x1b323f===_0x4cfd49['id'])?_0x4cfd49[_0x28149c(0x135)]():_0x4cfd49[_0x28149c(0x12b)]();}[_0x4329c7(0x10a)](_0x2e8804){const _0x37e122=_0x4329c7,_0x1b7009=_0x445dcc(_0x2e8804[_0x37e122(0x10c)],this[_0x37e122(0x11d)][_0x37e122(0x131)])[_0x37e122(0x112)];let _0x2fa3e9=this[_0x37e122(0x13a)][_0x37e122(0x115)](0x0);_0x2fa3e9&&_0x2fa3e9[_0x37e122(0x112)][_0x37e122(0x128)]()===_0x1b7009[_0x37e122(0x128)]()||(_0x2fa3e9=new _0x370002(this[_0x37e122(0x11d)],_0x1b7009,this[_0x37e122(0x138)],this[_0x37e122(0x107)]),this[_0x37e122(0x13a)][_0x37e122(0x125)](_0x2fa3e9)),_0x2fa3e9[_0x37e122(0x134)](_0x2e8804);}[_0x4329c7(0x11a)](_0x3ace0f){const _0x5d5e5f=_0x4329c7,_0x2c2445=_0x445dcc(_0x3ace0f[_0x5d5e5f(0x10c)],this[_0x5d5e5f(0x11d)][_0x5d5e5f(0x131)])[_0x5d5e5f(0x112)];this[_0x5d5e5f(0x110)](_0x2c2445)[_0x5d5e5f(0x10e)](_0x3ace0f);}[_0x4329c7(0x110)](_0xbaf57c){const _0xa64747=_0x4329c7;return this[_0xa64747(0x13a)][_0xa64747(0x137)](_0x194271=>_0x194271[_0xa64747(0x112)][_0xa64747(0x128)]()===_0xbaf57c[_0xa64747(0x128)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x82c59d,_0xbbcb5f){const _0x5b0921=_0x29e9,_0x4a9573=_0x82c59d();while(!![]){try{const _0x8a848e=parseInt(_0x5b0921(0xb2))/0x1+-parseInt(_0x5b0921(0xa6))/0x2+parseInt(_0x5b0921(0xa2))/0x3*(parseInt(_0x5b0921(0xb0))/0x4)+parseInt(_0x5b0921(0xac))/0x5+parseInt(_0x5b0921(0xa5))/0x6+parseInt(_0x5b0921(0xa8))/0x7+-parseInt(_0x5b0921(0xb5))/0x8*(parseInt(_0x5b0921(0xa4))/0x9);if(_0x8a848e===_0xbbcb5f)break;else _0x4a9573['push'](_0x4a9573['shift']());}catch(_0x4a77ca){_0x4a9573['push'](_0x4a9573['shift']());}}}(_0x2a58,0x92ea1));import{DateTime as _0x53d664}from'luxon';export function getDateTimePeriodInfo(_0x268aa5,_0x32ac0a){const _0x476936=_0x29e9,_0x5698e1=_0x53d664[_0x476936(0xa0)](_0x268aa5)[_0x476936(0xae)](_0x32ac0a),_0x12ea61=_0x53d664[_0x476936(0xb1)](),_0x45dba3=_0x12ea61[_0x476936(0xa9)]({'days':0x1})[_0x476936(0xad)](_0x476936(0xb6));let _0xd76d3c,_0x504803;return _0x5698e1[_0x476936(0xb3)](_0x12ea61,_0x476936(0xb6))?(_0xd76d3c=_0x5698e1[_0x476936(0xad)](_0x476936(0xb6))[_0x476936(0xab)](),_0x504803=_0x5698e1[_0x476936(0xa7)]()):_0x5698e1[_0x476936(0xb3)](_0x45dba3,_0x476936(0xb6))?(_0xd76d3c=_0x45dba3[_0x476936(0xab)](),_0x504803=_0x5698e1[_0x476936(0xa7)]()):_0x5698e1[_0x476936(0xb3)](_0x12ea61,_0x476936(0xb4))?(_0xd76d3c=_0x5698e1[_0x476936(0xad)](_0x476936(0xb4))[_0x476936(0xab)](),_0x504803=_0x5698e1[_0x476936(0xaf)]||''):_0x5698e1[_0x476936(0xb3)](_0x12ea61,_0x476936(0xa3))?(_0xd76d3c=_0x5698e1[_0x476936(0xad)](_0x476936(0xa1))[_0x476936(0xab)](),_0x504803=_0x5698e1[_0x476936(0xaa)]||''):(_0xd76d3c=_0x5698e1[_0x476936(0xad)](_0x476936(0xa3))[_0x476936(0xab)](),_0x504803=String(_0x5698e1[_0x476936(0xa3)])),{'startDate':_0xd76d3c,'localizedPeriodName':_0x504803};}function _0x29e9(_0x4f0012,_0x2259cf){const _0x2a58b8=_0x2a58();return _0x29e9=function(_0x29e99e,_0x285bb2){_0x29e99e=_0x29e99e-0xa0;let _0x5a651c=_0x2a58b8[_0x29e99e];return _0x5a651c;},_0x29e9(_0x4f0012,_0x2259cf);}function _0x2a58(){const _0x3d1203=['year','9evXVas','1627050FSWMLn','1532114sszkNq','toRelativeCalendar','7323841ARNNtQ','minus','monthLong','toJSDate','495505NMDymu','startOf','setLocale','weekdayLong','418808nLhHct','local','868770UdzJhk','hasSame','week','15716088mpnYff','day','fromJSDate','month','30uNIDYQ'];_0x2a58=function(){return _0x3d1203;};return _0x2a58();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f7257=_0x7a7e;function _0x7a7e(_0x24d003,_0x41f00b){const _0x3ef8c8=_0x3ef8();return _0x7a7e=function(_0x7a7e41,_0x5c3318){_0x7a7e41=_0x7a7e41-0x191;let _0x35f76f=_0x3ef8c8[_0x7a7e41];return _0x35f76f;},_0x7a7e(_0x24d003,_0x41f00b);}(function(_0x443c03,_0x4dfc0c){const _0x16df80=_0x7a7e,_0x19b737=_0x443c03();while(!![]){try{const _0x29ded0=parseInt(_0x16df80(0x192))/0x1+-parseInt(_0x16df80(0x1ad))/0x2*(-parseInt(_0x16df80(0x198))/0x3)+parseInt(_0x16df80(0x1ac))/0x4*(-parseInt(_0x16df80(0x194))/0x5)+-parseInt(_0x16df80(0x199))/0x6+-parseInt(_0x16df80(0x191))/0x7*(-parseInt(_0x16df80(0x19c))/0x8)+parseInt(_0x16df80(0x1a4))/0x9+parseInt(_0x16df80(0x1a8))/0xa;if(_0x29ded0===_0x4dfc0c)break;else _0x19b737['push'](_0x19b737['shift']());}catch(_0x1da73f){_0x19b737['push'](_0x19b737['shift']());}}}(_0x3ef8,0x9e239));import{View as _0x2c5c1d}from'ckeditor5/src/ui.js';import{getTranslation as _0x330039}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x2c5c1d{[_0x4f7257(0x1a0)];[_0x4f7257(0x1a6)];constructor(_0x20aae5,_0x1fdc38){const _0x354729=_0x4f7257;super(_0x20aae5),this[_0x354729(0x1a6)]=_0x1fdc38,this[_0x354729(0x1a0)]=_0x1fdc38['id'];const _0x1032fd=this[_0x354729(0x19d)],_0x415850=_0x330039(_0x20aae5,_0x1fdc38[_0x354729(0x1aa)][_0x354729(0x19b)]?_0x354729(0x193):_0x354729(0x1a3)==_0x1fdc38[_0x354729(0x19e)]?_0x354729(0x1af):_0x354729(0x197));this[_0x354729(0x1b0)](_0x354729(0x19e),_0x1fdc38[_0x354729(0x19e)]),this[_0x354729(0x195)]({'tag':_0x354729(0x1ae),'attributes':{'class':[_0x354729(0x1a9),_0x354729(0x1a5),_0x1032fd['to'](_0x354729(0x19e),_0x325b8d=>_0x354729(0x1ab)+_0x325b8d)],'tabindex':-0x1},'children':[{'tag':_0x354729(0x1a2),'children':[{'tag':_0x354729(0x1a2),'attributes':{'class':[_0x354729(0x19a)]},'children':[{'text':_0x415850}]},{'text':'\x20'+_0x1fdc38[_0x354729(0x196)][_0x354729(0x1a1)]}]}]});}[_0x4f7257(0x1a7)](){const _0x2b071b=_0x4f7257;this[_0x2b071b(0x19f)][_0x2b071b(0x1a7)]();}}function _0x3ef8(){const _0x258664=['65xEKuBJ','setTemplate','author','Removed\x20by','123684mvUBAL','6116646wHlGYq','ck-revision-change__label','isSuggestion','9273272HeyAAR','bindTemplate','type','element','changeId','name','span','add','5913198KcZvNL','ck-revision-change','_model','focus','5712400tzelKV','ck-annotation','data','ck-revision-change__','348148HvgIer','4iUJfFl','div','Added\x20by','set','7teljxI','328782dbeFcf','Suggested\x20by'];_0x3ef8=function(){return _0x258664;};return _0x3ef8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5c4e(){const _0x40e6c5=['9mbGXJm','fire','execute','ck-revision-history-ui__changes-navigation__navigation','isForwardNavigationEnabled','16166550SZAKau','ck-revision-history-ui','ck-revision-history-ui__changes-navigation__label','EDIT_X_OF_Y_REVISIONS','backward','div','No\x20changes','_statusText','isEnabled','_isStatusLabelVisible','NUMBER_OF_CHANGES','Loading...','Show\x20next\x20change','80689PYXNmD','ck-hidden','2643224MEXzff','Total','numberOfChanges','316106AXDMSa','13826EUQsiG','348kDucwa','forward','261DGxSEz','X_OF_Y_CHANGES','bindTemplate','set','Show\x20previous\x20change','ck-revision-history-ui__changes-navigation__wrapper','1336150KBiJxm','setTemplate','span','isBackwardNavigationEnabled','ck-revision-history-ui__changes-navigation','bind','currentChangeNumber','7399952NHfvll','isReady','isNavigationMode'];_0x5c4e=function(){return _0x40e6c5;};return _0x5c4e();}(function(_0x5617a1,_0x52775a){const _0x9ad0c9=_0x28e8,_0x4af63e=_0x5617a1();while(!![]){try{const _0x3379b1=parseInt(_0x9ad0c9(0x13b))/0x1+-parseInt(_0x9ad0c9(0x13c))/0x2*(-parseInt(_0x9ad0c9(0x13f))/0x3)+parseInt(_0x9ad0c9(0x138))/0x4+parseInt(_0x9ad0c9(0x145))/0x5+parseInt(_0x9ad0c9(0x13d))/0x6*(-parseInt(_0x9ad0c9(0x136))/0x7)+parseInt(_0x9ad0c9(0x121))/0x8+-parseInt(_0x9ad0c9(0x124))/0x9*(parseInt(_0x9ad0c9(0x129))/0xa);if(_0x3379b1===_0x52775a)break;else _0x4af63e['push'](_0x4af63e['shift']());}catch(_0x2f6ca3){_0x4af63e['push'](_0x4af63e['shift']());}}}(_0x5c4e,0x767e2));import{View as _0x240031,ButtonView as _0x5ce5a4,ToolbarSeparatorView as _0x1d0816}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x585a32,IconChevronDown as _0x51a4e0}from'ckeditor5/src/icons.js';import{getTranslation as _0x2cfbde}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';function _0x28e8(_0x274ce3,_0x5e74ca){const _0x5c4e47=_0x5c4e();return _0x28e8=function(_0x28e827,_0xbfc58){_0x28e827=_0x28e827-0x11e;let _0x403536=_0x5c4e47[_0x28e827];return _0x403536;},_0x28e8(_0x274ce3,_0x5e74ca);}export class ChangesNavigationView extends _0x240031{constructor(_0xb44d55){const _0xab361f=_0x28e8;super(_0xb44d55);const _0x1e3fc5=this[_0xab361f(0x141)],_0x3e6119=new _0x5ce5a4(_0xb44d55),_0x300061=new _0x5ce5a4(_0xb44d55);this[_0xab361f(0x142)](_0xab361f(0x123),!0x1),this[_0xab361f(0x142)](_0xab361f(0x122),!0x1),this[_0xab361f(0x142)](_0xab361f(0x120),0x0),this[_0xab361f(0x142)](_0xab361f(0x13a),0x0),this[_0xab361f(0x142)](_0xab361f(0x128),!0x1),this[_0xab361f(0x142)](_0xab361f(0x148),!0x1),this[_0xab361f(0x11f)](_0xab361f(0x132))['to'](this,_0xab361f(0x122),this,_0xab361f(0x13a),(_0x3b7c88,_0x3ce68e)=>_0x3b7c88&&_0x3ce68e>0x0),this[_0xab361f(0x11f)](_0xab361f(0x130))['to'](this,_0xab361f(0x122),this,_0xab361f(0x120),this,_0xab361f(0x13a),this,_0xab361f(0x123),(_0x4d6d73,_0x44cd3a,_0x263908,_0x3d46ef)=>{const _0x405597=_0xab361f;if(!_0x4d6d73)return _0x2cfbde(_0xb44d55,_0x405597(0x134));if(!_0x263908)return _0x2cfbde(_0xb44d55,_0x405597(0x12f));const _0x56831a=_0x2cfbde(_0xb44d55,_0x405597(0x133),_0x263908);return _0x3d46ef?_0x2cfbde(_0xb44d55,_0x405597(0x140),[_0x44cd3a+0x1,_0x263908]):_0x56831a;}),_0x3e6119[_0xab361f(0x142)]({'label':_0x2cfbde(_0xb44d55,_0xab361f(0x143)),'tooltip':!0x0,'icon':_0x585a32}),_0x300061[_0xab361f(0x142)]({'label':_0x2cfbde(_0xb44d55,_0xab361f(0x135)),'tooltip':!0x0,'icon':_0x51a4e0}),_0x3e6119[_0xab361f(0x11f)](_0xab361f(0x131))['to'](this,_0xab361f(0x148)),_0x300061[_0xab361f(0x11f)](_0xab361f(0x131))['to'](this,_0xab361f(0x128)),_0x3e6119['on'](_0xab361f(0x126),()=>this[_0xab361f(0x125)](_0xab361f(0x126),_0xab361f(0x12d))),_0x300061['on'](_0xab361f(0x126),()=>this[_0xab361f(0x125)](_0xab361f(0x126),_0xab361f(0x13e))),this[_0xab361f(0x146)]({'tag':_0xab361f(0x12e),'attributes':{'class':['ck',_0xab361f(0x12a),_0xab361f(0x11e)]},'children':[{'tag':_0xab361f(0x147),'attributes':{'class':[_0xab361f(0x144)]},'children':[{'tag':_0xab361f(0x147),'attributes':{'class':[_0xab361f(0x12b),_0x1e3fc5['if'](_0xab361f(0x132),_0xab361f(0x137),_0x57268c=>!_0x57268c)]},'children':[{'text':_0x1e3fc5['to'](_0xab361f(0x123),_0x49e7a7=>_0x49e7a7?_0x2cfbde(_0xb44d55,_0xab361f(0x12c))+':\x20':_0x2cfbde(_0xb44d55,_0xab361f(0x139))+':\x20')}]},{'text':_0x1e3fc5['to'](_0xab361f(0x130))}]},new _0x1d0816(),{'tag':_0xab361f(0x12e),'attributes':{'class':[_0xab361f(0x127)]},'children':[_0x3e6119,_0x300061]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57b677=_0x45f5;function _0xdefb(){const _0x5b0c74=['addClass','editor','document','399960BRXkVU','8sqcvjl','change','isPremiumPlugin','ck-editor__editable__loading-overlay','5922711dmNmos','3675ONbhQM','removeClass','258886eoJcXM','5169115mIUdZg','200lfxHEq','8SHHUzj','RevisionViewerLoadingOverlay','2193174HmIljo','editing','view','roots','pluginName','1148OEnDNe','4876730mRCKGp','isOfficialPlugin','show','hide'];_0xdefb=function(){return _0x5b0c74;};return _0xdefb();}function _0x45f5(_0x5a112f,_0x330097){const _0xdefbf7=_0xdefb();return _0x45f5=function(_0x45f530,_0x24f5fb){_0x45f530=_0x45f530-0x11a;let _0x12b34e=_0xdefbf7[_0x45f530];return _0x12b34e;},_0x45f5(_0x5a112f,_0x330097);}(function(_0x4a2593,_0xd3aaa3){const _0x2a90c3=_0x45f5,_0x337923=_0x4a2593();while(!![]){try{const _0x4c754f=-parseInt(_0x2a90c3(0x127))/0x1*(parseInt(_0x2a90c3(0x120))/0x2)+-parseInt(_0x2a90c3(0x125))/0x3*(parseInt(_0x2a90c3(0x131))/0x4)+parseInt(_0x2a90c3(0x132))/0x5+parseInt(_0x2a90c3(0x12c))/0x6+parseInt(_0x2a90c3(0x128))/0x7+-parseInt(_0x2a90c3(0x12a))/0x8*(-parseInt(_0x2a90c3(0x124))/0x9)+-parseInt(_0x2a90c3(0x129))/0xa*(parseInt(_0x2a90c3(0x11f))/0xb);if(_0x4c754f===_0xd3aaa3)break;else _0x337923['push'](_0x337923['shift']());}catch(_0x4556e5){_0x337923['push'](_0x337923['shift']());}}}(_0xdefb,0x981e8));import{Plugin as _0x3a4647}from'ckeditor5/src/core.js';const ge=_0x57b677(0x123);import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0x3a4647{static get[_0x57b677(0x130)](){const _0x52195a=_0x57b677;return _0x52195a(0x12b);}static get[_0x57b677(0x133)](){return!0x0;}static get[_0x57b677(0x122)](){return!0x0;}[_0x57b677(0x11a)](){const _0x1011d8=_0x57b677,_0x21feea=this[_0x1011d8(0x11d)][_0x1011d8(0x12d)][_0x1011d8(0x12e)];_0x21feea[_0x1011d8(0x121)](_0x30b2e3=>{const _0x3a9a14=_0x1011d8;for(const _0x567b6b of _0x21feea[_0x3a9a14(0x11e)][_0x3a9a14(0x12f)])_0x30b2e3[_0x3a9a14(0x11c)](ge,_0x567b6b);});}[_0x57b677(0x11b)](){const _0x4cbc6a=_0x57b677,_0x22e25f=this[_0x4cbc6a(0x11d)][_0x4cbc6a(0x12d)][_0x4cbc6a(0x12e)];_0x22e25f[_0x4cbc6a(0x121)](_0x39fa8d=>{const _0x51b0f1=_0x4cbc6a;for(const _0x22a4fd of _0x22e25f[_0x51b0f1(0x11e)][_0x51b0f1(0x12f)])_0x39fa8d[_0x51b0f1(0x126)](ge,_0x22a4fd);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e5178=_0x1af4;(function(_0x15c151,_0xf0d04d){const _0x9861ae=_0x1af4,_0x82e1de=_0x15c151();while(!![]){try{const _0x4bd18c=-parseInt(_0x9861ae(0x1a4))/0x1*(parseInt(_0x9861ae(0x17c))/0x2)+parseInt(_0x9861ae(0x19b))/0x3*(-parseInt(_0x9861ae(0x185))/0x4)+-parseInt(_0x9861ae(0x193))/0x5+parseInt(_0x9861ae(0x186))/0x6+-parseInt(_0x9861ae(0x18c))/0x7*(parseInt(_0x9861ae(0x18e))/0x8)+parseInt(_0x9861ae(0x181))/0x9+parseInt(_0x9861ae(0x1a1))/0xa;if(_0x4bd18c===_0xf0d04d)break;else _0x82e1de['push'](_0x82e1de['shift']());}catch(_0x3c10af){_0x82e1de['push'](_0x82e1de['shift']());}}}(_0x1338,0xe8701));import{Plugin as _0x43514b}from'ckeditor5/src/core.js';import{ButtonView as _0x3f9337}from'ckeditor5/src/ui.js';import{IconUndo as _0x1f7d51}from'ckeditor5/src/icons.js';function _0x1338(){const _0x58b521=['add','RevisionViewerUI','3gdoZBV','isPremiumPlugin','exitToEditing','isEnabled','bind','listenTo','28817110ecrnFd','showNextChange','isForwardNavigationEnabled','2GvCjeo','forward','get','set','componentFactory','execute','isNavigationMode','isBackwardNavigationEnabled','1562314xAEEWU','closeRevisionViewerCallback','init','restoreRevision','Restore\x20this\x20revision','5080212DZCzmv','show','isReady','pluginName','4266972DqROGs','6327918ygYxxZ','requires','hide','revisionHistory','change:isReady','numberOfChanges','1169bPxrYz','currentChangeNumber','16256wqQJJh','plugins','config','isOfficialPlugin','showPreviousChange','2901830uaaOcS','ck-revision-history-ui__back-to-editing','changesNavigation','editor','commands','Back\x20to\x20editing'];_0x1338=function(){return _0x58b521;};return _0x1338();}function _0x1af4(_0x57304b,_0x353297){const _0x133846=_0x1338();return _0x1af4=function(_0x1af47b,_0x472060){_0x1af47b=_0x1af47b-0x176;let _0x2cd630=_0x133846[_0x1af47b];return _0x2cd630;},_0x1af4(_0x57304b,_0x353297);}import{ChangesNavigationView as _0x4c85ee}from'./changesnavigationview.js';import{RevisionViewer as _0x343864}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x2b933f}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0xf7089c}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x43514b{static get[_0x2e5178(0x184)](){const _0xe59288=_0x2e5178;return _0xe59288(0x19a);}static get[_0x2e5178(0x191)](){return!0x0;}static get[_0x2e5178(0x19c)](){return!0x0;}static get[_0x2e5178(0x187)](){return[_0x343864,_0x2b933f];}[_0x2e5178(0x17e)](){const _0x1e060c=_0x2e5178,_0x107721=this[_0x1e060c(0x196)],_0x349d47=_0x107721[_0x1e060c(0x18f)][_0x1e060c(0x176)](_0x343864),_0x104310=_0x107721[_0x1e060c(0x18f)][_0x1e060c(0x176)](_0x2b933f);_0x107721['ui'][_0x1e060c(0x178)][_0x1e060c(0x199)](_0x1e060c(0x19d),_0x4d54cd=>{const _0x143175=_0x1e060c,_0x560aaf=new _0x3f9337(_0x4d54cd);return _0x560aaf[_0x143175(0x177)]({'label':_0xf7089c(_0x4d54cd,_0x143175(0x198)),'icon':_0x1f7d51,'withText':!0x0,'tooltip':!0x0,'class':_0x143175(0x194)}),this[_0x143175(0x1a0)](_0x560aaf,_0x143175(0x179),()=>{const _0x4f2014=_0x143175;_0x107721[_0x4f2014(0x190)][_0x4f2014(0x176)](_0x4f2014(0x189))[_0x4f2014(0x17d)]();}),_0x560aaf;}),_0x107721['ui'][_0x1e060c(0x178)][_0x1e060c(0x199)](_0x1e060c(0x17f),_0x5e4dce=>{const _0x2cd4d0=_0x1e060c,_0x53901f=new _0x3f9337(_0x5e4dce);return _0x53901f[_0x2cd4d0(0x177)]({'label':_0xf7089c(_0x5e4dce,_0x2cd4d0(0x180)),'withText':!0x0,'tooltip':!0x0}),_0x53901f[_0x2cd4d0(0x19f)](_0x2cd4d0(0x19e))['to'](_0x107721[_0x2cd4d0(0x197)][_0x2cd4d0(0x176)](_0x2cd4d0(0x17f))),this[_0x2cd4d0(0x1a0)](_0x53901f,_0x2cd4d0(0x179),()=>_0x107721[_0x2cd4d0(0x179)](_0x2cd4d0(0x17f))),_0x53901f;}),_0x107721['ui'][_0x1e060c(0x178)][_0x1e060c(0x199)](_0x1e060c(0x195),_0x4165eb=>{const _0x253492=_0x1e060c,_0x17f315=new _0x4c85ee(_0x4165eb),_0x14af39=_0x107721[_0x253492(0x197)][_0x253492(0x176)](_0x253492(0x192)),_0x965ad3=_0x107721[_0x253492(0x197)][_0x253492(0x176)](_0x253492(0x1a2));return _0x17f315[_0x253492(0x19f)](_0x253492(0x17b))['to'](_0x14af39,_0x253492(0x19e)),_0x17f315[_0x253492(0x19f)](_0x253492(0x1a3))['to'](_0x965ad3,_0x253492(0x19e)),_0x17f315[_0x253492(0x19f)](_0x253492(0x183),_0x253492(0x18d),_0x253492(0x18b),_0x253492(0x17a))['to'](_0x349d47),this[_0x253492(0x1a0)](_0x17f315,_0x253492(0x179),(_0x3f16fc,_0x54c3dd)=>{const _0x3ce26a=_0x253492;_0x107721[_0x3ce26a(0x179)](_0x3ce26a(0x1a5)===_0x54c3dd?_0x3ce26a(0x1a2):_0x3ce26a(0x192));}),_0x17f315;}),_0x104310[_0x1e060c(0x182)](),_0x349d47['on'](_0x1e060c(0x18a),(_0x50b72e,_0x50f282,_0x4d84dd)=>{const _0x548808=_0x1e060c;_0x4d84dd?_0x104310[_0x548808(0x188)]():_0x104310[_0x548808(0x182)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x5e5c43,_0x1c595c,_0x1095cb){const t=_0x5e5c43['t'];switch(_0x1c595c){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'},_0x1095cb);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x1095cb);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'';}}
|