UNPKG

@ckeditor/ckeditor5-revision-history

Version:

Document revision history feature for CKEditor 5.

24 lines 3.1 kB
/* * 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. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ function _0x194e(_0x5efa1d,_0x5c72f6){var _0x239aa6=_0x239a();return _0x194e=function(_0x194e2a,_0x5e5286){_0x194e2a=_0x194e2a-0x1e9;var _0xb9a461=_0x239aa6[_0x194e2a];return _0xb9a461;},_0x194e(_0x5efa1d,_0x5c72f6);}var _0x5f0c67=_0x194e;function _0x239a(){var _0x1a3346=['1187370INNksU','645820Efosdv','161600aKUWbi','rootName','toJSON','54IDkkms','25640FeeNhO','set','type','createdAt','data','369LYsnZS','214725pTAVhB','506946dGEUDd','8cZjVld','author','155982rCOUpi'];_0x239a=function(){return _0x1a3346;};return _0x239a();}(function(_0x1bea8f,_0xb671bd){var _0x1ab6a2=_0x194e,_0x1c19e7=_0x1bea8f();while(!![]){try{var _0x2c8597=parseInt(_0x1ab6a2(0x1f8))/0x1+parseInt(_0x1ab6a2(0x1e9))/0x2+-parseInt(_0x1ab6a2(0x1f5))/0x3*(-parseInt(_0x1ab6a2(0x1f6))/0x4)+-parseInt(_0x1ab6a2(0x1f9))/0x5+-parseInt(_0x1ab6a2(0x1ed))/0x6*(parseInt(_0x1ab6a2(0x1f4))/0x7)+parseInt(_0x1ab6a2(0x1ee))/0x8*(-parseInt(_0x1ab6a2(0x1f3))/0x9)+parseInt(_0x1ab6a2(0x1ea))/0xa;if(_0x2c8597===_0xb671bd)break;else _0x1c19e7['push'](_0x1c19e7['shift']());}catch(_0x173fe4){_0x1c19e7['push'](_0x1c19e7['shift']());}}}(_0x239a,0x2de9e));import{ObservableMixin as _0x47c4e1,uid as _0x4c440e}from'ckeditor5/src/utils.js';export default class r extends/* #__PURE__ -- @preserve */ _0x47c4e1(){['id'];[_0x5f0c67(0x1f7)];[_0x5f0c67(0x1f0)];[_0x5f0c67(0x1f2)];[_0x5f0c67(0x1eb)];constructor(_0x4879b4){var _0x506f63=_0x5f0c67;super(),this['id']=_0x4879b4['id']||_0x4c440e(),this[_0x506f63(0x1f7)]=_0x4879b4[_0x506f63(0x1f7)],this[_0x506f63(0x1f0)]=_0x4879b4[_0x506f63(0x1f0)],this[_0x506f63(0x1f2)]=_0x4879b4[_0x506f63(0x1f2)]||{},this[_0x506f63(0x1eb)]=_0x4879b4[_0x506f63(0x1eb)],this[_0x506f63(0x1ef)](_0x506f63(0x1f1),_0x4879b4[_0x506f63(0x1f1)]);}[_0x5f0c67(0x1ec)](){var _0xd1303c=_0x5f0c67;return{'id':this['id'],'authorId':this[_0xd1303c(0x1f7)]['id'],'type':this[_0xd1303c(0x1f0)],'data':this[_0xd1303c(0x1f2)],'createdAt':this[_0xd1303c(0x1f1)]};}}