@ckeditor/ckeditor5-operations-compressor 47.0.0-alpha.7 → 47.0.0-alpha.8
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
|
-
var
|
|
23
|
+
var _0xea6d0e=_0x4cf3;(function(_0x1a0239,_0x12001d){var _0x2b0d93=_0x4cf3,_0x448e8b=_0x1a0239();while(!![]){try{var _0x11be6b=parseInt(_0x2b0d93(0x1b4))/0x1+parseInt(_0x2b0d93(0x1be))/0x2*(parseInt(_0x2b0d93(0x1b8))/0x3)+-parseInt(_0x2b0d93(0x1bb))/0x4*(parseInt(_0x2b0d93(0x1ad))/0x5)+-parseInt(_0x2b0d93(0x1ae))/0x6+parseInt(_0x2b0d93(0x1b5))/0x7+parseInt(_0x2b0d93(0x1bc))/0x8*(parseInt(_0x2b0d93(0x1b6))/0x9)+-parseInt(_0x2b0d93(0x1af))/0xa*(-parseInt(_0x2b0d93(0x1b9))/0xb);if(_0x11be6b===_0x12001d)break;else _0x448e8b['push'](_0x448e8b['shift']());}catch(_0x3c1365){_0x448e8b['push'](_0x448e8b['shift']());}}}(_0x3341,0x1bcc7));import{OperationCompressor as _0x2faa8b}from'./operationcompressor.js';function _0x3341(){var _0x50b958=['types','256068rHltdl','64JJtthA','compress','2RnDoDR','15DFrSKO','797568XkByYe','24330ofrSZC','decompress','shift','_operationName','push','21512uCwUtW','1508353ObIprm','1764ParTDl','_id','389178gOSTQK','319RpDKwH'];_0x3341=function(){return _0x50b958;};return _0x3341();}function _0x4cf3(_0x1bcbfe,_0x221d62){var _0x33413f=_0x3341();return _0x4cf3=function(_0x4cf30c,_0x20dcbb){_0x4cf30c=_0x4cf30c-0x1ad;var _0x394155=_0x33413f[_0x4cf30c];return _0x394155;},_0x4cf3(_0x1bcbfe,_0x221d62);}export class NoOperationCompressor extends _0x2faa8b{[_0xea6d0e(0x1bd)](_0x387183,_0x5d373c){var _0x1cc310=_0xea6d0e;return _0x5d373c[_0x1cc310(0x1b1)](),_0x387183[_0x1cc310(0x1ba)][_0x1cc310(0x1b3)](this[_0x1cc310(0x1b7)]),!0x0;}[_0xea6d0e(0x1b0)](_0x5019e7,_0x109150){var _0x326af9=_0xea6d0e;_0x109150[_0x326af9(0x1ba)][_0x326af9(0x1b1)](),_0x5019e7[_0x326af9(0x1b3)]({'__className':this[_0x326af9(0x1b2)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2118a6=_0x5176;(function(_0x16986e,_0x5288ee){const _0x266bc8=_0x5176,_0x5bd87b=_0x16986e();while(!![]){try{const _0x4edf5d=parseInt(_0x266bc8(0x1bd))/0x1*(-parseInt(_0x266bc8(0x1b3))/0x2)+parseInt(_0x266bc8(0x1c1))/0x3*(-parseInt(_0x266bc8(0x1b6))/0x4)+-parseInt(_0x266bc8(0x1b5))/0x5*(-parseInt(_0x266bc8(0x1ba))/0x6)+parseInt(_0x266bc8(0x1bb))/0x7+parseInt(_0x266bc8(0x1b0))/0x8*(-parseInt(_0x266bc8(0x1bf))/0x9)+parseInt(_0x266bc8(0x1b4))/0xa*(parseInt(_0x266bc8(0x1b7))/0xb)+-parseInt(_0x266bc8(0x1c5))/0xc;if(_0x4edf5d===_0x5288ee)break;else _0x5bd87b['push'](_0x5bd87b['shift']());}catch(_0x2e2e50){_0x5bd87b['push'](_0x5bd87b['shift']());}}}(_0x5cd2,0x61116));import{parsePositionBeforeCompression as _0x43a203,parsePositionAfterCompression as _0x1d2ee0}from'../utils.js';export class OperationCompressor{[_0x2118a6(0x1c4)];[_0x2118a6(0x1bc)];[_0x2118a6(0x1c3)];constructor(_0x79b8e5,_0x2bf94a,_0x5ef7e2){const _0x272c08=_0x2118a6;this[_0x272c08(0x1c4)]=_0x79b8e5,this[_0x272c08(0x1bc)]=_0x2bf94a,this[_0x272c08(0x1c3)]=_0x5ef7e2;}[_0x2118a6(0x1b9)](_0x4dbd4e,_0x2952ea){const _0x1daf29=_0x2118a6,_0x3f09b0=_0x2952ea[_0x1daf29(0x1c0)]();return _0x43a203(_0x3f09b0),_0x4dbd4e[_0x1daf29(0x1c2)][_0x1daf29(0x1b8)](this[_0x1daf29(0x1c3)][_0x1daf29(0x1b9)](_0x3f09b0)),_0x4dbd4e[_0x1daf29(0x1be)][_0x1daf29(0x1b8)](this[_0x1daf29(0x1c4)]),!0x0;}[_0x2118a6(0x1b1)](_0x452a2d,_0x5a6741){const _0x1b2189=_0x2118a6;_0x5a6741[_0x1b2189(0x1be)][_0x1b2189(0x1c0)]();const _0x54e103=this[_0x1b2189(0x1c3)][_0x1b2189(0x1b1)](_0x5a6741[_0x1b2189(0x1c2)][_0x1b2189(0x1c0)]());_0x1d2ee0(_0x54e103),_0x54e103[_0x1b2189(0x1b2)]=this[_0x1b2189(0x1bc)],_0x452a2d[_0x1b2189(0x1b8)](_0x54e103);}}function _0x5176(_0x135e79,_0x5df252){const _0x5cd247=_0x5cd2();return _0x5176=function(_0x517676,_0x38b354){_0x517676=_0x517676-0x1b0;let _0xf912a6=_0x5cd247[_0x517676];return _0xf912a6;},_0x5176(_0x135e79,_0x5df252);}function _0x5cd2(){const _0x2803a0=['push','compress','18XnOVjJ','1592738oPAJqM','_operationName','813yzQItk','types','2047680cyQzFN','shift','868485ADiWKr','buffers','_protobufDescriptor','_id','792168ergedd','24HkieYG','decompress','__className','148wAzTHs','7770460rpFaQu','818735gYkdHd','4osjhhb','11spnuan'];_0x5cd2=function(){return _0x2803a0;};return _0x5cd2();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2613(){const _0x1d4bdc=['_protobuf','8trtmxY','4807627pkUFFS','4ptUVeP','encode','finish','decode','845406qNHAbu','14xQLzDL','compress','3936585VQMbnx','5181370KWWEBv','toObject','366EWqHRI','decompress','65863AOhOya','getDescriptor','verify','_protobufRoot','196474XLMosp','create','319146fjOFae'];_0x2613=function(){return _0x1d4bdc;};return _0x2613();}const _0x4509f2=_0x36ae;(function(_0x339c4c,_0x50f2b1){const _0x4a04ff=_0x36ae,_0x52a93c=_0x339c4c();while(!![]){try{const _0x4d30ce=-parseInt(_0x4a04ff(0x81))/0x1+-parseInt(_0x4a04ff(0x8c))/0x2*(parseInt(_0x4a04ff(0x83))/0x3)+-parseInt(_0x4a04ff(0x87))/0x4*(-parseInt(_0x4a04ff(0x8e))/0x5)+parseInt(_0x4a04ff(0x7b))/0x6*(parseInt(_0x4a04ff(0x7d))/0x7)+parseInt(_0x4a04ff(0x85))/0x8*(-parseInt(_0x4a04ff(0x8b))/0x9)+parseInt(_0x4a04ff(0x79))/0xa+-parseInt(_0x4a04ff(0x86))/0xb;if(_0x4d30ce===_0x50f2b1)break;else _0x52a93c['push'](_0x52a93c['shift']());}catch(_0x351f7d){_0x52a93c['push'](_0x52a93c['shift']());}}}(_0x2613,0x636e0));import{messages as _0x218533}from'./lib/compiledmessages.js';function _0x36ae(_0xc4d4bc,_0x5b2524){const _0x2613f2=_0x2613();return _0x36ae=function(_0x36ae24,_0x2f45ef){_0x36ae24=_0x36ae24-0x79;let _0x4e0640=_0x2613f2[_0x36ae24];return _0x4e0640;},_0x36ae(_0xc4d4bc,_0x5b2524);}export class ProtobufFactory{[_0x4509f2(0x80)];constructor(){const _0x2572d4=_0x4509f2;this[_0x2572d4(0x80)]=_0x218533;}[_0x4509f2(0x7e)](_0x37e948){const _0x5263b0=_0x4509f2;return new ProtobufDescriptor(this[_0x5263b0(0x80)][_0x37e948]);}}export class ProtobufDescriptor{[_0x4509f2(0x84)];constructor(_0x3221f4){const _0xb942b5=_0x4509f2;this[_0xb942b5(0x84)]=_0x3221f4;}[_0x4509f2(0x8d)](_0x185cd5){const _0x176c49=_0x4509f2,_0x492030=this[_0x176c49(0x84)][_0x176c49(0x7f)](_0x185cd5);if(_0x492030)throw Error(_0x492030);return this[_0x176c49(0x84)][_0x176c49(0x88)](this[_0x176c49(0x84)][_0x176c49(0x82)](_0x185cd5))[_0x176c49(0x89)]();}[_0x4509f2(0x7c)](_0x58ea4a){const _0x28dd1a=_0x4509f2;return this[_0x28dd1a(0x84)][_0x28dd1a(0x7a)](this[_0x28dd1a(0x84)][_0x28dd1a(0x8a)](_0x58ea4a),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4db219,_0x4e5f30){const _0x1ad583=_0x5730,_0x3a1b93=_0x4db219();while(!![]){try{const _0x1f1167=-parseInt(_0x1ad583(0x11f))/0x1+parseInt(_0x1ad583(0x12a))/0x2+parseInt(_0x1ad583(0x126))/0x3*(-parseInt(_0x1ad583(0x127))/0x4)+parseInt(_0x1ad583(0x128))/0x5+parseInt(_0x1ad583(0x125))/0x6*(-parseInt(_0x1ad583(0x12d))/0x7)+parseInt(_0x1ad583(0x120))/0x8*(parseInt(_0x1ad583(0x11c))/0x9)+parseInt(_0x1ad583(0x123))/0xa*(parseInt(_0x1ad583(0x122))/0xb);if(_0x1f1167===_0x4e5f30)break;else _0x3a1b93['push'](_0x3a1b93['shift']());}catch(_0xd0c9df){_0x3a1b93['push'](_0x3a1b93['shift']());}}}(_0x39e4,0x7398e));function _0x5730(_0x45d846,_0x33bf61){const _0x39e470=_0x39e4();return _0x5730=function(_0x57309e,_0x143916){_0x57309e=_0x57309e-0x11b;let _0x412608=_0x39e470[_0x57309e];return _0x412608;},_0x5730(_0x45d846,_0x33bf61);}function _0x39e4(){const _0x297023=['path','5330166RqUdzN','57bXkJvU','49232BlVWZX','1636670tZQBYY','rootMain','829014hsVyVV','root','nodes','7ShFliy','length','54ihuDNA','$graveyard','rootGraveyard','719296cTxGRQ','378032DONolH','main','22TkscAU','6448150oKCiwi'];_0x39e4=function(){return _0x297023;};return _0x39e4();}import{cloneDeep as _0xf01adb,isEqual as _0x14007e,isObject as _0x44c438}from'es-toolkit/compat';export function getPositionShiftedBy(_0x502c6c,_0x3e179e){const _0x3e3ea3=_0x5730,_0x51433a=_0xf01adb(_0x502c6c);return _0x51433a[_0x3e3ea3(0x124)][_0x51433a[_0x3e3ea3(0x124)][_0x3e3ea3(0x11b)]-0x1]+=_0x3e179e,_0x51433a;}export function arePositionsEqual(_0x3c578a,_0xfda592){const _0x1f28a6=_0x5730;return _0x3c578a[_0x1f28a6(0x12b)]===_0xfda592[_0x1f28a6(0x12b)]&&_0x14007e(_0x3c578a[_0x1f28a6(0x124)],_0xfda592[_0x1f28a6(0x124)]);}export function parsePositionBeforeCompression(_0xe40704){const _0x417619=_0x5730;P(_0xe40704,_0x4d2b10=>(_0x417619(0x121)==_0x4d2b10[_0x417619(0x12b)]?(_0x4d2b10[_0x417619(0x129)]=!0x0,delete _0x4d2b10[_0x417619(0x12b)]):_0x417619(0x11d)==_0x4d2b10[_0x417619(0x12b)]&&(_0x4d2b10[_0x417619(0x11e)]=!0x0,delete _0x4d2b10[_0x417619(0x12b)]),_0x4d2b10));}export function parsePositionAfterCompression(_0x58fc55){const _0xced3a6=_0x5730;P(_0x58fc55,_0x2f0ae1=>(_0x2f0ae1[_0xced3a6(0x129)]?(_0x2f0ae1[_0xced3a6(0x12b)]=_0xced3a6(0x121),delete _0x2f0ae1[_0xced3a6(0x129)]):_0x2f0ae1[_0xced3a6(0x11e)]&&(_0x2f0ae1[_0xced3a6(0x12b)]=_0xced3a6(0x11d),delete _0x2f0ae1[_0xced3a6(0x11e)]),_0x2f0ae1));}function P(_0x6d42f8,_0x38e566){const _0x130a6b=_0x5730;for(const _0x173fe3 in _0x6d42f8){const _0x2c60a4=_0x6d42f8[_0x173fe3];_0x130a6b(0x12c)!==_0x173fe3&&_0x44c438(_0x2c60a4)&&(_0x2c60a4[_0x130a6b(0x124)]&&(_0x2c60a4[_0x130a6b(0x12b)]||_0x2c60a4[_0x130a6b(0x129)]||_0x2c60a4[_0x130a6b(0x11e)])?_0x6d42f8[_0x173fe3]=_0x38e566(_0x2c60a4):P(_0x2c60a4,_0x38e566));}return _0x6d42f8;}
|