@ckeditor/ckeditor5-revision-history 46.1.1-alpha.0 → 46.1.1-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +12 -12
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xd2a661=_0x25a2;(function(_0xd2a751,_0x5bd48b){const _0x5918d2=_0x25a2,_0x42b63e=_0xd2a751();while(!![]){try{const _0x348258=parseInt(_0x5918d2(0xf3))/0x1+parseInt(_0x5918d2(0xeb))/0x2*(parseInt(_0x5918d2(0x102))/0x3)+-parseInt(_0x5918d2(0xfe))/0x4+-parseInt(_0x5918d2(0x10e))/0x5*(-parseInt(_0x5918d2(0x101))/0x6)+-parseInt(_0x5918d2(0x110))/0x7+parseInt(_0x5918d2(0x114))/0x8*(parseInt(_0x5918d2(0x104))/0x9)+parseInt(_0x5918d2(0x111))/0xa*(-parseInt(_0x5918d2(0x106))/0xb);if(_0x348258===_0x5bd48b)break;else _0x42b63e['push'](_0x42b63e['shift']());}catch(_0x45940c){_0x42b63e['push'](_0x42b63e['shift']());}}}(_0x72fa,0x339d0));import{CssTransitionDisablerMixin as _0xaecee,LabeledFieldView as _0xef48de,View as _0x1d1c72,createLabeledInputText as _0x4d743c,submitHandler as _0x4450ca}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5f4460,KeystrokeHandler as _0x2440cd}from'ckeditor5/src/utils.js';function _0x25a2(_0x5d6b74,_0xfdabb8){const _0x72faf5=_0x72fa();return _0x25a2=function(_0x25a2dd,_0x150f89){_0x25a2dd=_0x25a2dd-0xeb;let _0x24dc9e=_0x72faf5[_0x25a2dd];return _0x24dc9e;},_0x25a2(_0x5d6b74,_0xfdabb8);}import{getTranslation as _0x5ddeb7}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';function _0x72fa(){const _0x239c9c=['focusTracker','stopPropagation','trim','arrowleft','417038cSEDHu','set','locale','element','label','initializeCssTransitionDisablerMixin','ck-responsive-form','arrowup','errorText','fieldView','input','536736NqNCdo','220','focus','417090pVAgsl','3363mNwmFc','form','9OAxjuS','optional','2579533OwVhbE','Name\x20of\x20the\x20revision','_createRevisionNameInput','revisionNameInputValue','extendTemplate','listenTo','setTemplate','revisionNameInputView','15rULhTN','ck-revision-history-save-revision-form','1102864GUVycC','10WgpdPn','revisionName','keystrokes','833736vhGljb','add','render','arrowright','14ntSJIT','value','reset','arrowdown'];_0x72fa=function(){return _0x239c9c;};return _0x72fa();}export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xaecee(_0x1d1c72){[_0xd2a661(0xef)];[_0xd2a661(0x113)];[_0xd2a661(0x10d)];constructor(_0x3656bc,_0x5df3a6){const _0x258faa=_0xd2a661;super(_0x3656bc),this[_0x258faa(0xef)]=new _0x5f4460(),this[_0x258faa(0x113)]=new _0x2440cd(),this[_0x258faa(0xf4)](_0x258faa(0x109),''),this[_0x258faa(0x10d)]=this[_0x258faa(0x108)](_0x5df3a6),this[_0x258faa(0x10c)]({'tag':_0x258faa(0x103),'attributes':{'class':['ck',_0x258faa(0x10f),_0x258faa(0xf9)],'tabindex':'-1'},'children':[this[_0x258faa(0x10d)]]}),this[_0x258faa(0xf8)]();}[_0xd2a661(0x116)](){const _0x3b0c0f=_0xd2a661;super[_0x3b0c0f(0x116)](),_0x4450ca({'view':this}),this[_0x3b0c0f(0xef)][_0x3b0c0f(0x115)](this[_0x3b0c0f(0x10d)][_0x3b0c0f(0xf6)]),this[_0x3b0c0f(0x113)][_0x3b0c0f(0x10b)](this[_0x3b0c0f(0xf6)]);const _0x204b1f=_0x4be9dc=>_0x4be9dc[_0x3b0c0f(0xf0)]();this[_0x3b0c0f(0x113)][_0x3b0c0f(0xf4)](_0x3b0c0f(0x117),_0x204b1f),this[_0x3b0c0f(0x113)][_0x3b0c0f(0xf4)](_0x3b0c0f(0xf2),_0x204b1f),this[_0x3b0c0f(0x113)][_0x3b0c0f(0xf4)](_0x3b0c0f(0xfa),_0x204b1f),this[_0x3b0c0f(0x113)][_0x3b0c0f(0xf4)](_0x3b0c0f(0xee),_0x204b1f);}[_0xd2a661(0x100)](){const _0x1af2a1=_0xd2a661;this[_0x1af2a1(0x10d)][_0x1af2a1(0x100)]();}get[_0xd2a661(0x112)](){const _0x391801=_0xd2a661;return this[_0x391801(0x10d)][_0x391801(0xfc)][_0x391801(0xf6)][_0x391801(0xec)][_0x391801(0xf1)]();}set[_0xd2a661(0x112)](_0x552050){const _0x3c4135=_0xd2a661;this[_0x3c4135(0x10d)][_0x3c4135(0xfc)][_0x3c4135(0xf6)][_0x3c4135(0xec)]=_0x552050[_0x3c4135(0xf1)]();}[_0xd2a661(0xed)](){const _0x478b02=_0xd2a661;this[_0x478b02(0x10d)][_0x478b02(0xfc)][_0x478b02(0xf6)][_0x478b02(0xec)]='',this[_0x478b02(0x10d)][_0x478b02(0xfb)]=null;}[_0xd2a661(0x108)](_0x33534d){const _0x45e158=_0xd2a661,_0x17c609=new _0xef48de(this[_0x45e158(0xf5)],_0x4d743c),_0x294939=_0x17c609[_0x45e158(0xfc)];_0x294939[_0x45e158(0x10a)]({'attributes':{'maxlength':_0x45e158(0xff)}});let _0x22cc35=_0x5ddeb7(this[_0x45e158(0xf5)],_0x45e158(0x107));return!_0x33534d&&(_0x22cc35+='\x20('+_0x5ddeb7(this[_0x45e158(0xf5)],_0x45e158(0x105))+')'),(_0x17c609[_0x45e158(0xf7)]=_0x22cc35,_0x294939['on'](_0x45e158(0xfd),()=>{const _0x2b5f58=_0x45e158;this[_0x2b5f58(0x109)]=_0x294939[_0x2b5f58(0xf6)][_0x2b5f58(0xec)][_0x2b5f58(0xf1)]();}),_0x17c609);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x30f4b2=_0x1dfc;(function(_0x295d33,_0x16bd7f){const _0x4981f9=_0x1dfc,_0x3b27a5=_0x295d33();while(!![]){try{const _0x2230e5=parseInt(_0x4981f9(0x101))/0x1*(-parseInt(_0x4981f9(0xf2))/0x2)+parseInt(_0x4981f9(0xf3))/0x3+parseInt(_0x4981f9(0xcc))/0x4*(parseInt(_0x4981f9(0xd5))/0x5)+parseInt(_0x4981f9(0xcd))/0x6*(parseInt(_0x4981f9(0xea))/0x7)+-parseInt(_0x4981f9(0xe2))/0x8+-parseInt(_0x4981f9(0xfe))/0x9*(-parseInt(_0x4981f9(0xe1))/0xa)+-parseInt(_0x4981f9(0xd9))/0xb;if(_0x2230e5===_0x16bd7f)break;else _0x3b27a5['push'](_0x3b27a5['shift']());}catch(_0x48b725){_0x3b27a5['push'](_0x3b27a5['shift']());}}}(_0x55af,0x28060));import{Plugin as _0x3dc682}from'ckeditor5/src/core.js';import{IconHistory as _0x430676}from'ckeditor5/src/icons.js';import{createDropdown as _0x42204d,ButtonView as _0x43c915,ListItemView as _0x525900,ListView as _0x5809fb,MenuBarMenuListItemButtonView as _0x57babb,MenuBarMenuListItemView as _0x5c3326,MenuBarMenuListView as _0x4d319b,MenuBarMenuView as _0x4dfb80}from'ckeditor5/src/ui.js';import{RevisionTracker as _0x218bb5}from'../../revisiontracker.js';function _0x1dfc(_0x3a6fa6,_0x352698){const _0x55afd3=_0x55af();return _0x1dfc=function(_0x1dfc9d,_0x56d7c1){_0x1dfc9d=_0x1dfc9d-0xcc;let _0x3533ce=_0x55afd3[_0x1dfc9d];return _0x3533ce;},_0x1dfc(_0x3a6fa6,_0x352698);}import{RevisionHistorySaveRevisionFormView as _0x27f9e4}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x2f3d80}from'../../utils/common-translations.js';function _0x55af(){const _0x2074fe=['The\x20revision\x20name\x20cannot\x20be\x20empty.','role','13892GGrHmU','120231yDKFWA','revisionSave','_registerMenuComponent','pluginName','isOfficialPlugin','Accept','buttonView','isEnabled','ck-button-action','view','set','3987grKTWu','Save\x20current\x20revision','init','27QYYECu','errorText','bind','show','panelView','Dialog','locale','config','isReady','menu','editing','execute','menuitem','Open\x20revision\x20history','RevisionHistoryUI','revisionHistory.requireRevisionName','RevisionTracker','1187540RcGdis','1149402AIyEaL','submit','menuBar:revisionHistory','_createSaveRevisionFormView','saveRevision','componentFactory','focus','get','5nOASNn','Cancel','plugins','isPremiumPlugin','2636645anzsTx','editor','hide','render','items','showRevisionViewerCallback','delegate','Revision\x20history','5290EogfcX','1373624MrUhBu','children','_saveRevisionFormView','_showDialog','add','addMany','isOpen','isReadOnly','7RvJLzd','revisionNameInputView','reset','revisionName','revisionHistory','requires'];_0x55af=function(){return _0x2074fe;};return _0x55af();}export class RevisionHistoryUI extends _0x3dc682{static get[_0x30f4b2(0xf6)](){const _0x567915=_0x30f4b2;return _0x567915(0x10f);}static get[_0x30f4b2(0xf7)](){return!0x0;}static get[_0x30f4b2(0xd8)](){return!0x0;}static get[_0x30f4b2(0xef)](){return[_0x218bb5];}[_0x30f4b2(0xe4)];[_0x30f4b2(0x100)](){const _0x1d3b4a=_0x30f4b2,_0x242515=this[_0x1d3b4a(0xda)],_0x145ebf=_0x242515[_0x1d3b4a(0xd7)][_0x1d3b4a(0xd4)](_0x1d3b4a(0x111));_0x242515['ui'][_0x1d3b4a(0xd2)][_0x1d3b4a(0xe6)](_0x1d3b4a(0xee),_0xd3570c=>{const _0x233952=_0x1d3b4a,_0x4b2873=_0x42204d(_0xd3570c),_0x229380=_0x4b2873[_0x233952(0x105)][_0x233952(0xe3)],_0x29a287=new _0x5809fb(_0xd3570c),_0x840ab=new _0x525900(_0xd3570c),_0xa394b6=new _0x43c915(_0xd3570c),_0xec240b=new _0x525900(_0xd3570c),_0x42097e=new _0x43c915(_0xd3570c);return _0x4b2873[_0x233952(0x103)](_0x233952(0xfa))['to'](_0x145ebf,_0x233952(0x109),_0x145ebf,_0x233952(0xfa),_0x242515,_0x233952(0xe9),(_0x590b64,_0x1261f9,_0xb3c104)=>_0x590b64&&_0x1261f9&&!_0xb3c104),_0x4b2873[_0x233952(0xf9)][_0x233952(0xfd)]({'icon':_0x430676,'label':_0x2f3d80(_0xd3570c,_0x233952(0xe0)),'tooltip':!0x0}),_0xa394b6[_0x233952(0xfd)]({'label':_0x2f3d80(_0xd3570c,_0x233952(0xff)),'withText':!0x0,'role':_0x233952(0x10d)}),_0xa394b6[_0x233952(0x103)](_0x233952(0xfa))['to'](_0x145ebf,_0x233952(0x109),_0x145ebf,_0x233952(0xfa),_0x242515,_0x233952(0xe9),(_0x342275,_0x46148c,_0x46bf0a)=>_0x342275&&_0x46148c&&!_0x46bf0a),_0xa394b6['on'](_0x233952(0x10c),()=>this[_0x233952(0xe5)]()),_0x42097e[_0x233952(0xfd)]({'label':_0x2f3d80(_0xd3570c,_0x233952(0x10e)),'withText':!0x0,'role':_0x233952(0x10d)}),_0x42097e[_0x233952(0x103)](_0x233952(0xfa))['to'](_0x145ebf,_0x233952(0x109),_0x242515,_0x233952(0xe9),(_0x46035e,_0x30d64b)=>_0x46035e&&!_0x30d64b),_0x42097e['on'](_0x233952(0x10c),()=>{const _0x51be23=_0x233952;_0x242515[_0x51be23(0x108)][_0x51be23(0xd4)](_0x51be23(0xee))[_0x51be23(0xde)](),_0x4b2873[_0x51be23(0xe8)]=!0x1,_0x242515[_0x51be23(0x10b)][_0x51be23(0xfc)][_0x51be23(0xd3)]();}),_0x840ab[_0x233952(0xe3)][_0x233952(0xe6)](_0xa394b6),_0xec240b[_0x233952(0xe3)][_0x233952(0xe6)](_0x42097e),_0x29a287[_0x233952(0xf1)]=_0x233952(0x10a),_0x29a287[_0x233952(0xdd)][_0x233952(0xe7)]([_0x840ab,_0xec240b]),_0x229380[_0x233952(0xe6)](_0x29a287),_0x4b2873;}),_0x242515['ui'][_0x1d3b4a(0xd2)][_0x1d3b4a(0xe6)](_0x1d3b4a(0xcf),()=>this[_0x1d3b4a(0xf5)]());}[_0x30f4b2(0xf5)](){const _0x5cd106=_0x30f4b2,_0x4bb2d7=this[_0x5cd106(0xda)],_0x2e0d5f=_0x4bb2d7[_0x5cd106(0x107)],_0x25d2e2=new _0x4dfb80(_0x2e0d5f),_0x4198f8=new _0x4d319b(_0x2e0d5f);_0x25d2e2[_0x5cd106(0xf9)][_0x5cd106(0xfd)]({'icon':_0x430676,'label':_0x2f3d80(_0x2e0d5f,_0x5cd106(0xe0))});const _0x4bffc7=new _0x5c3326(_0x2e0d5f,_0x25d2e2),_0x114240=new _0x57babb(_0x2e0d5f);_0x114240[_0x5cd106(0xfd)]({'label':_0x2f3d80(_0x2e0d5f,_0x5cd106(0xff))}),_0x114240[_0x5cd106(0xdf)](_0x5cd106(0x10c))['to'](_0x25d2e2),_0x114240['on'](_0x5cd106(0x10c),()=>{const _0x5de9fa=_0x5cd106;this[_0x5de9fa(0xe5)]();}),_0x4bffc7[_0x5cd106(0xe3)][_0x5cd106(0xe6)](_0x114240),_0x4198f8[_0x5cd106(0xdd)][_0x5cd106(0xe6)](_0x4bffc7);const _0x298ca4=new _0x5c3326(_0x2e0d5f,_0x25d2e2),_0x359afd=new _0x57babb(_0x2e0d5f);return _0x359afd[_0x5cd106(0xfd)]({'label':_0x2f3d80(_0x2e0d5f,_0x5cd106(0x10e))}),_0x359afd[_0x5cd106(0xdf)](_0x5cd106(0x10c))['to'](_0x25d2e2),_0x359afd['on'](_0x5cd106(0x10c),()=>{const _0x16e2d2=_0x5cd106;_0x4bb2d7[_0x16e2d2(0x108)][_0x16e2d2(0xd4)](_0x16e2d2(0xee))[_0x16e2d2(0xde)]();}),_0x298ca4[_0x5cd106(0xe3)][_0x5cd106(0xe6)](_0x359afd),_0x4198f8[_0x5cd106(0xdd)][_0x5cd106(0xe6)](_0x298ca4),_0x25d2e2[_0x5cd106(0x105)][_0x5cd106(0xe3)][_0x5cd106(0xe6)](_0x4198f8),_0x25d2e2;}[_0x30f4b2(0xe5)](){const _0x418fe4=_0x30f4b2,_0x29e4a1=this[_0x418fe4(0xda)],_0x3ea477=_0x29e4a1[_0x418fe4(0x107)],_0x3b9837=_0x29e4a1[_0x418fe4(0xd7)][_0x418fe4(0xd4)](_0x418fe4(0x106)),_0x2cfb39=_0x29e4a1[_0x418fe4(0xd7)][_0x418fe4(0xd4)](_0x418fe4(0x111));function _0x11522f(_0x5e57b3){const _0x308c3a=_0x418fe4;_0x29e4a1[_0x308c3a(0x108)][_0x308c3a(0xd4)](_0x308c3a(0x110))&&''===_0x5e57b3[_0x308c3a(0xed)]?_0x5e57b3[_0x308c3a(0xeb)][_0x308c3a(0x102)]=_0x2f3d80(_0x3ea477,_0x308c3a(0xf0)):(_0x29e4a1[_0x308c3a(0xd7)][_0x308c3a(0xd4)](_0x218bb5)[_0x308c3a(0xd1)]({'name':_0x5e57b3[_0x308c3a(0xed)]}),_0x3b9837[_0x308c3a(0xdb)]());}this[_0x418fe4(0xe4)]||(this[_0x418fe4(0xd0)](),this[_0x418fe4(0xe4)]['on'](_0x418fe4(0xce),()=>_0x11522f(this[_0x418fe4(0xe4)]))),this[_0x418fe4(0xe4)][_0x418fe4(0xec)](),_0x3b9837[_0x418fe4(0x104)]({'id':_0x418fe4(0xf4),'title':_0x2f3d80(_0x3ea477,_0x418fe4(0xff)),'isModal':!0x0,'content':this[_0x418fe4(0xe4)],'actionButtons':[{'label':_0x2f3d80(_0x29e4a1[_0x418fe4(0x107)],_0x418fe4(0xd6)),'withText':!0x0,'onExecute':()=>_0x3b9837[_0x418fe4(0xdb)]()},{'label':_0x2f3d80(_0x29e4a1[_0x418fe4(0x107)],_0x418fe4(0xf8)),'class':_0x418fe4(0xfb),'withText':!0x0,'onCreate'(_0x4c99cb){const _0x4c80bf=_0x418fe4;_0x4c99cb[_0x4c80bf(0x103)](_0x4c80bf(0xfa))['to'](_0x2cfb39,_0x4c80bf(0x109),_0x2cfb39,_0x4c80bf(0xfa),_0x29e4a1,_0x4c80bf(0xe9),(_0x200535,_0x2ac1f2,_0x5576fd)=>_0x200535&&_0x2ac1f2&&!_0x5576fd);},'onExecute':()=>_0x11522f(this[_0x418fe4(0xe4)])}]});}[_0x30f4b2(0xd0)](){const _0x1560a7=_0x30f4b2,_0x56c6e3=this[_0x1560a7(0xda)],_0x314fc7=_0x56c6e3[_0x1560a7(0x107)];this[_0x1560a7(0xe4)]=new _0x27f9e4(_0x314fc7,_0x56c6e3[_0x1560a7(0x108)][_0x1560a7(0xd4)](_0x1560a7(0x110))),this[_0x1560a7(0xe4)][_0x1560a7(0xdc)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9e5e52=_0x1bc6;(function(_0x63cdde,_0x212b0d){const _0x1eb662=_0x1bc6,_0x31dd19=_0x63cdde();while(!![]){try{const _0x30f79a=parseInt(_0x1eb662(0x126))/0x1+parseInt(_0x1eb662(0x152))/0x2*(-parseInt(_0x1eb662(0x13a))/0x3)+-parseInt(_0x1eb662(0x11f))/0x4*(parseInt(_0x1eb662(0x148))/0x5)+-parseInt(_0x1eb662(0x124))/0x6*(parseInt(_0x1eb662(0x109))/0x7)+parseInt(_0x1eb662(0x13f))/0x8+-parseInt(_0x1eb662(0x112))/0x9*(-parseInt(_0x1eb662(0x11b))/0xa)+-parseInt(_0x1eb662(0x143))/0xb*(-parseInt(_0x1eb662(0x13d))/0xc);if(_0x30f79a===_0x212b0d)break;else _0x31dd19['push'](_0x31dd19['shift']());}catch(_0x36982e){_0x31dd19['push'](_0x31dd19['shift']());}}}(_0x2b15,0x67653));import{Plugin as _0x450670}from'ckeditor5/src/core.js';import{RevisionsSidebarView as _0x41294f}from'./revisionssidebarview.js';import{RevisionViewer as _0xce2ca4}from'../../revisionviewer.js';class f extends _0x450670{[_0x9e5e52(0x122)];[_0x9e5e52(0x10e)];[_0x9e5e52(0x130)];static [_0x9e5e52(0x10c)]=[_0x9e5e52(0x135),_0x9e5e52(0x125),_0x9e5e52(0x13c)];static [_0x9e5e52(0x158)]=(function(){const _0x8c6a23=_0x9e5e52;return{'compareAgainstSelected':{'name':_0x8c6a23(0x14f),'action':({plugins:i},s)=>{const _0x271728=_0x8c6a23,e=i[_0x271728(0x145)](_0xce2ca4),n=e[_0x271728(0x147)];let r=e[_0x271728(0x11e)][_0x271728(0x117)],o=s['id'];n[_0x271728(0x116)](r)>n[_0x271728(0x116)](o)&&([r,o]=[o,r]),e[_0x271728(0x120)](r,o);},'isVisible':({plugins:i},s)=>{const _0x4bf0fb=_0x8c6a23,e=i[_0x4bf0fb(0x145)](_0xce2ca4);return!(e[_0x4bf0fb(0x147)][_0x4bf0fb(0x12b)](e[_0x4bf0fb(0x11e)])[_0x4bf0fb(0x114)]>0x2)&&!s[_0x4bf0fb(0x128)];}},'restoreRevision':{'name':_0x8c6a23(0x154),'action':(i,{id:s})=>{const _0x49443e=_0x8c6a23;i[_0x49443e(0x123)][_0x49443e(0x145)](_0x49443e(0x140))[_0x49443e(0x115)](s);},'isVisible':({plugins:i},s)=>!!i[_0x8c6a23(0x145)](_0xce2ca4)[_0x8c6a23(0x147)][_0x8c6a23(0x110)](s['id'])},'nameRevision':{'name':_0x8c6a23(0x141),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x59f603=_0x8c6a23,n=i[_0x59f603(0x145)](_0xce2ca4),r=n[_0x59f603(0x147)][_0x59f603(0x132)](s);n[_0x59f603(0x120)](s,r),e[_0x59f603(0x157)](),e[_0x59f603(0x12e)][_0x59f603(0x10a)]();}}};}());static get[_0x9e5e52(0x155)](){const _0x3e85c5=_0x9e5e52;return _0x3e85c5(0x14e);}static get[_0x9e5e52(0x15a)](){return!0x0;}static get[_0x9e5e52(0x131)](){return!0x0;}static get[_0x9e5e52(0x10f)](){return[_0xce2ca4];}constructor(_0x547bcd){const _0x5eb01a=_0x9e5e52;super(_0x547bcd),this[_0x5eb01a(0x122)]=_0x547bcd[_0x5eb01a(0x146)][_0x5eb01a(0x145)](_0xce2ca4),this[_0x5eb01a(0x10e)]=this[_0x5eb01a(0x122)][_0x5eb01a(0x147)],this[_0x5eb01a(0x130)]=null;}[_0x9e5e52(0x134)](){const _0x1ed06f=_0x9e5e52,_0x5eaa4f=this[_0x1ed06f(0x10e)][_0x1ed06f(0x12c)],_0x11127e=this[_0x1ed06f(0x150)](),_0x26ed22=this[_0x1ed06f(0x11a)][_0x1ed06f(0x123)][_0x1ed06f(0x145)](_0x1ed06f(0x12d));this[_0x1ed06f(0x130)]=new _0x41294f(this[_0x1ed06f(0x11a)][_0x1ed06f(0x133)],_0x5eaa4f,_0x11127e,this[_0x1ed06f(0x11a)][_0x1ed06f(0x123)][_0x1ed06f(0x145)](_0x1ed06f(0x13e))),this[_0x1ed06f(0x130)]['on'](_0x1ed06f(0x127),this[_0x1ed06f(0x119)][_0x1ed06f(0x142)](this)),this[_0x1ed06f(0x130)]['on'](_0x1ed06f(0x139),this[_0x1ed06f(0x129)][_0x1ed06f(0x142)](this)),this[_0x1ed06f(0x130)][_0x1ed06f(0x142)](_0x1ed06f(0x111))['to'](this[_0x1ed06f(0x122)]),this[_0x1ed06f(0x130)][_0x1ed06f(0x149)]['on'](_0x1ed06f(0x113),(_0x2b7a07,_0x47df22)=>{const _0x20741=_0x1ed06f;_0x47df22[_0x20741(0x136)]['on'](_0x20741(0x113),(_0x2750e8,_0x28860f)=>{const _0x8bdc1c=_0x20741;_0x28860f[_0x8bdc1c(0x142)](_0x8bdc1c(0x111),_0x8bdc1c(0x15b))['to'](this[_0x8bdc1c(0x122)]);});}),this[_0x1ed06f(0x130)][_0x1ed06f(0x15c)](),this[_0x1ed06f(0x14d)](this[_0x1ed06f(0x11a)][_0x1ed06f(0x156)],_0x1ed06f(0x153),this[_0x1ed06f(0x14c)][_0x1ed06f(0x142)](this)),this[_0x1ed06f(0x14d)](this[_0x1ed06f(0x122)],_0x1ed06f(0x121),this[_0x1ed06f(0x11c)][_0x1ed06f(0x142)](this)),_0x26ed22[_0x1ed06f(0x12a)](this[_0x1ed06f(0x130)][_0x1ed06f(0x10d)]);}[_0x9e5e52(0x144)](){const _0x59b7b2=_0x9e5e52;this[_0x59b7b2(0x130)][_0x59b7b2(0x10d)][_0x59b7b2(0x13b)](),this[_0x59b7b2(0x130)][_0x59b7b2(0x144)]();}[_0x9e5e52(0x14c)](){const _0x41244b=_0x9e5e52,_0x1830ee=this[_0x41244b(0x10e)][_0x41244b(0x108)](0x0);if(_0x1830ee){const _0x230c09=this[_0x41244b(0x10e)][_0x41244b(0x132)](_0x1830ee['id']);this[_0x41244b(0x122)][_0x41244b(0x120)](_0x1830ee,_0x230c09);}}[_0x9e5e52(0x119)](_0x161b1c,_0x25a577){const _0x31b926=_0x9e5e52,_0x3cf49f=this[_0x31b926(0x10e)][_0x31b926(0x108)](_0x25a577['id']),_0x4c3d8f=this[_0x31b926(0x10e)][_0x31b926(0x132)](_0x3cf49f['id']);this[_0x31b926(0x122)][_0x31b926(0x120)](_0x3cf49f,_0x4c3d8f);}[_0x9e5e52(0x129)](_0x5b91a7,_0xaef6e2){const _0x4e4a7d=_0x9e5e52;this[_0x4e4a7d(0x10e)][_0x4e4a7d(0x108)](_0xaef6e2['id'])[_0x4e4a7d(0x138)](_0xaef6e2[_0x4e4a7d(0x12f)]);}[_0x9e5e52(0x11c)](_0x4b082e,_0x404f7f,_0x2015b4){const _0x536a6d=_0x9e5e52,_0x287a9a=this[_0x536a6d(0x10e)][_0x536a6d(0x12b)](_0x2015b4);_0x287a9a[_0x536a6d(0x114)]>0x2?(this[_0x536a6d(0x130)][_0x536a6d(0x151)](_0x287a9a),this[_0x536a6d(0x130)][_0x536a6d(0x159)](null)):(this[_0x536a6d(0x130)][_0x536a6d(0x151)]([]),this[_0x536a6d(0x130)][_0x536a6d(0x159)](_0x287a9a[0x0]));}[_0x9e5e52(0x150)](){const _0x4e3277=_0x9e5e52,_0x23c8c0=this[_0x4e3277(0x11a)],_0xf0d2b3=f[_0x4e3277(0x158)],_0x2b91ad=_0x23c8c0[_0x4e3277(0x123)][_0x4e3277(0x145)](_0x4e3277(0x14a))||f[_0x4e3277(0x10c)];if(_0x2b91ad[_0x4e3277(0x114)])return _0x2b91ad[_0x4e3277(0x118)](_0x4e7df2=>{const _0x511979=_0x4e3277,_0x49d9a8=_0x511979(0x11d)==typeof _0x4e7df2?Object[_0x511979(0x14b)]({},_0xf0d2b3[_0x4e7df2]):_0x4e7df2;return _0x49d9a8[_0x511979(0x137)]=_0x49d9a8[_0x511979(0x137)][_0x511979(0x142)](this,_0x23c8c0),_0x49d9a8[_0x511979(0x10b)]&&(_0x49d9a8[_0x511979(0x10b)]=_0x49d9a8[_0x511979(0x10b)][_0x511979(0x142)](this,_0x23c8c0)),_0x49d9a8;});}}function _0x1bc6(_0x24e214,_0x5dde76){const _0x2b159d=_0x2b15();return _0x1bc6=function(_0x1bc67a,_0x5b758c){_0x1bc67a=_0x1bc67a-0x108;let _0x254d1d=_0x2b159d[_0x1bc67a];return _0x254d1d;},_0x1bc6(_0x24e214,_0x5dde76);}export{f as RevisionsSidebar};function _0x2b15(){const _0x798d0e=['action','setName','revisionSetName','1777389RvFqlN','remove','nameRevision','208344JmCLSZ','revisionHistory.requireRevisionName','5414296BHaMXs','revisionHistory','Name\x20this\x20revision','bind','22AIFZce','destroy','get','plugins','repository','163370AvRvma','timePeriodViews','revisionHistory.revisionActions','assign','_handleEditorDataReady','listenTo','RevisionsSidebar','Compare\x20against\x20selected','_createRevisionActions','highlightRevisions','2DZEczT','ready','Restore\x20this\x20revision','pluginName','data','focus','availableRevisionActions','selectRevision','isOfficialPlugin','isReady','render','getRevision','7tfcuYz','select','isVisible','defaultRevisionActions','element','_revisionsRepository','requires','getLaterVisibleRevision','isEnabled','9vpICxj','add','length','restoreRevisionCallback','getIndex','newRevisionId','map','_handleRevisionSelected','editor','6966410vwqnQt','_handleDiffChange','string','diff','72SIMfWA','compare','change:diff','_revisionViewer','config','1322610QlHoDW','restoreRevision','416385XPSQiz','revisionSelected','isSelected','_handleRevisionSetName','appendChild','getRevisionsInDiff','_revisions','revisionHistory.viewerSidebarContainer','fieldView','name','_sidebarView','isPremiumPlugin','getEarlierVisibleRevision','locale','init','compareAgainstSelected','revisionViews'];_0x2b15=function(){return _0x798d0e;};return _0x2b15();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x514f2a,_0x2ee872){const _0x24b3c6=_0x55c5,_0x2614b4=_0x514f2a();while(!![]){try{const _0x55478d=parseInt(_0x24b3c6(0x1fa))/0x1*(-parseInt(_0x24b3c6(0x1eb))/0x2)+-parseInt(_0x24b3c6(0x1fb))/0x3+-parseInt(_0x24b3c6(0x1ee))/0x4*(parseInt(_0x24b3c6(0x1f0))/0x5)+-parseInt(_0x24b3c6(0x1f9))/0x6*(-parseInt(_0x24b3c6(0x1ef))/0x7)+-parseInt(_0x24b3c6(0x1fc))/0x8+-parseInt(_0x24b3c6(0x1ed))/0x9+parseInt(_0x24b3c6(0x1f2))/0xa;if(_0x55478d===_0x2ee872)break;else _0x2614b4['push'](_0x2614b4['shift']());}catch(_0xa5fee){_0x2614b4['push'](_0x2614b4['shift']());}}}(_0x45b9,0xa330c));function _0x55c5(_0x4210d,_0x55b356){const _0x45b9bb=_0x45b9();return _0x55c5=function(_0x55c5d1,_0x3af2ca){_0x55c5d1=_0x55c5d1-0x1eb;let _0x8b792b=_0x45b9bb[_0x55c5d1];return _0x8b792b;},_0x55c5(_0x4210d,_0x55b356);}import{View as _0x1c6c8d,IconView as _0x1a0550}from'ckeditor5/src/ui.js';import{getTranslation as _0x2aa8fa}from'../../utils/common-translations.js';import{IconHistory as _0x5734a5}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';function _0x45b9(){const _0xd47ead=['16410HNKqbc','318058gPqRDc','826575IpGJsF','4525800uGfXog','4evGISL','ck-revision-history-sidebar__header','6691050BAJzAR','11764DQdoPv','1946JRNees','1825xoLzOm','ck-reset_all','32023790udFIfo','content','span','div','ck-revision-history-sidebar__header__label','setTemplate','Revision\x20history'];_0x45b9=function(){return _0xd47ead;};return _0x45b9();}export class RevisionsSidebarHeaderView extends _0x1c6c8d{constructor(_0x1a551c){const _0x3aec28=_0x55c5;super(_0x1a551c);const _0x2d1b00=new _0x1a0550();_0x2d1b00[_0x3aec28(0x1f3)]=_0x5734a5,this[_0x3aec28(0x1f7)]({'tag':_0x3aec28(0x1f5),'attributes':{'class':['ck',_0x3aec28(0x1f1),_0x3aec28(0x1ec)]},'children':[_0x2d1b00,{'tag':_0x3aec28(0x1f4),'attributes':{'class':['ck',_0x3aec28(0x1f6)]},'children':[_0x2aa8fa(_0x1a551c,_0x3aec28(0x1f8))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38b8f4=_0x1612;function _0x3183(){const _0x4337bb=['find','1880212vgtkTc','_requireRevisionName','addRevision','span','1051496hiNzfa','33085bRlzyg','remove','12389616LWyHIm','div','ck-revision-history-sidebar__time-period','delegate','3835029yDvNiN','_revisionActions','2StwfDV','localizedPeriodName','setName','startDate','select','revisionViews','setTemplate','ck-revision-history-sidebar__time-period__revisions','add','removeRevision','35VKkSCa','1060143LeDtzG','locale','190rVogYn','uiLanguage','1716qyLUUD','1826395QyExip','createCollection','ck-revision-history-sidebar__time-period__label'];_0x3183=function(){return _0x4337bb;};return _0x3183();}function _0x1612(_0x5e91a6,_0x498167){const _0x3183f5=_0x3183();return _0x1612=function(_0x161214,_0x54675a){_0x161214=_0x161214-0xc6;let _0x187ce5=_0x3183f5[_0x161214];return _0x187ce5;},_0x1612(_0x5e91a6,_0x498167);}(function(_0x3c59a6,_0x2ca944){const _0x1ff076=_0x1612,_0x2b460d=_0x3c59a6();while(!![]){try{const _0x2e6870=-parseInt(_0x1ff076(0xd4))/0x1+-parseInt(_0x1ff076(0xe5))/0x2*(parseInt(_0x1ff076(0xcf))/0x3)+parseInt(_0x1ff076(0xd8))/0x4+-parseInt(_0x1ff076(0xdd))/0x5*(parseInt(_0x1ff076(0xd3))/0x6)+-parseInt(_0x1ff076(0xce))/0x7*(parseInt(_0x1ff076(0xdc))/0x8)+-parseInt(_0x1ff076(0xdf))/0x9+-parseInt(_0x1ff076(0xd1))/0xa*(-parseInt(_0x1ff076(0xe3))/0xb);if(_0x2e6870===_0x2ca944)break;else _0x2b460d['push'](_0x2b460d['shift']());}catch(_0x327716){_0x2b460d['push'](_0x2b460d['shift']());}}}(_0x3183,0xf13f3));import{View as _0x495b4b}from'ckeditor5/src/ui.js';import{RevisionView as _0x16859f}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x7631ec}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x495b4b{[_0x38b8f4(0xc7)];[_0x38b8f4(0xc9)];[_0x38b8f4(0xe4)];[_0x38b8f4(0xd9)];constructor(_0x52ad16,_0x265586,_0xec3263,_0x350dc6){const _0x37559b=_0x38b8f4;super(_0x52ad16);const _0x55b276=_0x7631ec(_0x265586,this[_0x37559b(0xd0)][_0x37559b(0xd2)])[_0x37559b(0xe6)];this[_0x37559b(0xc7)]=_0x265586,this[_0x37559b(0xc9)]=this[_0x37559b(0xd5)](),this[_0x37559b(0xe4)]=_0xec3263,this[_0x37559b(0xd9)]=_0x350dc6,this[_0x37559b(0xc9)][_0x37559b(0xe2)](_0x37559b(0xc8))['to'](this),this[_0x37559b(0xc9)][_0x37559b(0xe2)](_0x37559b(0xc6))['to'](this),this[_0x37559b(0xca)]({'tag':_0x37559b(0xe0),'attributes':{'class':['ck',_0x37559b(0xe1)]},'children':[{'tag':_0x37559b(0xdb),'attributes':{'class':['ck',_0x37559b(0xd6)]},'children':[{'text':_0x55b276}]},{'tag':_0x37559b(0xe0),'attributes':{'class':['ck',_0x37559b(0xcb)]},'children':this[_0x37559b(0xc9)]}]});}[_0x38b8f4(0xda)](_0x23a12e){const _0x59671f=_0x38b8f4,_0x2b6609=new _0x16859f(this[_0x59671f(0xd0)],_0x23a12e,this[_0x59671f(0xe4)],this[_0x59671f(0xd9)]);this[_0x59671f(0xc9)][_0x59671f(0xcc)](_0x2b6609);}[_0x38b8f4(0xcd)](_0x3c3cc6){const _0x1b12e4=_0x38b8f4,_0x370575=this[_0x1b12e4(0xc9)][_0x1b12e4(0xd7)](_0x5e0028=>_0x5e0028['id']===_0x3c3cc6['id']);this[_0x1b12e4(0xc9)][_0x1b12e4(0xde)](_0x370575);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1dd5(_0x5c2508,_0x22e070){const _0x2bdd7b=_0x2bdd();return _0x1dd5=function(_0x1dd5b1,_0xf07160){_0x1dd5b1=_0x1dd5b1-0x179;let _0x273bae=_0x2bdd7b[_0x1dd5b1];return _0x273bae;},_0x1dd5(_0x5c2508,_0x22e070);}const _0x4163b3=_0x1dd5;(function(_0x506496,_0xc00919){const _0x472e30=_0x1dd5,_0x5de4f8=_0x506496();while(!![]){try{const _0x2b6e06=parseInt(_0x472e30(0x19b))/0x1+-parseInt(_0x472e30(0x18c))/0x2+parseInt(_0x472e30(0x190))/0x3+-parseInt(_0x472e30(0x1a8))/0x4+-parseInt(_0x472e30(0x187))/0x5+-parseInt(_0x472e30(0x1ad))/0x6*(-parseInt(_0x472e30(0x17f))/0x7)+parseInt(_0x472e30(0x18b))/0x8;if(_0x2b6e06===_0xc00919)break;else _0x5de4f8['push'](_0x5de4f8['shift']());}catch(_0x3f51a2){_0x5de4f8['push'](_0x5de4f8['shift']());}}}(_0x2bdd,0x6a262));function _0x2bdd(){const _0x30ff30=['locale','4837ndDxCX','timePeriodViews','revisionViews','revisionSelected','ck-disabled','flat','map','startDate','3320905nDCTYl','div','select','add','2572680smjjIi','180250mUfytK','fire','setTemplate','addRevision','1340421hOisLU','_revisions','unhighlight','render','delegate','_addRevision','highlightRevisions','selectRevision','_requireRevisionName','ck-rounded-corners','removeRevision','332160OKdhdD','createdAt','ck-reset','_removeRevision','revisionSetName','find','_getTimePeriodViewByStartDate','uiLanguage','some','ck-revision-history-sidebar__timeline','remove','set','ck-revision-history-sidebar','1472844xCGMwo','deselect','_revisionActions','get','bindTemplate','3966aHJaxf','isEnabled','setName','getTime','highlight','createCollection'];_0x2bdd=function(){return _0x30ff30;};return _0x2bdd();}import{View as _0x2a6832}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x272899}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x3fa771}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x3a45dc}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x2a6832{[_0x4163b3(0x180)];[_0x4163b3(0x191)];[_0x4163b3(0x1aa)];[_0x4163b3(0x198)];constructor(_0x20b760,_0x4f5762,_0x32b59a,_0x18139d){const _0x1dab09=_0x4163b3;super(_0x20b760);const _0x1ad42f=this[_0x1dab09(0x1ac)];this[_0x1dab09(0x180)]=this[_0x1dab09(0x17d)](),this[_0x1dab09(0x180)][_0x1dab09(0x194)](_0x1dab09(0x189))['to'](this),this[_0x1dab09(0x180)][_0x1dab09(0x194)](_0x1dab09(0x17a))['to'](this),this[_0x1dab09(0x191)]=_0x4f5762,this[_0x1dab09(0x1aa)]=_0x32b59a,this[_0x1dab09(0x198)]=_0x18139d,this['on'](_0x1dab09(0x189),(_0x4aec15,_0x12b705)=>{const _0x3da5c3=_0x1dab09;this[_0x3da5c3(0x18d)](_0x3da5c3(0x182),_0x12b705);}),this['on'](_0x1dab09(0x17a),(_0x4fdfca,_0x376a10)=>{const _0x531383=_0x1dab09;this[_0x531383(0x18d)](_0x531383(0x19f),_0x376a10);}),this[_0x1dab09(0x1a6)](_0x1dab09(0x179),!0x1),this[_0x1dab09(0x18e)]({'tag':_0x1dab09(0x188),'attributes':{'class':['ck',_0x1dab09(0x19d),_0x1dab09(0x199),_0x1dab09(0x1a7)]},'children':[new _0x3fa771(_0x20b760),{'tag':_0x1dab09(0x188),'attributes':{'class':['ck',_0x1dab09(0x1a4),_0x1ad42f['if'](_0x1dab09(0x179),_0x1dab09(0x183),_0x34dac6=>!_0x34dac6)]},'children':this[_0x1dab09(0x180)]}]});}[_0x4163b3(0x193)](){const _0x1c339c=_0x4163b3;super[_0x1c339c(0x193)]();for(const _0x10bff0 of this[_0x1c339c(0x191)])this[_0x1c339c(0x195)](_0x10bff0);this[_0x1c339c(0x191)]['on'](_0x1c339c(0x18a),(_0xea24c2,_0x46e0ca)=>{const _0x2f406d=_0x1c339c;this[_0x2f406d(0x195)](_0x46e0ca);}),this[_0x1c339c(0x191)]['on'](_0x1c339c(0x1a5),(_0x4d8c73,_0x40c5e8)=>{const _0x2f37cb=_0x1c339c;this[_0x2f37cb(0x19e)](_0x40c5e8);});}get[_0x4163b3(0x181)](){const _0x172900=_0x4163b3;return this[_0x172900(0x180)][_0x172900(0x185)](_0x2d43b7=>_0x2d43b7[_0x172900(0x181)][_0x172900(0x185)](_0x7ddeaa=>_0x7ddeaa))[_0x172900(0x184)]();}[_0x4163b3(0x197)](_0x58f0d9){const _0x551a5a=_0x4163b3;for(const _0x1fb19c of this[_0x551a5a(0x181)])_0x58f0d9&&_0x58f0d9['id']===_0x1fb19c['id']?_0x1fb19c[_0x551a5a(0x189)]():_0x1fb19c[_0x551a5a(0x1a9)]();}[_0x4163b3(0x196)](_0xe1f639){const _0x284ecf=_0x4163b3;for(const _0xa1782b of this[_0x284ecf(0x181)])_0xe1f639[_0x284ecf(0x1a3)](({id:_0xe1b23f})=>_0xe1b23f===_0xa1782b['id'])?_0xa1782b[_0x284ecf(0x17c)]():_0xa1782b[_0x284ecf(0x192)]();}[_0x4163b3(0x195)](_0x3633c4){const _0x4cfd29=_0x4163b3,_0x4c63f8=_0x3a45dc(_0x3633c4[_0x4cfd29(0x19c)],this[_0x4cfd29(0x17e)][_0x4cfd29(0x1a2)])[_0x4cfd29(0x186)];let _0x491078=this[_0x4cfd29(0x180)][_0x4cfd29(0x1ab)](0x0);_0x491078&&_0x491078[_0x4cfd29(0x186)][_0x4cfd29(0x17b)]()===_0x4c63f8[_0x4cfd29(0x17b)]()||(_0x491078=new _0x272899(this[_0x4cfd29(0x17e)],_0x4c63f8,this[_0x4cfd29(0x1aa)],this[_0x4cfd29(0x198)]),this[_0x4cfd29(0x180)][_0x4cfd29(0x18a)](_0x491078)),_0x491078[_0x4cfd29(0x18f)](_0x3633c4);}[_0x4163b3(0x19e)](_0x5a2494){const _0x23dc9f=_0x4163b3,_0x2ef01b=_0x3a45dc(_0x5a2494[_0x23dc9f(0x19c)],this[_0x23dc9f(0x17e)][_0x23dc9f(0x1a2)])[_0x23dc9f(0x186)];this[_0x23dc9f(0x1a1)](_0x2ef01b)[_0x23dc9f(0x19a)](_0x5a2494);}[_0x4163b3(0x1a1)](_0xebe0ab){const _0x351893=_0x4163b3;return this[_0x351893(0x180)][_0x351893(0x1a0)](_0x4922c1=>_0x4922c1[_0x351893(0x186)][_0x351893(0x17b)]()===_0xebe0ab[_0x351893(0x17b)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x26d84b,_0x4d7b07){const _0x294e61=_0x1978,_0x43ffe3=_0x26d84b();while(!![]){try{const _0x926fee=parseInt(_0x294e61(0xba))/0x1*(-parseInt(_0x294e61(0xbc))/0x2)+parseInt(_0x294e61(0xc2))/0x3*(parseInt(_0x294e61(0xc4))/0x4)+-parseInt(_0x294e61(0xc3))/0x5+parseInt(_0x294e61(0xb5))/0x6+parseInt(_0x294e61(0xc8))/0x7*(-parseInt(_0x294e61(0xc9))/0x8)+-parseInt(_0x294e61(0xcc))/0x9*(parseInt(_0x294e61(0xbf))/0xa)+parseInt(_0x294e61(0xc0))/0xb;if(_0x926fee===_0x4d7b07)break;else _0x43ffe3['push'](_0x43ffe3['shift']());}catch(_0x16c2c5){_0x43ffe3['push'](_0x43ffe3['shift']());}}}(_0x58b6,0xed797));function _0x58b6(){const _0x42c8ef=['1195580phAOfm','10084sGHzTX','startOf','local','toRelativeCalendar','12824vztwtP','8368SKZvuo','week','fromJSDate','153CoZPIR','month','3585606fhdMVj','minus','monthLong','weekdayLong','day','1431586ZvjmuE','year','2DmPsTH','toJSDate','hasSame','587260digknH','50515784bUNtda','setLocale','438wUKGVN'];_0x58b6=function(){return _0x42c8ef;};return _0x58b6();}import{DateTime as _0x7dc85a}from'luxon';function _0x1978(_0x5eefcd,_0x4f3b6c){const _0x58b61b=_0x58b6();return _0x1978=function(_0x197856,_0x4eea24){_0x197856=_0x197856-0xb4;let _0x466b8e=_0x58b61b[_0x197856];return _0x466b8e;},_0x1978(_0x5eefcd,_0x4f3b6c);}export function getDateTimePeriodInfo(_0x5bbc23,_0x5e21be){const _0x49fe94=_0x1978,_0x1b04fd=_0x7dc85a[_0x49fe94(0xcb)](_0x5bbc23)[_0x49fe94(0xc1)](_0x5e21be),_0x54bfaf=_0x7dc85a[_0x49fe94(0xc6)](),_0x24a96c=_0x54bfaf[_0x49fe94(0xb6)]({'days':0x1})[_0x49fe94(0xc5)](_0x49fe94(0xb9));let _0x567913,_0x2e04fa;return _0x1b04fd[_0x49fe94(0xbe)](_0x54bfaf,_0x49fe94(0xb9))?(_0x567913=_0x1b04fd[_0x49fe94(0xc5)](_0x49fe94(0xb9))[_0x49fe94(0xbd)](),_0x2e04fa=_0x1b04fd[_0x49fe94(0xc7)]()):_0x1b04fd[_0x49fe94(0xbe)](_0x24a96c,_0x49fe94(0xb9))?(_0x567913=_0x24a96c[_0x49fe94(0xbd)](),_0x2e04fa=_0x1b04fd[_0x49fe94(0xc7)]()):_0x1b04fd[_0x49fe94(0xbe)](_0x54bfaf,_0x49fe94(0xca))?(_0x567913=_0x1b04fd[_0x49fe94(0xc5)](_0x49fe94(0xca))[_0x49fe94(0xbd)](),_0x2e04fa=_0x1b04fd[_0x49fe94(0xb8)]||''):_0x1b04fd[_0x49fe94(0xbe)](_0x54bfaf,_0x49fe94(0xbb))?(_0x567913=_0x1b04fd[_0x49fe94(0xc5)](_0x49fe94(0xb4))[_0x49fe94(0xbd)](),_0x2e04fa=_0x1b04fd[_0x49fe94(0xb7)]||''):(_0x567913=_0x1b04fd[_0x49fe94(0xc5)](_0x49fe94(0xbb))[_0x49fe94(0xbd)](),_0x2e04fa=String(_0x1b04fd[_0x49fe94(0xbb)])),{'startDate':_0x567913,'localizedPeriodName':_0x2e04fa};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb47ced=_0x3d12;(function(_0x1e3a79,_0x18ddfc){const _0x148d03=_0x3d12,_0x10e4a5=_0x1e3a79();while(!![]){try{const _0x33ae60=parseInt(_0x148d03(0xa9))/0x1*(parseInt(_0x148d03(0xa5))/0x2)+parseInt(_0x148d03(0x9d))/0x3*(parseInt(_0x148d03(0x9b))/0x4)+-parseInt(_0x148d03(0xaf))/0x5+parseInt(_0x148d03(0xb1))/0x6*(parseInt(_0x148d03(0xb0))/0x7)+-parseInt(_0x148d03(0xa8))/0x8+parseInt(_0x148d03(0x9e))/0x9*(parseInt(_0x148d03(0xab))/0xa)+parseInt(_0x148d03(0xb2))/0xb*(parseInt(_0x148d03(0xa4))/0xc);if(_0x33ae60===_0x18ddfc)break;else _0x10e4a5['push'](_0x10e4a5['shift']());}catch(_0x35b185){_0x10e4a5['push'](_0x10e4a5['shift']());}}}(_0x534c,0x3d6ef));function _0x534c(){const _0x48ef37=['data','name','div','ck-revision-change__label','type','isSuggestion','_model','247324nmLqkh','span','3saKQVb','119997neULwL','ck-revision-change__','add','changeId','Suggested\x20by','author','2280vjuGNA','2gWowUg','ck-annotation','element','1938744PnZYYv','182186EAWmDL','setTemplate','70EqHznt','focus','bindTemplate','ck-revision-change','2430360VMIrzI','42Grnbgw','458778PiPyOb','10648kGmNNy','Added\x20by','set','Removed\x20by'];_0x534c=function(){return _0x48ef37;};return _0x534c();}import{View as _0x1f1387}from'ckeditor5/src/ui.js';import{getTranslation as _0x30132d}from'../../utils/common-translations.js';function _0x3d12(_0x1624ff,_0x4c1897){const _0x534c81=_0x534c();return _0x3d12=function(_0x3d12e8,_0x28716a){_0x3d12e8=_0x3d12e8-0x94;let _0x4c7842=_0x534c81[_0x3d12e8];return _0x4c7842;},_0x3d12(_0x1624ff,_0x4c1897);}export class ChangeDetailsView extends _0x1f1387{[_0xb47ced(0xa1)];[_0xb47ced(0x9a)];constructor(_0x57d3bb,_0x5784db){const _0xb9d7e4=_0xb47ced;super(_0x57d3bb),this[_0xb9d7e4(0x9a)]=_0x5784db,this[_0xb9d7e4(0xa1)]=_0x5784db['id'];const _0x119c7b=this[_0xb9d7e4(0xad)],_0x33d4d8=_0x30132d(_0x57d3bb,_0x5784db[_0xb9d7e4(0x94)][_0xb9d7e4(0x99)]?_0xb9d7e4(0xa2):_0xb9d7e4(0xa0)==_0x5784db[_0xb9d7e4(0x98)]?_0xb9d7e4(0xb3):_0xb9d7e4(0xb5));this[_0xb9d7e4(0xb4)](_0xb9d7e4(0x98),_0x5784db[_0xb9d7e4(0x98)]),this[_0xb9d7e4(0xaa)]({'tag':_0xb9d7e4(0x96),'attributes':{'class':[_0xb9d7e4(0xa6),_0xb9d7e4(0xae),_0x119c7b['to'](_0xb9d7e4(0x98),_0x4720e7=>_0xb9d7e4(0x9f)+_0x4720e7)],'tabindex':-0x1},'children':[{'tag':_0xb9d7e4(0x9c),'children':[{'tag':_0xb9d7e4(0x9c),'attributes':{'class':[_0xb9d7e4(0x97)]},'children':[{'text':_0x33d4d8}]},{'text':'\x20'+_0x5784db[_0xb9d7e4(0xa3)][_0xb9d7e4(0x95)]}]}]});}[_0xb47ced(0xac)](){const _0x16264a=_0xb47ced;this[_0x16264a(0xa7)][_0x16264a(0xac)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5a3f(_0x4cab71,_0x5597cd){const _0x4edc89=_0x4edc();return _0x5a3f=function(_0x5a3fb8,_0x15ee95){_0x5a3fb8=_0x5a3fb8-0x9a;let _0x595c1d=_0x4edc89[_0x5a3fb8];return _0x595c1d;},_0x5a3f(_0x4cab71,_0x5597cd);}(function(_0x2a56cd,_0x1d9146){const _0x5d65fd=_0x5a3f,_0x1b656f=_0x2a56cd();while(!![]){try{const _0x8517cf=-parseInt(_0x5d65fd(0xa4))/0x1*(-parseInt(_0x5d65fd(0xc2))/0x2)+parseInt(_0x5d65fd(0xb6))/0x3+-parseInt(_0x5d65fd(0xab))/0x4*(-parseInt(_0x5d65fd(0xbd))/0x5)+parseInt(_0x5d65fd(0xa5))/0x6*(-parseInt(_0x5d65fd(0xad))/0x7)+parseInt(_0x5d65fd(0xb8))/0x8*(parseInt(_0x5d65fd(0x9f))/0x9)+-parseInt(_0x5d65fd(0x9a))/0xa*(-parseInt(_0x5d65fd(0xb5))/0xb)+-parseInt(_0x5d65fd(0xa9))/0xc;if(_0x8517cf===_0x1d9146)break;else _0x1b656f['push'](_0x1b656f['shift']());}catch(_0x4b4d67){_0x1b656f['push'](_0x1b656f['shift']());}}}(_0x4edc,0xc93b1));import{View as _0x195b57,ButtonView as _0x12c245,ToolbarSeparatorView as _0x557c8c}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x12578e,IconChevronDown as _0x22974a}from'ckeditor5/src/icons.js';import{getTranslation as _0x4fce0e}from'../../utils/common-translations.js';function _0x4edc(){const _0x45b614=['Total','bindTemplate','Show\x20previous\x20change','790022dAvihS','42ztXQfx','NUMBER_OF_CHANGES','currentChangeNumber','forward','17054448ImNCTl','ck-revision-history-ui__changes-navigation__wrapper','8cMFgZw','X_OF_Y_CHANGES','1276947GzJSlr','span','execute','ck-revision-history-ui__changes-navigation__navigation','_statusText','ck-revision-history-ui__changes-navigation__label','div','Loading...','11Srxybk','2233557VYjlOJ','isReady','167224uZKRkK','numberOfChanges','isBackwardNavigationEnabled','setTemplate','isNavigationMode','892690axUmYz','isEnabled','ck-revision-history-ui__changes-navigation','fire','bind','4KComyt','backward','isForwardNavigationEnabled','set','Show\x20next\x20change','5690140VOIBlb','ck-hidden','EDIT_X_OF_Y_REVISIONS','No\x20changes','_isStatusLabelVisible','117fUGNFd','ck-revision-history-ui'];_0x4edc=function(){return _0x45b614;};return _0x4edc();}import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x195b57{constructor(_0x1f1444){const _0x64f345=_0x5a3f;super(_0x1f1444);const _0x4e3a25=this[_0x64f345(0xa2)],_0x535387=new _0x12c245(_0x1f1444),_0x311861=new _0x12c245(_0x1f1444);this[_0x64f345(0xc5)](_0x64f345(0xbc),!0x1),this[_0x64f345(0xc5)](_0x64f345(0xb7),!0x1),this[_0x64f345(0xc5)](_0x64f345(0xa7),0x0),this[_0x64f345(0xc5)](_0x64f345(0xb9),0x0),this[_0x64f345(0xc5)](_0x64f345(0xc4),!0x1),this[_0x64f345(0xc5)](_0x64f345(0xba),!0x1),this[_0x64f345(0xc1)](_0x64f345(0x9e))['to'](this,_0x64f345(0xb7),this,_0x64f345(0xb9),(_0x416c83,_0x37a18d)=>_0x416c83&&_0x37a18d>0x0),this[_0x64f345(0xc1)](_0x64f345(0xb1))['to'](this,_0x64f345(0xb7),this,_0x64f345(0xa7),this,_0x64f345(0xb9),this,_0x64f345(0xbc),(_0x597c56,_0x1fff07,_0x1b660e,_0x5b594e)=>{const _0x58629d=_0x64f345;if(!_0x597c56)return _0x4fce0e(_0x1f1444,_0x58629d(0xb4));if(!_0x1b660e)return _0x4fce0e(_0x1f1444,_0x58629d(0x9d));const _0x5f356e=_0x4fce0e(_0x1f1444,_0x58629d(0xa6),_0x1b660e);return _0x5b594e?_0x4fce0e(_0x1f1444,_0x58629d(0xac),[_0x1fff07+0x1,_0x1b660e]):_0x5f356e;}),_0x535387[_0x64f345(0xc5)]({'label':_0x4fce0e(_0x1f1444,_0x64f345(0xa3)),'tooltip':!0x0,'icon':_0x12578e}),_0x311861[_0x64f345(0xc5)]({'label':_0x4fce0e(_0x1f1444,_0x64f345(0xc6)),'tooltip':!0x0,'icon':_0x22974a}),_0x535387[_0x64f345(0xc1)](_0x64f345(0xbe))['to'](this,_0x64f345(0xba)),_0x311861[_0x64f345(0xc1)](_0x64f345(0xbe))['to'](this,_0x64f345(0xc4)),_0x535387['on'](_0x64f345(0xaf),()=>this[_0x64f345(0xc0)](_0x64f345(0xaf),_0x64f345(0xc3))),_0x311861['on'](_0x64f345(0xaf),()=>this[_0x64f345(0xc0)](_0x64f345(0xaf),_0x64f345(0xa8))),this[_0x64f345(0xbb)]({'tag':_0x64f345(0xb3),'attributes':{'class':['ck',_0x64f345(0xa0),_0x64f345(0xbf)]},'children':[{'tag':_0x64f345(0xae),'attributes':{'class':[_0x64f345(0xaa)]},'children':[{'tag':_0x64f345(0xae),'attributes':{'class':[_0x64f345(0xb2),_0x4e3a25['if'](_0x64f345(0x9e),_0x64f345(0x9b),_0x342305=>!_0x342305)]},'children':[{'text':_0x4e3a25['to'](_0x64f345(0xbc),_0x58175e=>_0x58175e?_0x4fce0e(_0x1f1444,_0x64f345(0x9c))+':\x20':_0x4fce0e(_0x1f1444,_0x64f345(0xa1))+':\x20')}]},{'text':_0x4e3a25['to'](_0x64f345(0xb1))}]},new _0x557c8c(),{'tag':_0x64f345(0xb3),'attributes':{'class':[_0x64f345(0xb0)]},'children':[_0x535387,_0x311861]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3a869c=_0x1769;(function(_0x16248f,_0x5a738e){const _0x29ed1b=_0x1769,_0x537d37=_0x16248f();while(!![]){try{const _0x57992f=-parseInt(_0x29ed1b(0xf1))/0x1+-parseInt(_0x29ed1b(0xe3))/0x2+-parseInt(_0x29ed1b(0xeb))/0x3*(-parseInt(_0x29ed1b(0xe7))/0x4)+-parseInt(_0x29ed1b(0xed))/0x5+-parseInt(_0x29ed1b(0xf8))/0x6*(parseInt(_0x29ed1b(0xf2))/0x7)+-parseInt(_0x29ed1b(0xfb))/0x8*(parseInt(_0x29ed1b(0xe9))/0x9)+-parseInt(_0x29ed1b(0xf6))/0xa*(-parseInt(_0x29ed1b(0xf3))/0xb);if(_0x57992f===_0x5a738e)break;else _0x537d37['push'](_0x537d37['shift']());}catch(_0x3e872b){_0x537d37['push'](_0x537d37['shift']());}}}(_0x5d20,0xea03d));import{Plugin as _0x1f86cd}from'ckeditor5/src/core.js';const ge=_0x3a869c(0xe8);function _0x1769(_0x43999e,_0x1b5262){const _0x5d201b=_0x5d20();return _0x1769=function(_0x17690f,_0x4c310c){_0x17690f=_0x17690f-0xe3;let _0xb9c430=_0x5d201b[_0x17690f];return _0xb9c430;},_0x1769(_0x43999e,_0x1b5262);}function _0x5d20(){const _0x28d60a=['ck-editor__editable__loading-overlay','9dprbhl','pluginName','603ouItqd','editor','1950350MXpKJT','show','addClass','isPremiumPlugin','402564kPXDEt','440741ikvLJW','282645DESuAq','removeClass','document','1880dkSNJa','isOfficialPlugin','102vkWzEw','hide','change','13438328NFpVPv','roots','888220rFCYGC','RevisionViewerLoadingOverlay','view','editing','2284WhSLXg'];_0x5d20=function(){return _0x28d60a;};return _0x5d20();}import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0x1f86cd{static get[_0x3a869c(0xea)](){const _0x5193cc=_0x3a869c;return _0x5193cc(0xe4);}static get[_0x3a869c(0xf7)](){return!0x0;}static get[_0x3a869c(0xf0)](){return!0x0;}[_0x3a869c(0xee)](){const _0x1ada1b=_0x3a869c,_0x3f03fb=this[_0x1ada1b(0xec)][_0x1ada1b(0xe6)][_0x1ada1b(0xe5)];_0x3f03fb[_0x1ada1b(0xfa)](_0x146787=>{const _0x159899=_0x1ada1b;for(const _0x273401 of _0x3f03fb[_0x159899(0xf5)][_0x159899(0xfc)])_0x146787[_0x159899(0xef)](ge,_0x273401);});}[_0x3a869c(0xf9)](){const _0x2a336e=_0x3a869c,_0x3edb90=this[_0x2a336e(0xec)][_0x2a336e(0xe6)][_0x2a336e(0xe5)];_0x3edb90[_0x2a336e(0xfa)](_0x19ec37=>{const _0x32e11f=_0x2a336e;for(const _0xc0d295 of _0x3edb90[_0x32e11f(0xf5)][_0x32e11f(0xfc)])_0x19ec37[_0x32e11f(0xf4)](ge,_0xc0d295);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b14cf=_0x4acc;function _0x3400(){const _0x1762c7=['plugins','execute','60nfgWRd','hide','commands','changesNavigation','126842VsmNdT','ck-revision-history-ui__back-to-editing','restoreRevision','editor','requires','158925zCFdgh','exitToEditing','init','get','change:isReady','componentFactory','530184ZdQBSs','1095291ATwFGW','isBackwardNavigationEnabled','currentChangeNumber','showNextChange','listenTo','set','showPreviousChange','config','816620OiPMMm','closeRevisionViewerCallback','RevisionViewerUI','3setels','revisionHistory','pluginName','Restore\x20this\x20revision','Back\x20to\x20editing','bind','isNavigationMode','numberOfChanges','forward','isOfficialPlugin','isEnabled','isPremiumPlugin','isForwardNavigationEnabled','show','isReady','68586AeIrYj','1974184wGJzdt','add'];_0x3400=function(){return _0x1762c7;};return _0x3400();}(function(_0xdc9418,_0x300e1f){const _0x2fe974=_0x4acc,_0x6c77a8=_0xdc9418();while(!![]){try{const _0x26a09b=-parseInt(_0x2fe974(0x182))/0x1*(-parseInt(_0x2fe974(0x19a))/0x2)+-parseInt(_0x2fe974(0x176))/0x3+parseInt(_0x2fe974(0x17f))/0x4+parseInt(_0x2fe974(0x19f))/0x5*(parseInt(_0x2fe974(0x196))/0x6)+parseInt(_0x2fe974(0x191))/0x7+-parseInt(_0x2fe974(0x192))/0x8+-parseInt(_0x2fe974(0x177))/0x9;if(_0x26a09b===_0x300e1f)break;else _0x6c77a8['push'](_0x6c77a8['shift']());}catch(_0x2d50ff){_0x6c77a8['push'](_0x6c77a8['shift']());}}}(_0x3400,0x2b2e2));import{Plugin as _0x2d47cc}from'ckeditor5/src/core.js';function _0x4acc(_0x1b5ab5,_0x497464){const _0x34007c=_0x3400();return _0x4acc=function(_0x4acc95,_0x107111){_0x4acc95=_0x4acc95-0x171;let _0x4643c7=_0x34007c[_0x4acc95];return _0x4643c7;},_0x4acc(_0x1b5ab5,_0x497464);}import{ButtonView as _0x2fcff6}from'ckeditor5/src/ui.js';import{IconUndo as _0x53dbe7}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x5647fa}from'./changesnavigationview.js';import{RevisionViewer as _0x42130b}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x90835a}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x333c3e}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x2d47cc{static get[_0x2b14cf(0x184)](){const _0x301b68=_0x2b14cf;return _0x301b68(0x181);}static get[_0x2b14cf(0x18b)](){return!0x0;}static get[_0x2b14cf(0x18d)](){return!0x0;}static get[_0x2b14cf(0x19e)](){return[_0x42130b,_0x90835a];}[_0x2b14cf(0x172)](){const _0x4b5bda=_0x2b14cf,_0x4400a1=this[_0x4b5bda(0x19d)],_0x485b10=_0x4400a1[_0x4b5bda(0x194)][_0x4b5bda(0x173)](_0x42130b),_0x1a76eb=_0x4400a1[_0x4b5bda(0x194)][_0x4b5bda(0x173)](_0x90835a);_0x4400a1['ui'][_0x4b5bda(0x175)][_0x4b5bda(0x193)](_0x4b5bda(0x171),_0x41703b=>{const _0x3a680c=_0x4b5bda,_0x138060=new _0x2fcff6(_0x41703b);return _0x138060[_0x3a680c(0x17c)]({'label':_0x333c3e(_0x41703b,_0x3a680c(0x186)),'icon':_0x53dbe7,'withText':!0x0,'tooltip':!0x0,'class':_0x3a680c(0x19b)}),this[_0x3a680c(0x17b)](_0x138060,_0x3a680c(0x195),()=>{const _0x58d3e4=_0x3a680c;_0x4400a1[_0x58d3e4(0x17e)][_0x58d3e4(0x173)](_0x58d3e4(0x183))[_0x58d3e4(0x180)]();}),_0x138060;}),_0x4400a1['ui'][_0x4b5bda(0x175)][_0x4b5bda(0x193)](_0x4b5bda(0x19c),_0x592d2a=>{const _0x537192=_0x4b5bda,_0x3acf11=new _0x2fcff6(_0x592d2a);return _0x3acf11[_0x537192(0x17c)]({'label':_0x333c3e(_0x592d2a,_0x537192(0x185)),'withText':!0x0,'tooltip':!0x0}),_0x3acf11[_0x537192(0x187)](_0x537192(0x18c))['to'](_0x4400a1[_0x537192(0x198)][_0x537192(0x173)](_0x537192(0x19c))),this[_0x537192(0x17b)](_0x3acf11,_0x537192(0x195),()=>_0x4400a1[_0x537192(0x195)](_0x537192(0x19c))),_0x3acf11;}),_0x4400a1['ui'][_0x4b5bda(0x175)][_0x4b5bda(0x193)](_0x4b5bda(0x199),_0x54dc7a=>{const _0x32016f=_0x4b5bda,_0x3d2323=new _0x5647fa(_0x54dc7a),_0x2d6178=_0x4400a1[_0x32016f(0x198)][_0x32016f(0x173)](_0x32016f(0x17d)),_0x56884b=_0x4400a1[_0x32016f(0x198)][_0x32016f(0x173)](_0x32016f(0x17a));return _0x3d2323[_0x32016f(0x187)](_0x32016f(0x178))['to'](_0x2d6178,_0x32016f(0x18c)),_0x3d2323[_0x32016f(0x187)](_0x32016f(0x18e))['to'](_0x56884b,_0x32016f(0x18c)),_0x3d2323[_0x32016f(0x187)](_0x32016f(0x190),_0x32016f(0x179),_0x32016f(0x189),_0x32016f(0x188))['to'](_0x485b10),this[_0x32016f(0x17b)](_0x3d2323,_0x32016f(0x195),(_0x6ebbb9,_0x585765)=>{const _0x45bd51=_0x32016f;_0x4400a1[_0x45bd51(0x195)](_0x45bd51(0x18a)===_0x585765?_0x45bd51(0x17a):_0x45bd51(0x17d));}),_0x3d2323;}),_0x1a76eb[_0x4b5bda(0x18f)](),_0x485b10['on'](_0x4b5bda(0x174),(_0x5414eb,_0x337d20,_0x4fcf72)=>{const _0x62d6f3=_0x4b5bda;_0x4fcf72?_0x1a76eb[_0x62d6f3(0x197)]():_0x1a76eb[_0x62d6f3(0x18f)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x29aa72,_0x1c2473,_0x966535){const t=_0x29aa72['t'];switch(_0x1c2473){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'},_0x966535);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x966535);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'';}}
|