@ckeditor/ckeditor5-revision-history 47.4.0-alpha.2 → 47.4.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/package.json +12 -12
- 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/revisionviewerui.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x12e8(){const _0x47554f=['7WfrLzs','2DFkgcR','setTemplate','3537490JwTZjs','ck-revision-history-sidebar__header','Revision\x20history','195zcRUYQ','ck-revision-history-sidebar__header__label','ck-reset_all','33uNJJIm','906667zJtvRD','6202074mEtkUO','span','4131040MlkpZL','52074wnXXeF','div','content','19196VRcqHX','1694568rlvhUG','512ZCCugt'];_0x12e8=function(){return _0x47554f;};return _0x12e8();}(function(_0x2d6440,_0x67fdda){const _0x4a305f=_0x58e6,_0x2be737=_0x2d6440();while(!![]){try{const _0x15a6cb=parseInt(_0x4a305f(0x179))/0x1*(-parseInt(_0x4a305f(0x170))/0x2)+-parseInt(_0x4a305f(0x175))/0x3*(parseInt(_0x4a305f(0x16c))/0x4)+-parseInt(_0x4a305f(0x17c))/0x5+-parseInt(_0x4a305f(0x17a))/0x6*(-parseInt(_0x4a305f(0x16f))/0x7)+-parseInt(_0x4a305f(0x16e))/0x8*(-parseInt(_0x4a305f(0x17d))/0x9)+parseInt(_0x4a305f(0x172))/0xa*(parseInt(_0x4a305f(0x178))/0xb)+parseInt(_0x4a305f(0x16d))/0xc;if(_0x15a6cb===_0x67fdda)break;else _0x2be737['push'](_0x2be737['shift']());}catch(_0x407be0){_0x2be737['push'](_0x2be737['shift']());}}}(_0x12e8,0x891e2));import{View as _0x5d4766,IconView as _0xd80353}from'ckeditor5/src/ui.js';import{getTranslation as _0x428b19}from'../../utils/common-translations.js';import{IconHistory as _0x1a45d3}from'ckeditor5/src/icons.js';function _0x58e6(_0xb2a14f,_0x306fb7){const _0x12e82b=_0x12e8();return _0x58e6=function(_0x58e60f,_0x33a712){_0x58e60f=_0x58e60f-0x16a;let _0x10203c=_0x12e82b[_0x58e60f];return _0x10203c;},_0x58e6(_0xb2a14f,_0x306fb7);}import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x5d4766{constructor(_0x2feb8c){const _0x113db8=_0x58e6;super(_0x2feb8c);const _0x30c40b=new _0xd80353();_0x30c40b[_0x113db8(0x16b)]=_0x1a45d3,this[_0x113db8(0x171)]({'tag':_0x113db8(0x16a),'attributes':{'class':['ck',_0x113db8(0x177),_0x113db8(0x173)]},'children':[_0x30c40b,{'tag':_0x113db8(0x17b),'attributes':{'class':['ck',_0x113db8(0x176)]},'children':[_0x428b19(_0x2feb8c,_0x113db8(0x174))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x28bc(){const _0x1c0459=['44ZhHssv','span','28696sHBccZ','locale','228627nZSiRp','154992KmOPef','_requireRevisionName','delegate','createCollection','186738KlmfsI','find','add','removeRevision','1793CYzrGW','944Yshhlk','ck-revision-history-sidebar__time-period__label','ck-revision-history-sidebar__time-period','42NTrjaY','19752KEiAIg','setTemplate','uiLanguage','4555OJEWwB','select','_revisionActions','171SJXhdL','ck-revision-history-sidebar__time-period__revisions','addRevision','setName','div','revisionViews','startDate','localizedPeriodName','remove','9970oqsopg'];_0x28bc=function(){return _0x1c0459;};return _0x28bc();}function _0x2779(_0x2812a8,_0x19edf8){const _0x28bc8d=_0x28bc();return _0x2779=function(_0x277942,_0x2468c0){_0x277942=_0x277942-0x102;let _0x10d567=_0x28bc8d[_0x277942];return _0x10d567;},_0x2779(_0x2812a8,_0x19edf8);}const _0x5a76b8=_0x2779;(function(_0x24d1d6,_0x51532c){const _0x4f2534=_0x2779,_0x2967b6=_0x24d1d6();while(!![]){try{const _0x2cd274=-parseInt(_0x4f2534(0x11a))/0x1+-parseInt(_0x4f2534(0x116))/0x2*(-parseInt(_0x4f2534(0x106))/0x3)+parseInt(_0x4f2534(0x102))/0x4*(-parseInt(_0x4f2534(0x109))/0x5)+-parseInt(_0x4f2534(0x11f))/0x6*(-parseInt(_0x4f2534(0x105))/0x7)+-parseInt(_0x4f2534(0x118))/0x8*(-parseInt(_0x4f2534(0x10c))/0x9)+-parseInt(_0x4f2534(0x115))/0xa*(-parseInt(_0x4f2534(0x123))/0xb)+parseInt(_0x4f2534(0x11b))/0xc;if(_0x2cd274===_0x51532c)break;else _0x2967b6['push'](_0x2967b6['shift']());}catch(_0x21b1f8){_0x2967b6['push'](_0x2967b6['shift']());}}}(_0x28bc,0x201d7));import{View as _0x6e89bb}from'ckeditor5/src/ui.js';import{RevisionView as _0x2347f4}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x30c3aa}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x6e89bb{[_0x5a76b8(0x112)];[_0x5a76b8(0x111)];[_0x5a76b8(0x10b)];[_0x5a76b8(0x11c)];constructor(_0x121c74,_0x296756,_0xbde001,_0x56fa13){const _0x33de25=_0x5a76b8;super(_0x121c74);const _0x119aa8=_0x30c3aa(_0x296756,this[_0x33de25(0x119)][_0x33de25(0x108)])[_0x33de25(0x113)];this[_0x33de25(0x112)]=_0x296756,this[_0x33de25(0x111)]=this[_0x33de25(0x11e)](),this[_0x33de25(0x10b)]=_0xbde001,this[_0x33de25(0x11c)]=_0x56fa13,this[_0x33de25(0x111)][_0x33de25(0x11d)](_0x33de25(0x10a))['to'](this),this[_0x33de25(0x111)][_0x33de25(0x11d)](_0x33de25(0x10f))['to'](this),this[_0x33de25(0x107)]({'tag':_0x33de25(0x110),'attributes':{'class':['ck',_0x33de25(0x104)]},'children':[{'tag':_0x33de25(0x117),'attributes':{'class':['ck',_0x33de25(0x103)]},'children':[{'text':_0x119aa8}]},{'tag':_0x33de25(0x110),'attributes':{'class':['ck',_0x33de25(0x10d)]},'children':this[_0x33de25(0x111)]}]});}[_0x5a76b8(0x10e)](_0x30c18c){const _0x371226=_0x5a76b8,_0xb4ca9c=new _0x2347f4(this[_0x371226(0x119)],_0x30c18c,this[_0x371226(0x10b)],this[_0x371226(0x11c)]);this[_0x371226(0x111)][_0x371226(0x121)](_0xb4ca9c);}[_0x5a76b8(0x122)](_0xfa23){const _0x158877=_0x5a76b8,_0x4ae777=this[_0x158877(0x111)][_0x158877(0x120)](_0x9eae05=>_0x9eae05['id']===_0xfa23['id']);this[_0x158877(0x111)][_0x158877(0x114)](_0x4ae777);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9d6702=_0x1b60;(function(_0x4f5d5a,_0x2aaca0){const _0x455b51=_0x1b60,_0x54be90=_0x4f5d5a();while(!![]){try{const _0x411628=-parseInt(_0x455b51(0x93))/0x1*(parseInt(_0x455b51(0xa1))/0x2)+parseInt(_0x455b51(0x97))/0x3+parseInt(_0x455b51(0x95))/0x4*(-parseInt(_0x455b51(0x8f))/0x5)+-parseInt(_0x455b51(0xab))/0x6*(parseInt(_0x455b51(0x8b))/0x7)+parseInt(_0x455b51(0xb6))/0x8+-parseInt(_0x455b51(0xb2))/0x9*(-parseInt(_0x455b51(0x9c))/0xa)+-parseInt(_0x455b51(0x86))/0xb*(-parseInt(_0x455b51(0xa5))/0xc);if(_0x411628===_0x2aaca0)break;else _0x54be90['push'](_0x54be90['shift']());}catch(_0x442d32){_0x54be90['push'](_0x54be90['shift']());}}}(_0x1928,0x34b8b));import{View as _0x2fc8ea}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x51885d}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x4770ab}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x2e3fa8}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';function _0x1928(){const _0xcac5ac=['379972TgHznj','timePeriodViews','95943YzegbU','find','revisionViews','_getTimePeriodViewByStartDate','map','10AJcusE','delegate','startDate','ck-rounded-corners','createCollection','339364wuDGVl','select','bindTemplate','flat','12kFHWKy','removeRevision','remove','_requireRevisionName','set','setTemplate','6FHZkwo','ck-reset','highlight','get','div','_removeRevision','_revisions','511227TTCApu','addRevision','locale','add','2614544PsVimk','setName','ck-revision-history-sidebar','some','_revisionActions','getTime','render','highlightRevisions','ck-disabled','2751507cjaBJn','fire','_addRevision','deselect','revisionSelected','1295819KAdXDa','revisionSetName','ck-revision-history-sidebar__timeline','selectRevision','5npDCla','uiLanguage','createdAt','isEnabled','1DiNugp','unhighlight'];_0x1928=function(){return _0xcac5ac;};return _0x1928();}function _0x1b60(_0x38de25,_0x236deb){const _0x1928d5=_0x1928();return _0x1b60=function(_0x1b6067,_0x240e22){_0x1b6067=_0x1b6067-0x86;let _0x4ac0c1=_0x1928d5[_0x1b6067];return _0x4ac0c1;},_0x1b60(_0x38de25,_0x236deb);}export class RevisionsSidebarView extends _0x2fc8ea{[_0x9d6702(0x96)];[_0x9d6702(0xb1)];[_0x9d6702(0xba)];[_0x9d6702(0xa8)];constructor(_0x21660c,_0x537bfa,_0x3a9fa0,_0x5b7397){const _0x519eb4=_0x9d6702;super(_0x21660c);const _0x102530=this[_0x519eb4(0xa3)];this[_0x519eb4(0x96)]=this[_0x519eb4(0xa0)](),this[_0x519eb4(0x96)][_0x519eb4(0x9d)](_0x519eb4(0xa2))['to'](this),this[_0x519eb4(0x96)][_0x519eb4(0x9d)](_0x519eb4(0xb7))['to'](this),this[_0x519eb4(0xb1)]=_0x537bfa,this[_0x519eb4(0xba)]=_0x3a9fa0,this[_0x519eb4(0xa8)]=_0x5b7397,this['on'](_0x519eb4(0xa2),(_0x3c75fb,_0x18e204)=>{const _0x4b6255=_0x519eb4;this[_0x4b6255(0x87)](_0x4b6255(0x8a),_0x18e204);}),this['on'](_0x519eb4(0xb7),(_0x35814a,_0x2c0b54)=>{const _0x41167b=_0x519eb4;this[_0x41167b(0x87)](_0x41167b(0x8c),_0x2c0b54);}),this[_0x519eb4(0xa9)](_0x519eb4(0x92),!0x1),this[_0x519eb4(0xaa)]({'tag':_0x519eb4(0xaf),'attributes':{'class':['ck',_0x519eb4(0xac),_0x519eb4(0x9f),_0x519eb4(0xb8)]},'children':[new _0x4770ab(_0x21660c),{'tag':_0x519eb4(0xaf),'attributes':{'class':['ck',_0x519eb4(0x8d),_0x102530['if'](_0x519eb4(0x92),_0x519eb4(0xbe),_0x5b55df=>!_0x5b55df)]},'children':this[_0x519eb4(0x96)]}]});}[_0x9d6702(0xbc)](){const _0x2499c7=_0x9d6702;super[_0x2499c7(0xbc)]();for(const _0xe402b9 of this[_0x2499c7(0xb1)])this[_0x2499c7(0x88)](_0xe402b9);this[_0x2499c7(0xb1)]['on'](_0x2499c7(0xb5),(_0x4b23f2,_0x3ebaaa)=>{const _0x46d4b1=_0x2499c7;this[_0x46d4b1(0x88)](_0x3ebaaa);}),this[_0x2499c7(0xb1)]['on'](_0x2499c7(0xa7),(_0x1c476b,_0x4871d4)=>{const _0x23a3c8=_0x2499c7;this[_0x23a3c8(0xb0)](_0x4871d4);});}get[_0x9d6702(0x99)](){const _0x4d3070=_0x9d6702;return this[_0x4d3070(0x96)][_0x4d3070(0x9b)](_0x481a9c=>_0x481a9c[_0x4d3070(0x99)][_0x4d3070(0x9b)](_0x4f0ca4=>_0x4f0ca4))[_0x4d3070(0xa4)]();}[_0x9d6702(0x8e)](_0x275da2){const _0x116e08=_0x9d6702;for(const _0x3a96bd of this[_0x116e08(0x99)])_0x275da2&&_0x275da2['id']===_0x3a96bd['id']?_0x3a96bd[_0x116e08(0xa2)]():_0x3a96bd[_0x116e08(0x89)]();}[_0x9d6702(0xbd)](_0x13ac3f){const _0x206312=_0x9d6702;for(const _0x4ae386 of this[_0x206312(0x99)])_0x13ac3f[_0x206312(0xb9)](({id:_0x2f7c41})=>_0x2f7c41===_0x4ae386['id'])?_0x4ae386[_0x206312(0xad)]():_0x4ae386[_0x206312(0x94)]();}[_0x9d6702(0x88)](_0x3908a9){const _0x5e1498=_0x9d6702,_0xaaccb6=_0x2e3fa8(_0x3908a9[_0x5e1498(0x91)],this[_0x5e1498(0xb4)][_0x5e1498(0x90)])[_0x5e1498(0x9e)];let _0x533857=this[_0x5e1498(0x96)][_0x5e1498(0xae)](0x0);_0x533857&&_0x533857[_0x5e1498(0x9e)][_0x5e1498(0xbb)]()===_0xaaccb6[_0x5e1498(0xbb)]()||(_0x533857=new _0x51885d(this[_0x5e1498(0xb4)],_0xaaccb6,this[_0x5e1498(0xba)],this[_0x5e1498(0xa8)]),this[_0x5e1498(0x96)][_0x5e1498(0xb5)](_0x533857)),_0x533857[_0x5e1498(0xb3)](_0x3908a9);}[_0x9d6702(0xb0)](_0x4d4668){const _0x68b3ec=_0x9d6702,_0x21d5de=_0x2e3fa8(_0x4d4668[_0x68b3ec(0x91)],this[_0x68b3ec(0xb4)][_0x68b3ec(0x90)])[_0x68b3ec(0x9e)];this[_0x68b3ec(0x9a)](_0x21d5de)[_0x68b3ec(0xa6)](_0x4d4668);}[_0x9d6702(0x9a)](_0x336421){const _0x574fda=_0x9d6702;return this[_0x574fda(0x96)][_0x574fda(0x98)](_0x48cd86=>_0x48cd86[_0x574fda(0x9e)][_0x574fda(0xbb)]()===_0x336421[_0x574fda(0xbb)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x30a5ff=_0x40da;(function(_0x28ec26,_0x1ed1b7){const _0x2c02cc=_0x40da,_0x393676=_0x28ec26();while(!![]){try{const _0x4b7a92=parseInt(_0x2c02cc(0x175))/0x1+parseInt(_0x2c02cc(0x177))/0x2+-parseInt(_0x2c02cc(0x16f))/0x3+parseInt(_0x2c02cc(0x161))/0x4+parseInt(_0x2c02cc(0x16b))/0x5*(parseInt(_0x2c02cc(0x178))/0x6)+parseInt(_0x2c02cc(0x160))/0x7*(-parseInt(_0x2c02cc(0x16d))/0x8)+parseInt(_0x2c02cc(0x16c))/0x9*(-parseInt(_0x2c02cc(0x163))/0xa);if(_0x4b7a92===_0x1ed1b7)break;else _0x393676['push'](_0x393676['shift']());}catch(_0x580e88){_0x393676['push'](_0x393676['shift']());}}}(_0x2909,0x29f34));function _0x40da(_0x125c7a,_0x273df7){const _0x2909dc=_0x2909();return _0x40da=function(_0x40da49,_0x227c1f){_0x40da49=_0x40da49-0x15d;let _0x39502a=_0x2909dc[_0x40da49];return _0x39502a;},_0x40da(_0x125c7a,_0x273df7);}function _0x2909(){const _0x384e64=['Removed\x20by','author','element','data','isSuggestion','name','378kfaSSM','1038680uAJOQm','set','706710MEREcJ','_model','ck-revision-change__label','type','span','setTemplate','bindTemplate','focus','5RfizGo','9BbBtwa','13336JzNqFL','ck-revision-change__','146763vemslC','add','Suggested\x20by','Added\x20by','ck-annotation','ck-revision-change','5410GnGbQC','div','139066uoTQlA','280950TyqTdr','changeId'];_0x2909=function(){return _0x384e64;};return _0x2909();}import{View as _0x367f00}from'ckeditor5/src/ui.js';import{getTranslation as _0x7cc2da}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x367f00{[_0x30a5ff(0x179)];[_0x30a5ff(0x164)];constructor(_0x344896,_0x5b1dd5){const _0x117c31=_0x30a5ff;super(_0x344896),this[_0x117c31(0x164)]=_0x5b1dd5,this[_0x117c31(0x179)]=_0x5b1dd5['id'];const _0x204f15=this[_0x117c31(0x169)],_0x2ab2dc=_0x7cc2da(_0x344896,_0x5b1dd5[_0x117c31(0x15d)][_0x117c31(0x15e)]?_0x117c31(0x171):_0x117c31(0x170)==_0x5b1dd5[_0x117c31(0x166)]?_0x117c31(0x172):_0x117c31(0x17a));this[_0x117c31(0x162)](_0x117c31(0x166),_0x5b1dd5[_0x117c31(0x166)]),this[_0x117c31(0x168)]({'tag':_0x117c31(0x176),'attributes':{'class':[_0x117c31(0x173),_0x117c31(0x174),_0x204f15['to'](_0x117c31(0x166),_0x142538=>_0x117c31(0x16e)+_0x142538)],'tabindex':-0x1},'children':[{'tag':_0x117c31(0x167),'children':[{'tag':_0x117c31(0x167),'attributes':{'class':[_0x117c31(0x165)]},'children':[{'text':_0x2ab2dc}]},{'text':'\x20'+_0x5b1dd5[_0x117c31(0x17b)][_0x117c31(0x15f)]}]}]});}[_0x30a5ff(0x16a)](){const _0x297f9c=_0x30a5ff;this[_0x297f9c(0x17c)][_0x297f9c(0x16a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5737fa,_0x2a5597){const _0x146ddc=_0x1e01,_0xa38b26=_0x5737fa();while(!![]){try{const _0x59ccf7=-parseInt(_0x146ddc(0x13d))/0x1+-parseInt(_0x146ddc(0x148))/0x2*(parseInt(_0x146ddc(0x12f))/0x3)+-parseInt(_0x146ddc(0x14f))/0x4*(-parseInt(_0x146ddc(0x12d))/0x5)+-parseInt(_0x146ddc(0x136))/0x6+-parseInt(_0x146ddc(0x137))/0x7*(parseInt(_0x146ddc(0x124))/0x8)+parseInt(_0x146ddc(0x128))/0x9*(parseInt(_0x146ddc(0x12a))/0xa)+parseInt(_0x146ddc(0x12b))/0xb*(parseInt(_0x146ddc(0x14b))/0xc);if(_0x59ccf7===_0x2a5597)break;else _0xa38b26['push'](_0xa38b26['shift']());}catch(_0x533182){_0xa38b26['push'](_0xa38b26['shift']());}}}(_0x35e1,0x8628a));function _0x1e01(_0x585131,_0x35e3d7){const _0x35e1c5=_0x35e1();return _0x1e01=function(_0x1e01e3,_0x35134c){_0x1e01e3=_0x1e01e3-0x123;let _0x3d5b65=_0x35e1c5[_0x1e01e3];return _0x3d5b65;},_0x1e01(_0x585131,_0x35e3d7);}import{View as _0x24595c,ButtonView as _0xbf21e5,ToolbarSeparatorView as _0x22f9e7}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x494fff,IconChevronDown as _0x5f2cf0}from'ckeditor5/src/icons.js';import{getTranslation as _0x55af3f}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x24595c{constructor(_0x59d4b7){const _0x293f3d=_0x1e01;super(_0x59d4b7);const _0x5b33d0=this[_0x293f3d(0x130)],_0x25fe98=new _0xbf21e5(_0x59d4b7),_0x426b00=new _0xbf21e5(_0x59d4b7);this[_0x293f3d(0x132)](_0x293f3d(0x14a),!0x1),this[_0x293f3d(0x132)](_0x293f3d(0x129),!0x1),this[_0x293f3d(0x132)](_0x293f3d(0x123),0x0),this[_0x293f3d(0x132)](_0x293f3d(0x140),0x0),this[_0x293f3d(0x132)](_0x293f3d(0x14e),!0x1),this[_0x293f3d(0x132)](_0x293f3d(0x143),!0x1),this[_0x293f3d(0x13a)](_0x293f3d(0x138))['to'](this,_0x293f3d(0x129),this,_0x293f3d(0x140),(_0x3fe52e,_0x535ad4)=>_0x3fe52e&&_0x535ad4>0x0),this[_0x293f3d(0x13a)](_0x293f3d(0x146))['to'](this,_0x293f3d(0x129),this,_0x293f3d(0x123),this,_0x293f3d(0x140),this,_0x293f3d(0x14a),(_0x3a3971,_0x25a4b4,_0x2d6bfc,_0x2a6ad4)=>{const _0x4dea71=_0x293f3d;if(!_0x3a3971)return _0x55af3f(_0x59d4b7,_0x4dea71(0x14c));if(!_0x2d6bfc)return _0x55af3f(_0x59d4b7,_0x4dea71(0x13f));const _0x120a4e=_0x55af3f(_0x59d4b7,_0x4dea71(0x12c),_0x2d6bfc);return _0x2a6ad4?_0x55af3f(_0x59d4b7,_0x4dea71(0x13c),[_0x25a4b4+0x1,_0x2d6bfc]):_0x120a4e;}),_0x25fe98[_0x293f3d(0x132)]({'label':_0x55af3f(_0x59d4b7,_0x293f3d(0x139)),'tooltip':!0x0,'icon':_0x494fff}),_0x426b00[_0x293f3d(0x132)]({'label':_0x55af3f(_0x59d4b7,_0x293f3d(0x12e)),'tooltip':!0x0,'icon':_0x5f2cf0}),_0x25fe98[_0x293f3d(0x13a)](_0x293f3d(0x147))['to'](this,_0x293f3d(0x143)),_0x426b00[_0x293f3d(0x13a)](_0x293f3d(0x147))['to'](this,_0x293f3d(0x14e)),_0x25fe98['on'](_0x293f3d(0x144),()=>this[_0x293f3d(0x131)](_0x293f3d(0x144),_0x293f3d(0x13b))),_0x426b00['on'](_0x293f3d(0x144),()=>this[_0x293f3d(0x131)](_0x293f3d(0x144),_0x293f3d(0x13e))),this[_0x293f3d(0x14d)]({'tag':_0x293f3d(0x133),'attributes':{'class':['ck',_0x293f3d(0x141),_0x293f3d(0x125)]},'children':[{'tag':_0x293f3d(0x134),'attributes':{'class':[_0x293f3d(0x142)]},'children':[{'tag':_0x293f3d(0x134),'attributes':{'class':[_0x293f3d(0x127),_0x5b33d0['if'](_0x293f3d(0x138),_0x293f3d(0x135),_0x32d78a=>!_0x32d78a)]},'children':[{'text':_0x5b33d0['to'](_0x293f3d(0x14a),_0x5d121c=>_0x5d121c?_0x55af3f(_0x59d4b7,_0x293f3d(0x145))+':\x20':_0x55af3f(_0x59d4b7,_0x293f3d(0x126))+':\x20')}]},{'text':_0x5b33d0['to'](_0x293f3d(0x146))}]},new _0x22f9e7(),{'tag':_0x293f3d(0x133),'attributes':{'class':[_0x293f3d(0x149)]},'children':[_0x25fe98,_0x426b00]}]});}}function _0x35e1(){const _0x423187=['128416TUqTPL','ck-revision-history-ui__changes-navigation','Total','ck-revision-history-ui__changes-navigation__label','1107HOPOQK','isReady','42660mJxyUH','7073hfohJQ','NUMBER_OF_CHANGES','615vhajNp','Show\x20next\x20change','16953gobMUJ','bindTemplate','fire','set','div','span','ck-hidden','1499070QNICml','56oFltAa','_isStatusLabelVisible','Show\x20previous\x20change','bind','backward','X_OF_Y_CHANGES','1015708Bvxosm','forward','No\x20changes','numberOfChanges','ck-revision-history-ui','ck-revision-history-ui__changes-navigation__wrapper','isBackwardNavigationEnabled','execute','EDIT_X_OF_Y_REVISIONS','_statusText','isEnabled','56oASHfo','ck-revision-history-ui__changes-navigation__navigation','isNavigationMode','11496AmtekF','Loading...','setTemplate','isForwardNavigationEnabled','31252Lluwpx','currentChangeNumber'];_0x35e1=function(){return _0x423187;};return _0x35e1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe49dc7=_0x4549;(function(_0x3880b5,_0x341e14){const _0x55246a=_0x4549,_0x287934=_0x3880b5();while(!![]){try{const _0x2a18dc=parseInt(_0x55246a(0xda))/0x1*(-parseInt(_0x55246a(0xd6))/0x2)+-parseInt(_0x55246a(0xec))/0x3+-parseInt(_0x55246a(0xea))/0x4*(parseInt(_0x55246a(0xf0))/0x5)+-parseInt(_0x55246a(0xe3))/0x6*(parseInt(_0x55246a(0xd5))/0x7)+-parseInt(_0x55246a(0xdb))/0x8*(parseInt(_0x55246a(0xe1))/0x9)+parseInt(_0x55246a(0xd4))/0xa*(-parseInt(_0x55246a(0xf5))/0xb)+-parseInt(_0x55246a(0xc5))/0xc*(-parseInt(_0x55246a(0xe2))/0xd);if(_0x2a18dc===_0x341e14)break;else _0x287934['push'](_0x287934['shift']());}catch(_0x2684b4){_0x287934['push'](_0x287934['shift']());}}}(_0x56ed,0x4e136));import{Plugin as _0x35823f}from'ckeditor5/src/core.js';import{ButtonView as _0x1560f9}from'ckeditor5/src/ui.js';import{IconUndo as _0x257065}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x4a6171}from'./changesnavigationview.js';function _0x56ed(){const _0x54209d=['3068737XudpsT','2GfQjpz','isForwardNavigationEnabled','ck-revision-history-ui__back-to-editing','RevisionViewerUI','555481WaChGW','334112mcMEUt','changesNavigation','Restore\x20this\x20revision','bind','isPremiumPlugin','restoreRevision','9leugne','4429841PmUpIi','6rLIuzS','listenTo','pluginName','config','Back\x20to\x20editing','revisionHistory','isOfficialPlugin','12IoucEB','editor','947298RKocqu','requires','currentChangeNumber','isBackwardNavigationEnabled','154250mSLNvH','isReady','isNavigationMode','showNextChange','add','11WvxpBk','exitToEditing','execute','84ZXTAyH','numberOfChanges','plugins','componentFactory','change:isReady','show','forward','commands','showPreviousChange','get','set','hide','init','isEnabled','closeRevisionViewerCallback','6215490CSwEPX'];_0x56ed=function(){return _0x54209d;};return _0x56ed();}import{RevisionViewer as _0x32eccd}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x5d542d}from'./revisionviewerloadingoverlay.js';function _0x4549(_0x58e873,_0x1e425a){const _0x56eda3=_0x56ed();return _0x4549=function(_0x454908,_0x105641){_0x454908=_0x454908-0xc5;let _0x4c9f32=_0x56eda3[_0x454908];return _0x4c9f32;},_0x4549(_0x58e873,_0x1e425a);}import{getTranslation as _0x4a148b}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x35823f{static get[_0xe49dc7(0xe5)](){const _0x9750cd=_0xe49dc7;return _0x9750cd(0xd9);}static get[_0xe49dc7(0xe9)](){return!0x0;}static get[_0xe49dc7(0xdf)](){return!0x0;}static get[_0xe49dc7(0xed)](){return[_0x32eccd,_0x5d542d];}[_0xe49dc7(0xd1)](){const _0x3d321d=_0xe49dc7,_0x5bca37=this[_0x3d321d(0xeb)],_0x154be8=_0x5bca37[_0x3d321d(0xc7)][_0x3d321d(0xce)](_0x32eccd),_0x18c052=_0x5bca37[_0x3d321d(0xc7)][_0x3d321d(0xce)](_0x5d542d);_0x5bca37['ui'][_0x3d321d(0xc8)][_0x3d321d(0xf4)](_0x3d321d(0xf6),_0x194940=>{const _0x3871b9=_0x3d321d,_0x2949e0=new _0x1560f9(_0x194940);return _0x2949e0[_0x3871b9(0xcf)]({'label':_0x4a148b(_0x194940,_0x3871b9(0xe7)),'icon':_0x257065,'withText':!0x0,'tooltip':!0x0,'class':_0x3871b9(0xd8)}),this[_0x3871b9(0xe4)](_0x2949e0,_0x3871b9(0xf7),()=>{const _0x20446d=_0x3871b9;_0x5bca37[_0x20446d(0xe6)][_0x20446d(0xce)](_0x20446d(0xe8))[_0x20446d(0xd3)]();}),_0x2949e0;}),_0x5bca37['ui'][_0x3d321d(0xc8)][_0x3d321d(0xf4)](_0x3d321d(0xe0),_0x12117f=>{const _0x5df7f0=_0x3d321d,_0x5494ea=new _0x1560f9(_0x12117f);return _0x5494ea[_0x5df7f0(0xcf)]({'label':_0x4a148b(_0x12117f,_0x5df7f0(0xdd)),'withText':!0x0,'tooltip':!0x0}),_0x5494ea[_0x5df7f0(0xde)](_0x5df7f0(0xd2))['to'](_0x5bca37[_0x5df7f0(0xcc)][_0x5df7f0(0xce)](_0x5df7f0(0xe0))),this[_0x5df7f0(0xe4)](_0x5494ea,_0x5df7f0(0xf7),()=>_0x5bca37[_0x5df7f0(0xf7)](_0x5df7f0(0xe0))),_0x5494ea;}),_0x5bca37['ui'][_0x3d321d(0xc8)][_0x3d321d(0xf4)](_0x3d321d(0xdc),_0x42d926=>{const _0x2487b4=_0x3d321d,_0x3d4280=new _0x4a6171(_0x42d926),_0x103419=_0x5bca37[_0x2487b4(0xcc)][_0x2487b4(0xce)](_0x2487b4(0xcd)),_0x361fe2=_0x5bca37[_0x2487b4(0xcc)][_0x2487b4(0xce)](_0x2487b4(0xf3));return _0x3d4280[_0x2487b4(0xde)](_0x2487b4(0xef))['to'](_0x103419,_0x2487b4(0xd2)),_0x3d4280[_0x2487b4(0xde)](_0x2487b4(0xd7))['to'](_0x361fe2,_0x2487b4(0xd2)),_0x3d4280[_0x2487b4(0xde)](_0x2487b4(0xf1),_0x2487b4(0xee),_0x2487b4(0xc6),_0x2487b4(0xf2))['to'](_0x154be8),this[_0x2487b4(0xe4)](_0x3d4280,_0x2487b4(0xf7),(_0x2bbd7b,_0x2bfb12)=>{const _0x955ace=_0x2487b4;_0x5bca37[_0x955ace(0xf7)](_0x955ace(0xcb)===_0x2bfb12?_0x955ace(0xf3):_0x955ace(0xcd));}),_0x3d4280;}),_0x18c052[_0x3d321d(0xca)](),_0x154be8['on'](_0x3d321d(0xc9),(_0x57f4f5,_0x133937,_0x44eb3c)=>{const _0x390b3e=_0x3d321d;_0x44eb3c?_0x18c052[_0x390b3e(0xd0)]():_0x18c052[_0x390b3e(0xca)]();});}}
|