UNPKG

@ckeditor/ckeditor5-operations-compressor

Version:

CKEditor 5 operations compressor for real-time collaboration.

23 lines 5.61 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 _0x58ff(_0x1c80b9,_0x324b4f){var _0x2dc8d3=_0x2dc8();return _0x58ff=function(_0x58ff30,_0x3d8cf2){_0x58ff30=_0x58ff30-0x17b;var _0xfe3d1=_0x2dc8d3[_0x58ff30];return _0xfe3d1;},_0x58ff(_0x1c80b9,_0x324b4f);}var _0x4d293b=_0x58ff;function _0x2dc8(){var _0x159831=['repeated','3228Njwcnh','10vUKzEp','1oyJpQg','string','4vhmPsk','89112tIxsan','71239558SmFIMN','3254798tBUJtC','5lgpyWY','Position','4965603gOpmwc','16599Balhhz','uint32','Range','623KWGbHq','6810546LiAZtj','Element','5040180xttNTy','bool'];_0x2dc8=function(){return _0x159831;};return _0x2dc8();}(function(_0x9c2be4,_0x1da1fb){var _0x5d5fe5=_0x58ff,_0x4a38b1=_0x9c2be4();while(!![]){try{var _0x2a4071=-parseInt(_0x5d5fe5(0x188))/0x1*(-parseInt(_0x5d5fe5(0x18d))/0x2)+-parseInt(_0x5d5fe5(0x17c))/0x3*(-parseInt(_0x5d5fe5(0x18a))/0x4)+parseInt(_0x5d5fe5(0x18e))/0x5*(parseInt(_0x5d5fe5(0x181))/0x6)+parseInt(_0x5d5fe5(0x180))/0x7*(parseInt(_0x5d5fe5(0x18b))/0x8)+parseInt(_0x5d5fe5(0x183))/0x9*(parseInt(_0x5d5fe5(0x187))/0xa)+parseInt(_0x5d5fe5(0x17d))/0xb*(parseInt(_0x5d5fe5(0x186))/0xc)+-parseInt(_0x5d5fe5(0x18c))/0xd;if(_0x2a4071===_0x1da1fb)break;else _0x4a38b1['push'](_0x4a38b1['shift']());}catch(_0x66c850){_0x4a38b1['push'](_0x4a38b1['shift']());}}}(_0x2dc8,0xda83d));export default{'AttributeOperation':{'fields':{'range':{'type':_0x4d293b(0x17f),'id':0x1},'key':{'type':_0x4d293b(0x189),'id':0x2},'oldValueBoolean':{'type':_0x4d293b(0x184),'id':0x3},'oldValueJson':{'type':_0x4d293b(0x189),'id':0x4},'newValueBoolean':{'type':_0x4d293b(0x184),'id':0x5},'newValueJson':{'type':_0x4d293b(0x189),'id':0x6},'wasUndone':{'type':_0x4d293b(0x184),'id':0x7}}},'InsertOperation':{'fields':{'position':{'type':_0x4d293b(0x17b),'id':0x1},'nodes':{'rule':_0x4d293b(0x185),'type':_0x4d293b(0x182),'id':0x2},'shouldReceiveAttributes':{'type':_0x4d293b(0x184),'id':0x3},'wasUndone':{'type':_0x4d293b(0x184),'id':0x4}}},'MarkerOperation':{'fields':{'name':{'type':_0x4d293b(0x189),'id':0x1},'oldRange':{'type':_0x4d293b(0x17f),'id':0x2},'newRange':{'type':_0x4d293b(0x17f),'id':0x3},'affectsData':{'type':_0x4d293b(0x184),'id':0x4},'wasUndone':{'type':_0x4d293b(0x184),'id':0x5}}},'MergeOperation':{'fields':{'sourcePosition':{'type':_0x4d293b(0x17b),'id':0x1},'targetPosition':{'type':_0x4d293b(0x17b),'id':0x2},'graveyardPosition':{'type':_0x4d293b(0x17b),'id':0x3},'howMany':{'type':_0x4d293b(0x17e),'id':0x4},'wasUndone':{'type':_0x4d293b(0x184),'id':0x5}}},'MoveOperation':{'fields':{'sourcePosition':{'type':_0x4d293b(0x17b),'id':0x1},'howMany':{'type':_0x4d293b(0x17e),'id':0x2},'targetPosition':{'type':_0x4d293b(0x17b),'id':0x3},'wasUndone':{'type':_0x4d293b(0x184),'id':0x4}}},'RenameOperation':{'fields':{'position':{'type':_0x4d293b(0x17b),'id':0x1},'oldName':{'type':_0x4d293b(0x189),'id':0x2},'newName':{'type':_0x4d293b(0x189),'id':0x3},'wasUndone':{'type':_0x4d293b(0x184),'id':0x4}}},'RootAttributeOperation':{'fields':{'root':{'type':_0x4d293b(0x189),'id':0x1},'key':{'type':_0x4d293b(0x189),'id':0x2},'oldValueBoolean':{'type':_0x4d293b(0x184),'id':0x3},'oldValueJson':{'type':_0x4d293b(0x189),'id':0x4},'newValueBoolean':{'type':_0x4d293b(0x184),'id':0x5},'newValueJson':{'type':_0x4d293b(0x189),'id':0x6},'wasUndone':{'type':_0x4d293b(0x184),'id':0x7}}},'RootOperation':{'fields':{'rootName':{'type':_0x4d293b(0x189),'id':0x1},'elementName':{'type':_0x4d293b(0x189),'id':0x2},'isAdd':{'type':_0x4d293b(0x184),'id':0x3},'wasUndone':{'type':_0x4d293b(0x184),'id':0x4}}},'SplitOperation':{'fields':{'splitPosition':{'type':_0x4d293b(0x17b),'id':0x1},'graveyardPosition':{'type':_0x4d293b(0x17b),'id':0x2},'howMany':{'type':_0x4d293b(0x17e),'id':0x3},'insertionPosition':{'type':_0x4d293b(0x17b),'id':0x4},'wasUndone':{'type':_0x4d293b(0x184),'id':0x5}}},'Position':{'fields':{'root':{'type':_0x4d293b(0x189),'id':0x1},'rootMain':{'type':_0x4d293b(0x184),'id':0x2},'rootGraveyard':{'type':_0x4d293b(0x184),'id':0x3},'path':{'rule':_0x4d293b(0x185),'type':_0x4d293b(0x17e),'id':0x4},'stickiness':{'type':_0x4d293b(0x189),'id':0x5}}},'Range':{'fields':{'start':{'type':_0x4d293b(0x17b),'id':0x1},'end':{'type':_0x4d293b(0x17b),'id':0x2}}},'Element':{'fields':{'name':{'type':_0x4d293b(0x189),'id':0x1},'children':{'rule':_0x4d293b(0x185),'type':_0x4d293b(0x182),'id':0x2},'data':{'type':_0x4d293b(0x189),'id':0x3},'attributesBoolean':{'keyType':_0x4d293b(0x189),'type':_0x4d293b(0x184),'id':0x4},'attributesJson':{'type':_0x4d293b(0x189),'id':0x5}}}};