@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250127.0 → 0.0.0-nightly-20250130.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index-editor.css +3 -1
- package/dist/index.css +24 -1
- package/dist/index.js +6 -6
- 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/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 +10 -10
- 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/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 +1 -1
- 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
- package/theme/revisionssidebar/revisionssidebarheader.css +24 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x7054(_0x21157e,_0x17514f){const _0x29b9b4=_0x29b9();return _0x7054=function(_0x7054a4,_0x24ba8b){_0x7054a4=_0x7054a4-0x146;let _0x26a37e=_0x29b9b4[_0x7054a4];return _0x26a37e;},_0x7054(_0x21157e,_0x17514f);}const _0x36e496=_0x7054;(function(_0x267107,_0x5233d0){const _0x459d87=_0x7054,_0x37c10e=_0x267107();while(!![]){try{const _0x10ef8a=parseInt(_0x459d87(0x148))/0x1+-parseInt(_0x459d87(0x16b))/0x2*(parseInt(_0x459d87(0x153))/0x3)+-parseInt(_0x459d87(0x155))/0x4*(-parseInt(_0x459d87(0x16e))/0x5)+parseInt(_0x459d87(0x162))/0x6*(-parseInt(_0x459d87(0x157))/0x7)+parseInt(_0x459d87(0x170))/0x8*(-parseInt(_0x459d87(0x151))/0x9)+parseInt(_0x459d87(0x147))/0xa+parseInt(_0x459d87(0x163))/0xb*(parseInt(_0x459d87(0x159))/0xc);if(_0x10ef8a===_0x5233d0)break;else _0x37c10e['push'](_0x37c10e['shift']());}catch(_0x1427a0){_0x37c10e['push'](_0x37c10e['shift']());}}}(_0x29b9,0x8700d));function _0x29b9(){const _0x18a4e5=['optional','ck-responsive-form','ck-revision-history-save-revision-form','locale','450FZfWSH','form','6861RaUqXs','revisionName','76mGaQRK','revisionNameInputView','245945fVHKyV','arrowup','36pamxpo','extendTemplate','focusTracker','render','element','Name\x20of\x20the\x20revision','input','keystrokes','trim','54ZetUlN','3631463dugUki','add','_createRevisionNameInput','reset','220','errorText','label','arrowdown','758fEkvbl','focus','arrowleft','113370nMGcVx','setTemplate','171896WimOrS','arrowright','value','set','10677420xSlqFO','321364KzhBSs','stopPropagation','fieldView','listenTo','revisionNameInputValue'];_0x29b9=function(){return _0x18a4e5;};return _0x29b9();}import{LabeledFieldView as _0x49b442,View as _0x3fc6ec,createLabeledInputText as _0x4aab1f,injectCssTransitionDisabler as _0x5e1aa6,submitHandler as _0xeb2d33}from'ckeditor5/src/ui.js';import{FocusTracker as _0x33e842,KeystrokeHandler as _0x4765ee}from'ckeditor5/src/utils.js';import{getTranslation as _0x24eeda}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class hs extends _0x3fc6ec{constructor(_0x56a214,_0xde196d){const _0x387894=_0x7054;super(_0x56a214),this[_0x387894(0x15b)]=new _0x33e842(),this[_0x387894(0x160)]=new _0x4765ee(),this[_0x387894(0x146)](_0x387894(0x14c),''),this[_0x387894(0x156)]=this[_0x387894(0x165)](_0xde196d),this[_0x387894(0x16f)]({'tag':_0x387894(0x152),'attributes':{'class':['ck',_0x387894(0x14f),_0x387894(0x14e)],'tabindex':'-1'},'children':[this[_0x387894(0x156)]]}),_0x5e1aa6(this);}[_0x36e496(0x15c)](){const _0x4867d2=_0x36e496;super[_0x4867d2(0x15c)](),_0xeb2d33({'view':this}),this[_0x4867d2(0x15b)][_0x4867d2(0x164)](this[_0x4867d2(0x156)][_0x4867d2(0x15d)]),this[_0x4867d2(0x160)][_0x4867d2(0x14b)](this[_0x4867d2(0x15d)]);const _0x17516f=_0x25b7e0=>_0x25b7e0[_0x4867d2(0x149)]();this[_0x4867d2(0x160)][_0x4867d2(0x146)](_0x4867d2(0x171),_0x17516f),this[_0x4867d2(0x160)][_0x4867d2(0x146)](_0x4867d2(0x16d),_0x17516f),this[_0x4867d2(0x160)][_0x4867d2(0x146)](_0x4867d2(0x158),_0x17516f),this[_0x4867d2(0x160)][_0x4867d2(0x146)](_0x4867d2(0x16a),_0x17516f);}[_0x36e496(0x16c)](){const _0x1b53a6=_0x36e496;this[_0x1b53a6(0x156)][_0x1b53a6(0x16c)]();}get[_0x36e496(0x154)](){const _0x5517cc=_0x36e496;return this[_0x5517cc(0x156)][_0x5517cc(0x14a)][_0x5517cc(0x15d)][_0x5517cc(0x172)][_0x5517cc(0x161)]();}set[_0x36e496(0x154)](_0x5bd4a0){const _0xdc668f=_0x36e496;this[_0xdc668f(0x156)][_0xdc668f(0x14a)][_0xdc668f(0x15d)][_0xdc668f(0x172)]=_0x5bd4a0[_0xdc668f(0x161)]();}[_0x36e496(0x166)](){const _0x107918=_0x36e496;this[_0x107918(0x156)][_0x107918(0x14a)][_0x107918(0x15d)][_0x107918(0x172)]='',this[_0x107918(0x156)][_0x107918(0x168)]=null;}[_0x36e496(0x165)](_0x546a38){const _0xb2718=_0x36e496,_0x233777=new _0x49b442(this[_0xb2718(0x150)],_0x4aab1f),_0x129d91=_0x233777[_0xb2718(0x14a)];_0x129d91[_0xb2718(0x15a)]({'attributes':{'maxlength':_0xb2718(0x167)}});let _0x4e8fae=_0x24eeda(this[_0xb2718(0x150)],_0xb2718(0x15e));return!_0x546a38&&(_0x4e8fae+='\x20('+_0x24eeda(this[_0xb2718(0x150)],_0xb2718(0x14d))+')'),(_0x233777[_0xb2718(0x169)]=_0x4e8fae,_0x129d91['on'](_0xb2718(0x15f),()=>{const _0x39c861=_0xb2718;this[_0x39c861(0x14c)]=_0x129d91[_0x39c861(0x15d)][_0x39c861(0x172)][_0x39c861(0x161)]();}),_0x233777);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x249848=_0x536c;function _0x3dce(){const _0x2e6624=['delegate','render','menu','plugins','_createSaveRevisionFormView','RevisionHistoryUI','isReady','isReadOnly','showRevisionViewerCallback','221853rmlJuz','set','children','revisionName','reset','menuBar:revisionHistory','componentFactory','locale','hide','406232TyeqPb','submit','revisionNameInputView','panelView','revisionHistory','Open\x20revision\x20history','pluginName','_registerMenuComponent','requires','revisionHistory.requireRevisionName','view','editor','show','_showDialog','8oitjID','ck-button-action','Dialog','Cancel','isEnabled','The\x20revision\x20name\x20cannot\x20be\x20empty.','762682emMnWW','buttonView','menuitem','config','addMany','focus','isPremiumPlugin','items','add','RevisionTracker','revisionSave','isOfficialPlugin','7518330Agxwcr','879570dfjROl','history','87741FaWpkl','Accept','217VwoBxE','editing','init','92322YVuVvL','Save\x20current\x20revision','errorText','get','_saveRevisionFormView','execute','role','isOpen','Revision\x20history','saveRevision','bind'];_0x3dce=function(){return _0x2e6624;};return _0x3dce();}function _0x536c(_0x1a8b2f,_0x5e10d9){const _0x3dce09=_0x3dce();return _0x536c=function(_0x536ce6,_0x2e487a){_0x536ce6=_0x536ce6-0x118;let _0x12e280=_0x3dce09[_0x536ce6];return _0x12e280;},_0x536c(_0x1a8b2f,_0x5e10d9);}(function(_0x553272,_0x574361){const _0x1a6fb3=_0x536c,_0x1870df=_0x553272();while(!![]){try{const _0x283beb=-parseInt(_0x1a6fb3(0x12d))/0x1+parseInt(_0x1a6fb3(0x11e))/0x2+parseInt(_0x1a6fb3(0x146))/0x3*(-parseInt(_0x1a6fb3(0x118))/0x4)+-parseInt(_0x1a6fb3(0x12b))/0x5+-parseInt(_0x1a6fb3(0x132))/0x6*(parseInt(_0x1a6fb3(0x12f))/0x7)+-parseInt(_0x1a6fb3(0x14f))/0x8+parseInt(_0x1a6fb3(0x12a))/0x9;if(_0x283beb===_0x574361)break;else _0x1870df['push'](_0x1870df['shift']());}catch(_0x3a8d86){_0x1870df['push'](_0x1870df['shift']());}}}(_0x3dce,0x43b82));import{Plugin as _0x3e04a3,icons as _0x275009}from'ckeditor5/src/core.js';import{createDropdown as _0x52436e,ButtonView as _0x27a46f,ListItemView as _0x3d1e14,ListView as _0x1a277a,MenuBarMenuListItemButtonView as _0x11daf2,MenuBarMenuListItemView as _0x4a1646,MenuBarMenuListView as _0x210e71,MenuBarMenuView as _0x1ad617}from'ckeditor5/src/ui.js';import _0x259299 from'../../revisiontracker.js';import _0x2cf5da from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x5f404a}from'../../utils/common-translations.js';export default class u extends _0x3e04a3{static get[_0x249848(0x155)](){const _0x30be7d=_0x249848;return _0x30be7d(0x142);}static get[_0x249848(0x129)](){return!0x0;}static get[_0x249848(0x124)](){return!0x0;}static get[_0x249848(0x157)](){return[_0x259299];}[_0x249848(0x131)](){const _0xbfe344=_0x249848,_0x434a29=this[_0xbfe344(0x15a)],_0x54aa61=_0x434a29[_0xbfe344(0x140)][_0xbfe344(0x135)](_0xbfe344(0x127));_0x434a29['ui'][_0xbfe344(0x14c)][_0xbfe344(0x126)](_0xbfe344(0x153),_0x361e5e=>{const _0x419df9=_0xbfe344,_0x5bad38=_0x52436e(_0x361e5e),_0x5e6d29=_0x5bad38[_0x419df9(0x152)][_0x419df9(0x148)],_0x4c2c5a=new _0x1a277a(_0x361e5e),_0x12430a=new _0x3d1e14(_0x361e5e),_0x28d6c9=new _0x27a46f(_0x361e5e),_0x2a9414=new _0x3d1e14(_0x361e5e),_0x4628c8=new _0x27a46f(_0x361e5e);return _0x5bad38[_0x419df9(0x13c)](_0x419df9(0x11c))['to'](_0x54aa61,_0x419df9(0x143),_0x54aa61,_0x419df9(0x11c),_0x434a29,_0x419df9(0x144),(_0x6e7f47,_0x30ee7f,_0x3ee9d0)=>_0x6e7f47&&_0x30ee7f&&!_0x3ee9d0),_0x5bad38[_0x419df9(0x11f)][_0x419df9(0x147)]({'icon':_0x275009[_0x419df9(0x12c)],'label':_0x5f404a(_0x361e5e,_0x419df9(0x13a)),'tooltip':!0x0}),_0x28d6c9[_0x419df9(0x147)]({'label':_0x5f404a(_0x361e5e,_0x419df9(0x133)),'withText':!0x0,'role':_0x419df9(0x120)}),_0x28d6c9[_0x419df9(0x13c)](_0x419df9(0x11c))['to'](_0x54aa61,_0x419df9(0x143),_0x54aa61,_0x419df9(0x11c),_0x434a29,_0x419df9(0x144),(_0x4c2bc2,_0x54227c,_0x23c281)=>_0x4c2bc2&&_0x54227c&&!_0x23c281),_0x28d6c9['on'](_0x419df9(0x137),()=>this[_0x419df9(0x15c)]()),_0x4628c8[_0x419df9(0x147)]({'label':_0x5f404a(_0x361e5e,_0x419df9(0x154)),'withText':!0x0,'role':_0x419df9(0x120)}),_0x4628c8[_0x419df9(0x13c)](_0x419df9(0x11c))['to'](_0x54aa61,_0x419df9(0x143),_0x434a29,_0x419df9(0x144),(_0x251408,_0x25f8eb)=>_0x251408&&!_0x25f8eb),_0x4628c8['on'](_0x419df9(0x137),()=>{const _0x2fbf4b=_0x419df9;_0x434a29[_0x2fbf4b(0x121)][_0x2fbf4b(0x135)](_0x2fbf4b(0x153))[_0x2fbf4b(0x145)](),_0x5bad38[_0x2fbf4b(0x139)]=!0x1,_0x434a29[_0x2fbf4b(0x130)][_0x2fbf4b(0x159)][_0x2fbf4b(0x123)]();}),_0x12430a[_0x419df9(0x148)][_0x419df9(0x126)](_0x28d6c9),_0x2a9414[_0x419df9(0x148)][_0x419df9(0x126)](_0x4628c8),_0x4c2c5a[_0x419df9(0x138)]=_0x419df9(0x13f),_0x4c2c5a[_0x419df9(0x125)][_0x419df9(0x122)]([_0x12430a,_0x2a9414]),_0x5e6d29[_0x419df9(0x126)](_0x4c2c5a),_0x5bad38;}),_0x434a29['ui'][_0xbfe344(0x14c)][_0xbfe344(0x126)](_0xbfe344(0x14b),()=>this[_0xbfe344(0x156)]());}[_0x249848(0x156)](){const _0x262f53=_0x249848,_0x5ed342=this[_0x262f53(0x15a)],_0x1e3c5d=_0x5ed342[_0x262f53(0x14d)],_0x51fa89=new _0x1ad617(_0x1e3c5d),_0x11ec06=new _0x210e71(_0x1e3c5d);_0x51fa89[_0x262f53(0x11f)][_0x262f53(0x147)]({'icon':_0x275009[_0x262f53(0x12c)],'label':_0x5f404a(_0x1e3c5d,_0x262f53(0x13a))});const _0x32d835=new _0x4a1646(_0x1e3c5d,_0x51fa89),_0x319abc=new _0x11daf2(_0x1e3c5d);_0x319abc[_0x262f53(0x147)]({'label':_0x5f404a(_0x1e3c5d,_0x262f53(0x133))}),_0x319abc[_0x262f53(0x13d)](_0x262f53(0x137))['to'](_0x51fa89),_0x319abc['on'](_0x262f53(0x137),()=>{const _0xb006f4=_0x262f53;this[_0xb006f4(0x15c)]();}),_0x32d835[_0x262f53(0x148)][_0x262f53(0x126)](_0x319abc),_0x11ec06[_0x262f53(0x125)][_0x262f53(0x126)](_0x32d835);const _0x2f0748=new _0x4a1646(_0x1e3c5d,_0x51fa89),_0x49751c=new _0x11daf2(_0x1e3c5d);return _0x49751c[_0x262f53(0x147)]({'label':_0x5f404a(_0x1e3c5d,_0x262f53(0x154))}),_0x49751c[_0x262f53(0x13d)](_0x262f53(0x137))['to'](_0x51fa89),_0x49751c['on'](_0x262f53(0x137),()=>{const _0x32801c=_0x262f53;_0x5ed342[_0x32801c(0x121)][_0x32801c(0x135)](_0x32801c(0x153))[_0x32801c(0x145)]();}),_0x2f0748[_0x262f53(0x148)][_0x262f53(0x126)](_0x49751c),_0x11ec06[_0x262f53(0x125)][_0x262f53(0x126)](_0x2f0748),_0x51fa89[_0x262f53(0x152)][_0x262f53(0x148)][_0x262f53(0x126)](_0x11ec06),_0x51fa89;}[_0x249848(0x15c)](){const _0x53dc25=_0x249848,_0x29114c=this[_0x53dc25(0x15a)],_0xebfd54=_0x29114c[_0x53dc25(0x14d)],_0x19cdc9=_0x29114c[_0x53dc25(0x140)][_0x53dc25(0x135)](_0x53dc25(0x11a)),_0x3bbc6f=_0x29114c[_0x53dc25(0x140)][_0x53dc25(0x135)](_0x53dc25(0x127));function _0x133857(_0x24b220){const _0x460bd8=_0x53dc25;_0x29114c[_0x460bd8(0x121)][_0x460bd8(0x135)](_0x460bd8(0x158))&&''===_0x24b220[_0x460bd8(0x149)]?_0x24b220[_0x460bd8(0x151)][_0x460bd8(0x134)]=_0x5f404a(_0xebfd54,_0x460bd8(0x11d)):(_0x29114c[_0x460bd8(0x140)][_0x460bd8(0x135)](_0x259299)[_0x460bd8(0x13b)]({'name':_0x24b220[_0x460bd8(0x149)]}),_0x19cdc9[_0x460bd8(0x14e)]());}this[_0x53dc25(0x136)]||(this[_0x53dc25(0x141)](),this[_0x53dc25(0x136)]['on'](_0x53dc25(0x150),()=>_0x133857(this[_0x53dc25(0x136)]))),this[_0x53dc25(0x136)][_0x53dc25(0x14a)](),_0x19cdc9[_0x53dc25(0x15b)]({'id':_0x53dc25(0x128),'title':_0x5f404a(_0xebfd54,_0x53dc25(0x133)),'isModal':!0x0,'content':this[_0x53dc25(0x136)],'actionButtons':[{'label':_0x5f404a(_0x29114c[_0x53dc25(0x14d)],_0x53dc25(0x11b)),'withText':!0x0,'onExecute':()=>_0x19cdc9[_0x53dc25(0x14e)]()},{'label':_0x5f404a(_0x29114c[_0x53dc25(0x14d)],_0x53dc25(0x12e)),'class':_0x53dc25(0x119),'withText':!0x0,'onCreate'(_0x3b8c89){const _0x2b028b=_0x53dc25;_0x3b8c89[_0x2b028b(0x13c)](_0x2b028b(0x11c))['to'](_0x3bbc6f,_0x2b028b(0x143),_0x3bbc6f,_0x2b028b(0x11c),_0x29114c,_0x2b028b(0x144),(_0x5efc85,_0x4cb737,_0x32b5a3)=>_0x5efc85&&_0x4cb737&&!_0x32b5a3);},'onExecute':()=>_0x133857(this[_0x53dc25(0x136)])}]});}[_0x249848(0x141)](){const _0x19f454=_0x249848,_0x4098f6=this[_0x19f454(0x15a)],_0x5ec148=_0x4098f6[_0x19f454(0x14d)];this[_0x19f454(0x136)]=new _0x2cf5da(_0x5ec148,_0x4098f6[_0x19f454(0x121)][_0x19f454(0x135)](_0x19f454(0x158))),this[_0x19f454(0x136)][_0x19f454(0x13e)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x285454=_0xa46a;(function(_0x2c9925,_0x3d6309){const _0x1042c3=_0xa46a,_0x5c5df7=_0x2c9925();while(!![]){try{const _0x35a029=-parseInt(_0x1042c3(0x191))/0x1+-parseInt(_0x1042c3(0x1b6))/0x2+-parseInt(_0x1042c3(0x175))/0x3+-parseInt(_0x1042c3(0x16f))/0x4+parseInt(_0x1042c3(0x190))/0x5+parseInt(_0x1042c3(0x195))/0x6*(parseInt(_0x1042c3(0x19c))/0x7)+parseInt(_0x1042c3(0x177))/0x8;if(_0x35a029===_0x3d6309)break;else _0x5c5df7['push'](_0x5c5df7['shift']());}catch(_0x9dd993){_0x5c5df7['push'](_0x5c5df7['shift']());}}}(_0x22d1,0xd660e));function _0x22d1(){const _0x55b939=['assign','plugins','render','change:diff','length','5569655KhasEN','589700NIllbU','getEarlierVisibleRevision','appendChild','name','6ETljFl','_revisions','init','isEnabled','isPremiumPlugin','setName','highlightRevisions','11023341kdJeHo','diff','newRevisionId','compare','element','_handleEditorDataReady','getRevisionsInDiff','RevisionsSidebar','isReady','_createRevisionActions','revisionViews','revisionHistory.revisionActions','ready','config','revisionHistory.viewerSidebarContainer','map','nameRevision','listenTo','_handleDiffChange','_revisionsRepository','string','focus','isOfficialPlugin','revisionSelected','Name\x20this\x20revision','Restore\x20this\x20revision','2049740yFuEAZ','revisionHistory','isVisible','repository','restoreRevision','Compare\x20against\x20selected','fieldView','editor','compareAgainstSelected','destroy','557440wWrJmP','revisionSetName','bind','select','action','requires','1500138FPMIpO','getIndex','3547008aOqmBS','getRevision','revisionHistory.requireRevisionName','pluginName','isSelected','defaultRevisionActions','data','_handleRevisionSelected','timePeriodViews','locale','remove','availableRevisionActions','_sidebarView','getLaterVisibleRevision','add','selectRevision','_handleRevisionSetName','restoreRevisionCallback','get','_revisionViewer'];_0x22d1=function(){return _0x55b939;};return _0x22d1();}import{Plugin as _0x303a3d}from'ckeditor5/src/core.js';import _0x30142b from'./revisionssidebarview.js';import _0x52a150 from'../../revisionviewer.js';function _0xa46a(_0x469e07,_0x2fbb60){const _0x22d1b8=_0x22d1();return _0xa46a=function(_0xa46a76,_0x60454d){_0xa46a76=_0xa46a76-0x169;let _0x2a86c0=_0x22d1b8[_0xa46a76];return _0x2a86c0;},_0xa46a(_0x469e07,_0x2fbb60);}class w extends _0x303a3d{static get[_0x285454(0x17a)](){const _0x1f9a28=_0x285454;return _0x1f9a28(0x1a3);}static get[_0x285454(0x1b2)](){return!0x0;}static get[_0x285454(0x199)](){return!0x0;}static get[_0x285454(0x174)](){return[_0x52a150];}constructor(_0x482bd1){const _0xd46e0c=_0x285454;super(_0x482bd1),this[_0xd46e0c(0x18a)]=_0x482bd1[_0xd46e0c(0x18c)][_0xd46e0c(0x189)](_0x52a150),this[_0xd46e0c(0x1af)]=this[_0xd46e0c(0x18a)][_0xd46e0c(0x1b9)],this[_0xd46e0c(0x183)]=null;}[_0x285454(0x197)](){const _0x5a188e=_0x285454,_0x402075=this[_0x5a188e(0x1af)][_0x5a188e(0x196)],_0x35c68f=this[_0x5a188e(0x1a5)](),_0x54575f=this[_0x5a188e(0x16c)][_0x5a188e(0x1a9)][_0x5a188e(0x189)](_0x5a188e(0x1aa));this[_0x5a188e(0x183)]=new _0x30142b(this[_0x5a188e(0x16c)][_0x5a188e(0x180)],_0x402075,_0x35c68f,this[_0x5a188e(0x16c)][_0x5a188e(0x1a9)][_0x5a188e(0x189)](_0x5a188e(0x179))),this[_0x5a188e(0x183)]['on'](_0x5a188e(0x1b3),this[_0x5a188e(0x17e)][_0x5a188e(0x171)](this)),this[_0x5a188e(0x183)]['on'](_0x5a188e(0x170),this[_0x5a188e(0x187)][_0x5a188e(0x171)](this)),this[_0x5a188e(0x183)][_0x5a188e(0x171)](_0x5a188e(0x198))['to'](this[_0x5a188e(0x18a)]),this[_0x5a188e(0x183)][_0x5a188e(0x17f)]['on'](_0x5a188e(0x185),(_0xd52cf0,_0x626702)=>{const _0x4b8208=_0x5a188e;_0x626702[_0x4b8208(0x1a6)]['on'](_0x4b8208(0x185),(_0x39b01b,_0x352651)=>{const _0x58890e=_0x4b8208;_0x352651[_0x58890e(0x171)](_0x58890e(0x198),_0x58890e(0x1a4))['to'](this[_0x58890e(0x18a)]);});}),this[_0x5a188e(0x183)][_0x5a188e(0x18d)](),this[_0x5a188e(0x1ad)](this[_0x5a188e(0x16c)][_0x5a188e(0x17d)],_0x5a188e(0x1a8),this[_0x5a188e(0x1a1)][_0x5a188e(0x171)](this)),this[_0x5a188e(0x1ad)](this[_0x5a188e(0x18a)],_0x5a188e(0x18e),this[_0x5a188e(0x1ae)][_0x5a188e(0x171)](this)),_0x54575f[_0x5a188e(0x193)](this[_0x5a188e(0x183)][_0x5a188e(0x1a0)]);}[_0x285454(0x16e)](){const _0x2b7daa=_0x285454;this[_0x2b7daa(0x183)][_0x2b7daa(0x1a0)][_0x2b7daa(0x181)](),this[_0x2b7daa(0x183)][_0x2b7daa(0x16e)]();}[_0x285454(0x1a1)](){const _0x2c2f5b=_0x285454,_0x68bfd8=this[_0x2c2f5b(0x1af)][_0x2c2f5b(0x178)](0x0);if(_0x68bfd8){const _0x6036d1=this[_0x2c2f5b(0x1af)][_0x2c2f5b(0x192)](_0x68bfd8['id']);this[_0x2c2f5b(0x18a)][_0x2c2f5b(0x19f)](_0x68bfd8,_0x6036d1);}}[_0x285454(0x17e)](_0x4c788b,_0x90a116){const _0x46069e=_0x285454,_0x19eda7=this[_0x46069e(0x1af)][_0x46069e(0x178)](_0x90a116['id']),_0x4ec851=this[_0x46069e(0x1af)][_0x46069e(0x192)](_0x19eda7['id']);this[_0x46069e(0x18a)][_0x46069e(0x19f)](_0x19eda7,_0x4ec851);}[_0x285454(0x187)](_0x27e7aa,_0x53b09e){const _0x1b9614=_0x285454;this[_0x1b9614(0x1af)][_0x1b9614(0x178)](_0x53b09e['id'])[_0x1b9614(0x19a)](_0x53b09e[_0x1b9614(0x194)]);}[_0x285454(0x1ae)](_0x4679b3,_0x51f6ff,_0x54d1e0){const _0x16d315=_0x285454,_0x54f5d1=this[_0x16d315(0x1af)][_0x16d315(0x1a2)](_0x54d1e0);_0x54f5d1[_0x16d315(0x18f)]>0x2?(this[_0x16d315(0x183)][_0x16d315(0x19b)](_0x54f5d1),this[_0x16d315(0x183)][_0x16d315(0x186)](null)):(this[_0x16d315(0x183)][_0x16d315(0x19b)]([]),this[_0x16d315(0x183)][_0x16d315(0x186)](_0x54f5d1[0x0]));}[_0x285454(0x1a5)](){const _0x3dce4d=_0x285454,_0x3b1adc=this[_0x3dce4d(0x16c)],_0x2ce461=w[_0x3dce4d(0x182)],_0x18ef61=_0x3b1adc[_0x3dce4d(0x1a9)][_0x3dce4d(0x189)](_0x3dce4d(0x1a7))||w[_0x3dce4d(0x17c)];if(_0x18ef61[_0x3dce4d(0x18f)])return _0x18ef61[_0x3dce4d(0x1ab)](_0x579c37=>{const _0x32eb16=_0x3dce4d,_0x460daa=_0x32eb16(0x1b0)==typeof _0x579c37?Object[_0x32eb16(0x18b)]({},_0x2ce461[_0x579c37]):_0x579c37;return _0x460daa[_0x32eb16(0x173)]=_0x460daa[_0x32eb16(0x173)][_0x32eb16(0x171)](this,_0x3b1adc),_0x460daa[_0x32eb16(0x1b8)]&&(_0x460daa[_0x32eb16(0x1b8)]=_0x460daa[_0x32eb16(0x1b8)][_0x32eb16(0x171)](this,_0x3b1adc)),_0x460daa;});}}w[_0x285454(0x17c)]=[_0x285454(0x16d),_0x285454(0x169),_0x285454(0x1ac)],w[_0x285454(0x182)]={'compareAgainstSelected':{'name':_0x285454(0x16a),'action':({plugins:_0x1b5b1d},_0xfdbe46)=>{const _0x30a55e=_0x285454,_0x290a94=_0x1b5b1d[_0x30a55e(0x189)](_0x52a150),_0x211f5a=_0x290a94[_0x30a55e(0x1b9)];let _0x5a2691=_0x290a94[_0x30a55e(0x19d)][_0x30a55e(0x19e)],_0x89f443=_0xfdbe46['id'];_0x211f5a[_0x30a55e(0x176)](_0x5a2691)>_0x211f5a[_0x30a55e(0x176)](_0x89f443)&&([_0x5a2691,_0x89f443]=[_0x89f443,_0x5a2691]),_0x290a94[_0x30a55e(0x19f)](_0x5a2691,_0x89f443);},'isVisible':({plugins:_0x4cf375},_0x5a2493)=>{const _0x5bc1e9=_0x285454,_0x104ea8=_0x4cf375[_0x5bc1e9(0x189)](_0x52a150);return!(_0x104ea8[_0x5bc1e9(0x1b9)][_0x5bc1e9(0x1a2)](_0x104ea8[_0x5bc1e9(0x19d)])[_0x5bc1e9(0x18f)]>0x2||_0x5a2493[_0x5bc1e9(0x17b)]);}},'restoreRevision':{'name':_0x285454(0x1b5),'action':(_0x43971b,{id:_0x65356b})=>{const _0x2265c2=_0x285454;_0x43971b[_0x2265c2(0x1a9)][_0x2265c2(0x189)](_0x2265c2(0x1b7))[_0x2265c2(0x188)](_0x65356b);},'isVisible':({plugins:_0x2dd7a5},_0x648cce)=>!!_0x2dd7a5[_0x285454(0x189)](_0x52a150)[_0x285454(0x1b9)][_0x285454(0x184)](_0x648cce['id'])},'nameRevision':{'name':_0x285454(0x1b4),'action':({plugins:_0x15ec2e},{id:_0x21a2bf,revisionNameView:_0x2930da})=>{const _0x3942f1=_0x285454,_0x5d9889=_0x15ec2e[_0x3942f1(0x189)](_0x52a150),_0x31b4c7=_0x5d9889[_0x3942f1(0x1b9)][_0x3942f1(0x192)](_0x21a2bf);_0x5d9889[_0x3942f1(0x19f)](_0x21a2bf,_0x31b4c7),_0x2930da[_0x3942f1(0x1b1)](),_0x2930da[_0x3942f1(0x16b)][_0x3942f1(0x172)]();}}};export default w;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xb08f(_0x32ae8d,_0x516f21){const _0x1c034f=_0x1c03();return _0xb08f=function(_0xb08f20,_0x13b461){_0xb08f20=_0xb08f20-0xe1;let _0x4e2992=_0x1c034f[_0xb08f20];return _0x4e2992;},_0xb08f(_0x32ae8d,_0x516f21);}(function(_0x553efb,_0x8225a9){const _0x3dbf02=_0xb08f,_0x5b739e=_0x553efb();while(!![]){try{const _0x2da443=parseInt(_0x3dbf02(0xf0))/0x1+-parseInt(_0x3dbf02(0xeb))/0x2*(-parseInt(_0x3dbf02(0xe4))/0x3)+-parseInt(_0x3dbf02(0xf2))/0x4+parseInt(_0x3dbf02(0xe5))/0x5+parseInt(_0x3dbf02(0xef))/0x6*(parseInt(_0x3dbf02(0xe3))/0x7)+parseInt(_0x3dbf02(0xe2))/0x8+-parseInt(_0x3dbf02(0xe1))/0x9;if(_0x2da443===_0x8225a9)break;else _0x5b739e['push'](_0x5b739e['shift']());}catch(_0x25f513){_0x5b739e['push'](_0x5b739e['shift']());}}}(_0x1c03,0xe657c));function _0x1c03(){const _0xd6d225=['8953158TJEUKA','1854387kmXFBj','span','505284ybJidO','40643586kkefbj','14805304LHcnoq','7CoiNzl','434154XjsgCw','1218990xGvhDp','Revision\x20history','setTemplate','content','ck-revision-history-sidebar__header__label','history','2jOxLKL','ck-revision-history-sidebar__header','div','ck-reset_all'];_0x1c03=function(){return _0xd6d225;};return _0x1c03();}import{View as _0x55148d,IconView as _0x4ac25c}from'ckeditor5/src/ui.js';import{getTranslation as _0x2a468b}from'../../utils/common-translations.js';import{icons as _0x4879c9}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class as extends _0x55148d{constructor(_0x46cd3b){const _0x1e605e=_0xb08f;super(_0x46cd3b);const _0xac941c=new _0x4ac25c();_0xac941c[_0x1e605e(0xe8)]=_0x4879c9[_0x1e605e(0xea)],this[_0x1e605e(0xe7)]({'tag':_0x1e605e(0xed),'attributes':{'class':['ck',_0x1e605e(0xee),_0x1e605e(0xec)]},'children':[_0xac941c,{'tag':_0x1e605e(0xf1),'attributes':{'class':['ck',_0x1e605e(0xe9)]},'children':[_0x2a468b(_0x46cd3b,_0x1e605e(0xe6))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xae0c51=_0x283b;function _0x283b(_0x4291cf,_0x537d84){const _0x3849e7=_0x3849();return _0x283b=function(_0x283b3f,_0x52669f){_0x283b3f=_0x283b3f-0x7c;let _0x2edef8=_0x3849e7[_0x283b3f];return _0x2edef8;},_0x283b(_0x4291cf,_0x537d84);}(function(_0x62df59,_0x412467){const _0x1b9c66=_0x283b,_0x34085d=_0x62df59();while(!![]){try{const _0x4bc6c8=-parseInt(_0x1b9c66(0x8b))/0x1*(-parseInt(_0x1b9c66(0x80))/0x2)+-parseInt(_0x1b9c66(0x84))/0x3*(parseInt(_0x1b9c66(0x7c))/0x4)+-parseInt(_0x1b9c66(0x95))/0x5*(parseInt(_0x1b9c66(0x92))/0x6)+-parseInt(_0x1b9c66(0x7f))/0x7*(-parseInt(_0x1b9c66(0x9d))/0x8)+-parseInt(_0x1b9c66(0x96))/0x9+parseInt(_0x1b9c66(0x87))/0xa*(parseInt(_0x1b9c66(0x91))/0xb)+-parseInt(_0x1b9c66(0x8d))/0xc*(parseInt(_0x1b9c66(0x7d))/0xd);if(_0x4bc6c8===_0x412467)break;else _0x34085d['push'](_0x34085d['shift']());}catch(_0x3df2a3){_0x34085d['push'](_0x34085d['shift']());}}}(_0x3849,0x1fa07));function _0x3849(){const _0x56fbd4=['57uEvPTW','find','delegate','366020ZRvYyu','setTemplate','_revisionActions','revisionViews','4019xhIKww','_requireRevisionName','60ALiWVp','span','startDate','localizedPeriodName','22UakRab','1626QbUltF','ck-revision-history-sidebar__time-period__revisions','uiLanguage','905XQsJWy','764694hyHHlN','remove','setName','removeRevision','ck-revision-history-sidebar__time-period','locale','add','1622776tNkYjm','div','6596jfmLbR','3263CMZzsV','ck-revision-history-sidebar__time-period__label','7SDLhjy','10qMdUUS','createCollection','addRevision','select'];_0x3849=function(){return _0x56fbd4;};return _0x3849();}import{View as _0x10b73a}from'ckeditor5/src/ui.js';import _0x50a524 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x10694b}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class ai extends _0x10b73a{constructor(_0x5698c8,_0x14d9e0,_0x5bcf56,_0x3bc1c4){const _0x3388cf=_0x283b;super(_0x5698c8);const _0x5b493b=_0x10694b(_0x14d9e0,this[_0x3388cf(0x9b)][_0x3388cf(0x94)])[_0x3388cf(0x90)];this[_0x3388cf(0x8f)]=_0x14d9e0,this[_0x3388cf(0x8a)]=this[_0x3388cf(0x81)](),this[_0x3388cf(0x89)]=_0x5bcf56,this[_0x3388cf(0x8c)]=_0x3bc1c4,this[_0x3388cf(0x8a)][_0x3388cf(0x86)](_0x3388cf(0x83))['to'](this),this[_0x3388cf(0x8a)][_0x3388cf(0x86)](_0x3388cf(0x98))['to'](this),this[_0x3388cf(0x88)]({'tag':_0x3388cf(0x9e),'attributes':{'class':['ck',_0x3388cf(0x9a)]},'children':[{'tag':_0x3388cf(0x8e),'attributes':{'class':['ck',_0x3388cf(0x7e)]},'children':[{'text':_0x5b493b}]},{'tag':_0x3388cf(0x9e),'attributes':{'class':['ck',_0x3388cf(0x93)]},'children':this[_0x3388cf(0x8a)]}]});}[_0xae0c51(0x82)](_0xc5e019){const _0x18d36a=_0xae0c51,_0x18cc83=new _0x50a524(this[_0x18d36a(0x9b)],_0xc5e019,this[_0x18d36a(0x89)],this[_0x18d36a(0x8c)]);this[_0x18d36a(0x8a)][_0x18d36a(0x9c)](_0x18cc83);}[_0xae0c51(0x99)](_0x15b553){const _0x58dcd4=_0xae0c51,_0x56dcec=this[_0x58dcd4(0x8a)][_0x58dcd4(0x85)](_0x1cdd99=>_0x1cdd99['id']===_0x15b553['id']);this[_0x58dcd4(0x8a)][_0x58dcd4(0x97)](_0x56dcec);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x396e80=_0x3345;function _0x1ded(){const _0x51056a=['_revisionActions','_requireRevisionName','find','405650JKwktB','revisionSelected','highlightRevisions','ck-rounded-corners','bindTemplate','flat','295123CdTECX','div','createdAt','uiLanguage','unhighlight','some','removeRevision','_removeRevision','selectRevision','2PvuGFF','ck-revision-history-sidebar__timeline','render','fire','ck-disabled','getTime','deselect','startDate','delegate','highlight','5628105xNGCuO','222540PXMxqh','_revisions','6veoJDV','revisionViews','set','get','add','revisionSetName','setName','locale','ck-reset','timePeriodViews','1035771JzlobP','createCollection','remove','792264AmPupe','map','_addRevision','1116409Kcklsa','select','_getTimePeriodViewByStartDate','ck-revision-history-sidebar','isEnabled','addRevision','setTemplate'];_0x1ded=function(){return _0x51056a;};return _0x1ded();}(function(_0x2a5f5e,_0x251214){const _0x2a81f9=_0x3345,_0x599474=_0x2a5f5e();while(!![]){try{const _0x474f23=-parseInt(_0x2a81f9(0x84))/0x1+parseInt(_0x2a81f9(0x8d))/0x2*(-parseInt(_0x2a81f9(0xa4))/0x3)+parseInt(_0x2a81f9(0x98))/0x4+-parseInt(_0x2a81f9(0x7e))/0x5+-parseInt(_0x2a81f9(0x9a))/0x6*(-parseInt(_0x2a81f9(0x74))/0x7)+parseInt(_0x2a81f9(0x71))/0x8+parseInt(_0x2a81f9(0x97))/0x9;if(_0x474f23===_0x251214)break;else _0x599474['push'](_0x599474['shift']());}catch(_0x143722){_0x599474['push'](_0x599474['shift']());}}}(_0x1ded,0x35386));import{View as _0x5bdc05}from'ckeditor5/src/ui.js';import _0x4c173c from'./revisionssidebartimeperiodview.js';import _0x119e5d from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x502d26}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';function _0x3345(_0x5d2380,_0x446144){const _0x1ded14=_0x1ded();return _0x3345=function(_0x334586,_0x3c7c1a){_0x334586=_0x334586-0x70;let _0x2001b3=_0x1ded14[_0x334586];return _0x2001b3;},_0x3345(_0x5d2380,_0x446144);}export default class ni extends _0x5bdc05{constructor(_0x3830e3,_0x2b1659,_0x5c5299,_0x30a292){const _0x32b1bc=_0x3345;super(_0x3830e3);const _0x3665e0=this[_0x32b1bc(0x82)];this[_0x32b1bc(0xa3)]=this[_0x32b1bc(0xa5)](),this[_0x32b1bc(0xa3)][_0x32b1bc(0x95)](_0x32b1bc(0x75))['to'](this),this[_0x32b1bc(0xa3)][_0x32b1bc(0x95)](_0x32b1bc(0xa0))['to'](this),this[_0x32b1bc(0x99)]=_0x2b1659,this[_0x32b1bc(0x7b)]=_0x5c5299,this[_0x32b1bc(0x7c)]=_0x30a292,this['on'](_0x32b1bc(0x75),(_0x42fb6c,_0xa678ec)=>{const _0x1ca17c=_0x32b1bc;this[_0x1ca17c(0x90)](_0x1ca17c(0x7f),_0xa678ec);}),this['on'](_0x32b1bc(0xa0),(_0x4db050,_0x202477)=>{const _0xe4fc73=_0x32b1bc;this[_0xe4fc73(0x90)](_0xe4fc73(0x9f),_0x202477);}),this[_0x32b1bc(0x9c)](_0x32b1bc(0x78),!0x1),this[_0x32b1bc(0x7a)]({'tag':_0x32b1bc(0x85),'attributes':{'class':['ck',_0x32b1bc(0xa2),_0x32b1bc(0x81),_0x32b1bc(0x77)]},'children':[new _0x119e5d(_0x3830e3),{'tag':_0x32b1bc(0x85),'attributes':{'class':['ck',_0x32b1bc(0x8e),_0x3665e0['if'](_0x32b1bc(0x78),_0x32b1bc(0x91),_0x49313e=>!_0x49313e)]},'children':this[_0x32b1bc(0xa3)]}]});}[_0x396e80(0x8f)](){const _0x468249=_0x396e80;super[_0x468249(0x8f)]();for(const _0x546572 of this[_0x468249(0x99)])this[_0x468249(0x73)](_0x546572);this[_0x468249(0x99)]['on'](_0x468249(0x9e),(_0x4997d4,_0x17fd1b)=>{const _0x30cedf=_0x468249;this[_0x30cedf(0x73)](_0x17fd1b);}),this[_0x468249(0x99)]['on'](_0x468249(0x70),(_0x2416ca,_0x57703a)=>{const _0x376e53=_0x468249;this[_0x376e53(0x8b)](_0x57703a);});}get[_0x396e80(0x9b)](){const _0x794bf1=_0x396e80;return this[_0x794bf1(0xa3)][_0x794bf1(0x72)](_0x30e9d5=>_0x30e9d5[_0x794bf1(0x9b)][_0x794bf1(0x72)](_0x591e67=>_0x591e67))[_0x794bf1(0x83)]();}[_0x396e80(0x8c)](_0x335c85){const _0x159dff=_0x396e80;for(const _0x115852 of this[_0x159dff(0x9b)])_0x335c85&&_0x335c85['id']===_0x115852['id']?_0x115852[_0x159dff(0x75)]():_0x115852[_0x159dff(0x93)]();}[_0x396e80(0x80)](_0x47a1c9){const _0x5bcc64=_0x396e80;for(const _0x25b4d4 of this[_0x5bcc64(0x9b)])_0x47a1c9[_0x5bcc64(0x89)](({id:_0x4d4f11})=>_0x4d4f11===_0x25b4d4['id'])?_0x25b4d4[_0x5bcc64(0x96)]():_0x25b4d4[_0x5bcc64(0x88)]();}[_0x396e80(0x73)](_0x318147){const _0x3df0f1=_0x396e80,_0x454653=_0x502d26(_0x318147[_0x3df0f1(0x86)],this[_0x3df0f1(0xa1)][_0x3df0f1(0x87)])[_0x3df0f1(0x94)];let _0x110eab=this[_0x3df0f1(0xa3)][_0x3df0f1(0x9d)](0x0);_0x110eab&&_0x110eab[_0x3df0f1(0x94)][_0x3df0f1(0x92)]()===_0x454653[_0x3df0f1(0x92)]()||(_0x110eab=new _0x4c173c(this[_0x3df0f1(0xa1)],_0x454653,this[_0x3df0f1(0x7b)],this[_0x3df0f1(0x7c)]),this[_0x3df0f1(0xa3)][_0x3df0f1(0x9e)](_0x110eab)),_0x110eab[_0x3df0f1(0x79)](_0x318147);}[_0x396e80(0x8b)](_0x3f2358){const _0x599503=_0x396e80,_0x28aa81=_0x502d26(_0x3f2358[_0x599503(0x86)],this[_0x599503(0xa1)][_0x599503(0x87)])[_0x599503(0x94)];this[_0x599503(0x76)](_0x28aa81)[_0x599503(0x8a)](_0x3f2358);}[_0x396e80(0x76)](_0x3480c3){const _0x183d7d=_0x396e80;return this[_0x183d7d(0xa3)][_0x183d7d(0x7d)](_0x2bc3f1=>_0x2bc3f1[_0x183d7d(0x94)][_0x183d7d(0x92)]()===_0x3480c3[_0x183d7d(0x92)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x34b6(){const _0x49b399=['fromJSDate','84fZiZEu','day','200998RkfQmn','12955CrdUNH','1521XKaJTZ','2516412InERKo','40IPrWjV','monthLong','4IpZgtb','toRelativeCalendar','minus','toJSDate','2710leJCoj','4mSZajo','hasSame','244046VkaTSU','startOf','612498ZgkdAN','local','95265BUeEbB','weekdayLong','week','setLocale','month','year'];_0x34b6=function(){return _0x49b399;};return _0x34b6();}(function(_0x362a87,_0x27192b){const _0x44ea50=_0x221e,_0xff678c=_0x362a87();while(!![]){try{const _0x1248a3=parseInt(_0x44ea50(0x12a))/0x1*(-parseInt(_0x44ea50(0x134))/0x2)+-parseInt(_0x44ea50(0x11e))/0x3+parseInt(_0x44ea50(0x12f))/0x4*(-parseInt(_0x44ea50(0x120))/0x5)+parseInt(_0x44ea50(0x12c))/0x6+-parseInt(_0x44ea50(0x129))/0x7*(parseInt(_0x44ea50(0x12d))/0x8)+-parseInt(_0x44ea50(0x12b))/0x9*(-parseInt(_0x44ea50(0x133))/0xa)+parseInt(_0x44ea50(0x136))/0xb*(parseInt(_0x44ea50(0x127))/0xc);if(_0x1248a3===_0x27192b)break;else _0xff678c['push'](_0xff678c['shift']());}catch(_0x4e187c){_0xff678c['push'](_0xff678c['shift']());}}}(_0x34b6,0x379dc));import{DateTime as _0x48e778}from'luxon';function _0x221e(_0xd9cf4e,_0x45aba7){const _0x34b61c=_0x34b6();return _0x221e=function(_0x221eaa,_0x31c57c){_0x221eaa=_0x221eaa-0x11e;let _0x2e85c4=_0x34b61c[_0x221eaa];return _0x2e85c4;},_0x221e(_0xd9cf4e,_0x45aba7);}export function getDateTimePeriodInfo(_0x4901b9,_0x2a050b){const _0x41b0d4=_0x221e,_0x493e0f=_0x48e778[_0x41b0d4(0x126)](_0x4901b9)[_0x41b0d4(0x123)](_0x2a050b),_0x53e8ec=_0x48e778[_0x41b0d4(0x11f)](),_0x537d6f=_0x53e8ec[_0x41b0d4(0x131)]({'days':0x1})[_0x41b0d4(0x137)](_0x41b0d4(0x128));let _0x4b2b26,_0x1aafcc;return _0x493e0f[_0x41b0d4(0x135)](_0x53e8ec,_0x41b0d4(0x128))?(_0x4b2b26=_0x493e0f[_0x41b0d4(0x137)](_0x41b0d4(0x128))[_0x41b0d4(0x132)](),_0x1aafcc=_0x493e0f[_0x41b0d4(0x130)]()):_0x493e0f[_0x41b0d4(0x135)](_0x537d6f,_0x41b0d4(0x128))?(_0x4b2b26=_0x537d6f[_0x41b0d4(0x132)](),_0x1aafcc=_0x493e0f[_0x41b0d4(0x130)]()):_0x493e0f[_0x41b0d4(0x135)](_0x53e8ec,_0x41b0d4(0x122))?(_0x4b2b26=_0x493e0f[_0x41b0d4(0x137)](_0x41b0d4(0x122))[_0x41b0d4(0x132)](),_0x1aafcc=_0x493e0f[_0x41b0d4(0x121)]||''):_0x493e0f[_0x41b0d4(0x135)](_0x53e8ec,_0x41b0d4(0x125))?(_0x4b2b26=_0x493e0f[_0x41b0d4(0x137)](_0x41b0d4(0x124))[_0x41b0d4(0x132)](),_0x1aafcc=_0x493e0f[_0x41b0d4(0x12e)]||''):(_0x4b2b26=_0x493e0f[_0x41b0d4(0x137)](_0x41b0d4(0x125))[_0x41b0d4(0x132)](),_0x1aafcc=String(_0x493e0f[_0x41b0d4(0x125)])),{'startDate':_0x4b2b26,'localizedPeriodName':_0x1aafcc};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1927a0=_0x30dd;function _0x4076(){const _0x21b2b2=['changeId','Removed\x20by','div','_model','141382lxInRx','bindTemplate','type','ck-revision-change','162bqQSUe','element','ck-revision-change__label','710487szrhXe','setTemplate','550780qeQSWj','focus','Suggested\x20by','26584wrhLiR','340392zTxBTR','author','36638YAMUVr','name','set','6pSHPTV','9205zXwcVB','span','Added\x20by','isSuggestion','ck-annotation','ck-revision-change__','data','add'];_0x4076=function(){return _0x21b2b2;};return _0x4076();}function _0x30dd(_0x194c30,_0x327714){const _0x407619=_0x4076();return _0x30dd=function(_0x30ddd4,_0x477ced){_0x30ddd4=_0x30ddd4-0x1bf;let _0x14b1ae=_0x407619[_0x30ddd4];return _0x14b1ae;},_0x30dd(_0x194c30,_0x327714);}(function(_0x580ea1,_0x242be5){const _0x190cf4=_0x30dd,_0x4e98b2=_0x580ea1();while(!![]){try{const _0x43ca4b=-parseInt(_0x190cf4(0x1c1))/0x1+-parseInt(_0x190cf4(0x1ce))/0x2+parseInt(_0x190cf4(0x1c8))/0x3+parseInt(_0x190cf4(0x1ca))/0x4+-parseInt(_0x190cf4(0x1d4))/0x5+parseInt(_0x190cf4(0x1d3))/0x6*(parseInt(_0x190cf4(0x1d0))/0x7)+parseInt(_0x190cf4(0x1cd))/0x8*(parseInt(_0x190cf4(0x1c5))/0x9);if(_0x43ca4b===_0x242be5)break;else _0x4e98b2['push'](_0x4e98b2['shift']());}catch(_0x461ab){_0x4e98b2['push'](_0x4e98b2['shift']());}}}(_0x4076,0x1ecc9));import{View as _0x5c5bbf}from'ckeditor5/src/ui.js';import{getTranslation as _0x30ce4e}from'../../utils/common-translations.js';export default class X extends _0x5c5bbf{constructor(_0x4a8535,_0x51f50b){const _0x12e0af=_0x30dd;super(_0x4a8535),this[_0x12e0af(0x1c0)]=_0x51f50b,this[_0x12e0af(0x1dc)]=_0x51f50b['id'];const _0x3823d5=this[_0x12e0af(0x1c2)],_0x5bf2eb=_0x30ce4e(_0x4a8535,_0x51f50b[_0x12e0af(0x1da)][_0x12e0af(0x1d7)]?_0x12e0af(0x1cc):_0x12e0af(0x1db)==_0x51f50b[_0x12e0af(0x1c3)]?_0x12e0af(0x1d6):_0x12e0af(0x1dd));this[_0x12e0af(0x1d2)](_0x12e0af(0x1c3),_0x51f50b[_0x12e0af(0x1c3)]),this[_0x12e0af(0x1c9)]({'tag':_0x12e0af(0x1bf),'attributes':{'class':[_0x12e0af(0x1d8),_0x12e0af(0x1c4),_0x3823d5['to'](_0x12e0af(0x1c3),_0x2aa214=>_0x12e0af(0x1d9)+_0x2aa214)],'tabindex':-0x1},'children':[{'tag':_0x12e0af(0x1d5),'children':[{'tag':_0x12e0af(0x1d5),'attributes':{'class':[_0x12e0af(0x1c7)]},'children':[{'text':_0x5bf2eb}]},{'text':'\x20'+_0x51f50b[_0x12e0af(0x1cf)][_0x12e0af(0x1d1)]}]}]});}[_0x1927a0(0x1cb)](){const _0x31dfa1=_0x1927a0;this[_0x31dfa1(0x1c6)][_0x31dfa1(0x1cb)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xd53aa9,_0x1eaea3){const _0xa01849=_0x4add,_0x4a20ec=_0xd53aa9();while(!![]){try{const _0x1ec7ee=parseInt(_0xa01849(0x1b5))/0x1*(parseInt(_0xa01849(0x19a))/0x2)+-parseInt(_0xa01849(0x1ae))/0x3+-parseInt(_0xa01849(0x1a9))/0x4*(parseInt(_0xa01849(0x1c1))/0x5)+-parseInt(_0xa01849(0x1ab))/0x6*(-parseInt(_0xa01849(0x1bb))/0x7)+parseInt(_0xa01849(0x199))/0x8+parseInt(_0xa01849(0x1be))/0x9*(-parseInt(_0xa01849(0x1b1))/0xa)+-parseInt(_0xa01849(0x1b9))/0xb*(parseInt(_0xa01849(0x1a0))/0xc);if(_0x1ec7ee===_0x1eaea3)break;else _0x4a20ec['push'](_0x4a20ec['shift']());}catch(_0x48bb6a){_0x4a20ec['push'](_0x4a20ec['shift']());}}}(_0x155a,0x63a95));function _0x155a(){const _0x425549=['ck-hidden','set','currentChangeNumber','46876mDDIYF','numberOfChanges','6GaJOhX','fire','Total','139593ZOhLlg','div','ck-revision-history-ui__changes-navigation__wrapper','520KDxusA','isBackwardNavigationEnabled','forward','Loading...','106224CTJHhM','isEnabled','ck-revision-history-ui__changes-navigation__label','setTemplate','183238roYJgJ','execute','3097304xrZbrZ','Show\x20next\x20change','isReady','11889oCwQiZ','ck-revision-history-ui__changes-navigation__navigation','isNavigationMode','10WVxXVe','ck-revision-history-ui__changes-navigation','span','No\x20changes','X_OF_Y_CHANGES','918272HRQyoO','2uxMLvl','Show\x20previous\x20change','bindTemplate','EDIT_X_OF_Y_REVISIONS','NUMBER_OF_CHANGES','bind','84QZvrBd','_statusText','isForwardNavigationEnabled','ck-revision-history-ui','_isStatusLabelVisible','backward'];_0x155a=function(){return _0x425549;};return _0x155a();}import{View as _0x3c2387,ButtonView as _0x1b76e3,ToolbarSeparatorView as _0x38516b}from'ckeditor5/src/ui.js';function _0x4add(_0x1486c6,_0x504c61){const _0x155a1b=_0x155a();return _0x4add=function(_0x4add21,_0x16eb86){_0x4add21=_0x4add21-0x196;let _0xdc0182=_0x155a1b[_0x4add21];return _0xdc0182;},_0x4add(_0x1486c6,_0x504c61);}import{getTranslation as _0x2f49d5}from'../../utils/common-translations.js';import _0x2e2215 from'../../../theme/icons/arrow-up.svg';import _0x31f89f from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class li extends _0x3c2387{constructor(_0x5a8d49){const _0xf60a7e=_0x4add;super(_0x5a8d49);const _0x48f1c3=this[_0xf60a7e(0x19c)],_0x1ac5dd=new _0x1b76e3(_0x5a8d49),_0xd41537=new _0x1b76e3(_0x5a8d49);this[_0xf60a7e(0x1a7)](_0xf60a7e(0x1c0),!0x1),this[_0xf60a7e(0x1a7)](_0xf60a7e(0x1bd),!0x1),this[_0xf60a7e(0x1a7)](_0xf60a7e(0x1a8),0x0),this[_0xf60a7e(0x1a7)](_0xf60a7e(0x1aa),0x0),this[_0xf60a7e(0x1a7)](_0xf60a7e(0x1a2),!0x1),this[_0xf60a7e(0x1a7)](_0xf60a7e(0x1b2),!0x1),this[_0xf60a7e(0x19f)](_0xf60a7e(0x1a4))['to'](this,_0xf60a7e(0x1bd),this,_0xf60a7e(0x1aa),(_0x6b13c0,_0x16677a)=>_0x6b13c0&&_0x16677a>0x0),this[_0xf60a7e(0x19f)](_0xf60a7e(0x1a1))['to'](this,_0xf60a7e(0x1bd),this,_0xf60a7e(0x1a8),this,_0xf60a7e(0x1aa),this,_0xf60a7e(0x1c0),(_0x2a1f44,_0x14ba5b,_0x57f1d0,_0x1fe593)=>{const _0x1b0ed6=_0xf60a7e;if(!_0x2a1f44)return _0x2f49d5(_0x5a8d49,_0x1b0ed6(0x1b4));if(!_0x57f1d0)return _0x2f49d5(_0x5a8d49,_0x1b0ed6(0x197));const _0x75ebc1=_0x2f49d5(_0x5a8d49,_0x1b0ed6(0x19e),_0x57f1d0);return _0x1fe593?_0x2f49d5(_0x5a8d49,_0x1b0ed6(0x198),[_0x14ba5b+0x1,_0x57f1d0]):_0x75ebc1;}),_0x1ac5dd[_0xf60a7e(0x1a7)]({'label':_0x2f49d5(_0x5a8d49,_0xf60a7e(0x19b)),'tooltip':!0x0,'icon':_0x2e2215}),_0xd41537[_0xf60a7e(0x1a7)]({'label':_0x2f49d5(_0x5a8d49,_0xf60a7e(0x1bc)),'tooltip':!0x0,'icon':_0x31f89f}),_0x1ac5dd[_0xf60a7e(0x19f)](_0xf60a7e(0x1b6))['to'](this,_0xf60a7e(0x1b2)),_0xd41537[_0xf60a7e(0x19f)](_0xf60a7e(0x1b6))['to'](this,_0xf60a7e(0x1a2)),_0x1ac5dd['on'](_0xf60a7e(0x1ba),()=>this[_0xf60a7e(0x1ac)](_0xf60a7e(0x1ba),_0xf60a7e(0x1a5))),_0xd41537['on'](_0xf60a7e(0x1ba),()=>this[_0xf60a7e(0x1ac)](_0xf60a7e(0x1ba),_0xf60a7e(0x1b3))),this[_0xf60a7e(0x1b8)]({'tag':_0xf60a7e(0x1af),'attributes':{'class':['ck',_0xf60a7e(0x1a3),_0xf60a7e(0x1c2)]},'children':[{'tag':_0xf60a7e(0x196),'attributes':{'class':[_0xf60a7e(0x1b0)]},'children':[{'tag':_0xf60a7e(0x196),'attributes':{'class':[_0xf60a7e(0x1b7),_0x48f1c3['if'](_0xf60a7e(0x1a4),_0xf60a7e(0x1a6),_0x4b221e=>!_0x4b221e)]},'children':[{'text':_0x48f1c3['to'](_0xf60a7e(0x1c0),_0x45a3c4=>_0x45a3c4?_0x2f49d5(_0x5a8d49,_0xf60a7e(0x19d))+':\x20':_0x2f49d5(_0x5a8d49,_0xf60a7e(0x1ad))+':\x20')}]},{'text':_0x48f1c3['to'](_0xf60a7e(0x1a1))}]},new _0x38516b(),{'tag':_0xf60a7e(0x1af),'attributes':{'class':[_0xf60a7e(0x1bf)]},'children':[_0x1ac5dd,_0xd41537]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x36b916=_0x2180;(function(_0x54f842,_0x1d1958){const _0x13350d=_0x2180,_0x514089=_0x54f842();while(!![]){try{const _0x2db2ff=parseInt(_0x13350d(0x11b))/0x1+-parseInt(_0x13350d(0x10c))/0x2+-parseInt(_0x13350d(0x111))/0x3*(-parseInt(_0x13350d(0x11f))/0x4)+-parseInt(_0x13350d(0x10d))/0x5*(parseInt(_0x13350d(0x10e))/0x6)+parseInt(_0x13350d(0x118))/0x7*(parseInt(_0x13350d(0x119))/0x8)+parseInt(_0x13350d(0x121))/0x9+-parseInt(_0x13350d(0x113))/0xa;if(_0x2db2ff===_0x1d1958)break;else _0x514089['push'](_0x514089['shift']());}catch(_0x1cd588){_0x514089['push'](_0x514089['shift']());}}}(_0x3542,0x61411));function _0x2180(_0x3d8093,_0x1c9369){const _0x3542f7=_0x3542();return _0x2180=function(_0x218024,_0x4e6779){_0x218024=_0x218024-0x10b;let _0x42f15b=_0x3542f7[_0x218024];return _0x42f15b;},_0x2180(_0x3d8093,_0x1c9369);}import{Plugin as _0x1aac0f}from'ckeditor5/src/core.js';const le=_0x36b916(0x120);function _0x3542(){const _0x496a7a=['127602JFmoYQ','removeClass','isOfficialPlugin','722742MnuCTf','addClass','1851810VKrxBJ','hide','view','pluginName','editing','7GtJhgx','2487656pEYjxO','change','621938OeUKgi','isPremiumPlugin','show','document','4xaqccN','ck-editor__editable__loading-overlay','2742759LwHULh','editor','roots','RevisionViewerLoadingOverlay','1577382iwQEJR','25TTtasv'];_0x3542=function(){return _0x496a7a;};return _0x3542();}import'../../../theme/revisionviewerloadingoverlay.css';export default class ge extends _0x1aac0f{static get[_0x36b916(0x116)](){const _0x22eeef=_0x36b916;return _0x22eeef(0x10b);}static get[_0x36b916(0x110)](){return!0x0;}static get[_0x36b916(0x11c)](){return!0x0;}[_0x36b916(0x11d)](){const _0x4b8c2d=_0x36b916,_0x32cba3=this[_0x4b8c2d(0x122)][_0x4b8c2d(0x117)][_0x4b8c2d(0x115)];_0x32cba3[_0x4b8c2d(0x11a)](_0x34dd91=>{const _0x200116=_0x4b8c2d;for(const _0x1c3647 of _0x32cba3[_0x200116(0x11e)][_0x200116(0x123)])_0x34dd91[_0x200116(0x112)](le,_0x1c3647);});}[_0x36b916(0x114)](){const _0x342d77=_0x36b916,_0x38ef7d=this[_0x342d77(0x122)][_0x342d77(0x117)][_0x342d77(0x115)];_0x38ef7d[_0x342d77(0x11a)](_0x254744=>{const _0x55d971=_0x342d77;for(const _0x3cf12e of _0x38ef7d[_0x55d971(0x11e)][_0x55d971(0x123)])_0x254744[_0x55d971(0x10f)](le,_0x3cf12e);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42d0fd=_0x2cc6;(function(_0x5d642b,_0x47034a){const _0x54e458=_0x2cc6,_0x5607c4=_0x5d642b();while(!![]){try{const _0x36ddf6=-parseInt(_0x54e458(0x20e))/0x1+parseInt(_0x54e458(0x209))/0x2*(parseInt(_0x54e458(0x1fb))/0x3)+-parseInt(_0x54e458(0x1f7))/0x4+-parseInt(_0x54e458(0x203))/0x5+-parseInt(_0x54e458(0x1fe))/0x6+-parseInt(_0x54e458(0x1ed))/0x7*(-parseInt(_0x54e458(0x1f5))/0x8)+parseInt(_0x54e458(0x200))/0x9;if(_0x36ddf6===_0x47034a)break;else _0x5607c4['push'](_0x5607c4['shift']());}catch(_0x529ee7){_0x5607c4['push'](_0x5607c4['shift']());}}}(_0x201b,0x9b700));import{icons as _0x2e2438,Plugin as _0x3bfdc6}from'ckeditor5/src/core.js';import{ButtonView as _0x50b631}from'ckeditor5/src/ui.js';function _0x201b(){const _0x35ba0d=['forward','hide','Restore\x20this\x20revision','26mVRkzg','execute','config','get','componentFactory','76500mRmzFd','change:isReady','requires','currentChangeNumber','show','plugins','RevisionViewerUI','undo','closeRevisionViewerCallback','ck-revision-history-ui__back-to-editing','exitToEditing','isNavigationMode','set','isForwardNavigationEnabled','isPremiumPlugin','766010UjDgtA','changesNavigation','editor','isEnabled','isOfficialPlugin','restoreRevision','Back\x20to\x20editing','showNextChange','24KpcpqF','numberOfChanges','3518124CgrHAS','add','pluginName','listenTo','125238byMsdU','isReady','isBackwardNavigationEnabled','6962574LDaoOu','init','26767782FzaLZL','bind','showPreviousChange','5460270OaqDsk','commands','revisionHistory'];_0x201b=function(){return _0x35ba0d;};return _0x201b();}import _0x275818 from'./changesnavigationview.js';import _0x5ca83b from'./../../revisionviewer.js';import _0x5ef54c from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x13501c}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';function _0x2cc6(_0x49ace8,_0x1fc55c){const _0x201b88=_0x201b();return _0x2cc6=function(_0x2cc6db,_0x3f8698){_0x2cc6db=_0x2cc6db-0x1e9;let _0x2ba878=_0x201b88[_0x2cc6db];return _0x2ba878;},_0x2cc6(_0x49ace8,_0x1fc55c);}export default class g extends _0x3bfdc6{static get[_0x42d0fd(0x1f9)](){const _0x4771b3=_0x42d0fd;return _0x4771b3(0x214);}static get[_0x42d0fd(0x1f1)](){return!0x0;}static get[_0x42d0fd(0x1ec)](){return!0x0;}static get[_0x42d0fd(0x210)](){return[_0x5ca83b,_0x5ef54c];}[_0x42d0fd(0x1ff)](){const _0x436294=_0x42d0fd,_0x458832=this[_0x436294(0x1ef)],_0x2f2d68=_0x458832[_0x436294(0x213)][_0x436294(0x20c)](_0x5ca83b),_0xfe4ea=_0x458832[_0x436294(0x213)][_0x436294(0x20c)](_0x5ef54c);_0x458832['ui'][_0x436294(0x20d)][_0x436294(0x1f8)](_0x436294(0x218),_0x33d113=>{const _0x7a5e5a=_0x436294,_0x3edea7=new _0x50b631(_0x33d113);return _0x3edea7[_0x7a5e5a(0x1ea)]({'label':_0x13501c(_0x33d113,_0x7a5e5a(0x1f3)),'icon':_0x2e2438[_0x7a5e5a(0x215)],'withText':!0x0,'tooltip':!0x0,'class':_0x7a5e5a(0x217)}),this[_0x7a5e5a(0x1fa)](_0x3edea7,_0x7a5e5a(0x20a),()=>{const _0x30535d=_0x7a5e5a;_0x458832[_0x30535d(0x20b)][_0x30535d(0x20c)](_0x30535d(0x205))[_0x30535d(0x216)]();}),_0x3edea7;}),_0x458832['ui'][_0x436294(0x20d)][_0x436294(0x1f8)](_0x436294(0x1f2),_0x5804a3=>{const _0x5f129b=_0x436294,_0x4e2151=new _0x50b631(_0x5804a3);return _0x4e2151[_0x5f129b(0x1ea)]({'label':_0x13501c(_0x5804a3,_0x5f129b(0x208)),'withText':!0x0,'tooltip':!0x0}),_0x4e2151[_0x5f129b(0x201)](_0x5f129b(0x1f0))['to'](_0x458832[_0x5f129b(0x204)][_0x5f129b(0x20c)](_0x5f129b(0x1f2))),this[_0x5f129b(0x1fa)](_0x4e2151,_0x5f129b(0x20a),()=>_0x458832[_0x5f129b(0x20a)](_0x5f129b(0x1f2))),_0x4e2151;}),_0x458832['ui'][_0x436294(0x20d)][_0x436294(0x1f8)](_0x436294(0x1ee),_0x451951=>{const _0x496eb3=_0x436294,_0x1a77f4=new _0x275818(_0x451951),_0x211b72=_0x458832[_0x496eb3(0x204)][_0x496eb3(0x20c)](_0x496eb3(0x202)),_0xbd42c6=_0x458832[_0x496eb3(0x204)][_0x496eb3(0x20c)](_0x496eb3(0x1f4));return _0x1a77f4[_0x496eb3(0x201)](_0x496eb3(0x1fd))['to'](_0x211b72,_0x496eb3(0x1f0)),_0x1a77f4[_0x496eb3(0x201)](_0x496eb3(0x1eb))['to'](_0xbd42c6,_0x496eb3(0x1f0)),_0x1a77f4[_0x496eb3(0x201)](_0x496eb3(0x1fc),_0x496eb3(0x211),_0x496eb3(0x1f6),_0x496eb3(0x1e9))['to'](_0x2f2d68),this[_0x496eb3(0x1fa)](_0x1a77f4,_0x496eb3(0x20a),(_0x20566e,_0x2bdbd5)=>{const _0x132b2e=_0x496eb3;_0x458832[_0x132b2e(0x20a)](_0x132b2e(0x206)===_0x2bdbd5?_0x132b2e(0x1f4):_0x132b2e(0x202));}),_0x1a77f4;}),_0xfe4ea[_0x436294(0x212)](),_0x2f2d68['on'](_0x436294(0x20f),(_0x2cbf72,_0x3f86a6,_0x5cd693)=>{const _0x1d4202=_0x436294;_0x5cd693?_0xfe4ea[_0x1d4202(0x207)]():_0xfe4ea[_0x1d4202(0x212)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x3b11ed,_0x5c3ed9,_0x143ffb){const t=_0x3b11ed['t'];switch(_0x5c3ed9){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'},_0x143ffb);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x143ffb);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'';}}
|
|
@@ -8,7 +8,30 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
.ck.ck-revision-history-sidebar__header {
|
|
11
|
-
|
|
11
|
+
/*
|
|
12
|
+
The height of the sidebar header is calculated to match the height of the editor toolbar.
|
|
13
|
+
The total editor toolbar height is set to `auto`, so we need to calculate its size based on the elements inside.
|
|
14
|
+
|
|
15
|
+
The editor toolbar height is affected by 2 main variables and takes the height of whichever is bigger:
|
|
16
|
+
- Toolbar button height, which is a combination of `--ck-ui-component-min-height`, `--ck-icon-size` and `--ck-spacing-small`.
|
|
17
|
+
- Toolbar separator height, which is a combination of `--ck-icon-size` and `--ck-spacing-small`.
|
|
18
|
+
|
|
19
|
+
The toolbar button height is calculated as below:
|
|
20
|
+
- `var(--ck-ui-component-min-height)` <- The minimum height of the toolbar button.
|
|
21
|
+
- `2 * var(--ck-spacing-small)` <- Additional margin for all elements inside the toolbar.
|
|
22
|
+
- `1px` <- Top border.
|
|
23
|
+
|
|
24
|
+
The toolbar separator height is calculated as below:
|
|
25
|
+
- `var(--ck-icon-size) + 2 * var(--ck-spacing-small)` <- The line separator height.
|
|
26
|
+
- `2 * var(--ck-spacing-small)` <- Additional margin for all elements inside the toolbar.
|
|
27
|
+
- `1px` <- Top border.
|
|
28
|
+
|
|
29
|
+
See https://github.com/cksource/ckeditor5-commercial/issues/6929.
|
|
30
|
+
*/
|
|
31
|
+
--header-height: max(
|
|
32
|
+
calc(var(--ck-ui-component-min-height) + 2 * var(--ck-spacing-small) + 1px),
|
|
33
|
+
calc(var(--ck-icon-size) + 2 * var(--ck-spacing-small) + 2 * var(--ck-spacing-small) + 1px)
|
|
34
|
+
);
|
|
12
35
|
|
|
13
36
|
height: var(--header-height);
|
|
14
37
|
min-height: var(--header-height);
|