UNPKG

@ckeditor/ckeditor5-operations-compressor

Version:

CKEditor 5 operations compressor for real-time collaboration.

23 lines 3.25 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. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ const _0x501173=_0x4c31;(function(_0x5d136a,_0x2bea05){const _0x5225e6=_0x4c31,_0x4c5a52=_0x5d136a();while(!![]){try{const _0x3bb654=parseInt(_0x5225e6(0x18c))/0x1*(-parseInt(_0x5225e6(0x17a))/0x2)+parseInt(_0x5225e6(0x17c))/0x3*(-parseInt(_0x5225e6(0x183))/0x4)+parseInt(_0x5225e6(0x17f))/0x5+-parseInt(_0x5225e6(0x188))/0x6+parseInt(_0x5225e6(0x187))/0x7+parseInt(_0x5225e6(0x18a))/0x8*(parseInt(_0x5225e6(0x189))/0x9)+-parseInt(_0x5225e6(0x185))/0xa;if(_0x3bb654===_0x2bea05)break;else _0x4c5a52['push'](_0x4c5a52['shift']());}catch(_0x403904){_0x4c5a52['push'](_0x4c5a52['shift']());}}}(_0x329b,0x4ea67));function _0x329b(){const _0x49082f=['compress','finish','_protobufRoot','1156tOkafE','toObject','3613620ABJXmI','create','2343691rzIGGb','1152024nyGZVR','9qcchLm','4654256fmeRNk','verify','143ADHsQA','decompress','decode','2390wvLbsM','_protobuf','3009EuIskd','encode','getDescriptor','2098370dVyTkN'];_0x329b=function(){return _0x49082f;};return _0x329b();}function _0x4c31(_0x1d72a0,_0x11f09e){const _0x329b4a=_0x329b();return _0x4c31=function(_0x4c31fb,_0x3568a3){_0x4c31fb=_0x4c31fb-0x17a;let _0x415f9a=_0x329b4a[_0x4c31fb];return _0x415f9a;},_0x4c31(_0x1d72a0,_0x11f09e);}import{messages as _0x162f43}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x501173(0x182)];constructor(){const _0x1f4c2d=_0x501173;this[_0x1f4c2d(0x182)]=_0x162f43;}[_0x501173(0x17e)](_0x9a4596){const _0x742b2e=_0x501173;return new ProtobufDescriptor(this[_0x742b2e(0x182)][_0x9a4596]);}}export class ProtobufDescriptor{[_0x501173(0x17b)];constructor(_0x59da69){const _0x523592=_0x501173;this[_0x523592(0x17b)]=_0x59da69;}[_0x501173(0x180)](_0x51d0d2){const _0x5da80a=_0x501173,_0x279b6d=this[_0x5da80a(0x17b)][_0x5da80a(0x18b)](_0x51d0d2);if(_0x279b6d)throw Error(_0x279b6d);return this[_0x5da80a(0x17b)][_0x5da80a(0x17d)](this[_0x5da80a(0x17b)][_0x5da80a(0x186)](_0x51d0d2))[_0x5da80a(0x181)]();}[_0x501173(0x18d)](_0x39760f){const _0x4132b1=_0x501173;return this[_0x4132b1(0x17b)][_0x4132b1(0x184)](this[_0x4132b1(0x17b)][_0x4132b1(0x18e)](_0x39760f),{'oneofs':!0x0});}}