@ckeditor/ckeditor5-revision-history 44.0.0-alpha.11 → 44.0.0-alpha.12
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
|
-
function
|
|
23
|
+
const _0x10d5ef=_0xabf8;function _0xabf8(_0x4d92a6,_0x40767d){const _0x4c772c=_0x4c77();return _0xabf8=function(_0xabf81,_0x4fc33c){_0xabf81=_0xabf81-0xb9;let _0x368fbc=_0x4c772c[_0xabf81];return _0x368fbc;},_0xabf8(_0x4d92a6,_0x40767d);}(function(_0xbfded4,_0x39fca3){const _0x221123=_0xabf8,_0x9758e8=_0xbfded4();while(!![]){try{const _0xcdd858=parseInt(_0x221123(0xc9))/0x1*(-parseInt(_0x221123(0xb9))/0x2)+-parseInt(_0x221123(0xc5))/0x3*(-parseInt(_0x221123(0xd3))/0x4)+parseInt(_0x221123(0xcc))/0x5*(-parseInt(_0x221123(0xc0))/0x6)+-parseInt(_0x221123(0xd9))/0x7*(parseInt(_0x221123(0xbb))/0x8)+parseInt(_0x221123(0xda))/0x9*(-parseInt(_0x221123(0xd7))/0xa)+parseInt(_0x221123(0xd0))/0xb+parseInt(_0x221123(0xcd))/0xc;if(_0xcdd858===_0x39fca3)break;else _0x9758e8['push'](_0x9758e8['shift']());}catch(_0x3b8f21){_0x9758e8['push'](_0x9758e8['shift']());}}}(_0x4c77,0xbf0a2));import{View as _0x42485a}from'ckeditor5/src/ui.js';import _0x3d7da2 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x8ec80a}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';function _0x4c77(){const _0x18a53c=['span','3RZFgvg','select','_revisionActions','addRevision','277nixQyH','div','revisionViews','115QodFnF','24470892oPxekC','removeRevision','add','3994430nhETaY','_requireRevisionName','ck-revision-history-sidebar__time-period__label','6211912GHIXGW','createCollection','setName','uiLanguage','530zYXvYL','find','7ezVgDK','9234iIifGh','4986OwzKLz','localizedPeriodName','12261464IfNqWO','setTemplate','locale','ck-revision-history-sidebar__time-period__revisions','ck-revision-history-sidebar__time-period','233538OkLrWg','remove','delegate','startDate'];_0x4c77=function(){return _0x18a53c;};return _0x4c77();}export default class ai extends _0x42485a{constructor(_0x588ea5,_0x1f6bf7,_0x12772d,_0xdabc56){const _0x1fc5ea=_0xabf8;super(_0x588ea5);const _0x52b8bf=_0x8ec80a(_0x1f6bf7,this[_0x1fc5ea(0xbd)][_0x1fc5ea(0xd6)])[_0x1fc5ea(0xba)];this[_0x1fc5ea(0xc3)]=_0x1f6bf7,this[_0x1fc5ea(0xcb)]=this[_0x1fc5ea(0xd4)](),this[_0x1fc5ea(0xc7)]=_0x12772d,this[_0x1fc5ea(0xd1)]=_0xdabc56,this[_0x1fc5ea(0xcb)][_0x1fc5ea(0xc2)](_0x1fc5ea(0xc6))['to'](this),this[_0x1fc5ea(0xcb)][_0x1fc5ea(0xc2)](_0x1fc5ea(0xd5))['to'](this),this[_0x1fc5ea(0xbc)]({'tag':_0x1fc5ea(0xca),'attributes':{'class':['ck',_0x1fc5ea(0xbf)]},'children':[{'tag':_0x1fc5ea(0xc4),'attributes':{'class':['ck',_0x1fc5ea(0xd2)]},'children':[{'text':_0x52b8bf}]},{'tag':_0x1fc5ea(0xca),'attributes':{'class':['ck',_0x1fc5ea(0xbe)]},'children':this[_0x1fc5ea(0xcb)]}]});}[_0x10d5ef(0xc8)](_0x5a4bad){const _0xa4396b=_0x10d5ef,_0x2257c9=new _0x3d7da2(this[_0xa4396b(0xbd)],_0x5a4bad,this[_0xa4396b(0xc7)],this[_0xa4396b(0xd1)]);this[_0xa4396b(0xcb)][_0xa4396b(0xcf)](_0x2257c9);}[_0x10d5ef(0xce)](_0x57c12e){const _0x7b0d46=_0x10d5ef,_0x285d76=this[_0x7b0d46(0xcb)][_0x7b0d46(0xd8)](_0x4b4053=>_0x4b4053['id']===_0x57c12e['id']);this[_0x7b0d46(0xcb)][_0x7b0d46(0xc1)](_0x285d76);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5c2d4e=_0x1881;(function(_0x479049,_0x33e509){const _0xdd8b08=_0x1881,_0x5cc0f3=_0x479049();while(!![]){try{const _0x6571ea=-parseInt(_0xdd8b08(0x167))/0x1*(-parseInt(_0xdd8b08(0x157))/0x2)+-parseInt(_0xdd8b08(0x14d))/0x3*(-parseInt(_0xdd8b08(0x153))/0x4)+-parseInt(_0xdd8b08(0x149))/0x5*(parseInt(_0xdd8b08(0x16c))/0x6)+-parseInt(_0xdd8b08(0x151))/0x7+-parseInt(_0xdd8b08(0x152))/0x8+parseInt(_0xdd8b08(0x142))/0x9*(parseInt(_0xdd8b08(0x174))/0xa)+parseInt(_0xdd8b08(0x15d))/0xb*(parseInt(_0xdd8b08(0x144))/0xc);if(_0x6571ea===_0x33e509)break;else _0x5cc0f3['push'](_0x5cc0f3['shift']());}catch(_0x66155c){_0x5cc0f3['push'](_0x5cc0f3['shift']());}}}(_0x3ba7,0x5fc35));function _0x1881(_0x233874,_0x4d77ca){const _0x3ba75c=_0x3ba7();return _0x1881=function(_0x1881be,_0x490331){_0x1881be=_0x1881be-0x13e;let _0x14657b=_0x3ba75c[_0x1881be];return _0x14657b;},_0x1881(_0x233874,_0x4d77ca);}import{View as _0x141238}from'ckeditor5/src/ui.js';import _0x16ae2f from'./revisionssidebartimeperiodview.js';function _0x3ba7(){const _0x299fb9=['select','_getTimePeriodViewByStartDate','ck-disabled','ck-reset','5HUyWaF','_requireRevisionName','render','find','324SigPSZ','isEnabled','removeRevision','revisionViews','4339916dzNZLi','2561400nPKxhr','528LyoPbq','ck-revision-history-sidebar','locale','some','46CcPhPb','timePeriodViews','selectRevision','flat','_revisionActions','map','11QjhrRI','startDate','highlight','highlightRevisions','setName','uiLanguage','deselect','revisionSelected','ck-rounded-corners','ck-revision-history-sidebar__timeline','27889qWnonb','_addRevision','_revisions','get','_removeRevision','2300574baBAnh','fire','bindTemplate','createdAt','div','addRevision','revisionSetName','unhighlight','4520kULGsX','set','remove','add','getTime','delegate','setTemplate','5976djdMnM','createCollection','9120072TUfAxm'];_0x3ba7=function(){return _0x299fb9;};return _0x3ba7();}import _0x47353b from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0xc77f37}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ni extends _0x141238{constructor(_0x5475eb,_0x2f1abc,_0x4e4937,_0x3d9b4d){const _0x4e9788=_0x1881;super(_0x5475eb);const _0x543ba9=this[_0x4e9788(0x16e)];this[_0x4e9788(0x158)]=this[_0x4e9788(0x143)](),this[_0x4e9788(0x158)][_0x4e9788(0x140)](_0x4e9788(0x145))['to'](this),this[_0x4e9788(0x158)][_0x4e9788(0x140)](_0x4e9788(0x161))['to'](this),this[_0x4e9788(0x169)]=_0x2f1abc,this[_0x4e9788(0x15b)]=_0x4e4937,this[_0x4e9788(0x14a)]=_0x3d9b4d,this['on'](_0x4e9788(0x145),(_0x3f8ee5,_0x1ec6b4)=>{const _0x1ebef8=_0x4e9788;this[_0x1ebef8(0x16d)](_0x1ebef8(0x164),_0x1ec6b4);}),this['on'](_0x4e9788(0x161),(_0x55c0dd,_0x1603dd)=>{const _0x1ac69a=_0x4e9788;this[_0x1ac69a(0x16d)](_0x1ac69a(0x172),_0x1603dd);}),this[_0x4e9788(0x175)](_0x4e9788(0x14e),!0x1),this[_0x4e9788(0x141)]({'tag':_0x4e9788(0x170),'attributes':{'class':['ck',_0x4e9788(0x148),_0x4e9788(0x165),_0x4e9788(0x154)]},'children':[new _0x47353b(_0x5475eb),{'tag':_0x4e9788(0x170),'attributes':{'class':['ck',_0x4e9788(0x166),_0x543ba9['if'](_0x4e9788(0x14e),_0x4e9788(0x147),_0x2ea107=>!_0x2ea107)]},'children':this[_0x4e9788(0x158)]}]});}[_0x5c2d4e(0x14b)](){const _0x4b0838=_0x5c2d4e;super[_0x4b0838(0x14b)]();for(const _0x590dbd of this[_0x4b0838(0x169)])this[_0x4b0838(0x168)](_0x590dbd);this[_0x4b0838(0x169)]['on'](_0x4b0838(0x13e),(_0x53df09,_0x3e158d)=>{const _0x1ff849=_0x4b0838;this[_0x1ff849(0x168)](_0x3e158d);}),this[_0x4b0838(0x169)]['on'](_0x4b0838(0x176),(_0x33fb72,_0x280668)=>{const _0xd26ab=_0x4b0838;this[_0xd26ab(0x16b)](_0x280668);});}get[_0x5c2d4e(0x150)](){const _0x4ca8bc=_0x5c2d4e;return this[_0x4ca8bc(0x158)][_0x4ca8bc(0x15c)](_0x39ca92=>_0x39ca92[_0x4ca8bc(0x150)][_0x4ca8bc(0x15c)](_0x23a4a5=>_0x23a4a5))[_0x4ca8bc(0x15a)]();}[_0x5c2d4e(0x159)](_0x1c2207){const _0x24cd71=_0x5c2d4e;for(const _0x80701 of this[_0x24cd71(0x150)])_0x1c2207&&_0x1c2207['id']===_0x80701['id']?_0x80701[_0x24cd71(0x145)]():_0x80701[_0x24cd71(0x163)]();}[_0x5c2d4e(0x160)](_0xa9b4e4){const _0x151198=_0x5c2d4e;for(const _0x111ef0 of this[_0x151198(0x150)])_0xa9b4e4[_0x151198(0x156)](({id:_0xa54e9a})=>_0xa54e9a===_0x111ef0['id'])?_0x111ef0[_0x151198(0x15f)]():_0x111ef0[_0x151198(0x173)]();}[_0x5c2d4e(0x168)](_0x1f7434){const _0x29c6ad=_0x5c2d4e,_0x93afcd=_0xc77f37(_0x1f7434[_0x29c6ad(0x16f)],this[_0x29c6ad(0x155)][_0x29c6ad(0x162)])[_0x29c6ad(0x15e)];let _0x53cd5a=this[_0x29c6ad(0x158)][_0x29c6ad(0x16a)](0x0);_0x53cd5a&&_0x53cd5a[_0x29c6ad(0x15e)][_0x29c6ad(0x13f)]()===_0x93afcd[_0x29c6ad(0x13f)]()||(_0x53cd5a=new _0x16ae2f(this[_0x29c6ad(0x155)],_0x93afcd,this[_0x29c6ad(0x15b)],this[_0x29c6ad(0x14a)]),this[_0x29c6ad(0x158)][_0x29c6ad(0x13e)](_0x53cd5a)),_0x53cd5a[_0x29c6ad(0x171)](_0x1f7434);}[_0x5c2d4e(0x16b)](_0x23a8eb){const _0x38b7ae=_0x5c2d4e,_0xb8f01c=_0xc77f37(_0x23a8eb[_0x38b7ae(0x16f)],this[_0x38b7ae(0x155)][_0x38b7ae(0x162)])[_0x38b7ae(0x15e)];this[_0x38b7ae(0x146)](_0xb8f01c)[_0x38b7ae(0x14f)](_0x23a8eb);}[_0x5c2d4e(0x146)](_0x6c815){const _0x5d025d=_0x5c2d4e;return this[_0x5d025d(0x158)][_0x5d025d(0x14c)](_0x3f15ec=>_0x3f15ec[_0x5d025d(0x15e)][_0x5d025d(0x13f)]()===_0x6c815[_0x5d025d(0x13f)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x535da7,_0x5b78f6){const _0x596602=_0x354a,_0x4262bd=_0x535da7();while(!![]){try{const _0x2654e9=-parseInt(_0x596602(0x185))/0x1+-parseInt(_0x596602(0x17f))/0x2*(-parseInt(_0x596602(0x186))/0x3)+parseInt(_0x596602(0x18a))/0x4+-parseInt(_0x596602(0x192))/0x5*(parseInt(_0x596602(0x18d))/0x6)+parseInt(_0x596602(0x187))/0x7+parseInt(_0x596602(0x18e))/0x8*(-parseInt(_0x596602(0x183))/0x9)+parseInt(_0x596602(0x189))/0xa*(parseInt(_0x596602(0x184))/0xb);if(_0x2654e9===_0x5b78f6)break;else _0x4262bd['push'](_0x4262bd['shift']());}catch(_0xfb0812){_0x4262bd['push'](_0x4262bd['shift']());}}}(_0x3313,0x7037e));function _0x354a(_0x5b9dcf,_0x4e8bbd){const _0x33135d=_0x3313();return _0x354a=function(_0x354a99,_0x301cab){_0x354a99=_0x354a99-0x17e;let _0x39feb3=_0x33135d[_0x354a99];return _0x39feb3;},_0x354a(_0x5b9dcf,_0x4e8bbd);}function _0x3313(){const _0x4d613b=['5RSOGUP','weekdayLong','local','day','fromJSDate','toRelativeCalendar','54816sSyiJJ','monthLong','toJSDate','setLocale','217647jIfZHb','517AKhpfS','516719xcuBYy','12NbnhlC','6375138TXtnAT','week','63590iSORbC','1884168cyFAwX','month','minus','675654vrYMMl','232XkhmDb','startOf','hasSame','year'];_0x3313=function(){return _0x4d613b;};return _0x3313();}import{DateTime as _0x45bfbd}from'luxon';export function getDateTimePeriodInfo(_0x52be58,_0x589883){const _0x40a8dc=_0x354a,_0x5efdcd=_0x45bfbd[_0x40a8dc(0x196)](_0x52be58)[_0x40a8dc(0x182)](_0x589883),_0x328b2e=_0x45bfbd[_0x40a8dc(0x194)](),_0x31be41=_0x328b2e[_0x40a8dc(0x18c)]({'days':0x1})[_0x40a8dc(0x18f)](_0x40a8dc(0x195));let _0x5d5167,_0x362296;return _0x5efdcd[_0x40a8dc(0x190)](_0x328b2e,_0x40a8dc(0x195))?(_0x5d5167=_0x5efdcd[_0x40a8dc(0x18f)](_0x40a8dc(0x195))[_0x40a8dc(0x181)](),_0x362296=_0x5efdcd[_0x40a8dc(0x17e)]()):_0x5efdcd[_0x40a8dc(0x190)](_0x31be41,_0x40a8dc(0x195))?(_0x5d5167=_0x31be41[_0x40a8dc(0x181)](),_0x362296=_0x5efdcd[_0x40a8dc(0x17e)]()):_0x5efdcd[_0x40a8dc(0x190)](_0x328b2e,_0x40a8dc(0x188))?(_0x5d5167=_0x5efdcd[_0x40a8dc(0x18f)](_0x40a8dc(0x188))[_0x40a8dc(0x181)](),_0x362296=_0x5efdcd[_0x40a8dc(0x193)]||''):_0x5efdcd[_0x40a8dc(0x190)](_0x328b2e,_0x40a8dc(0x191))?(_0x5d5167=_0x5efdcd[_0x40a8dc(0x18f)](_0x40a8dc(0x18b))[_0x40a8dc(0x181)](),_0x362296=_0x5efdcd[_0x40a8dc(0x180)]||''):(_0x5d5167=_0x5efdcd[_0x40a8dc(0x18f)](_0x40a8dc(0x191))[_0x40a8dc(0x181)](),_0x362296=String(_0x5efdcd[_0x40a8dc(0x191)])),{'startDate':_0x5d5167,'localizedPeriodName':_0x362296};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x37d5bf=_0x2aa0;(function(_0x1e58f1,_0x326b8c){const _0x458a3f=_0x2aa0,_0x35996a=_0x1e58f1();while(!![]){try{const _0x42e8f6=-parseInt(_0x458a3f(0x1f6))/0x1+-parseInt(_0x458a3f(0x209))/0x2+-parseInt(_0x458a3f(0x1fb))/0x3+parseInt(_0x458a3f(0x1f9))/0x4*(-parseInt(_0x458a3f(0x208))/0x5)+-parseInt(_0x458a3f(0x202))/0x6+parseInt(_0x458a3f(0x1f0))/0x7+parseInt(_0x458a3f(0x203))/0x8*(parseInt(_0x458a3f(0x1f5))/0x9);if(_0x42e8f6===_0x326b8c)break;else _0x35996a['push'](_0x35996a['shift']());}catch(_0x2a44b8){_0x35996a['push'](_0x35996a['shift']());}}}(_0x5e90,0x78319));import{View as _0x9984e}from'ckeditor5/src/ui.js';import{getTranslation as _0x4b7cdd}from'../../utils/common-translations.js';function _0x5e90(){const _0x52a09a=['data','ck-revision-change','ck-annotation','ck-revision-change__label','83000LCWaBU','1683600xxaBfW','Removed\x20by','type','span','set','ck-revision-change__','4650835RNOorH','element','author','changeId','Suggested\x20by','72NghjFR','919444KnCmAb','name','add','188JmBmJu','focus','557121undxMx','isSuggestion','setTemplate','div','bindTemplate','Added\x20by','_model','5337246rjtoYU','3444600GbGUvL'];_0x5e90=function(){return _0x52a09a;};return _0x5e90();}function _0x2aa0(_0x36e38e,_0x2db3a1){const _0x5e90a8=_0x5e90();return _0x2aa0=function(_0x2aa06c,_0x65c49c){_0x2aa06c=_0x2aa06c-0x1ee;let _0x2d5647=_0x5e90a8[_0x2aa06c];return _0x2d5647;},_0x2aa0(_0x36e38e,_0x2db3a1);}export default class Y extends _0x9984e{constructor(_0x2dffe0,_0x4331b9){const _0x51790f=_0x2aa0;super(_0x2dffe0),this[_0x51790f(0x201)]=_0x4331b9,this[_0x51790f(0x1f3)]=_0x4331b9['id'];const _0x234e3f=this[_0x51790f(0x1ff)],_0x18c58f=_0x4b7cdd(_0x2dffe0,_0x4331b9[_0x51790f(0x204)][_0x51790f(0x1fc)]?_0x51790f(0x1f4):_0x51790f(0x1f8)==_0x4331b9[_0x51790f(0x20b)]?_0x51790f(0x200):_0x51790f(0x20a));this[_0x51790f(0x1ee)](_0x51790f(0x20b),_0x4331b9[_0x51790f(0x20b)]),this[_0x51790f(0x1fd)]({'tag':_0x51790f(0x1fe),'attributes':{'class':[_0x51790f(0x206),_0x51790f(0x205),_0x234e3f['to'](_0x51790f(0x20b),_0x3e22ae=>_0x51790f(0x1ef)+_0x3e22ae)],'tabindex':-0x1},'children':[{'tag':_0x51790f(0x20c),'children':[{'tag':_0x51790f(0x20c),'attributes':{'class':[_0x51790f(0x207)]},'children':[{'text':_0x18c58f}]},{'text':'\x20'+_0x4331b9[_0x51790f(0x1f2)][_0x51790f(0x1f7)]}]}]});}[_0x37d5bf(0x1fa)](){const _0x197337=_0x37d5bf;this[_0x197337(0x1f1)][_0x197337(0x1fa)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x449313,_0x1feb3a){const _0x19572c=_0x56aa,_0x69c33f=_0x449313();while(!![]){try{const _0x315670=parseInt(_0x19572c(0x142))/0x1*(-parseInt(_0x19572c(0x12b))/0x2)+parseInt(_0x19572c(0x13b))/0x3*(-parseInt(_0x19572c(0x12d))/0x4)+-parseInt(_0x19572c(0x13f))/0x5*(-parseInt(_0x19572c(0x119))/0x6)+-parseInt(_0x19572c(0x131))/0x7*(-parseInt(_0x19572c(0x11f))/0x8)+-parseInt(_0x19572c(0x11b))/0x9+-parseInt(_0x19572c(0x127))/0xa*(parseInt(_0x19572c(0x139))/0xb)+-parseInt(_0x19572c(0x12a))/0xc;if(_0x315670===_0x1feb3a)break;else _0x69c33f['push'](_0x69c33f['shift']());}catch(_0x52fd7c){_0x69c33f['push'](_0x69c33f['shift']());}}}(_0x43c5,0x796cb));function _0x43c5(){const _0xcc7477=['isForwardNavigationEnabled','37896PogDKd','Show\x20previous\x20change','isReady','NUMBER_OF_CHANGES','ck-revision-history-ui__changes-navigation','Show\x20next\x20change','EDIT_X_OF_Y_REVISIONS','setTemplate','1339180tWZzxj','ck-revision-history-ui','_statusText','1127340sWEhcv','6oSFYuc','Loading...','45256dOYRnf','forward','isBackwardNavigationEnabled','div','1407MXRqLE','span','fire','isNavigationMode','currentChangeNumber','ck-revision-history-ui__changes-navigation__wrapper','set','X_OF_Y_CHANGES','22NdoiGD','execute','21SMOHyN','_isStatusLabelVisible','bindTemplate','ck-hidden','3144865wNBKke','No\x20changes','ck-revision-history-ui__changes-navigation__label','213121OFXbFP','isEnabled','numberOfChanges','ck-revision-history-ui__changes-navigation__navigation','6KOpjAO','backward','30717LLAqzk','Total','bind'];_0x43c5=function(){return _0xcc7477;};return _0x43c5();}import{View as _0x4e0dc5,ButtonView as _0x4682fe,ToolbarSeparatorView as _0x3f772b}from'ckeditor5/src/ui.js';import{getTranslation as _0x58b4b4}from'../../utils/common-translations.js';import _0x9d121e from'../../../theme/icons/arrow-up.svg';import _0x90952b from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';function _0x56aa(_0x2ac8b4,_0x402e1d){const _0x43c575=_0x43c5();return _0x56aa=function(_0x56aa33,_0x37dc5f){_0x56aa33=_0x56aa33-0x117;let _0x98402=_0x43c575[_0x56aa33];return _0x98402;},_0x56aa(_0x2ac8b4,_0x402e1d);}export default class li extends _0x4e0dc5{constructor(_0x357e92){const _0x1eb14e=_0x56aa;super(_0x357e92);const _0x45aa1b=this[_0x1eb14e(0x13d)],_0x227495=new _0x4682fe(_0x357e92),_0x54725f=new _0x4682fe(_0x357e92);this[_0x1eb14e(0x137)](_0x1eb14e(0x134),!0x1),this[_0x1eb14e(0x137)](_0x1eb14e(0x121),!0x1),this[_0x1eb14e(0x137)](_0x1eb14e(0x135),0x0),this[_0x1eb14e(0x137)](_0x1eb14e(0x117),0x0),this[_0x1eb14e(0x137)](_0x1eb14e(0x11e),!0x1),this[_0x1eb14e(0x137)](_0x1eb14e(0x12f),!0x1),this[_0x1eb14e(0x11d)](_0x1eb14e(0x13c))['to'](this,_0x1eb14e(0x121),this,_0x1eb14e(0x117),(_0x237812,_0x4a9e33)=>_0x237812&&_0x4a9e33>0x0),this[_0x1eb14e(0x11d)](_0x1eb14e(0x129))['to'](this,_0x1eb14e(0x121),this,_0x1eb14e(0x135),this,_0x1eb14e(0x117),this,_0x1eb14e(0x134),(_0x436dc8,_0x3e0c67,_0x2bd041,_0x57b146)=>{const _0x498602=_0x1eb14e;if(!_0x436dc8)return _0x58b4b4(_0x357e92,_0x498602(0x12c));if(!_0x2bd041)return _0x58b4b4(_0x357e92,_0x498602(0x140));const _0x3c5b14=_0x58b4b4(_0x357e92,_0x498602(0x122),_0x2bd041);return _0x57b146?_0x58b4b4(_0x357e92,_0x498602(0x138),[_0x3e0c67+0x1,_0x2bd041]):_0x3c5b14;}),_0x227495[_0x1eb14e(0x137)]({'label':_0x58b4b4(_0x357e92,_0x1eb14e(0x120)),'tooltip':!0x0,'icon':_0x9d121e}),_0x54725f[_0x1eb14e(0x137)]({'label':_0x58b4b4(_0x357e92,_0x1eb14e(0x124)),'tooltip':!0x0,'icon':_0x90952b}),_0x227495[_0x1eb14e(0x11d)](_0x1eb14e(0x143))['to'](this,_0x1eb14e(0x12f)),_0x54725f[_0x1eb14e(0x11d)](_0x1eb14e(0x143))['to'](this,_0x1eb14e(0x11e)),_0x227495['on'](_0x1eb14e(0x13a),()=>this[_0x1eb14e(0x133)](_0x1eb14e(0x13a),_0x1eb14e(0x11a))),_0x54725f['on'](_0x1eb14e(0x13a),()=>this[_0x1eb14e(0x133)](_0x1eb14e(0x13a),_0x1eb14e(0x12e))),this[_0x1eb14e(0x126)]({'tag':_0x1eb14e(0x130),'attributes':{'class':['ck',_0x1eb14e(0x128),_0x1eb14e(0x123)]},'children':[{'tag':_0x1eb14e(0x132),'attributes':{'class':[_0x1eb14e(0x136)]},'children':[{'tag':_0x1eb14e(0x132),'attributes':{'class':[_0x1eb14e(0x141),_0x45aa1b['if'](_0x1eb14e(0x13c),_0x1eb14e(0x13e),_0x478cc3=>!_0x478cc3)]},'children':[{'text':_0x45aa1b['to'](_0x1eb14e(0x134),_0x12d626=>_0x12d626?_0x58b4b4(_0x357e92,_0x1eb14e(0x125))+':\x20':_0x58b4b4(_0x357e92,_0x1eb14e(0x11c))+':\x20')}]},{'text':_0x45aa1b['to'](_0x1eb14e(0x129))}]},new _0x3f772b(),{'tag':_0x1eb14e(0x130),'attributes':{'class':[_0x1eb14e(0x118)]},'children':[_0x227495,_0x54725f]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x14fadf=_0x2b9a;(function(_0x2ec4db,_0x5cdc2e){const _0x2cbf46=_0x2b9a,_0x1d1d7e=_0x2ec4db();while(!![]){try{const _0x8e5c64=parseInt(_0x2cbf46(0x134))/0x1*(parseInt(_0x2cbf46(0x13a))/0x2)+-parseInt(_0x2cbf46(0x122))/0x3+-parseInt(_0x2cbf46(0x138))/0x4+-parseInt(_0x2cbf46(0x13c))/0x5*(-parseInt(_0x2cbf46(0x12f))/0x6)+parseInt(_0x2cbf46(0x137))/0x7*(parseInt(_0x2cbf46(0x139))/0x8)+parseInt(_0x2cbf46(0x128))/0x9*(-parseInt(_0x2cbf46(0x12e))/0xa)+-parseInt(_0x2cbf46(0x132))/0xb*(-parseInt(_0x2cbf46(0x135))/0xc);if(_0x8e5c64===_0x5cdc2e)break;else _0x1d1d7e['push'](_0x1d1d7e['shift']());}catch(_0x23a50c){_0x1d1d7e['push'](_0x1d1d7e['shift']());}}}(_0x180e,0x3b5b7));import{Plugin as _0x47f4e7}from'ckeditor5/src/core.js';const le=_0x14fadf(0x136);function _0x180e(){const _0x149b60=['2oUmdru','editing','2285uzsiSg','998673BneUOv','isOfficialPlugin','document','editor','hide','RevisionViewerLoadingOverlay','1249272dNJLNz','pluginName','roots','isPremiumPlugin','addClass','show','30rsXYfO','4068YjMioi','view','change','3944413DPyuSl','removeClass','283463rZOHAy','12IEqpFo','ck-editor__editable__loading-overlay','6223CjlwRo','1711812laAryH','4216mjiPiZ'];_0x180e=function(){return _0x149b60;};return _0x180e();}import'../../../theme/revisionviewerloadingoverlay.css';function _0x2b9a(_0x283674,_0x3ca5a0){const _0x180e13=_0x180e();return _0x2b9a=function(_0x2b9a18,_0x1a4fa0){_0x2b9a18=_0x2b9a18-0x122;let _0x475274=_0x180e13[_0x2b9a18];return _0x475274;},_0x2b9a(_0x283674,_0x3ca5a0);}export default class ge extends _0x47f4e7{static get[_0x14fadf(0x129)](){const _0x22d5fc=_0x14fadf;return _0x22d5fc(0x127);}static get[_0x14fadf(0x123)](){return!0x0;}static get[_0x14fadf(0x12b)](){return!0x0;}[_0x14fadf(0x12d)](){const _0x632c94=_0x14fadf,_0x511dd3=this[_0x632c94(0x125)][_0x632c94(0x13b)][_0x632c94(0x130)];_0x511dd3[_0x632c94(0x131)](_0x627941=>{const _0x334a39=_0x632c94;for(const _0x3727e2 of _0x511dd3[_0x334a39(0x124)][_0x334a39(0x12a)])_0x627941[_0x334a39(0x12c)](le,_0x3727e2);});}[_0x14fadf(0x126)](){const _0x556f4b=_0x14fadf,_0x1a44cb=this[_0x556f4b(0x125)][_0x556f4b(0x13b)][_0x556f4b(0x130)];_0x1a44cb[_0x556f4b(0x131)](_0x26b967=>{const _0x5bd28a=_0x556f4b;for(const _0x58be67 of _0x1a44cb[_0x5bd28a(0x124)][_0x5bd28a(0x12a)])_0x26b967[_0x5bd28a(0x133)](le,_0x58be67);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4ad1(_0x6e30c0,_0x32e855){const _0x4190e6=_0x4190();return _0x4ad1=function(_0x4ad13e,_0x24fe25){_0x4ad13e=_0x4ad13e-0x10f;let _0x444978=_0x4190e6[_0x4ad13e];return _0x444978;},_0x4ad1(_0x6e30c0,_0x32e855);}const _0x57f768=_0x4ad1;(function(_0x3ce519,_0x1f7da6){const _0x38d1ed=_0x4ad1,_0x4e89b4=_0x3ce519();while(!![]){try{const _0x19b5dd=parseInt(_0x38d1ed(0x118))/0x1*(-parseInt(_0x38d1ed(0x130))/0x2)+parseInt(_0x38d1ed(0x11f))/0x3*(-parseInt(_0x38d1ed(0x122))/0x4)+parseInt(_0x38d1ed(0x119))/0x5*(parseInt(_0x38d1ed(0x142))/0x6)+parseInt(_0x38d1ed(0x120))/0x7+parseInt(_0x38d1ed(0x13b))/0x8*(parseInt(_0x38d1ed(0x131))/0x9)+parseInt(_0x38d1ed(0x112))/0xa*(-parseInt(_0x38d1ed(0x12e))/0xb)+-parseInt(_0x38d1ed(0x13f))/0xc*(-parseInt(_0x38d1ed(0x12c))/0xd);if(_0x19b5dd===_0x1f7da6)break;else _0x4e89b4['push'](_0x4e89b4['shift']());}catch(_0x145552){_0x4e89b4['push'](_0x4e89b4['shift']());}}}(_0x4190,0xde98d));import{icons as _0x49cd4f,Plugin as _0x501af2}from'ckeditor5/src/core.js';import{ButtonView as _0xafd9d5}from'ckeditor5/src/ui.js';import _0x1989b2 from'./changesnavigationview.js';import _0x15e417 from'./../../revisionviewer.js';import _0x47f1f2 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x48a325}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';function _0x4190(){const _0x537cd2=['plugins','isForwardNavigationEnabled','listenTo','config','numberOfChanges','isBackwardNavigationEnabled','15647255vIWShC','isEnabled','668679EqSCRU','revisionHistory','614iywZRg','4091247JKoajq','hide','isPremiumPlugin','Restore\x20this\x20revision','init','showNextChange','componentFactory','bind','currentChangeNumber','ck-revision-history-ui__back-to-editing','8iFezCi','Back\x20to\x20editing','restoreRevision','add','12ydFXdB','get','show','5118MBakGM','exitToEditing','closeRevisionViewerCallback','isOfficialPlugin','270kkpgfX','undo','commands','isReady','isNavigationMode','requires','5195aCdRYf','6895HLsOcC','pluginName','showPreviousChange','forward','changesNavigation','editor','561VDoirL','9574859cmLgIP','execute','1164sPyqHu','set','RevisionViewerUI','change:isReady'];_0x4190=function(){return _0x537cd2;};return _0x4190();}export default class m extends _0x501af2{static get[_0x57f768(0x11a)](){const _0x11da88=_0x57f768;return _0x11da88(0x124);}static get[_0x57f768(0x111)](){return!0x0;}static get[_0x57f768(0x133)](){return!0x0;}static get[_0x57f768(0x117)](){return[_0x15e417,_0x47f1f2];}[_0x57f768(0x135)](){const _0x26bad0=_0x57f768,_0x527ad9=this[_0x26bad0(0x11e)],_0xe154fb=_0x527ad9[_0x26bad0(0x126)][_0x26bad0(0x140)](_0x15e417),_0x41b605=_0x527ad9[_0x26bad0(0x126)][_0x26bad0(0x140)](_0x47f1f2);_0x527ad9['ui'][_0x26bad0(0x137)][_0x26bad0(0x13e)](_0x26bad0(0x10f),_0x5e4ede=>{const _0xac711f=_0x26bad0,_0x2841fc=new _0xafd9d5(_0x5e4ede);return _0x2841fc[_0xac711f(0x123)]({'label':_0x48a325(_0x5e4ede,_0xac711f(0x13c)),'icon':_0x49cd4f[_0xac711f(0x113)],'withText':!0x0,'tooltip':!0x0,'class':_0xac711f(0x13a)}),this[_0xac711f(0x128)](_0x2841fc,_0xac711f(0x121),()=>{const _0x349e3c=_0xac711f;_0x527ad9[_0x349e3c(0x129)][_0x349e3c(0x140)](_0x349e3c(0x12f))[_0x349e3c(0x110)]();}),_0x2841fc;}),_0x527ad9['ui'][_0x26bad0(0x137)][_0x26bad0(0x13e)](_0x26bad0(0x13d),_0x3037df=>{const _0x2fc87e=_0x26bad0,_0x341931=new _0xafd9d5(_0x3037df);return _0x341931[_0x2fc87e(0x123)]({'label':_0x48a325(_0x3037df,_0x2fc87e(0x134)),'withText':!0x0,'tooltip':!0x0}),_0x341931[_0x2fc87e(0x138)](_0x2fc87e(0x12d))['to'](_0x527ad9[_0x2fc87e(0x114)][_0x2fc87e(0x140)](_0x2fc87e(0x13d))),this[_0x2fc87e(0x128)](_0x341931,_0x2fc87e(0x121),()=>_0x527ad9[_0x2fc87e(0x121)](_0x2fc87e(0x13d))),_0x341931;}),_0x527ad9['ui'][_0x26bad0(0x137)][_0x26bad0(0x13e)](_0x26bad0(0x11d),_0x4de31f=>{const _0x2c6f27=_0x26bad0,_0x123376=new _0x1989b2(_0x4de31f),_0x5a9739=_0x527ad9[_0x2c6f27(0x114)][_0x2c6f27(0x140)](_0x2c6f27(0x11b)),_0x593485=_0x527ad9[_0x2c6f27(0x114)][_0x2c6f27(0x140)](_0x2c6f27(0x136));return _0x123376[_0x2c6f27(0x138)](_0x2c6f27(0x12b))['to'](_0x5a9739,_0x2c6f27(0x12d)),_0x123376[_0x2c6f27(0x138)](_0x2c6f27(0x127))['to'](_0x593485,_0x2c6f27(0x12d)),_0x123376[_0x2c6f27(0x138)](_0x2c6f27(0x115),_0x2c6f27(0x139),_0x2c6f27(0x12a),_0x2c6f27(0x116))['to'](_0xe154fb),this[_0x2c6f27(0x128)](_0x123376,_0x2c6f27(0x121),(_0x45b03c,_0x16ee28)=>{const _0x2e5e34=_0x2c6f27;_0x527ad9[_0x2e5e34(0x121)](_0x2e5e34(0x11c)===_0x16ee28?_0x2e5e34(0x136):_0x2e5e34(0x11b));}),_0x123376;}),_0x41b605[_0x26bad0(0x141)](),_0xe154fb['on'](_0x26bad0(0x125),(_0x5453e9,_0x12fb0d,_0x1d20dd)=>{const _0x46495f=_0x26bad0;_0x1d20dd?_0x41b605[_0x46495f(0x132)]():_0x41b605[_0x46495f(0x141)]();});}}
|