UNPKG

@ckeditor/ckeditor5-operations-compressor

Version:

CKEditor 5 operations compressor for real-time collaboration.

23 lines 3.12 kB
/* * Copyright (c) 2003-2026, 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. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ const _0x2d22e0=_0x4cb3;(function(_0x4dec79,_0x543a99){const _0x16feb1=_0x4cb3,_0x28d269=_0x4dec79();while(!![]){try{const _0x349fa0=parseInt(_0x16feb1(0x1fa))/0x1+parseInt(_0x16feb1(0x1f0))/0x2+-parseInt(_0x16feb1(0x1ed))/0x3+parseInt(_0x16feb1(0x1f5))/0x4+-parseInt(_0x16feb1(0x1ec))/0x5+parseInt(_0x16feb1(0x1f8))/0x6+-parseInt(_0x16feb1(0x1fc))/0x7;if(_0x349fa0===_0x543a99)break;else _0x28d269['push'](_0x28d269['shift']());}catch(_0x5e426e){_0x28d269['push'](_0x28d269['shift']());}}}(_0xee62,0x94612));function _0x4cb3(_0xe07b7e,_0x4db434){const _0xee62b7=_0xee62();return _0x4cb3=function(_0x4cb31c,_0x26e802){_0x4cb31c=_0x4cb31c-0x1eb;let _0x10999a=_0xee62b7[_0x4cb31c];return _0x10999a;},_0x4cb3(_0xe07b7e,_0x4db434);}import{messages as _0x4b1d90}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x2d22e0(0x1ee)];constructor(){const _0x4b0dd6=_0x2d22e0;this[_0x4b0dd6(0x1ee)]=_0x4b1d90;}[_0x2d22e0(0x1f2)](_0x1e5dc3){const _0x247b5e=_0x2d22e0;return new ProtobufDescriptor(this[_0x247b5e(0x1ee)][_0x1e5dc3]);}}export class ProtobufDescriptor{[_0x2d22e0(0x1f3)];constructor(_0x3733cd){const _0x57d6f5=_0x2d22e0;this[_0x57d6f5(0x1f3)]=_0x3733cd;}[_0x2d22e0(0x1ef)](_0x34f2ef){const _0x46136b=_0x2d22e0,_0x3fb5c2=this[_0x46136b(0x1f3)][_0x46136b(0x1fb)](_0x34f2ef);if(_0x3fb5c2)throw Error(_0x3fb5c2);return this[_0x46136b(0x1f3)][_0x46136b(0x1eb)](this[_0x46136b(0x1f3)][_0x46136b(0x1f7)](_0x34f2ef))[_0x46136b(0x1f9)]();}[_0x2d22e0(0x1f6)](_0x26ff71){const _0x14a6b8=_0x2d22e0;return this[_0x14a6b8(0x1f3)][_0x14a6b8(0x1f1)](this[_0x14a6b8(0x1f3)][_0x14a6b8(0x1f4)](_0x26ff71),{'oneofs':!0x0});}}function _0xee62(){const _0x59b8fe=['1246010ipJDHV','317280RfGxlL','_protobufRoot','compress','132190vftnjb','toObject','getDescriptor','_protobuf','decode','4834172htsatH','decompress','create','6012456FbLCyI','finish','886078oJdikm','verify','15400476wbABXb','encode'];_0xee62=function(){return _0x59b8fe;};return _0xee62();}