@ckeditor/ckeditor5-operations-compressor 47.3.0-alpha.2 → 47.3.0-alpha.3
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 _0x154074=_0x29ae;(function(_0x3bcd9b,_0x25dff5){var _0x5846f9=_0x29ae,_0x2a0866=_0x3bcd9b();while(!![]){try{var _0x2f39b0=-parseInt(_0x5846f9(0x189))/0x1*(parseInt(_0x5846f9(0x18c))/0x2)+parseInt(_0x5846f9(0x19a))/0x3*(-parseInt(_0x5846f9(0x18d))/0x4)+parseInt(_0x5846f9(0x18e))/0x5+parseInt(_0x5846f9(0x18a))/0x6+-parseInt(_0x5846f9(0x194))/0x7*(-parseInt(_0x5846f9(0x196))/0x8)+parseInt(_0x5846f9(0x193))/0x9*(-parseInt(_0x5846f9(0x190))/0xa)+-parseInt(_0x5846f9(0x198))/0xb*(-parseInt(_0x5846f9(0x199))/0xc);if(_0x2f39b0===_0x25dff5)break;else _0x2a0866['push'](_0x2a0866['shift']());}catch(_0x2ff694){_0x2a0866['push'](_0x2a0866['shift']());}}}(_0x5a58,0x85fdc));function _0x29ae(_0x102330,_0x337b0a){var _0x5a58f2=_0x5a58();return _0x29ae=function(_0x29ae22,_0x50b214){_0x29ae22=_0x29ae22-0x188;var _0x19c6ad=_0x5a58f2[_0x29ae22];return _0x19c6ad;},_0x29ae(_0x102330,_0x337b0a);}function _0x5a58(){var _0x5e5674=['decompress','shift','3016791pTRhPR','14UxKWul','_id','648512kkDRfy','types','66MKafHa','1544028NVfKLO','288270fQoUGh','compress','1858AyHlkj','5596146UCIgqX','push','386QJCpDS','8ZHrqvY','1191830zulKdR','_operationName','30HyXSsu'];_0x5a58=function(){return _0x5e5674;};return _0x5a58();}import{OperationCompressor as _0x62f29d}from'./operationcompressor.js';export class NoOperationCompressor extends _0x62f29d{[_0x154074(0x188)](_0x34e40a,_0x3d1bf9){var _0x3d16df=_0x154074;return _0x3d1bf9[_0x3d16df(0x192)](),_0x34e40a[_0x3d16df(0x197)][_0x3d16df(0x18b)](this[_0x3d16df(0x195)]),!0x0;}[_0x154074(0x191)](_0x234882,_0x56cabb){var _0x11d408=_0x154074;_0x56cabb[_0x11d408(0x197)][_0x11d408(0x192)](),_0x234882[_0x11d408(0x18b)]({'__className':this[_0x11d408(0x18f)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1343(_0x586435,_0x200536){const _0x408a64=_0x408a();return _0x1343=function(_0x1343e1,_0xd9f2c3){_0x1343e1=_0x1343e1-0x74;let _0x3ebc50=_0x408a64[_0x1343e1];return _0x3ebc50;},_0x1343(_0x586435,_0x200536);}const _0x3b64cb=_0x1343;(function(_0x57341e,_0x3d2977){const _0x50d3e4=_0x1343,_0x2fc966=_0x57341e();while(!![]){try{const _0x70e8=parseInt(_0x50d3e4(0x7f))/0x1*(parseInt(_0x50d3e4(0x79))/0x2)+-parseInt(_0x50d3e4(0x7c))/0x3+parseInt(_0x50d3e4(0x83))/0x4+parseInt(_0x50d3e4(0x7b))/0x5*(parseInt(_0x50d3e4(0x85))/0x6)+parseInt(_0x50d3e4(0x87))/0x7+parseInt(_0x50d3e4(0x7e))/0x8*(-parseInt(_0x50d3e4(0x77))/0x9)+-parseInt(_0x50d3e4(0x86))/0xa;if(_0x70e8===_0x3d2977)break;else _0x2fc966['push'](_0x2fc966['shift']());}catch(_0x506535){_0x2fc966['push'](_0x2fc966['shift']());}}}(_0x408a,0x2ff86));import{parsePositionBeforeCompression as _0x43b980,parsePositionAfterCompression as _0x30a23b}from'../utils.js';function _0x408a(){const _0xc4bfbc=['475782YYcXWT','compress','145vGreGq','367581CUvovf','_operationName','1709896HFexTN','1mRPsyj','push','_id','_protobufDescriptor','963296cvAVSk','__className','528WnrPxZ','1583830mtgszg','1469062Wckyjg','decompress','shift','types','9vqikqf','buffers'];_0x408a=function(){return _0xc4bfbc;};return _0x408a();}export class OperationCompressor{[_0x3b64cb(0x81)];[_0x3b64cb(0x7d)];[_0x3b64cb(0x82)];constructor(_0x284ec4,_0x217389,_0x33cc7d){const _0x3dea3f=_0x3b64cb;this[_0x3dea3f(0x81)]=_0x284ec4,this[_0x3dea3f(0x7d)]=_0x217389,this[_0x3dea3f(0x82)]=_0x33cc7d;}[_0x3b64cb(0x7a)](_0x1f31d1,_0x1a4dd4){const _0x4e8df6=_0x3b64cb,_0x501f84=_0x1a4dd4[_0x4e8df6(0x75)]();return _0x43b980(_0x501f84),_0x1f31d1[_0x4e8df6(0x78)][_0x4e8df6(0x80)](this[_0x4e8df6(0x82)][_0x4e8df6(0x7a)](_0x501f84)),_0x1f31d1[_0x4e8df6(0x76)][_0x4e8df6(0x80)](this[_0x4e8df6(0x81)]),!0x0;}[_0x3b64cb(0x74)](_0x50b164,_0x153bc8){const _0x487e87=_0x3b64cb;_0x153bc8[_0x487e87(0x76)][_0x487e87(0x75)]();const _0x3f742a=this[_0x487e87(0x82)][_0x487e87(0x74)](_0x153bc8[_0x487e87(0x78)][_0x487e87(0x75)]());_0x30a23b(_0x3f742a),_0x3f742a[_0x487e87(0x84)]=this[_0x487e87(0x7d)],_0x50b164[_0x487e87(0x80)](_0x3f742a);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xc42a(_0x522f7d,_0x44795b){const _0x4ed5f3=_0x4ed5();return _0xc42a=function(_0xc42a56,_0x3eaaa4){_0xc42a56=_0xc42a56-0x114;let _0x4b5a47=_0x4ed5f3[_0xc42a56];return _0x4b5a47;},_0xc42a(_0x522f7d,_0x44795b);}const _0x1f177d=_0xc42a;function _0x4ed5(){const _0x56f5ff=['create','encode','decode','5412366BOjwOQ','verify','5bEbJXz','compress','4602808ILVuwh','_protobuf','1182954aCKAoV','2714646nPoVJh','2882776OErmvk','toObject','getDescriptor','5163856iRvPIx','3331EYqQrZ','decompress','_protobufRoot','190vuPlFZ','finish'];_0x4ed5=function(){return _0x56f5ff;};return _0x4ed5();}(function(_0x145848,_0x151067){const _0x181d4d=_0xc42a,_0x4d5d06=_0x145848();while(!![]){try{const _0x4d5d63=-parseInt(_0x181d4d(0x11d))/0x1*(-parseInt(_0x181d4d(0x120))/0x2)+-parseInt(_0x181d4d(0x118))/0x3+parseInt(_0x181d4d(0x119))/0x4+-parseInt(_0x181d4d(0x127))/0x5*(parseInt(_0x181d4d(0x117))/0x6)+-parseInt(_0x181d4d(0x115))/0x7+parseInt(_0x181d4d(0x11c))/0x8+parseInt(_0x181d4d(0x125))/0x9;if(_0x4d5d63===_0x151067)break;else _0x4d5d06['push'](_0x4d5d06['shift']());}catch(_0x405a95){_0x4d5d06['push'](_0x4d5d06['shift']());}}}(_0x4ed5,0x8007a));import{messages as _0x1a5ad8}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x1f177d(0x11f)];constructor(){const _0x186470=_0x1f177d;this[_0x186470(0x11f)]=_0x1a5ad8;}[_0x1f177d(0x11b)](_0x3823b0){const _0x4b9443=_0x1f177d;return new ProtobufDescriptor(this[_0x4b9443(0x11f)][_0x3823b0]);}}export class ProtobufDescriptor{[_0x1f177d(0x116)];constructor(_0x5d3912){const _0x3dfc91=_0x1f177d;this[_0x3dfc91(0x116)]=_0x5d3912;}[_0x1f177d(0x114)](_0x4c2c00){const _0xdf7c75=_0x1f177d,_0x56a4e7=this[_0xdf7c75(0x116)][_0xdf7c75(0x126)](_0x4c2c00);if(_0x56a4e7)throw Error(_0x56a4e7);return this[_0xdf7c75(0x116)][_0xdf7c75(0x123)](this[_0xdf7c75(0x116)][_0xdf7c75(0x122)](_0x4c2c00))[_0xdf7c75(0x121)]();}[_0x1f177d(0x11e)](_0x1292a5){const _0x31f713=_0x1f177d;return this[_0x31f713(0x116)][_0x31f713(0x11a)](this[_0x31f713(0x116)][_0x31f713(0x124)](_0x1292a5),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x543a(_0x55fc4e,_0x5607b2){const _0x12aefa=_0x12ae();return _0x543a=function(_0x543afc,_0x34f0f9){_0x543afc=_0x543afc-0x1cd;let _0x38663d=_0x12aefa[_0x543afc];return _0x38663d;},_0x543a(_0x55fc4e,_0x5607b2);}(function(_0x48bc7b,_0x5ea9ef){const _0xb269f0=_0x543a,_0x584f4f=_0x48bc7b();while(!![]){try{const _0xb43c68=-parseInt(_0xb269f0(0x1d2))/0x1*(parseInt(_0xb269f0(0x1df))/0x2)+parseInt(_0xb269f0(0x1ce))/0x3+parseInt(_0xb269f0(0x1d4))/0x4+parseInt(_0xb269f0(0x1cd))/0x5*(parseInt(_0xb269f0(0x1dc))/0x6)+parseInt(_0xb269f0(0x1d6))/0x7*(-parseInt(_0xb269f0(0x1dd))/0x8)+-parseInt(_0xb269f0(0x1de))/0x9+-parseInt(_0xb269f0(0x1d8))/0xa*(parseInt(_0xb269f0(0x1da))/0xb);if(_0xb43c68===_0x5ea9ef)break;else _0x584f4f['push'](_0x584f4f['shift']());}catch(_0x270e1d){_0x584f4f['push'](_0x584f4f['shift']());}}}(_0x12ae,0xa843b));import{cloneDeep as _0x1c0249,isEqual as _0xf385fb,isObject as _0x289ddd}from'es-toolkit/compat';export function getPositionShiftedBy(_0x36cf68,_0xb9a8e7){const _0x2fc200=_0x543a,_0x32fa80=_0x1c0249(_0x36cf68);return _0x32fa80[_0x2fc200(0x1d0)][_0x32fa80[_0x2fc200(0x1d0)][_0x2fc200(0x1d5)]-0x1]+=_0xb9a8e7,_0x32fa80;}export function arePositionsEqual(_0x59ba84,_0x1c52e4){const _0x2b9d80=_0x543a;return _0x59ba84[_0x2b9d80(0x1cf)]===_0x1c52e4[_0x2b9d80(0x1cf)]&&_0xf385fb(_0x59ba84[_0x2b9d80(0x1d0)],_0x1c52e4[_0x2b9d80(0x1d0)]);}export function parsePositionBeforeCompression(_0xfcf8da){const _0x20484b=_0x543a;P(_0xfcf8da,_0x55c23a=>(_0x20484b(0x1db)==_0x55c23a[_0x20484b(0x1cf)]?(_0x55c23a[_0x20484b(0x1d3)]=!0x0,delete _0x55c23a[_0x20484b(0x1cf)]):_0x20484b(0x1d7)==_0x55c23a[_0x20484b(0x1cf)]&&(_0x55c23a[_0x20484b(0x1d1)]=!0x0,delete _0x55c23a[_0x20484b(0x1cf)]),_0x55c23a));}export function parsePositionAfterCompression(_0x56aef9){const _0x417cdb=_0x543a;P(_0x56aef9,_0x36ec49=>(_0x36ec49[_0x417cdb(0x1d3)]?(_0x36ec49[_0x417cdb(0x1cf)]=_0x417cdb(0x1db),delete _0x36ec49[_0x417cdb(0x1d3)]):_0x36ec49[_0x417cdb(0x1d1)]&&(_0x36ec49[_0x417cdb(0x1cf)]=_0x417cdb(0x1d7),delete _0x36ec49[_0x417cdb(0x1d1)]),_0x36ec49));}function _0x12ae(){const _0x4a17ca=['length','297521qzfvKO','$graveyard','4649620XgoPIy','nodes','11YSwhjC','main','5550ZSANEX','200BBlHUJ','1687095kvaAZN','24eENuRy','6515DdxxJJ','3495138QNFlEi','root','path','rootGraveyard','73539GPiIWa','rootMain','3665400RhHsaV'];_0x12ae=function(){return _0x4a17ca;};return _0x12ae();}function P(_0x49cbf1,_0x5cefa6){const _0x106b97=_0x543a;for(const _0x148c0d in _0x49cbf1){const _0x5bacd0=_0x49cbf1[_0x148c0d];_0x106b97(0x1d9)!==_0x148c0d&&_0x289ddd(_0x5bacd0)&&(_0x5bacd0[_0x106b97(0x1d0)]&&(_0x5bacd0[_0x106b97(0x1cf)]||_0x5bacd0[_0x106b97(0x1d3)]||_0x5bacd0[_0x106b97(0x1d1)])?_0x49cbf1[_0x148c0d]=_0x5cefa6(_0x5bacd0):P(_0x5bacd0,_0x5cefa6));}return _0x49cbf1;}
|