@ckeditor/ckeditor5-operations-compressor 45.0.0-alpha.9 → 45.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +3 -3
- package/src/actioncompressor/actioncompressor.js +1 -1
- package/src/actioncompressor/deletingactioncompressor.js +1 -1
- package/src/actioncompressor/forwarddeletingactioncompressor.js +1 -1
- package/src/actioncompressor/typingactioncompressor.js +1 -1
- package/src/actioncompressor/userselectionactioncompressor.js +1 -1
- package/src/compressor.js +1 -1
- package/src/index.js +1 -1
- package/src/lib/compiledmessages.js +2 -2
- package/src/lib/protobufdescriptions.js +1 -1
- package/src/operationcompressor/annotationmarkeroperationcompressor.js +1 -1
- package/src/operationcompressor/attributeoperationcompressor.js +1 -1
- package/src/operationcompressor/insertoperationcompressor.js +1 -1
- package/src/operationcompressor/markeroperationcompressor.js +1 -1
- package/src/operationcompressor/nooperationcompressor.js +1 -1
- package/src/operationcompressor/operationcompressor.js +1 -1
- package/src/protobuffactory.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x5904dd=_0x5b30;function _0x5b30(_0x1cec70,_0x1aa5ec){var _0x292a53=_0x292a();return _0x5b30=function(_0x5b302b,_0x293a39){_0x5b302b=_0x5b302b-0x1a4;var _0x419104=_0x292a53[_0x5b302b];return _0x419104;},_0x5b30(_0x1cec70,_0x1aa5ec);}(function(_0x4decf9,_0x51cb4c){var _0x4b3e78=_0x5b30,_0x5c8d8c=_0x4decf9();while(!![]){try{var _0xaa321c=parseInt(_0x4b3e78(0x1af))/0x1+parseInt(_0x4b3e78(0x1ad))/0x2*(-parseInt(_0x4b3e78(0x1b2))/0x3)+-parseInt(_0x4b3e78(0x1b1))/0x4+-parseInt(_0x4b3e78(0x1a6))/0x5*(-parseInt(_0x4b3e78(0x1ab))/0x6)+-parseInt(_0x4b3e78(0x1a8))/0x7*(-parseInt(_0x4b3e78(0x1ac))/0x8)+parseInt(_0x4b3e78(0x1b3))/0x9+-parseInt(_0x4b3e78(0x1ae))/0xa;if(_0xaa321c===_0x51cb4c)break;else _0x5c8d8c['push'](_0x5c8d8c['shift']());}catch(_0x298b73){_0x5c8d8c['push'](_0x5c8d8c['shift']());}}}(_0x292a,0x8e170));import _0x1ad751 from'./operationcompressor.js';function _0x292a(){var _0x26b211=['296590PuKmnM','push','_operationName','73086oJGTWe','216HRIpxk','6VVsEJP','10034640KcmwUF','1047531ouUhok','shift','2071408GrxCJL','365019qHahkI','1723923jwjrOK','_id','decompress','compress','35fjBwGR','types'];_0x292a=function(){return _0x26b211;};return _0x292a();}export default class p extends _0x1ad751{[_0x5904dd(0x1a5)](_0x34b162,_0x26eeee){var _0x17b1d1=_0x5904dd;return _0x26eeee[_0x17b1d1(0x1b0)](),_0x34b162[_0x17b1d1(0x1a7)][_0x17b1d1(0x1a9)](this[_0x17b1d1(0x1b4)]),!0x0;}[_0x5904dd(0x1a4)](_0x3ec8ab,_0x4d1e19){var _0x4fe3fe=_0x5904dd;_0x4d1e19[_0x4fe3fe(0x1a7)][_0x4fe3fe(0x1b0)](),_0x3ec8ab[_0x4fe3fe(0x1a9)]({'__className':this[_0x4fe3fe(0x1aa)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1c4e67=_0x5b73;(function(_0x349ba7,_0x1dbb0b){const _0x4fad2c=_0x5b73,_0x320eb3=_0x349ba7();while(!![]){try{const _0x20b85e=parseInt(_0x4fad2c(0x1e7))/0x1*(-parseInt(_0x4fad2c(0x1e4))/0x2)+-parseInt(_0x4fad2c(0x1e9))/0x3+-parseInt(_0x4fad2c(0x1d9))/0x4+-parseInt(_0x4fad2c(0x1dd))/0x5+-parseInt(_0x4fad2c(0x1e6))/0x6+-parseInt(_0x4fad2c(0x1e0))/0x7*(-parseInt(_0x4fad2c(0x1e8))/0x8)+parseInt(_0x4fad2c(0x1db))/0x9*(parseInt(_0x4fad2c(0x1de))/0xa);if(_0x20b85e===_0x1dbb0b)break;else _0x320eb3['push'](_0x320eb3['shift']());}catch(_0x52b6fa){_0x320eb3['push'](_0x320eb3['shift']());}}}(_0x3b1e,0xd2dc3));import{parsePositionBeforeCompression as _0x14a3b2,parsePositionAfterCompression as _0x2ab32e}from'../utils.js';function _0x5b73(_0x2f680d,_0x19323b){const _0x3b1ee5=_0x3b1e();return _0x5b73=function(_0x5b73e3,_0x3336b2){_0x5b73e3=_0x5b73e3-0x1d8;let _0x2f9fe6=_0x3b1ee5[_0x5b73e3];return _0x2f9fe6;},_0x5b73(_0x2f680d,_0x19323b);}export default class e{[_0x1c4e67(0x1da)];[_0x1c4e67(0x1d8)];[_0x1c4e67(0x1dc)];constructor(_0x490ae,_0x2c91e2,_0x368189){const _0x2268ad=_0x1c4e67;this[_0x2268ad(0x1da)]=_0x490ae,this[_0x2268ad(0x1d8)]=_0x2c91e2,this[_0x2268ad(0x1dc)]=_0x368189;}[_0x1c4e67(0x1e2)](_0x1ae4e1,_0xd1c39a){const _0x164690=_0x1c4e67,_0x18f214=_0xd1c39a[_0x164690(0x1e1)]();return _0x14a3b2(_0x18f214),_0x1ae4e1[_0x164690(0x1ea)][_0x164690(0x1e3)](this[_0x164690(0x1dc)][_0x164690(0x1e2)](_0x18f214)),_0x1ae4e1[_0x164690(0x1eb)][_0x164690(0x1e3)](this[_0x164690(0x1da)]),!0x0;}[_0x1c4e67(0x1df)](_0x4a3d59,_0x487673){const _0xdfdfe=_0x1c4e67;_0x487673[_0xdfdfe(0x1eb)][_0xdfdfe(0x1e1)]();const _0x3b46c1=this[_0xdfdfe(0x1dc)][_0xdfdfe(0x1df)](_0x487673[_0xdfdfe(0x1ea)][_0xdfdfe(0x1e1)]());_0x2ab32e(_0x3b46c1),_0x3b46c1[_0xdfdfe(0x1e5)]=this[_0xdfdfe(0x1d8)],_0x4a3d59[_0xdfdfe(0x1e3)](_0x3b46c1);}}function _0x3b1e(){const _0xa4e781=['53373429trohHs','_protobufDescriptor','3008890TNphsZ','10cfjCJT','decompress','7cMATrf','shift','compress','push','94ahaOEE','__className','8178546FZwIbw','35551yZqSZF','11580032qnyyxp','4951551BLfpgU','buffers','types','_operationName','4911676sSJqTN','_id'];_0x3b1e=function(){return _0xa4e781;};return _0x3b1e();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35c76c=_0x2fc4;function _0x2fc4(_0x6c6f9a,_0x1226e6){const _0x1b6dd7=_0x1b6d();return _0x2fc4=function(_0x2fc407,_0x353357){_0x2fc407=_0x2fc407-0x101;let _0x220e5b=_0x1b6dd7[_0x2fc407];return _0x220e5b;},_0x2fc4(_0x6c6f9a,_0x1226e6);}(function(_0x9f22c5,_0x56dd4c){const _0x147b70=_0x2fc4,_0x319617=_0x9f22c5();while(!![]){try{const _0x3fbfd1=-parseInt(_0x147b70(0x116))/0x1*(-parseInt(_0x147b70(0x107))/0x2)+parseInt(_0x147b70(0x10b))/0x3+-parseInt(_0x147b70(0x115))/0x4+-parseInt(_0x147b70(0x10a))/0x5*(-parseInt(_0x147b70(0x113))/0x6)+parseInt(_0x147b70(0x10e))/0x7+parseInt(_0x147b70(0x111))/0x8*(-parseInt(_0x147b70(0x101))/0x9)+-parseInt(_0x147b70(0x105))/0xa*(-parseInt(_0x147b70(0x109))/0xb);if(_0x3fbfd1===_0x56dd4c)break;else _0x319617['push'](_0x319617['shift']());}catch(_0x5e133b){_0x319617['push'](_0x319617['shift']());}}}(_0x1b6d,0x2cb08));import{messages as _0xdd3a4d}from'./lib/compiledmessages.js';function _0x1b6d(){const _0x4766c2=['decompress','1206856SmqBoa','17nVzeuy','2155509QrTpGZ','getDescriptor','verify','_protobuf','10NwSPwW','encode','27710npjMHK','_protobufRoot','2147552aWtqwq','55465olxuFX','414897SRWJds','decode','finish','698124LYbwVs','toObject','compress','8HViKkr','create','30pPAbqK'];_0x1b6d=function(){return _0x4766c2;};return _0x1b6d();}export default class r{[_0x35c76c(0x108)];constructor(){const _0x37da40=_0x35c76c;this[_0x37da40(0x108)]=_0xdd3a4d;}[_0x35c76c(0x102)](_0x4b8971){const _0x2746cb=_0x35c76c;return new ProtobufDescriptor(this[_0x2746cb(0x108)][_0x4b8971]);}}export class ProtobufDescriptor{[_0x35c76c(0x104)];constructor(_0x526cb3){const _0x167b42=_0x35c76c;this[_0x167b42(0x104)]=_0x526cb3;}[_0x35c76c(0x110)](_0x46a711){const _0x376134=_0x35c76c,_0x21a82e=this[_0x376134(0x104)][_0x376134(0x103)](_0x46a711);if(_0x21a82e)throw Error(_0x21a82e);return this[_0x376134(0x104)][_0x376134(0x106)](this[_0x376134(0x104)][_0x376134(0x112)](_0x46a711))[_0x376134(0x10d)]();}[_0x35c76c(0x114)](_0x45d759){const _0x310bec=_0x35c76c;return this[_0x310bec(0x104)][_0x310bec(0x10f)](this[_0x310bec(0x104)][_0x310bec(0x10c)](_0x45d759),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x197ef2,_0x2e1db5){const _0x4071d4=_0x3624,_0x3828f5=_0x197ef2();while(!![]){try{const _0x55ee71=parseInt(_0x4071d4(0x1d6))/0x1+parseInt(_0x4071d4(0x1d9))/0x2+parseInt(_0x4071d4(0x1d1))/0x3*(parseInt(_0x4071d4(0x1d3))/0x4)+parseInt(_0x4071d4(0x1d5))/0x5+-parseInt(_0x4071d4(0x1cd))/0x6+parseInt(_0x4071d4(0x1ca))/0x7*(parseInt(_0x4071d4(0x1cc))/0x8)+-parseInt(_0x4071d4(0x1cf))/0x9;if(_0x55ee71===_0x2e1db5)break;else _0x3828f5['push'](_0x3828f5['shift']());}catch(_0x337b6b){_0x3828f5['push'](_0x3828f5['shift']());}}}(_0x3cab,0x5bbcf));function _0x3cab(){const _0x1254a6=['1332270LtiYrm','rootMain','11570193IvijnJ','path','3BIPsPS','$graveyard','439124SABwTR','rootGraveyard','3636610NelyLw','732471CtduTE','main','root','596826NHulPz','nodes','107758IxHvrc','length','8tTZrCr'];_0x3cab=function(){return _0x1254a6;};return _0x3cab();}import{cloneDeep as _0x5eeaea,isEqual as _0x5caa90,isObject as _0x158a5f}from'es-toolkit/compat';export function getPositionShiftedBy(_0x40c1cf,_0x1027a3){const _0x31a29c=_0x3624,_0x3fb096=_0x5eeaea(_0x40c1cf);return _0x3fb096[_0x31a29c(0x1d0)][_0x3fb096[_0x31a29c(0x1d0)][_0x31a29c(0x1cb)]-0x1]+=_0x1027a3,_0x3fb096;}export function arePositionsEqual(_0x33fcdc,_0x5ed287){const _0x596edf=_0x3624;return _0x33fcdc[_0x596edf(0x1d8)]===_0x5ed287[_0x596edf(0x1d8)]&&_0x5caa90(_0x33fcdc[_0x596edf(0x1d0)],_0x5ed287[_0x596edf(0x1d0)]);}function _0x3624(_0x17105f,_0x1c5f3c){const _0x3cab51=_0x3cab();return _0x3624=function(_0x362447,_0xc2f218){_0x362447=_0x362447-0x1c9;let _0xda46e9=_0x3cab51[_0x362447];return _0xda46e9;},_0x3624(_0x17105f,_0x1c5f3c);}export function parsePositionBeforeCompression(_0x4738ff){const _0x33bd75=_0x3624;P(_0x4738ff,_0x172046=>(_0x33bd75(0x1d7)==_0x172046[_0x33bd75(0x1d8)]?(_0x172046[_0x33bd75(0x1ce)]=!0x0,delete _0x172046[_0x33bd75(0x1d8)]):_0x33bd75(0x1d2)==_0x172046[_0x33bd75(0x1d8)]&&(_0x172046[_0x33bd75(0x1d4)]=!0x0,delete _0x172046[_0x33bd75(0x1d8)]),_0x172046));}export function parsePositionAfterCompression(_0xd11f04){const _0x5ea39a=_0x3624;P(_0xd11f04,_0x5d5041=>(_0x5d5041[_0x5ea39a(0x1ce)]?(_0x5d5041[_0x5ea39a(0x1d8)]=_0x5ea39a(0x1d7),delete _0x5d5041[_0x5ea39a(0x1ce)]):_0x5d5041[_0x5ea39a(0x1d4)]&&(_0x5d5041[_0x5ea39a(0x1d8)]=_0x5ea39a(0x1d2),delete _0x5d5041[_0x5ea39a(0x1d4)]),_0x5d5041));}function P(_0x215c7a,_0x124f64){const _0x545d2b=_0x3624;for(const _0x25615f in _0x215c7a){const _0x559426=_0x215c7a[_0x25615f];_0x545d2b(0x1c9)!==_0x25615f&&_0x158a5f(_0x559426)&&(_0x559426[_0x545d2b(0x1d0)]&&(_0x559426[_0x545d2b(0x1d8)]||_0x559426[_0x545d2b(0x1ce)]||_0x559426[_0x545d2b(0x1d4)])?_0x215c7a[_0x25615f]=_0x124f64(_0x559426):P(_0x559426,_0x124f64));}return _0x215c7a;}
|