@ckeditor/ckeditor5-revision-history 44.0.0-alpha.10 → 44.0.0-alpha.11
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 +6 -6
- package/package.json +8 -8
- package/src/revisionsrepository.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/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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2b68(_0xedad4d,_0x2eccda){const _0x465cde=_0x465c();return _0x2b68=function(_0x2b6864,_0x42fc46){_0x2b6864=_0x2b6864-0x1e9;let _0x2c0fa8=_0x465cde[_0x2b6864];return _0x2c0fa8;},_0x2b68(_0xedad4d,_0x2eccda);}const _0x15181b=_0x2b68;(function(_0xe5171,_0x1e445a){const _0xbb741c=_0x2b68,_0x54675f=_0xe5171();while(!![]){try{const _0x324d25=-parseInt(_0xbb741c(0x1f8))/0x1+parseInt(_0xbb741c(0x204))/0x2*(parseInt(_0xbb741c(0x1ec))/0x3)+-parseInt(_0xbb741c(0x1ed))/0x4+-parseInt(_0xbb741c(0x1fb))/0x5*(parseInt(_0xbb741c(0x208))/0x6)+parseInt(_0xbb741c(0x1ee))/0x7+parseInt(_0xbb741c(0x1f7))/0x8*(parseInt(_0xbb741c(0x1e9))/0x9)+-parseInt(_0xbb741c(0x1f1))/0xa;if(_0x324d25===_0x1e445a)break;else _0x54675f['push'](_0x54675f['shift']());}catch(_0x462b5c){_0x54675f['push'](_0x54675f['shift']());}}}(_0x465c,0x74225));function _0x465c(){const _0x3c26f3=['_revisionActions','2378776wtdVSJ','906371xZGXNs','div','_requireRevisionName','20wmGieH','removeRevision','add','locale','createCollection','uiLanguage','ck-revision-history-sidebar__time-period__label','setTemplate','span','86nPVubw','addRevision','remove','ck-revision-history-sidebar__time-period','323040mPcqwx','9EuPLXw','localizedPeriodName','setName','51753GcBGYH','630480kaOqzM','6296220ShcFBg','revisionViews','select','1835640qBtVga','startDate','find','ck-revision-history-sidebar__time-period__revisions','delegate'];_0x465c=function(){return _0x3c26f3;};return _0x465c();}import{View as _0x54b985}from'ckeditor5/src/ui.js';import _0x4aee13 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x133d7e}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class mi extends _0x54b985{constructor(_0x58d585,_0x32060f,_0x5e4f7b,_0x5c893d){const _0x2f6697=_0x2b68;super(_0x58d585);const _0x335ba2=_0x133d7e(_0x32060f,this[_0x2f6697(0x1fe)][_0x2f6697(0x200)])[_0x2f6697(0x1ea)];this[_0x2f6697(0x1f2)]=_0x32060f,this[_0x2f6697(0x1ef)]=this[_0x2f6697(0x1ff)](),this[_0x2f6697(0x1f6)]=_0x5e4f7b,this[_0x2f6697(0x1fa)]=_0x5c893d,this[_0x2f6697(0x1ef)][_0x2f6697(0x1f5)](_0x2f6697(0x1f0))['to'](this),this[_0x2f6697(0x1ef)][_0x2f6697(0x1f5)](_0x2f6697(0x1eb))['to'](this),this[_0x2f6697(0x202)]({'tag':_0x2f6697(0x1f9),'attributes':{'class':['ck',_0x2f6697(0x207)]},'children':[{'tag':_0x2f6697(0x203),'attributes':{'class':['ck',_0x2f6697(0x201)]},'children':[{'text':_0x335ba2}]},{'tag':_0x2f6697(0x1f9),'attributes':{'class':['ck',_0x2f6697(0x1f4)]},'children':this[_0x2f6697(0x1ef)]}]});}[_0x15181b(0x205)](_0x5d9afb){const _0x4e7ea2=_0x15181b,_0x2f6674=new _0x4aee13(this[_0x4e7ea2(0x1fe)],_0x5d9afb,this[_0x4e7ea2(0x1f6)],this[_0x4e7ea2(0x1fa)]);this[_0x4e7ea2(0x1ef)][_0x4e7ea2(0x1fd)](_0x2f6674);}[_0x15181b(0x1fc)](_0x3884f7){const _0x3c697b=_0x15181b,_0x2312d8=this[_0x3c697b(0x1ef)][_0x3c697b(0x1f3)](_0x578b6e=>_0x578b6e['id']===_0x3884f7['id']);this[_0x3c697b(0x1ef)][_0x3c697b(0x206)](_0x2312d8);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2a3d(_0x34a5ac,_0x4c4d31){const _0x14470a=_0x1447();return _0x2a3d=function(_0x2a3d53,_0x5e5f1b){_0x2a3d53=_0x2a3d53-0xce;let _0xf13ac8=_0x14470a[_0x2a3d53];return _0xf13ac8;},_0x2a3d(_0x34a5ac,_0x4c4d31);}const _0x38aee8=_0x2a3d;(function(_0x32a826,_0x59fb98){const _0x39298e=_0x2a3d,_0x2a314f=_0x32a826();while(!![]){try{const _0x1d9584=-parseInt(_0x39298e(0xe9))/0x1+-parseInt(_0x39298e(0xe8))/0x2*(parseInt(_0x39298e(0xd3))/0x3)+parseInt(_0x39298e(0xe4))/0x4*(-parseInt(_0x39298e(0xd4))/0x5)+parseInt(_0x39298e(0xd8))/0x6*(parseInt(_0x39298e(0xdf))/0x7)+parseInt(_0x39298e(0xef))/0x8+parseInt(_0x39298e(0xd7))/0x9*(parseInt(_0x39298e(0xcf))/0xa)+parseInt(_0x39298e(0xeb))/0xb;if(_0x1d9584===_0x59fb98)break;else _0x2a314f['push'](_0x2a314f['shift']());}catch(_0x15a731){_0x2a314f['push'](_0x2a314f['shift']());}}}(_0x1447,0x8446a));import{View as _0x1f9b87}from'ckeditor5/src/ui.js';import _0x14b329 from'./revisionssidebartimeperiodview.js';function _0x1447(){const _0x453a54=['uiLanguage','createdAt','579220kNTOsU','highlightRevisions','createCollection','render','336QAAaEL','65RQEPzx','selectRevision','isEnabled','63jDHEFQ','6MrJvmO','bindTemplate','removeRevision','setName','_revisionActions','_getTimePeriodViewByStartDate','div','7112777rFCgTk','timePeriodViews','flat','fire','_addRevision','273548mUckJx','getTime','highlight','ck-revision-history-sidebar__timeline','11408QsJaQt','420062UkszQS','find','5940022UMkdRb','ck-rounded-corners','_removeRevision','ck-disabled','4225408ynCcaf','get','some','set','_requireRevisionName','add','map','revisionViews','remove','revisionSetName','setTemplate','addRevision','select','_revisions','revisionSelected','deselect','ck-reset','ck-revision-history-sidebar','unhighlight','delegate','locale','startDate'];_0x1447=function(){return _0x453a54;};return _0x1447();}import _0x1d96b0 from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x5b4a8b}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ci extends _0x1f9b87{constructor(_0xe08909,_0x5ea776,_0x30cc5c,_0x76ee7){const _0x5b0d94=_0x2a3d;super(_0xe08909);const _0x28bca1=this[_0x5b0d94(0xd9)];this[_0x5b0d94(0xe0)]=this[_0x5b0d94(0xd1)](),this[_0x5b0d94(0xe0)][_0x5b0d94(0x102)](_0x5b0d94(0xfb))['to'](this),this[_0x5b0d94(0xe0)][_0x5b0d94(0x102)](_0x5b0d94(0xdb))['to'](this),this[_0x5b0d94(0xfc)]=_0x5ea776,this[_0x5b0d94(0xdc)]=_0x30cc5c,this[_0x5b0d94(0xf3)]=_0x76ee7,this['on'](_0x5b0d94(0xfb),(_0x38b835,_0x21bfb8)=>{const _0x5c7be2=_0x5b0d94;this[_0x5c7be2(0xe2)](_0x5c7be2(0xfd),_0x21bfb8);}),this['on'](_0x5b0d94(0xdb),(_0x25ceed,_0xb3a7a2)=>{const _0x210e62=_0x5b0d94;this[_0x210e62(0xe2)](_0x210e62(0xf8),_0xb3a7a2);}),this[_0x5b0d94(0xf2)](_0x5b0d94(0xd6),!0x1),this[_0x5b0d94(0xf9)]({'tag':_0x5b0d94(0xde),'attributes':{'class':['ck',_0x5b0d94(0xff),_0x5b0d94(0xec),_0x5b0d94(0x100)]},'children':[new _0x1d96b0(_0xe08909),{'tag':_0x5b0d94(0xde),'attributes':{'class':['ck',_0x5b0d94(0xe7),_0x28bca1['if'](_0x5b0d94(0xd6),_0x5b0d94(0xee),_0x9bd73a=>!_0x9bd73a)]},'children':this[_0x5b0d94(0xe0)]}]});}[_0x38aee8(0xd2)](){const _0x16f83c=_0x38aee8;super[_0x16f83c(0xd2)]();for(const _0x4144ce of this[_0x16f83c(0xfc)])this[_0x16f83c(0xe3)](_0x4144ce);this[_0x16f83c(0xfc)]['on'](_0x16f83c(0xf4),(_0x18b8c0,_0x3e0fac)=>{const _0x1fc401=_0x16f83c;this[_0x1fc401(0xe3)](_0x3e0fac);}),this[_0x16f83c(0xfc)]['on'](_0x16f83c(0xf7),(_0x6b305d,_0x3b9d9e)=>{const _0x59aa91=_0x16f83c;this[_0x59aa91(0xed)](_0x3b9d9e);});}get[_0x38aee8(0xf6)](){const _0x22ff19=_0x38aee8;return this[_0x22ff19(0xe0)][_0x22ff19(0xf5)](_0x3cf93b=>_0x3cf93b[_0x22ff19(0xf6)][_0x22ff19(0xf5)](_0x260495=>_0x260495))[_0x22ff19(0xe1)]();}[_0x38aee8(0xd5)](_0x369f80){const _0x12d8c0=_0x38aee8;for(const _0xb55852 of this[_0x12d8c0(0xf6)])_0x369f80&&_0x369f80['id']===_0xb55852['id']?_0xb55852[_0x12d8c0(0xfb)]():_0xb55852[_0x12d8c0(0xfe)]();}[_0x38aee8(0xd0)](_0x43be0d){const _0x190982=_0x38aee8;for(const _0x4e4d78 of this[_0x190982(0xf6)])_0x43be0d[_0x190982(0xf1)](({id:_0x278ec9})=>_0x278ec9===_0x4e4d78['id'])?_0x4e4d78[_0x190982(0xe6)]():_0x4e4d78[_0x190982(0x101)]();}[_0x38aee8(0xe3)](_0x595fc8){const _0x5988e0=_0x38aee8,_0x20278a=_0x5b4a8b(_0x595fc8[_0x5988e0(0xce)],this[_0x5988e0(0x103)][_0x5988e0(0x105)])[_0x5988e0(0x104)];let _0x45d634=this[_0x5988e0(0xe0)][_0x5988e0(0xf0)](0x0);_0x45d634&&_0x45d634[_0x5988e0(0x104)][_0x5988e0(0xe5)]()===_0x20278a[_0x5988e0(0xe5)]()||(_0x45d634=new _0x14b329(this[_0x5988e0(0x103)],_0x20278a,this[_0x5988e0(0xdc)],this[_0x5988e0(0xf3)]),this[_0x5988e0(0xe0)][_0x5988e0(0xf4)](_0x45d634)),_0x45d634[_0x5988e0(0xfa)](_0x595fc8);}[_0x38aee8(0xed)](_0x1cc9ba){const _0x13e85f=_0x38aee8,_0x3d809f=_0x5b4a8b(_0x1cc9ba[_0x13e85f(0xce)],this[_0x13e85f(0x103)][_0x13e85f(0x105)])[_0x13e85f(0x104)];this[_0x13e85f(0xdd)](_0x3d809f)[_0x13e85f(0xda)](_0x1cc9ba);}[_0x38aee8(0xdd)](_0x36c872){const _0x49abf3=_0x38aee8;return this[_0x49abf3(0xe0)][_0x49abf3(0xea)](_0x28f681=>_0x28f681[_0x49abf3(0x104)][_0x49abf3(0xe5)]()===_0x36c872[_0x49abf3(0xe5)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x32c86b,_0x597f58){const _0x5d5089=_0x1ab7,_0x49926f=_0x32c86b();while(!![]){try{const _0x5cdef9=-parseInt(_0x5d5089(0x1bf))/0x1*(parseInt(_0x5d5089(0x1c2))/0x2)+parseInt(_0x5d5089(0x1b3))/0x3+parseInt(_0x5d5089(0x1af))/0x4*(parseInt(_0x5d5089(0x1bc))/0x5)+-parseInt(_0x5d5089(0x1c4))/0x6+-parseInt(_0x5d5089(0x1b7))/0x7*(parseInt(_0x5d5089(0x1c0))/0x8)+-parseInt(_0x5d5089(0x1b9))/0x9+parseInt(_0x5d5089(0x1b8))/0xa*(parseInt(_0x5d5089(0x1ba))/0xb);if(_0x5cdef9===_0x597f58)break;else _0x49926f['push'](_0x49926f['shift']());}catch(_0x18348b){_0x49926f['push'](_0x49926f['shift']());}}}(_0x2f57,0xb0255));function _0x1ab7(_0x54958c,_0x2937ae){const _0x2f57f9=_0x2f57();return _0x1ab7=function(_0x1ab703,_0x55f59c){_0x1ab703=_0x1ab703-0x1af;let _0x409e42=_0x2f57f9[_0x1ab703];return _0x409e42;},_0x1ab7(_0x54958c,_0x2937ae);}import{DateTime as _0xa23b58}from'luxon';function _0x2f57(){const _0x1de436=['setLocale','monthLong','1155581lrJqIT','47180bBSfTy','7126992aNUgXC','1892GtqGug','toJSDate','6575960fhgFkb','weekdayLong','local','4ishmTs','48EDVucb','year','43948JkCIMU','month','1465746mQfEEY','startOf','minus','week','4sKoJSG','toRelativeCalendar','fromJSDate','day','2128134xyQUCi','hasSame'];_0x2f57=function(){return _0x1de436;};return _0x2f57();}export function getDateTimePeriodInfo(_0x272f60,_0x4c3001){const _0x5a1a59=_0x1ab7,_0x2178ad=_0xa23b58[_0x5a1a59(0x1b1)](_0x272f60)[_0x5a1a59(0x1b5)](_0x4c3001),_0x442169=_0xa23b58[_0x5a1a59(0x1be)](),_0x45e05c=_0x442169[_0x5a1a59(0x1c6)]({'days':0x1})[_0x5a1a59(0x1c5)](_0x5a1a59(0x1b2));let _0xa67bbc,_0x199915;return _0x2178ad[_0x5a1a59(0x1b4)](_0x442169,_0x5a1a59(0x1b2))?(_0xa67bbc=_0x2178ad[_0x5a1a59(0x1c5)](_0x5a1a59(0x1b2))[_0x5a1a59(0x1bb)](),_0x199915=_0x2178ad[_0x5a1a59(0x1b0)]()):_0x2178ad[_0x5a1a59(0x1b4)](_0x45e05c,_0x5a1a59(0x1b2))?(_0xa67bbc=_0x45e05c[_0x5a1a59(0x1bb)](),_0x199915=_0x2178ad[_0x5a1a59(0x1b0)]()):_0x2178ad[_0x5a1a59(0x1b4)](_0x442169,_0x5a1a59(0x1c7))?(_0xa67bbc=_0x2178ad[_0x5a1a59(0x1c5)](_0x5a1a59(0x1c7))[_0x5a1a59(0x1bb)](),_0x199915=_0x2178ad[_0x5a1a59(0x1bd)]||''):_0x2178ad[_0x5a1a59(0x1b4)](_0x442169,_0x5a1a59(0x1c1))?(_0xa67bbc=_0x2178ad[_0x5a1a59(0x1c5)](_0x5a1a59(0x1c3))[_0x5a1a59(0x1bb)](),_0x199915=_0x2178ad[_0x5a1a59(0x1b6)]||''):(_0xa67bbc=_0x2178ad[_0x5a1a59(0x1c5)](_0x5a1a59(0x1c1))[_0x5a1a59(0x1bb)](),_0x199915=String(_0x2178ad[_0x5a1a59(0x1c1)])),{'startDate':_0xa67bbc,'localizedPeriodName':_0x199915};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x37ec(_0x14615b,_0x26352e){const _0x47b35e=_0x47b3();return _0x37ec=function(_0x37ec71,_0xf31381){_0x37ec71=_0x37ec71-0x199;let _0x2e7a73=_0x47b35e[_0x37ec71];return _0x2e7a73;},_0x37ec(_0x14615b,_0x26352e);}function _0x47b3(){const _0x82486a=['1DvqTeB','_model','Removed\x20by','add','790923cvKngD','806400DAZBFs','element','name','ck-revision-change__label','isSuggestion','ck-annotation','author','changeId','ck-revision-change','bindTemplate','508785oUsjyl','Added\x20by','1087676HdzNfH','165558RWzMVZ','2007FpFWQB','Suggested\x20by','type','584zeYmZK','ck-revision-change__','div','span','data','2257086jvtDiu','set','focus','setTemplate'];_0x47b3=function(){return _0x82486a;};return _0x47b3();}const _0x53a1fc=_0x37ec;(function(_0x3db288,_0x24b3f8){const _0x3d85cc=_0x37ec,_0xd5ba36=_0x3db288();while(!![]){try{const _0x3a9fd8=parseInt(_0x3d85cc(0x1b0))/0x1*(parseInt(_0x3d85cc(0x1a3))/0x2)+parseInt(_0x3d85cc(0x1b5))/0x3+parseInt(_0x3d85cc(0x1a2))/0x4+parseInt(_0x3d85cc(0x1a0))/0x5+-parseInt(_0x3d85cc(0x1ac))/0x6+-parseInt(_0x3d85cc(0x1b4))/0x7+parseInt(_0x3d85cc(0x1a7))/0x8*(-parseInt(_0x3d85cc(0x1a4))/0x9);if(_0x3a9fd8===_0x24b3f8)break;else _0xd5ba36['push'](_0xd5ba36['shift']());}catch(_0x2f52bc){_0xd5ba36['push'](_0xd5ba36['shift']());}}}(_0x47b3,0x35a9e));import{View as _0x2ac8ea}from'ckeditor5/src/ui.js';import{getTranslation as _0x17a60f}from'../../utils/common-translations.js';export default class Y extends _0x2ac8ea{constructor(_0x4b43e6,_0x1ec82f){const _0x334fba=_0x37ec;super(_0x4b43e6),this[_0x334fba(0x1b1)]=_0x1ec82f,this[_0x334fba(0x19d)]=_0x1ec82f['id'];const _0x4bbc72=this[_0x334fba(0x19f)],_0x2747f8=_0x17a60f(_0x4b43e6,_0x1ec82f[_0x334fba(0x1ab)][_0x334fba(0x19a)]?_0x334fba(0x1a5):_0x334fba(0x1b3)==_0x1ec82f[_0x334fba(0x1a6)]?_0x334fba(0x1a1):_0x334fba(0x1b2));this[_0x334fba(0x1ad)](_0x334fba(0x1a6),_0x1ec82f[_0x334fba(0x1a6)]),this[_0x334fba(0x1af)]({'tag':_0x334fba(0x1a9),'attributes':{'class':[_0x334fba(0x19b),_0x334fba(0x19e),_0x4bbc72['to'](_0x334fba(0x1a6),_0x48d321=>_0x334fba(0x1a8)+_0x48d321)],'tabindex':-0x1},'children':[{'tag':_0x334fba(0x1aa),'children':[{'tag':_0x334fba(0x1aa),'attributes':{'class':[_0x334fba(0x199)]},'children':[{'text':_0x2747f8}]},{'text':'\x20'+_0x1ec82f[_0x334fba(0x19c)][_0x334fba(0x1b7)]}]}]});}[_0x53a1fc(0x1ae)](){const _0x49086d=_0x53a1fc;this[_0x49086d(0x1b6)][_0x49086d(0x1ae)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1eb2(_0x21e5a9,_0x5e6e02){const _0x2f9026=_0x2f90();return _0x1eb2=function(_0x1eb205,_0x37c7c9){_0x1eb205=_0x1eb205-0x12e;let _0x2e1a6b=_0x2f9026[_0x1eb205];return _0x2e1a6b;},_0x1eb2(_0x21e5a9,_0x5e6e02);}(function(_0x480375,_0x211673){const _0x845023=_0x1eb2,_0x515f2e=_0x480375();while(!![]){try{const _0x25b981=-parseInt(_0x845023(0x12e))/0x1*(-parseInt(_0x845023(0x138))/0x2)+parseInt(_0x845023(0x139))/0x3*(parseInt(_0x845023(0x132))/0x4)+parseInt(_0x845023(0x141))/0x5+-parseInt(_0x845023(0x135))/0x6+-parseInt(_0x845023(0x149))/0x7+-parseInt(_0x845023(0x14f))/0x8+-parseInt(_0x845023(0x133))/0x9;if(_0x25b981===_0x211673)break;else _0x515f2e['push'](_0x515f2e['shift']());}catch(_0x386bf0){_0x515f2e['push'](_0x515f2e['shift']());}}}(_0x2f90,0xb44ce));function _0x2f90(){const _0x386b13=['Show\x20next\x20change','isBackwardNavigationEnabled','isReady','ck-revision-history-ui__changes-navigation','52908YrIrIz','isForwardNavigationEnabled','set','_isStatusLabelVisible','96rjPBrq','1417014PkWRfn','isNavigationMode','235548YLaCaP','Show\x20previous\x20change','forward','44egbjlr','148521vdXgtK','Loading...','No\x20changes','currentChangeNumber','ck-hidden','ck-revision-history-ui__changes-navigation__label','bindTemplate','NUMBER_OF_CHANGES','886935LhARpm','_statusText','span','isEnabled','numberOfChanges','EDIT_X_OF_Y_REVISIONS','X_OF_Y_CHANGES','ck-revision-history-ui','5518758dyLkGO','ck-revision-history-ui__changes-navigation__wrapper','backward','Total','bind','setTemplate','6447384WQcSCV','div','ck-revision-history-ui__changes-navigation__navigation','execute','fire'];_0x2f90=function(){return _0x386b13;};return _0x2f90();}import{View as _0x3e915b,ButtonView as _0x440348,ToolbarSeparatorView as _0x171aba}from'ckeditor5/src/ui.js';import{getTranslation as _0x4bc6a7}from'../../utils/common-translations.js';import _0x19b995 from'../../../theme/icons/arrow-up.svg';import _0x10b686 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class _i extends _0x3e915b{constructor(_0x5609f2){const _0x57676a=_0x1eb2;super(_0x5609f2);const _0x40560e=this[_0x57676a(0x13f)],_0x77cc9c=new _0x440348(_0x5609f2),_0x88e31f=new _0x440348(_0x5609f2);this[_0x57676a(0x130)](_0x57676a(0x134),!0x1),this[_0x57676a(0x130)](_0x57676a(0x156),!0x1),this[_0x57676a(0x130)](_0x57676a(0x13c),0x0),this[_0x57676a(0x130)](_0x57676a(0x145),0x0),this[_0x57676a(0x130)](_0x57676a(0x12f),!0x1),this[_0x57676a(0x130)](_0x57676a(0x155),!0x1),this[_0x57676a(0x14d)](_0x57676a(0x131))['to'](this,_0x57676a(0x156),this,_0x57676a(0x145),(_0xc40345,_0xdfb632)=>_0xc40345&&_0xdfb632>0x0),this[_0x57676a(0x14d)](_0x57676a(0x142))['to'](this,_0x57676a(0x156),this,_0x57676a(0x13c),this,_0x57676a(0x145),this,_0x57676a(0x134),(_0x46e152,_0x87eb29,_0xf23ef1,_0x1cb47a)=>{const _0x3c94f1=_0x57676a;if(!_0x46e152)return _0x4bc6a7(_0x5609f2,_0x3c94f1(0x13a));if(!_0xf23ef1)return _0x4bc6a7(_0x5609f2,_0x3c94f1(0x13b));const _0x432817=_0x4bc6a7(_0x5609f2,_0x3c94f1(0x140),_0xf23ef1);return _0x1cb47a?_0x4bc6a7(_0x5609f2,_0x3c94f1(0x147),[_0x87eb29+0x1,_0xf23ef1]):_0x432817;}),_0x77cc9c[_0x57676a(0x130)]({'label':_0x4bc6a7(_0x5609f2,_0x57676a(0x136)),'tooltip':!0x0,'icon':_0x19b995}),_0x88e31f[_0x57676a(0x130)]({'label':_0x4bc6a7(_0x5609f2,_0x57676a(0x154)),'tooltip':!0x0,'icon':_0x10b686}),_0x77cc9c[_0x57676a(0x14d)](_0x57676a(0x144))['to'](this,_0x57676a(0x155)),_0x88e31f[_0x57676a(0x14d)](_0x57676a(0x144))['to'](this,_0x57676a(0x12f)),_0x77cc9c['on'](_0x57676a(0x152),()=>this[_0x57676a(0x153)](_0x57676a(0x152),_0x57676a(0x14b))),_0x88e31f['on'](_0x57676a(0x152),()=>this[_0x57676a(0x153)](_0x57676a(0x152),_0x57676a(0x137))),this[_0x57676a(0x14e)]({'tag':_0x57676a(0x150),'attributes':{'class':['ck',_0x57676a(0x148),_0x57676a(0x157)]},'children':[{'tag':_0x57676a(0x143),'attributes':{'class':[_0x57676a(0x14a)]},'children':[{'tag':_0x57676a(0x143),'attributes':{'class':[_0x57676a(0x13e),_0x40560e['if'](_0x57676a(0x131),_0x57676a(0x13d),_0x28142c=>!_0x28142c)]},'children':[{'text':_0x40560e['to'](_0x57676a(0x134),_0x752365=>_0x752365?_0x4bc6a7(_0x5609f2,_0x57676a(0x146))+':\x20':_0x4bc6a7(_0x5609f2,_0x57676a(0x14c))+':\x20')}]},{'text':_0x40560e['to'](_0x57676a(0x142))}]},new _0x171aba(),{'tag':_0x57676a(0x150),'attributes':{'class':[_0x57676a(0x151)]},'children':[_0x77cc9c,_0x88e31f]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x27ee(_0x9286b8,_0x171d36){const _0x386749=_0x3867();return _0x27ee=function(_0x27ee14,_0x134ffc){_0x27ee14=_0x27ee14-0x8f;let _0x9cc03f=_0x386749[_0x27ee14];return _0x9cc03f;},_0x27ee(_0x9286b8,_0x171d36);}const _0x241925=_0x27ee;(function(_0xa78c0d,_0x2fa1d7){const _0x596dc2=_0x27ee,_0x386398=_0xa78c0d();while(!![]){try{const _0x2166fc=-parseInt(_0x596dc2(0x92))/0x1*(-parseInt(_0x596dc2(0x99))/0x2)+-parseInt(_0x596dc2(0xa8))/0x3+-parseInt(_0x596dc2(0x9b))/0x4*(parseInt(_0x596dc2(0x93))/0x5)+-parseInt(_0x596dc2(0x98))/0x6+-parseInt(_0x596dc2(0x94))/0x7*(-parseInt(_0x596dc2(0xa2))/0x8)+-parseInt(_0x596dc2(0xa7))/0x9*(-parseInt(_0x596dc2(0x90))/0xa)+parseInt(_0x596dc2(0x97))/0xb*(-parseInt(_0x596dc2(0x96))/0xc);if(_0x2166fc===_0x2fa1d7)break;else _0x386398['push'](_0x386398['shift']());}catch(_0x233887){_0x386398['push'](_0x386398['shift']());}}}(_0x3867,0x81ffb));function _0x3867(){const _0x54cd8f=['view','12YgXVIH','1779415alGdhd','2800956PJOGrW','14xkWsnA','isOfficialPlugin','36364CoLCXg','roots','isPremiumPlugin','change','editing','pluginName','ck-editor__editable__loading-overlay','172392oYjBWH','removeClass','show','addClass','RevisionViewerLoadingOverlay','256140SrqHEL','333249YunqFO','document','hide','210EhGEmW','editor','121897kgRHeg','205ciEOmP','63owlexH'];_0x3867=function(){return _0x54cd8f;};return _0x3867();}import{Plugin as _0x4ec918}from'ckeditor5/src/core.js';const ce=_0x241925(0xa1);import'../../../theme/revisionviewerloadingoverlay.css';export default class le extends _0x4ec918{static get[_0x241925(0xa0)](){const _0x2ea9d3=_0x241925;return _0x2ea9d3(0xa6);}static get[_0x241925(0x9a)](){return!0x0;}static get[_0x241925(0x9d)](){return!0x0;}[_0x241925(0xa4)](){const _0x18a75e=_0x241925,_0x296606=this[_0x18a75e(0x91)][_0x18a75e(0x9f)][_0x18a75e(0x95)];_0x296606[_0x18a75e(0x9e)](_0x285c82=>{const _0x3a420d=_0x18a75e;for(const _0x287af9 of _0x296606[_0x3a420d(0xa9)][_0x3a420d(0x9c)])_0x285c82[_0x3a420d(0xa5)](ce,_0x287af9);});}[_0x241925(0x8f)](){const _0x51f9c5=_0x241925,_0x455a45=this[_0x51f9c5(0x91)][_0x51f9c5(0x9f)][_0x51f9c5(0x95)];_0x455a45[_0x51f9c5(0x9e)](_0x4645a8=>{const _0x3051a1=_0x51f9c5;for(const _0xe0ed70 of _0x455a45[_0x3051a1(0xa9)][_0x3051a1(0x9c)])_0x4645a8[_0x3051a1(0xa3)](ce,_0xe0ed70);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x18ca74=_0x2f36;(function(_0x2de6a2,_0x11050e){const _0x54e388=_0x2f36,_0x43a665=_0x2de6a2();while(!![]){try{const _0x3878ec=parseInt(_0x54e388(0x181))/0x1*(-parseInt(_0x54e388(0x16c))/0x2)+-parseInt(_0x54e388(0x190))/0x3*(parseInt(_0x54e388(0x18c))/0x4)+-parseInt(_0x54e388(0x166))/0x5+-parseInt(_0x54e388(0x168))/0x6*(parseInt(_0x54e388(0x180))/0x7)+parseInt(_0x54e388(0x185))/0x8*(-parseInt(_0x54e388(0x17c))/0x9)+-parseInt(_0x54e388(0x170))/0xa+parseInt(_0x54e388(0x176))/0xb*(parseInt(_0x54e388(0x171))/0xc);if(_0x3878ec===_0x11050e)break;else _0x43a665['push'](_0x43a665['shift']());}catch(_0x4d2878){_0x43a665['push'](_0x43a665['shift']());}}}(_0xe909,0xe4bb8));import{icons as _0x410369,Plugin as _0x1cc802}from'ckeditor5/src/core.js';import{ButtonView as _0x5e57c3}from'ckeditor5/src/ui.js';import _0x1db497 from'./changesnavigationview.js';import _0x42c86a from'./../../revisionviewer.js';import _0x1a4610 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x2dd695}from'../../utils/common-translations.js';function _0x2f36(_0x29a56b,_0x5ea24f){const _0xe9099c=_0xe909();return _0x2f36=function(_0x2f3661,_0x3e59e6){_0x2f3661=_0x2f3661-0x164;let _0x1f7e30=_0xe9099c[_0x2f3661];return _0x1f7e30;},_0x2f36(_0x29a56b,_0x5ea24f);}import'../../../theme/revisionviewer.css';function _0xe909(){const _0x3fc988=['ck-revision-history-ui__back-to-editing','plugins','2419390HYsMEp','8227164BAhQfT','bind','isOfficialPlugin','set','config','66hfcFMe','hide','isEnabled','pluginName','undo','isPremiumPlugin','4610934sadTRX','execute','isBackwardNavigationEnabled','revisionHistory','592193ZGlaAL','29549jumXxy','editor','closeRevisionViewerCallback','numberOfChanges','8sXxEzX','show','change:isReady','isNavigationMode','init','add','exitToEditing','941756pCbOnY','isReady','commands','listenTo','3wKQNpi','Restore\x20this\x20revision','isForwardNavigationEnabled','requires','showPreviousChange','RevisionViewerUI','changesNavigation','get','showNextChange','681870OZVtvP','restoreRevision','114XUqTHQ','forward','componentFactory','currentChangeNumber','30vSLZdW','Back\x20to\x20editing'];_0xe909=function(){return _0x3fc988;};return _0xe909();}export default class m extends _0x1cc802{static get[_0x18ca74(0x179)](){const _0x4af036=_0x18ca74;return _0x4af036(0x195);}static get[_0x18ca74(0x173)](){return!0x0;}static get[_0x18ca74(0x17b)](){return!0x0;}static get[_0x18ca74(0x193)](){return[_0x42c86a,_0x1a4610];}[_0x18ca74(0x189)](){const _0x55e7bd=_0x18ca74,_0x3151b0=this[_0x55e7bd(0x182)],_0x3bc093=_0x3151b0[_0x55e7bd(0x16f)][_0x55e7bd(0x164)](_0x42c86a),_0x19a4c2=_0x3151b0[_0x55e7bd(0x16f)][_0x55e7bd(0x164)](_0x1a4610);_0x3151b0['ui'][_0x55e7bd(0x16a)][_0x55e7bd(0x18a)](_0x55e7bd(0x18b),_0x28a5fd=>{const _0x2bb381=_0x55e7bd,_0x597fe2=new _0x5e57c3(_0x28a5fd);return _0x597fe2[_0x2bb381(0x174)]({'label':_0x2dd695(_0x28a5fd,_0x2bb381(0x16d)),'icon':_0x410369[_0x2bb381(0x17a)],'withText':!0x0,'tooltip':!0x0,'class':_0x2bb381(0x16e)}),this[_0x2bb381(0x18f)](_0x597fe2,_0x2bb381(0x17d),()=>{const _0x1cdc0e=_0x2bb381;_0x3151b0[_0x1cdc0e(0x175)][_0x1cdc0e(0x164)](_0x1cdc0e(0x17f))[_0x1cdc0e(0x183)]();}),_0x597fe2;}),_0x3151b0['ui'][_0x55e7bd(0x16a)][_0x55e7bd(0x18a)](_0x55e7bd(0x167),_0x208a27=>{const _0xcbfbe4=_0x55e7bd,_0x23b484=new _0x5e57c3(_0x208a27);return _0x23b484[_0xcbfbe4(0x174)]({'label':_0x2dd695(_0x208a27,_0xcbfbe4(0x191)),'withText':!0x0,'tooltip':!0x0}),_0x23b484[_0xcbfbe4(0x172)](_0xcbfbe4(0x178))['to'](_0x3151b0[_0xcbfbe4(0x18e)][_0xcbfbe4(0x164)](_0xcbfbe4(0x167))),this[_0xcbfbe4(0x18f)](_0x23b484,_0xcbfbe4(0x17d),()=>_0x3151b0[_0xcbfbe4(0x17d)](_0xcbfbe4(0x167))),_0x23b484;}),_0x3151b0['ui'][_0x55e7bd(0x16a)][_0x55e7bd(0x18a)](_0x55e7bd(0x196),_0x11ffb9=>{const _0x10517e=_0x55e7bd,_0x2a5114=new _0x1db497(_0x11ffb9),_0x22d822=_0x3151b0[_0x10517e(0x18e)][_0x10517e(0x164)](_0x10517e(0x194)),_0x80a0c9=_0x3151b0[_0x10517e(0x18e)][_0x10517e(0x164)](_0x10517e(0x165));return _0x2a5114[_0x10517e(0x172)](_0x10517e(0x17e))['to'](_0x22d822,_0x10517e(0x178)),_0x2a5114[_0x10517e(0x172)](_0x10517e(0x192))['to'](_0x80a0c9,_0x10517e(0x178)),_0x2a5114[_0x10517e(0x172)](_0x10517e(0x18d),_0x10517e(0x16b),_0x10517e(0x184),_0x10517e(0x188))['to'](_0x3bc093),this[_0x10517e(0x18f)](_0x2a5114,_0x10517e(0x17d),(_0x9b90a0,_0xcef571)=>{const _0x35d552=_0x10517e;_0x3151b0[_0x35d552(0x17d)](_0x35d552(0x169)===_0xcef571?_0x35d552(0x165):_0x35d552(0x194));}),_0x2a5114;}),_0x19a4c2[_0x55e7bd(0x186)](),_0x3bc093['on'](_0x55e7bd(0x187),(_0x1d422f,_0x3e08f5,_0xfa2dd2)=>{const _0xd714f7=_0x55e7bd;_0xfa2dd2?_0x19a4c2[_0xd714f7(0x177)]():_0x19a4c2[_0xd714f7(0x186)]();});}}
|