@ckeditor/ckeditor5-revision-history 46.0.0-alpha.2 → 46.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3d91a1=_0x3be5;(function(_0x30bec8,_0x32f147){const _0x7adc57=_0x3be5,_0x3e703c=_0x30bec8();while(!![]){try{const _0x44c2b4=-parseInt(_0x7adc57(0xcf))/0x1+-parseInt(_0x7adc57(0xd8))/0x2*(-parseInt(_0x7adc57(0xd5))/0x3)+-parseInt(_0x7adc57(0xcb))/0x4*(parseInt(_0x7adc57(0xcd))/0x5)+parseInt(_0x7adc57(0xe2))/0x6*(parseInt(_0x7adc57(0xd4))/0x7)+parseInt(_0x7adc57(0xcc))/0x8+-parseInt(_0x7adc57(0xea))/0x9*(parseInt(_0x7adc57(0xe8))/0xa)+-parseInt(_0x7adc57(0xc9))/0xb*(-parseInt(_0x7adc57(0xd0))/0xc);if(_0x44c2b4===_0x32f147)break;else _0x3e703c['push'](_0x3e703c['shift']());}catch(_0x57014a){_0x3e703c['push'](_0x3e703c['shift']());}}}(_0x18a8,0xb7da9));import{CssTransitionDisablerMixin as _0x37b413,LabeledFieldView as _0x11ff5c,View as _0x492130,createLabeledInputText as _0x63d671,submitHandler as _0x15655a}from'ckeditor5/src/ui.js';function _0x3be5(_0x4acc37,_0x54ba9f){const _0x18a8d1=_0x18a8();return _0x3be5=function(_0x3be5be,_0x57d83e){_0x3be5be=_0x3be5be-0xc5;let _0x5b1e3f=_0x18a8d1[_0x3be5be];return _0x5b1e3f;},_0x3be5(_0x4acc37,_0x54ba9f);}import{FocusTracker as _0x1901d0,KeystrokeHandler as _0x2fd0bc}from'ckeditor5/src/utils.js';import{getTranslation as _0x2b2504}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x37b413(_0x492130){[_0x3d91a1(0xe3)];[_0x3d91a1(0xd2)];[_0x3d91a1(0xed)];constructor(_0x3ea5be,_0xc6c26f){const _0x57cf15=_0x3d91a1;super(_0x3ea5be),this[_0x57cf15(0xe3)]=new _0x1901d0(),this[_0x57cf15(0xd2)]=new _0x2fd0bc(),this[_0x57cf15(0xd3)](_0x57cf15(0xeb),''),this[_0x57cf15(0xed)]=this[_0x57cf15(0xce)](_0xc6c26f),this[_0x57cf15(0xc6)]({'tag':_0x57cf15(0xe7),'attributes':{'class':['ck',_0x57cf15(0xf2),_0x57cf15(0xd9)],'tabindex':'-1'},'children':[this[_0x57cf15(0xed)]]}),this[_0x57cf15(0xf1)]();}[_0x3d91a1(0xe1)](){const _0x30f215=_0x3d91a1;super[_0x30f215(0xe1)](),_0x15655a({'view':this}),this[_0x30f215(0xe3)][_0x30f215(0xde)](this[_0x30f215(0xed)][_0x30f215(0xe0)]),this[_0x30f215(0xd2)][_0x30f215(0xef)](this[_0x30f215(0xe0)]);const _0x2ece26=_0x595687=>_0x595687[_0x30f215(0xd7)]();this[_0x30f215(0xd2)][_0x30f215(0xd3)](_0x30f215(0xc5),_0x2ece26),this[_0x30f215(0xd2)][_0x30f215(0xd3)](_0x30f215(0xec),_0x2ece26),this[_0x30f215(0xd2)][_0x30f215(0xd3)](_0x30f215(0xe6),_0x2ece26),this[_0x30f215(0xd2)][_0x30f215(0xd3)](_0x30f215(0xe9),_0x2ece26);}[_0x3d91a1(0xca)](){const _0xa37fdf=_0x3d91a1;this[_0xa37fdf(0xed)][_0xa37fdf(0xca)]();}get[_0x3d91a1(0xdc)](){const _0x3fe4ac=_0x3d91a1;return this[_0x3fe4ac(0xed)][_0x3fe4ac(0xf0)][_0x3fe4ac(0xe0)][_0x3fe4ac(0xdd)][_0x3fe4ac(0xe4)]();}set[_0x3d91a1(0xdc)](_0x4fc849){const _0x199e74=_0x3d91a1;this[_0x199e74(0xed)][_0x199e74(0xf0)][_0x199e74(0xe0)][_0x199e74(0xdd)]=_0x4fc849[_0x199e74(0xe4)]();}[_0x3d91a1(0xdb)](){const _0x957bef=_0x3d91a1;this[_0x957bef(0xed)][_0x957bef(0xf0)][_0x957bef(0xe0)][_0x957bef(0xdd)]='',this[_0x957bef(0xed)][_0x957bef(0xe5)]=null;}[_0x3d91a1(0xce)](_0x3fad44){const _0x469ff5=_0x3d91a1,_0x17c29d=new _0x11ff5c(this[_0x469ff5(0xc7)],_0x63d671),_0x23e6ef=_0x17c29d[_0x469ff5(0xf0)];_0x23e6ef[_0x469ff5(0xc8)]({'attributes':{'maxlength':_0x469ff5(0xee)}});let _0x220453=_0x2b2504(this[_0x469ff5(0xc7)],_0x469ff5(0xd1));return!_0x3fad44&&(_0x220453+='\x20('+_0x2b2504(this[_0x469ff5(0xc7)],_0x469ff5(0xda))+')'),(_0x17c29d[_0x469ff5(0xd6)]=_0x220453,_0x23e6ef['on'](_0x469ff5(0xdf),()=>{const _0x4a874e=_0x469ff5;this[_0x4a874e(0xeb)]=_0x23e6ef[_0x4a874e(0xe0)][_0x4a874e(0xdd)][_0x4a874e(0xe4)]();}),_0x17c29d);}}function _0x18a8(){const _0xc1da27=['set','21VboOFw','3958755PdbWtu','label','stopPropagation','2zKLegb','ck-responsive-form','optional','reset','revisionName','value','add','input','element','render','181668TYGoub','focusTracker','trim','errorText','arrowup','form','73800uncUMu','arrowdown','90XYiBFR','revisionNameInputValue','arrowleft','revisionNameInputView','220','listenTo','fieldView','initializeCssTransitionDisablerMixin','ck-revision-history-save-revision-form','arrowright','setTemplate','locale','extendTemplate','29909wkPYWF','focus','5122468buUvbQ','6340328ZBCNNe','5MgagnH','_createRevisionNameInput','1414193meKhvM','5820JXUvQI','Name\x20of\x20the\x20revision','keystrokes'];_0x18a8=function(){return _0xc1da27;};return _0x18a8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9bf5e1=_0x2412;(function(_0x560009,_0x509f5c){const _0x409858=_0x2412,_0x34e93d=_0x560009();while(!![]){try{const _0x87a226=-parseInt(_0x409858(0x22b))/0x1+-parseInt(_0x409858(0x1ee))/0x2*(parseInt(_0x409858(0x209))/0x3)+-parseInt(_0x409858(0x1f4))/0x4*(parseInt(_0x409858(0x1e9))/0x5)+parseInt(_0x409858(0x21e))/0x6+-parseInt(_0x409858(0x21f))/0x7*(parseInt(_0x409858(0x203))/0x8)+parseInt(_0x409858(0x221))/0x9*(parseInt(_0x409858(0x208))/0xa)+-parseInt(_0x409858(0x1e7))/0xb*(-parseInt(_0x409858(0x202))/0xc);if(_0x87a226===_0x509f5c)break;else _0x34e93d['push'](_0x34e93d['shift']());}catch(_0x141c73){_0x34e93d['push'](_0x34e93d['shift']());}}}(_0x4f0a,0xe0ddb));function _0x2412(_0x27e550,_0x212061){const _0x4f0a39=_0x4f0a();return _0x2412=function(_0x241245,_0x913191){_0x241245=_0x241245-0x1e6;let _0x5749ba=_0x4f0a39[_0x241245];return _0x5749ba;},_0x2412(_0x27e550,_0x212061);}import{Plugin as _0x213d19}from'ckeditor5/src/core.js';import{IconHistory as _0x197e8c}from'ckeditor5/src/icons.js';import{createDropdown as _0x1b3d2e,ButtonView as _0x2c59d9,ListItemView as _0x2d962b,ListView as _0x19fb52,MenuBarMenuListItemButtonView as _0x1a49d4,MenuBarMenuListItemView as _0x1c9613,MenuBarMenuListView as _0x43deb0,MenuBarMenuView as _0x404c63}from'ckeditor5/src/ui.js';function _0x4f0a(){const _0x4a2989=['componentFactory','editor','_showDialog','Save\x20current\x20revision','config','_registerMenuComponent','menu','Accept','add','pluginName','delegate','_createSaveRevisionFormView','60rZyBjH','88cSmuHX','focus','isReadOnly','init','RevisionTracker','2761700YfnIyl','144CYLuNH','saveRevision','Dialog','revisionSave','render','buttonView','The\x20revision\x20name\x20cannot\x20be\x20empty.','panelView','show','isOfficialPlugin','view','isReady','revisionHistory.requireRevisionName','Open\x20revision\x20history','submit','RevisionHistoryUI','role','requires','get','revisionHistory','Cancel','4283622XTjswM','252707SDkjMU','set','18RljUSK','execute','addMany','showRevisionViewerCallback','children','revisionName','menuitem','hide','locale','bind','337282NdjsFi','plugins','items','4708792fDGcZA','editing','1515MJmtJB','reset','ck-button-action','_saveRevisionFormView','isPremiumPlugin','3794aKCblD','errorText','menuBar:revisionHistory','revisionNameInputView','Revision\x20history','isOpen','21916wElPoL','isEnabled'];_0x4f0a=function(){return _0x4a2989;};return _0x4f0a();}import{RevisionTracker as _0x3e1c31}from'../../revisiontracker.js';import{RevisionHistorySaveRevisionFormView as _0x30d542}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x36ea0b}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0x213d19{static get[_0x9bf5e1(0x1ff)](){const _0x272186=_0x9bf5e1;return _0x272186(0x218);}static get[_0x9bf5e1(0x212)](){return!0x0;}static get[_0x9bf5e1(0x1ed)](){return!0x0;}static get[_0x9bf5e1(0x21a)](){return[_0x3e1c31];}[_0x9bf5e1(0x1ec)];[_0x9bf5e1(0x206)](){const _0x2db42a=_0x9bf5e1,_0x30b43e=this[_0x2db42a(0x1f7)],_0x281ebb=_0x30b43e[_0x2db42a(0x22c)][_0x2db42a(0x21b)](_0x2db42a(0x207));_0x30b43e['ui'][_0x2db42a(0x1f6)][_0x2db42a(0x1fe)](_0x2db42a(0x21c),_0x22078c=>{const _0x2026fc=_0x2db42a,_0x5946ca=_0x1b3d2e(_0x22078c),_0x30dbb7=_0x5946ca[_0x2026fc(0x210)][_0x2026fc(0x225)],_0x1d774e=new _0x19fb52(_0x22078c),_0xb32d32=new _0x2d962b(_0x22078c),_0x5795a3=new _0x2c59d9(_0x22078c),_0x2b4a62=new _0x2d962b(_0x22078c),_0x180ee8=new _0x2c59d9(_0x22078c);return _0x5946ca[_0x2026fc(0x22a)](_0x2026fc(0x1f5))['to'](_0x281ebb,_0x2026fc(0x214),_0x281ebb,_0x2026fc(0x1f5),_0x30b43e,_0x2026fc(0x205),(_0x575ee9,_0x384980,_0x4d5a3f)=>_0x575ee9&&_0x384980&&!_0x4d5a3f),_0x5946ca[_0x2026fc(0x20e)][_0x2026fc(0x220)]({'icon':_0x197e8c,'label':_0x36ea0b(_0x22078c,_0x2026fc(0x1f2)),'tooltip':!0x0}),_0x5795a3[_0x2026fc(0x220)]({'label':_0x36ea0b(_0x22078c,_0x2026fc(0x1f9)),'withText':!0x0,'role':_0x2026fc(0x227)}),_0x5795a3[_0x2026fc(0x22a)](_0x2026fc(0x1f5))['to'](_0x281ebb,_0x2026fc(0x214),_0x281ebb,_0x2026fc(0x1f5),_0x30b43e,_0x2026fc(0x205),(_0x271496,_0xa0ce85,_0x34c8c4)=>_0x271496&&_0xa0ce85&&!_0x34c8c4),_0x5795a3['on'](_0x2026fc(0x222),()=>this[_0x2026fc(0x1f8)]()),_0x180ee8[_0x2026fc(0x220)]({'label':_0x36ea0b(_0x22078c,_0x2026fc(0x216)),'withText':!0x0,'role':_0x2026fc(0x227)}),_0x180ee8[_0x2026fc(0x22a)](_0x2026fc(0x1f5))['to'](_0x281ebb,_0x2026fc(0x214),_0x30b43e,_0x2026fc(0x205),(_0x10b1f0,_0x1b1d18)=>_0x10b1f0&&!_0x1b1d18),_0x180ee8['on'](_0x2026fc(0x222),()=>{const _0x5aa9ce=_0x2026fc;_0x30b43e[_0x5aa9ce(0x1fa)][_0x5aa9ce(0x21b)](_0x5aa9ce(0x21c))[_0x5aa9ce(0x224)](),_0x5946ca[_0x5aa9ce(0x1f3)]=!0x1,_0x30b43e[_0x5aa9ce(0x1e8)][_0x5aa9ce(0x213)][_0x5aa9ce(0x204)]();}),_0xb32d32[_0x2026fc(0x225)][_0x2026fc(0x1fe)](_0x5795a3),_0x2b4a62[_0x2026fc(0x225)][_0x2026fc(0x1fe)](_0x180ee8),_0x1d774e[_0x2026fc(0x219)]=_0x2026fc(0x1fc),_0x1d774e[_0x2026fc(0x1e6)][_0x2026fc(0x223)]([_0xb32d32,_0x2b4a62]),_0x30dbb7[_0x2026fc(0x1fe)](_0x1d774e),_0x5946ca;}),_0x30b43e['ui'][_0x2db42a(0x1f6)][_0x2db42a(0x1fe)](_0x2db42a(0x1f0),()=>this[_0x2db42a(0x1fb)]());}[_0x9bf5e1(0x1fb)](){const _0xcc34d9=_0x9bf5e1,_0x5bdfe3=this[_0xcc34d9(0x1f7)],_0x318091=_0x5bdfe3[_0xcc34d9(0x229)],_0x2fd0ad=new _0x404c63(_0x318091),_0x1b5b03=new _0x43deb0(_0x318091);_0x2fd0ad[_0xcc34d9(0x20e)][_0xcc34d9(0x220)]({'icon':_0x197e8c,'label':_0x36ea0b(_0x318091,_0xcc34d9(0x1f2))});const _0x303a15=new _0x1c9613(_0x318091,_0x2fd0ad),_0x3a33a6=new _0x1a49d4(_0x318091);_0x3a33a6[_0xcc34d9(0x220)]({'label':_0x36ea0b(_0x318091,_0xcc34d9(0x1f9))}),_0x3a33a6[_0xcc34d9(0x200)](_0xcc34d9(0x222))['to'](_0x2fd0ad),_0x3a33a6['on'](_0xcc34d9(0x222),()=>{const _0x3e41fa=_0xcc34d9;this[_0x3e41fa(0x1f8)]();}),_0x303a15[_0xcc34d9(0x225)][_0xcc34d9(0x1fe)](_0x3a33a6),_0x1b5b03[_0xcc34d9(0x1e6)][_0xcc34d9(0x1fe)](_0x303a15);const _0x2906d8=new _0x1c9613(_0x318091,_0x2fd0ad),_0x46e778=new _0x1a49d4(_0x318091);return _0x46e778[_0xcc34d9(0x220)]({'label':_0x36ea0b(_0x318091,_0xcc34d9(0x216))}),_0x46e778[_0xcc34d9(0x200)](_0xcc34d9(0x222))['to'](_0x2fd0ad),_0x46e778['on'](_0xcc34d9(0x222),()=>{const _0x3418fe=_0xcc34d9;_0x5bdfe3[_0x3418fe(0x1fa)][_0x3418fe(0x21b)](_0x3418fe(0x21c))[_0x3418fe(0x224)]();}),_0x2906d8[_0xcc34d9(0x225)][_0xcc34d9(0x1fe)](_0x46e778),_0x1b5b03[_0xcc34d9(0x1e6)][_0xcc34d9(0x1fe)](_0x2906d8),_0x2fd0ad[_0xcc34d9(0x210)][_0xcc34d9(0x225)][_0xcc34d9(0x1fe)](_0x1b5b03),_0x2fd0ad;}[_0x9bf5e1(0x1f8)](){const _0x555b8d=_0x9bf5e1,_0x8b6556=this[_0x555b8d(0x1f7)],_0x7b2e5d=_0x8b6556[_0x555b8d(0x229)],_0x1affab=_0x8b6556[_0x555b8d(0x22c)][_0x555b8d(0x21b)](_0x555b8d(0x20b)),_0x27ebbe=_0x8b6556[_0x555b8d(0x22c)][_0x555b8d(0x21b)](_0x555b8d(0x207));function _0x8fdf75(_0x255604){const _0x92f947=_0x555b8d;_0x8b6556[_0x92f947(0x1fa)][_0x92f947(0x21b)](_0x92f947(0x215))&&''===_0x255604[_0x92f947(0x226)]?_0x255604[_0x92f947(0x1f1)][_0x92f947(0x1ef)]=_0x36ea0b(_0x7b2e5d,_0x92f947(0x20f)):(_0x8b6556[_0x92f947(0x22c)][_0x92f947(0x21b)](_0x3e1c31)[_0x92f947(0x20a)]({'name':_0x255604[_0x92f947(0x226)]}),_0x1affab[_0x92f947(0x228)]());}this[_0x555b8d(0x1ec)]||(this[_0x555b8d(0x201)](),this[_0x555b8d(0x1ec)]['on'](_0x555b8d(0x217),()=>_0x8fdf75(this[_0x555b8d(0x1ec)]))),this[_0x555b8d(0x1ec)][_0x555b8d(0x1ea)](),_0x1affab[_0x555b8d(0x211)]({'id':_0x555b8d(0x20c),'title':_0x36ea0b(_0x7b2e5d,_0x555b8d(0x1f9)),'isModal':!0x0,'content':this[_0x555b8d(0x1ec)],'actionButtons':[{'label':_0x36ea0b(_0x8b6556[_0x555b8d(0x229)],_0x555b8d(0x21d)),'withText':!0x0,'onExecute':()=>_0x1affab[_0x555b8d(0x228)]()},{'label':_0x36ea0b(_0x8b6556[_0x555b8d(0x229)],_0x555b8d(0x1fd)),'class':_0x555b8d(0x1eb),'withText':!0x0,'onCreate'(_0xd4181){const _0x37a2a3=_0x555b8d;_0xd4181[_0x37a2a3(0x22a)](_0x37a2a3(0x1f5))['to'](_0x27ebbe,_0x37a2a3(0x214),_0x27ebbe,_0x37a2a3(0x1f5),_0x8b6556,_0x37a2a3(0x205),(_0x12d477,_0x1697c5,_0x5598b6)=>_0x12d477&&_0x1697c5&&!_0x5598b6);},'onExecute':()=>_0x8fdf75(this[_0x555b8d(0x1ec)])}]});}[_0x9bf5e1(0x201)](){const _0x455aa5=_0x9bf5e1,_0x21e261=this[_0x455aa5(0x1f7)],_0x191b7c=_0x21e261[_0x455aa5(0x229)];this[_0x455aa5(0x1ec)]=new _0x30d542(_0x191b7c,_0x21e261[_0x455aa5(0x1fa)][_0x455aa5(0x21b)](_0x455aa5(0x215))),this[_0x455aa5(0x1ec)][_0x455aa5(0x20d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48666e=_0x4809;(function(_0x5ede6b,_0x55200f){const _0x2d6f2c=_0x4809,_0x5664fe=_0x5ede6b();while(!![]){try{const _0x51ada6=-parseInt(_0x2d6f2c(0xa0))/0x1+parseInt(_0x2d6f2c(0x9a))/0x2+parseInt(_0x2d6f2c(0xba))/0x3*(-parseInt(_0x2d6f2c(0xac))/0x4)+parseInt(_0x2d6f2c(0xcc))/0x5+parseInt(_0x2d6f2c(0xd1))/0x6+parseInt(_0x2d6f2c(0xd3))/0x7*(-parseInt(_0x2d6f2c(0xc2))/0x8)+parseInt(_0x2d6f2c(0xb7))/0x9*(parseInt(_0x2d6f2c(0xd9))/0xa);if(_0x51ada6===_0x55200f)break;else _0x5664fe['push'](_0x5664fe['shift']());}catch(_0x335384){_0x5664fe['push'](_0x5664fe['shift']());}}}(_0x5e6d,0x3c1d4));import{Plugin as _0x39b6b1}from'ckeditor5/src/core.js';function _0x5e6d(){const _0x127d6e=['54990sdVplB','compareAgainstSelected','revisionHistory.requireRevisionName','focus','Name\x20this\x20revision','availableRevisionActions','setName','change:diff','pluginName','timePeriodViews','editor','getRevisionsInDiff','isEnabled','data','element','highlightRevisions','getRevision','revisionHistory','length','defaultRevisionActions','307852GqXfLX','action','isOfficialPlugin','listenTo','nameRevision','locale','490317ECZfus','isSelected','revisionSelected','isPremiumPlugin','RevisionsSidebar','init','diff','getLaterVisibleRevision','config','render','getEarlierVisibleRevision','get','2444XOogrV','requires','_createRevisionActions','_handleRevisionSelected','add','string','restoreRevisionCallback','restoreRevision','repository','revisionSetName','remove','333CDCRSw','revisionViews','revisionHistory.revisionActions','489MHlmEu','_revisionsRepository','destroy','plugins','Restore\x20this\x20revision','fieldView','isVisible','_handleDiffChange','16QHVzuy','_handleEditorDataReady','isReady','assign','ready','Compare\x20against\x20selected','compare','map','_handleRevisionSetName','newRevisionId','1325180gdWhJK','_revisionViewer','revisionHistory.viewerSidebarContainer','getIndex','bind','1382322JUgOwk','appendChild','58359mUoANs','_sidebarView','selectRevision','_revisions','select','name'];_0x5e6d=function(){return _0x127d6e;};return _0x5e6d();}import{RevisionsSidebarView as _0x2a039b}from'./revisionssidebarview.js';import{RevisionViewer as _0xa12643}from'../../revisionviewer.js';class f extends _0x39b6b1{[_0x48666e(0xcd)];[_0x48666e(0xbb)];[_0x48666e(0xd4)];static [_0x48666e(0xec)]=[_0x48666e(0xda),_0x48666e(0xb3),_0x48666e(0x9e)];static [_0x48666e(0xde)]=(function(){const _0x381b70=_0x48666e;return{'compareAgainstSelected':{'name':_0x381b70(0xc7),'action':({plugins:i},s)=>{const _0xed7714=_0x381b70,e=i[_0xed7714(0xab)](_0xa12643),n=e[_0xed7714(0xb4)];let r=e[_0xed7714(0xa6)][_0xed7714(0xcb)],o=s['id'];n[_0xed7714(0xcf)](r)>n[_0xed7714(0xcf)](o)&&([r,o]=[o,r]),e[_0xed7714(0xc8)](r,o);},'isVisible':({plugins:i},s)=>{const _0x58b7fc=_0x381b70,e=i[_0x58b7fc(0xab)](_0xa12643);return!(e[_0x58b7fc(0xb4)][_0x58b7fc(0xe4)](e[_0x58b7fc(0xa6)])[_0x58b7fc(0xeb)]>0x2)&&!s[_0x58b7fc(0xa1)];}},'restoreRevision':{'name':_0x381b70(0xbe),'action':(i,{id:s})=>{const _0x48cd10=_0x381b70;i[_0x48cd10(0xa8)][_0x48cd10(0xab)](_0x48cd10(0xea))[_0x48cd10(0xb2)](s);},'isVisible':({plugins:i},s)=>!!i[_0x381b70(0xab)](_0xa12643)[_0x381b70(0xb4)][_0x381b70(0xa7)](s['id'])},'nameRevision':{'name':_0x381b70(0xdd),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x268623=_0x381b70,n=i[_0x268623(0xab)](_0xa12643),r=n[_0x268623(0xb4)][_0x268623(0xaa)](s);n[_0x268623(0xc8)](s,r),e[_0x268623(0xdc)](),e[_0x268623(0xbf)][_0x268623(0xd7)]();}}};}());static get[_0x48666e(0xe1)](){const _0xb2383f=_0x48666e;return _0xb2383f(0xa4);}static get[_0x48666e(0x9c)](){return!0x0;}static get[_0x48666e(0xa3)](){return!0x0;}static get[_0x48666e(0xad)](){return[_0xa12643];}constructor(_0x44fdf7){const _0x45f422=_0x48666e;super(_0x44fdf7),this[_0x45f422(0xcd)]=_0x44fdf7[_0x45f422(0xbd)][_0x45f422(0xab)](_0xa12643),this[_0x45f422(0xbb)]=this[_0x45f422(0xcd)][_0x45f422(0xb4)],this[_0x45f422(0xd4)]=null;}[_0x48666e(0xa5)](){const _0x241168=_0x48666e,_0x1c87b5=this[_0x241168(0xbb)][_0x241168(0xd6)],_0xe75c9=this[_0x241168(0xae)](),_0x36b03c=this[_0x241168(0xe3)][_0x241168(0xa8)][_0x241168(0xab)](_0x241168(0xce));this[_0x241168(0xd4)]=new _0x2a039b(this[_0x241168(0xe3)][_0x241168(0x9f)],_0x1c87b5,_0xe75c9,this[_0x241168(0xe3)][_0x241168(0xa8)][_0x241168(0xab)](_0x241168(0xdb))),this[_0x241168(0xd4)]['on'](_0x241168(0xa2),this[_0x241168(0xaf)][_0x241168(0xd0)](this)),this[_0x241168(0xd4)]['on'](_0x241168(0xb5),this[_0x241168(0xca)][_0x241168(0xd0)](this)),this[_0x241168(0xd4)][_0x241168(0xd0)](_0x241168(0xe5))['to'](this[_0x241168(0xcd)]),this[_0x241168(0xd4)][_0x241168(0xe2)]['on'](_0x241168(0xb0),(_0x21bda3,_0x2ce775)=>{const _0x1564a3=_0x241168;_0x2ce775[_0x1564a3(0xb8)]['on'](_0x1564a3(0xb0),(_0x39df9d,_0x3c414a)=>{const _0x36627b=_0x1564a3;_0x3c414a[_0x36627b(0xd0)](_0x36627b(0xe5),_0x36627b(0xc4))['to'](this[_0x36627b(0xcd)]);});}),this[_0x241168(0xd4)][_0x241168(0xa9)](),this[_0x241168(0x9d)](this[_0x241168(0xe3)][_0x241168(0xe6)],_0x241168(0xc6),this[_0x241168(0xc3)][_0x241168(0xd0)](this)),this[_0x241168(0x9d)](this[_0x241168(0xcd)],_0x241168(0xe0),this[_0x241168(0xc1)][_0x241168(0xd0)](this)),_0x36b03c[_0x241168(0xd2)](this[_0x241168(0xd4)][_0x241168(0xe7)]);}[_0x48666e(0xbc)](){const _0x1d754c=_0x48666e;this[_0x1d754c(0xd4)][_0x1d754c(0xe7)][_0x1d754c(0xb6)](),this[_0x1d754c(0xd4)][_0x1d754c(0xbc)]();}[_0x48666e(0xc3)](){const _0x5714b4=_0x48666e,_0x540b01=this[_0x5714b4(0xbb)][_0x5714b4(0xe9)](0x0);if(_0x540b01){const _0x5020b1=this[_0x5714b4(0xbb)][_0x5714b4(0xaa)](_0x540b01['id']);this[_0x5714b4(0xcd)][_0x5714b4(0xc8)](_0x540b01,_0x5020b1);}}[_0x48666e(0xaf)](_0x4b2a6f,_0x471a69){const _0x4598b8=_0x48666e,_0x449c4c=this[_0x4598b8(0xbb)][_0x4598b8(0xe9)](_0x471a69['id']),_0x20d76d=this[_0x4598b8(0xbb)][_0x4598b8(0xaa)](_0x449c4c['id']);this[_0x4598b8(0xcd)][_0x4598b8(0xc8)](_0x449c4c,_0x20d76d);}[_0x48666e(0xca)](_0x5b1efe,_0x37a8b3){const _0x732d6=_0x48666e;this[_0x732d6(0xbb)][_0x732d6(0xe9)](_0x37a8b3['id'])[_0x732d6(0xdf)](_0x37a8b3[_0x732d6(0xd8)]);}[_0x48666e(0xc1)](_0x381494,_0x551468,_0x20b92a){const _0x3a0e5d=_0x48666e,_0x1d0924=this[_0x3a0e5d(0xbb)][_0x3a0e5d(0xe4)](_0x20b92a);_0x1d0924[_0x3a0e5d(0xeb)]>0x2?(this[_0x3a0e5d(0xd4)][_0x3a0e5d(0xe8)](_0x1d0924),this[_0x3a0e5d(0xd4)][_0x3a0e5d(0xd5)](null)):(this[_0x3a0e5d(0xd4)][_0x3a0e5d(0xe8)]([]),this[_0x3a0e5d(0xd4)][_0x3a0e5d(0xd5)](_0x1d0924[0x0]));}[_0x48666e(0xae)](){const _0x87dfaa=_0x48666e,_0x15a3fa=this[_0x87dfaa(0xe3)],_0x10f946=f[_0x87dfaa(0xde)],_0x500832=_0x15a3fa[_0x87dfaa(0xa8)][_0x87dfaa(0xab)](_0x87dfaa(0xb9))||f[_0x87dfaa(0xec)];if(_0x500832[_0x87dfaa(0xeb)])return _0x500832[_0x87dfaa(0xc9)](_0x51d784=>{const _0x3ec5e2=_0x87dfaa,_0x1a9acd=_0x3ec5e2(0xb1)==typeof _0x51d784?Object[_0x3ec5e2(0xc5)]({},_0x10f946[_0x51d784]):_0x51d784;return _0x1a9acd[_0x3ec5e2(0x9b)]=_0x1a9acd[_0x3ec5e2(0x9b)][_0x3ec5e2(0xd0)](this,_0x15a3fa),_0x1a9acd[_0x3ec5e2(0xc0)]&&(_0x1a9acd[_0x3ec5e2(0xc0)]=_0x1a9acd[_0x3ec5e2(0xc0)][_0x3ec5e2(0xd0)](this,_0x15a3fa)),_0x1a9acd;});}}function _0x4809(_0x1787fb,_0x2e1be8){const _0x5e6d7e=_0x5e6d();return _0x4809=function(_0x480903,_0x21ac95){_0x480903=_0x480903-0x9a;let _0x2f8767=_0x5e6d7e[_0x480903];return _0x2f8767;},_0x4809(_0x1787fb,_0x2e1be8);}export{f as RevisionsSidebar};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xd1bec8,_0x5d93b0){const _0x5d0382=_0x2014,_0x4661eb=_0xd1bec8();while(!![]){try{const _0x124452=-parseInt(_0x5d0382(0xdf))/0x1*(parseInt(_0x5d0382(0xe2))/0x2)+parseInt(_0x5d0382(0xe9))/0x3+-parseInt(_0x5d0382(0xe3))/0x4+parseInt(_0x5d0382(0xeb))/0x5+parseInt(_0x5d0382(0xe1))/0x6+parseInt(_0x5d0382(0xde))/0x7+-parseInt(_0x5d0382(0xe7))/0x8;if(_0x124452===_0x5d93b0)break;else _0x4661eb['push'](_0x4661eb['shift']());}catch(_0x4e3f31){_0x4661eb['push'](_0x4661eb['shift']());}}}(_0x3c9d,0x7d9e7));import{View as _0x557b2c,IconView as _0x230019}from'ckeditor5/src/ui.js';function _0x3c9d(){const _0x1e7958=['506571bASFxW','setTemplate','3764215RxmfnV','div','content','3617523WtEQgz','4feWsos','ck-revision-history-sidebar__header__label','724716bhAcHa','106706RMRfCc','335652BqmWma','ck-reset_all','ck-revision-history-sidebar__header','Revision\x20history','5979320hHFxkZ','span'];_0x3c9d=function(){return _0x1e7958;};return _0x3c9d();}function _0x2014(_0x535e53,_0x908192){const _0x3c9db5=_0x3c9d();return _0x2014=function(_0x2014a0,_0x1cf58b){_0x2014a0=_0x2014a0-0xdd;let _0x5065e4=_0x3c9db5[_0x2014a0];return _0x5065e4;},_0x2014(_0x535e53,_0x908192);}import{getTranslation as _0x1a68e6}from'../../utils/common-translations.js';import{IconHistory as _0x4c6f39}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x557b2c{constructor(_0x2f2d87){const _0x245678=_0x2014;super(_0x2f2d87);const _0x936ac2=new _0x230019();_0x936ac2[_0x245678(0xdd)]=_0x4c6f39,this[_0x245678(0xea)]({'tag':_0x245678(0xec),'attributes':{'class':['ck',_0x245678(0xe4),_0x245678(0xe5)]},'children':[_0x936ac2,{'tag':_0x245678(0xe8),'attributes':{'class':['ck',_0x245678(0xe0)]},'children':[_0x1a68e6(_0x2f2d87,_0x245678(0xe6))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xda0e64=_0x2286;function _0x2286(_0x5eede8,_0xec519){const _0x169e84=_0x169e();return _0x2286=function(_0x228662,_0x4c3cf4){_0x228662=_0x228662-0xa6;let _0x4f6e99=_0x169e84[_0x228662];return _0x4f6e99;},_0x2286(_0x5eede8,_0xec519);}(function(_0x269308,_0x254528){const _0x572cc4=_0x2286,_0xb91349=_0x269308();while(!![]){try{const _0x11b21b=-parseInt(_0x572cc4(0xaa))/0x1*(parseInt(_0x572cc4(0xc2))/0x2)+parseInt(_0x572cc4(0xc3))/0x3+parseInt(_0x572cc4(0xbd))/0x4*(parseInt(_0x572cc4(0xad))/0x5)+-parseInt(_0x572cc4(0xa6))/0x6+-parseInt(_0x572cc4(0xb5))/0x7+-parseInt(_0x572cc4(0xbb))/0x8+parseInt(_0x572cc4(0xaf))/0x9;if(_0x11b21b===_0x254528)break;else _0xb91349['push'](_0xb91349['shift']());}catch(_0x2c4736){_0xb91349['push'](_0xb91349['shift']());}}}(_0x169e,0xc4bdb));import{View as _0x13b159}from'ckeditor5/src/ui.js';import{RevisionView as _0x49a47d}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x5b9907}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x13b159{[_0xda0e64(0xc4)];[_0xda0e64(0xbf)];[_0xda0e64(0xb9)];[_0xda0e64(0xba)];constructor(_0x3a7288,_0x197a5,_0x4e9bd8,_0x4262b3){const _0x3bcf8c=_0xda0e64;super(_0x3a7288);const _0xca751a=_0x5b9907(_0x197a5,this[_0x3bcf8c(0xa9)][_0x3bcf8c(0xb3)])[_0x3bcf8c(0xb2)];this[_0x3bcf8c(0xc4)]=_0x197a5,this[_0x3bcf8c(0xbf)]=this[_0x3bcf8c(0xc1)](),this[_0x3bcf8c(0xb9)]=_0x4e9bd8,this[_0x3bcf8c(0xba)]=_0x4262b3,this[_0x3bcf8c(0xbf)][_0x3bcf8c(0xac)](_0x3bcf8c(0xae))['to'](this),this[_0x3bcf8c(0xbf)][_0x3bcf8c(0xac)](_0x3bcf8c(0xb6))['to'](this),this[_0x3bcf8c(0xc0)]({'tag':_0x3bcf8c(0xab),'attributes':{'class':['ck',_0x3bcf8c(0xb8)]},'children':[{'tag':_0x3bcf8c(0xa7),'attributes':{'class':['ck',_0x3bcf8c(0xbc)]},'children':[{'text':_0xca751a}]},{'tag':_0x3bcf8c(0xab),'attributes':{'class':['ck',_0x3bcf8c(0xb4)]},'children':this[_0x3bcf8c(0xbf)]}]});}[_0xda0e64(0xb0)](_0x2a3132){const _0x1ba3b8=_0xda0e64,_0x1e7953=new _0x49a47d(this[_0x1ba3b8(0xa9)],_0x2a3132,this[_0x1ba3b8(0xb9)],this[_0x1ba3b8(0xba)]);this[_0x1ba3b8(0xbf)][_0x1ba3b8(0xb7)](_0x1e7953);}[_0xda0e64(0xb1)](_0x53eb31){const _0x4362ee=_0xda0e64,_0x48b2e5=this[_0x4362ee(0xbf)][_0x4362ee(0xbe)](_0x1cb980=>_0x1cb980['id']===_0x53eb31['id']);this[_0x4362ee(0xbf)][_0x4362ee(0xa8)](_0x48b2e5);}}function _0x169e(){const _0x152019=['1896260hMgKft','select','26425341UipDcd','addRevision','removeRevision','localizedPeriodName','uiLanguage','ck-revision-history-sidebar__time-period__revisions','1846481SSRYYG','setName','add','ck-revision-history-sidebar__time-period','_revisionActions','_requireRevisionName','8868544DFGMTT','ck-revision-history-sidebar__time-period__label','16fhbjUo','find','revisionViews','setTemplate','createCollection','2470834ufOJQm','1699335eaRzal','startDate','9635898VlBBfC','span','remove','locale','1gYCzVU','div','delegate'];_0x169e=function(){return _0x152019;};return _0x169e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2bf410=_0x1071;(function(_0x5c9a01,_0x137665){const _0x503507=_0x1071,_0x54899e=_0x5c9a01();while(!![]){try{const _0x4b46d3=-parseInt(_0x503507(0x90))/0x1+-parseInt(_0x503507(0x7d))/0x2+parseInt(_0x503507(0x82))/0x3+parseInt(_0x503507(0xa0))/0x4+-parseInt(_0x503507(0x9a))/0x5+parseInt(_0x503507(0xaa))/0x6+-parseInt(_0x503507(0x93))/0x7;if(_0x4b46d3===_0x137665)break;else _0x54899e['push'](_0x54899e['shift']());}catch(_0x23a953){_0x54899e['push'](_0x54899e['shift']());}}}(_0x30db,0x9b151));function _0x1071(_0x276e4f,_0x18c2f5){const _0x30db21=_0x30db();return _0x1071=function(_0x1071e8,_0x4086d2){_0x1071e8=_0x1071e8-0x77;let _0x30d931=_0x30db21[_0x1071e8];return _0x30d931;},_0x1071(_0x276e4f,_0x18c2f5);}import{View as _0x3e7874}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x355811}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x20300f}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x598b42}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';function _0x30db(){const _0x24e680=['_requireRevisionName','_addRevision','find','selectRevision','render','addRevision','ck-revision-history-sidebar','isEnabled','highlight','div','some','399161JwQaJl','_revisionActions','locale','10151120vsaOaG','ck-disabled','getTime','revisionSetName','removeRevision','ck-revision-history-sidebar__timeline','remove','209315YTImjr','ck-reset','map','highlightRevisions','createCollection','deselect','4472056qdZram','revisionViews','_removeRevision','flat','revisionSelected','select','setName','ck-rounded-corners','delegate','unhighlight','7185570gfrNsB','get','set','_getTimePeriodViewByStartDate','fire','_revisions','timePeriodViews','1185914BMrYzJ','bindTemplate','add','uiLanguage','startDate','2411247opsZpK','createdAt','setTemplate'];_0x30db=function(){return _0x24e680;};return _0x30db();}export class RevisionsSidebarView extends _0x3e7874{[_0x2bf410(0x7c)];[_0x2bf410(0x7b)];[_0x2bf410(0x91)];[_0x2bf410(0x85)];constructor(_0x23a6e3,_0x2dec7d,_0x5802ca,_0x101b49){const _0x2d9b60=_0x2bf410;super(_0x23a6e3);const _0x4d3d79=this[_0x2d9b60(0x7e)];this[_0x2d9b60(0x7c)]=this[_0x2d9b60(0x9e)](),this[_0x2d9b60(0x7c)][_0x2d9b60(0xa8)](_0x2d9b60(0xa5))['to'](this),this[_0x2d9b60(0x7c)][_0x2d9b60(0xa8)](_0x2d9b60(0xa6))['to'](this),this[_0x2d9b60(0x7b)]=_0x2dec7d,this[_0x2d9b60(0x91)]=_0x5802ca,this[_0x2d9b60(0x85)]=_0x101b49,this['on'](_0x2d9b60(0xa5),(_0x5f2f3f,_0x5ca5da)=>{const _0x206352=_0x2d9b60;this[_0x206352(0x7a)](_0x206352(0xa4),_0x5ca5da);}),this['on'](_0x2d9b60(0xa6),(_0x42c01c,_0x19ccc4)=>{const _0x2963a4=_0x2d9b60;this[_0x2963a4(0x7a)](_0x2963a4(0x96),_0x19ccc4);}),this[_0x2d9b60(0x78)](_0x2d9b60(0x8c),!0x1),this[_0x2d9b60(0x84)]({'tag':_0x2d9b60(0x8e),'attributes':{'class':['ck',_0x2d9b60(0x9b),_0x2d9b60(0xa7),_0x2d9b60(0x8b)]},'children':[new _0x20300f(_0x23a6e3),{'tag':_0x2d9b60(0x8e),'attributes':{'class':['ck',_0x2d9b60(0x98),_0x4d3d79['if'](_0x2d9b60(0x8c),_0x2d9b60(0x94),_0x252757=>!_0x252757)]},'children':this[_0x2d9b60(0x7c)]}]});}[_0x2bf410(0x89)](){const _0x4fc698=_0x2bf410;super[_0x4fc698(0x89)]();for(const _0x3f9c8b of this[_0x4fc698(0x7b)])this[_0x4fc698(0x86)](_0x3f9c8b);this[_0x4fc698(0x7b)]['on'](_0x4fc698(0x7f),(_0x1708d6,_0x204bab)=>{const _0x50cf53=_0x4fc698;this[_0x50cf53(0x86)](_0x204bab);}),this[_0x4fc698(0x7b)]['on'](_0x4fc698(0x99),(_0x2cc3f5,_0x3c8b45)=>{const _0x191c0c=_0x4fc698;this[_0x191c0c(0xa2)](_0x3c8b45);});}get[_0x2bf410(0xa1)](){const _0x4e0edc=_0x2bf410;return this[_0x4e0edc(0x7c)][_0x4e0edc(0x9c)](_0x2df692=>_0x2df692[_0x4e0edc(0xa1)][_0x4e0edc(0x9c)](_0x81dcf9=>_0x81dcf9))[_0x4e0edc(0xa3)]();}[_0x2bf410(0x88)](_0x21662a){const _0x355673=_0x2bf410;for(const _0x578a5e of this[_0x355673(0xa1)])_0x21662a&&_0x21662a['id']===_0x578a5e['id']?_0x578a5e[_0x355673(0xa5)]():_0x578a5e[_0x355673(0x9f)]();}[_0x2bf410(0x9d)](_0x378fb3){const _0x22c085=_0x2bf410;for(const _0x54acf0 of this[_0x22c085(0xa1)])_0x378fb3[_0x22c085(0x8f)](({id:_0x150828})=>_0x150828===_0x54acf0['id'])?_0x54acf0[_0x22c085(0x8d)]():_0x54acf0[_0x22c085(0xa9)]();}[_0x2bf410(0x86)](_0x35e50e){const _0x114ecd=_0x2bf410,_0x73efa3=_0x598b42(_0x35e50e[_0x114ecd(0x83)],this[_0x114ecd(0x92)][_0x114ecd(0x80)])[_0x114ecd(0x81)];let _0x4c45ad=this[_0x114ecd(0x7c)][_0x114ecd(0x77)](0x0);_0x4c45ad&&_0x4c45ad[_0x114ecd(0x81)][_0x114ecd(0x95)]()===_0x73efa3[_0x114ecd(0x95)]()||(_0x4c45ad=new _0x355811(this[_0x114ecd(0x92)],_0x73efa3,this[_0x114ecd(0x91)],this[_0x114ecd(0x85)]),this[_0x114ecd(0x7c)][_0x114ecd(0x7f)](_0x4c45ad)),_0x4c45ad[_0x114ecd(0x8a)](_0x35e50e);}[_0x2bf410(0xa2)](_0x353266){const _0x166d9b=_0x2bf410,_0x4ddceb=_0x598b42(_0x353266[_0x166d9b(0x83)],this[_0x166d9b(0x92)][_0x166d9b(0x80)])[_0x166d9b(0x81)];this[_0x166d9b(0x79)](_0x4ddceb)[_0x166d9b(0x97)](_0x353266);}[_0x2bf410(0x79)](_0x139517){const _0x5c7e43=_0x2bf410;return this[_0x5c7e43(0x7c)][_0x5c7e43(0x87)](_0x53cbd5=>_0x53cbd5[_0x5c7e43(0x81)][_0x5c7e43(0x95)]()===_0x139517[_0x5c7e43(0x95)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2ee6(_0x1ea51e,_0x310cb4){const _0x52c3e4=_0x52c3();return _0x2ee6=function(_0x2ee6ab,_0x42bad9){_0x2ee6ab=_0x2ee6ab-0x68;let _0x35add4=_0x52c3e4[_0x2ee6ab];return _0x35add4;},_0x2ee6(_0x1ea51e,_0x310cb4);}(function(_0x33f9b6,_0x10e33d){const _0x5778a8=_0x2ee6,_0x4233b5=_0x33f9b6();while(!![]){try{const _0x4ef1a2=-parseInt(_0x5778a8(0x78))/0x1+parseInt(_0x5778a8(0x70))/0x2*(-parseInt(_0x5778a8(0x7c))/0x3)+-parseInt(_0x5778a8(0x71))/0x4*(-parseInt(_0x5778a8(0x76))/0x5)+parseInt(_0x5778a8(0x74))/0x6+parseInt(_0x5778a8(0x6f))/0x7+-parseInt(_0x5778a8(0x7e))/0x8+parseInt(_0x5778a8(0x75))/0x9*(parseInt(_0x5778a8(0x6a))/0xa);if(_0x4ef1a2===_0x10e33d)break;else _0x4233b5['push'](_0x4233b5['shift']());}catch(_0x39c035){_0x4233b5['push'](_0x4233b5['shift']());}}}(_0x52c3,0x3ff1b));import{DateTime as _0x3ef7e9}from'luxon';function _0x52c3(){const _0xd80dcf=['1664622OOGtUX','459zIonDm','296115nZiqFV','setLocale','108980fuKGFJ','minus','toRelativeCalendar','month','1097013GNjioe','monthLong','1169712LjkGaI','year','weekdayLong','hasSame','14710GSTlbo','startOf','fromJSDate','local','week','3297693WgEdtm','2DNnIUe','4JBWmXn','toJSDate','day'];_0x52c3=function(){return _0xd80dcf;};return _0x52c3();}export function getDateTimePeriodInfo(_0x39a43a,_0x2536f4){const _0x4269e5=_0x2ee6,_0x537bbe=_0x3ef7e9[_0x4269e5(0x6c)](_0x39a43a)[_0x4269e5(0x77)](_0x2536f4),_0xd231b3=_0x3ef7e9[_0x4269e5(0x6d)](),_0x153a59=_0xd231b3[_0x4269e5(0x79)]({'days':0x1})[_0x4269e5(0x6b)](_0x4269e5(0x73));let _0xa8f959,_0x527eef;return _0x537bbe[_0x4269e5(0x69)](_0xd231b3,_0x4269e5(0x73))?(_0xa8f959=_0x537bbe[_0x4269e5(0x6b)](_0x4269e5(0x73))[_0x4269e5(0x72)](),_0x527eef=_0x537bbe[_0x4269e5(0x7a)]()):_0x537bbe[_0x4269e5(0x69)](_0x153a59,_0x4269e5(0x73))?(_0xa8f959=_0x153a59[_0x4269e5(0x72)](),_0x527eef=_0x537bbe[_0x4269e5(0x7a)]()):_0x537bbe[_0x4269e5(0x69)](_0xd231b3,_0x4269e5(0x6e))?(_0xa8f959=_0x537bbe[_0x4269e5(0x6b)](_0x4269e5(0x6e))[_0x4269e5(0x72)](),_0x527eef=_0x537bbe[_0x4269e5(0x68)]||''):_0x537bbe[_0x4269e5(0x69)](_0xd231b3,_0x4269e5(0x7f))?(_0xa8f959=_0x537bbe[_0x4269e5(0x6b)](_0x4269e5(0x7b))[_0x4269e5(0x72)](),_0x527eef=_0x537bbe[_0x4269e5(0x7d)]||''):(_0xa8f959=_0x537bbe[_0x4269e5(0x6b)](_0x4269e5(0x7f))[_0x4269e5(0x72)](),_0x527eef=String(_0x537bbe[_0x4269e5(0x7f)])),{'startDate':_0xa8f959,'localizedPeriodName':_0x527eef};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20c2fa=_0x1791;(function(_0x1ad0d3,_0x3fa5c2){const _0x386f2a=_0x1791,_0x1e8070=_0x1ad0d3();while(!![]){try{const _0x5201a0=parseInt(_0x386f2a(0xc9))/0x1+-parseInt(_0x386f2a(0xb2))/0x2+parseInt(_0x386f2a(0xc7))/0x3*(parseInt(_0x386f2a(0xcd))/0x4)+-parseInt(_0x386f2a(0xca))/0x5*(parseInt(_0x386f2a(0xb1))/0x6)+parseInt(_0x386f2a(0xc0))/0x7*(parseInt(_0x386f2a(0xb5))/0x8)+-parseInt(_0x386f2a(0xb3))/0x9*(-parseInt(_0x386f2a(0xc2))/0xa)+-parseInt(_0x386f2a(0xb4))/0xb;if(_0x5201a0===_0x3fa5c2)break;else _0x1e8070['push'](_0x1e8070['shift']());}catch(_0xe8d567){_0x1e8070['push'](_0x1e8070['shift']());}}}(_0x5d8b,0xc45ef));import{View as _0x29c4ee}from'ckeditor5/src/ui.js';import{getTranslation as _0x2d72ec}from'../../utils/common-translations.js';function _0x5d8b(){const _0x29ad0e=['Added\x20by','10010HaLZXK','author','type','Removed\x20by','ck-revision-change__','2343rWxnJf','focus','477368LpkJUX','10Xluwim','setTemplate','element','7292xcoRoh','name','changeId','ck-revision-change__label','set','2358402TJaSDj','1813758BySzGZ','14301zCYjwS','21833724Ytieyp','495256zEwQRW','Suggested\x20by','data','bindTemplate','_model','span','add','isSuggestion','div','ck-annotation','ck-revision-change','112AIakdI'];_0x5d8b=function(){return _0x29ad0e;};return _0x5d8b();}function _0x1791(_0x2e8e1d,_0x37e70b){const _0x5d8be5=_0x5d8b();return _0x1791=function(_0x179103,_0x1bd261){_0x179103=_0x179103-0xad;let _0x49e4f8=_0x5d8be5[_0x179103];return _0x49e4f8;},_0x1791(_0x2e8e1d,_0x37e70b);}export class ChangeDetailsView extends _0x29c4ee{[_0x20c2fa(0xae)];[_0x20c2fa(0xb9)];constructor(_0xf7067f,_0x432a7f){const _0x1d0d05=_0x20c2fa;super(_0xf7067f),this[_0x1d0d05(0xb9)]=_0x432a7f,this[_0x1d0d05(0xae)]=_0x432a7f['id'];const _0x1e354a=this[_0x1d0d05(0xb8)],_0x272c11=_0x2d72ec(_0xf7067f,_0x432a7f[_0x1d0d05(0xb7)][_0x1d0d05(0xbc)]?_0x1d0d05(0xb6):_0x1d0d05(0xbb)==_0x432a7f[_0x1d0d05(0xc4)]?_0x1d0d05(0xc1):_0x1d0d05(0xc5));this[_0x1d0d05(0xb0)](_0x1d0d05(0xc4),_0x432a7f[_0x1d0d05(0xc4)]),this[_0x1d0d05(0xcb)]({'tag':_0x1d0d05(0xbd),'attributes':{'class':[_0x1d0d05(0xbe),_0x1d0d05(0xbf),_0x1e354a['to'](_0x1d0d05(0xc4),_0x2229f2=>_0x1d0d05(0xc6)+_0x2229f2)],'tabindex':-0x1},'children':[{'tag':_0x1d0d05(0xba),'children':[{'tag':_0x1d0d05(0xba),'attributes':{'class':[_0x1d0d05(0xaf)]},'children':[{'text':_0x272c11}]},{'text':'\x20'+_0x432a7f[_0x1d0d05(0xc3)][_0x1d0d05(0xad)]}]}]});}[_0x20c2fa(0xc8)](){const _0x205918=_0x20c2fa;this[_0x205918(0xcc)][_0x205918(0xc8)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2608(){const _0x2600f6=['fire','bindTemplate','NUMBER_OF_CHANGES','isEnabled','ck-hidden','4556550CQFQLq','18OSxPHU','Total','7161517TXfbkj','Show\x20previous\x20change','24Vwhyuh','div','No\x20changes','ck-revision-history-ui__changes-navigation__navigation','13646FrqNvC','1510608aeAjZd','backward','ck-revision-history-ui__changes-navigation__wrapper','forward','68CPaquA','X_OF_Y_CHANGES','EDIT_X_OF_Y_REVISIONS','_statusText','span','35XicQtG','setTemplate','1418772cJrOEj','execute','4vgUSCD','Loading...','isForwardNavigationEnabled','isReady','set','ck-revision-history-ui__changes-navigation','ck-revision-history-ui__changes-navigation__label','5092195UxoPmd','isNavigationMode','bind','516616oRTgTU','numberOfChanges','isBackwardNavigationEnabled','Show\x20next\x20change','currentChangeNumber','_isStatusLabelVisible','ck-revision-history-ui'];_0x2608=function(){return _0x2600f6;};return _0x2608();}(function(_0x556c1a,_0x41f2ab){const _0x2a4c2d=_0x275f,_0xf3647d=_0x556c1a();while(!![]){try{const _0x34d0c6=-parseInt(_0x2a4c2d(0x13a))/0x1*(parseInt(_0x2a4c2d(0x135))/0x2)+parseInt(_0x2a4c2d(0x141))/0x3+parseInt(_0x2a4c2d(0x143))/0x4*(-parseInt(_0x2a4c2d(0x14a))/0x5)+-parseInt(_0x2a4c2d(0x136))/0x6+parseInt(_0x2a4c2d(0x13f))/0x7*(-parseInt(_0x2a4c2d(0x14d))/0x8)+parseInt(_0x2a4c2d(0x12d))/0x9*(parseInt(_0x2a4c2d(0x12c))/0xa)+-parseInt(_0x2a4c2d(0x12f))/0xb*(-parseInt(_0x2a4c2d(0x131))/0xc);if(_0x34d0c6===_0x41f2ab)break;else _0xf3647d['push'](_0xf3647d['shift']());}catch(_0x9e73f9){_0xf3647d['push'](_0xf3647d['shift']());}}}(_0x2608,0x99a18));import{View as _0x305902,ButtonView as _0x331f86,ToolbarSeparatorView as _0x508921}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x3e4d2c,IconChevronDown as _0x51c71f}from'ckeditor5/src/icons.js';import{getTranslation as _0x4bfd3f}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';function _0x275f(_0x1bde12,_0x1a6ade){const _0x26080f=_0x2608();return _0x275f=function(_0x275f60,_0xe5cfc2){_0x275f60=_0x275f60-0x123;let _0x19c00b=_0x26080f[_0x275f60];return _0x19c00b;},_0x275f(_0x1bde12,_0x1a6ade);}export class ChangesNavigationView extends _0x305902{constructor(_0x59e492){const _0x34a060=_0x275f;super(_0x59e492);const _0x55eb92=this[_0x34a060(0x128)],_0x38224e=new _0x331f86(_0x59e492),_0x171650=new _0x331f86(_0x59e492);this[_0x34a060(0x147)](_0x34a060(0x14b),!0x1),this[_0x34a060(0x147)](_0x34a060(0x146),!0x1),this[_0x34a060(0x147)](_0x34a060(0x124),0x0),this[_0x34a060(0x147)](_0x34a060(0x14e),0x0),this[_0x34a060(0x147)](_0x34a060(0x145),!0x1),this[_0x34a060(0x147)](_0x34a060(0x14f),!0x1),this[_0x34a060(0x14c)](_0x34a060(0x125))['to'](this,_0x34a060(0x146),this,_0x34a060(0x14e),(_0x7d3f48,_0x382b25)=>_0x7d3f48&&_0x382b25>0x0),this[_0x34a060(0x14c)](_0x34a060(0x13d))['to'](this,_0x34a060(0x146),this,_0x34a060(0x124),this,_0x34a060(0x14e),this,_0x34a060(0x14b),(_0xf199ce,_0x57c270,_0x5daa55,_0xa6af73)=>{const _0x124736=_0x34a060;if(!_0xf199ce)return _0x4bfd3f(_0x59e492,_0x124736(0x144));if(!_0x5daa55)return _0x4bfd3f(_0x59e492,_0x124736(0x133));const _0x309c57=_0x4bfd3f(_0x59e492,_0x124736(0x129),_0x5daa55);return _0xa6af73?_0x4bfd3f(_0x59e492,_0x124736(0x13b),[_0x57c270+0x1,_0x5daa55]):_0x309c57;}),_0x38224e[_0x34a060(0x147)]({'label':_0x4bfd3f(_0x59e492,_0x34a060(0x130)),'tooltip':!0x0,'icon':_0x3e4d2c}),_0x171650[_0x34a060(0x147)]({'label':_0x4bfd3f(_0x59e492,_0x34a060(0x123)),'tooltip':!0x0,'icon':_0x51c71f}),_0x38224e[_0x34a060(0x14c)](_0x34a060(0x12a))['to'](this,_0x34a060(0x14f)),_0x171650[_0x34a060(0x14c)](_0x34a060(0x12a))['to'](this,_0x34a060(0x145)),_0x38224e['on'](_0x34a060(0x142),()=>this[_0x34a060(0x127)](_0x34a060(0x142),_0x34a060(0x137))),_0x171650['on'](_0x34a060(0x142),()=>this[_0x34a060(0x127)](_0x34a060(0x142),_0x34a060(0x139))),this[_0x34a060(0x140)]({'tag':_0x34a060(0x132),'attributes':{'class':['ck',_0x34a060(0x126),_0x34a060(0x148)]},'children':[{'tag':_0x34a060(0x13e),'attributes':{'class':[_0x34a060(0x138)]},'children':[{'tag':_0x34a060(0x13e),'attributes':{'class':[_0x34a060(0x149),_0x55eb92['if'](_0x34a060(0x125),_0x34a060(0x12b),_0x2f7fd7=>!_0x2f7fd7)]},'children':[{'text':_0x55eb92['to'](_0x34a060(0x14b),_0x47f814=>_0x47f814?_0x4bfd3f(_0x59e492,_0x34a060(0x13c))+':\x20':_0x4bfd3f(_0x59e492,_0x34a060(0x12e))+':\x20')}]},{'text':_0x55eb92['to'](_0x34a060(0x13d))}]},new _0x508921(),{'tag':_0x34a060(0x132),'attributes':{'class':[_0x34a060(0x134)]},'children':[_0x38224e,_0x171650]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20772c=_0x436e;function _0x28bf(){const _0x19ccbe=['329532RykSDb','5237760hYwgaT','hide','change','roots','isOfficialPlugin','pluginName','922580DkOmjB','editing','RevisionViewerLoadingOverlay','63619dYrOFz','ck-editor__editable__loading-overlay','387063uBKpOk','2527091yYCFzW','view','editor','40kRmoDo','document','isPremiumPlugin','2649365JLFPJY','removeClass','addClass','256UTrYhK','show'];_0x28bf=function(){return _0x19ccbe;};return _0x28bf();}(function(_0x4507c7,_0x812595){const _0x18af41=_0x436e,_0x24c1d9=_0x4507c7();while(!![]){try{const _0x503a4f=parseInt(_0x18af41(0x1c2))/0x1*(parseInt(_0x18af41(0x1c8))/0x2)+-parseInt(_0x18af41(0x1b8))/0x3+parseInt(_0x18af41(0x1bf))/0x4+-parseInt(_0x18af41(0x1cb))/0x5+parseInt(_0x18af41(0x1b9))/0x6+parseInt(_0x18af41(0x1c5))/0x7+parseInt(_0x18af41(0x1b6))/0x8*(-parseInt(_0x18af41(0x1c4))/0x9);if(_0x503a4f===_0x812595)break;else _0x24c1d9['push'](_0x24c1d9['shift']());}catch(_0x3d9981){_0x24c1d9['push'](_0x24c1d9['shift']());}}}(_0x28bf,0xb00a1));function _0x436e(_0x439f16,_0xeb55e2){const _0x28bf91=_0x28bf();return _0x436e=function(_0x436e7a,_0x53ec55){_0x436e7a=_0x436e7a-0x1b6;let _0x24b381=_0x28bf91[_0x436e7a];return _0x24b381;},_0x436e(_0x439f16,_0xeb55e2);}import{Plugin as _0xb4d8bf}from'ckeditor5/src/core.js';const ge=_0x20772c(0x1c3);import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0xb4d8bf{static get[_0x20772c(0x1be)](){const _0x36cfdb=_0x20772c;return _0x36cfdb(0x1c1);}static get[_0x20772c(0x1bd)](){return!0x0;}static get[_0x20772c(0x1ca)](){return!0x0;}[_0x20772c(0x1b7)](){const _0x214482=_0x20772c,_0x4f634e=this[_0x214482(0x1c7)][_0x214482(0x1c0)][_0x214482(0x1c6)];_0x4f634e[_0x214482(0x1bb)](_0x3e2d50=>{const _0x3c2f8d=_0x214482;for(const _0x408521 of _0x4f634e[_0x3c2f8d(0x1c9)][_0x3c2f8d(0x1bc)])_0x3e2d50[_0x3c2f8d(0x1cd)](ge,_0x408521);});}[_0x20772c(0x1ba)](){const _0x2c0aad=_0x20772c,_0x5b336c=this[_0x2c0aad(0x1c7)][_0x2c0aad(0x1c0)][_0x2c0aad(0x1c6)];_0x5b336c[_0x2c0aad(0x1bb)](_0x55cea3=>{const _0x344839=_0x2c0aad;for(const _0x33d535 of _0x5b336c[_0x344839(0x1c9)][_0x344839(0x1bc)])_0x55cea3[_0x344839(0x1cc)](ge,_0x33d535);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x588fd1=_0x5366;(function(_0x4f3702,_0x794b03){const _0x58b6ec=_0x5366,_0x3d8f3c=_0x4f3702();while(!![]){try{const _0x337c62=parseInt(_0x58b6ec(0x1fe))/0x1+parseInt(_0x58b6ec(0x214))/0x2+parseInt(_0x58b6ec(0x206))/0x3*(parseInt(_0x58b6ec(0x1f8))/0x4)+-parseInt(_0x58b6ec(0x205))/0x5+-parseInt(_0x58b6ec(0x202))/0x6+parseInt(_0x58b6ec(0x20b))/0x7*(parseInt(_0x58b6ec(0x209))/0x8)+-parseInt(_0x58b6ec(0x20e))/0x9;if(_0x337c62===_0x794b03)break;else _0x3d8f3c['push'](_0x3d8f3c['shift']());}catch(_0x302388){_0x3d8f3c['push'](_0x3d8f3c['shift']());}}}(_0x47c2,0x29e68));import{Plugin as _0x346e0e}from'ckeditor5/src/core.js';import{ButtonView as _0x2137df}from'ckeditor5/src/ui.js';import{IconUndo as _0x1e3171}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x3e2cec}from'./changesnavigationview.js';import{RevisionViewer as _0x5dd194}from'./../../revisionviewer.js';function _0x5366(_0x378828,_0x30491d){const _0x47c2df=_0x47c2();return _0x5366=function(_0x53661b,_0x4ed3f3){_0x53661b=_0x53661b-0x1e9;let _0x955d5d=_0x47c2df[_0x53661b];return _0x955d5d;},_0x5366(_0x378828,_0x30491d);}import{RevisionViewerLoadingOverlay as _0x552788}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x5bc1c3}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';function _0x47c2(){const _0x1cdf32=['2120UnoMHX','showNextChange','973GcTUiQ','listenTo','set','3206439XDIKcq','currentChangeNumber','commands','changesNavigation','RevisionViewerUI','numberOfChanges','643072kxskyR','bind','execute','pluginName','init','isForwardNavigationEnabled','componentFactory','isReady','showPreviousChange','revisionHistory','change:isReady','Restore\x20this\x20revision','closeRevisionViewerCallback','config','plugins','get','Back\x20to\x20editing','exitToEditing','restoreRevision','10700fTjFUp','isOfficialPlugin','isBackwardNavigationEnabled','forward','editor','show','220573QMPLRm','ck-revision-history-ui__back-to-editing','isNavigationMode','isPremiumPlugin','395028TnuvXJ','hide','add','1036180eSuiJY','249CcTdXY','isEnabled','requires'];_0x47c2=function(){return _0x1cdf32;};return _0x47c2();}export class RevisionViewerUI extends _0x346e0e{static get[_0x588fd1(0x217)](){const _0x524b50=_0x588fd1;return _0x524b50(0x212);}static get[_0x588fd1(0x1f9)](){return!0x0;}static get[_0x588fd1(0x201)](){return!0x0;}static get[_0x588fd1(0x208)](){return[_0x5dd194,_0x552788];}[_0x588fd1(0x1e9)](){const _0x292e85=_0x588fd1,_0x3b7554=this[_0x292e85(0x1fc)],_0x5b2635=_0x3b7554[_0x292e85(0x1f3)][_0x292e85(0x1f4)](_0x5dd194),_0x4fc81c=_0x3b7554[_0x292e85(0x1f3)][_0x292e85(0x1f4)](_0x552788);_0x3b7554['ui'][_0x292e85(0x1eb)][_0x292e85(0x204)](_0x292e85(0x1f6),_0x324f88=>{const _0x424cb5=_0x292e85,_0x362e09=new _0x2137df(_0x324f88);return _0x362e09[_0x424cb5(0x20d)]({'label':_0x5bc1c3(_0x324f88,_0x424cb5(0x1f5)),'icon':_0x1e3171,'withText':!0x0,'tooltip':!0x0,'class':_0x424cb5(0x1ff)}),this[_0x424cb5(0x20c)](_0x362e09,_0x424cb5(0x216),()=>{const _0x573cef=_0x424cb5;_0x3b7554[_0x573cef(0x1f2)][_0x573cef(0x1f4)](_0x573cef(0x1ee))[_0x573cef(0x1f1)]();}),_0x362e09;}),_0x3b7554['ui'][_0x292e85(0x1eb)][_0x292e85(0x204)](_0x292e85(0x1f7),_0x15c667=>{const _0x488285=_0x292e85,_0x140011=new _0x2137df(_0x15c667);return _0x140011[_0x488285(0x20d)]({'label':_0x5bc1c3(_0x15c667,_0x488285(0x1f0)),'withText':!0x0,'tooltip':!0x0}),_0x140011[_0x488285(0x215)](_0x488285(0x207))['to'](_0x3b7554[_0x488285(0x210)][_0x488285(0x1f4)](_0x488285(0x1f7))),this[_0x488285(0x20c)](_0x140011,_0x488285(0x216),()=>_0x3b7554[_0x488285(0x216)](_0x488285(0x1f7))),_0x140011;}),_0x3b7554['ui'][_0x292e85(0x1eb)][_0x292e85(0x204)](_0x292e85(0x211),_0x3f095c=>{const _0x295c0f=_0x292e85,_0x8ea60f=new _0x3e2cec(_0x3f095c),_0x30f069=_0x3b7554[_0x295c0f(0x210)][_0x295c0f(0x1f4)](_0x295c0f(0x1ed)),_0x5c35be=_0x3b7554[_0x295c0f(0x210)][_0x295c0f(0x1f4)](_0x295c0f(0x20a));return _0x8ea60f[_0x295c0f(0x215)](_0x295c0f(0x1fa))['to'](_0x30f069,_0x295c0f(0x207)),_0x8ea60f[_0x295c0f(0x215)](_0x295c0f(0x1ea))['to'](_0x5c35be,_0x295c0f(0x207)),_0x8ea60f[_0x295c0f(0x215)](_0x295c0f(0x1ec),_0x295c0f(0x20f),_0x295c0f(0x213),_0x295c0f(0x200))['to'](_0x5b2635),this[_0x295c0f(0x20c)](_0x8ea60f,_0x295c0f(0x216),(_0x487234,_0x23a58f)=>{const _0x4bfc46=_0x295c0f;_0x3b7554[_0x4bfc46(0x216)](_0x4bfc46(0x1fb)===_0x23a58f?_0x4bfc46(0x20a):_0x4bfc46(0x1ed));}),_0x8ea60f;}),_0x4fc81c[_0x292e85(0x1fd)](),_0x5b2635['on'](_0x292e85(0x1ef),(_0x2785ba,_0x1c6a0b,_0x29f4d1)=>{const _0x1de6fb=_0x292e85;_0x29f4d1?_0x4fc81c[_0x1de6fb(0x203)]():_0x4fc81c[_0x1de6fb(0x1fd)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x377442,_0x2dd462,_0x7f9278){const t=_0x377442['t'];switch(_0x2dd462){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'},_0x7f9278);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x7f9278);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'';}}
|