@ckeditor/ckeditor5-revision-history 46.0.1-alpha.11 → 46.0.1-alpha.13
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/package.json +11 -11
- 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 +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/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
|
-
function
|
|
23
|
+
function _0x236a(){const _0x66bf03=['4404883nOsKkW','18155264fyNjZz','div','ck-revision-history-sidebar__header','36321ZIELcE','ck-reset_all','1362954kPhOoG','3178715kvaHnO','343939eRGign','44shcodL','Revision\x20history','span','content','setTemplate','1270526DoPNop','ck-revision-history-sidebar__header__label'];_0x236a=function(){return _0x66bf03;};return _0x236a();}(function(_0x31c508,_0x29249a){const _0x55a0ae=_0x2f77,_0x382939=_0x31c508();while(!![]){try{const _0x48ffc4=parseInt(_0x55a0ae(0xbb))/0x1+parseInt(_0x55a0ae(0xc1))/0x2+parseInt(_0x55a0ae(0xc7))/0x3*(parseInt(_0x55a0ae(0xbc))/0x4)+parseInt(_0x55a0ae(0xba))/0x5+parseInt(_0x55a0ae(0xb9))/0x6+parseInt(_0x55a0ae(0xc3))/0x7+-parseInt(_0x55a0ae(0xc4))/0x8;if(_0x48ffc4===_0x29249a)break;else _0x382939['push'](_0x382939['shift']());}catch(_0x1c0a9c){_0x382939['push'](_0x382939['shift']());}}}(_0x236a,0x51d26));import{View as _0x3ce261,IconView as _0x46afd1}from'ckeditor5/src/ui.js';import{getTranslation as _0x356d0f}from'../../utils/common-translations.js';import{IconHistory as _0x1fe004}from'ckeditor5/src/icons.js';function _0x2f77(_0x108a0f,_0x19f95a){const _0x236af1=_0x236a();return _0x2f77=function(_0x2f77c9,_0x45b483){_0x2f77c9=_0x2f77c9-0xb8;let _0x57f931=_0x236af1[_0x2f77c9];return _0x57f931;},_0x2f77(_0x108a0f,_0x19f95a);}import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x3ce261{constructor(_0x30e536){const _0x1f2ba5=_0x2f77;super(_0x30e536);const _0x4ad7a8=new _0x46afd1();_0x4ad7a8[_0x1f2ba5(0xbf)]=_0x1fe004,this[_0x1f2ba5(0xc0)]({'tag':_0x1f2ba5(0xc5),'attributes':{'class':['ck',_0x1f2ba5(0xb8),_0x1f2ba5(0xc6)]},'children':[_0x4ad7a8,{'tag':_0x1f2ba5(0xbe),'attributes':{'class':['ck',_0x1f2ba5(0xc2)]},'children':[_0x356d0f(_0x30e536,_0x1f2ba5(0xbd))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4f20ef=_0x59b1;function _0x3068(){const _0xbdbe56=['find','261520XifpAU','remove','span','_requireRevisionName','locale','select','172BLHYRZ','setName','_revisionActions','ck-revision-history-sidebar__time-period','ck-revision-history-sidebar__time-period__revisions','addRevision','25628094SESqlm','77KBhWyc','div','915803bBELiz','add','857520JZNiqM','setTemplate','2919294OlIFwR','startDate','removeRevision','localizedPeriodName','revisionViews','32307GBZVlt','delegate','createCollection','ck-revision-history-sidebar__time-period__label','uiLanguage','1947170LraLSi'];_0x3068=function(){return _0xbdbe56;};return _0x3068();}function _0x59b1(_0x20caf8,_0x52552c){const _0x306809=_0x3068();return _0x59b1=function(_0x59b150,_0x3b69ae){_0x59b150=_0x59b150-0x1e5;let _0x374831=_0x306809[_0x59b150];return _0x374831;},_0x59b1(_0x20caf8,_0x52552c);}(function(_0x2b2017,_0x22f2c3){const _0x16b3ae=_0x59b1,_0x2ebff7=_0x2b2017();while(!![]){try{const _0x2e7870=-parseInt(_0x16b3ae(0x1f3))/0x1+-parseInt(_0x16b3ae(0x1ea))/0x2*(parseInt(_0x16b3ae(0x1fc))/0x3)+-parseInt(_0x16b3ae(0x1f5))/0x4+-parseInt(_0x16b3ae(0x201))/0x5+parseInt(_0x16b3ae(0x1f7))/0x6+-parseInt(_0x16b3ae(0x1f1))/0x7*(parseInt(_0x16b3ae(0x203))/0x8)+parseInt(_0x16b3ae(0x1f0))/0x9;if(_0x2e7870===_0x22f2c3)break;else _0x2ebff7['push'](_0x2ebff7['shift']());}catch(_0x289a95){_0x2ebff7['push'](_0x2ebff7['shift']());}}}(_0x3068,0x81186));import{View as _0x3c8a2}from'ckeditor5/src/ui.js';import{RevisionView as _0x14cd4f}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x2bbc4e}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x3c8a2{[_0x4f20ef(0x1f8)];[_0x4f20ef(0x1fb)];[_0x4f20ef(0x1ec)];[_0x4f20ef(0x1e7)];constructor(_0xb54f60,_0x4a8057,_0x25680f,_0x3fd415){const _0xd8049d=_0x4f20ef;super(_0xb54f60);const _0x1ca1d1=_0x2bbc4e(_0x4a8057,this[_0xd8049d(0x1e8)][_0xd8049d(0x200)])[_0xd8049d(0x1fa)];this[_0xd8049d(0x1f8)]=_0x4a8057,this[_0xd8049d(0x1fb)]=this[_0xd8049d(0x1fe)](),this[_0xd8049d(0x1ec)]=_0x25680f,this[_0xd8049d(0x1e7)]=_0x3fd415,this[_0xd8049d(0x1fb)][_0xd8049d(0x1fd)](_0xd8049d(0x1e9))['to'](this),this[_0xd8049d(0x1fb)][_0xd8049d(0x1fd)](_0xd8049d(0x1eb))['to'](this),this[_0xd8049d(0x1f6)]({'tag':_0xd8049d(0x1f2),'attributes':{'class':['ck',_0xd8049d(0x1ed)]},'children':[{'tag':_0xd8049d(0x1e6),'attributes':{'class':['ck',_0xd8049d(0x1ff)]},'children':[{'text':_0x1ca1d1}]},{'tag':_0xd8049d(0x1f2),'attributes':{'class':['ck',_0xd8049d(0x1ee)]},'children':this[_0xd8049d(0x1fb)]}]});}[_0x4f20ef(0x1ef)](_0x9f8fa4){const _0xe84204=_0x4f20ef,_0x403a45=new _0x14cd4f(this[_0xe84204(0x1e8)],_0x9f8fa4,this[_0xe84204(0x1ec)],this[_0xe84204(0x1e7)]);this[_0xe84204(0x1fb)][_0xe84204(0x1f4)](_0x403a45);}[_0x4f20ef(0x1f9)](_0xd990dd){const _0x5156a8=_0x4f20ef,_0x15cad0=this[_0x5156a8(0x1fb)][_0x5156a8(0x202)](_0x466dcc=>_0x466dcc['id']===_0xd990dd['id']);this[_0x5156a8(0x1fb)][_0x5156a8(0x1e5)](_0x15cad0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xda8321=_0x1a47;(function(_0x381d05,_0x51abd3){const _0x5b0de4=_0x1a47,_0x366ae1=_0x381d05();while(!![]){try{const _0x103141=-parseInt(_0x5b0de4(0x95))/0x1*(parseInt(_0x5b0de4(0x87))/0x2)+parseInt(_0x5b0de4(0xa9))/0x3+parseInt(_0x5b0de4(0x81))/0x4+parseInt(_0x5b0de4(0x8b))/0x5+parseInt(_0x5b0de4(0x9b))/0x6+-parseInt(_0x5b0de4(0x8e))/0x7+-parseInt(_0x5b0de4(0x98))/0x8;if(_0x103141===_0x51abd3)break;else _0x366ae1['push'](_0x366ae1['shift']());}catch(_0x80ff34){_0x366ae1['push'](_0x366ae1['shift']());}}}(_0x51a1,0xf19e8));import{View as _0x216b7a}from'ckeditor5/src/ui.js';function _0x51a1(){const _0x2c1c88=['set','flat','setName','div','_revisionActions','selectRevision','bindTemplate','removeRevision','revisionViews','remove','some','add','uiLanguage','5074710xkArdg','ck-rounded-corners','unhighlight','revisionSelected','_removeRevision','ck-revision-history-sidebar','ck-disabled','setTemplate','ck-revision-history-sidebar__timeline','_revisions','_requireRevisionName','locale','_addRevision','4860984dWZvaY','highlightRevisions','revisionSetName','_getTimePeriodViewByStartDate','select','fire','2591444PPYYim','render','timePeriodViews','delegate','6725505yUuVeE','createCollection','highlight','3843035KsQqSN','map','createdAt','getTime','find','addRevision','ck-reset','1QNWimn','deselect','isEnabled','21695296bYfAII','get','startDate','7766364LmOYXh'];_0x51a1=function(){return _0x2c1c88;};return _0x51a1();}import{RevisionsSidebarTimePeriodView as _0x4edfdd}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x319498}from'./revisionssidebarheaderview.js';function _0x1a47(_0x562d8d,_0x5e7ed1){const _0x51a1d7=_0x51a1();return _0x1a47=function(_0x1a47d3,_0x181c8a){_0x1a47d3=_0x1a47d3-0x78;let _0x7bdbdf=_0x51a1d7[_0x1a47d3];return _0x7bdbdf;},_0x1a47(_0x562d8d,_0x5e7ed1);}import{getDateTimePeriodInfo as _0x518423}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x216b7a{[_0xda8321(0x89)];[_0xda8321(0x7d)];[_0xda8321(0xa0)];[_0xda8321(0x7e)];constructor(_0x5b210d,_0x25caba,_0x1c1592,_0xcff381){const _0x25b89c=_0xda8321;super(_0x5b210d);const _0xcc2bfc=this[_0x25b89c(0xa2)];this[_0x25b89c(0x89)]=this[_0x25b89c(0x8c)](),this[_0x25b89c(0x89)][_0x25b89c(0x8a)](_0x25b89c(0x85))['to'](this),this[_0x25b89c(0x89)][_0x25b89c(0x8a)](_0x25b89c(0x9e))['to'](this),this[_0x25b89c(0x7d)]=_0x25caba,this[_0x25b89c(0xa0)]=_0x1c1592,this[_0x25b89c(0x7e)]=_0xcff381,this['on'](_0x25b89c(0x85),(_0x412a5b,_0x1a95a1)=>{const _0x2832bc=_0x25b89c;this[_0x2832bc(0x86)](_0x2832bc(0xac),_0x1a95a1);}),this['on'](_0x25b89c(0x9e),(_0x3d01bc,_0x2df112)=>{const _0x324755=_0x25b89c;this[_0x324755(0x86)](_0x324755(0x83),_0x2df112);}),this[_0x25b89c(0x9c)](_0x25b89c(0x97),!0x1),this[_0x25b89c(0x7b)]({'tag':_0x25b89c(0x9f),'attributes':{'class':['ck',_0x25b89c(0x94),_0x25b89c(0xaa),_0x25b89c(0x79)]},'children':[new _0x319498(_0x5b210d),{'tag':_0x25b89c(0x9f),'attributes':{'class':['ck',_0x25b89c(0x7c),_0xcc2bfc['if'](_0x25b89c(0x97),_0x25b89c(0x7a),_0x33c511=>!_0x33c511)]},'children':this[_0x25b89c(0x89)]}]});}[_0xda8321(0x88)](){const _0x4c37ff=_0xda8321;super[_0x4c37ff(0x88)]();for(const _0x4e5928 of this[_0x4c37ff(0x7d)])this[_0x4c37ff(0x80)](_0x4e5928);this[_0x4c37ff(0x7d)]['on'](_0x4c37ff(0xa7),(_0x445b9e,_0x29fff1)=>{const _0x59a03c=_0x4c37ff;this[_0x59a03c(0x80)](_0x29fff1);}),this[_0x4c37ff(0x7d)]['on'](_0x4c37ff(0xa5),(_0x45081f,_0x4c3fa1)=>{const _0x5b6215=_0x4c37ff;this[_0x5b6215(0x78)](_0x4c3fa1);});}get[_0xda8321(0xa4)](){const _0x3455fe=_0xda8321;return this[_0x3455fe(0x89)][_0x3455fe(0x8f)](_0x42092e=>_0x42092e[_0x3455fe(0xa4)][_0x3455fe(0x8f)](_0x45c1af=>_0x45c1af))[_0x3455fe(0x9d)]();}[_0xda8321(0xa1)](_0x54578d){const _0x140ee5=_0xda8321;for(const _0x47a12f of this[_0x140ee5(0xa4)])_0x54578d&&_0x54578d['id']===_0x47a12f['id']?_0x47a12f[_0x140ee5(0x85)]():_0x47a12f[_0x140ee5(0x96)]();}[_0xda8321(0x82)](_0x483d02){const _0x543bb3=_0xda8321;for(const _0x2eb8c4 of this[_0x543bb3(0xa4)])_0x483d02[_0x543bb3(0xa6)](({id:_0x58837})=>_0x58837===_0x2eb8c4['id'])?_0x2eb8c4[_0x543bb3(0x8d)]():_0x2eb8c4[_0x543bb3(0xab)]();}[_0xda8321(0x80)](_0x5ca7cc){const _0x485b99=_0xda8321,_0x28195a=_0x518423(_0x5ca7cc[_0x485b99(0x90)],this[_0x485b99(0x7f)][_0x485b99(0xa8)])[_0x485b99(0x9a)];let _0x54ce7b=this[_0x485b99(0x89)][_0x485b99(0x99)](0x0);_0x54ce7b&&_0x54ce7b[_0x485b99(0x9a)][_0x485b99(0x91)]()===_0x28195a[_0x485b99(0x91)]()||(_0x54ce7b=new _0x4edfdd(this[_0x485b99(0x7f)],_0x28195a,this[_0x485b99(0xa0)],this[_0x485b99(0x7e)]),this[_0x485b99(0x89)][_0x485b99(0xa7)](_0x54ce7b)),_0x54ce7b[_0x485b99(0x93)](_0x5ca7cc);}[_0xda8321(0x78)](_0x40cf56){const _0x40624b=_0xda8321,_0x390dbc=_0x518423(_0x40cf56[_0x40624b(0x90)],this[_0x40624b(0x7f)][_0x40624b(0xa8)])[_0x40624b(0x9a)];this[_0x40624b(0x84)](_0x390dbc)[_0x40624b(0xa3)](_0x40cf56);}[_0xda8321(0x84)](_0x348e76){const _0x5241c2=_0xda8321;return this[_0x5241c2(0x89)][_0x5241c2(0x92)](_0x28030a=>_0x28030a[_0x5241c2(0x9a)][_0x5241c2(0x91)]()===_0x348e76[_0x5241c2(0x91)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x284dfb=_0x4edc;(function(_0x22e258,_0x2dba71){const _0x318aba=_0x4edc,_0x1c260b=_0x22e258();while(!![]){try{const _0x51ca96=-parseInt(_0x318aba(0x17b))/0x1+parseInt(_0x318aba(0x190))/0x2*(-parseInt(_0x318aba(0x17e))/0x3)+parseInt(_0x318aba(0x17c))/0x4+-parseInt(_0x318aba(0x173))/0x5*(parseInt(_0x318aba(0x179))/0x6)+parseInt(_0x318aba(0x175))/0x7*(-parseInt(_0x318aba(0x188))/0x8)+parseInt(_0x318aba(0x172))/0x9*(-parseInt(_0x318aba(0x185))/0xa)+-parseInt(_0x318aba(0x171))/0xb*(-parseInt(_0x318aba(0x18c))/0xc);if(_0x51ca96===_0x2dba71)break;else _0x1c260b['push'](_0x1c260b['shift']());}catch(_0x2a67af){_0x1c260b['push'](_0x1c260b['shift']());}}}(_0x53a0,0xc1cea));function _0x4edc(_0x31321e,_0x29fbd4){const _0x53a01b=_0x53a0();return _0x4edc=function(_0x4edcbf,_0x2eef57){_0x4edcbf=_0x4edcbf-0x16f;let _0x367cd5=_0x53a01b[_0x4edcbf];return _0x367cd5;},_0x4edc(_0x31321e,_0x29fbd4);}function _0x53a0(){const _0x317717=['Suggested\x20by','span','isSuggestion','focus','6844430UoSXem','type','div','8abteDy','set','data','Added\x20by','24JzupvF','name','setTemplate','ck-revision-change__label','1277798TFqyEB','bindTemplate','add','26895902AiCgjc','18ocxplL','3381475DcZVSJ','changeId','2432332hOTdrV','_model','element','ck-revision-change','6TRfCPE','Removed\x20by','1239772yHlNIi','699992IIfkBI','ck-revision-change__','3VnzFet','author','ck-annotation'];_0x53a0=function(){return _0x317717;};return _0x53a0();}import{View as _0x23e202}from'ckeditor5/src/ui.js';import{getTranslation as _0x1a1c5c}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x23e202{[_0x284dfb(0x174)];[_0x284dfb(0x176)];constructor(_0x2e8f69,_0x5d9b8a){const _0x261d8a=_0x284dfb;super(_0x2e8f69),this[_0x261d8a(0x176)]=_0x5d9b8a,this[_0x261d8a(0x174)]=_0x5d9b8a['id'];const _0x468357=this[_0x261d8a(0x16f)],_0x2270dc=_0x1a1c5c(_0x2e8f69,_0x5d9b8a[_0x261d8a(0x18a)][_0x261d8a(0x183)]?_0x261d8a(0x181):_0x261d8a(0x170)==_0x5d9b8a[_0x261d8a(0x186)]?_0x261d8a(0x18b):_0x261d8a(0x17a));this[_0x261d8a(0x189)](_0x261d8a(0x186),_0x5d9b8a[_0x261d8a(0x186)]),this[_0x261d8a(0x18e)]({'tag':_0x261d8a(0x187),'attributes':{'class':[_0x261d8a(0x180),_0x261d8a(0x178),_0x468357['to'](_0x261d8a(0x186),_0x537527=>_0x261d8a(0x17d)+_0x537527)],'tabindex':-0x1},'children':[{'tag':_0x261d8a(0x182),'children':[{'tag':_0x261d8a(0x182),'attributes':{'class':[_0x261d8a(0x18f)]},'children':[{'text':_0x2270dc}]},{'text':'\x20'+_0x5d9b8a[_0x261d8a(0x17f)][_0x261d8a(0x18d)]}]}]});}[_0x284dfb(0x184)](){const _0x5ed79d=_0x284dfb;this[_0x5ed79d(0x177)][_0x5ed79d(0x184)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2c08e3,_0x459c39){const _0x5dc015=_0x1590,_0x13f9c3=_0x2c08e3();while(!![]){try{const _0x1faab7=parseInt(_0x5dc015(0x1be))/0x1+-parseInt(_0x5dc015(0x1b3))/0x2*(parseInt(_0x5dc015(0x1c6))/0x3)+-parseInt(_0x5dc015(0x1c4))/0x4+parseInt(_0x5dc015(0x1c5))/0x5+parseInt(_0x5dc015(0x1cc))/0x6*(parseInt(_0x5dc015(0x1bd))/0x7)+parseInt(_0x5dc015(0x1d6))/0x8*(-parseInt(_0x5dc015(0x1db))/0x9)+-parseInt(_0x5dc015(0x1d1))/0xa*(-parseInt(_0x5dc015(0x1d0))/0xb);if(_0x1faab7===_0x459c39)break;else _0x13f9c3['push'](_0x13f9c3['shift']());}catch(_0x17e4c7){_0x13f9c3['push'](_0x13f9c3['shift']());}}}(_0x56c5,0x1de0d));import{View as _0x10b71d,ButtonView as _0x42f493,ToolbarSeparatorView as _0x320c53}from'ckeditor5/src/ui.js';function _0x1590(_0x425397,_0x2a0d19){const _0x56c5ca=_0x56c5();return _0x1590=function(_0x1590bd,_0x4012ac){_0x1590bd=_0x1590bd-0x1b2;let _0x2cd9d3=_0x56c5ca[_0x1590bd];return _0x2cd9d3;},_0x1590(_0x425397,_0x2a0d19);}import{IconChevronUp as _0x4a991c,IconChevronDown as _0x205bd9}from'ckeditor5/src/icons.js';import{getTranslation as _0x1a66cc}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';function _0x56c5(){const _0x1de88a=['setTemplate','ck-revision-history-ui__changes-navigation__wrapper','_isStatusLabelVisible','isBackwardNavigationEnabled','765704KiRqiv','280900IObOcm','3WdIufW','div','X_OF_Y_CHANGES','Show\x20next\x20change','bind','ck-revision-history-ui__changes-navigation__navigation','66wCPxge','forward','span','numberOfChanges','5423cOvWni','5140rEbJXL','fire','ck-revision-history-ui','Loading...','isEnabled','1952RInTIM','ck-hidden','EDIT_X_OF_Y_REVISIONS','currentChangeNumber','ck-revision-history-ui__changes-navigation__label','4869OLHKva','isForwardNavigationEnabled','isReady','Total','193410KORHiQ','backward','execute','set','isNavigationMode','No\x20changes','_statusText','bindTemplate','Show\x20previous\x20change','ck-revision-history-ui__changes-navigation','58562dCPQDG','140908hAZCzL','NUMBER_OF_CHANGES'];_0x56c5=function(){return _0x1de88a;};return _0x56c5();}export class ChangesNavigationView extends _0x10b71d{constructor(_0x20519b){const _0x13624c=_0x1590;super(_0x20519b);const _0x1adafc=this[_0x13624c(0x1ba)],_0x1a4035=new _0x42f493(_0x20519b),_0x40af86=new _0x42f493(_0x20519b);this[_0x13624c(0x1b6)](_0x13624c(0x1b7),!0x1),this[_0x13624c(0x1b6)](_0x13624c(0x1dd),!0x1),this[_0x13624c(0x1b6)](_0x13624c(0x1d9),0x0),this[_0x13624c(0x1b6)](_0x13624c(0x1cf),0x0),this[_0x13624c(0x1b6)](_0x13624c(0x1dc),!0x1),this[_0x13624c(0x1b6)](_0x13624c(0x1c3),!0x1),this[_0x13624c(0x1ca)](_0x13624c(0x1c2))['to'](this,_0x13624c(0x1dd),this,_0x13624c(0x1cf),(_0x37af05,_0xb2a27c)=>_0x37af05&&_0xb2a27c>0x0),this[_0x13624c(0x1ca)](_0x13624c(0x1b9))['to'](this,_0x13624c(0x1dd),this,_0x13624c(0x1d9),this,_0x13624c(0x1cf),this,_0x13624c(0x1b7),(_0x468635,_0x364819,_0x1a32e4,_0x349c2c)=>{const _0x5d154f=_0x13624c;if(!_0x468635)return _0x1a66cc(_0x20519b,_0x5d154f(0x1d4));if(!_0x1a32e4)return _0x1a66cc(_0x20519b,_0x5d154f(0x1b8));const _0x504140=_0x1a66cc(_0x20519b,_0x5d154f(0x1bf),_0x1a32e4);return _0x349c2c?_0x1a66cc(_0x20519b,_0x5d154f(0x1c8),[_0x364819+0x1,_0x1a32e4]):_0x504140;}),_0x1a4035[_0x13624c(0x1b6)]({'label':_0x1a66cc(_0x20519b,_0x13624c(0x1bb)),'tooltip':!0x0,'icon':_0x4a991c}),_0x40af86[_0x13624c(0x1b6)]({'label':_0x1a66cc(_0x20519b,_0x13624c(0x1c9)),'tooltip':!0x0,'icon':_0x205bd9}),_0x1a4035[_0x13624c(0x1ca)](_0x13624c(0x1d5))['to'](this,_0x13624c(0x1c3)),_0x40af86[_0x13624c(0x1ca)](_0x13624c(0x1d5))['to'](this,_0x13624c(0x1dc)),_0x1a4035['on'](_0x13624c(0x1b5),()=>this[_0x13624c(0x1d2)](_0x13624c(0x1b5),_0x13624c(0x1b4))),_0x40af86['on'](_0x13624c(0x1b5),()=>this[_0x13624c(0x1d2)](_0x13624c(0x1b5),_0x13624c(0x1cd))),this[_0x13624c(0x1c0)]({'tag':_0x13624c(0x1c7),'attributes':{'class':['ck',_0x13624c(0x1d3),_0x13624c(0x1bc)]},'children':[{'tag':_0x13624c(0x1ce),'attributes':{'class':[_0x13624c(0x1c1)]},'children':[{'tag':_0x13624c(0x1ce),'attributes':{'class':[_0x13624c(0x1da),_0x1adafc['if'](_0x13624c(0x1c2),_0x13624c(0x1d7),_0x163b66=>!_0x163b66)]},'children':[{'text':_0x1adafc['to'](_0x13624c(0x1b7),_0x2b266d=>_0x2b266d?_0x1a66cc(_0x20519b,_0x13624c(0x1d8))+':\x20':_0x1a66cc(_0x20519b,_0x13624c(0x1b2))+':\x20')}]},{'text':_0x1adafc['to'](_0x13624c(0x1b9))}]},new _0x320c53(),{'tag':_0x13624c(0x1c7),'attributes':{'class':[_0x13624c(0x1cb)]},'children':[_0x1a4035,_0x40af86]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1215(_0x3b0eb1,_0x533467){const _0x31f7f8=_0x31f7();return _0x1215=function(_0x12154b,_0x51bebd){_0x12154b=_0x12154b-0x70;let _0x120416=_0x31f7f8[_0x12154b];return _0x120416;},_0x1215(_0x3b0eb1,_0x533467);}const _0x550213=_0x1215;function _0x31f7(){const _0x971b8c=['17628jxiWOo','hide','change','20Nhojiq','roots','1686FuenNk','pluginName','7SupEfd','RevisionViewerLoadingOverlay','939752MCJYzk','isPremiumPlugin','1582165SGIyKZ','view','320YhXRsb','6FPzWrd','1400CtciWz','ck-editor__editable__loading-overlay','editor','115686AgUxMs','removeClass','isOfficialPlugin','198820vMLUoI','editing','show','addClass','document','31805XjLjXf','2002qKPpbF'];_0x31f7=function(){return _0x971b8c;};return _0x31f7();}(function(_0x18f77d,_0x4ba8d0){const _0x357e66=_0x1215,_0x45a84e=_0x18f77d();while(!![]){try{const _0x3ad383=-parseInt(_0x357e66(0x7f))/0x1*(-parseInt(_0x357e66(0x84))/0x2)+-parseInt(_0x357e66(0x73))/0x3*(parseInt(_0x357e66(0x7a))/0x4)+parseInt(_0x357e66(0x74))/0x5*(-parseInt(_0x357e66(0x86))/0x6)+-parseInt(_0x357e66(0x88))/0x7*(-parseInt(_0x357e66(0x8a))/0x8)+-parseInt(_0x357e66(0x77))/0x9*(parseInt(_0x357e66(0x72))/0xa)+-parseInt(_0x357e66(0x80))/0xb*(-parseInt(_0x357e66(0x81))/0xc)+parseInt(_0x357e66(0x70))/0xd;if(_0x3ad383===_0x4ba8d0)break;else _0x45a84e['push'](_0x45a84e['shift']());}catch(_0x3a250e){_0x45a84e['push'](_0x45a84e['shift']());}}}(_0x31f7,0x3969c));import{Plugin as _0x3175a8}from'ckeditor5/src/core.js';const oe=_0x550213(0x75);import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0x3175a8{static get[_0x550213(0x87)](){const _0x3566fc=_0x550213;return _0x3566fc(0x89);}static get[_0x550213(0x79)](){return!0x0;}static get[_0x550213(0x8b)](){return!0x0;}[_0x550213(0x7c)](){const _0x1d8ea5=_0x550213,_0x31cd85=this[_0x1d8ea5(0x76)][_0x1d8ea5(0x7b)][_0x1d8ea5(0x71)];_0x31cd85[_0x1d8ea5(0x83)](_0x55c62e=>{const _0x507dd9=_0x1d8ea5;for(const _0x5352d8 of _0x31cd85[_0x507dd9(0x7e)][_0x507dd9(0x85)])_0x55c62e[_0x507dd9(0x7d)](oe,_0x5352d8);});}[_0x550213(0x82)](){const _0xdebac8=_0x550213,_0x2a02cc=this[_0xdebac8(0x76)][_0xdebac8(0x7b)][_0xdebac8(0x71)];_0x2a02cc[_0xdebac8(0x83)](_0x1faf2a=>{const _0x34769f=_0xdebac8;for(const _0x137131 of _0x2a02cc[_0x34769f(0x7e)][_0x34769f(0x85)])_0x1faf2a[_0x34769f(0x78)](oe,_0x137131);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15c37a=_0x2ebe;function _0x2ebe(_0x41cd9f,_0x3a2326){const _0x49ae80=_0x49ae();return _0x2ebe=function(_0x2ebeb3,_0x36378f){_0x2ebeb3=_0x2ebeb3-0x179;let _0x31908e=_0x49ae80[_0x2ebeb3];return _0x31908e;},_0x2ebe(_0x41cd9f,_0x3a2326);}(function(_0x1db97c,_0x2c7776){const _0x2075d4=_0x2ebe,_0x1efd51=_0x1db97c();while(!![]){try{const _0x5d29c3=parseInt(_0x2075d4(0x17f))/0x1+-parseInt(_0x2075d4(0x19d))/0x2*(-parseInt(_0x2075d4(0x199))/0x3)+parseInt(_0x2075d4(0x1ab))/0x4*(parseInt(_0x2075d4(0x17e))/0x5)+-parseInt(_0x2075d4(0x18d))/0x6*(parseInt(_0x2075d4(0x180))/0x7)+parseInt(_0x2075d4(0x18e))/0x8*(-parseInt(_0x2075d4(0x1a9))/0x9)+-parseInt(_0x2075d4(0x19c))/0xa*(-parseInt(_0x2075d4(0x1a1))/0xb)+-parseInt(_0x2075d4(0x198))/0xc*(parseInt(_0x2075d4(0x190))/0xd);if(_0x5d29c3===_0x2c7776)break;else _0x1efd51['push'](_0x1efd51['shift']());}catch(_0x1b9dc9){_0x1efd51['push'](_0x1efd51['shift']());}}}(_0x49ae,0x3b060));import{Plugin as _0x234834}from'ckeditor5/src/core.js';import{ButtonView as _0x4b46ed}from'ckeditor5/src/ui.js';import{IconUndo as _0x209249}from'ckeditor5/src/icons.js';function _0x49ae(){const _0x87c53b=['40742TCOVLB','RevisionViewerUI','commands','isNavigationMode','config','add','isEnabled','hide','1212IGQGew','1201884CmQCFW','isForwardNavigationEnabled','Back\x20to\x20editing','460HnjFxv','2hhSZrq','pluginName','change:isReady','init','76417yIPBjv','bind','closeRevisionViewerCallback','show','ck-revision-history-ui__back-to-editing','isOfficialPlugin','showPreviousChange','numberOfChanges','18USORNV','componentFactory','8776yiyxfZ','forward','get','changesNavigation','Restore\x20this\x20revision','listenTo','185CksOoa','9766QntrVi','17010IPDTwg','isReady','showNextChange','set','editor','execute','isBackwardNavigationEnabled','restoreRevision','plugins','currentChangeNumber','isPremiumPlugin','revisionHistory','exitToEditing','84pPNNfn','875280WItLQV','requires'];_0x49ae=function(){return _0x87c53b;};return _0x49ae();}import{ChangesNavigationView as _0x5741a3}from'./changesnavigationview.js';import{RevisionViewer as _0x179275}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x301d0e}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x571601}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x234834{static get[_0x15c37a(0x19e)](){const _0x58532d=_0x15c37a;return _0x58532d(0x191);}static get[_0x15c37a(0x1a6)](){return!0x0;}static get[_0x15c37a(0x18a)](){return!0x0;}static get[_0x15c37a(0x18f)](){return[_0x179275,_0x301d0e];}[_0x15c37a(0x1a0)](){const _0x4a614e=_0x15c37a,_0x102072=this[_0x4a614e(0x184)],_0x364e94=_0x102072[_0x4a614e(0x188)][_0x4a614e(0x17a)](_0x179275),_0x33dcf2=_0x102072[_0x4a614e(0x188)][_0x4a614e(0x17a)](_0x301d0e);_0x102072['ui'][_0x4a614e(0x1aa)][_0x4a614e(0x195)](_0x4a614e(0x18c),_0x450e9d=>{const _0x546025=_0x4a614e,_0xacb59c=new _0x4b46ed(_0x450e9d);return _0xacb59c[_0x546025(0x183)]({'label':_0x571601(_0x450e9d,_0x546025(0x19b)),'icon':_0x209249,'withText':!0x0,'tooltip':!0x0,'class':_0x546025(0x1a5)}),this[_0x546025(0x17d)](_0xacb59c,_0x546025(0x185),()=>{const _0x51b358=_0x546025;_0x102072[_0x51b358(0x194)][_0x51b358(0x17a)](_0x51b358(0x18b))[_0x51b358(0x1a3)]();}),_0xacb59c;}),_0x102072['ui'][_0x4a614e(0x1aa)][_0x4a614e(0x195)](_0x4a614e(0x187),_0x4d0f9b=>{const _0x18f7ad=_0x4a614e,_0x4908e4=new _0x4b46ed(_0x4d0f9b);return _0x4908e4[_0x18f7ad(0x183)]({'label':_0x571601(_0x4d0f9b,_0x18f7ad(0x17c)),'withText':!0x0,'tooltip':!0x0}),_0x4908e4[_0x18f7ad(0x1a2)](_0x18f7ad(0x196))['to'](_0x102072[_0x18f7ad(0x192)][_0x18f7ad(0x17a)](_0x18f7ad(0x187))),this[_0x18f7ad(0x17d)](_0x4908e4,_0x18f7ad(0x185),()=>_0x102072[_0x18f7ad(0x185)](_0x18f7ad(0x187))),_0x4908e4;}),_0x102072['ui'][_0x4a614e(0x1aa)][_0x4a614e(0x195)](_0x4a614e(0x17b),_0x16cb49=>{const _0x196219=_0x4a614e,_0x49bf2f=new _0x5741a3(_0x16cb49),_0x314c44=_0x102072[_0x196219(0x192)][_0x196219(0x17a)](_0x196219(0x1a7)),_0xc2de23=_0x102072[_0x196219(0x192)][_0x196219(0x17a)](_0x196219(0x182));return _0x49bf2f[_0x196219(0x1a2)](_0x196219(0x186))['to'](_0x314c44,_0x196219(0x196)),_0x49bf2f[_0x196219(0x1a2)](_0x196219(0x19a))['to'](_0xc2de23,_0x196219(0x196)),_0x49bf2f[_0x196219(0x1a2)](_0x196219(0x181),_0x196219(0x189),_0x196219(0x1a8),_0x196219(0x193))['to'](_0x364e94),this[_0x196219(0x17d)](_0x49bf2f,_0x196219(0x185),(_0x440cbf,_0x2691a5)=>{const _0x5286ca=_0x196219;_0x102072[_0x5286ca(0x185)](_0x5286ca(0x179)===_0x2691a5?_0x5286ca(0x182):_0x5286ca(0x1a7));}),_0x49bf2f;}),_0x33dcf2[_0x4a614e(0x1a4)](),_0x364e94['on'](_0x4a614e(0x19f),(_0x28f247,_0x43bb62,_0x26fcb3)=>{const _0x526e7a=_0x4a614e;_0x26fcb3?_0x33dcf2[_0x526e7a(0x197)]():_0x33dcf2[_0x526e7a(0x1a4)]();});}}
|