@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240410.0 → 0.0.0-nightly-20240412.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/package.json +5 -5
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +1 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +1 -1
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x21989e=_0x4099;(function(_0x13df68,_0xa23f62){const _0x180fef=_0x4099,_0x4b6cf9=_0x13df68();while(!![]){try{const _0x7a025f=parseInt(_0x180fef(0x19d))/0x1*(parseInt(_0x180fef(0x199))/0x2)+-parseInt(_0x180fef(0x1a4))/0x3*(-parseInt(_0x180fef(0x17b))/0x4)+-parseInt(_0x180fef(0x1a0))/0x5+parseInt(_0x180fef(0x190))/0x6*(-parseInt(_0x180fef(0x18b))/0x7)+parseInt(_0x180fef(0x17a))/0x8*(-parseInt(_0x180fef(0x197))/0x9)+parseInt(_0x180fef(0x18e))/0xa*(parseInt(_0x180fef(0x19e))/0xb)+parseInt(_0x180fef(0x188))/0xc;if(_0x7a025f===_0xa23f62)break;else _0x4b6cf9['push'](_0x4b6cf9['shift']());}catch(_0x502b6c){_0x4b6cf9['push'](_0x4b6cf9['shift']());}}}(_0x520f,0xc5915));function _0x4099(_0xce9519,_0x30f8f2){const _0x520f5e=_0x520f();return _0x4099=function(_0x4099df,_0x4f9e50){_0x4099df=_0x4099df-0x17a;let _0x2eb543=_0x520f5e[_0x4099df];return _0x2eb543;},_0x4099(_0xce9519,_0x30f8f2);}import{LabeledFieldView as _0x1c0bc0,View as _0x2ccba7,createLabeledInputText as _0x14392c,injectCssTransitionDisabler as _0x397d65,submitHandler as _0x2ff9c4}from'ckeditor5/src/ui.js';function _0x520f(){const _0x2b157d=['8ycaMPK','454428hEJgjd','arrowdown','revisionNameInputValue','listenTo','add','form','trim','ck-revision-history-save-revision-form','keystrokes','locale','220','element','arrowright','3583692hWHxcL','extendTemplate','reset','4474498MbkFax','fieldView','focus','28270ZywVST','revisionName','12tJhhwV','optional','Name\x20of\x20the\x20revision','render','stopPropagation','revisionNameInputView','focusTracker','3212829qNanJS','input','276CWEDxo','errorText','value','arrowup','7717wThaIf','5533sSSiZZ','ck-responsive-form','4544785XPkesS','arrowleft','setTemplate','set','15ptvcwX','_createRevisionNameInput','label'];_0x520f=function(){return _0x2b157d;};return _0x520f();}import{FocusTracker as _0x255337,KeystrokeHandler as _0x41547f}from'ckeditor5/src/utils.js';import{getTranslation as _0x4b5e37}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class ns extends _0x2ccba7{constructor(_0xcdf07a,_0x5a6171){const _0x2d030f=_0x4099;super(_0xcdf07a),this[_0x2d030f(0x196)]=new _0x255337(),this[_0x2d030f(0x183)]=new _0x41547f(),this[_0x2d030f(0x1a3)](_0x2d030f(0x17d),''),this[_0x2d030f(0x195)]=this[_0x2d030f(0x1a5)](_0x5a6171),this[_0x2d030f(0x1a2)]({'tag':_0x2d030f(0x180),'attributes':{'class':['ck',_0x2d030f(0x182),_0x2d030f(0x19f)],'tabindex':'-1'},'children':[this[_0x2d030f(0x195)]]}),_0x397d65(this);}[_0x21989e(0x193)](){const _0x1814ad=_0x21989e;super[_0x1814ad(0x193)](),_0x2ff9c4({'view':this}),this[_0x1814ad(0x196)][_0x1814ad(0x17f)](this[_0x1814ad(0x195)][_0x1814ad(0x186)]),this[_0x1814ad(0x183)][_0x1814ad(0x17e)](this[_0x1814ad(0x186)]);const _0x45c050=_0x3b0203=>_0x3b0203[_0x1814ad(0x194)]();this[_0x1814ad(0x183)][_0x1814ad(0x1a3)](_0x1814ad(0x187),_0x45c050),this[_0x1814ad(0x183)][_0x1814ad(0x1a3)](_0x1814ad(0x1a1),_0x45c050),this[_0x1814ad(0x183)][_0x1814ad(0x1a3)](_0x1814ad(0x19c),_0x45c050),this[_0x1814ad(0x183)][_0x1814ad(0x1a3)](_0x1814ad(0x17c),_0x45c050);}[_0x21989e(0x18d)](){const _0x1c9164=_0x21989e;this[_0x1c9164(0x195)][_0x1c9164(0x18d)]();}get[_0x21989e(0x18f)](){const _0x56b37d=_0x21989e;return this[_0x56b37d(0x195)][_0x56b37d(0x18c)][_0x56b37d(0x186)][_0x56b37d(0x19b)][_0x56b37d(0x181)]();}set[_0x21989e(0x18f)](_0x20c753){const _0x28da60=_0x21989e;this[_0x28da60(0x195)][_0x28da60(0x18c)][_0x28da60(0x186)][_0x28da60(0x19b)]=_0x20c753[_0x28da60(0x181)]();}[_0x21989e(0x18a)](){const _0x152b70=_0x21989e;this[_0x152b70(0x195)][_0x152b70(0x18c)][_0x152b70(0x186)][_0x152b70(0x19b)]='',this[_0x152b70(0x195)][_0x152b70(0x19a)]=null;}[_0x21989e(0x1a5)](_0xd449e5){const _0x343849=_0x21989e,_0x3ac58f=new _0x1c0bc0(this[_0x343849(0x184)],_0x14392c),_0x35b0db=_0x3ac58f[_0x343849(0x18c)];_0x35b0db[_0x343849(0x189)]({'attributes':{'maxlength':_0x343849(0x185)}});let _0xaafb92=_0x4b5e37(this[_0x343849(0x184)],_0x343849(0x192));return!_0xd449e5&&(_0xaafb92+='\x20('+_0x4b5e37(this[_0x343849(0x184)],_0x343849(0x191))+')'),(_0x3ac58f[_0x343849(0x1a6)]=_0xaafb92,_0x35b0db['on'](_0x343849(0x198),()=>{const _0x27abd5=_0x343849;this[_0x27abd5(0x17d)]=_0x35b0db[_0x27abd5(0x186)][_0x27abd5(0x19b)][_0x27abd5(0x181)]();}),_0x3ac58f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x256f25,icons as _0x2e289b}from'ckeditor5/src/core.js';import{createDropdown as _0x1fe7d4,ButtonView as _0x171ff9,ListItemView as _0x48d65d,ListView as te,MenuBarMenuListItemButtonView as _0x2e9220,MenuBarMenuListItemView as _0x2b5af7,MenuBarMenuListView as _0x32ef35,MenuBarMenuView as _0x429878}from'ckeditor5/src/ui.js';import _0x47d380 from'../../revisiontracker.js';import _0x1bebd7 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0xe3ef61}from'../../utils/common-translations.js';export default class u extends _0x256f25{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[_0x47d380];}['init'](){const _0x3b0831=this['editor'],_0x2bf90f=_0x3b0831['plugins']['get']('RevisionTracker');_0x3b0831['ui']['componentFactory']['add']('revisionHistory',_0x311527=>{const _0x1d39b4=_0x1fe7d4(_0x311527),_0x2ee06a=_0x1d39b4['panelView']['children'],_0x48afb8=new te(_0x311527),_0x305419=new _0x48d65d(_0x311527),_0x21e9b1=new _0x171ff9(_0x311527),_0x5318ea=new _0x48d65d(_0x311527),_0x5cae8d=new _0x171ff9(_0x311527);return _0x1d39b4['bind']('isEnabled')['to'](_0x2bf90f,'isReady',_0x2bf90f,'isEnabled',_0x3b0831,'isReadOnly',(_0x310133,_0x4040f3,_0x201bd5)=>_0x310133&&_0x4040f3&&!_0x201bd5),_0x1d39b4['buttonView']['set']({'icon':_0x2e289b['history'],'label':_0xe3ef61(_0x311527,'Revision\x20history'),'tooltip':!0x0}),_0x21e9b1['set']({'label':_0xe3ef61(_0x311527,'Save\x20current\x20revision'),'withText':!0x0}),_0x21e9b1['bind']('isEnabled')['to'](_0x2bf90f,'isReady',_0x2bf90f,'isEnabled',_0x3b0831,'isReadOnly',(_0xe987c9,_0x3f3cae,_0x2c752f)=>_0xe987c9&&_0x3f3cae&&!_0x2c752f),_0x21e9b1['on']('execute',()=>this['_showDialog']()),_0x5cae8d['set']({'label':_0xe3ef61(_0x311527,'Open\x20revision\x20history'),'withText':!0x0}),_0x5cae8d['bind']('isEnabled')['to'](_0x2bf90f,'isReady',_0x3b0831,'isReadOnly',(_0x5ca9f4,_0x58cd1a)=>_0x5ca9f4&&!_0x58cd1a),_0x5cae8d['on']('execute',()=>{_0x3b0831['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x1d39b4['isOpen']=!0x1,_0x3b0831['editing']['view']['focus']();}),_0x305419['children']['add'](_0x21e9b1),_0x5318ea['children']['add'](_0x5cae8d),_0x48afb8['items']['addMany']([_0x305419,_0x5318ea]),_0x2ee06a['add'](_0x48afb8),_0x1d39b4;}),_0x3b0831['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x2910d6=this['editor'],_0xd7c0ee=_0x2910d6['locale'],_0x13c6f1=new _0x429878(_0xd7c0ee),_0x4a1a16=new _0x32ef35(_0xd7c0ee);_0x13c6f1['buttonView']['set']({'icon':_0x2e289b['history'],'label':_0xe3ef61(_0xd7c0ee,'Revision\x20history')});const _0x1dfe1d=new _0x2b5af7(_0xd7c0ee,_0x13c6f1),_0xb8c2ca=new _0x2e9220(_0xd7c0ee);_0xb8c2ca['set']({'label':_0xe3ef61(_0xd7c0ee,'Save\x20current\x20revision')}),_0xb8c2ca['delegate']('execute')['to'](_0x13c6f1),_0xb8c2ca['on']('execute',()=>{this['_showDialog']();}),_0x1dfe1d['children']['add'](_0xb8c2ca),_0x4a1a16['items']['add'](_0x1dfe1d);const _0x56c88d=new _0x2b5af7(_0xd7c0ee,_0x13c6f1),_0x57e33d=new _0x2e9220(_0xd7c0ee);return _0x57e33d['set']({'label':_0xe3ef61(_0xd7c0ee,'Open\x20revision\x20history')}),_0x57e33d['delegate']('execute')['to'](_0x13c6f1),_0x57e33d['on']('execute',()=>{_0x2910d6['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x56c88d['children']['add'](_0x57e33d),_0x4a1a16['items']['add'](_0x56c88d),_0x13c6f1['panelView']['children']['add'](_0x4a1a16),_0x13c6f1;}['_showDialog'](){const _0x2c57e0=this['editor'],_0x341e69=_0x2c57e0['locale'],t=_0x341e69['t'],_0x4201d4=_0x2c57e0['plugins']['get']('Dialog'),_0x336701=_0x2c57e0['plugins']['get']('RevisionTracker');function _0x5da108(_0x59a90e){_0x2c57e0['config']['get']('revisionHistory.requireRevisionName')&&''===_0x59a90e['revisionName']?_0x59a90e['revisionNameInputView']['errorText']=_0xe3ef61(_0x341e69,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x2c57e0['plugins']['get'](_0x47d380)['saveRevision']({'name':_0x59a90e['revisionName']}),_0x4201d4['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x5da108(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x4201d4['show']({'id':'findAndReplace','title':_0xe3ef61(_0x341e69,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x4201d4['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x5427dc){_0x5427dc['bind']('isEnabled')['to'](_0x336701,'isReady',_0x336701,'isEnabled',_0x2c57e0,'isReadOnly',(_0x4748c2,_0x143532,_0x3eccf8)=>_0x4748c2&&_0x143532&&!_0x3eccf8);},'onExecute':()=>_0x5da108(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x58a0cf=this['editor'],_0x48b2fe=_0x58a0cf['locale'];this['_saveRevisionFormView']=new _0x1bebd7(_0x48b2fe,_0x58a0cf['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18417e=_0x577e;(function(_0x5a99b0,_0x4fcfb7){const _0x7325c=_0x577e,_0x1a1de3=_0x5a99b0();while(!![]){try{const _0x18fc65=parseInt(_0x7325c(0x1ad))/0x1+parseInt(_0x7325c(0x1ba))/0x2*(parseInt(_0x7325c(0x18d))/0x3)+parseInt(_0x7325c(0x189))/0x4*(parseInt(_0x7325c(0x1b6))/0x5)+parseInt(_0x7325c(0x193))/0x6*(parseInt(_0x7325c(0x199))/0x7)+-parseInt(_0x7325c(0x1bc))/0x8*(parseInt(_0x7325c(0x18b))/0x9)+parseInt(_0x7325c(0x18a))/0xa+-parseInt(_0x7325c(0x19d))/0xb;if(_0x18fc65===_0x4fcfb7)break;else _0x1a1de3['push'](_0x1a1de3['shift']());}catch(_0x463735){_0x1a1de3['push'](_0x1a1de3['shift']());}}}(_0x1595,0x4efa4));function _0x577e(_0x4779a8,_0x858695){const _0x159576=_0x1595();return _0x577e=function(_0x577ed3,_0x4f6149){_0x577ed3=_0x577ed3-0x176;let _0x35ee01=_0x159576[_0x577ed3];return _0x35ee01;},_0x577e(_0x4779a8,_0x858695);}import{Plugin as _0x2821e0}from'ckeditor5/src/core.js';import _0x50d5e1 from'./revisionssidebarview.js';import _0x3d58de from'../../revisionviewer.js';export default class w extends _0x2821e0{static get[_0x18417e(0x178)](){const _0x46f3a1=_0x18417e;return _0x46f3a1(0x1c7);}static get[_0x18417e(0x185)](){return[_0x3d58de];}constructor(_0x3217b7){const _0x339fbc=_0x18417e;super(_0x3217b7),this[_0x339fbc(0x1ab)]=_0x3217b7[_0x339fbc(0x186)][_0x339fbc(0x1c3)](_0x3d58de),this[_0x339fbc(0x1c1)]=this[_0x339fbc(0x1ab)][_0x339fbc(0x1a7)],this[_0x339fbc(0x1bb)]=null;}[_0x18417e(0x1a0)](){const _0x48020a=_0x18417e,_0x4a5787=this[_0x48020a(0x1c1)][_0x48020a(0x1a1)],_0x3d25bf=this[_0x48020a(0x192)](),_0x501c8c=this[_0x48020a(0x1c2)][_0x48020a(0x191)][_0x48020a(0x1c3)](_0x48020a(0x1b5));this[_0x48020a(0x1bb)]=new _0x50d5e1(this[_0x48020a(0x1c2)][_0x48020a(0x181)],_0x4a5787,_0x3d25bf,this[_0x48020a(0x1c2)][_0x48020a(0x191)][_0x48020a(0x1c3)](_0x48020a(0x19f))),this[_0x48020a(0x1bb)]['on'](_0x48020a(0x1c6),this[_0x48020a(0x1c4)][_0x48020a(0x194)](this)),this[_0x48020a(0x1bb)]['on'](_0x48020a(0x1bd),this[_0x48020a(0x1b4)][_0x48020a(0x194)](this)),this[_0x48020a(0x1bb)][_0x48020a(0x194)](_0x48020a(0x17f))['to'](this[_0x48020a(0x1ab)]),this[_0x48020a(0x1bb)][_0x48020a(0x1b3)]['on'](_0x48020a(0x17b),(_0x1bf1c0,_0x252e1a)=>{const _0x5324b0=_0x48020a;_0x252e1a[_0x5324b0(0x18e)]['on'](_0x5324b0(0x17b),(_0x5b66a1,_0xb384ef)=>{const _0x2ae994=_0x5324b0;_0xb384ef[_0x2ae994(0x194)](_0x2ae994(0x17f),_0x2ae994(0x1a5))['to'](this[_0x2ae994(0x1ab)]);});}),this[_0x48020a(0x1bb)][_0x48020a(0x182)](),this[_0x48020a(0x1b2)](this[_0x48020a(0x1c2)][_0x48020a(0x1a2)],_0x48020a(0x180),this[_0x48020a(0x1af)][_0x48020a(0x194)](this)),this[_0x48020a(0x1b2)](this[_0x48020a(0x1ab)],_0x48020a(0x1a3),this[_0x48020a(0x1b1)][_0x48020a(0x194)](this)),_0x501c8c[_0x48020a(0x17a)](this[_0x48020a(0x1bb)][_0x48020a(0x17e)]);}[_0x18417e(0x17d)](){const _0x46e5f5=_0x18417e;this[_0x46e5f5(0x1bb)][_0x46e5f5(0x17e)][_0x46e5f5(0x195)](),this[_0x46e5f5(0x1bb)][_0x46e5f5(0x17d)]();}[_0x18417e(0x1af)](){const _0x5129c2=_0x18417e,_0x1bb925=this[_0x5129c2(0x1c1)][_0x5129c2(0x17c)](0x0);if(_0x1bb925){const _0x352d24=this[_0x5129c2(0x1c1)][_0x5129c2(0x19e)](_0x1bb925['id']);this[_0x5129c2(0x1ab)][_0x5129c2(0x1c0)](_0x1bb925,_0x352d24);}}[_0x18417e(0x1c4)](_0x175dfb,_0x978dee){const _0x2cf3f2=_0x18417e,_0x375b68=this[_0x2cf3f2(0x1c1)][_0x2cf3f2(0x17c)](_0x978dee['id']),_0x2c2153=this[_0x2cf3f2(0x1c1)][_0x2cf3f2(0x19e)](_0x375b68['id']);this[_0x2cf3f2(0x1ab)][_0x2cf3f2(0x1c0)](_0x375b68,_0x2c2153);}[_0x18417e(0x1b4)](_0x1f1c3d,_0x174d5f){const _0x1a31eb=_0x18417e;this[_0x1a31eb(0x1c1)][_0x1a31eb(0x17c)](_0x174d5f['id'])[_0x1a31eb(0x1a8)](_0x174d5f[_0x1a31eb(0x1a6)]);}[_0x18417e(0x1b1)](_0x4fd3b8,_0x20d384,_0xae591b){const _0x5f3320=_0x18417e,_0x5835ec=this[_0x5f3320(0x1c1)][_0x5f3320(0x1ae)](_0xae591b);_0x5835ec[_0x5f3320(0x197)]>0x2?(this[_0x5f3320(0x1bb)][_0x5f3320(0x1bf)](_0x5835ec),this[_0x5f3320(0x1bb)][_0x5f3320(0x179)](null)):(this[_0x5f3320(0x1bb)][_0x5f3320(0x1bf)]([]),this[_0x5f3320(0x1bb)][_0x5f3320(0x179)](_0x5835ec[0x0]));}[_0x18417e(0x192)](){const _0x12d58a=_0x18417e,_0x25d4d5=this[_0x12d58a(0x1c2)],_0x5ccf70=w[_0x12d58a(0x1a9)],_0x22a930=_0x25d4d5[_0x12d58a(0x191)][_0x12d58a(0x1c3)](_0x12d58a(0x1b8))||w[_0x12d58a(0x19a)];if(_0x22a930[_0x12d58a(0x197)])return _0x22a930[_0x12d58a(0x1ac)](_0x6ed476=>{const _0x5a96a6=_0x12d58a,_0xdf0164=_0x5a96a6(0x196)==typeof _0x6ed476?Object[_0x5a96a6(0x19b)]({},_0x5ccf70[_0x6ed476]):_0x6ed476;return _0xdf0164[_0x5a96a6(0x1b0)]=_0xdf0164[_0x5a96a6(0x1b0)][_0x5a96a6(0x194)](this,_0x25d4d5),_0xdf0164[_0x5a96a6(0x18f)]&&(_0xdf0164[_0x5a96a6(0x18f)]=_0xdf0164[_0x5a96a6(0x18f)][_0x5a96a6(0x194)](this,_0x25d4d5)),_0xdf0164;});}}w[_0x18417e(0x1a9)]={'compareAgainstSelected':{'name':_0x18417e(0x177),'action':({plugins:_0x3dd632},_0x3c778a)=>{const _0x23aa98=_0x18417e,_0x2a185b=_0x3dd632[_0x23aa98(0x1c3)](_0x3d58de),_0x4456e7=_0x2a185b[_0x23aa98(0x1a7)];let _0x287195=_0x2a185b[_0x23aa98(0x190)][_0x23aa98(0x176)],_0x10d33d=_0x3c778a['id'];_0x4456e7[_0x23aa98(0x184)](_0x287195)>_0x4456e7[_0x23aa98(0x184)](_0x10d33d)&&([_0x287195,_0x10d33d]=[_0x10d33d,_0x287195]),_0x2a185b[_0x23aa98(0x1c0)](_0x287195,_0x10d33d);},'isVisible':({plugins:_0x575de9},_0x55489b)=>{const _0x16edea=_0x18417e,_0x271644=_0x575de9[_0x16edea(0x1c3)](_0x3d58de);return!(_0x271644[_0x16edea(0x1a7)][_0x16edea(0x1ae)](_0x271644[_0x16edea(0x190)])[_0x16edea(0x197)]>0x2)&&!_0x55489b[_0x16edea(0x1b7)];}},'restoreRevision':{'name':_0x18417e(0x187),'action':(_0x504171,{id:_0xad87e})=>{const _0x9adb97=_0x18417e;_0x504171[_0x9adb97(0x191)][_0x9adb97(0x1c3)](_0x9adb97(0x1be))[_0x9adb97(0x18c)](_0xad87e);},'isVisible':({plugins:_0x11e584},_0x13e4dd)=>!!_0x11e584[_0x18417e(0x1c3)](_0x3d58de)[_0x18417e(0x1a7)][_0x18417e(0x183)](_0x13e4dd['id'])},'nameRevision':{'name':_0x18417e(0x1a4),'action':({plugins:_0x2ee891},{id:_0x5f3677,revisionNameView:_0x4a94e9})=>{const _0x15b6a8=_0x18417e,_0x10019d=_0x2ee891[_0x15b6a8(0x1c3)](_0x3d58de),_0x2e2905=_0x10019d[_0x15b6a8(0x1a7)][_0x15b6a8(0x19e)](_0x5f3677);_0x10019d[_0x15b6a8(0x1c0)](_0x5f3677,_0x2e2905),_0x4a94e9[_0x15b6a8(0x1aa)](),_0x4a94e9[_0x15b6a8(0x19c)][_0x15b6a8(0x1b9)]();}}},w[_0x18417e(0x19a)]=[_0x18417e(0x1c5),_0x18417e(0x198),_0x18417e(0x188)];function _0x1595(){const _0x314a8b=['string','length','restoreRevision','7kkNrdw','defaultRevisionActions','assign','fieldView','8710405gVRTtL','getEarlierVisibleRevision','revisionHistory.requireRevisionName','init','_revisions','data','change:diff','Name\x20this\x20revision','isReady','name','repository','setName','availableRevisionActions','focus','_revisionViewer','map','357371BcQCzZ','getRevisionsInDiff','_handleEditorDataReady','action','_handleDiffChange','listenTo','timePeriodViews','_handleRevisionSetName','revisionHistory.viewerSidebarContainer','255235NbjsEK','isSelected','revisionHistory.revisionActions','select','2JOPCkh','_sidebarView','107672Eaxyzj','revisionSetName','revisionHistory','highlightRevisions','compare','_revisionsRepository','editor','get','_handleRevisionSelected','compareAgainstSelected','revisionSelected','RevisionsSidebar','newRevisionId','Compare\x20against\x20selected','pluginName','selectRevision','appendChild','add','getRevision','destroy','element','isEnabled','ready','locale','render','getLaterVisibleRevision','getIndex','requires','plugins','Restore\x20this\x20revision','nameRevision','4xaQIKx','3057080NvAlMK','9OoDkUo','restoreRevisionCallback','517359xiLIXT','revisionViews','isVisible','diff','config','_createRevisionActions','1453362ujjRwt','bind','remove'];_0x1595=function(){return _0x314a8b;};return _0x1595();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2ada33,_0x2437ce){const _0x414ce0=_0x30bb,_0x563ab1=_0x2ada33();while(!![]){try{const _0x2968a6=-parseInt(_0x414ce0(0xb5))/0x1+parseInt(_0x414ce0(0xb0))/0x2+parseInt(_0x414ce0(0xab))/0x3+parseInt(_0x414ce0(0xac))/0x4+-parseInt(_0x414ce0(0xb8))/0x5+parseInt(_0x414ce0(0xb2))/0x6+-parseInt(_0x414ce0(0xb4))/0x7;if(_0x2968a6===_0x2437ce)break;else _0x563ab1['push'](_0x563ab1['shift']());}catch(_0x5ae73f){_0x563ab1['push'](_0x563ab1['shift']());}}}(_0x3d1b,0xa9a0e));import{View as _0x2ea657,IconView as _0x27be6f}from'ckeditor5/src/ui.js';import{getTranslation as _0x450289}from'../../utils/common-translations.js';import{icons as _0x5d1d5b}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';function _0x30bb(_0x4f758d,_0x45fa6d){const _0x3d1b16=_0x3d1b();return _0x30bb=function(_0x30bb27,_0x42186b){_0x30bb27=_0x30bb27-0xaa;let _0x219e6e=_0x3d1b16[_0x30bb27];return _0x219e6e;},_0x30bb(_0x4f758d,_0x45fa6d);}export default class as extends _0x2ea657{constructor(_0xdda3a3){const _0x71ac2d=_0x30bb;super(_0xdda3a3);const _0xf34660=new _0x27be6f();_0xf34660[_0x71ac2d(0xaa)]=_0x5d1d5b[_0x71ac2d(0xb1)],this[_0x71ac2d(0xb7)]({'tag':_0x71ac2d(0xae),'attributes':{'class':['ck',_0x71ac2d(0xb6),_0x71ac2d(0xaf)]},'children':[_0xf34660,{'tag':_0x71ac2d(0xb3),'attributes':{'class':['ck',_0x71ac2d(0xad)]},'children':[_0x450289(_0xdda3a3,_0x71ac2d(0xb9))]}]});}}function _0x3d1b(){const _0x3e63f2=['2836996amfCYA','ck-revision-history-sidebar__header__label','div','ck-revision-history-sidebar__header','2188420pnPLlU','history','8111826iJiTRj','span','13747251JIyIxI','1210921mErxZQ','ck-reset_all','setTemplate','1591810USZiYX','Revision\x20history','content','3097632QTnDGM'];_0x3d1b=function(){return _0x3e63f2;};return _0x3d1b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x323042=_0x261e;function _0x261e(_0x21b2ab,_0x4d75d0){const _0x38e917=_0x38e9();return _0x261e=function(_0x261e78,_0x4374f8){_0x261e78=_0x261e78-0x104;let _0x1696b7=_0x38e917[_0x261e78];return _0x1696b7;},_0x261e(_0x21b2ab,_0x4d75d0);}(function(_0x2c1315,_0x1b4f34){const _0x269cd0=_0x261e,_0xf7bf35=_0x2c1315();while(!![]){try{const _0x1954b0=-parseInt(_0x269cd0(0x120))/0x1*(-parseInt(_0x269cd0(0x117))/0x2)+-parseInt(_0x269cd0(0x106))/0x3+-parseInt(_0x269cd0(0x11c))/0x4*(parseInt(_0x269cd0(0x115))/0x5)+parseInt(_0x269cd0(0x124))/0x6*(parseInt(_0x269cd0(0x116))/0x7)+parseInt(_0x269cd0(0x123))/0x8+-parseInt(_0x269cd0(0x113))/0x9*(-parseInt(_0x269cd0(0x10d))/0xa)+parseInt(_0x269cd0(0x11d))/0xb;if(_0x1954b0===_0x1b4f34)break;else _0xf7bf35['push'](_0xf7bf35['shift']());}catch(_0x291d4c){_0xf7bf35['push'](_0xf7bf35['shift']());}}}(_0x38e9,0x70a7c));import{View as _0x2b9ff3}from'ckeditor5/src/ui.js';function _0x38e9(){const _0x317582=['remove','uiLanguage','828KoAFJd','setTemplate','3454855EgQFbu','2996OJcpMj','134ZeOGEQ','delegate','ck-revision-history-sidebar__time-period__label','localizedPeriodName','_requireRevisionName','4abdOAE','9947927WzGhMf','revisionViews','ck-revision-history-sidebar__time-period','6151eyRlEZ','select','add','1262192SqFEbO','834dQjpOt','find','ck-revision-history-sidebar__time-period__revisions','2349015fDvRmX','setName','startDate','removeRevision','span','div','locale','43660EMZhNm','addRevision','createCollection','_revisionActions'];_0x38e9=function(){return _0x317582;};return _0x38e9();}import _0x22d747 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x8da742}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class mi extends _0x2b9ff3{constructor(_0x3a4741,_0x313a14,_0x990da5,_0x435b74){const _0x5d6080=_0x261e;super(_0x3a4741);const _0x53fdc6=_0x8da742(_0x313a14,this[_0x5d6080(0x10c)][_0x5d6080(0x112)])[_0x5d6080(0x11a)];this[_0x5d6080(0x108)]=_0x313a14,this[_0x5d6080(0x11e)]=this[_0x5d6080(0x10f)](),this[_0x5d6080(0x110)]=_0x990da5,this[_0x5d6080(0x11b)]=_0x435b74,this[_0x5d6080(0x11e)][_0x5d6080(0x118)](_0x5d6080(0x121))['to'](this),this[_0x5d6080(0x11e)][_0x5d6080(0x118)](_0x5d6080(0x107))['to'](this),this[_0x5d6080(0x114)]({'tag':_0x5d6080(0x10b),'attributes':{'class':['ck',_0x5d6080(0x11f)]},'children':[{'tag':_0x5d6080(0x10a),'attributes':{'class':['ck',_0x5d6080(0x119)]},'children':[{'text':_0x53fdc6}]},{'tag':_0x5d6080(0x10b),'attributes':{'class':['ck',_0x5d6080(0x105)]},'children':this[_0x5d6080(0x11e)]}]});}[_0x323042(0x10e)](_0x3fd47c){const _0x57d8b2=_0x323042,_0x399d24=new _0x22d747(this[_0x57d8b2(0x10c)],_0x3fd47c,this[_0x57d8b2(0x110)],this[_0x57d8b2(0x11b)]);this[_0x57d8b2(0x11e)][_0x57d8b2(0x122)](_0x399d24);}[_0x323042(0x109)](_0x44431d){const _0x3dca94=_0x323042,_0x2b802a=this[_0x3dca94(0x11e)][_0x3dca94(0x104)](_0x57ca4b=>_0x57ca4b['id']===_0x44431d['id']);this[_0x3dca94(0x11e)][_0x3dca94(0x111)](_0x2b802a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f9365=_0x1d8b;(function(_0x263d33,_0x57ef37){const _0x4ab449=_0x1d8b,_0x56f24a=_0x263d33();while(!![]){try{const _0x452216=parseInt(_0x4ab449(0xdd))/0x1+parseInt(_0x4ab449(0xca))/0x2+-parseInt(_0x4ab449(0xf1))/0x3+parseInt(_0x4ab449(0xcf))/0x4+parseInt(_0x4ab449(0xe1))/0x5*(parseInt(_0x4ab449(0xe8))/0x6)+parseInt(_0x4ab449(0xc5))/0x7*(-parseInt(_0x4ab449(0xd2))/0x8)+-parseInt(_0x4ab449(0xe4))/0x9;if(_0x452216===_0x57ef37)break;else _0x56f24a['push'](_0x56f24a['shift']());}catch(_0x1ca6b0){_0x56f24a['push'](_0x56f24a['shift']());}}}(_0x11b9,0x1f1ab));import{View as _0x1ac28b}from'ckeditor5/src/ui.js';import _0x569386 from'./revisionssidebartimeperiodview.js';function _0x1d8b(_0xe42447,_0x111d24){const _0x11b9df=_0x11b9();return _0x1d8b=function(_0x1d8bf3,_0xb45294){_0x1d8bf3=_0x1d8bf3-0xc1;let _0x339506=_0x11b9df[_0x1d8bf3];return _0x339506;},_0x1d8b(_0xe42447,_0x111d24);}import _0x5ad37b from'./revisionssidebarheaderview.js';function _0x11b9(){const _0x4826fd=['highlight','some','499876ukGsIQ','set','highlightRevisions','_addRevision','_requireRevisionName','589748RlWbkG','select','ck-revision-history-sidebar__timeline','8LSNHsk','div','_getTimePeriodViewByStartDate','selectRevision','revisionSelected','revisionViews','remove','getTime','removeRevision','bindTemplate','ck-disabled','5642psVtJK','ck-reset','get','unhighlight','5aJsmwk','startDate','setTemplate','499338smkSaw','ck-rounded-corners','_revisions','ck-revision-history-sidebar','157494NxWiPV','setName','_revisionActions','isEnabled','fire','createCollection','deselect','add','delegate','650652ISIiUd','locale','revisionSetName','map','find','_removeRevision','addRevision','createdAt','timePeriodViews','flat','206479OQrGJx','render','uiLanguage'];_0x11b9=function(){return _0x4826fd;};return _0x11b9();}import{getDateTimePeriodInfo as _0x2facd8}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ci extends _0x1ac28b{constructor(_0x173767,_0x3d6358,_0x49a31f,_0x26ff6b){const _0x1abcbc=_0x1d8b;super(_0x173767);const _0xc7f3fa=this[_0x1abcbc(0xdb)];this[_0x1abcbc(0xc3)]=this[_0x1abcbc(0xed)](),this[_0x1abcbc(0xc3)][_0x1abcbc(0xf0)](_0x1abcbc(0xd0))['to'](this),this[_0x1abcbc(0xc3)][_0x1abcbc(0xf0)](_0x1abcbc(0xe9))['to'](this),this[_0x1abcbc(0xe6)]=_0x3d6358,this[_0x1abcbc(0xea)]=_0x49a31f,this[_0x1abcbc(0xce)]=_0x26ff6b,this['on'](_0x1abcbc(0xd0),(_0xffa1ba,_0x2ffa72)=>{const _0x302986=_0x1abcbc;this[_0x302986(0xec)](_0x302986(0xd6),_0x2ffa72);}),this['on'](_0x1abcbc(0xe9),(_0xf3689d,_0x13aa52)=>{const _0x45a171=_0x1abcbc;this[_0x45a171(0xec)](_0x45a171(0xf3),_0x13aa52);}),this[_0x1abcbc(0xcb)](_0x1abcbc(0xeb),!0x1),this[_0x1abcbc(0xe3)]({'tag':_0x1abcbc(0xd3),'attributes':{'class':['ck',_0x1abcbc(0xde),_0x1abcbc(0xe5),_0x1abcbc(0xe7)]},'children':[new _0x5ad37b(_0x173767),{'tag':_0x1abcbc(0xd3),'attributes':{'class':['ck',_0x1abcbc(0xd1),_0xc7f3fa['if'](_0x1abcbc(0xeb),_0x1abcbc(0xdc),_0x2fbae9=>!_0x2fbae9)]},'children':this[_0x1abcbc(0xc3)]}]});}[_0x4f9365(0xc6)](){const _0x2745c1=_0x4f9365;super[_0x2745c1(0xc6)]();for(const _0x7d45f5 of this[_0x2745c1(0xe6)])this[_0x2745c1(0xcd)](_0x7d45f5);this[_0x2745c1(0xe6)]['on'](_0x2745c1(0xef),(_0x6fa9f8,_0x461e03)=>{const _0x236ea2=_0x2745c1;this[_0x236ea2(0xcd)](_0x461e03);}),this[_0x2745c1(0xe6)]['on'](_0x2745c1(0xd8),(_0x95cf9f,_0x22a584)=>{const _0x41d216=_0x2745c1;this[_0x41d216(0xf6)](_0x22a584);});}get[_0x4f9365(0xd7)](){const _0x5879de=_0x4f9365;return this[_0x5879de(0xc3)][_0x5879de(0xf4)](_0x1253f5=>_0x1253f5[_0x5879de(0xd7)][_0x5879de(0xf4)](_0x57ad85=>_0x57ad85))[_0x5879de(0xc4)]();}[_0x4f9365(0xd5)](_0x38970c){const _0xbe0fa9=_0x4f9365;for(const _0xff2acb of this[_0xbe0fa9(0xd7)])_0x38970c&&_0x38970c['id']===_0xff2acb['id']?_0xff2acb[_0xbe0fa9(0xd0)]():_0xff2acb[_0xbe0fa9(0xee)]();}[_0x4f9365(0xcc)](_0x2e1c78){const _0x1b1c3a=_0x4f9365;for(const _0x5ec45e of this[_0x1b1c3a(0xd7)])_0x2e1c78[_0x1b1c3a(0xc9)](({id:_0x4ffe15})=>_0x4ffe15===_0x5ec45e['id'])?_0x5ec45e[_0x1b1c3a(0xc8)]():_0x5ec45e[_0x1b1c3a(0xe0)]();}[_0x4f9365(0xcd)](_0x45a650){const _0x41bce2=_0x4f9365,_0x22c3dd=_0x2facd8(_0x45a650[_0x41bce2(0xc2)],this[_0x41bce2(0xf2)][_0x41bce2(0xc7)])[_0x41bce2(0xe2)];let _0x26b0e1=this[_0x41bce2(0xc3)][_0x41bce2(0xdf)](0x0);_0x26b0e1&&_0x26b0e1[_0x41bce2(0xe2)][_0x41bce2(0xd9)]()===_0x22c3dd[_0x41bce2(0xd9)]()||(_0x26b0e1=new _0x569386(this[_0x41bce2(0xf2)],_0x22c3dd,this[_0x41bce2(0xea)],this[_0x41bce2(0xce)]),this[_0x41bce2(0xc3)][_0x41bce2(0xef)](_0x26b0e1)),_0x26b0e1[_0x41bce2(0xc1)](_0x45a650);}[_0x4f9365(0xf6)](_0x4c0613){const _0x421873=_0x4f9365,_0x1a6182=_0x2facd8(_0x4c0613[_0x421873(0xc2)],this[_0x421873(0xf2)][_0x421873(0xc7)])[_0x421873(0xe2)];this[_0x421873(0xd4)](_0x1a6182)[_0x421873(0xda)](_0x4c0613);}[_0x4f9365(0xd4)](_0x16654d){const _0x316077=_0x4f9365;return this[_0x316077(0xc3)][_0x316077(0xf5)](_0x3255e2=>_0x3255e2[_0x316077(0xe2)][_0x316077(0xd9)]()===_0x16654d[_0x316077(0xd9)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4e3a(){const _0x305e69=['minus','startOf','week','2573625bBOCxV','148440yncEAy','hasSame','3244131pnRMrE','local','toRelativeCalendar','setLocale','6880671sNPmmG','6dVhfUT','year','weekdayLong','6584LJmxTK','9961qHUnll','fromJSDate','276572rJIxNs','monthLong','day','month','2106796sLoAWB','toJSDate'];_0x4e3a=function(){return _0x305e69;};return _0x4e3a();}function _0x37dd(_0x135cd3,_0xcbd406){const _0x4e3a2b=_0x4e3a();return _0x37dd=function(_0x37dd84,_0x3b6408){_0x37dd84=_0x37dd84-0x15a;let _0x3817b0=_0x4e3a2b[_0x37dd84];return _0x3817b0;},_0x37dd(_0x135cd3,_0xcbd406);}(function(_0x3ac89b,_0x52ee0e){const _0x3caab9=_0x37dd,_0x50806f=_0x3ac89b();while(!![]){try{const _0x1b39c7=parseInt(_0x3caab9(0x163))/0x1*(-parseInt(_0x3caab9(0x169))/0x2)+parseInt(_0x3caab9(0x15e))/0x3+-parseInt(_0x3caab9(0x16d))/0x4+parseInt(_0x3caab9(0x15b))/0x5+parseInt(_0x3caab9(0x15c))/0x6+-parseInt(_0x3caab9(0x167))/0x7*(-parseInt(_0x3caab9(0x166))/0x8)+-parseInt(_0x3caab9(0x162))/0x9;if(_0x1b39c7===_0x52ee0e)break;else _0x50806f['push'](_0x50806f['shift']());}catch(_0x53ce9a){_0x50806f['push'](_0x50806f['shift']());}}}(_0x4e3a,0xa3d3d));import{DateTime as _0x21783e}from'luxon';export function getDateTimePeriodInfo(_0x47a299,_0x279ec6){const _0x5705f5=_0x37dd,_0x1556f8=_0x21783e[_0x5705f5(0x168)](_0x47a299)[_0x5705f5(0x161)](_0x279ec6),_0x4d0976=_0x21783e[_0x5705f5(0x15f)](),_0x2c61ed=_0x4d0976[_0x5705f5(0x16f)]({'days':0x1})[_0x5705f5(0x170)](_0x5705f5(0x16b));let _0x10329d,_0x475542;return _0x1556f8[_0x5705f5(0x15d)](_0x4d0976,_0x5705f5(0x16b))?(_0x10329d=_0x1556f8[_0x5705f5(0x170)](_0x5705f5(0x16b))[_0x5705f5(0x16e)](),_0x475542=_0x1556f8[_0x5705f5(0x160)]()):_0x1556f8[_0x5705f5(0x15d)](_0x2c61ed,_0x5705f5(0x16b))?(_0x10329d=_0x2c61ed[_0x5705f5(0x16e)](),_0x475542=_0x1556f8[_0x5705f5(0x160)]()):_0x1556f8[_0x5705f5(0x15d)](_0x4d0976,_0x5705f5(0x15a))?(_0x10329d=_0x1556f8[_0x5705f5(0x170)](_0x5705f5(0x15a))[_0x5705f5(0x16e)](),_0x475542=_0x1556f8[_0x5705f5(0x165)]||''):_0x1556f8[_0x5705f5(0x15d)](_0x4d0976,_0x5705f5(0x164))?(_0x10329d=_0x1556f8[_0x5705f5(0x170)](_0x5705f5(0x16c))[_0x5705f5(0x16e)](),_0x475542=_0x1556f8[_0x5705f5(0x16a)]||''):(_0x10329d=_0x1556f8[_0x5705f5(0x170)](_0x5705f5(0x164))[_0x5705f5(0x16e)](),_0x475542=String(_0x1556f8[_0x5705f5(0x164)])),{'startDate':_0x10329d,'localizedPeriodName':_0x475542};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5629d0=_0x1a89;function _0x2d90(){const _0x433596=['isSuggestion','Removed\x20by','ck-revision-change__','33784RxzolR','Suggested\x20by','set','focus','978600UUajJN','data','div','add','484110mYGgPH','ck-revision-change','name','element','243gUfAns','type','40302GGqyNX','span','Added\x20by','setTemplate','ck-annotation','changeId','314361OxQBoL','_model','2PIOole','50826xXmtIA','bindTemplate','985080GUlLMR','author','ck-revision-change__label','14BsfpMl','130IljrPE'];_0x2d90=function(){return _0x433596;};return _0x2d90();}(function(_0xd01204,_0x17c006){const _0x10c226=_0x1a89,_0x4c7725=_0xd01204();while(!![]){try{const _0x393ff6=parseInt(_0x10c226(0x1e0))/0x1+parseInt(_0x10c226(0x1df))/0x2*(parseInt(_0x10c226(0x1dd))/0x3)+parseInt(_0x10c226(0x1c1))/0x4+parseInt(_0x10c226(0x1cd))/0x5+parseInt(_0x10c226(0x1d7))/0x6*(-parseInt(_0x10c226(0x1c4))/0x7)+-parseInt(_0x10c226(0x1c9))/0x8*(-parseInt(_0x10c226(0x1d5))/0x9)+-parseInt(_0x10c226(0x1c5))/0xa*(parseInt(_0x10c226(0x1d1))/0xb);if(_0x393ff6===_0x17c006)break;else _0x4c7725['push'](_0x4c7725['shift']());}catch(_0x4e9743){_0x4c7725['push'](_0x4c7725['shift']());}}}(_0x2d90,0x1ec6c));import{View as _0x210028}from'ckeditor5/src/ui.js';import{getTranslation as _0x3c6ebd}from'../../utils/common-translations.js';function _0x1a89(_0x286955,_0x120c3e){const _0x2d9008=_0x2d90();return _0x1a89=function(_0x1a8964,_0x52582a){_0x1a8964=_0x1a8964-0x1c0;let _0x793e8c=_0x2d9008[_0x1a8964];return _0x793e8c;},_0x1a89(_0x286955,_0x120c3e);}export default class Z extends _0x210028{constructor(_0x24793a,_0x1e5ec5){const _0x36c864=_0x1a89;super(_0x24793a),this[_0x36c864(0x1de)]=_0x1e5ec5,this[_0x36c864(0x1dc)]=_0x1e5ec5['id'];const _0xad65c6=this[_0x36c864(0x1c0)],_0xd14a2=_0x3c6ebd(_0x24793a,_0x1e5ec5[_0x36c864(0x1ce)][_0x36c864(0x1c6)]?_0x36c864(0x1ca):_0x36c864(0x1d0)==_0x1e5ec5[_0x36c864(0x1d6)]?_0x36c864(0x1d9):_0x36c864(0x1c7));this[_0x36c864(0x1cb)](_0x36c864(0x1d6),_0x1e5ec5[_0x36c864(0x1d6)]),this[_0x36c864(0x1da)]({'tag':_0x36c864(0x1cf),'attributes':{'class':[_0x36c864(0x1db),_0x36c864(0x1d2),_0xad65c6['to'](_0x36c864(0x1d6),_0x5d80d4=>_0x36c864(0x1c8)+_0x5d80d4)],'tabindex':-0x1},'children':[{'tag':_0x36c864(0x1d8),'children':[{'tag':_0x36c864(0x1d8),'attributes':{'class':[_0x36c864(0x1c3)]},'children':[{'text':_0xd14a2}]},{'text':'\x20'+_0x1e5ec5[_0x36c864(0x1c2)][_0x36c864(0x1d3)]}]}]});}[_0x5629d0(0x1cc)](){const _0x4ba15b=_0x5629d0;this[_0x4ba15b(0x1d4)][_0x4ba15b(0x1cc)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5c6e00,_0x521d3b){const _0x3c7559=_0x300e,_0x47711e=_0x5c6e00();while(!![]){try{const _0x18080f=-parseInt(_0x3c7559(0x13c))/0x1*(parseInt(_0x3c7559(0x11a))/0x2)+parseInt(_0x3c7559(0x11f))/0x3+-parseInt(_0x3c7559(0x133))/0x4+parseInt(_0x3c7559(0x125))/0x5*(-parseInt(_0x3c7559(0x13b))/0x6)+-parseInt(_0x3c7559(0x143))/0x7+parseInt(_0x3c7559(0x11e))/0x8+parseInt(_0x3c7559(0x137))/0x9*(parseInt(_0x3c7559(0x12d))/0xa);if(_0x18080f===_0x521d3b)break;else _0x47711e['push'](_0x47711e['shift']());}catch(_0x2f6ee3){_0x47711e['push'](_0x47711e['shift']());}}}(_0x1476,0xe98b2));function _0x1476(){const _0x32874d=['5366508cOGHPz','set','ck-revision-history-ui__changes-navigation__navigation','currentChangeNumber','9OnVPLr','ck-revision-history-ui__changes-navigation__label','isNavigationMode','EDIT_X_OF_Y_REVISIONS','60iDOPJj','1IYafDh','ck-revision-history-ui','No\x20changes','Show\x20previous\x20change','isBackwardNavigationEnabled','isForwardNavigationEnabled','isReady','2420278SYrAVI','Loading...','973858YMTMjR','ck-hidden','fire','ck-revision-history-ui__changes-navigation__wrapper','3953320eCZpbi','1382643LWJVyj','forward','div','setTemplate','ck-revision-history-ui__changes-navigation','bind','944105giGUvL','_isStatusLabelVisible','X_OF_Y_CHANGES','Show\x20next\x20change','numberOfChanges','span','bindTemplate','NUMBER_OF_CHANGES','40640680TXErKK','backward','_statusText','Total','isEnabled','execute'];_0x1476=function(){return _0x32874d;};return _0x1476();}function _0x300e(_0x4b51b3,_0x46751f){const _0x1476e7=_0x1476();return _0x300e=function(_0x300e89,_0xd25c8b){_0x300e89=_0x300e89-0x11a;let _0x308bd9=_0x1476e7[_0x300e89];return _0x308bd9;},_0x300e(_0x4b51b3,_0x46751f);}import{View as _0x1c86a3,ButtonView as _0x300ff3,ToolbarSeparatorView as _0x3e8f8f}from'ckeditor5/src/ui.js';import{getTranslation as _0x3cb76b}from'../../utils/common-translations.js';import _0x11f274 from'../../../theme/icons/arrow-up.svg';import _0x4eb869 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class _i extends _0x1c86a3{constructor(_0x3458f5){const _0x277d10=_0x300e;super(_0x3458f5);const _0x2ede11=this[_0x277d10(0x12b)],_0x410352=new _0x300ff3(_0x3458f5),_0x22001a=new _0x300ff3(_0x3458f5);this[_0x277d10(0x134)](_0x277d10(0x139),!0x1),this[_0x277d10(0x134)](_0x277d10(0x142),!0x1),this[_0x277d10(0x134)](_0x277d10(0x136),0x0),this[_0x277d10(0x134)](_0x277d10(0x129),0x0),this[_0x277d10(0x134)](_0x277d10(0x141),!0x1),this[_0x277d10(0x134)](_0x277d10(0x140),!0x1),this[_0x277d10(0x124)](_0x277d10(0x126))['to'](this,_0x277d10(0x142),this,_0x277d10(0x129),(_0x74c0c6,_0x2dcc8d)=>_0x74c0c6&&_0x2dcc8d>0x0),this[_0x277d10(0x124)](_0x277d10(0x12f))['to'](this,_0x277d10(0x142),this,_0x277d10(0x136),this,_0x277d10(0x129),this,_0x277d10(0x139),(_0x54f2ca,_0x45c7a2,_0x18e73e,_0x33987c)=>{const _0x124b7b=_0x277d10;if(!_0x54f2ca)return _0x3cb76b(_0x3458f5,_0x124b7b(0x144));if(!_0x18e73e)return _0x3cb76b(_0x3458f5,_0x124b7b(0x13e));const _0x26b93e=_0x3cb76b(_0x3458f5,_0x124b7b(0x12c),_0x18e73e);return _0x33987c?_0x3cb76b(_0x3458f5,_0x124b7b(0x127),[_0x45c7a2+0x1,_0x18e73e]):_0x26b93e;}),_0x410352[_0x277d10(0x134)]({'label':_0x3cb76b(_0x3458f5,_0x277d10(0x13f)),'tooltip':!0x0,'icon':_0x11f274}),_0x22001a[_0x277d10(0x134)]({'label':_0x3cb76b(_0x3458f5,_0x277d10(0x128)),'tooltip':!0x0,'icon':_0x4eb869}),_0x410352[_0x277d10(0x124)](_0x277d10(0x131))['to'](this,_0x277d10(0x140)),_0x22001a[_0x277d10(0x124)](_0x277d10(0x131))['to'](this,_0x277d10(0x141)),_0x410352['on'](_0x277d10(0x132),()=>this[_0x277d10(0x11c)](_0x277d10(0x132),_0x277d10(0x12e))),_0x22001a['on'](_0x277d10(0x132),()=>this[_0x277d10(0x11c)](_0x277d10(0x132),_0x277d10(0x120))),this[_0x277d10(0x122)]({'tag':_0x277d10(0x121),'attributes':{'class':['ck',_0x277d10(0x13d),_0x277d10(0x123)]},'children':[{'tag':_0x277d10(0x12a),'attributes':{'class':[_0x277d10(0x11d)]},'children':[{'tag':_0x277d10(0x12a),'attributes':{'class':[_0x277d10(0x138),_0x2ede11['if'](_0x277d10(0x126),_0x277d10(0x11b),_0x54ced8=>!_0x54ced8)]},'children':[{'text':_0x2ede11['to'](_0x277d10(0x139),_0x1c0c8c=>_0x1c0c8c?_0x3cb76b(_0x3458f5,_0x277d10(0x13a))+':\x20':_0x3cb76b(_0x3458f5,_0x277d10(0x130))+':\x20')}]},{'text':_0x2ede11['to'](_0x277d10(0x12f))}]},new _0x3e8f8f(),{'tag':_0x277d10(0x121),'attributes':{'class':[_0x277d10(0x135)]},'children':[_0x410352,_0x22001a]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x36e2(_0x54281b,_0x543d51){const _0x33f4c1=_0x33f4();return _0x36e2=function(_0x36e212,_0x37bb7b){_0x36e212=_0x36e212-0x123;let _0x204ce2=_0x33f4c1[_0x36e212];return _0x204ce2;},_0x36e2(_0x54281b,_0x543d51);}function _0x33f4(){const _0xb4bedf=['roots','28875PusNma','895980XxZpPP','RevisionViewerLoadingOverlay','document','change','hide','2352870xNvUrH','show','removeClass','11185810kPJPqh','11xrmQZy','408512JVnuYi','addClass','editor','183824nTfAub','1038696jNcPAO','pluginName','3fdVDAe','view','editing','318yZdaKz','ck-editor__editable__loading-overlay'];_0x33f4=function(){return _0xb4bedf;};return _0x33f4();}const _0x174089=_0x36e2;(function(_0x57c6f1,_0x2e6f14){const _0x91ed73=_0x36e2,_0x337022=_0x57c6f1();while(!![]){try{const _0x2a3d3d=-parseInt(_0x91ed73(0x129))/0x1*(parseInt(_0x91ed73(0x12d))/0x2)+parseInt(_0x91ed73(0x130))/0x3*(parseInt(_0x91ed73(0x12e))/0x4)+parseInt(_0x91ed73(0x137))/0x5+parseInt(_0x91ed73(0x133))/0x6*(-parseInt(_0x91ed73(0x136))/0x7)+parseInt(_0x91ed73(0x12a))/0x8+parseInt(_0x91ed73(0x125))/0x9+parseInt(_0x91ed73(0x128))/0xa;if(_0x2a3d3d===_0x2e6f14)break;else _0x337022['push'](_0x337022['shift']());}catch(_0x2b08a9){_0x337022['push'](_0x337022['shift']());}}}(_0x33f4,0x9c520));import{Plugin as _0x5d19ca}from'ckeditor5/src/core.js';const ce=_0x174089(0x134);import'../../../theme/revisionviewerloadingoverlay.css';export default class de extends _0x5d19ca{static get[_0x174089(0x12f)](){const _0x2605ae=_0x174089;return _0x2605ae(0x138);}[_0x174089(0x126)](){const _0x27afc1=_0x174089,_0x292f64=this[_0x27afc1(0x12c)][_0x27afc1(0x132)][_0x27afc1(0x131)];_0x292f64[_0x27afc1(0x123)](_0x2d4f86=>{const _0x3d5da6=_0x27afc1;for(const _0xa7e407 of _0x292f64[_0x3d5da6(0x139)][_0x3d5da6(0x135)])_0x2d4f86[_0x3d5da6(0x12b)](ce,_0xa7e407);});}[_0x174089(0x124)](){const _0x108c35=_0x174089,_0x3a90c7=this[_0x108c35(0x12c)][_0x108c35(0x132)][_0x108c35(0x131)];_0x3a90c7[_0x108c35(0x123)](_0x27a1e6=>{const _0x5372a8=_0x108c35;for(const _0xaf3f82 of _0x3a90c7[_0x5372a8(0x139)][_0x5372a8(0x135)])_0x27a1e6[_0x5372a8(0x127)](ce,_0xaf3f82);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x78ea26=_0x530f;(function(_0x4f8987,_0x45f9cd){const _0x2c8f86=_0x530f,_0x358f16=_0x4f8987();while(!![]){try{const _0x24df2d=-parseInt(_0x2c8f86(0x8c))/0x1*(parseInt(_0x2c8f86(0x84))/0x2)+parseInt(_0x2c8f86(0x8e))/0x3*(-parseInt(_0x2c8f86(0x82))/0x4)+parseInt(_0x2c8f86(0x74))/0x5*(parseInt(_0x2c8f86(0x89))/0x6)+-parseInt(_0x2c8f86(0x70))/0x7*(-parseInt(_0x2c8f86(0x8a))/0x8)+-parseInt(_0x2c8f86(0x93))/0x9*(-parseInt(_0x2c8f86(0x9d))/0xa)+-parseInt(_0x2c8f86(0x6e))/0xb*(parseInt(_0x2c8f86(0x9a))/0xc)+parseInt(_0x2c8f86(0x96))/0xd;if(_0x24df2d===_0x45f9cd)break;else _0x358f16['push'](_0x358f16['shift']());}catch(_0x3046d3){_0x358f16['push'](_0x358f16['shift']());}}}(_0x23d0,0x22730));import{icons as _0x17f69f,Plugin as _0x5a46d5}from'ckeditor5/src/core.js';import{ButtonView as _0x20971b}from'ckeditor5/src/ui.js';import _0x277bf2 from'./changesnavigationview.js';import _0x3e5146 from'./../../revisionviewer.js';function _0x530f(_0x270f84,_0x282079){const _0x23d00c=_0x23d0();return _0x530f=function(_0x530f84,_0x1ffae8){_0x530f84=_0x530f84-0x6e;let _0x157409=_0x23d00c[_0x530f84];return _0x157409;},_0x530f(_0x270f84,_0x282079);}function _0x23d0(){const _0x550ecd=['showNextChange','add','change:isReady','init','63930HnUrri','19288ZwIoWk','hide','1nxygLr','set','3HCAkxI','componentFactory','execute','requires','isNavigationMode','50337hYvUrF','exitToEditing','changesNavigation','1265797nVmvBl','RevisionViewerUI','editor','bind','3343224EZkyhb','isForwardNavigationEnabled','closeRevisionViewerCallback','490mhSuAE','Back\x20to\x20editing','ck-revision-history-ui__back-to-editing','11UMxuIB','commands','70eGxCAZ','isBackwardNavigationEnabled','revisionHistory','listenTo','130YIaIEz','get','Restore\x20this\x20revision','showPreviousChange','undo','plugins','show','pluginName','isEnabled','isReady','currentChangeNumber','config','forward','numberOfChanges','940020xeZGiV','restoreRevision','35710PtBxax'];_0x23d0=function(){return _0x550ecd;};return _0x23d0();}import _0x57bea9 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x1450b7}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x5a46d5{static get[_0x78ea26(0x7b)](){const _0x39a87a=_0x78ea26;return _0x39a87a(0x97);}static get[_0x78ea26(0x91)](){return[_0x3e5146,_0x57bea9];}[_0x78ea26(0x88)](){const _0x93e72d=_0x78ea26,_0x73f056=this[_0x93e72d(0x98)],_0x47ba66=_0x73f056[_0x93e72d(0x79)][_0x93e72d(0x75)](_0x3e5146),_0xb7f8d2=_0x73f056[_0x93e72d(0x79)][_0x93e72d(0x75)](_0x57bea9);_0x73f056['ui'][_0x93e72d(0x8f)][_0x93e72d(0x86)](_0x93e72d(0x94),_0x28dc6a=>{const _0x3eae65=_0x93e72d,_0x15b2c4=new _0x20971b(_0x28dc6a);return _0x15b2c4[_0x3eae65(0x8d)]({'label':_0x1450b7(_0x28dc6a,_0x3eae65(0x9e)),'icon':_0x17f69f[_0x3eae65(0x78)],'withText':!0x0,'tooltip':!0x0,'class':_0x3eae65(0x9f)}),this[_0x3eae65(0x73)](_0x15b2c4,_0x3eae65(0x90),()=>{const _0x41f68f=_0x3eae65;_0x73f056[_0x41f68f(0x7f)][_0x41f68f(0x75)](_0x41f68f(0x72))[_0x41f68f(0x9c)]();}),_0x15b2c4;}),_0x73f056['ui'][_0x93e72d(0x8f)][_0x93e72d(0x86)](_0x93e72d(0x83),_0x2910c1=>{const _0x56ff4f=_0x93e72d,_0x357fb2=new _0x20971b(_0x2910c1);return _0x357fb2[_0x56ff4f(0x8d)]({'label':_0x1450b7(_0x2910c1,_0x56ff4f(0x76)),'withText':!0x0,'tooltip':!0x0}),_0x357fb2[_0x56ff4f(0x99)](_0x56ff4f(0x7c))['to'](_0x73f056[_0x56ff4f(0x6f)][_0x56ff4f(0x75)](_0x56ff4f(0x83))),this[_0x56ff4f(0x73)](_0x357fb2,_0x56ff4f(0x90),()=>_0x73f056[_0x56ff4f(0x90)](_0x56ff4f(0x83))),_0x357fb2;}),_0x73f056['ui'][_0x93e72d(0x8f)][_0x93e72d(0x86)](_0x93e72d(0x95),_0x33702b=>{const _0x4eeb28=_0x93e72d,_0x471c66=new _0x277bf2(_0x33702b),_0x32dc8f=_0x73f056[_0x4eeb28(0x6f)][_0x4eeb28(0x75)](_0x4eeb28(0x77)),_0x5325ee=_0x73f056[_0x4eeb28(0x6f)][_0x4eeb28(0x75)](_0x4eeb28(0x85));return _0x471c66[_0x4eeb28(0x99)](_0x4eeb28(0x71))['to'](_0x32dc8f,_0x4eeb28(0x7c)),_0x471c66[_0x4eeb28(0x99)](_0x4eeb28(0x9b))['to'](_0x5325ee,_0x4eeb28(0x7c)),_0x471c66[_0x4eeb28(0x99)](_0x4eeb28(0x7d),_0x4eeb28(0x7e),_0x4eeb28(0x81),_0x4eeb28(0x92))['to'](_0x47ba66),this[_0x4eeb28(0x73)](_0x471c66,_0x4eeb28(0x90),(_0x229c2f,_0x15e271)=>{const _0x5d2db3=_0x4eeb28;_0x73f056[_0x5d2db3(0x90)](_0x5d2db3(0x80)===_0x15e271?_0x5d2db3(0x85):_0x5d2db3(0x77));}),_0x471c66;}),_0xb7f8d2[_0x93e72d(0x7a)](),_0x47ba66['on'](_0x93e72d(0x87),(_0x348e10,_0x33b884,_0x598848)=>{const _0x58618d=_0x93e72d;_0x598848?_0xb7f8d2[_0x58618d(0x8b)]():_0xb7f8d2[_0x58618d(0x7a)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x143aa8,_0x5f0a6e,_0x2cf13a){const t=_0x143aa8['t'];switch(_0x5f0a6e){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x2cf13a);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2cf13a);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}
|