@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20241216.0 → 0.0.0-nightly-20241217.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +5 -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/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 +27 -8
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/dist/augmentation.d.ts +0 -33
- package/dist/changeitem.d.ts +0 -62
- package/dist/editor/revisionviewereditor.d.ts +0 -31
- package/dist/editor/revisionviewereditorui.d.ts +0 -32
- package/dist/editor/revisionviewereditoruiview.d.ts +0 -47
- package/dist/index.d.ts +0 -20
- package/dist/revision.d.ts +0 -157
- package/dist/revisiondiff.d.ts +0 -28
- package/dist/revisionhistory.d.ts +0 -111
- package/dist/revisionhistoryadapter.d.ts +0 -68
- package/dist/revisionhistoryconfig.d.ts +0 -75
- package/dist/revisionsrepository.d.ts +0 -64
- package/dist/revisiontracker.d.ts +0 -141
- package/dist/revisionviewer.d.ts +0 -119
- package/dist/ui/revision/createrevisionactionsdropdown.d.ts +0 -17
- package/dist/ui/revision/revisionauthorview.d.ts +0 -18
- package/dist/ui/revision/revisionnameview.d.ts +0 -34
- package/dist/ui/revision/revisionview.d.ts +0 -99
- package/dist/ui/revision/subrevisioncollapserview.d.ts +0 -25
- package/dist/ui/revision/subrevisionview.d.ts +0 -38
- package/dist/ui/revision/utils.d.ts +0 -9
- package/dist/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +0 -61
- package/dist/ui/revisionhistory/revisionhistoryui.d.ts +0 -38
- package/dist/ui/revisionssidebar/revisionssidebar.d.ts +0 -56
- package/dist/ui/revisionssidebar/revisionssidebarheaderview.d.ts +0 -20
- package/dist/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +0 -33
- package/dist/ui/revisionssidebar/revisionssidebarview.d.ts +0 -48
- package/dist/ui/revisionssidebar/utils.d.ts +0 -13
- package/dist/ui/revisionviewer/changedetailsview.d.ts +0 -26
- package/dist/ui/revisionviewer/changesnavigationview.d.ts +0 -44
- package/dist/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +0 -38
- package/dist/ui/revisionviewer/revisionviewerui.d.ts +0 -40
- package/dist/utils/common-translations.d.ts +0 -15
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1143db=_0x5074;(function(_0x3290f4,_0x27ca2e){const _0x42d297=_0x5074,_0x5c1c4a=_0x3290f4();while(!![]){try{const _0x5e6594=-parseInt(_0x42d297(0xa8))/0x1*(-parseInt(_0x42d297(0x8a))/0x2)+-parseInt(_0x42d297(0xa5))/0x3*(-parseInt(_0x42d297(0x9f))/0x4)+-parseInt(_0x42d297(0x8e))/0x5+-parseInt(_0x42d297(0x96))/0x6+-parseInt(_0x42d297(0x9c))/0x7+parseInt(_0x42d297(0x94))/0x8*(parseInt(_0x42d297(0x83))/0x9)+parseInt(_0x42d297(0xaa))/0xa*(parseInt(_0x42d297(0xa1))/0xb);if(_0x5e6594===_0x27ca2e)break;else _0x5c1c4a['push'](_0x5c1c4a['shift']());}catch(_0x3bc378){_0x5c1c4a['push'](_0x5c1c4a['shift']());}}}(_0x3085,0xcf693));import{LabeledFieldView as _0x2c4521,View as _0x22099c,createLabeledInputText as _0x2ccd75,injectCssTransitionDisabler as _0x2548f4,submitHandler as _0x1c676f}from'ckeditor5/src/ui.js';import{FocusTracker as _0x27663c,KeystrokeHandler as _0x331101}from'ckeditor5/src/utils.js';function _0x3085(){const _0x40bb1e=['4639190gZRDaq','form','fieldView','extendTemplate','add','label','958336QNtyjE','set','8346780sclsBA','revisionName','reset','arrowleft','value','Name\x20of\x20the\x20revision','9787134GMDpEw','locale','input','1688684LXYWrx','element','2321tIMdHk','revisionNameInputView','setTemplate','errorText','9bBQYuh','focus','listenTo','2903NbbJtF','ck-revision-history-save-revision-form','37510TFYHBv','220','arrowright','revisionNameInputValue','focusTracker','108nsxHfu','optional','_createRevisionNameInput','trim','arrowdown','ck-responsive-form','arrowup','738liVonh','stopPropagation','keystrokes','render'];_0x3085=function(){return _0x40bb1e;};return _0x3085();}import{getTranslation as _0x105a53}from'../../utils/common-translations.js';function _0x5074(_0x4823ae,_0x4ae20c){const _0x30857b=_0x3085();return _0x5074=function(_0x507479,_0x4c05d7){_0x507479=_0x507479-0x7f;let _0x984b42=_0x30857b[_0x507479];return _0x984b42;},_0x5074(_0x4823ae,_0x4ae20c);}import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class ns extends _0x22099c{constructor(_0x145d46,_0x184be7){const _0xea955c=_0x5074;super(_0x145d46),this[_0xea955c(0x82)]=new _0x27663c(),this[_0xea955c(0x8c)]=new _0x331101(),this[_0xea955c(0x95)](_0xea955c(0x81),''),this[_0xea955c(0xa2)]=this[_0xea955c(0x85)](_0x184be7),this[_0xea955c(0xa3)]({'tag':_0xea955c(0x8f),'attributes':{'class':['ck',_0xea955c(0xa9),_0xea955c(0x88)],'tabindex':'-1'},'children':[this[_0xea955c(0xa2)]]}),_0x2548f4(this);}[_0x1143db(0x8d)](){const _0x1dd34b=_0x1143db;super[_0x1dd34b(0x8d)](),_0x1c676f({'view':this}),this[_0x1dd34b(0x82)][_0x1dd34b(0x92)](this[_0x1dd34b(0xa2)][_0x1dd34b(0xa0)]),this[_0x1dd34b(0x8c)][_0x1dd34b(0xa7)](this[_0x1dd34b(0xa0)]);const _0x579349=_0x30d3aa=>_0x30d3aa[_0x1dd34b(0x8b)]();this[_0x1dd34b(0x8c)][_0x1dd34b(0x95)](_0x1dd34b(0x80),_0x579349),this[_0x1dd34b(0x8c)][_0x1dd34b(0x95)](_0x1dd34b(0x99),_0x579349),this[_0x1dd34b(0x8c)][_0x1dd34b(0x95)](_0x1dd34b(0x89),_0x579349),this[_0x1dd34b(0x8c)][_0x1dd34b(0x95)](_0x1dd34b(0x87),_0x579349);}[_0x1143db(0xa6)](){const _0x54a5e4=_0x1143db;this[_0x54a5e4(0xa2)][_0x54a5e4(0xa6)]();}get[_0x1143db(0x97)](){const _0xe10de6=_0x1143db;return this[_0xe10de6(0xa2)][_0xe10de6(0x90)][_0xe10de6(0xa0)][_0xe10de6(0x9a)][_0xe10de6(0x86)]();}set[_0x1143db(0x97)](_0x508c67){const _0x2053ed=_0x1143db;this[_0x2053ed(0xa2)][_0x2053ed(0x90)][_0x2053ed(0xa0)][_0x2053ed(0x9a)]=_0x508c67[_0x2053ed(0x86)]();}[_0x1143db(0x98)](){const _0x200e8c=_0x1143db;this[_0x200e8c(0xa2)][_0x200e8c(0x90)][_0x200e8c(0xa0)][_0x200e8c(0x9a)]='',this[_0x200e8c(0xa2)][_0x200e8c(0xa4)]=null;}[_0x1143db(0x85)](_0x316f58){const _0x57bc59=_0x1143db,_0x55c9a0=new _0x2c4521(this[_0x57bc59(0x9d)],_0x2ccd75),_0x56435f=_0x55c9a0[_0x57bc59(0x90)];_0x56435f[_0x57bc59(0x91)]({'attributes':{'maxlength':_0x57bc59(0x7f)}});let _0x1d6531=_0x105a53(this[_0x57bc59(0x9d)],_0x57bc59(0x9b));return!_0x316f58&&(_0x1d6531+='\x20('+_0x105a53(this[_0x57bc59(0x9d)],_0x57bc59(0x84))+')'),(_0x55c9a0[_0x57bc59(0x93)]=_0x1d6531,_0x56435f['on'](_0x57bc59(0x9e),()=>{const _0xc03f6f=_0x57bc59;this[_0xc03f6f(0x81)]=_0x56435f[_0xc03f6f(0xa0)][_0xc03f6f(0x9a)][_0xc03f6f(0x86)]();}),_0x55c9a0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x507980=_0x5188;(function(_0x3c5f53,_0x363589){const _0x14b142=_0x5188,_0x2b61ef=_0x3c5f53();while(!![]){try{const _0x21ca12=-parseInt(_0x14b142(0x1a9))/0x1+parseInt(_0x14b142(0x19c))/0x2*(-parseInt(_0x14b142(0x1cf))/0x3)+parseInt(_0x14b142(0x1ac))/0x4*(parseInt(_0x14b142(0x1ab))/0x5)+-parseInt(_0x14b142(0x1a3))/0x6+-parseInt(_0x14b142(0x1a6))/0x7+parseInt(_0x14b142(0x1cc))/0x8+parseInt(_0x14b142(0x1bb))/0x9*(parseInt(_0x14b142(0x190))/0xa);if(_0x21ca12===_0x363589)break;else _0x2b61ef['push'](_0x2b61ef['shift']());}catch(_0x54f082){_0x2b61ef['push'](_0x2b61ef['shift']());}}}(_0x2f9e,0x91556));function _0x5188(_0x55f455,_0x272402){const _0x2f9e7c=_0x2f9e();return _0x5188=function(_0x51888f,_0x242c1d){_0x51888f=_0x51888f-0x18f;let _0x3b7b5f=_0x2f9e7c[_0x51888f];return _0x3b7b5f;},_0x5188(_0x55f455,_0x272402);}import{Plugin as _0x2d6263,icons as _0x53f536}from'ckeditor5/src/core.js';import{createDropdown as _0x36e3a2,ButtonView as _0x741fbb,ListItemView as _0x3e5352,ListView as _0x44dea4,MenuBarMenuListItemButtonView as _0x5ecf66,MenuBarMenuListItemView as _0x100a31,MenuBarMenuListView as _0x6d5ecc,MenuBarMenuView as _0x2036ee}from'ckeditor5/src/ui.js';function _0x2f9e(){const _0x3cfe46=['RevisionHistoryUI','config','saveRevision','add','showRevisionViewerCallback','isOpen','_createSaveRevisionFormView','submit','hide','menu','2EBzwSr','isEnabled','items','show','The\x20revision\x20name\x20cannot\x20be\x20empty.','pluginName','role','3574104ZYwtEa','isReadOnly','revisionHistory','2783557sLEtUe','componentFactory','errorText','486768vMNNXK','execute','10pToijy','149496xOSOqt','isPremiumPlugin','render','children','isOfficialPlugin','view','Save\x20current\x20revision','isReady','Dialog','revisionNameInputView','_saveRevisionFormView','get','Revision\x20history','editor','addMany','1491309LvmLFb','plugins','revisionHistory.requireRevisionName','bind','panelView','_showDialog','revisionSave','Accept','locale','_registerMenuComponent','init','history','Open\x20revision\x20history','editing','reset','ck-button-action','revisionName','2120008ObRusL','menuBar:revisionHistory','set','1255419nueoIL','requires','buttonView','RevisionTracker','menuitem','focus','delegate','130sgqUxC','Cancel'];_0x2f9e=function(){return _0x3cfe46;};return _0x2f9e();}import _0x906e2a from'../../revisiontracker.js';import _0x1ebef4 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x592557}from'../../utils/common-translations.js';export default class u extends _0x2d6263{static get[_0x507980(0x1a1)](){const _0x5e9f66=_0x507980;return _0x5e9f66(0x192);}static get[_0x507980(0x1b0)](){return!0x0;}static get[_0x507980(0x1ad)](){return!0x0;}static get[_0x507980(0x1d0)](){return[_0x906e2a];}[_0x507980(0x1c5)](){const _0x5729f3=_0x507980,_0x390144=this[_0x5729f3(0x1b9)],_0x4ce2e8=_0x390144[_0x5729f3(0x1bc)][_0x5729f3(0x1b7)](_0x5729f3(0x1d2));_0x390144['ui'][_0x5729f3(0x1a7)][_0x5729f3(0x195)](_0x5729f3(0x1a5),_0x2a961d=>{const _0x396f0b=_0x5729f3,_0x8c370f=_0x36e3a2(_0x2a961d),_0x3e6b65=_0x8c370f[_0x396f0b(0x1bf)][_0x396f0b(0x1af)],_0x147cbd=new _0x44dea4(_0x2a961d),_0x17440e=new _0x3e5352(_0x2a961d),_0x2834f1=new _0x741fbb(_0x2a961d),_0x3ac04e=new _0x3e5352(_0x2a961d),_0x474d50=new _0x741fbb(_0x2a961d);return _0x8c370f[_0x396f0b(0x1be)](_0x396f0b(0x19d))['to'](_0x4ce2e8,_0x396f0b(0x1b3),_0x4ce2e8,_0x396f0b(0x19d),_0x390144,_0x396f0b(0x1a4),(_0x506ae6,_0x274dc3,_0x1cabed)=>_0x506ae6&&_0x274dc3&&!_0x1cabed),_0x8c370f[_0x396f0b(0x1d1)][_0x396f0b(0x1ce)]({'icon':_0x53f536[_0x396f0b(0x1c6)],'label':_0x592557(_0x2a961d,_0x396f0b(0x1b8)),'tooltip':!0x0}),_0x2834f1[_0x396f0b(0x1ce)]({'label':_0x592557(_0x2a961d,_0x396f0b(0x1b2)),'withText':!0x0,'role':_0x396f0b(0x1d3)}),_0x2834f1[_0x396f0b(0x1be)](_0x396f0b(0x19d))['to'](_0x4ce2e8,_0x396f0b(0x1b3),_0x4ce2e8,_0x396f0b(0x19d),_0x390144,_0x396f0b(0x1a4),(_0x30e327,_0x24efa9,_0x25841b)=>_0x30e327&&_0x24efa9&&!_0x25841b),_0x2834f1['on'](_0x396f0b(0x1aa),()=>this[_0x396f0b(0x1c0)]()),_0x474d50[_0x396f0b(0x1ce)]({'label':_0x592557(_0x2a961d,_0x396f0b(0x1c7)),'withText':!0x0,'role':_0x396f0b(0x1d3)}),_0x474d50[_0x396f0b(0x1be)](_0x396f0b(0x19d))['to'](_0x4ce2e8,_0x396f0b(0x1b3),_0x390144,_0x396f0b(0x1a4),(_0x4f2a43,_0x49193f)=>_0x4f2a43&&!_0x49193f),_0x474d50['on'](_0x396f0b(0x1aa),()=>{const _0x5099f6=_0x396f0b;_0x390144[_0x5099f6(0x193)][_0x5099f6(0x1b7)](_0x5099f6(0x1a5))[_0x5099f6(0x196)](),_0x8c370f[_0x5099f6(0x197)]=!0x1,_0x390144[_0x5099f6(0x1c8)][_0x5099f6(0x1b1)][_0x5099f6(0x1d4)]();}),_0x17440e[_0x396f0b(0x1af)][_0x396f0b(0x195)](_0x2834f1),_0x3ac04e[_0x396f0b(0x1af)][_0x396f0b(0x195)](_0x474d50),_0x147cbd[_0x396f0b(0x1a2)]=_0x396f0b(0x19b),_0x147cbd[_0x396f0b(0x19e)][_0x396f0b(0x1ba)]([_0x17440e,_0x3ac04e]),_0x3e6b65[_0x396f0b(0x195)](_0x147cbd),_0x8c370f;}),_0x390144['ui'][_0x5729f3(0x1a7)][_0x5729f3(0x195)](_0x5729f3(0x1cd),()=>this[_0x5729f3(0x1c4)]());}[_0x507980(0x1c4)](){const _0x1ac614=_0x507980,_0xd885de=this[_0x1ac614(0x1b9)],_0x1a8b4c=_0xd885de[_0x1ac614(0x1c3)],_0x343d95=new _0x2036ee(_0x1a8b4c),_0x5a6cde=new _0x6d5ecc(_0x1a8b4c);_0x343d95[_0x1ac614(0x1d1)][_0x1ac614(0x1ce)]({'icon':_0x53f536[_0x1ac614(0x1c6)],'label':_0x592557(_0x1a8b4c,_0x1ac614(0x1b8))});const _0x388569=new _0x100a31(_0x1a8b4c,_0x343d95),_0x4661cf=new _0x5ecf66(_0x1a8b4c);_0x4661cf[_0x1ac614(0x1ce)]({'label':_0x592557(_0x1a8b4c,_0x1ac614(0x1b2))}),_0x4661cf[_0x1ac614(0x18f)](_0x1ac614(0x1aa))['to'](_0x343d95),_0x4661cf['on'](_0x1ac614(0x1aa),()=>{const _0x1a499e=_0x1ac614;this[_0x1a499e(0x1c0)]();}),_0x388569[_0x1ac614(0x1af)][_0x1ac614(0x195)](_0x4661cf),_0x5a6cde[_0x1ac614(0x19e)][_0x1ac614(0x195)](_0x388569);const _0x1c0413=new _0x100a31(_0x1a8b4c,_0x343d95),_0x108284=new _0x5ecf66(_0x1a8b4c);return _0x108284[_0x1ac614(0x1ce)]({'label':_0x592557(_0x1a8b4c,_0x1ac614(0x1c7))}),_0x108284[_0x1ac614(0x18f)](_0x1ac614(0x1aa))['to'](_0x343d95),_0x108284['on'](_0x1ac614(0x1aa),()=>{const _0x2da86f=_0x1ac614;_0xd885de[_0x2da86f(0x193)][_0x2da86f(0x1b7)](_0x2da86f(0x1a5))[_0x2da86f(0x196)]();}),_0x1c0413[_0x1ac614(0x1af)][_0x1ac614(0x195)](_0x108284),_0x5a6cde[_0x1ac614(0x19e)][_0x1ac614(0x195)](_0x1c0413),_0x343d95[_0x1ac614(0x1bf)][_0x1ac614(0x1af)][_0x1ac614(0x195)](_0x5a6cde),_0x343d95;}[_0x507980(0x1c0)](){const _0x4484fc=_0x507980,_0x22129d=this[_0x4484fc(0x1b9)],_0x58d8a9=_0x22129d[_0x4484fc(0x1c3)],_0x4e22bc=_0x22129d[_0x4484fc(0x1bc)][_0x4484fc(0x1b7)](_0x4484fc(0x1b4)),_0x406148=_0x22129d[_0x4484fc(0x1bc)][_0x4484fc(0x1b7)](_0x4484fc(0x1d2));function _0x1f1261(_0xecd8e7){const _0x37beae=_0x4484fc;_0x22129d[_0x37beae(0x193)][_0x37beae(0x1b7)](_0x37beae(0x1bd))&&''===_0xecd8e7[_0x37beae(0x1cb)]?_0xecd8e7[_0x37beae(0x1b5)][_0x37beae(0x1a8)]=_0x592557(_0x58d8a9,_0x37beae(0x1a0)):(_0x22129d[_0x37beae(0x1bc)][_0x37beae(0x1b7)](_0x906e2a)[_0x37beae(0x194)]({'name':_0xecd8e7[_0x37beae(0x1cb)]}),_0x4e22bc[_0x37beae(0x19a)]());}this[_0x4484fc(0x1b6)]||(this[_0x4484fc(0x198)](),this[_0x4484fc(0x1b6)]['on'](_0x4484fc(0x199),()=>_0x1f1261(this[_0x4484fc(0x1b6)]))),this[_0x4484fc(0x1b6)][_0x4484fc(0x1c9)](),_0x4e22bc[_0x4484fc(0x19f)]({'id':_0x4484fc(0x1c1),'title':_0x592557(_0x58d8a9,_0x4484fc(0x1b2)),'isModal':!0x0,'content':this[_0x4484fc(0x1b6)],'actionButtons':[{'label':_0x592557(_0x22129d[_0x4484fc(0x1c3)],_0x4484fc(0x191)),'withText':!0x0,'onExecute':()=>_0x4e22bc[_0x4484fc(0x19a)]()},{'label':_0x592557(_0x22129d[_0x4484fc(0x1c3)],_0x4484fc(0x1c2)),'class':_0x4484fc(0x1ca),'withText':!0x0,'onCreate'(_0x36e558){const _0x475531=_0x4484fc;_0x36e558[_0x475531(0x1be)](_0x475531(0x19d))['to'](_0x406148,_0x475531(0x1b3),_0x406148,_0x475531(0x19d),_0x22129d,_0x475531(0x1a4),(_0x30a11a,_0x2a3c28,_0x435d78)=>_0x30a11a&&_0x2a3c28&&!_0x435d78);},'onExecute':()=>_0x1f1261(this[_0x4484fc(0x1b6)])}]});}[_0x507980(0x198)](){const _0x3edcf7=_0x507980,_0xcdf2eb=this[_0x3edcf7(0x1b9)],_0x99b98c=_0xcdf2eb[_0x3edcf7(0x1c3)];this[_0x3edcf7(0x1b6)]=new _0x1ebef4(_0x99b98c,_0xcdf2eb[_0x3edcf7(0x193)][_0x3edcf7(0x1b7)](_0x3edcf7(0x1bd))),this[_0x3edcf7(0x1b6)][_0x3edcf7(0x1ae)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1705b6=_0x4f31;(function(_0x59ba82,_0x56f97e){const _0x445268=_0x4f31,_0x215c54=_0x59ba82();while(!![]){try{const _0x2dcadd=parseInt(_0x445268(0x1f9))/0x1*(parseInt(_0x445268(0x218))/0x2)+parseInt(_0x445268(0x1d8))/0x3*(parseInt(_0x445268(0x1ed))/0x4)+-parseInt(_0x445268(0x202))/0x5*(-parseInt(_0x445268(0x1f6))/0x6)+-parseInt(_0x445268(0x1fc))/0x7*(parseInt(_0x445268(0x1f4))/0x8)+parseInt(_0x445268(0x1e8))/0x9+parseInt(_0x445268(0x213))/0xa+-parseInt(_0x445268(0x1e4))/0xb;if(_0x2dcadd===_0x56f97e)break;else _0x215c54['push'](_0x215c54['shift']());}catch(_0x44ccfa){_0x215c54['push'](_0x215c54['shift']());}}}(_0x525b,0x5d642));import{Plugin as _0x1be309}from'ckeditor5/src/core.js';import _0xa279b0 from'./revisionssidebarview.js';import _0xaa53df from'../../revisionviewer.js';function _0x525b(){const _0x59d306=['_revisions','diff','isOfficialPlugin','isReady','restoreRevisionCallback','highlightRevisions','remove','revisionHistory.viewerSidebarContainer','name','string','defaultRevisionActions','_handleDiffChange','locale','2090230eqdZOK','assign','timePeriodViews','isPremiumPlugin','action','44xTpGQB','destroy','config','revisionViews','_handleEditorDataReady','ready','plugins','compareAgainstSelected','RevisionsSidebar','setName','compare','isSelected','init','element','bind','length','listenTo','change:diff','getLaterVisibleRevision','fieldView','36417SicRwI','revisionSelected','getRevision','select','render','revisionHistory.requireRevisionName','pluginName','editor','revisionHistory.revisionActions','Compare\x20against\x20selected','selectRevision','Name\x20this\x20revision','11764489XWoXVh','nameRevision','restoreRevision','getRevisionsInDiff','5098572GxGQWv','_createRevisionActions','data','get','requires','108sSKxGQ','_revisionViewer','getEarlierVisibleRevision','revisionSetName','map','add','repository','2654920jLALpA','getIndex','12sCaYZC','_sidebarView','_revisionsRepository','23840ZrCUyO','newRevisionId','appendChild','7jPdSSU','isEnabled','focus','revisionHistory','_handleRevisionSelected','_handleRevisionSetName','390325iRsEyY','isVisible','Restore\x20this\x20revision','availableRevisionActions'];_0x525b=function(){return _0x59d306;};return _0x525b();}class g extends _0x1be309{static get[_0x1705b6(0x1de)](){const _0xba2f01=_0x1705b6;return _0xba2f01(0x1cc);}static get[_0x1705b6(0x208)](){return!0x0;}static get[_0x1705b6(0x216)](){return!0x0;}static get[_0x1705b6(0x1ec)](){return[_0xaa53df];}constructor(_0x3f72fc){const _0x2755ac=_0x1705b6;super(_0x3f72fc),this[_0x2755ac(0x1ee)]=_0x3f72fc[_0x2755ac(0x1ca)][_0x2755ac(0x1eb)](_0xaa53df),this[_0x2755ac(0x1f8)]=this[_0x2755ac(0x1ee)][_0x2755ac(0x1f3)],this[_0x2755ac(0x1f7)]=null;}[_0x1705b6(0x1d0)](){const _0x4515e4=_0x1705b6,_0x10976a=this[_0x4515e4(0x1f8)][_0x4515e4(0x206)],_0x14efd3=this[_0x4515e4(0x1e9)](),_0x3b9225=this[_0x4515e4(0x1df)][_0x4515e4(0x1c6)][_0x4515e4(0x1eb)](_0x4515e4(0x20d));this[_0x4515e4(0x1f7)]=new _0xa279b0(this[_0x4515e4(0x1df)][_0x4515e4(0x212)],_0x10976a,_0x14efd3,this[_0x4515e4(0x1df)][_0x4515e4(0x1c6)][_0x4515e4(0x1eb)](_0x4515e4(0x1dd))),this[_0x4515e4(0x1f7)]['on'](_0x4515e4(0x1d9),this[_0x4515e4(0x200)][_0x4515e4(0x1d2)](this)),this[_0x4515e4(0x1f7)]['on'](_0x4515e4(0x1f0),this[_0x4515e4(0x201)][_0x4515e4(0x1d2)](this)),this[_0x4515e4(0x1f7)][_0x4515e4(0x1d2)](_0x4515e4(0x1fd))['to'](this[_0x4515e4(0x1ee)]),this[_0x4515e4(0x1f7)][_0x4515e4(0x215)]['on'](_0x4515e4(0x1f2),(_0x391265,_0x3e6576)=>{const _0x458cdc=_0x4515e4;_0x3e6576[_0x458cdc(0x1c7)]['on'](_0x458cdc(0x1f2),(_0x3539c7,_0x11b0aa)=>{const _0x1b761c=_0x458cdc;_0x11b0aa[_0x1b761c(0x1d2)](_0x1b761c(0x1fd),_0x1b761c(0x209))['to'](this[_0x1b761c(0x1ee)]);});}),this[_0x4515e4(0x1f7)][_0x4515e4(0x1dc)](),this[_0x4515e4(0x1d4)](this[_0x4515e4(0x1df)][_0x4515e4(0x1ea)],_0x4515e4(0x1c9),this[_0x4515e4(0x1c8)][_0x4515e4(0x1d2)](this)),this[_0x4515e4(0x1d4)](this[_0x4515e4(0x1ee)],_0x4515e4(0x1d5),this[_0x4515e4(0x211)][_0x4515e4(0x1d2)](this)),_0x3b9225[_0x4515e4(0x1fb)](this[_0x4515e4(0x1f7)][_0x4515e4(0x1d1)]);}[_0x1705b6(0x219)](){const _0x3f624d=_0x1705b6;this[_0x3f624d(0x1f7)][_0x3f624d(0x1d1)][_0x3f624d(0x20c)](),this[_0x3f624d(0x1f7)][_0x3f624d(0x219)]();}[_0x1705b6(0x1c8)](){const _0x494759=_0x1705b6,_0x8e49c3=this[_0x494759(0x1f8)][_0x494759(0x1da)](0x0);if(_0x8e49c3){const _0x4d662c=this[_0x494759(0x1f8)][_0x494759(0x1ef)](_0x8e49c3['id']);this[_0x494759(0x1ee)][_0x494759(0x1ce)](_0x8e49c3,_0x4d662c);}}[_0x1705b6(0x200)](_0x172c61,_0x2356de){const _0x114cc0=_0x1705b6,_0x2f4b7a=this[_0x114cc0(0x1f8)][_0x114cc0(0x1da)](_0x2356de['id']),_0x1bb990=this[_0x114cc0(0x1f8)][_0x114cc0(0x1ef)](_0x2f4b7a['id']);this[_0x114cc0(0x1ee)][_0x114cc0(0x1ce)](_0x2f4b7a,_0x1bb990);}[_0x1705b6(0x201)](_0x6980ad,_0x2e7fee){const _0x2274dd=_0x1705b6;this[_0x2274dd(0x1f8)][_0x2274dd(0x1da)](_0x2e7fee['id'])[_0x2274dd(0x1cd)](_0x2e7fee[_0x2274dd(0x20e)]);}[_0x1705b6(0x211)](_0x55f821,_0x1ffddf,_0x566ca0){const _0x5ce733=_0x1705b6,_0x5ac882=this[_0x5ce733(0x1f8)][_0x5ce733(0x1e7)](_0x566ca0);_0x5ac882[_0x5ce733(0x1d3)]>0x2?(this[_0x5ce733(0x1f7)][_0x5ce733(0x20b)](_0x5ac882),this[_0x5ce733(0x1f7)][_0x5ce733(0x1e2)](null)):(this[_0x5ce733(0x1f7)][_0x5ce733(0x20b)]([]),this[_0x5ce733(0x1f7)][_0x5ce733(0x1e2)](_0x5ac882[0x0]));}[_0x1705b6(0x1e9)](){const _0x109a48=_0x1705b6,_0x4dffe4=this[_0x109a48(0x1df)],_0x352c56=g[_0x109a48(0x205)],_0x2e4618=_0x4dffe4[_0x109a48(0x1c6)][_0x109a48(0x1eb)](_0x109a48(0x1e0))||g[_0x109a48(0x210)];if(_0x2e4618[_0x109a48(0x1d3)])return _0x2e4618[_0x109a48(0x1f1)](_0x1f2693=>{const _0x2ee8a4=_0x109a48,_0x1cc2a2=_0x2ee8a4(0x20f)==typeof _0x1f2693?Object[_0x2ee8a4(0x214)]({},_0x352c56[_0x1f2693]):_0x1f2693;return _0x1cc2a2[_0x2ee8a4(0x217)]=_0x1cc2a2[_0x2ee8a4(0x217)][_0x2ee8a4(0x1d2)](this,_0x4dffe4),_0x1cc2a2[_0x2ee8a4(0x203)]&&(_0x1cc2a2[_0x2ee8a4(0x203)]=_0x1cc2a2[_0x2ee8a4(0x203)][_0x2ee8a4(0x1d2)](this,_0x4dffe4)),_0x1cc2a2;});}}function _0x4f31(_0x3b186e,_0x4b064c){const _0x525bfe=_0x525b();return _0x4f31=function(_0x4f318f,_0x314d39){_0x4f318f=_0x4f318f-0x1c6;let _0x3dccfb=_0x525bfe[_0x4f318f];return _0x3dccfb;},_0x4f31(_0x3b186e,_0x4b064c);}g[_0x1705b6(0x210)]=[_0x1705b6(0x1cb),_0x1705b6(0x1e6),_0x1705b6(0x1e5)],g[_0x1705b6(0x205)]={'compareAgainstSelected':{'name':_0x1705b6(0x1e1),'action':({plugins:_0x3f3fe8},_0x34aac7)=>{const _0xde3fbd=_0x1705b6,_0x45cfd1=_0x3f3fe8[_0xde3fbd(0x1eb)](_0xaa53df),_0xd968a=_0x45cfd1[_0xde3fbd(0x1f3)];let _0x34cad8=_0x45cfd1[_0xde3fbd(0x207)][_0xde3fbd(0x1fa)],_0xa8b0d9=_0x34aac7['id'];_0xd968a[_0xde3fbd(0x1f5)](_0x34cad8)>_0xd968a[_0xde3fbd(0x1f5)](_0xa8b0d9)&&([_0x34cad8,_0xa8b0d9]=[_0xa8b0d9,_0x34cad8]),_0x45cfd1[_0xde3fbd(0x1ce)](_0x34cad8,_0xa8b0d9);},'isVisible':({plugins:_0x39a80d},_0xf0a446)=>{const _0x48d0dc=_0x1705b6,_0x5100df=_0x39a80d[_0x48d0dc(0x1eb)](_0xaa53df);return!(_0x5100df[_0x48d0dc(0x1f3)][_0x48d0dc(0x1e7)](_0x5100df[_0x48d0dc(0x207)])[_0x48d0dc(0x1d3)]>0x2||_0xf0a446[_0x48d0dc(0x1cf)]);}},'restoreRevision':{'name':_0x1705b6(0x204),'action':(_0x5483cc,{id:_0x1f41b9})=>{const _0x191a47=_0x1705b6;_0x5483cc[_0x191a47(0x1c6)][_0x191a47(0x1eb)](_0x191a47(0x1ff))[_0x191a47(0x20a)](_0x1f41b9);},'isVisible':({plugins:_0x25ea0c},_0x38168c)=>!!_0x25ea0c[_0x1705b6(0x1eb)](_0xaa53df)[_0x1705b6(0x1f3)][_0x1705b6(0x1d6)](_0x38168c['id'])},'nameRevision':{'name':_0x1705b6(0x1e3),'action':({plugins:_0x2cbaba},{id:_0x1d2ab4,revisionNameView:_0x1d75ad})=>{const _0x185bbb=_0x1705b6,_0x2f17bf=_0x2cbaba[_0x185bbb(0x1eb)](_0xaa53df),_0xe2c18b=_0x2f17bf[_0x185bbb(0x1f3)][_0x185bbb(0x1ef)](_0x1d2ab4);_0x2f17bf[_0x185bbb(0x1ce)](_0x1d2ab4,_0xe2c18b),_0x1d75ad[_0x185bbb(0x1fe)](),_0x1d75ad[_0x185bbb(0x1d7)][_0x185bbb(0x1db)]();}}};export default g;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3c8d1e,_0x206bf2){const _0x278257=_0x8700,_0xa9fd1d=_0x3c8d1e();while(!![]){try{const _0x2dd7c0=-parseInt(_0x278257(0x174))/0x1+parseInt(_0x278257(0x175))/0x2*(parseInt(_0x278257(0x177))/0x3)+parseInt(_0x278257(0x16c))/0x4+parseInt(_0x278257(0x17a))/0x5+parseInt(_0x278257(0x173))/0x6+-parseInt(_0x278257(0x178))/0x7+-parseInt(_0x278257(0x16b))/0x8;if(_0x2dd7c0===_0x206bf2)break;else _0xa9fd1d['push'](_0xa9fd1d['shift']());}catch(_0x27c78a){_0xa9fd1d['push'](_0xa9fd1d['shift']());}}}(_0x3ab0,0x187c7));import{View as _0x36bc61,IconView as _0x2863ba}from'ckeditor5/src/ui.js';import{getTranslation as _0x19df45}from'../../utils/common-translations.js';import{icons as _0x229e09}from'ckeditor5/src/core.js';function _0x3ab0(){const _0x50e7d2=['history','div','7332XtKiXD','81017kpKBfa','2ICfJqW','ck-revision-history-sidebar__header__label','358998RPiQuK','40677kfgNrH','ck-reset_all','331440yGKtDU','setTemplate','948528MsXFjr','474052uJulYi','content','Revision\x20history','span','ck-revision-history-sidebar__header'];_0x3ab0=function(){return _0x50e7d2;};return _0x3ab0();}function _0x8700(_0x53b00a,_0x5c9813){const _0x3ab0f6=_0x3ab0();return _0x8700=function(_0x87006f,_0x388169){_0x87006f=_0x87006f-0x16a;let _0x54a599=_0x3ab0f6[_0x87006f];return _0x54a599;},_0x8700(_0x53b00a,_0x5c9813);}import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class as extends _0x36bc61{constructor(_0x5f0b04){const _0x7fc05e=_0x8700;super(_0x5f0b04);const _0x57319d=new _0x2863ba();_0x57319d[_0x7fc05e(0x16d)]=_0x229e09[_0x7fc05e(0x171)],this[_0x7fc05e(0x16a)]({'tag':_0x7fc05e(0x172),'attributes':{'class':['ck',_0x7fc05e(0x179),_0x7fc05e(0x170)]},'children':[_0x57319d,{'tag':_0x7fc05e(0x16f),'attributes':{'class':['ck',_0x7fc05e(0x176)]},'children':[_0x19df45(_0x5f0b04,_0x7fc05e(0x16e))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2715(){const _0x340ba5=['remove','ck-revision-history-sidebar__time-period__revisions','setName','3804NghOKW','9436850ADLzAE','revisionViews','div','22957apDcRT','ck-revision-history-sidebar__time-period__label','243vegeeZ','4204878jVtUwa','1464282hCCEaa','uiLanguage','add','1403073TqkEpA','delegate','find','removeRevision','5KPkAkC','8bdFhmA','span','1070jIfXIe','startDate','select','ck-revision-history-sidebar__time-period','2579418DKzbCW','localizedPeriodName','16QpKaCY','createCollection','locale','_revisionActions','_requireRevisionName','setTemplate','addRevision'];_0x2715=function(){return _0x340ba5;};return _0x2715();}const _0xd12a8f=_0x36a3;(function(_0x2bc890,_0x16a529){const _0xb74fb3=_0x36a3,_0x4fcac4=_0x2bc890();while(!![]){try{const _0x6dba47=parseInt(_0xb74fb3(0xca))/0x1*(-parseInt(_0xb74fb3(0xd6))/0x2)+parseInt(_0xb74fb3(0xcc))/0x3*(-parseInt(_0xb74fb3(0xd4))/0x4)+-parseInt(_0xb74fb3(0xd3))/0x5*(-parseInt(_0xb74fb3(0xcb))/0x6)+-parseInt(_0xb74fb3(0xcf))/0x7*(parseInt(_0xb74fb3(0xba))/0x8)+-parseInt(_0xb74fb3(0xb8))/0x9+parseInt(_0xb74fb3(0xc5))/0xa+parseInt(_0xb74fb3(0xc8))/0xb*(parseInt(_0xb74fb3(0xc4))/0xc);if(_0x6dba47===_0x16a529)break;else _0x4fcac4['push'](_0x4fcac4['shift']());}catch(_0x10383e){_0x4fcac4['push'](_0x4fcac4['shift']());}}}(_0x2715,0x7d194));import{View as _0x3869c1}from'ckeditor5/src/ui.js';function _0x36a3(_0xf383de,_0x4b650d){const _0x2715c4=_0x2715();return _0x36a3=function(_0x36a364,_0x12f928){_0x36a364=_0x36a364-0xb5;let _0x24acaf=_0x2715c4[_0x36a364];return _0x24acaf;},_0x36a3(_0xf383de,_0x4b650d);}import _0xe94e68 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x4780c1}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class vi extends _0x3869c1{constructor(_0x4334a9,_0x153439,_0x47ea9d,_0x1fe2f5){const _0x1cc32d=_0x36a3;super(_0x4334a9);const _0x481a8d=_0x4780c1(_0x153439,this[_0x1cc32d(0xbc)][_0x1cc32d(0xcd)])[_0x1cc32d(0xb9)];this[_0x1cc32d(0xb5)]=_0x153439,this[_0x1cc32d(0xc6)]=this[_0x1cc32d(0xbb)](),this[_0x1cc32d(0xbd)]=_0x47ea9d,this[_0x1cc32d(0xbe)]=_0x1fe2f5,this[_0x1cc32d(0xc6)][_0x1cc32d(0xd0)](_0x1cc32d(0xb6))['to'](this),this[_0x1cc32d(0xc6)][_0x1cc32d(0xd0)](_0x1cc32d(0xc3))['to'](this),this[_0x1cc32d(0xbf)]({'tag':_0x1cc32d(0xc7),'attributes':{'class':['ck',_0x1cc32d(0xb7)]},'children':[{'tag':_0x1cc32d(0xd5),'attributes':{'class':['ck',_0x1cc32d(0xc9)]},'children':[{'text':_0x481a8d}]},{'tag':_0x1cc32d(0xc7),'attributes':{'class':['ck',_0x1cc32d(0xc2)]},'children':this[_0x1cc32d(0xc6)]}]});}[_0xd12a8f(0xc0)](_0x1c6512){const _0x2b5843=_0xd12a8f,_0x3b086d=new _0xe94e68(this[_0x2b5843(0xbc)],_0x1c6512,this[_0x2b5843(0xbd)],this[_0x2b5843(0xbe)]);this[_0x2b5843(0xc6)][_0x2b5843(0xce)](_0x3b086d);}[_0xd12a8f(0xd2)](_0x4498cd){const _0x361e5a=_0xd12a8f,_0x28146f=this[_0x361e5a(0xc6)][_0x361e5a(0xd1)](_0x3e94a6=>_0x3e94a6['id']===_0x4498cd['id']);this[_0x361e5a(0xc6)][_0x361e5a(0xc1)](_0x28146f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x370ccd=_0x4182;(function(_0x12a89e,_0x3d52e5){const _0x5a8787=_0x4182,_0x4957ae=_0x12a89e();while(!![]){try{const _0x43895d=parseInt(_0x5a8787(0x208))/0x1*(-parseInt(_0x5a8787(0x1db))/0x2)+-parseInt(_0x5a8787(0x1e2))/0x3*(-parseInt(_0x5a8787(0x1e4))/0x4)+parseInt(_0x5a8787(0x1ed))/0x5+parseInt(_0x5a8787(0x1e8))/0x6+parseInt(_0x5a8787(0x1ec))/0x7*(parseInt(_0x5a8787(0x1e7))/0x8)+-parseInt(_0x5a8787(0x1fa))/0x9+-parseInt(_0x5a8787(0x1d9))/0xa;if(_0x43895d===_0x3d52e5)break;else _0x4957ae['push'](_0x4957ae['shift']());}catch(_0x519039){_0x4957ae['push'](_0x4957ae['shift']());}}}(_0x2d2e,0x3f6fd));import{View as _0x1be12c}from'ckeditor5/src/ui.js';function _0x4182(_0x336f82,_0xf15730){const _0x2d2e4a=_0x2d2e();return _0x4182=function(_0x41820b,_0x554f96){_0x41820b=_0x41820b-0x1d6;let _0x36ec0e=_0x2d2e4a[_0x41820b];return _0x36ec0e;},_0x4182(_0x336f82,_0xf15730);}function _0x2d2e(){const _0x221fe2=['isEnabled','createdAt','getTime','setName','_revisions','removeRevision','99IpIehq','delegate','7604UZQEpm','add','ck-reset','24wUbgcX','2200998Xdkcub','div','_removeRevision','deselect','878094cCxBTE','2309830TkMllH','highlightRevisions','map','render','select','createCollection','fire','_revisionActions','bindTemplate','revisionSelected','ck-revision-history-sidebar__timeline','_addRevision','locale','1850445VaQEsg','timePeriodViews','uiLanguage','find','_getTimePeriodViewByStartDate','remove','selectRevision','startDate','revisionSetName','get','highlight','ck-rounded-corners','addRevision','unhighlight','259aqKnAG','ck-revision-history-sidebar','some','flat','_requireRevisionName','ck-disabled','set','setTemplate','5447110RaDNZt','revisionViews','1990gomkjZ'];_0x2d2e=function(){return _0x221fe2;};return _0x2d2e();}import _0x2a17b2 from'./revisionssidebartimeperiodview.js';import _0x4592c7 from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x2d4206}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class li extends _0x1be12c{constructor(_0x259011,_0x37dce4,_0x3c8484,_0x1b37e9){const _0x2d0d80=_0x4182;super(_0x259011);const _0x5113a9=this[_0x2d0d80(0x1f5)];this[_0x2d0d80(0x1fb)]=this[_0x2d0d80(0x1f2)](),this[_0x2d0d80(0x1fb)][_0x2d0d80(0x1e3)](_0x2d0d80(0x1f1))['to'](this),this[_0x2d0d80(0x1fb)][_0x2d0d80(0x1e3)](_0x2d0d80(0x1df))['to'](this),this[_0x2d0d80(0x1e0)]=_0x37dce4,this[_0x2d0d80(0x1f4)]=_0x3c8484,this[_0x2d0d80(0x20c)]=_0x1b37e9,this['on'](_0x2d0d80(0x1f1),(_0x36af46,_0x42e005)=>{const _0x25f8b1=_0x2d0d80;this[_0x25f8b1(0x1f3)](_0x25f8b1(0x1f6),_0x42e005);}),this['on'](_0x2d0d80(0x1df),(_0x2c6a73,_0x1240f7)=>{const _0x1b7def=_0x2d0d80;this[_0x1b7def(0x1f3)](_0x1b7def(0x202),_0x1240f7);}),this[_0x2d0d80(0x1d7)](_0x2d0d80(0x1dc),!0x1),this[_0x2d0d80(0x1d8)]({'tag':_0x2d0d80(0x1e9),'attributes':{'class':['ck',_0x2d0d80(0x1e6),_0x2d0d80(0x205),_0x2d0d80(0x209)]},'children':[new _0x4592c7(_0x259011),{'tag':_0x2d0d80(0x1e9),'attributes':{'class':['ck',_0x2d0d80(0x1f7),_0x5113a9['if'](_0x2d0d80(0x1dc),_0x2d0d80(0x1d6),_0x275f8e=>!_0x275f8e)]},'children':this[_0x2d0d80(0x1fb)]}]});}[_0x370ccd(0x1f0)](){const _0x381473=_0x370ccd;super[_0x381473(0x1f0)]();for(const _0x2f0790 of this[_0x381473(0x1e0)])this[_0x381473(0x1f8)](_0x2f0790);this[_0x381473(0x1e0)]['on'](_0x381473(0x1e5),(_0xec108d,_0x3eb6da)=>{const _0x5df22e=_0x381473;this[_0x5df22e(0x1f8)](_0x3eb6da);}),this[_0x381473(0x1e0)]['on'](_0x381473(0x1ff),(_0x37f210,_0xf243b9)=>{const _0x26152a=_0x381473;this[_0x26152a(0x1ea)](_0xf243b9);});}get[_0x370ccd(0x1da)](){const _0x29a2b7=_0x370ccd;return this[_0x29a2b7(0x1fb)][_0x29a2b7(0x1ef)](_0x43f7d5=>_0x43f7d5[_0x29a2b7(0x1da)][_0x29a2b7(0x1ef)](_0x1ad54b=>_0x1ad54b))[_0x29a2b7(0x20b)]();}[_0x370ccd(0x200)](_0x4a4521){const _0x570cff=_0x370ccd;for(const _0x20a813 of this[_0x570cff(0x1da)])_0x4a4521&&_0x4a4521['id']===_0x20a813['id']?_0x20a813[_0x570cff(0x1f1)]():_0x20a813[_0x570cff(0x1eb)]();}[_0x370ccd(0x1ee)](_0x4ae82a){const _0x5a32de=_0x370ccd;for(const _0x913ce7 of this[_0x5a32de(0x1da)])_0x4ae82a[_0x5a32de(0x20a)](({id:_0x595aa4})=>_0x595aa4===_0x913ce7['id'])?_0x913ce7[_0x5a32de(0x204)]():_0x913ce7[_0x5a32de(0x207)]();}[_0x370ccd(0x1f8)](_0x2ed33a){const _0x417c0f=_0x370ccd,_0x2ea743=_0x2d4206(_0x2ed33a[_0x417c0f(0x1dd)],this[_0x417c0f(0x1f9)][_0x417c0f(0x1fc)])[_0x417c0f(0x201)];let _0x3d7e2d=this[_0x417c0f(0x1fb)][_0x417c0f(0x203)](0x0);_0x3d7e2d&&_0x3d7e2d[_0x417c0f(0x201)][_0x417c0f(0x1de)]()===_0x2ea743[_0x417c0f(0x1de)]()||(_0x3d7e2d=new _0x2a17b2(this[_0x417c0f(0x1f9)],_0x2ea743,this[_0x417c0f(0x1f4)],this[_0x417c0f(0x20c)]),this[_0x417c0f(0x1fb)][_0x417c0f(0x1e5)](_0x3d7e2d)),_0x3d7e2d[_0x417c0f(0x206)](_0x2ed33a);}[_0x370ccd(0x1ea)](_0x3bf2e0){const _0x19ea29=_0x370ccd,_0x4cbcbb=_0x2d4206(_0x3bf2e0[_0x19ea29(0x1dd)],this[_0x19ea29(0x1f9)][_0x19ea29(0x1fc)])[_0x19ea29(0x201)];this[_0x19ea29(0x1fe)](_0x4cbcbb)[_0x19ea29(0x1e1)](_0x3bf2e0);}[_0x370ccd(0x1fe)](_0x3552dc){const _0xb51018=_0x370ccd;return this[_0xb51018(0x1fb)][_0xb51018(0x1fd)](_0x4d2e36=>_0x4d2e36[_0xb51018(0x201)][_0xb51018(0x1de)]()===_0x3552dc[_0xb51018(0x1de)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1abb(_0xda09ef,_0x52d9a8){const _0x331d2e=_0x331d();return _0x1abb=function(_0x1abb29,_0x5bda94){_0x1abb29=_0x1abb29-0x11c;let _0x247dd4=_0x331d2e[_0x1abb29];return _0x247dd4;},_0x1abb(_0xda09ef,_0x52d9a8);}function _0x331d(){const _0x3a2293=['178802FfnivF','startOf','hasSame','828777OSaZka','8340vJxAnT','week','toJSDate','70HYhJVl','55092EfbWmU','2940kpKjBX','month','513ITAaLQ','612953vGdQNR','setLocale','year','177114PDkRnx','minus','140aouCSZ','toRelativeCalendar','monthLong','weekdayLong','27qhTbAM','local','3785hbPlza','fromJSDate','57032pffZCN','day'];_0x331d=function(){return _0x3a2293;};return _0x331d();}(function(_0x237a9e,_0x8c89bc){const _0xab414a=_0x1abb,_0x3f41c1=_0x237a9e();while(!![]){try{const _0xb73350=parseInt(_0xab414a(0x11e))/0x1*(parseInt(_0xab414a(0x12c))/0x2)+-parseInt(_0xab414a(0x127))/0x3+parseInt(_0xab414a(0x128))/0x4*(-parseInt(_0xab414a(0x120))/0x5)+parseInt(_0xab414a(0x133))/0x6*(-parseInt(_0xab414a(0x135))/0x7)+parseInt(_0xab414a(0x122))/0x8*(-parseInt(_0xab414a(0x12f))/0x9)+-parseInt(_0xab414a(0x12b))/0xa*(parseInt(_0xab414a(0x130))/0xb)+parseInt(_0xab414a(0x12d))/0xc*(parseInt(_0xab414a(0x124))/0xd);if(_0xb73350===_0x8c89bc)break;else _0x3f41c1['push'](_0x3f41c1['shift']());}catch(_0x6aac59){_0x3f41c1['push'](_0x3f41c1['shift']());}}}(_0x331d,0xd4e8a));import{DateTime as _0x5be8d9}from'luxon';export function getDateTimePeriodInfo(_0x39a528,_0xdabce3){const _0x3e5e49=_0x1abb,_0x471def=_0x5be8d9[_0x3e5e49(0x121)](_0x39a528)[_0x3e5e49(0x131)](_0xdabce3),_0x52d965=_0x5be8d9[_0x3e5e49(0x11f)](),_0x4a192f=_0x52d965[_0x3e5e49(0x134)]({'days':0x1})[_0x3e5e49(0x125)](_0x3e5e49(0x123));let _0x475fd2,_0x47cf3e;return _0x471def[_0x3e5e49(0x126)](_0x52d965,_0x3e5e49(0x123))?(_0x475fd2=_0x471def[_0x3e5e49(0x125)](_0x3e5e49(0x123))[_0x3e5e49(0x12a)](),_0x47cf3e=_0x471def[_0x3e5e49(0x136)]()):_0x471def[_0x3e5e49(0x126)](_0x4a192f,_0x3e5e49(0x123))?(_0x475fd2=_0x4a192f[_0x3e5e49(0x12a)](),_0x47cf3e=_0x471def[_0x3e5e49(0x136)]()):_0x471def[_0x3e5e49(0x126)](_0x52d965,_0x3e5e49(0x129))?(_0x475fd2=_0x471def[_0x3e5e49(0x125)](_0x3e5e49(0x129))[_0x3e5e49(0x12a)](),_0x47cf3e=_0x471def[_0x3e5e49(0x11d)]||''):_0x471def[_0x3e5e49(0x126)](_0x52d965,_0x3e5e49(0x132))?(_0x475fd2=_0x471def[_0x3e5e49(0x125)](_0x3e5e49(0x12e))[_0x3e5e49(0x12a)](),_0x47cf3e=_0x471def[_0x3e5e49(0x11c)]||''):(_0x475fd2=_0x471def[_0x3e5e49(0x125)](_0x3e5e49(0x132))[_0x3e5e49(0x12a)](),_0x47cf3e=String(_0x471def[_0x3e5e49(0x132)])),{'startDate':_0x475fd2,'localizedPeriodName':_0x47cf3e};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3c7f0e=_0x16ef;(function(_0x5e3495,_0x4844b9){const _0x5357aa=_0x16ef,_0x57ce81=_0x5e3495();while(!![]){try{const _0x2be040=parseInt(_0x5357aa(0xec))/0x1*(parseInt(_0x5357aa(0xea))/0x2)+-parseInt(_0x5357aa(0xd9))/0x3*(-parseInt(_0x5357aa(0xd3))/0x4)+parseInt(_0x5357aa(0xdc))/0x5+-parseInt(_0x5357aa(0xe0))/0x6*(parseInt(_0x5357aa(0xd6))/0x7)+-parseInt(_0x5357aa(0xe1))/0x8+-parseInt(_0x5357aa(0xd7))/0x9+parseInt(_0x5357aa(0xce))/0xa*(parseInt(_0x5357aa(0xd0))/0xb);if(_0x2be040===_0x4844b9)break;else _0x57ce81['push'](_0x57ce81['shift']());}catch(_0x55030d){_0x57ce81['push'](_0x57ce81['shift']());}}}(_0x33c5,0x8982f));function _0x33c5(){const _0x4e4c94=['set','ck-revision-change__label','7gUFjTV','7218027unBBfG','span','2106DRBOLc','ck-revision-change__','changeId','1881375rInxbn','name','element','Removed\x20by','1090512LvhACV','6048032iZpzQw','data','focus','bindTemplate','author','ck-annotation','type','ck-revision-change','Suggested\x20by','1322DESODe','_model','870pmKCzJ','div','add','7317950GwXoxW','isSuggestion','11qTKDxT','setTemplate','Added\x20by','3532WQHoek'];_0x33c5=function(){return _0x4e4c94;};return _0x33c5();}import{View as _0x22900b}from'ckeditor5/src/ui.js';import{getTranslation as _0x1f71e5}from'../../utils/common-translations.js';function _0x16ef(_0x1ca550,_0x113fca){const _0x33c5a2=_0x33c5();return _0x16ef=function(_0x16efa9,_0x410179){_0x16efa9=_0x16efa9-0xcd;let _0x13761e=_0x33c5a2[_0x16efa9];return _0x13761e;},_0x16ef(_0x1ca550,_0x113fca);}export default class Y extends _0x22900b{constructor(_0x565f33,_0x3e522d){const _0x396e2a=_0x16ef;super(_0x565f33),this[_0x396e2a(0xeb)]=_0x3e522d,this[_0x396e2a(0xdb)]=_0x3e522d['id'];const _0x228938=this[_0x396e2a(0xe4)],_0x3c5b84=_0x1f71e5(_0x565f33,_0x3e522d[_0x396e2a(0xe2)][_0x396e2a(0xcf)]?_0x396e2a(0xe9):_0x396e2a(0xcd)==_0x3e522d[_0x396e2a(0xe7)]?_0x396e2a(0xd2):_0x396e2a(0xdf));this[_0x396e2a(0xd4)](_0x396e2a(0xe7),_0x3e522d[_0x396e2a(0xe7)]),this[_0x396e2a(0xd1)]({'tag':_0x396e2a(0xed),'attributes':{'class':[_0x396e2a(0xe6),_0x396e2a(0xe8),_0x228938['to'](_0x396e2a(0xe7),_0x3ca8d7=>_0x396e2a(0xda)+_0x3ca8d7)],'tabindex':-0x1},'children':[{'tag':_0x396e2a(0xd8),'children':[{'tag':_0x396e2a(0xd8),'attributes':{'class':[_0x396e2a(0xd5)]},'children':[{'text':_0x3c5b84}]},{'text':'\x20'+_0x3e522d[_0x396e2a(0xe5)][_0x396e2a(0xdd)]}]}]});}[_0x3c7f0e(0xe3)](){const _0x482b65=_0x3c7f0e;this[_0x482b65(0xde)][_0x482b65(0xe3)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x40fd68,_0x3a0a24){const _0x4b23bc=_0x57eb,_0xe31dee=_0x40fd68();while(!![]){try{const _0x6e69ec=-parseInt(_0x4b23bc(0xba))/0x1+-parseInt(_0x4b23bc(0xaf))/0x2*(-parseInt(_0x4b23bc(0xa3))/0x3)+-parseInt(_0x4b23bc(0xc8))/0x4*(-parseInt(_0x4b23bc(0xbd))/0x5)+-parseInt(_0x4b23bc(0xce))/0x6*(-parseInt(_0x4b23bc(0xcd))/0x7)+-parseInt(_0x4b23bc(0xc1))/0x8+parseInt(_0x4b23bc(0xb9))/0x9*(-parseInt(_0x4b23bc(0xa4))/0xa)+parseInt(_0x4b23bc(0xca))/0xb*(parseInt(_0x4b23bc(0xc7))/0xc);if(_0x6e69ec===_0x3a0a24)break;else _0xe31dee['push'](_0xe31dee['shift']());}catch(_0x5ad43f){_0xe31dee['push'](_0xe31dee['shift']());}}}(_0x3b24,0x3fa18));function _0x57eb(_0x59f3fa,_0x25016e){const _0x3b244b=_0x3b24();return _0x57eb=function(_0x57eb5d,_0x1f84a8){_0x57eb5d=_0x57eb5d-0xa2;let _0x169609=_0x3b244b[_0x57eb5d];return _0x169609;},_0x57eb(_0x59f3fa,_0x25016e);}import{View as _0x56719f,ButtonView as _0xe7faa0,ToolbarSeparatorView as _0x1f63c4}from'ckeditor5/src/ui.js';import{getTranslation as _0x166a77}from'../../utils/common-translations.js';function _0x3b24(){const _0xe3988d=['numberOfChanges','bind','backward','isNavigationMode','Loading...','currentChangeNumber','48zuZTZy','No\x20changes','div','span','Show\x20previous\x20change','ck-revision-history-ui__changes-navigation__label','isEnabled','ck-revision-history-ui__changes-navigation','bindTemplate','isForwardNavigationEnabled','342EGfhMN','466327xEjPHj','isBackwardNavigationEnabled','Show\x20next\x20change','35pYSiBj','EDIT_X_OF_Y_REVISIONS','X_OF_Y_CHANGES','_statusText','1174664WJvNet','ck-hidden','NUMBER_OF_CHANGES','fire','Total','isReady','88584enBMNg','195556NeMIEc','ck-revision-history-ui__changes-navigation__navigation','913SFtRjA','setTemplate','set','49119ZMUPFe','198MSSfaP','ck-revision-history-ui__changes-navigation__wrapper','23988hynQSo','132790npyrev','_isStatusLabelVisible','forward','execute','ck-revision-history-ui'];_0x3b24=function(){return _0xe3988d;};return _0x3b24();}import _0x224370 from'../../../theme/icons/arrow-up.svg';import _0x4e8e6a from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class di extends _0x56719f{constructor(_0x5c0f1a){const _0xd1d6ac=_0x57eb;super(_0x5c0f1a);const _0x35cbdb=this[_0xd1d6ac(0xb7)],_0x117e33=new _0xe7faa0(_0x5c0f1a),_0x16abc3=new _0xe7faa0(_0x5c0f1a);this[_0xd1d6ac(0xcc)](_0xd1d6ac(0xac),!0x1),this[_0xd1d6ac(0xcc)](_0xd1d6ac(0xc6),!0x1),this[_0xd1d6ac(0xcc)](_0xd1d6ac(0xae),0x0),this[_0xd1d6ac(0xcc)](_0xd1d6ac(0xa9),0x0),this[_0xd1d6ac(0xcc)](_0xd1d6ac(0xb8),!0x1),this[_0xd1d6ac(0xcc)](_0xd1d6ac(0xbb),!0x1),this[_0xd1d6ac(0xaa)](_0xd1d6ac(0xa5))['to'](this,_0xd1d6ac(0xc6),this,_0xd1d6ac(0xa9),(_0xfdbf2,_0x2b7112)=>_0xfdbf2&&_0x2b7112>0x0),this[_0xd1d6ac(0xaa)](_0xd1d6ac(0xc0))['to'](this,_0xd1d6ac(0xc6),this,_0xd1d6ac(0xae),this,_0xd1d6ac(0xa9),this,_0xd1d6ac(0xac),(_0x25bd3c,_0x20d323,_0x285762,_0x283f6c)=>{const _0x290f88=_0xd1d6ac;if(!_0x25bd3c)return _0x166a77(_0x5c0f1a,_0x290f88(0xad));if(!_0x285762)return _0x166a77(_0x5c0f1a,_0x290f88(0xb0));const _0x4f1de8=_0x166a77(_0x5c0f1a,_0x290f88(0xc3),_0x285762);return _0x283f6c?_0x166a77(_0x5c0f1a,_0x290f88(0xbf),[_0x20d323+0x1,_0x285762]):_0x4f1de8;}),_0x117e33[_0xd1d6ac(0xcc)]({'label':_0x166a77(_0x5c0f1a,_0xd1d6ac(0xb3)),'tooltip':!0x0,'icon':_0x224370}),_0x16abc3[_0xd1d6ac(0xcc)]({'label':_0x166a77(_0x5c0f1a,_0xd1d6ac(0xbc)),'tooltip':!0x0,'icon':_0x4e8e6a}),_0x117e33[_0xd1d6ac(0xaa)](_0xd1d6ac(0xb5))['to'](this,_0xd1d6ac(0xbb)),_0x16abc3[_0xd1d6ac(0xaa)](_0xd1d6ac(0xb5))['to'](this,_0xd1d6ac(0xb8)),_0x117e33['on'](_0xd1d6ac(0xa7),()=>this[_0xd1d6ac(0xc4)](_0xd1d6ac(0xa7),_0xd1d6ac(0xab))),_0x16abc3['on'](_0xd1d6ac(0xa7),()=>this[_0xd1d6ac(0xc4)](_0xd1d6ac(0xa7),_0xd1d6ac(0xa6))),this[_0xd1d6ac(0xcb)]({'tag':_0xd1d6ac(0xb1),'attributes':{'class':['ck',_0xd1d6ac(0xa8),_0xd1d6ac(0xb6)]},'children':[{'tag':_0xd1d6ac(0xb2),'attributes':{'class':[_0xd1d6ac(0xa2)]},'children':[{'tag':_0xd1d6ac(0xb2),'attributes':{'class':[_0xd1d6ac(0xb4),_0x35cbdb['if'](_0xd1d6ac(0xa5),_0xd1d6ac(0xc2),_0x4aa039=>!_0x4aa039)]},'children':[{'text':_0x35cbdb['to'](_0xd1d6ac(0xac),_0x152154=>_0x152154?_0x166a77(_0x5c0f1a,_0xd1d6ac(0xbe))+':\x20':_0x166a77(_0x5c0f1a,_0xd1d6ac(0xc5))+':\x20')}]},{'text':_0x35cbdb['to'](_0xd1d6ac(0xc0))}]},new _0x1f63c4(),{'tag':_0xd1d6ac(0xb1),'attributes':{'class':[_0xd1d6ac(0xc9)]},'children':[_0x117e33,_0x16abc3]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b2360=_0x4738;function _0x4738(_0x1ab5e8,_0x75fc13){const _0x245ed3=_0x245e();return _0x4738=function(_0x4738d5,_0x328b1a){_0x4738d5=_0x4738d5-0x1d9;let _0x27b49c=_0x245ed3[_0x4738d5];return _0x27b49c;},_0x4738(_0x1ab5e8,_0x75fc13);}function _0x245e(){const _0x4f66a6=['pluginName','show','6545070hLvfDo','514488dqstUB','change','hide','document','15ZDFThb','471234YeLZmq','498777uSSXHC','ck-editor__editable__loading-overlay','editor','removeClass','roots','view','548500DwzcrH','isPremiumPlugin','7VQWFpk','isOfficialPlugin','RevisionViewerLoadingOverlay','addClass','237384xjGeKD','editing','30893yuhMYb'];_0x245e=function(){return _0x4f66a6;};return _0x245e();}(function(_0x4591a4,_0x2b005b){const _0x3364a6=_0x4738,_0x53997d=_0x4591a4();while(!![]){try{const _0x5131a8=parseInt(_0x3364a6(0x1e6))/0x1+parseInt(_0x3364a6(0x1ea))/0x2+parseInt(_0x3364a6(0x1f0))/0x3+parseInt(_0x3364a6(0x1de))/0x4+-parseInt(_0x3364a6(0x1ee))/0x5*(-parseInt(_0x3364a6(0x1ef))/0x6)+-parseInt(_0x3364a6(0x1e0))/0x7*(-parseInt(_0x3364a6(0x1e4))/0x8)+-parseInt(_0x3364a6(0x1e9))/0x9;if(_0x5131a8===_0x2b005b)break;else _0x53997d['push'](_0x53997d['shift']());}catch(_0x57f48e){_0x53997d['push'](_0x53997d['shift']());}}}(_0x245e,0x1fa2d));import{Plugin as _0x4783db}from'ckeditor5/src/core.js';const ce=_0x3b2360(0x1d9);import'../../../theme/revisionviewerloadingoverlay.css';export default class ae extends _0x4783db{static get[_0x3b2360(0x1e7)](){const _0x5fe3fb=_0x3b2360;return _0x5fe3fb(0x1e2);}static get[_0x3b2360(0x1e1)](){return!0x0;}static get[_0x3b2360(0x1df)](){return!0x0;}[_0x3b2360(0x1e8)](){const _0x3d5458=_0x3b2360,_0x100d7a=this[_0x3d5458(0x1da)][_0x3d5458(0x1e5)][_0x3d5458(0x1dd)];_0x100d7a[_0x3d5458(0x1eb)](_0x4186b0=>{const _0x42ccec=_0x3d5458;for(const _0x47333e of _0x100d7a[_0x42ccec(0x1ed)][_0x42ccec(0x1dc)])_0x4186b0[_0x42ccec(0x1e3)](ce,_0x47333e);});}[_0x3b2360(0x1ec)](){const _0xe55dfc=_0x3b2360,_0x1fd8a8=this[_0xe55dfc(0x1da)][_0xe55dfc(0x1e5)][_0xe55dfc(0x1dd)];_0x1fd8a8[_0xe55dfc(0x1eb)](_0x297c48=>{const _0x22897f=_0xe55dfc;for(const _0x2ed80c of _0x1fd8a8[_0x22897f(0x1ed)][_0x22897f(0x1dc)])_0x297c48[_0x22897f(0x1db)](ce,_0x2ed80c);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xac95c5=_0x456c;function _0x456c(_0x39f0ca,_0x2ad9fd){const _0x2d0526=_0x2d05();return _0x456c=function(_0x456cbe,_0x585815){_0x456cbe=_0x456cbe-0x119;let _0x2e8424=_0x2d0526[_0x456cbe];return _0x2e8424;},_0x456c(_0x39f0ca,_0x2ad9fd);}(function(_0x13dec6,_0xe14ecb){const _0x595536=_0x456c,_0x5506a8=_0x13dec6();while(!![]){try{const _0x407c0f=-parseInt(_0x595536(0x120))/0x1+-parseInt(_0x595536(0x135))/0x2+-parseInt(_0x595536(0x149))/0x3*(parseInt(_0x595536(0x146))/0x4)+parseInt(_0x595536(0x131))/0x5*(-parseInt(_0x595536(0x12e))/0x6)+parseInt(_0x595536(0x133))/0x7+parseInt(_0x595536(0x13a))/0x8+-parseInt(_0x595536(0x13d))/0x9*(-parseInt(_0x595536(0x148))/0xa);if(_0x407c0f===_0xe14ecb)break;else _0x5506a8['push'](_0x5506a8['shift']());}catch(_0xabc9e2){_0x5506a8['push'](_0x5506a8['shift']());}}}(_0x2d05,0x89983));import{icons as _0x328eb9,Plugin as _0x1802f5}from'ckeditor5/src/core.js';import{ButtonView as _0x366ab8}from'ckeditor5/src/ui.js';import _0x4948d1 from'./changesnavigationview.js';import _0x12e89b from'./../../revisionviewer.js';import _0x4b2232 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x1b340f}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';function _0x2d05(){const _0x4c2afd=['add','get','execute','config','requires','showNextChange','isBackwardNavigationEnabled','currentChangeNumber','isEnabled','showPreviousChange','numberOfChanges','listenTo','forward','6EBswUb','plugins','bind','4156485yNbQbW','restoreRevision','5166609HGQWko','undo','642862mJTDqE','pluginName','componentFactory','hide','init','7387120dmjGxr','RevisionViewerUI','Restore\x20this\x20revision','427158bBSZUc','editor','revisionHistory','changesNavigation','isNavigationMode','Back\x20to\x20editing','change:isReady','exitToEditing','commands','4HaiXtc','ck-revision-history-ui__back-to-editing','290wDzqwf','744252PTeZkh','isOfficialPlugin','closeRevisionViewerCallback','isForwardNavigationEnabled','isPremiumPlugin','isReady','set','show','1073476LrIeKz'];_0x2d05=function(){return _0x4c2afd;};return _0x2d05();}export default class m extends _0x1802f5{static get[_0xac95c5(0x136)](){const _0x4c79db=_0xac95c5;return _0x4c79db(0x13b);}static get[_0xac95c5(0x119)](){return!0x0;}static get[_0xac95c5(0x11c)](){return!0x0;}static get[_0xac95c5(0x125)](){return[_0x12e89b,_0x4b2232];}[_0xac95c5(0x139)](){const _0x4bb258=_0xac95c5,_0x417720=this[_0x4bb258(0x13e)],_0x4f7cc0=_0x417720[_0x4bb258(0x12f)][_0x4bb258(0x122)](_0x12e89b),_0x4cfce1=_0x417720[_0x4bb258(0x12f)][_0x4bb258(0x122)](_0x4b2232);_0x417720['ui'][_0x4bb258(0x137)][_0x4bb258(0x121)](_0x4bb258(0x144),_0x42b2c4=>{const _0x592fe7=_0x4bb258,_0x4a50ab=new _0x366ab8(_0x42b2c4);return _0x4a50ab[_0x592fe7(0x11e)]({'label':_0x1b340f(_0x42b2c4,_0x592fe7(0x142)),'icon':_0x328eb9[_0x592fe7(0x134)],'withText':!0x0,'tooltip':!0x0,'class':_0x592fe7(0x147)}),this[_0x592fe7(0x12c)](_0x4a50ab,_0x592fe7(0x123),()=>{const _0x48c52a=_0x592fe7;_0x417720[_0x48c52a(0x124)][_0x48c52a(0x122)](_0x48c52a(0x13f))[_0x48c52a(0x11a)]();}),_0x4a50ab;}),_0x417720['ui'][_0x4bb258(0x137)][_0x4bb258(0x121)](_0x4bb258(0x132),_0x165328=>{const _0xcd9322=_0x4bb258,_0x24e46a=new _0x366ab8(_0x165328);return _0x24e46a[_0xcd9322(0x11e)]({'label':_0x1b340f(_0x165328,_0xcd9322(0x13c)),'withText':!0x0,'tooltip':!0x0}),_0x24e46a[_0xcd9322(0x130)](_0xcd9322(0x129))['to'](_0x417720[_0xcd9322(0x145)][_0xcd9322(0x122)](_0xcd9322(0x132))),this[_0xcd9322(0x12c)](_0x24e46a,_0xcd9322(0x123),()=>_0x417720[_0xcd9322(0x123)](_0xcd9322(0x132))),_0x24e46a;}),_0x417720['ui'][_0x4bb258(0x137)][_0x4bb258(0x121)](_0x4bb258(0x140),_0x4a64cf=>{const _0x4e0e31=_0x4bb258,_0x408510=new _0x4948d1(_0x4a64cf),_0x30d436=_0x417720[_0x4e0e31(0x145)][_0x4e0e31(0x122)](_0x4e0e31(0x12a)),_0x27fa6c=_0x417720[_0x4e0e31(0x145)][_0x4e0e31(0x122)](_0x4e0e31(0x126));return _0x408510[_0x4e0e31(0x130)](_0x4e0e31(0x127))['to'](_0x30d436,_0x4e0e31(0x129)),_0x408510[_0x4e0e31(0x130)](_0x4e0e31(0x11b))['to'](_0x27fa6c,_0x4e0e31(0x129)),_0x408510[_0x4e0e31(0x130)](_0x4e0e31(0x11d),_0x4e0e31(0x128),_0x4e0e31(0x12b),_0x4e0e31(0x141))['to'](_0x4f7cc0),this[_0x4e0e31(0x12c)](_0x408510,_0x4e0e31(0x123),(_0x221cfd,_0x3240cb)=>{const _0x3a83d2=_0x4e0e31;_0x417720[_0x3a83d2(0x123)](_0x3a83d2(0x12d)===_0x3240cb?_0x3a83d2(0x126):_0x3a83d2(0x12a));}),_0x408510;}),_0x4cfce1[_0x4bb258(0x11f)](),_0x4f7cc0['on'](_0x4bb258(0x143),(_0x36b60a,_0xc203ba,_0x4d586d)=>{const _0x4cafa7=_0x4bb258;_0x4d586d?_0x4cfce1[_0x4cafa7(0x138)]():_0x4cfce1[_0x4cafa7(0x11f)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x4a2955,_0x298331,_0x4f400e){const t=_0x4a2955['t'];switch(_0x298331){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'},_0x4f400e);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4f400e);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'';}}
|
package/dist/augmentation.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
import type { RevisionHistory, RevisionHistoryConfig, RevisionsRepository, RevisionViewerLoadingOverlay, RevisionHistoryUI, RevisionTracker, RevisionViewer, RestoreRevisionCommand, ShowChangeCommand, RevisionsSidebar, RevisionViewerUI } from './index.js';
|
|
10
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
11
|
-
interface EditorConfig {
|
|
12
|
-
/**
|
|
13
|
-
* The configuration of the revision history feature.
|
|
14
|
-
* Introduced by the {@link module:revision-history/revisionhistory~RevisionHistory} feature.
|
|
15
|
-
*/
|
|
16
|
-
revisionHistory?: RevisionHistoryConfig;
|
|
17
|
-
}
|
|
18
|
-
interface PluginsMap {
|
|
19
|
-
[RevisionHistory.pluginName]: RevisionHistory;
|
|
20
|
-
[RevisionsRepository.pluginName]: RevisionsRepository;
|
|
21
|
-
[RevisionViewerLoadingOverlay.pluginName]: RevisionViewerLoadingOverlay;
|
|
22
|
-
[RevisionHistoryUI.pluginName]: RevisionHistoryUI;
|
|
23
|
-
[RevisionTracker.pluginName]: RevisionTracker;
|
|
24
|
-
[RevisionViewer.pluginName]: RevisionViewer;
|
|
25
|
-
[RevisionsSidebar.pluginName]: RevisionsSidebar;
|
|
26
|
-
[RevisionViewerUI.pluginName]: RevisionViewerUI;
|
|
27
|
-
}
|
|
28
|
-
interface CommandsMap {
|
|
29
|
-
restoreRevision: RestoreRevisionCommand;
|
|
30
|
-
showPreviousChange: ShowChangeCommand<'backward'>;
|
|
31
|
-
showNextChange: ShowChangeCommand<'forward'>;
|
|
32
|
-
}
|
|
33
|
-
}
|
package/dist/changeitem.d.ts
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
import type { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
10
|
-
declare const ChangeItem_base: {
|
|
11
|
-
new (): import("ckeditor5/src/utils.js").Observable;
|
|
12
|
-
prototype: import("ckeditor5/src/utils.js").Observable;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* Represents a singular change entry in the revision or in the revisions comparison.
|
|
16
|
-
*/
|
|
17
|
-
export default class ChangeItem extends /* #__PURE__ -- @preserve */ ChangeItem_base {
|
|
18
|
-
/**
|
|
19
|
-
* Unique change item id.
|
|
20
|
-
*/
|
|
21
|
-
readonly id: string;
|
|
22
|
-
/**
|
|
23
|
-
* User who created the change.
|
|
24
|
-
*/
|
|
25
|
-
readonly author: User;
|
|
26
|
-
/**
|
|
27
|
-
* Change type.
|
|
28
|
-
*/
|
|
29
|
-
readonly type: string;
|
|
30
|
-
/**
|
|
31
|
-
* Additional details about the change.
|
|
32
|
-
*/
|
|
33
|
-
readonly data: Record<string, unknown>;
|
|
34
|
-
/**
|
|
35
|
-
* Name of the root which contains the change.
|
|
36
|
-
*/
|
|
37
|
-
readonly rootName: string;
|
|
38
|
-
/**
|
|
39
|
-
* The date when the change was created.
|
|
40
|
-
*
|
|
41
|
-
* @observable
|
|
42
|
-
*/
|
|
43
|
-
readonly createdAt: Date;
|
|
44
|
-
constructor(data: ChangeItemInput);
|
|
45
|
-
toJSON(): ChangeItemJSON;
|
|
46
|
-
}
|
|
47
|
-
export interface ChangeItemInput {
|
|
48
|
-
id?: string;
|
|
49
|
-
author: User;
|
|
50
|
-
type: string;
|
|
51
|
-
data: Record<string, unknown>;
|
|
52
|
-
createdAt: Date;
|
|
53
|
-
rootName: string;
|
|
54
|
-
}
|
|
55
|
-
export interface ChangeItemJSON {
|
|
56
|
-
id: string;
|
|
57
|
-
authorId: string;
|
|
58
|
-
type: string;
|
|
59
|
-
data: Record<string, unknown>;
|
|
60
|
-
createdAt: Date;
|
|
61
|
-
}
|
|
62
|
-
export {};
|