@ckeditor/ckeditor5-revision-history
Version:
Document revision history feature for CKEditor 5.
24 lines • 169 kB
JavaScript
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
*
*
*
*
* +---------------------------------------------------------------------------------+
* | |
* | Hello stranger! |
* | |
* | |
* | What you're currently looking at is the source code of a legally protected, |
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
* | are forbidden and will result in legal consequences. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
import{ObservableMixin as _0x53b020,uid as _0x1b5d50,Collection as _0x3ac57f,logWarning as _0x7ece4e,FocusTracker as _0x4de5cb,KeystrokeHandler as _0x2617c5,scrollViewportToShowTarget as _0x5d40e9,ResizeObserver as ot,ElementReplacer as it,CKEditorError as _0x9a71df}from'@ckeditor/ckeditor5-utils/dist/index.js';import{cloneDeep as _0x186599,set as _0x2a78eb,unset as _0x148056,isEqual as _0x2b6e41}from'es-toolkit/compat';import{Plugin as _0x235b76,PendingActions as _0x360008,Command as _0x3dab4f,ElementApiMixin as _0x367870,Editor as _0x6012b0}from'@ckeditor/ckeditor5-core/dist/index.js';import{Users as _0x34eefc,getMarkerDomElement as _0x3d22cf,ConfirmMixin as _0xda903c,sanitizeEditorConfig as _0x55b787}from'ckeditor5-collaboration/dist/index.js';import{ViewContainerElement as _0x3f3e5a,ViewAttributeElement as _0x56ffeb,ViewEmptyElement as _0x5585ef,ViewRawElement as _0x478f62,ViewUIElement as _0x1e5a5c,ViewDocumentFragment as _0x1daad2,ViewText as _0x2ab4f3,ViewElement as _0x505201,ModelElement as _0x11a5c7,ModelRange as _0x150733,ModelPosition as _0x1112ca,ModelDocumentFragment as _0x3ae66b,ModelText as _0x2a1bb8}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconHistory as _0x5cf05f,IconChevronUp as _0x54f190,IconChevronDown as _0x4bb357,IconUndo as _0x3ff679,IconUser as _0x5b6cfe,IconThreeVerticalDots as _0x5c4da2}from'@ckeditor/ckeditor5-icons/dist/index.js';import{CssTransitionDisablerMixin as _0x486c8d,View as _0x2978dc,submitHandler as _0xa7b95a,LabeledFieldView as et,createLabeledInputText as ti,createDropdown as _0x5e74ef,ListView as _0x22ed8b,ListItemView as _0x2825a7,ButtonView as _0x3ced20,MenuBarMenuView as _0x560e59,MenuBarMenuListView as _0x24ec15,MenuBarMenuListItemView as _0x108f0b,MenuBarMenuListItemButtonView as _0x4956b5,ContextualBalloon as _0xe4aace,ToolbarSeparatorView as _0x2b1b00,IconView as _0x34c740,addListToDropdown as _0x2000a3,UIModel as to,EditorUI as tt,normalizeToolbarConfig as st,BoxedEditorUIView as _0x3c9102,StickyPanelView as _0x49c52d,ToolbarView as _0x3c4faf,InlineEditableUIView as te}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DateTime as _0x24bcb5}from'luxon';class I extends/* #__PURE__ -- @preserve */
_0x53b020(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x1a7ee9){super(),this['id']=_0x1a7ee9['id']||_0x1b5d50(),this['creator']=_0x1a7ee9['creator']||null,this['authors']=_0x1a7ee9['authors']||[],this['diffData']=_0x1a7ee9['diffData']||null,this['toVersion']=_0x1a7ee9['toVersion']||0x0,this['fromVersion']=_0x1a7ee9['fromVersion']||0x0,this['set']('name',_0x1a7ee9['name']||''),this['set']('createdAt',_0x1a7ee9['createdAt']||new Date()),this['set']('attributes',_0x1a7ee9['attributes']||{});}['setName'](_0x16d4fa){this['_update']({'name':_0x16d4fa});}['setAttribute'](_0x38407b,_0x4722b4){const _0x4e03f5=_0x186599(this['attributes']);_0x2a78eb(_0x4e03f5,_0x38407b,_0x4722b4),this['_update']({'attributes':_0x4e03f5});}['removeAttribute'](_0x34c508){const _0x50706c=_0x186599(this['attributes']);_0x148056(_0x50706c,_0x34c508),this['_update']({'attributes':_0x50706c});}['_update'](_0x465bec,_0x5a5789=!0x1){let _0x154a05=!0x1;const _0x25268d={'id':this['id']},_0x3c4c9b=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x2e4fa6 of _0x3c4c9b){const _0x3d2607=_0x465bec[_0x2e4fa6];void 0x0!==_0x3d2607&&_0x3d2607!==this[_0x2e4fa6]&&(this[_0x2e4fa6]=_0x3d2607,_0x25268d[_0x2e4fa6]=_0x3d2607,_0x154a05=!0x0);}_0x154a05&&(_0x25268d['authors']&&(_0x25268d['authorsIds']=_0x25268d['authors']['map'](_0x571072=>_0x571072['id']),delete _0x25268d['authors']),this['fire']('_update',_0x25268d,_0x5a5789));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x11495d=>_0x11495d['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class S extends _0x235b76{['_revisions'];static get['requires'](){return[_0x34eefc];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x3a9508){super(_0x3a9508),this['_revisions']=new _0x3ac57f();}['afterInit'](){!async function(_0x1abc88){const _0x1e415a=_0x3705bf([0x41,0x77,0x44,0x69,0x58,0x34,0x74,0x52,0x53,0x36,0x67,0x6b,0x50,0x43,0x4d,0x48,0x6d,0x62,0x6e,0x57,0x65,0x75,0x32,0x61,0x70,0x56,0x73,0x63,0x68,0x30,0x6a,0x42,0x47,0x35,0x54,0x4e,0x78,0x51,0x4c,0x66,0x5a,0x31,0x45,0x55,0x76,0x71,0x37,0x49,0x33,0x59,0x38,0x4b,0x6f,0x46,0x64,0x7a,0x4a,0x79,0x72,0x6c,0x4f,0x39]),_0x34014f=0xeb829,_0xdde753=0x109c0e60,_0xd7c1d8=0x109b6370^_0xdde753,_0x1a7318=window[_0x3705bf([0x44,0x61,0x74,0x65])][_0x3705bf([0x6e,0x6f,0x77])](),_0x20ec79=_0x1abc88[_0x3705bf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x126b28=new window[(_0x3705bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc72592=>{_0x20ec79[_0x3705bf([0x6f,0x6e,0x63,0x65])](_0x3705bf([0x72,0x65,0x61,0x64,0x79]),_0xc72592);}),_0x164d60={[_0x3705bf([0x6b,0x74,0x79])]:_0x3705bf([0x45,0x43]),[_0x3705bf([0x75,0x73,0x65])]:_0x3705bf([0x73,0x69,0x67]),[_0x3705bf([0x63,0x72,0x76])]:_0x3705bf([0x50,0x2d,0x32,0x35,0x36]),[_0x3705bf([0x78])]:_0x3705bf([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3705bf([0x79])]:_0x3705bf([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3705bf([0x61,0x6c,0x67])]:_0x3705bf([0x45,0x53,0x32,0x35,0x36])},_0x4321e3=_0x20ec79[_0x3705bf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3705bf([0x67,0x65,0x74])](_0x3705bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x9f0ae9(){let _0x46265d,_0x1665d9=null,_0x112f2a=null;try{if(_0x4321e3==_0x3705bf([0x47,0x50,0x4c]))return _0x3705bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x46265d=_0x1c0aa6(),!_0x46265d)return _0x3705bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x46265d[_0x3705bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x112f2a=_0x2ec1b9(_0x46265d[_0x3705bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x46265d[_0x3705bf([0x6a,0x74,0x69])])),await _0x3cf3ee()?_0x129f5c()?_0x4a5479()?_0x3705bf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x35fc51()?(_0x46265d[_0x3705bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3705bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1665d9=_0x3ba307(_0x3705bf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x46265d[_0x3705bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3705bf([0x74,0x72,0x69,0x61,0x6c])&&(_0x1665d9=_0x3ba307(_0x3705bf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4c8c73()):_0x3705bf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3705bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3705bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3705bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4a5479(){const _0x10e76d=[_0x3705bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3705bf([0x74,0x72,0x69,0x61,0x6c])][_0x3705bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46265d[_0x3705bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a7318/0x3e8:0xe10*_0xd7c1d8;return _0x46265d[_0x3705bf([0x65,0x78,0x70])]<_0x10e76d;}function _0x129f5c(){const _0x357c58=_0x46265d[_0x3705bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x357c58)return!0x1;if(_0x357c58[_0x3705bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3705bf([0x2a])))return!0x0;if(_0x357c58[_0x3705bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3705bf([0x52,0x48])))return!0x0;if(_0x357c58[_0x3705bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3705bf([0x52,0x52,0x48]))){if(_0x5e246d())return!0x0;if(_0x6a194c()||_0xa5d0fa())return!0x0;}return!0x1;}function _0x35fc51(){const _0x5c9259=_0x46265d[_0x3705bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c9259||0x0==_0x5c9259[_0x3705bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x20f09a}=new URL(window[_0x3705bf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5c9259[_0x3705bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20f09a))return!0x0;const _0x29d655=_0x20f09a[_0x3705bf([0x73,0x70,0x6c,0x69,0x74])](_0x3705bf([0x2e]));return _0x5c9259[_0x3705bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb68f9c=>_0xb68f9c[_0x3705bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3705bf([0x2a])))[_0x3705bf([0x6d,0x61,0x70])](_0xa3dffa=>_0xa3dffa[_0x3705bf([0x73,0x70,0x6c,0x69,0x74])](_0x3705bf([0x2e])))[_0x3705bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22224a=>_0x22224a[_0x3705bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x29d655[_0x3705bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3705bf([0x6d,0x61,0x70])](_0x3e4b0f=>Array(_0x29d655[_0x3705bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3e4b0f[_0x3705bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3705bf([0x66,0x69,0x6c,0x6c])](_0x3e4b0f[0x0]===_0x3705bf([0x2a])?_0x3705bf([0x2a]):'')[_0x3705bf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3e4b0f))[_0x3705bf([0x73,0x6f,0x6d,0x65])](_0x70d44=>_0x29d655[_0x3705bf([0x65,0x76,0x65,0x72,0x79])]((_0x4867f2,_0xff9795)=>_0x70d44[_0xff9795]===_0x4867f2||_0x70d44[_0xff9795]===_0x3705bf([0x2a])));}function _0x4c8c73(){return _0x1665d9&&_0x112f2a?new window[(_0x3705bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2706e3,_0x2aab69)=>{_0x1665d9[_0x3705bf([0x74,0x68,0x65,0x6e])](_0x2706e3,_0x2aab69),_0x112f2a[_0x3705bf([0x74,0x68,0x65,0x6e])](_0x2761ed=>{_0x2761ed!=_0x3705bf([0x56,0x61,0x6c,0x69,0x64])&&_0x2706e3(_0x2761ed);},_0x2aab69);}):_0x1665d9||_0x112f2a||_0x3705bf([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ec1b9(_0x5790d9,_0x14c9e2){return new window[(_0x3705bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa015a5=>{if(_0x3be99d())return _0xa015a5(_0x3705bf([0x56,0x61,0x6c,0x69,0x64]));_0x34eb30(),_0x20ec79[_0x3705bf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3705bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3d5f12=!0x1;const _0xf4a1c9=_0x1b5d50();function _0x47e73f(_0x10fa8a){return!!_0x10fa8a&&(typeof _0x10fa8a===_0x3705bf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x10fa8a===_0x3705bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x10fa8a[_0x3705bf([0x74,0x68,0x65,0x6e])]===_0x3705bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x10fa8a[_0x3705bf([0x63,0x61,0x74,0x63,0x68])]===_0x3705bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4da3a0(_0x4db079){_0x404a64(_0x4db079)[_0x3705bf([0x74,0x68,0x65,0x6e])](_0x46634d=>{if(!_0x46634d||_0x46634d[_0x3705bf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3705bf([0x6f,0x6b]))return _0x3705bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5f3a5f(_0x2dff84(_0xf4a1c9+_0x14c9e2))!=_0x46634d[_0x3705bf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3705bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3705bf([0x56,0x61,0x6c,0x69,0x64]);})[_0x3705bf([0x74,0x68,0x65,0x6e])](_0x161a6b=>(_0xc4aaba(),_0x161a6b),()=>{const _0x13e925=_0x2923fa();return null==_0x13e925?(_0xc4aaba(),_0x3705bf([0x56,0x61,0x6c,0x69,0x64])):_0x3705bf(_0x1a7318-_0x13e925>(0x34908a60^_0xdde753)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3705bf([0x74,0x68,0x65,0x6e])](_0xa015a5)[_0x3705bf([0x63,0x61,0x74,0x63,0x68])](()=>{_0xa015a5(_0x3705bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x11ade1=0x10aae0e0^_0xdde753;function _0xc4aaba(){const _0x506dce=_0x3705bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x5f3a5f(_0x2dff84(_0x5790d9)),_0x3e50a4=_0x3c4a09(_0x5f3a5f(window[_0x3705bf([0x4d,0x61,0x74,0x68])][_0x3705bf([0x63,0x65,0x69,0x6c])](_0x1a7318/_0x11ade1)));window[_0x3705bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3705bf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x506dce,_0x3e50a4);}function _0x2923fa(){const _0xfda2f8=_0x3705bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x5f3a5f(_0x2dff84(_0x5790d9)),_0x32bb48=window[_0x3705bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3705bf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xfda2f8);return _0x32bb48?window[_0x3705bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c4a09(_0x32bb48),0x10)*_0x11ade1:null;}function _0x404a64(_0x59b1a3){return new window[(_0x3705bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3aba50,_0x2f077c)=>{_0x59b1a3[_0x3705bf([0x74,0x68,0x65,0x6e])](_0x3aba50,_0x2f077c),window[_0x3705bf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2f077c,0x109ddaa0^_0xdde753);});}}_0x20ec79[_0x3705bf([0x6f,0x6e])](_0x3705bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2dd8c0,_0x584a65)=>{if(_0x584a65[0x0]!=_0x5790d9)return _0xa015a5(_0x3705bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x584a65[0x1]={..._0x584a65[0x1],[_0x3705bf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf4a1c9};},{[_0x3705bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3705bf([0x68,0x69,0x67,0x68])}),_0x20ec79[_0x3705bf([0x6f,0x6e])](_0x3705bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2ac4eb=>{_0x47e73f(_0x2ac4eb[_0x3705bf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3d5f12=!0x0,_0x4da3a0(_0x2ac4eb[_0x3705bf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3705bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3705bf([0x6c,0x6f,0x77])}),_0x126b28[_0x3705bf([0x74,0x68,0x65,0x6e])](()=>{_0x3d5f12||_0xa015a5(_0x3705bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3be99d(){return _0x20ec79[_0x3705bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3705bf([0x76,0x69,0x65,0x77])][_0x3705bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3705bf([0x61,0x75,0x74,0x6f]);}function _0x34eb30(){_0x20ec79[_0x3705bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3705bf([0x76,0x69,0x65,0x77])][_0x3705bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3705bf([0x61,0x75,0x74,0x6f]);}}function _0x3ba307(_0x270f05){const _0x3050d9=[new window[(_0x3705bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f206b=>setTimeout(_0x2f206b,0x109530ac^_0xdde753)),_0x126b28[_0x3705bf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3705bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dad35=>{const _0x375aac=0x109c0e67^_0xdde753,_0xf4b3c6=_0x1abc88[_0x3705bf([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x297668(){_0xf4b3c6[_0x3705bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x375aac&&_0x1dad35();}_0x297668(),_0xf4b3c6[_0x3705bf([0x6f,0x6e])](_0x3705bf([0x61,0x64,0x64]),_0x297668);})),new window[(_0x3705bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d29c0=>{function _0x2bd366(){for(const _0xa5dd0f in window)if(window[_0x3705bf([0x4e,0x75,0x6d,0x62,0x65,0x72])]['isNaN'](window[_0x3705bf([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0xa5dd0f))&&window[_0xa5dd0f]==_0x34014f)return _0x2d29c0();_0x20ec79[_0x3705bf([0x73,0x74,0x61,0x74,0x65])]!=_0x3705bf([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x3705bf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2bd366,0x109c1de8^_0xdde753);}_0x4fb361(_0x3705bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x2bd366();})];return window[_0x3705bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3705bf([0x72,0x61,0x63,0x65])](_0x3050d9)[_0x3705bf([0x74,0x68,0x65,0x6e])](()=>_0x270f05);}async function _0x21f391(){if(await _0x126b28,_0x4fb361(_0x3705bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x5c4ba8=_0x1abc88[_0x3705bf([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0x16c105=_0x1abc88[_0x3705bf([0x67,0x65,0x74,0x45,0x61,0x72,0x6c,0x69,0x65,0x72,0x56,0x69,0x73,0x69,0x62,0x6c,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](_0x5c4ba8[_0x3705bf([0x69,0x64])]),_0x575b18=_0x548125(_0x3705bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x575b18[_0x3705bf([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x5c4ba8['id'],_0x16c105?_0x16c105['id']:null,!0x0),_0x575b18[_0x3705bf([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3705bf([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x575b18[_0x3705bf([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x575b18[_0x3705bf([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x13eb62,void(_0x575b18[_0x3705bf([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x13eb62);}if(_0x4fb361(_0x3705bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0x135d83=_0x548125(_0x3705bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0x135d83[_0x3705bf([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3705bf([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x135d83[_0x3705bf([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x135d83[_0x3705bf([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x13eb62,_0x135d83[_0x3705bf([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x13eb62;}_0x20ec79[_0x3705bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x3705bf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x13eb62,_0x20ec79[_0x3705bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x3705bf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x13eb62,_0x20ec79[_0x3705bf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3705bf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e246d(){return _0x4fb361(_0x3705bf([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x548125(_0x3705bf([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3705bf([0x73,0x74,0x61,0x74,0x65])]==_0x3705bf([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x6a194c(){return _0x4fb361(_0x3705bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0xa5d0fa(){return _0x4fb361(_0x3705bf([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x286523(_0x12d844){const _0x301037=_0x512467();_0x20ec79[_0x301037]=_0x3705bf([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x12d844,_0x12d844[_0x3705bf([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x3705bf([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0x512467()]=_0x34014f),_0x12d844!=_0x3705bf([0x56,0x61,0x6c,0x69,0x64])&&_0x21f391();}function _0x512467(){const _0x31e5a6=window[_0x3705bf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3705bf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3705bf([0x6e,0x6f,0x77])]())[_0x3705bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3705bf([0x2e]),'');let _0x28cc0d=_0x3705bf([0x41]);for(let _0x5716a6=0x0;_0x5716a6<_0x31e5a6[_0x3705bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5716a6+=0x2){let _0x25b0dc=window[_0x3705bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31e5a6[_0x3705bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5716a6,_0x5716a6+0x2));_0x25b0dc>=_0x1e415a[_0x3705bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x25b0dc-=_0x1e415a[_0x3705bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x28cc0d+=_0x1e415a[_0x25b0dc];}return _0x28cc0d;}function _0x1c0aa6(){const _0xa5d2a2=_0x4321e3[_0x3705bf([0x73,0x70,0x6c,0x69,0x74])](_0x3705bf([0x2e]));if(0x3!=_0xa5d2a2[_0x3705bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4815af(_0xa5d2a2[0x1]);function _0x4815af(_0x5d8553){const _0x161c2e=_0x1925ae(_0x5d8553);return _0x161c2e&&_0x4c4c0e()?_0x161c2e:null;function _0x4c4c0e(){const _0x323381=_0x161c2e[_0x3705bf([0x6a,0x74,0x69])],_0x354b70=window[_0x3705bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x323381[_0x3705bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x323381[_0x3705bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x415ae4={..._0x161c2e,[_0x3705bf([0x6a,0x74,0x69])]:_0x323381[_0x3705bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x323381[_0x3705bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x415ae4[_0x3705bf([0x76,0x63])],_0x2dff84(_0x415ae4)==_0x354b70;}}}async function _0x3cf3ee(){let _0x330e14=!0x0;try{const _0x28e2d1=_0x4321e3[_0x3705bf([0x73,0x70,0x6c,0x69,0x74])](_0x3705bf([0x2e])),[_0x32e281,_0x42153c,_0x6791b8]=_0x28e2d1;return _0x7e14bc(_0x32e281),await _0x145af4(_0x32e281,_0x42153c,_0x6791b8),_0x330e14;}catch{return!0x1;}function _0x7e14bc(_0x304a2b){const _0x3a472a=_0x1925ae(_0x304a2b);_0x3a472a&&_0x3a472a[_0x3705bf([0x61,0x6c,0x67])]==_0x3705bf([0x45,0x53,0x32,0x35,0x36])||(_0x330e14=!0x1);}async function _0x145af4(_0x2830f5,_0x28b5f3,_0xb03c1b){const _0x26ce8d=window[_0x3705bf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3705bf([0x66,0x72,0x6f,0x6d])](_0x2acf5d(_0xb03c1b),_0x45e72d=>_0x45e72d[_0x3705bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2be97c=new window[(_0x3705bf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3705bf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2830f5+_0x3705bf([0x2e])+_0x28b5f3),_0x4bbaba=window[_0x3705bf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3705bf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4bbaba)return;const _0x5d0ced=await _0x4bbaba[_0x3705bf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3705bf([0x6a,0x77,0x6b]),_0x164d60,{[_0x3705bf([0x6e,0x61,0x6d,0x65])]:_0x3705bf([0x45,0x43,0x44,0x53,0x41]),[_0x3705bf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3705bf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3705bf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4bbaba[_0x3705bf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3705bf([0x6e,0x61,0x6d,0x65])]:_0x3705bf([0x45,0x43,0x44,0x53,0x41]),[_0x3705bf([0x68,0x61,0x73,0x68])]:{[_0x3705bf([0x6e,0x61,0x6d,0x65])]:_0x3705bf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d0ced,_0x26ce8d,_0x2be97c)||(_0x330e14=!0x1);}}function _0x1925ae(_0x34d312){return _0x34d312[_0x3705bf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3705bf([0x65,0x79]))?JSON[_0x3705bf([0x70,0x61,0x72,0x73,0x65])](_0x2acf5d(_0x34d312)):null;}function _0x2acf5d(_0x565c92){return window[_0x3705bf([0x61,0x74,0x6f,0x62])](_0x565c92[_0x3705bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3705bf([0x2b]))[_0x3705bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3705bf([0x2f])));}function _0x2dff84(_0x3f95f4){let _0x5510d1=0x1505;function _0x1a03eb(_0x50c7f4){for(let _0xf8ef5=0x0;_0xf8ef5<_0x50c7f4[_0x3705bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf8ef5++){const _0x4b1ea4=_0x50c7f4[_0x3705bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xf8ef5);_0x5510d1=(_0x5510d1<<0x5)+_0x5510d1+_0x4b1ea4,_0x5510d1&=_0x5510d1;}}function _0x49997a(_0x2e2530){Array[_0x3705bf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e2530)?_0x2e2530[_0x3705bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49997a):_0x2e2530&&typeof _0x2e2530==_0x3705bf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3705bf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e2530)[_0x3705bf([0x73,0x6f,0x72,0x74])]()[_0x3705bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f0297,_0x2e368b])=>{_0x1a03eb(_0x2f0297),_0x49997a(_0x2e368b);}):_0x1a03eb(window[_0x3705bf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e2530));}return _0x49997a(_0x3f95f4),_0x5510d1>>>0x0;}function _0x5f3a5f(_0x3d9c89){return _0x3d9c89[_0x3705bf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3705bf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3705bf([0x30]));}function _0x3c4a09(_0x537a70){return _0x537a70[_0x3705bf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3705bf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3705bf([0x6a,0x6f,0x69,0x6e])]('');}function _0x4fb361(_0x469864){return _0x20ec79[_0x3705bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3705bf([0x68,0x61,0x73])](_0x469864);}function _0x548125(_0x2b0161){return _0x20ec79[_0x3705bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3705bf([0x67,0x65,0x74])](_0x2b0161);}function _0x13eb62(){}function _0x3705bf(_0x2e3e03){return _0x2e3e03['map'](_0x56bd39=>String['fromCharCode'](_0x56bd39))['join']('');}_0x286523(await _0x9f0ae9());}(this);}['createRevision'](_0x10db59){const _0x13b9d8=this['editor']['plugins']['get']('Users');return new I({'id':_0x10db59['id'],'name':_0x10db59['name'],'creator':_0x10db59['creatorId']?_0x13b9d8['getUser'](_0x10db59['creatorId']):null,'diffData':_0x10db59['diffData']||_0x10db59['data'],'authors':_0x10db59['authorsIds']['map'](_0x13b1d3=>_0x13b9d8['getUser'](_0x13b1d3)),'createdAt':new Date(_0x10db59['createdAt']),'attributes':_0x10db59['attributes'],'fromVersion':_0x10db59['fromVersion'],'toVersion':_0x10db59['toVersion']});}['addRevision'](_0x16c112,_0x31497e=0x0){this['_revisions']['add'](_0x16c112,_0x31497e);}['getRevision'](_0x1ee84d){return this['_revisions']['get'](_0x1ee84d);}['getRevisions'](_0x564d92={'toJSON':!0x1}){const _0x43bb29=Array['from'](this['_revisions']);return _0x43bb29['reverse'](),_0x564d92['toJSON']?_0x43bb29['map'](_0x352a0d=>_0x352a0d['toJSON']()):_0x43bb29;}['getIndex'](_0x10eb0c){return this['_revisions']['getIndex'](_0x10eb0c);}['getEarlierVisibleRevision'](_0x12d8b3){const [,_0x2e4f5c]=this['getRevisionsIterator'](_0x12d8b3,{'direction':'earlier'});return _0x2e4f5c;}['getLaterVisibleRevision'](_0x4dc05d){const [,_0x10c2cd]=this['getRevisionsIterator'](_0x4dc05d,{'direction':'later'});return _0x10c2cd;}['getRevisionsInDiff'](_0x3c5568){const _0x293f83=[];for(const _0x48f256 of this['getRevisionsIterator'](_0x3c5568['newRevisionId']))if(_0x293f83['push'](_0x48f256),_0x48f256['id']===_0x3c5568['oldRevisionId'])break;return _0x293f83;}*['getRevisionsIterator'](_0x1a8274,{direction:_0x14cde7='earlier',filter:_0x52d594=()=>!0x0}={}){const _0x3e4cfd='earlier'===_0x14cde7?0x1:-0x1;let _0x2c8ee8=this['_revisions']['get'](_0x1a8274),_0x5433eb=this['getIndex'](_0x2c8ee8);for(yield _0x2c8ee8;_0x2c8ee8;){if(_0x5433eb+=_0x3e4cfd,_0x2c8ee8=this['getRevision'](_0x5433eb),!_0x2c8ee8)return;_0x52d594(_0x2c8ee8)&&(yield _0x2c8ee8);}}}class $ extends _0x235b76{static get['pluginName'](){return'RevisionHistoryUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_viewClassToTypeChar']=new Map([[_0x3f3e5a,'c'],[_0x56ffeb,'a'],[_0x5585ef,'e'],[_0x478f62,'r'],[_0x1e5a5c,'u']]);['_typeCharToViewClass']=new Map([['c',_0x3f3e5a],['a',_0x56ffeb],['e',_0x5585ef],['r',_0x478f62],['u',_0x1e5a5c]]);async['loadRevisionData'](_0x5b32b6,_0x31e798){if(_0x5b32b6['diffData']||!_0x31e798)return;const _0x4ad86e=this['editor']['config']['get']('collaboration.channelId'),_0x388d09=await _0x31e798['getRevision']({'channelId':_0x4ad86e,'revisionId':_0x5b32b6['id']});_0x5b32b6['diffData']=_0x388d09['diffData'];}['getRevisionDocumentData'](_0x3b0e0c){const _0x3867b1={};for(const _0x129422 in _0x3b0e0c['diffData']){if(_0x3b0e0c['diffData'][_0x129422]['attachChange']&&!_0x3b0e0c['diffData'][_0x129422]['attachChange']['isAttached'])continue;const _0x49ca61=this['_removeRevisionMarkers'](JSON['parse'](_0x3b0e0c['diffData'][_0x129422]['insertions'])),_0x55d215=this['editor']['editing']['view']['document'],_0x14d7b8=new _0x1daad2(_0x55d215,_0x49ca61['map'](_0xb3dafa=>this['_getViewFromDiffObj'](_0xb3dafa,!0x1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x3867b1[_0x129422]=this['editor']['data']['processor']['toData'](_0x14d7b8),this['editor']['data']['processor']['useFillerType']('default');}return _0x3867b1;}['getRevisionRootsAttributes'](_0x7b3bf3){const _0x4cb573={};for(const _0x6e4748 in _0x7b3bf3['diffData'])_0x7b3bf3['diffData'][_0x6e4748]['attachChange']&&!_0x7b3bf3['diffData'][_0x6e4748]['attachChange']['isAttached']||(_0x4cb573[_0x6e4748]=_0x7b3bf3['diffData'][_0x6e4748]['attributesAfter']||{});return _0x4cb573;}['_getTypeCharForViewElement'](_0x1528d7){return this['_viewClassToTypeChar']['get'](_0x1528d7['constructor']);}['_getViewFromDiffObj'](_0x50317d,_0x1033ac){const _0x4a20bd=this['editor']['editing']['view']['document'];if('string'==typeof _0x50317d)return new _0x2ab4f3(_0x4a20bd,_0x50317d);{let _0x254102,_0x1eec78;_0x1eec78='u'==_0x50317d['type']||'r'==_0x50317d['type']?[]:_0x50317d['children']['map'](_0x4e35ee=>this['_getViewFromDiffObj'](_0x4e35ee,_0x1033ac));const _0x749dea=this['_typeCharToViewClass']['get'](_0x50317d['type'])||_0x505201,_0x317b37=this['editor']['data']['htmlProcessor']['domConverter'];if(_0x254102=new _0x749dea(_0x4a20bd,_0x50317d['name'],_0x50317d['attributes'],_0x1eec78),'u'==_0x50317d['type']&&_0x50317d['children'][0x0]){const _0x5f1334=_0x50317d['children'][0x0];if(_0x254102['render']=function(_0x427b95){const _0x5063ae=_0x427b95['createElement']('div');return _0x5063ae['innerHTML']=_0x5f1334,_0x5063ae['childNodes'][0x0];},_0x1033ac){const _0x287292=new _0x1daad2(_0x4a20bd);_0x287292['_appendChild'](_0x254102);const _0x1ee05a=Array['from'](_0x317b37['viewChildrenToDom'](_0x287292,{'bind':!0x1})),_0x7a01e8=_0x317b37['domDocument']['createElement']('div');_0x7a01e8['append'](..._0x1ee05a),_0x254102=Array['from'](_0x317b37['domChildrenToView'](_0x7a01e8))[0x0];}}else{if('r'==_0x50317d['type']&&_0x50317d['children'][0x0]){const _0x233711=_0x50317d['children'][0x0];if(_0x254102['render']=function(_0x4a4ce5){_0x4a4ce5['innerHTML']=_0x233711;},_0x1033ac){const _0xcd3c8c=new _0x1daad2(_0x4a20bd);_0xcd3c8c['_appendChild'](_0x254102);const _0x2a7e02=Array['from'](_0x317b37['viewChildrenToDom'](_0xcd3c8c,{'bind':!0x1})),_0xdfcaf4=_0x317b37['domDocument']['createElement']('div');_0xdfcaf4['append'](..._0x2a7e02);const _0x47f924=Array['from'](_0x317b37['domChildrenToView'](_0xdfcaf4));_0x47f924['length']>0x1?_0x254102['_appendChild'](_0x47f924):_0x254102=_0x47f924[0x0];}}}if(_0x50317d['customProperties']){for(const [_0x2fecb8,_0x537cf8]of _0x50317d['customProperties'])_0x254102['_setCustomProperty'](_0x2fecb8,_0x537cf8);}const _0x5aec2d=void 0x0===_0x50317d['fillerOffset']?null:_0x50317d['fillerOffset'];return null!==_0x5aec2d&&(_0x254102['getFillerOffset']=()=>_0x5aec2d),_0x254102;}}['_makeModelFromViewString'](_0x3a4176){const _0x5c5ccc=JSON['parse'](_0x3a4176),_0x4f4cee=this['editor']['editing']['view']['document'],_0x2edadf=new _0x1daad2(_0x4f4cee,_0x5c5ccc['map'](_0x24a131=>this['_getViewFromDiffObj'](_0x24a131,!0x0)));return this['editor']['data']['toModel'](_0x2edadf);}['_removeRevisionMarkers'](_0x193480){return(_0x193480=_0x193480['filter'](_0x438c0f=>!_0x438c0f['name']||'revision-start'!==_0x438c0f['name']&&'revision-end'!==_0x438c0f['name']))['forEach'](_0x20e9f8=>{'string'!=typeof _0x20e9f8&&(_0x20e9f8['children']=this['_removeRevisionMarkers'](_0x20e9f8['children']),_0x20e9f8['attributes']=_0x20e9f8['attributes']['filter'](_0x19ed18=>!_0x19ed18[0x0]['startsWith']('data-revision-')));}),_0x193480;}}function R(_0x5d3310,_0x198597,_0x398005){const t=_0x5d3310['t'];switch(_0x198597){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'},_0x398005);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x398005);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'Accept':return t('Accept');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'';}}class h extends _0x235b76{['licenseKey'];['_licenseKeyCheckInterval'];['currentRevision']=null;['repository'];['adapter']=null;['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_utils'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x34eefc,S,$,_0x360008];}constructor(_0x396b32){super(_0x396b32),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_utils']=this['editor']['plugins']['get']('RevisionHistoryUtils'),this['_revisionDataBuilder']=new E(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x4f5d09=_0x1b5d50();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x4f5d09},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x335906=this['repository']['getRevision'](0x0),_0x3b2f38=_0x335906&&null===_0x335906['creator']?_0x335906:null;if(this['_continueCurrentRevision']=!!_0x3b2f38&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x5f57bc=this['_source']['getCurrentRevisionId'](),_0x2e8c11=this['repository']['getRevision'](_0x5f57bc);if(_0x2e8c11)this['_startingVersion']=_0x2e8c11['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x59e9d0=this['_source']['history']['_operations']['find'](_0x450209=>!_0x450209['_isInit']),_0x58215b=_0x59e9d0?_0x59e9d0['baseVersion']:this['_source']['history']['version'];_0x335906?(_0x335906['toVersion']<_0x58215b&&_0x335906['_update']({'toVersion':_0x58215b}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x3b2f38['id'],this['_startingVersion']=_0x3b2f38['fromVersion']):(this['_startingVersion']=_0x335906['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x58215b,this['_continueCurrentRevision']=!0x1);}}else _0x3b2f38&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x3b2f38['toVersion'],this['editor']['model']['document']['history']['version']),_0x3b2f38['fromVersion']===_0x3b2f38['toVersion']?(0x0!==_0x3b2f38['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x3b2f38['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x3b2f38['id'],this['_startingVersion']=_0x3b2f38['fromVersion'])),this['_continueCurrentRevision']||(this['_startingVersion']=this['editor']['model']['document']['version']);this['_revisionDataBuilder']['init'](this['_source']['history']),this['_createInitialRevision'](this['_startingVersion']),this['_createCurrentRevision'](this['_startingVersion']),this['adapter']&&this['sendBufferedUpdates']();}),this['bind']('isReady')['to'](this,'_isPendingUpdate',_0x59ff31=>!_0x59ff31),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5747f2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x30b631;for(const _0x154b10 in _0x5747f2){const _0x50f5cf=_0x154b10,_0x589680=_0x5747f2[_0x50f5cf];if('revisionHistoryLicenseKeyValid'==_0x589680||'revisionHistoryLicenseKeyInvalid'==_0x589680||'revisionHistoryLicenseKeyExpired'==_0x589680||'revisionHistoryLicenseKeyDomainLimit'==_0x589680||'revisionHistoryLicenseKeyNotAllowed'==_0x589680||'revisionHistoryLicenseKeyEvaluationLimit'==_0x589680||'revisionHistoryLicenseKeyTrialLimit'==_0x589680||'revisionHistoryLicenseKeyUsageLimit'==_0x589680){delete _0x5747f2[_0x50f5cf],_0x30b631=_0x589680,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0x30b631&&_0x5747f2['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0x30b631&&_0x5747f2['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0x30b631&&_0x5747f2['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0x30b631&&_0x5747f2['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0x30b631&&_0x5747f2['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyTrialLimit'==_0x30b631&&_0x5747f2['_showLicenseError']('trialLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0x30b631&&_0x5747f2['_showLicenseError']('usageLimit');},0x3e8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x273e72=this['repository']['getRevision'](0x0),_0x33b406=await this['getRevisionDocumentData'](_0x273e72),_0x5b62e2=await this['getRevisionRootsAttributes'](_0x273e72);this['_replaceEditorDataWithRevisionData'](_0x33b406,_0x5b62e2);}}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['setSource'](_0x31d379){this['_source']=_0x31d379;}async['update'](){const _0x50d140=await this['_source']['getLatestVersion']();if(_0x50d140>this['currentRevision']['toVersion']){await this['_loadState']();const _0x29935d=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x50d140});_0x29935d['authors']=_0x29935d['authorsIds']['map'](_0x3c676d=>this['editor']['plugins']['get']('Users')['getUser'](_0x3c676d)),this['currentRevision']['_update'](_0x29935d);}}async['saveRevision'](_0x2e3adf={},_0x4b0f3d=null){const _0x460823=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x4b0f3d>this['currentRevision']['toVersion']&&(_0x4b0f3d=null),null===_0x4b0f3d&&(_0x4b0f3d=await this['_source']['getLatestVersion']());const _0x155729=this['_getFromVersion'](_0x4b0f3d),_0x3449cf=this['buildRevisionData']({'from':_0x155729,'to':_0x4b0f3d});if(this['currentRevision']['toVersion']<_0x4b0f3d){const _0x22cb45=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x4b0f3d,'to':_0x4b0f3d});_0x22cb45['authors']=[],_0x22cb45['authorsIds']=[],_0x22cb45['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x22cb45,!0x0),delete _0x22cb45['authors'],_0x460823['push'](_0x22cb45);}_0x2e3adf['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x2e3adf['name']=_0x2e3adf['name']||null,_0x2e3adf['id']=_0x2e3adf['id']||_0x1b5d50(),_0x2e3adf={..._0x2e3adf,..._0x3449cf};const _0x436191=this['addRevisionData'](_0x2e3adf);_0x460823['push'](_0x2e3adf);const _0x23f3c8=this['repository']['getIndex'](_0x436191);if(0x0!==_0x23f3c8){const _0x43c8a1=this['repository']['getRevision'](_0x23f3c8-0x1);if(_0x43c8a1['fromVersion']!==_0x4b0f3d){const _0x24f5a7=this['_revisionDataBuilder']['getData'](_0x4b0f3d,_0x43c8a1['toVersion']),_0x5e89b1={'id':_0x43c8a1['id'],'diffData':_0x24f5a7['diffData'],'authorsIds':_0x24f5a7['authorsIds'],'authors':_0x24f5a7['authorsIds']['map'](_0x5f5ac3=>this['editor']['plugins']['get']('Users')['getUser'](_0x5f5ac3)),'fromVersion':_0x4b0f3d};_0x43c8a1===this['currentRevision']&&(_0x5e89b1['createdAt']=new Date(_0x2e3adf['createdAt']['getTime']()+0xa)),_0x43c8a1['_update'](_0x5e89b1,!0x0),delete _0x5e89b1['authors'],_0x460823['push'](_0x5e89b1);}}if(this['adapter']){for(const _0x8bac61 of _0x460823)this['_bufferUpdate'](_0x8bac61['id'],_0x8bac61,!0x0);this['sendBufferedUpdates']();}return _0x436191;}['addRevisionData'](_0x2952eb){const _0xd28568=this['repository']['createRevision'](_0x2952eb);return this['adapter']&&_0xd28568['on']('_update',(_0x3c1343,_0x217e92,_0x4adc70)=>{_0x4adc70||(this['_bufferUpdate'](_0x217e92['id'],_0x217e92,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0xd28568,this['_findInsertionIndex'](_0xd28568)),_0xd28568;}async['getRevisionDocumentData'](_0x227409){return await this['_utils']['loadRevisionData'](_0x227409,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x227409);}async['getRevisionRootsAttributes'](_0x2c0018){return await this['_utils']['loadRevisionData'](_0x2c0018,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x2c0018);}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x397f0b=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x5bf81d=0x0;_0x5bf81d<_0x397f0b['length'];_0x5bf81d++){const _0x15b132=_0x397f0b[_0x5bf81d];let _0x3e3bef=!0x1;for(const _0x451f1b of Object['keys'](_0x15b132))void 0x0===_0x15b132[_0x451f1b]?delete _0x15b132[_0x451f1b]:'id'!==_0x451f1b&&(_0x3e3bef=!0x0);_0x3e3bef||(_0x397f0b[_0x5bf81d]=null);}if(_0x397f0b=_0x397f0b['filter'](_0x465a9f=>null!==_0x465a9f),!_0x397f0b['length'])return;for(let _0x4e5f5d=0x0;_0x4e5f5d<_0x397f0b['length'];_0x4e5f5d++){const _0x23c5ea=_0x397f0b[_0x4e5f5d];void 0x0!==_0x23c5ea['fromVersion']&&void 0x0===_0x23c5ea['toVersion']&&(_0x23c5ea['toVersion']=this['repository']['getRevision'](_0x23c5ea['id'])['toVersion']),void 0x0!==_0x23c5ea['toVersion']&&void 0x0===_0x23c5ea['fromVersion']&&(_0x23c5ea['fromVersion']=this['repository']['getRevision'](_0x23c5ea['id'])['fromVersion']);}const _0x2eee95=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x397f0b,_0x2eee95)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0xed57c1=>{if(_0xed57c1){for(const _0x39f5ad of _0xed57c1)this['setRevisionData']({'id':_0x39f5ad['id'],'createdAt':_0x39f5ad['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['buildRevisionData']({revision:_0x58713b=null,from:_0x4090c1=null,to:_0x3719f7=null}){_0x4090c1=null!==_0x4090c1?_0x4090c1:_0x58713b['fromVersion'],_0x3719f7=null!==_0x3719f7?_0x3719f7:_0x58713b['toVersion'];const _0x1af56c=this['_revisionDataBuilder']['getData'](_0x4090c1,_0x3719f7),_0x5df2f2={'diffData':_0x1af56c['diffData'],'authorsIds':_0x1af56c['authorsIds'],'fromVersion':_0x4090c1,'toVersion':_0x3719f7};if(!_0x58713b||_0x3719f7!==_0x58713b['toVersion']){const _0x5e15fa=_0x3719f7-0x1,_0x3703cb=this['_source']['history']['getOperation'](_0x5e15fa);_0x5df2f2['createdAt']=_0x3703cb&&_0x3703cb['createdAt']||new Date();}if(this['_loadedStateData']&&_0x4090c1===this['_loadedStateData']['fromVersion']){for(const _0x15cbdb of this['_loadedStateData']['authors'])_0x5df2f2['authorsIds']['includes'](_0x15cbdb['id'])||_0x5df2f2['authorsIds']['push'](_0x15cbdb['id']);}return _0x5df2f2;}['_bufferUpdate'](_0x1ef3b5,_0x122b7f,_0x5dca05){if(this['_bufferedUpdates']['has'](_0x1ef3b5)){const _0xee399=this['_bufferedUpdates']['get'](_0x1ef3b5);_0x122b7f=_0x5dca05?{..._0xee399,..._0x122b7f}:{..._0x122b7f,..._0xee399};}this['_bufferedUpdates']['set'](_0x1ef3b5,_0x122b7f);}['setRevisionData'](_0x2b543a){const _0x184480=this['repository']['getRevision'](_0x2b543a['id']);if(_0x2b543a['createdAt']&&(_0x2b543a['createdAt']=new Date(_0x2b543a['createdAt'])),_0x2b543a['authorsIds']){const _0x6f73b8=this['editor']['plugins']['get']('Users');_0x2b543a['authors']=_0x2b543a['authorsIds']['map'](_0x1e358c=>_0x6f73b8['getUser'](_0x1e358c));}_0x184480['_update'](_0x2b543a,!0x0);}['_createInitialRevision'](_0x9cde95){const _0x22abea=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x22abea)this['_initialRevisionId']=_0x22abea['id'];else{const _0x11d022=!this['editor']['model']['document']['roots']['find'](_0x450251=>this['editor']['model']['hasContent'](_0x450251)),_0x598bd4=this['editor']['plugins']['get']('Users')['me']['id'],_0x24e4d6=R(this['editor']['locale'],_0x11d022?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x9cde95,'to':_0x9cde95,'id':this['_initialRevisionId'],'name':_0x24e4d6,'creatorId':_0x598bd4});}}['_createCurrentRevision'](_0x4fd42d){const _0x591cc1=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x591cc1),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x4fd42d,'to':_0x4fd42d,'id':_0x591cc1,'name':'','creatorId':null}));}async['_loadState'](){this['_continueCurrentRevision']&&!this['_loadedStateData']&&(await this['_utils']['loadRevisionData'](this['currentRevision'],this['adapter']),this['_revisionDataBuilder']['loadState'](this['currentRevision']),this['_loadedStateData']={'fromVersion':this['currentRevision']['fromVersion'],'authors':this['currentRevision']['authors']['slice']()});}['_replaceEditorDataWithRevisionData'](_0x567af5,_0x5b5dc9){let _0xc70c1f=this['editor']['config']['get']('initialData'),_0x557257=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0xc70c1f){_0xc70c1f={};for(const _0x1540b4 of this['editor']['model']['document']['getRootNames']())_0xc70c1f[_0x1540b4]='';}if('string'==typeof _0xc70c1f&&(_0xc70c1f={'main':_0xc70c1f}),void 0x0===_0x557257){_0x557257={};for(const _0x31362c of this['editor']['model']['document']['getRootNames']())_0x557257[_0x31362c]={};}let _0x35e04c=!0x1;const _0x343698=Object['keys'](_0xc70c1f),_0x5c76af=Object['keys'](_0x567af5);for(const _0x297049 of _0x343698){if(_0xc70c1f[_0x297049]!==_0x567af5[_0x297049]&&''!==_0xc70c1f[_0x297049]['trim']()){_0x35e04c=!0x0;break;}if(!_0x2b6e41(_0x557257[_0x297049],_0x5b5dc9[_0x297049])&&Object['keys'](_0x557257[_0x297049])['length']>0x0){_0x35e04c=!0x0;break;}}_0x35e04c||(_0x35e04c=_0x5c76af['some'](_0x1acc80=>!this['editor']['model']['document']['getRoot'](_0x1acc80))),_0x35e04c&&_0x7ece4e('editor-initial-data-replaced-with-revision-data',{'editorData':_0xc70c1f,'editorRootsAttributes':_0x557257,'revisionData':_0x567af5,'revisionRootsAttributes':_0x5b5dc9}),this['editor']['config']['set']('initialData',_0x567af5),this['editor']['config']['set']('rootsAttributes',_0x5b5dc9);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x534519=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x534519['add'](R(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x253cc5){const _0x4fc80d=this['repository']['getRevisions']();_0x4fc80d['reverse']();let _0x106538=0x0;for(;_0x106538<_0x4fc80d['length'];){const _0x3d69bb=_0x4fc80d[_0x106538];if(_0x3d69bb===this['currentRevision']){_0x106538++;continue;}if(_0x3d69bb['id']===this['_initialRevisionId'])break;const _0x6db859=_0x253cc5['toVersion']-_0x3d69bb['toVersion']||_0x253cc5['fromVersion']-_0x3d69bb['fromVersion'];if(_0x6db859>0x0)break;if(_0x6db859<0x0)_0x106538++;else{if(!_0x253cc5['creator']&&_0x3d69bb['creator'])break;if(_0x3d69bb['creator']||!_0x253cc5['creator']){if(_0x253cc5['createdAt']>_0x3d69bb['createdAt'])break;_0x106538++;}else _0x106538++;}}return _0x106538;}['_getFromVersion'](_0x567910){const _0x4e8c0f=this['repository']['getRevisions']();_0x4e8c0f['reverse'](),_0x4e8c0f['shift']();const _0x20c624=_0x4e8c0f['find'](_0xe52e68=>_0xe52e68['toVersion']<=_0x567910)['toVersion'];return _0x20c624<this['_startingVers