UNPKG

@ckeditor/ckeditor5-operations-compressor

Version:

CKEditor 5 operations compressor for real-time collaboration.

23 lines 3.48 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 _0xf09e86=_0x1547;(function(_0x58ed10,_0x39cb3c){const _0x211ad5=_0x1547,_0x88b27=_0x58ed10();while(!![]){try{const _0x14ceba=parseInt(_0x211ad5(0x163))/0x1*(parseInt(_0x211ad5(0x16a))/0x2)+parseInt(_0x211ad5(0x16b))/0x3*(parseInt(_0x211ad5(0x16f))/0x4)+parseInt(_0x211ad5(0x167))/0x5*(-parseInt(_0x211ad5(0x15b))/0x6)+-parseInt(_0x211ad5(0x15c))/0x7*(-parseInt(_0x211ad5(0x169))/0x8)+parseInt(_0x211ad5(0x165))/0x9*(-parseInt(_0x211ad5(0x164))/0xa)+parseInt(_0x211ad5(0x168))/0xb*(parseInt(_0x211ad5(0x161))/0xc)+-parseInt(_0x211ad5(0x15a))/0xd*(parseInt(_0x211ad5(0x160))/0xe);if(_0x14ceba===_0x39cb3c)break;else _0x88b27['push'](_0x88b27['shift']());}catch(_0x92ac3a){_0x88b27['push'](_0x88b27['shift']());}}}(_0x26d1,0x25eeb));function _0x1547(_0x2d5557,_0xf3764e){const _0x26d117=_0x26d1();return _0x1547=function(_0x15470b,_0x2ffeb2){_0x15470b=_0x15470b-0x159;let _0x4abd2e=_0x26d117[_0x15470b];return _0x4abd2e;},_0x1547(_0x2d5557,_0xf3764e);}import{MarkerOperationCompressor as _0x352e9e}from'./markeroperationcompressor.js';function _0x26d1(){const _0x9a3618=['99XOdpfo','replace','__className','MarkerOperation','28148SwnuZS','compress','1667549rKAwcF','171516CYIKFt','7rGooTB','startsWith','decompress','name','42GIFmqE','708kmKmsO','length','810OLAunW','46430IgLuGX','27RuPfBH','_omittedNamespace','15IzZste','54527XtlSCU','454984YjpWCH','144yCMDHN'];_0x26d1=function(){return _0x9a3618;};return _0x26d1();}export class AnnotationMarkerOperationCompressor extends _0x352e9e{[_0xf09e86(0x166)];constructor(_0x5dcb3d,_0x358f84,_0x2d7896,_0x51f078){const _0x5a52c6=_0xf09e86;super(_0x5dcb3d,_0x358f84,_0x2d7896),this[_0x5a52c6(0x166)]=_0x51f078+':';}[_0xf09e86(0x159)](_0x530d80,_0x1f9484){const _0x4f4daa=_0xf09e86;return!(_0x4f4daa(0x16e)!=_0x1f9484[0x0][_0x4f4daa(0x16d)]||!_0x1f9484[0x0][_0x4f4daa(0x15f)][_0x4f4daa(0x15d)](this[_0x4f4daa(0x166)]))&&(_0x1f9484[0x0][_0x4f4daa(0x15f)]=_0x1f9484[0x0][_0x4f4daa(0x15f)][_0x4f4daa(0x16c)](new RegExp('^'+this[_0x4f4daa(0x166)]),''),super[_0x4f4daa(0x159)](_0x530d80,_0x1f9484),!0x0);}[_0xf09e86(0x15e)](_0xe67f27,_0x21f72e){const _0x485f51=_0xf09e86;super[_0x485f51(0x15e)](_0xe67f27,_0x21f72e);const _0x9e5093=_0xe67f27[_0xe67f27[_0x485f51(0x162)]-0x1];_0x9e5093[_0x485f51(0x15f)]=this[_0x485f51(0x166)]+_0x9e5093[_0x485f51(0x15f)];}}