@ckeditor/ckeditor5-revision-history 46.0.0-alpha.3 → 46.0.0-alpha.5
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
|
+
function _0x2efa(_0xc6c88f,_0x36ca1d){const _0x3f7cc2=_0x3f7c();return _0x2efa=function(_0x2efa58,_0x50c1b6){_0x2efa58=_0x2efa58-0x189;let _0x3e1bdc=_0x3f7cc2[_0x2efa58];return _0x3e1bdc;},_0x2efa(_0xc6c88f,_0x36ca1d);}const _0x4633e3=_0x2efa;(function(_0x206c10,_0x7eb885){const _0x587475=_0x2efa,_0x1079bb=_0x206c10();while(!![]){try{const _0x2e00f2=-parseInt(_0x587475(0x18c))/0x1+-parseInt(_0x587475(0x1a0))/0x2+parseInt(_0x587475(0x198))/0x3*(-parseInt(_0x587475(0x18f))/0x4)+parseInt(_0x587475(0x192))/0x5*(parseInt(_0x587475(0x199))/0x6)+-parseInt(_0x587475(0x19e))/0x7+parseInt(_0x587475(0x1a1))/0x8+-parseInt(_0x587475(0x1af))/0x9*(-parseInt(_0x587475(0x1b3))/0xa);if(_0x2e00f2===_0x7eb885)break;else _0x1079bb['push'](_0x1079bb['shift']());}catch(_0x2db4f0){_0x1079bb['push'](_0x1079bb['shift']());}}}(_0x3f7c,0x98f2b));import{CssTransitionDisablerMixin as _0x3fd08d,LabeledFieldView as _0x2f4315,View as _0x27132a,createLabeledInputText as _0x1e817f,submitHandler as _0x36c6a5}from'ckeditor5/src/ui.js';import{FocusTracker as _0x27d3e3,KeystrokeHandler as _0x18458c}from'ckeditor5/src/utils.js';import{getTranslation as _0x231384}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';function _0x3f7c(){const _0x12f8eb=['optional','_createRevisionNameInput','29541PkzasG','1583394oNbWLp','220','setTemplate','revisionNameInputValue','focus','4671975bwFrJG','ck-revision-history-save-revision-form','694496vyfEwk','9913504AOuOzm','value','extendTemplate','stopPropagation','arrowup','element','set','render','arrowdown','Name\x20of\x20the\x20revision','initializeCssTransitionDisablerMixin','input','arrowleft','revisionName','63ofyWKM','errorText','form','trim','454550JPAwft','reset','label','ck-responsive-form','keystrokes','361307rgzAnK','locale','listenTo','248xoSlGv','arrowright','add','20rZxIVo','revisionNameInputView','focusTracker','fieldView'];_0x3f7c=function(){return _0x12f8eb;};return _0x3f7c();}import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3fd08d(_0x27132a){[_0x4633e3(0x194)];[_0x4633e3(0x18b)];[_0x4633e3(0x193)];constructor(_0x21b083,_0x28a787){const _0x7f0dba=_0x4633e3;super(_0x21b083),this[_0x7f0dba(0x194)]=new _0x27d3e3(),this[_0x7f0dba(0x18b)]=new _0x18458c(),this[_0x7f0dba(0x1a7)](_0x7f0dba(0x19c),''),this[_0x7f0dba(0x193)]=this[_0x7f0dba(0x197)](_0x28a787),this[_0x7f0dba(0x19b)]({'tag':_0x7f0dba(0x1b1),'attributes':{'class':['ck',_0x7f0dba(0x19f),_0x7f0dba(0x18a)],'tabindex':'-1'},'children':[this[_0x7f0dba(0x193)]]}),this[_0x7f0dba(0x1ab)]();}[_0x4633e3(0x1a8)](){const _0x4b508f=_0x4633e3;super[_0x4b508f(0x1a8)](),_0x36c6a5({'view':this}),this[_0x4b508f(0x194)][_0x4b508f(0x191)](this[_0x4b508f(0x193)][_0x4b508f(0x1a6)]),this[_0x4b508f(0x18b)][_0x4b508f(0x18e)](this[_0x4b508f(0x1a6)]);const _0x3e014=_0x2cceca=>_0x2cceca[_0x4b508f(0x1a4)]();this[_0x4b508f(0x18b)][_0x4b508f(0x1a7)](_0x4b508f(0x190),_0x3e014),this[_0x4b508f(0x18b)][_0x4b508f(0x1a7)](_0x4b508f(0x1ad),_0x3e014),this[_0x4b508f(0x18b)][_0x4b508f(0x1a7)](_0x4b508f(0x1a5),_0x3e014),this[_0x4b508f(0x18b)][_0x4b508f(0x1a7)](_0x4b508f(0x1a9),_0x3e014);}[_0x4633e3(0x19d)](){const _0x5db239=_0x4633e3;this[_0x5db239(0x193)][_0x5db239(0x19d)]();}get[_0x4633e3(0x1ae)](){const _0x561080=_0x4633e3;return this[_0x561080(0x193)][_0x561080(0x195)][_0x561080(0x1a6)][_0x561080(0x1a2)][_0x561080(0x1b2)]();}set[_0x4633e3(0x1ae)](_0x4abee5){const _0xd8b9b1=_0x4633e3;this[_0xd8b9b1(0x193)][_0xd8b9b1(0x195)][_0xd8b9b1(0x1a6)][_0xd8b9b1(0x1a2)]=_0x4abee5[_0xd8b9b1(0x1b2)]();}[_0x4633e3(0x1b4)](){const _0x12f8cc=_0x4633e3;this[_0x12f8cc(0x193)][_0x12f8cc(0x195)][_0x12f8cc(0x1a6)][_0x12f8cc(0x1a2)]='',this[_0x12f8cc(0x193)][_0x12f8cc(0x1b0)]=null;}[_0x4633e3(0x197)](_0xe506d5){const _0xd09964=_0x4633e3,_0x2799cb=new _0x2f4315(this[_0xd09964(0x18d)],_0x1e817f),_0x24a895=_0x2799cb[_0xd09964(0x195)];_0x24a895[_0xd09964(0x1a3)]({'attributes':{'maxlength':_0xd09964(0x19a)}});let _0x54bb00=_0x231384(this[_0xd09964(0x18d)],_0xd09964(0x1aa));return!_0xe506d5&&(_0x54bb00+='\x20('+_0x231384(this[_0xd09964(0x18d)],_0xd09964(0x196))+')'),(_0x2799cb[_0xd09964(0x189)]=_0x54bb00,_0x24a895['on'](_0xd09964(0x1ac),()=>{const _0x1565cc=_0xd09964;this[_0x1565cc(0x19c)]=_0x24a895[_0x1565cc(0x1a6)][_0x1565cc(0x1a2)][_0x1565cc(0x1b2)]();}),_0x2799cb);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35f1a5=_0x5eea;(function(_0x3d516f,_0x4c327f){const _0x42ca10=_0x5eea,_0x3e038=_0x3d516f();while(!![]){try{const _0x283d64=-parseInt(_0x42ca10(0x21a))/0x1*(-parseInt(_0x42ca10(0x1f4))/0x2)+parseInt(_0x42ca10(0x21d))/0x3+-parseInt(_0x42ca10(0x205))/0x4+parseInt(_0x42ca10(0x216))/0x5+-parseInt(_0x42ca10(0x20c))/0x6+-parseInt(_0x42ca10(0x230))/0x7*(parseInt(_0x42ca10(0x234))/0x8)+-parseInt(_0x42ca10(0x221))/0x9*(-parseInt(_0x42ca10(0x207))/0xa);if(_0x283d64===_0x4c327f)break;else _0x3e038['push'](_0x3e038['shift']());}catch(_0x2fecda){_0x3e038['push'](_0x3e038['shift']());}}}(_0x4ed8,0xdbc52));import{Plugin as _0x104040}from'ckeditor5/src/core.js';function _0x5eea(_0x599643,_0x39b0a1){const _0x4ed800=_0x4ed8();return _0x5eea=function(_0x5eea60,_0x3dc596){_0x5eea60=_0x5eea60-0x1f3;let _0x7cd53d=_0x4ed800[_0x5eea60];return _0x7cd53d;},_0x5eea(_0x599643,_0x39b0a1);}import{IconHistory as _0x15ec23}from'ckeditor5/src/icons.js';import{createDropdown as _0x368e71,ButtonView as _0x3a9a9e,ListItemView as _0x1844a4,ListView as _0x1b0ef0,MenuBarMenuListItemButtonView as _0x1b9026,MenuBarMenuListItemView as _0x1170d5,MenuBarMenuListView as _0x5dca1f,MenuBarMenuView as _0x1d6da2}from'ckeditor5/src/ui.js';import{RevisionTracker as _0x3dfb06}from'../../revisiontracker.js';function _0x4ed8(){const _0x35f936=['Save\x20current\x20revision','requires','hide','errorText','editor','componentFactory','6040820UCoErg','RevisionTracker','2410MXTnGV','pluginName','Accept','saveRevision','locale','3174894OAHbQu','editing','show','_showDialog','render','menu','children','isEnabled','_createSaveRevisionFormView','Revision\x20history','7116155qUeejt','init','isOfficialPlugin','submit','1136jvXTBO','role','revisionHistory.requireRevisionName','3813282sbEsqg','The\x20revision\x20name\x20cannot\x20be\x20empty.','menuBar:revisionHistory','isPremiumPlugin','47106nodVaL','config','Cancel','buttonView','RevisionHistoryUI','menuitem','isReadOnly','add','isReady','bind','showRevisionViewerCallback','set','isOpen','revisionName','Dialog','7rTOzvD','get','panelView','Open\x20revision\x20history','11273944pImKnp','items','reset','focus','revisionHistory','692wqWObc','plugins','delegate','ck-button-action','revisionSave','execute','_registerMenuComponent','revisionNameInputView','addMany','view','_saveRevisionFormView'];_0x4ed8=function(){return _0x35f936;};return _0x4ed8();}import{RevisionHistorySaveRevisionFormView as _0x1fb85b}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x3771a1}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0x104040{static get[_0x35f1a5(0x208)](){const _0x45e977=_0x35f1a5;return _0x45e977(0x225);}static get[_0x35f1a5(0x218)](){return!0x0;}static get[_0x35f1a5(0x220)](){return!0x0;}static get[_0x35f1a5(0x200)](){return[_0x3dfb06];}[_0x35f1a5(0x1fe)];[_0x35f1a5(0x217)](){const _0x332711=_0x35f1a5,_0x4aa831=this[_0x332711(0x203)],_0x199b88=_0x4aa831[_0x332711(0x1f5)][_0x332711(0x231)](_0x332711(0x206));_0x4aa831['ui'][_0x332711(0x204)][_0x332711(0x228)](_0x332711(0x1f3),_0x11dd39=>{const _0x5ecde2=_0x332711,_0x3563c6=_0x368e71(_0x11dd39),_0x4f3ec7=_0x3563c6[_0x5ecde2(0x232)][_0x5ecde2(0x212)],_0x6a5bb5=new _0x1b0ef0(_0x11dd39),_0x45b49e=new _0x1844a4(_0x11dd39),_0x25d439=new _0x3a9a9e(_0x11dd39),_0x431317=new _0x1844a4(_0x11dd39),_0x2caea2=new _0x3a9a9e(_0x11dd39);return _0x3563c6[_0x5ecde2(0x22a)](_0x5ecde2(0x213))['to'](_0x199b88,_0x5ecde2(0x229),_0x199b88,_0x5ecde2(0x213),_0x4aa831,_0x5ecde2(0x227),(_0x107bf6,_0x5025ff,_0x31e1c6)=>_0x107bf6&&_0x5025ff&&!_0x31e1c6),_0x3563c6[_0x5ecde2(0x224)][_0x5ecde2(0x22c)]({'icon':_0x15ec23,'label':_0x3771a1(_0x11dd39,_0x5ecde2(0x215)),'tooltip':!0x0}),_0x25d439[_0x5ecde2(0x22c)]({'label':_0x3771a1(_0x11dd39,_0x5ecde2(0x1ff)),'withText':!0x0,'role':_0x5ecde2(0x226)}),_0x25d439[_0x5ecde2(0x22a)](_0x5ecde2(0x213))['to'](_0x199b88,_0x5ecde2(0x229),_0x199b88,_0x5ecde2(0x213),_0x4aa831,_0x5ecde2(0x227),(_0x1ed6d3,_0x2d83ae,_0xa8507a)=>_0x1ed6d3&&_0x2d83ae&&!_0xa8507a),_0x25d439['on'](_0x5ecde2(0x1f9),()=>this[_0x5ecde2(0x20f)]()),_0x2caea2[_0x5ecde2(0x22c)]({'label':_0x3771a1(_0x11dd39,_0x5ecde2(0x233)),'withText':!0x0,'role':_0x5ecde2(0x226)}),_0x2caea2[_0x5ecde2(0x22a)](_0x5ecde2(0x213))['to'](_0x199b88,_0x5ecde2(0x229),_0x4aa831,_0x5ecde2(0x227),(_0x1e76de,_0x44f90c)=>_0x1e76de&&!_0x44f90c),_0x2caea2['on'](_0x5ecde2(0x1f9),()=>{const _0x2ffe29=_0x5ecde2;_0x4aa831[_0x2ffe29(0x222)][_0x2ffe29(0x231)](_0x2ffe29(0x1f3))[_0x2ffe29(0x22b)](),_0x3563c6[_0x2ffe29(0x22d)]=!0x1,_0x4aa831[_0x2ffe29(0x20d)][_0x2ffe29(0x1fd)][_0x2ffe29(0x237)]();}),_0x45b49e[_0x5ecde2(0x212)][_0x5ecde2(0x228)](_0x25d439),_0x431317[_0x5ecde2(0x212)][_0x5ecde2(0x228)](_0x2caea2),_0x6a5bb5[_0x5ecde2(0x21b)]=_0x5ecde2(0x211),_0x6a5bb5[_0x5ecde2(0x235)][_0x5ecde2(0x1fc)]([_0x45b49e,_0x431317]),_0x4f3ec7[_0x5ecde2(0x228)](_0x6a5bb5),_0x3563c6;}),_0x4aa831['ui'][_0x332711(0x204)][_0x332711(0x228)](_0x332711(0x21f),()=>this[_0x332711(0x1fa)]());}[_0x35f1a5(0x1fa)](){const _0x4610c5=_0x35f1a5,_0xcb2bf6=this[_0x4610c5(0x203)],_0x21e292=_0xcb2bf6[_0x4610c5(0x20b)],_0x32965e=new _0x1d6da2(_0x21e292),_0x421231=new _0x5dca1f(_0x21e292);_0x32965e[_0x4610c5(0x224)][_0x4610c5(0x22c)]({'icon':_0x15ec23,'label':_0x3771a1(_0x21e292,_0x4610c5(0x215))});const _0x3d7fee=new _0x1170d5(_0x21e292,_0x32965e),_0x4cecf4=new _0x1b9026(_0x21e292);_0x4cecf4[_0x4610c5(0x22c)]({'label':_0x3771a1(_0x21e292,_0x4610c5(0x1ff))}),_0x4cecf4[_0x4610c5(0x1f6)](_0x4610c5(0x1f9))['to'](_0x32965e),_0x4cecf4['on'](_0x4610c5(0x1f9),()=>{const _0x417316=_0x4610c5;this[_0x417316(0x20f)]();}),_0x3d7fee[_0x4610c5(0x212)][_0x4610c5(0x228)](_0x4cecf4),_0x421231[_0x4610c5(0x235)][_0x4610c5(0x228)](_0x3d7fee);const _0x3a5c6d=new _0x1170d5(_0x21e292,_0x32965e),_0x1daaee=new _0x1b9026(_0x21e292);return _0x1daaee[_0x4610c5(0x22c)]({'label':_0x3771a1(_0x21e292,_0x4610c5(0x233))}),_0x1daaee[_0x4610c5(0x1f6)](_0x4610c5(0x1f9))['to'](_0x32965e),_0x1daaee['on'](_0x4610c5(0x1f9),()=>{const _0x511fcf=_0x4610c5;_0xcb2bf6[_0x511fcf(0x222)][_0x511fcf(0x231)](_0x511fcf(0x1f3))[_0x511fcf(0x22b)]();}),_0x3a5c6d[_0x4610c5(0x212)][_0x4610c5(0x228)](_0x1daaee),_0x421231[_0x4610c5(0x235)][_0x4610c5(0x228)](_0x3a5c6d),_0x32965e[_0x4610c5(0x232)][_0x4610c5(0x212)][_0x4610c5(0x228)](_0x421231),_0x32965e;}[_0x35f1a5(0x20f)](){const _0x77bf63=_0x35f1a5,_0x1fcc0e=this[_0x77bf63(0x203)],_0x2028fb=_0x1fcc0e[_0x77bf63(0x20b)],_0x57a253=_0x1fcc0e[_0x77bf63(0x1f5)][_0x77bf63(0x231)](_0x77bf63(0x22f)),_0x4c8a31=_0x1fcc0e[_0x77bf63(0x1f5)][_0x77bf63(0x231)](_0x77bf63(0x206));function _0x1f8f44(_0x31a75c){const _0x36477d=_0x77bf63;_0x1fcc0e[_0x36477d(0x222)][_0x36477d(0x231)](_0x36477d(0x21c))&&''===_0x31a75c[_0x36477d(0x22e)]?_0x31a75c[_0x36477d(0x1fb)][_0x36477d(0x202)]=_0x3771a1(_0x2028fb,_0x36477d(0x21e)):(_0x1fcc0e[_0x36477d(0x1f5)][_0x36477d(0x231)](_0x3dfb06)[_0x36477d(0x20a)]({'name':_0x31a75c[_0x36477d(0x22e)]}),_0x57a253[_0x36477d(0x201)]());}this[_0x77bf63(0x1fe)]||(this[_0x77bf63(0x214)](),this[_0x77bf63(0x1fe)]['on'](_0x77bf63(0x219),()=>_0x1f8f44(this[_0x77bf63(0x1fe)]))),this[_0x77bf63(0x1fe)][_0x77bf63(0x236)](),_0x57a253[_0x77bf63(0x20e)]({'id':_0x77bf63(0x1f8),'title':_0x3771a1(_0x2028fb,_0x77bf63(0x1ff)),'isModal':!0x0,'content':this[_0x77bf63(0x1fe)],'actionButtons':[{'label':_0x3771a1(_0x1fcc0e[_0x77bf63(0x20b)],_0x77bf63(0x223)),'withText':!0x0,'onExecute':()=>_0x57a253[_0x77bf63(0x201)]()},{'label':_0x3771a1(_0x1fcc0e[_0x77bf63(0x20b)],_0x77bf63(0x209)),'class':_0x77bf63(0x1f7),'withText':!0x0,'onCreate'(_0x173826){const _0x5f5803=_0x77bf63;_0x173826[_0x5f5803(0x22a)](_0x5f5803(0x213))['to'](_0x4c8a31,_0x5f5803(0x229),_0x4c8a31,_0x5f5803(0x213),_0x1fcc0e,_0x5f5803(0x227),(_0x581783,_0x43640b,_0x5943ba)=>_0x581783&&_0x43640b&&!_0x5943ba);},'onExecute':()=>_0x1f8f44(this[_0x77bf63(0x1fe)])}]});}[_0x35f1a5(0x214)](){const _0x35ab46=_0x35f1a5,_0xb6db4=this[_0x35ab46(0x203)],_0x4c4306=_0xb6db4[_0x35ab46(0x20b)];this[_0x35ab46(0x1fe)]=new _0x1fb85b(_0x4c4306,_0xb6db4[_0x35ab46(0x222)][_0x35ab46(0x231)](_0x35ab46(0x21c))),this[_0x35ab46(0x1fe)][_0x35ab46(0x210)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7ef57d=_0x4ee2;(function(_0x4628a6,_0x4f1d00){const _0x4cacbe=_0x4ee2,_0x2e4d7d=_0x4628a6();while(!![]){try{const _0x5b5541=parseInt(_0x4cacbe(0x115))/0x1*(-parseInt(_0x4cacbe(0x10c))/0x2)+parseInt(_0x4cacbe(0xfb))/0x3*(parseInt(_0x4cacbe(0xf8))/0x4)+-parseInt(_0x4cacbe(0xee))/0x5*(parseInt(_0x4cacbe(0x10b))/0x6)+parseInt(_0x4cacbe(0xe9))/0x7+parseInt(_0x4cacbe(0x108))/0x8+parseInt(_0x4cacbe(0x100))/0x9+-parseInt(_0x4cacbe(0x113))/0xa;if(_0x5b5541===_0x4f1d00)break;else _0x2e4d7d['push'](_0x2e4d7d['shift']());}catch(_0x32ad31){_0x2e4d7d['push'](_0x2e4d7d['shift']());}}}(_0x3b89,0xe286f));import{Plugin as _0x5f29aa}from'ckeditor5/src/core.js';function _0x4ee2(_0x1e0669,_0x420db7){const _0x3b899d=_0x3b89();return _0x4ee2=function(_0x4ee282,_0x452326){_0x4ee282=_0x4ee282-0xd2;let _0x20383a=_0x3b899d[_0x4ee282];return _0x20383a;},_0x4ee2(_0x1e0669,_0x420db7);}import{RevisionsSidebarView as _0x599337}from'./revisionssidebarview.js';import{RevisionViewer as _0x8b79b9}from'../../revisionviewer.js';function _0x3b89(){const _0x34666b=['diff','3595434nPGIBG','2jXIuKs','_revisionViewer','element','Compare\x20against\x20selected','defaultRevisionActions','getEarlierVisibleRevision','appendChild','17343730ZRaXYv','_sidebarView','528823gIIrPj','bind','plugins','isVisible','selectRevision','revisionHistory.revisionActions','editor','_handleEditorDataReady','data','setName','assign','availableRevisionActions','_handleRevisionSelected','action','revisionSetName','_revisions','getIndex','Restore\x20this\x20revision','isOfficialPlugin','compareAgainstSelected','_handleDiffChange','getLaterVisibleRevision','revisionSelected','revisionHistory','Name\x20this\x20revision','ready','isSelected','_handleRevisionSetName','restoreRevisionCallback','name','destroy','init','length','fieldView','highlightRevisions','requires','compare','_revisionsRepository','RevisionsSidebar','1971172PIhNQC','listenTo','select','add','revisionHistory.requireRevisionName','5JYwHZc','repository','isPremiumPlugin','map','change:diff','isReady','timePeriodViews','restoreRevision','render','config','7368636ljGHjD','_createRevisionActions','remove','3jfJIld','newRevisionId','revisionViews','pluginName','nameRevision','11668689WwJuMa','focus','locale','string','getRevision','getRevisionsInDiff','revisionHistory.viewerSidebarContainer','isEnabled','2960112gIzKRH','get'];_0x3b89=function(){return _0x34666b;};return _0x3b89();}class f extends _0x5f29aa{[_0x7ef57d(0x10d)];[_0x7ef57d(0xe7)];[_0x7ef57d(0x114)];static [_0x7ef57d(0x110)]=[_0x7ef57d(0xd5),_0x7ef57d(0xf5),_0x7ef57d(0xff)];static [_0x7ef57d(0x120)]=(function(){const _0x41b76f=_0x7ef57d;return{'compareAgainstSelected':{'name':_0x41b76f(0x10f),'action':({plugins:i},s)=>{const _0x4ff5e7=_0x41b76f,e=i[_0x4ff5e7(0x109)](_0x8b79b9),n=e[_0x4ff5e7(0xef)];let r=e[_0x4ff5e7(0x10a)][_0x4ff5e7(0xfc)],o=s['id'];n[_0x4ff5e7(0xd2)](r)>n[_0x4ff5e7(0xd2)](o)&&([r,o]=[o,r]),e[_0x4ff5e7(0xe6)](r,o);},'isVisible':({plugins:i},s)=>{const _0x3bc0f3=_0x41b76f,e=i[_0x3bc0f3(0x109)](_0x8b79b9);return!(e[_0x3bc0f3(0xef)][_0x3bc0f3(0x105)](e[_0x3bc0f3(0x10a)])[_0x3bc0f3(0xe2)]>0x2)&&!s[_0x3bc0f3(0xdc)];}},'restoreRevision':{'name':_0x41b76f(0xd3),'action':(i,{id:s})=>{const _0x43fd5a=_0x41b76f;i[_0x43fd5a(0xf7)][_0x43fd5a(0x109)](_0x43fd5a(0xd9))[_0x43fd5a(0xde)](s);},'isVisible':({plugins:i},s)=>!!i[_0x41b76f(0x109)](_0x8b79b9)[_0x41b76f(0xef)][_0x41b76f(0xd7)](s['id'])},'nameRevision':{'name':_0x41b76f(0xda),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x49c623=_0x41b76f,n=i[_0x49c623(0x109)](_0x8b79b9),r=n[_0x49c623(0xef)][_0x49c623(0x111)](s);n[_0x49c623(0xe6)](s,r),e[_0x49c623(0x101)](),e[_0x49c623(0xe3)][_0x49c623(0xeb)]();}}};}());static get[_0x7ef57d(0xfe)](){const _0x18d294=_0x7ef57d;return _0x18d294(0xe8);}static get[_0x7ef57d(0xd4)](){return!0x0;}static get[_0x7ef57d(0xf0)](){return!0x0;}static get[_0x7ef57d(0xe5)](){return[_0x8b79b9];}constructor(_0x2acc37){const _0x334d05=_0x7ef57d;super(_0x2acc37),this[_0x334d05(0x10d)]=_0x2acc37[_0x334d05(0x117)][_0x334d05(0x109)](_0x8b79b9),this[_0x334d05(0xe7)]=this[_0x334d05(0x10d)][_0x334d05(0xef)],this[_0x334d05(0x114)]=null;}[_0x7ef57d(0xe1)](){const _0x16939e=_0x7ef57d,_0x19f88f=this[_0x16939e(0xe7)][_0x16939e(0x124)],_0x534b5c=this[_0x16939e(0xf9)](),_0x2821a7=this[_0x16939e(0x11b)][_0x16939e(0xf7)][_0x16939e(0x109)](_0x16939e(0x106));this[_0x16939e(0x114)]=new _0x599337(this[_0x16939e(0x11b)][_0x16939e(0x102)],_0x19f88f,_0x534b5c,this[_0x16939e(0x11b)][_0x16939e(0xf7)][_0x16939e(0x109)](_0x16939e(0xed))),this[_0x16939e(0x114)]['on'](_0x16939e(0xd8),this[_0x16939e(0x121)][_0x16939e(0x116)](this)),this[_0x16939e(0x114)]['on'](_0x16939e(0x123),this[_0x16939e(0xdd)][_0x16939e(0x116)](this)),this[_0x16939e(0x114)][_0x16939e(0x116)](_0x16939e(0x107))['to'](this[_0x16939e(0x10d)]),this[_0x16939e(0x114)][_0x16939e(0xf4)]['on'](_0x16939e(0xec),(_0x4ebe9d,_0x343d75)=>{const _0x18e119=_0x16939e;_0x343d75[_0x18e119(0xfd)]['on'](_0x18e119(0xec),(_0x603226,_0x35eead)=>{const _0x13c56d=_0x18e119;_0x35eead[_0x13c56d(0x116)](_0x13c56d(0x107),_0x13c56d(0xf3))['to'](this[_0x13c56d(0x10d)]);});}),this[_0x16939e(0x114)][_0x16939e(0xf6)](),this[_0x16939e(0xea)](this[_0x16939e(0x11b)][_0x16939e(0x11d)],_0x16939e(0xdb),this[_0x16939e(0x11c)][_0x16939e(0x116)](this)),this[_0x16939e(0xea)](this[_0x16939e(0x10d)],_0x16939e(0xf2),this[_0x16939e(0xd6)][_0x16939e(0x116)](this)),_0x2821a7[_0x16939e(0x112)](this[_0x16939e(0x114)][_0x16939e(0x10e)]);}[_0x7ef57d(0xe0)](){const _0x46a3e9=_0x7ef57d;this[_0x46a3e9(0x114)][_0x46a3e9(0x10e)][_0x46a3e9(0xfa)](),this[_0x46a3e9(0x114)][_0x46a3e9(0xe0)]();}[_0x7ef57d(0x11c)](){const _0x23e99f=_0x7ef57d,_0x5708c9=this[_0x23e99f(0xe7)][_0x23e99f(0x104)](0x0);if(_0x5708c9){const _0x148855=this[_0x23e99f(0xe7)][_0x23e99f(0x111)](_0x5708c9['id']);this[_0x23e99f(0x10d)][_0x23e99f(0xe6)](_0x5708c9,_0x148855);}}[_0x7ef57d(0x121)](_0x1bd12c,_0x1d4ead){const _0x2091f3=_0x7ef57d,_0x4d34ae=this[_0x2091f3(0xe7)][_0x2091f3(0x104)](_0x1d4ead['id']),_0x58f281=this[_0x2091f3(0xe7)][_0x2091f3(0x111)](_0x4d34ae['id']);this[_0x2091f3(0x10d)][_0x2091f3(0xe6)](_0x4d34ae,_0x58f281);}[_0x7ef57d(0xdd)](_0x556d2c,_0x4d72f2){const _0xbd0fdf=_0x7ef57d;this[_0xbd0fdf(0xe7)][_0xbd0fdf(0x104)](_0x4d72f2['id'])[_0xbd0fdf(0x11e)](_0x4d72f2[_0xbd0fdf(0xdf)]);}[_0x7ef57d(0xd6)](_0x1a258b,_0x4aa99a,_0x5a4057){const _0x37eb2a=_0x7ef57d,_0x53bd65=this[_0x37eb2a(0xe7)][_0x37eb2a(0x105)](_0x5a4057);_0x53bd65[_0x37eb2a(0xe2)]>0x2?(this[_0x37eb2a(0x114)][_0x37eb2a(0xe4)](_0x53bd65),this[_0x37eb2a(0x114)][_0x37eb2a(0x119)](null)):(this[_0x37eb2a(0x114)][_0x37eb2a(0xe4)]([]),this[_0x37eb2a(0x114)][_0x37eb2a(0x119)](_0x53bd65[0x0]));}[_0x7ef57d(0xf9)](){const _0xfdce9a=_0x7ef57d,_0x15cdf3=this[_0xfdce9a(0x11b)],_0x5f5c59=f[_0xfdce9a(0x120)],_0x2a9d10=_0x15cdf3[_0xfdce9a(0xf7)][_0xfdce9a(0x109)](_0xfdce9a(0x11a))||f[_0xfdce9a(0x110)];if(_0x2a9d10[_0xfdce9a(0xe2)])return _0x2a9d10[_0xfdce9a(0xf1)](_0x131136=>{const _0x5bec7b=_0xfdce9a,_0x45dd01=_0x5bec7b(0x103)==typeof _0x131136?Object[_0x5bec7b(0x11f)]({},_0x5f5c59[_0x131136]):_0x131136;return _0x45dd01[_0x5bec7b(0x122)]=_0x45dd01[_0x5bec7b(0x122)][_0x5bec7b(0x116)](this,_0x15cdf3),_0x45dd01[_0x5bec7b(0x118)]&&(_0x45dd01[_0x5bec7b(0x118)]=_0x45dd01[_0x5bec7b(0x118)][_0x5bec7b(0x116)](this,_0x15cdf3)),_0x45dd01;});}}export{f as RevisionsSidebar};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x58b0(){const _0x4c66ce=['span','3618132kAcqQT','6577872bGrQgW','164675uihfcy','30eoVTQi','ck-revision-history-sidebar__header__label','1028990tFGLuN','content','Revision\x20history','ck-revision-history-sidebar__header','634izSwWI','setTemplate','div','10827liVMhK','10989765wCsued','882479XcyGDi','ck-reset_all'];_0x58b0=function(){return _0x4c66ce;};return _0x58b0();}(function(_0x5615b7,_0x2a08c7){const _0x30df69=_0x1f2d,_0x4b748a=_0x5615b7();while(!![]){try{const _0x3929c5=-parseInt(_0x30df69(0x1d7))/0x1+parseInt(_0x30df69(0x1d2))/0x2*(-parseInt(_0x30df69(0x1d5))/0x3)+parseInt(_0x30df69(0x1da))/0x4+-parseInt(_0x30df69(0x1ce))/0x5+parseInt(_0x30df69(0x1dd))/0x6*(-parseInt(_0x30df69(0x1dc))/0x7)+parseInt(_0x30df69(0x1db))/0x8+parseInt(_0x30df69(0x1d6))/0x9;if(_0x3929c5===_0x2a08c7)break;else _0x4b748a['push'](_0x4b748a['shift']());}catch(_0x5b16c7){_0x4b748a['push'](_0x4b748a['shift']());}}}(_0x58b0,0x91f89));import{View as _0x81a3f4,IconView as _0x398d1b}from'ckeditor5/src/ui.js';import{getTranslation as _0x3de7b5}from'../../utils/common-translations.js';import{IconHistory as _0x5c8956}from'ckeditor5/src/icons.js';function _0x1f2d(_0x2dd896,_0x2ecf61){const _0x58b045=_0x58b0();return _0x1f2d=function(_0x1f2d6d,_0x2c47b4){_0x1f2d6d=_0x1f2d6d-0x1ce;let _0x3c7456=_0x58b045[_0x1f2d6d];return _0x3c7456;},_0x1f2d(_0x2dd896,_0x2ecf61);}import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x81a3f4{constructor(_0x426d8f){const _0x3283e7=_0x1f2d;super(_0x426d8f);const _0x49fc82=new _0x398d1b();_0x49fc82[_0x3283e7(0x1cf)]=_0x5c8956,this[_0x3283e7(0x1d3)]({'tag':_0x3283e7(0x1d4),'attributes':{'class':['ck',_0x3283e7(0x1d8),_0x3283e7(0x1d1)]},'children':[_0x49fc82,{'tag':_0x3283e7(0x1d9),'attributes':{'class':['ck',_0x3283e7(0x1de)]},'children':[_0x3de7b5(_0x426d8f,_0x3283e7(0x1d0))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x423915=_0x4adc;(function(_0x53116f,_0x2a675d){const _0x55162f=_0x4adc,_0x3424eb=_0x53116f();while(!![]){try{const _0x5baffe=-parseInt(_0x55162f(0x1c4))/0x1*(parseInt(_0x55162f(0x1c3))/0x2)+-parseInt(_0x55162f(0x1cb))/0x3*(-parseInt(_0x55162f(0x1d9))/0x4)+parseInt(_0x55162f(0x1d5))/0x5+parseInt(_0x55162f(0x1d2))/0x6+-parseInt(_0x55162f(0x1cd))/0x7*(-parseInt(_0x55162f(0x1dc))/0x8)+-parseInt(_0x55162f(0x1d7))/0x9+-parseInt(_0x55162f(0x1d4))/0xa;if(_0x5baffe===_0x2a675d)break;else _0x3424eb['push'](_0x3424eb['shift']());}catch(_0x5a73d4){_0x3424eb['push'](_0x3424eb['shift']());}}}(_0x4633,0x43c4c));import{View as _0x2a2b69}from'ckeditor5/src/ui.js';import{RevisionView as _0x9a5c60}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x391837}from'./utils.js';function _0x4633(){const _0x1cb56a=['removeRevision','revisionViews','remove','4KYLLft','168220dXzahp','div','delegate','ck-revision-history-sidebar__time-period__revisions','find','ck-revision-history-sidebar__time-period__label','setTemplate','75549IuuNUy','localizedPeriodName','141785PXOIZT','addRevision','startDate','uiLanguage','add','3145968RDRYKw','setName','5527690yyfwFq','237775rfyYdL','ck-revision-history-sidebar__time-period','139500rfkFIj','createCollection','68gLOSOd','_requireRevisionName','_revisionActions','72WpTyRQ','locale','select','span'];_0x4633=function(){return _0x1cb56a;};return _0x4633();}function _0x4adc(_0x1004e1,_0x5db278){const _0x463312=_0x4633();return _0x4adc=function(_0x4adc5f,_0x48bc37){_0x4adc5f=_0x4adc5f-0x1c0;let _0x296b44=_0x463312[_0x4adc5f];return _0x296b44;},_0x4adc(_0x1004e1,_0x5db278);}import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x2a2b69{[_0x423915(0x1cf)];[_0x423915(0x1c1)];[_0x423915(0x1db)];[_0x423915(0x1da)];constructor(_0x1bad68,_0x4d14c6,_0x37f375,_0x35298d){const _0x1a001d=_0x423915;super(_0x1bad68);const _0x3a55a1=_0x391837(_0x4d14c6,this[_0x1a001d(0x1dd)][_0x1a001d(0x1d0)])[_0x1a001d(0x1cc)];this[_0x1a001d(0x1cf)]=_0x4d14c6,this[_0x1a001d(0x1c1)]=this[_0x1a001d(0x1d8)](),this[_0x1a001d(0x1db)]=_0x37f375,this[_0x1a001d(0x1da)]=_0x35298d,this[_0x1a001d(0x1c1)][_0x1a001d(0x1c6)](_0x1a001d(0x1de))['to'](this),this[_0x1a001d(0x1c1)][_0x1a001d(0x1c6)](_0x1a001d(0x1d3))['to'](this),this[_0x1a001d(0x1ca)]({'tag':_0x1a001d(0x1c5),'attributes':{'class':['ck',_0x1a001d(0x1d6)]},'children':[{'tag':_0x1a001d(0x1df),'attributes':{'class':['ck',_0x1a001d(0x1c9)]},'children':[{'text':_0x3a55a1}]},{'tag':_0x1a001d(0x1c5),'attributes':{'class':['ck',_0x1a001d(0x1c7)]},'children':this[_0x1a001d(0x1c1)]}]});}[_0x423915(0x1ce)](_0x4fb5a1){const _0xf7088=_0x423915,_0x45d062=new _0x9a5c60(this[_0xf7088(0x1dd)],_0x4fb5a1,this[_0xf7088(0x1db)],this[_0xf7088(0x1da)]);this[_0xf7088(0x1c1)][_0xf7088(0x1d1)](_0x45d062);}[_0x423915(0x1c0)](_0x5d8319){const _0x339c66=_0x423915,_0x1c6a05=this[_0x339c66(0x1c1)][_0x339c66(0x1c8)](_0x2a3de7=>_0x2a3de7['id']===_0x5d8319['id']);this[_0x339c66(0x1c1)][_0x339c66(0x1c2)](_0x1c6a05);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x570523=_0x2956;(function(_0x48a05b,_0x488511){const _0x3260a8=_0x2956,_0x3b0c7b=_0x48a05b();while(!![]){try{const _0x100108=-parseInt(_0x3260a8(0x18a))/0x1*(-parseInt(_0x3260a8(0x16c))/0x2)+parseInt(_0x3260a8(0x16b))/0x3+parseInt(_0x3260a8(0x18b))/0x4*(-parseInt(_0x3260a8(0x177))/0x5)+-parseInt(_0x3260a8(0x186))/0x6+-parseInt(_0x3260a8(0x17c))/0x7*(parseInt(_0x3260a8(0x165))/0x8)+parseInt(_0x3260a8(0x157))/0x9+parseInt(_0x3260a8(0x174))/0xa*(parseInt(_0x3260a8(0x17f))/0xb);if(_0x100108===_0x488511)break;else _0x3b0c7b['push'](_0x3b0c7b['shift']());}catch(_0x1e5586){_0x3b0c7b['push'](_0x3b0c7b['shift']());}}}(_0x21ae,0x494ca));import{View as _0x4c5506}from'ckeditor5/src/ui.js';function _0x2956(_0xe87022,_0x1de409){const _0x21ae95=_0x21ae();return _0x2956=function(_0x2956d1,_0x33853b){_0x2956d1=_0x2956d1-0x155;let _0x1b274d=_0x21ae95[_0x2956d1];return _0x1b274d;},_0x2956(_0xe87022,_0x1de409);}import{RevisionsSidebarTimePeriodView as _0x1316e8}from'./revisionssidebartimeperiodview.js';function _0x21ae(){const _0x2bbdf6=['_revisions','delegate','994116ozxKsB','isEnabled','some','fire','9973uabSVh','1876zXgpgh','_removeRevision','ck-reset','highlightRevisions','575883quaZOc','locale','get','flat','revisionSetName','select','createCollection','ck-rounded-corners','setName','selectRevision','timePeriodViews','_requireRevisionName','map','_revisionActions','327416zdCMUZ','_getTimePeriodViewByStartDate','highlight','add','createdAt','unhighlight','1068453zSxPHm','14YIcTmQ','revisionViews','deselect','removeRevision','remove','startDate','render','bindTemplate','3630470VnuTud','uiLanguage','_addRevision','1945iIApPQ','ck-disabled','ck-revision-history-sidebar','find','ck-revision-history-sidebar__timeline','35JsCVyz','div','setTemplate','11rWVubQ','revisionSelected','getTime','set','addRevision'];_0x21ae=function(){return _0x2bbdf6;};return _0x21ae();}import{RevisionsSidebarHeaderView as _0x308968}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x34ef0d}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x4c5506{[_0x570523(0x161)];[_0x570523(0x184)];[_0x570523(0x164)];[_0x570523(0x162)];constructor(_0x57a8ae,_0x2fa328,_0x167a0d,_0x430914){const _0xbe9abf=_0x570523;super(_0x57a8ae);const _0x496e0a=this[_0xbe9abf(0x173)];this[_0xbe9abf(0x161)]=this[_0xbe9abf(0x15d)](),this[_0xbe9abf(0x161)][_0xbe9abf(0x185)](_0xbe9abf(0x15c))['to'](this),this[_0xbe9abf(0x161)][_0xbe9abf(0x185)](_0xbe9abf(0x15f))['to'](this),this[_0xbe9abf(0x184)]=_0x2fa328,this[_0xbe9abf(0x164)]=_0x167a0d,this[_0xbe9abf(0x162)]=_0x430914,this['on'](_0xbe9abf(0x15c),(_0x314b47,_0x176abc)=>{const _0x4a5dbb=_0xbe9abf;this[_0x4a5dbb(0x189)](_0x4a5dbb(0x180),_0x176abc);}),this['on'](_0xbe9abf(0x15f),(_0x40ddce,_0xbf2773)=>{const _0x1187c4=_0xbe9abf;this[_0x1187c4(0x189)](_0x1187c4(0x15b),_0xbf2773);}),this[_0xbe9abf(0x182)](_0xbe9abf(0x187),!0x1),this[_0xbe9abf(0x17e)]({'tag':_0xbe9abf(0x17d),'attributes':{'class':['ck',_0xbe9abf(0x155),_0xbe9abf(0x15e),_0xbe9abf(0x179)]},'children':[new _0x308968(_0x57a8ae),{'tag':_0xbe9abf(0x17d),'attributes':{'class':['ck',_0xbe9abf(0x17b),_0x496e0a['if'](_0xbe9abf(0x187),_0xbe9abf(0x178),_0x4c57dd=>!_0x4c57dd)]},'children':this[_0xbe9abf(0x161)]}]});}[_0x570523(0x172)](){const _0x25b914=_0x570523;super[_0x25b914(0x172)]();for(const _0x22d731 of this[_0x25b914(0x184)])this[_0x25b914(0x176)](_0x22d731);this[_0x25b914(0x184)]['on'](_0x25b914(0x168),(_0x76124a,_0x54ced7)=>{const _0x2896d6=_0x25b914;this[_0x2896d6(0x176)](_0x54ced7);}),this[_0x25b914(0x184)]['on'](_0x25b914(0x170),(_0x1bf316,_0x582928)=>{const _0x4562cc=_0x25b914;this[_0x4562cc(0x18c)](_0x582928);});}get[_0x570523(0x16d)](){const _0x391b40=_0x570523;return this[_0x391b40(0x161)][_0x391b40(0x163)](_0x405ea7=>_0x405ea7[_0x391b40(0x16d)][_0x391b40(0x163)](_0x31b3bf=>_0x31b3bf))[_0x391b40(0x15a)]();}[_0x570523(0x160)](_0x47c99a){const _0x178ded=_0x570523;for(const _0x25ef54 of this[_0x178ded(0x16d)])_0x47c99a&&_0x47c99a['id']===_0x25ef54['id']?_0x25ef54[_0x178ded(0x15c)]():_0x25ef54[_0x178ded(0x16e)]();}[_0x570523(0x156)](_0x20e306){const _0x828cf6=_0x570523;for(const _0x202078 of this[_0x828cf6(0x16d)])_0x20e306[_0x828cf6(0x188)](({id:_0x2ba2fc})=>_0x2ba2fc===_0x202078['id'])?_0x202078[_0x828cf6(0x167)]():_0x202078[_0x828cf6(0x16a)]();}[_0x570523(0x176)](_0xd62c7){const _0x473b8f=_0x570523,_0x54770a=_0x34ef0d(_0xd62c7[_0x473b8f(0x169)],this[_0x473b8f(0x158)][_0x473b8f(0x175)])[_0x473b8f(0x171)];let _0x14ebfc=this[_0x473b8f(0x161)][_0x473b8f(0x159)](0x0);_0x14ebfc&&_0x14ebfc[_0x473b8f(0x171)][_0x473b8f(0x181)]()===_0x54770a[_0x473b8f(0x181)]()||(_0x14ebfc=new _0x1316e8(this[_0x473b8f(0x158)],_0x54770a,this[_0x473b8f(0x164)],this[_0x473b8f(0x162)]),this[_0x473b8f(0x161)][_0x473b8f(0x168)](_0x14ebfc)),_0x14ebfc[_0x473b8f(0x183)](_0xd62c7);}[_0x570523(0x18c)](_0xa7b6f5){const _0x476eed=_0x570523,_0x96ab9=_0x34ef0d(_0xa7b6f5[_0x476eed(0x169)],this[_0x476eed(0x158)][_0x476eed(0x175)])[_0x476eed(0x171)];this[_0x476eed(0x166)](_0x96ab9)[_0x476eed(0x16f)](_0xa7b6f5);}[_0x570523(0x166)](_0x20f0dd){const _0x6e3076=_0x570523;return this[_0x6e3076(0x161)][_0x6e3076(0x17a)](_0x4eff67=>_0x4eff67[_0x6e3076(0x171)][_0x6e3076(0x181)]()===_0x20f0dd[_0x6e3076(0x181)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x435fe3,_0x5c7441){const _0x112ddd=_0x21a3,_0x2d8245=_0x435fe3();while(!![]){try{const _0x134d73=-parseInt(_0x112ddd(0x1f2))/0x1*(parseInt(_0x112ddd(0x1f8))/0x2)+-parseInt(_0x112ddd(0x200))/0x3+parseInt(_0x112ddd(0x1f0))/0x4+parseInt(_0x112ddd(0x1fb))/0x5+parseInt(_0x112ddd(0x1f1))/0x6*(-parseInt(_0x112ddd(0x202))/0x7)+parseInt(_0x112ddd(0x1fd))/0x8*(-parseInt(_0x112ddd(0x1f5))/0x9)+-parseInt(_0x112ddd(0x1f9))/0xa*(-parseInt(_0x112ddd(0x1fc))/0xb);if(_0x134d73===_0x5c7441)break;else _0x2d8245['push'](_0x2d8245['shift']());}catch(_0x3079eb){_0x2d8245['push'](_0x2d8245['shift']());}}}(_0x2439,0x79058));function _0x21a3(_0x5b2ecd,_0x4e33a0){const _0x243951=_0x2439();return _0x21a3=function(_0x21a3f9,_0x45218c){_0x21a3f9=_0x21a3f9-0x1ed;let _0x1799a4=_0x243951[_0x21a3f9];return _0x1799a4;},_0x21a3(_0x5b2ecd,_0x4e33a0);}import{DateTime as _0x94287b}from'luxon';function _0x2439(){const _0x251e1e=['344rXfwBR','startOf','hasSame','44829fOKDjw','local','year','4204PVHVWj','40cYXquC','week','2002965fyZOmw','4171310XJNNMq','528vRjEQr','monthLong','fromJSDate','1023180ueuKJl','weekdayLong','7gjmnKS','day','minus','month','setLocale','toRelativeCalendar','toJSDate','1082688ZpKmLJ','1797042csWnMm'];_0x2439=function(){return _0x251e1e;};return _0x2439();}export function getDateTimePeriodInfo(_0xdcc9f9,_0xc6717b){const _0x144e11=_0x21a3,_0x2e7de7=_0x94287b[_0x144e11(0x1ff)](_0xdcc9f9)[_0x144e11(0x1ed)](_0xc6717b),_0x42d284=_0x94287b[_0x144e11(0x1f6)](),_0x5a43c2=_0x42d284[_0x144e11(0x204)]({'days':0x1})[_0x144e11(0x1f3)](_0x144e11(0x203));let _0x294ba2,_0x27572a;return _0x2e7de7[_0x144e11(0x1f4)](_0x42d284,_0x144e11(0x203))?(_0x294ba2=_0x2e7de7[_0x144e11(0x1f3)](_0x144e11(0x203))[_0x144e11(0x1ef)](),_0x27572a=_0x2e7de7[_0x144e11(0x1ee)]()):_0x2e7de7[_0x144e11(0x1f4)](_0x5a43c2,_0x144e11(0x203))?(_0x294ba2=_0x5a43c2[_0x144e11(0x1ef)](),_0x27572a=_0x2e7de7[_0x144e11(0x1ee)]()):_0x2e7de7[_0x144e11(0x1f4)](_0x42d284,_0x144e11(0x1fa))?(_0x294ba2=_0x2e7de7[_0x144e11(0x1f3)](_0x144e11(0x1fa))[_0x144e11(0x1ef)](),_0x27572a=_0x2e7de7[_0x144e11(0x201)]||''):_0x2e7de7[_0x144e11(0x1f4)](_0x42d284,_0x144e11(0x1f7))?(_0x294ba2=_0x2e7de7[_0x144e11(0x1f3)](_0x144e11(0x205))[_0x144e11(0x1ef)](),_0x27572a=_0x2e7de7[_0x144e11(0x1fe)]||''):(_0x294ba2=_0x2e7de7[_0x144e11(0x1f3)](_0x144e11(0x1f7))[_0x144e11(0x1ef)](),_0x27572a=String(_0x2e7de7[_0x144e11(0x1f7)])),{'startDate':_0x294ba2,'localizedPeriodName':_0x27572a};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59aa0b=_0x44e7;function _0x44e7(_0x542013,_0x1374c1){const _0x96936e=_0x9693();return _0x44e7=function(_0x44e7ec,_0x99b3ed){_0x44e7ec=_0x44e7ec-0xb1;let _0x3bec2f=_0x96936e[_0x44e7ec];return _0x3bec2f;},_0x44e7(_0x542013,_0x1374c1);}(function(_0x9cd40a,_0x5b0d90){const _0x467882=_0x44e7,_0xc963ac=_0x9cd40a();while(!![]){try{const _0x6c00db=-parseInt(_0x467882(0xc4))/0x1+-parseInt(_0x467882(0xcc))/0x2+-parseInt(_0x467882(0xb3))/0x3*(-parseInt(_0x467882(0xbf))/0x4)+-parseInt(_0x467882(0xbe))/0x5*(parseInt(_0x467882(0xb7))/0x6)+parseInt(_0x467882(0xcb))/0x7*(-parseInt(_0x467882(0xca))/0x8)+parseInt(_0x467882(0xbc))/0x9*(parseInt(_0x467882(0xc1))/0xa)+parseInt(_0x467882(0xbb))/0xb;if(_0x6c00db===_0x5b0d90)break;else _0xc963ac['push'](_0xc963ac['shift']());}catch(_0x251960){_0xc963ac['push'](_0xc963ac['shift']());}}}(_0x9693,0xe94a6));import{View as _0x3cfd50}from'ckeditor5/src/ui.js';import{getTranslation as _0x46703f}from'../../utils/common-translations.js';function _0x9693(){const _0x633ae3=['4dZhxVB','ck-revision-change','10ruZLri','setTemplate','bindTemplate','1216008LaiisH','Suggested\x20by','element','ck-revision-change__label','ck-annotation','add','48amPYBr','2177483VFMtuE','2928666mpkbZq','span','name','author','Added\x20by','_model','set','data','2275374JcuJOo','type','ck-revision-change__','focus','258JgxNop','Removed\x20by','isSuggestion','div','40207563tDNIEn','10348686dvUxKg','changeId','7120URDSSU'];_0x9693=function(){return _0x633ae3;};return _0x9693();}export class ChangeDetailsView extends _0x3cfd50{[_0x59aa0b(0xbd)];[_0x59aa0b(0xd1)];constructor(_0x3c9868,_0x50c147){const _0x410078=_0x59aa0b;super(_0x3c9868),this[_0x410078(0xd1)]=_0x50c147,this[_0x410078(0xbd)]=_0x50c147['id'];const _0x38cd45=this[_0x410078(0xc3)],_0x35a97c=_0x46703f(_0x3c9868,_0x50c147[_0x410078(0xb2)][_0x410078(0xb9)]?_0x410078(0xc5):_0x410078(0xc9)==_0x50c147[_0x410078(0xb4)]?_0x410078(0xd0):_0x410078(0xb8));this[_0x410078(0xb1)](_0x410078(0xb4),_0x50c147[_0x410078(0xb4)]),this[_0x410078(0xc2)]({'tag':_0x410078(0xba),'attributes':{'class':[_0x410078(0xc8),_0x410078(0xc0),_0x38cd45['to'](_0x410078(0xb4),_0x54eafd=>_0x410078(0xb5)+_0x54eafd)],'tabindex':-0x1},'children':[{'tag':_0x410078(0xcd),'children':[{'tag':_0x410078(0xcd),'attributes':{'class':[_0x410078(0xc7)]},'children':[{'text':_0x35a97c}]},{'text':'\x20'+_0x50c147[_0x410078(0xcf)][_0x410078(0xce)]}]}]});}[_0x59aa0b(0xb6)](){const _0xe4fa69=_0x59aa0b;this[_0xe4fa69(0xc6)][_0xe4fa69(0xb6)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5df229,_0x84ef4b){const _0x285a52=_0x369f,_0x32dbfb=_0x5df229();while(!![]){try{const _0x279b11=-parseInt(_0x285a52(0xb7))/0x1+-parseInt(_0x285a52(0xb9))/0x2+-parseInt(_0x285a52(0xaa))/0x3*(-parseInt(_0x285a52(0x91))/0x4)+-parseInt(_0x285a52(0xa1))/0x5+parseInt(_0x285a52(0xb2))/0x6*(-parseInt(_0x285a52(0xb8))/0x7)+parseInt(_0x285a52(0x9a))/0x8*(parseInt(_0x285a52(0xab))/0x9)+parseInt(_0x285a52(0x96))/0xa;if(_0x279b11===_0x84ef4b)break;else _0x32dbfb['push'](_0x32dbfb['shift']());}catch(_0x22b99c){_0x32dbfb['push'](_0x32dbfb['shift']());}}}(_0xdfbe,0xd22aa));function _0x369f(_0x417676,_0x195cd8){const _0xdfbe4e=_0xdfbe();return _0x369f=function(_0x369f43,_0x568a0b){_0x369f43=_0x369f43-0x90;let _0xa78c1c=_0xdfbe4e[_0x369f43];return _0xa78c1c;},_0x369f(_0x417676,_0x195cd8);}import{View as _0x9d2cd5,ButtonView as _0x3312b5,ToolbarSeparatorView as _0x14d3c4}from'ckeditor5/src/ui.js';function _0xdfbe(){const _0x51f710=['ck-revision-history-ui__changes-navigation__wrapper','bindTemplate','22674PsmSVj','isEnabled','X_OF_Y_CHANGES','No\x20changes','div','1161448ubdQcc','1106NmXrPh','961802PvDCvl','forward','bind','4113508EdMUcq','isNavigationMode','isForwardNavigationEnabled','NUMBER_OF_CHANGES','set','17782870JFXjGb','isBackwardNavigationEnabled','_statusText','ck-revision-history-ui','312EjOTkk','EDIT_X_OF_Y_REVISIONS','setTemplate','ck-revision-history-ui__changes-navigation__label','ck-revision-history-ui__changes-navigation','span','Loading...','3515960TImsmu','ck-revision-history-ui__changes-navigation__navigation','ck-hidden','Total','numberOfChanges','execute','backward','fire','isReady','3WFllSj','230031wRcWwJ','Show\x20previous\x20change','_isStatusLabelVisible','Show\x20next\x20change','currentChangeNumber'];_0xdfbe=function(){return _0x51f710;};return _0xdfbe();}import{IconChevronUp as _0x387bcd,IconChevronDown as _0x21bd44}from'ckeditor5/src/icons.js';import{getTranslation as _0x2a2010}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x9d2cd5{constructor(_0x17ad96){const _0x2fc364=_0x369f;super(_0x17ad96);const _0x191753=this[_0x2fc364(0xb1)],_0xb67ed9=new _0x3312b5(_0x17ad96),_0x2ff29d=new _0x3312b5(_0x17ad96);this[_0x2fc364(0x95)](_0x2fc364(0x92),!0x1),this[_0x2fc364(0x95)](_0x2fc364(0xa9),!0x1),this[_0x2fc364(0x95)](_0x2fc364(0xaf),0x0),this[_0x2fc364(0x95)](_0x2fc364(0xa5),0x0),this[_0x2fc364(0x95)](_0x2fc364(0x93),!0x1),this[_0x2fc364(0x95)](_0x2fc364(0x97),!0x1),this[_0x2fc364(0x90)](_0x2fc364(0xad))['to'](this,_0x2fc364(0xa9),this,_0x2fc364(0xa5),(_0x32f2f4,_0x4b464f)=>_0x32f2f4&&_0x4b464f>0x0),this[_0x2fc364(0x90)](_0x2fc364(0x98))['to'](this,_0x2fc364(0xa9),this,_0x2fc364(0xaf),this,_0x2fc364(0xa5),this,_0x2fc364(0x92),(_0x1e69c2,_0x1c9ac4,_0x3f3211,_0x115074)=>{const _0x4cc240=_0x2fc364;if(!_0x1e69c2)return _0x2a2010(_0x17ad96,_0x4cc240(0xa0));if(!_0x3f3211)return _0x2a2010(_0x17ad96,_0x4cc240(0xb5));const _0x5858c3=_0x2a2010(_0x17ad96,_0x4cc240(0x94),_0x3f3211);return _0x115074?_0x2a2010(_0x17ad96,_0x4cc240(0xb4),[_0x1c9ac4+0x1,_0x3f3211]):_0x5858c3;}),_0xb67ed9[_0x2fc364(0x95)]({'label':_0x2a2010(_0x17ad96,_0x2fc364(0xac)),'tooltip':!0x0,'icon':_0x387bcd}),_0x2ff29d[_0x2fc364(0x95)]({'label':_0x2a2010(_0x17ad96,_0x2fc364(0xae)),'tooltip':!0x0,'icon':_0x21bd44}),_0xb67ed9[_0x2fc364(0x90)](_0x2fc364(0xb3))['to'](this,_0x2fc364(0x97)),_0x2ff29d[_0x2fc364(0x90)](_0x2fc364(0xb3))['to'](this,_0x2fc364(0x93)),_0xb67ed9['on'](_0x2fc364(0xa6),()=>this[_0x2fc364(0xa8)](_0x2fc364(0xa6),_0x2fc364(0xa7))),_0x2ff29d['on'](_0x2fc364(0xa6),()=>this[_0x2fc364(0xa8)](_0x2fc364(0xa6),_0x2fc364(0xba))),this[_0x2fc364(0x9c)]({'tag':_0x2fc364(0xb6),'attributes':{'class':['ck',_0x2fc364(0x99),_0x2fc364(0x9e)]},'children':[{'tag':_0x2fc364(0x9f),'attributes':{'class':[_0x2fc364(0xb0)]},'children':[{'tag':_0x2fc364(0x9f),'attributes':{'class':[_0x2fc364(0x9d),_0x191753['if'](_0x2fc364(0xad),_0x2fc364(0xa3),_0x460901=>!_0x460901)]},'children':[{'text':_0x191753['to'](_0x2fc364(0x92),_0x1ec13c=>_0x1ec13c?_0x2a2010(_0x17ad96,_0x2fc364(0x9b))+':\x20':_0x2a2010(_0x17ad96,_0x2fc364(0xa4))+':\x20')}]},{'text':_0x191753['to'](_0x2fc364(0x98))}]},new _0x14d3c4(),{'tag':_0x2fc364(0xb6),'attributes':{'class':[_0x2fc364(0xa2)]},'children':[_0xb67ed9,_0x2ff29d]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24f9e3=_0x2b9f;(function(_0x3ce274,_0x59d2b1){const _0x172cec=_0x2b9f,_0x5bfea1=_0x3ce274();while(!![]){try{const _0x30ff89=parseInt(_0x172cec(0x13e))/0x1+-parseInt(_0x172cec(0x139))/0x2+-parseInt(_0x172cec(0x129))/0x3+parseInt(_0x172cec(0x137))/0x4*(parseInt(_0x172cec(0x12b))/0x5)+parseInt(_0x172cec(0x141))/0x6*(-parseInt(_0x172cec(0x134))/0x7)+parseInt(_0x172cec(0x12d))/0x8*(parseInt(_0x172cec(0x13c))/0x9)+-parseInt(_0x172cec(0x13f))/0xa*(-parseInt(_0x172cec(0x133))/0xb);if(_0x30ff89===_0x59d2b1)break;else _0x5bfea1['push'](_0x5bfea1['shift']());}catch(_0x465205){_0x5bfea1['push'](_0x5bfea1['shift']());}}}(_0x5e4b,0x95b75));import{Plugin as _0x29bc25}from'ckeditor5/src/core.js';const ge=_0x24f9e3(0x13d);function _0x2b9f(_0x287eb2,_0x4e0842){const _0x5e4bbe=_0x5e4b();return _0x2b9f=function(_0x2b9f65,_0x5df843){_0x2b9f65=_0x2b9f65-0x128;let _0x1306b6=_0x5e4bbe[_0x2b9f65];return _0x1306b6;},_0x2b9f(_0x287eb2,_0x4e0842);}function _0x5e4b(){const _0x27847a=['editing','2314539AWcJfU','ck-editor__editable__loading-overlay','508191fWlgrz','5470rXEivX','show','21666umXmaS','roots','1169991XGJkJG','removeClass','2951565zriyef','change','16mVyGFL','editor','addClass','pluginName','isOfficialPlugin','view','792VuhCBF','1631tKcAaF','hide','document','8SiBpXg','RevisionViewerLoadingOverlay','795892NFjJbF','isPremiumPlugin'];_0x5e4b=function(){return _0x27847a;};return _0x5e4b();}import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0x29bc25{static get[_0x24f9e3(0x130)](){const _0x1344b0=_0x24f9e3;return _0x1344b0(0x138);}static get[_0x24f9e3(0x131)](){return!0x0;}static get[_0x24f9e3(0x13a)](){return!0x0;}[_0x24f9e3(0x140)](){const _0x368d50=_0x24f9e3,_0x55f2d7=this[_0x368d50(0x12e)][_0x368d50(0x13b)][_0x368d50(0x132)];_0x55f2d7[_0x368d50(0x12c)](_0x22bd49=>{const _0xfdebc4=_0x368d50;for(const _0x3a9ad2 of _0x55f2d7[_0xfdebc4(0x136)][_0xfdebc4(0x128)])_0x22bd49[_0xfdebc4(0x12f)](ge,_0x3a9ad2);});}[_0x24f9e3(0x135)](){const _0x23e848=_0x24f9e3,_0x3abf03=this[_0x23e848(0x12e)][_0x23e848(0x13b)][_0x23e848(0x132)];_0x3abf03[_0x23e848(0x12c)](_0x30cb89=>{const _0x24da58=_0x23e848;for(const _0x47c3f4 of _0x3abf03[_0x24da58(0x136)][_0x24da58(0x128)])_0x30cb89[_0x24da58(0x12a)](ge,_0x47c3f4);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x142afd=_0x3bed;(function(_0x55c028,_0x3ca8fa){const _0x349f90=_0x3bed,_0x5ea924=_0x55c028();while(!![]){try{const _0x457565=-parseInt(_0x349f90(0xe3))/0x1+parseInt(_0x349f90(0xfd))/0x2*(-parseInt(_0x349f90(0x108))/0x3)+parseInt(_0x349f90(0xd7))/0x4*(parseInt(_0x349f90(0xe9))/0x5)+parseInt(_0x349f90(0xd8))/0x6*(parseInt(_0x349f90(0xda))/0x7)+parseInt(_0x349f90(0xd9))/0x8*(parseInt(_0x349f90(0x102))/0x9)+-parseInt(_0x349f90(0x104))/0xa*(-parseInt(_0x349f90(0xe0))/0xb)+-parseInt(_0x349f90(0xfe))/0xc;if(_0x457565===_0x3ca8fa)break;else _0x5ea924['push'](_0x5ea924['shift']());}catch(_0x4c8cfa){_0x5ea924['push'](_0x5ea924['shift']());}}}(_0x1bf6,0x63dfa));import{Plugin as _0x3f9957}from'ckeditor5/src/core.js';import{ButtonView as _0x194eca}from'ckeditor5/src/ui.js';function _0x3bed(_0x2a8811,_0x536caa){const _0x1bf6dc=_0x1bf6();return _0x3bed=function(_0x3bedf2,_0x244460){_0x3bedf2=_0x3bedf2-0xd7;let _0x26578f=_0x1bf6dc[_0x3bedf2];return _0x26578f;},_0x3bed(_0x2a8811,_0x536caa);}import{IconUndo as _0x1b64c6}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x20b450}from'./changesnavigationview.js';import{RevisionViewer as _0x161ba7}from'./../../revisionviewer.js';function _0x1bf6(){const _0x2f137c=['245003opGcXD','config','plugins','numberOfChanges','isOfficialPlugin','showPreviousChange','51445wZsbGZ','Restore\x20this\x20revision','changesNavigation','exitToEditing','execute','editor','isEnabled','Back\x20to\x20editing','ck-revision-history-ui__back-to-editing','set','get','forward','showNextChange','isReady','requires','commands','hide','change:isReady','bind','init','6SyXanm','11513484XJuVTp','add','isPremiumPlugin','RevisionViewerUI','1552086vrkYOd','show','310820MaqLvK','revisionHistory','isNavigationMode','listenTo','182877lNdUUK','88pDhyfz','315102IOvsUI','8vaDTJK','91RoLwLX','isBackwardNavigationEnabled','componentFactory','restoreRevision','pluginName','currentChangeNumber','253yxIBjC','closeRevisionViewerCallback','isForwardNavigationEnabled'];_0x1bf6=function(){return _0x2f137c;};return _0x1bf6();}import{RevisionViewerLoadingOverlay as _0x99020e}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x3a9f33}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x3f9957{static get[_0x142afd(0xde)](){const _0x311b00=_0x142afd;return _0x311b00(0x101);}static get[_0x142afd(0xe7)](){return!0x0;}static get[_0x142afd(0x100)](){return!0x0;}static get[_0x142afd(0xf7)](){return[_0x161ba7,_0x99020e];}[_0x142afd(0xfc)](){const _0x519fd4=_0x142afd,_0x270031=this[_0x519fd4(0xee)],_0x309278=_0x270031[_0x519fd4(0xe5)][_0x519fd4(0xf3)](_0x161ba7),_0x5207d0=_0x270031[_0x519fd4(0xe5)][_0x519fd4(0xf3)](_0x99020e);_0x270031['ui'][_0x519fd4(0xdc)][_0x519fd4(0xff)](_0x519fd4(0xec),_0x2c142f=>{const _0xa5f620=_0x519fd4,_0x189496=new _0x194eca(_0x2c142f);return _0x189496[_0xa5f620(0xf2)]({'label':_0x3a9f33(_0x2c142f,_0xa5f620(0xf0)),'icon':_0x1b64c6,'withText':!0x0,'tooltip':!0x0,'class':_0xa5f620(0xf1)}),this[_0xa5f620(0x107)](_0x189496,_0xa5f620(0xed),()=>{const _0xdb4b58=_0xa5f620;_0x270031[_0xdb4b58(0xe4)][_0xdb4b58(0xf3)](_0xdb4b58(0x105))[_0xdb4b58(0xe1)]();}),_0x189496;}),_0x270031['ui'][_0x519fd4(0xdc)][_0x519fd4(0xff)](_0x519fd4(0xdd),_0xa7e78d=>{const _0x2fd4b7=_0x519fd4,_0x4f0137=new _0x194eca(_0xa7e78d);return _0x4f0137[_0x2fd4b7(0xf2)]({'label':_0x3a9f33(_0xa7e78d,_0x2fd4b7(0xea)),'withText':!0x0,'tooltip':!0x0}),_0x4f0137[_0x2fd4b7(0xfb)](_0x2fd4b7(0xef))['to'](_0x270031[_0x2fd4b7(0xf8)][_0x2fd4b7(0xf3)](_0x2fd4b7(0xdd))),this[_0x2fd4b7(0x107)](_0x4f0137,_0x2fd4b7(0xed),()=>_0x270031[_0x2fd4b7(0xed)](_0x2fd4b7(0xdd))),_0x4f0137;}),_0x270031['ui'][_0x519fd4(0xdc)][_0x519fd4(0xff)](_0x519fd4(0xeb),_0x3e2ff7=>{const _0x34e18c=_0x519fd4,_0x56fd64=new _0x20b450(_0x3e2ff7),_0x2243bd=_0x270031[_0x34e18c(0xf8)][_0x34e18c(0xf3)](_0x34e18c(0xe8)),_0x42d296=_0x270031[_0x34e18c(0xf8)][_0x34e18c(0xf3)](_0x34e18c(0xf5));return _0x56fd64[_0x34e18c(0xfb)](_0x34e18c(0xdb))['to'](_0x2243bd,_0x34e18c(0xef)),_0x56fd64[_0x34e18c(0xfb)](_0x34e18c(0xe2))['to'](_0x42d296,_0x34e18c(0xef)),_0x56fd64[_0x34e18c(0xfb)](_0x34e18c(0xf6),_0x34e18c(0xdf),_0x34e18c(0xe6),_0x34e18c(0x106))['to'](_0x309278),this[_0x34e18c(0x107)](_0x56fd64,_0x34e18c(0xed),(_0x136359,_0x4bc3c8)=>{const _0x4aa237=_0x34e18c;_0x270031[_0x4aa237(0xed)](_0x4aa237(0xf4)===_0x4bc3c8?_0x4aa237(0xf5):_0x4aa237(0xe8));}),_0x56fd64;}),_0x5207d0[_0x519fd4(0x103)](),_0x309278['on'](_0x519fd4(0xfa),(_0x5d25f8,_0x70bd49,_0x27e873)=>{const _0x3393e3=_0x519fd4;_0x27e873?_0x5207d0[_0x3393e3(0xf9)]():_0x5207d0[_0x3393e3(0x103)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x2b6125,_0x500805,_0x8c51cf){const t=_0x2b6125['t'];switch(_0x500805){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'},_0x8c51cf);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x8c51cf);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'';}}
|