@ckeditor/ckeditor5-operations-compressor 43.0.0-alpha.6 → 43.1.0-alpha.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
|
-
|
|
23
|
+
function _0x31c6(){var _0x288c71=['11edTJqn','1300491IvMANg','69531ldHqnv','compress','shift','8NDGGmC','465181xbqtnY','6531170ysQCqh','types','_id','decompress','83052ZcdWgf','1783392UoGPlm','push','154ZVHRZH','888190IFOsAn','10cTUqfr','_operationName'];_0x31c6=function(){return _0x288c71;};return _0x31c6();}function _0x31d0(_0x309d36,_0x230a21){var _0x31c6e3=_0x31c6();return _0x31d0=function(_0x31d0fe,_0x5adfc3){_0x31d0fe=_0x31d0fe-0x172;var _0x1db41e=_0x31c6e3[_0x31d0fe];return _0x1db41e;},_0x31d0(_0x309d36,_0x230a21);}var _0x2b002f=_0x31d0;(function(_0x75ce33,_0x359e56){var _0x13be80=_0x31d0,_0x5e2857=_0x75ce33();while(!![]){try{var _0x136eb5=parseInt(_0x13be80(0x176))/0x1+parseInt(_0x13be80(0x180))/0x2*(-parseInt(_0x13be80(0x172))/0x3)+parseInt(_0x13be80(0x175))/0x4*(parseInt(_0x13be80(0x17f))/0x5)+parseInt(_0x13be80(0x17b))/0x6*(parseInt(_0x13be80(0x17e))/0x7)+-parseInt(_0x13be80(0x17c))/0x8+parseInt(_0x13be80(0x183))/0x9+parseInt(_0x13be80(0x177))/0xa*(-parseInt(_0x13be80(0x182))/0xb);if(_0x136eb5===_0x359e56)break;else _0x5e2857['push'](_0x5e2857['shift']());}catch(_0x2bb22d){_0x5e2857['push'](_0x5e2857['shift']());}}}(_0x31c6,0x43c32));import _0x43e728 from'./operationcompressor.js';export default class p extends _0x43e728{[_0x2b002f(0x173)](_0xa6762,_0x2a564b){var _0x4e2d75=_0x2b002f;return _0x2a564b[_0x4e2d75(0x174)](),_0xa6762[_0x4e2d75(0x178)][_0x4e2d75(0x17d)](this[_0x4e2d75(0x179)]),!0x0;}[_0x2b002f(0x17a)](_0x4a6db5,_0x5d5618){var _0x13fe86=_0x2b002f;_0x5d5618[_0x13fe86(0x178)][_0x13fe86(0x174)](),_0x4a6db5[_0x13fe86(0x17d)]({'__className':this[_0x13fe86(0x181)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x532e(){const _0xdc32e9=['_protobufDescriptor','2726070iJitnQ','_id','shift','308tzlXlT','60ZALDOR','1gnqgAt','442638GKLGbv','compress','__className','90205ZctvBb','types','_operationName','526096sFcRyw','15732impqII','300591OoDIZJ','decompress','push','288310GpnlMm','buffers'];_0x532e=function(){return _0xdc32e9;};return _0x532e();}const _0x535cab=_0x4b34;function _0x4b34(_0x1b7e64,_0x133673){const _0x532ef4=_0x532e();return _0x4b34=function(_0x4b349c,_0x51b936){_0x4b349c=_0x4b349c-0x9c;let _0x8504ad=_0x532ef4[_0x4b349c];return _0x8504ad;},_0x4b34(_0x1b7e64,_0x133673);}(function(_0x44f0f5,_0x1a460a){const _0x3b0020=_0x4b34,_0x46a6ad=_0x44f0f5();while(!![]){try{const _0x6ba119=parseInt(_0x3b0020(0xae))/0x1*(parseInt(_0x3b0020(0xa6))/0x2)+parseInt(_0x3b0020(0xaf))/0x3+parseInt(_0x3b0020(0xad))/0x4*(parseInt(_0x3b0020(0x9e))/0x5)+-parseInt(_0x3b0020(0xa2))/0x6*(parseInt(_0x3b0020(0xac))/0x7)+-parseInt(_0x3b0020(0xa1))/0x8+parseInt(_0x3b0020(0xa3))/0x9+-parseInt(_0x3b0020(0xa9))/0xa;if(_0x6ba119===_0x1a460a)break;else _0x46a6ad['push'](_0x46a6ad['shift']());}catch(_0x2e0554){_0x46a6ad['push'](_0x46a6ad['shift']());}}}(_0x532e,0x22a9a));import{parsePositionBeforeCompression as _0x3206d1,parsePositionAfterCompression as _0x1fd31f}from'../utils.js';export default class e{constructor(_0x398510,_0x31d86c,_0x5b09d6){const _0x562a1e=_0x4b34;this[_0x562a1e(0xaa)]=_0x398510,this[_0x562a1e(0xa0)]=_0x31d86c,this[_0x562a1e(0xa8)]=_0x5b09d6;}[_0x535cab(0x9c)](_0xda0ff6,_0x493ceb){const _0x22f0fe=_0x535cab,_0x5f0284=_0x493ceb[_0x22f0fe(0xab)]();return _0x3206d1(_0x5f0284),_0xda0ff6[_0x22f0fe(0xa7)][_0x22f0fe(0xa5)](this[_0x22f0fe(0xa8)][_0x22f0fe(0x9c)](_0x5f0284)),_0xda0ff6[_0x22f0fe(0x9f)][_0x22f0fe(0xa5)](this[_0x22f0fe(0xaa)]),!0x0;}[_0x535cab(0xa4)](_0x25c03e,_0x574c02){const _0x285354=_0x535cab;_0x574c02[_0x285354(0x9f)][_0x285354(0xab)]();const _0x3d259e=this[_0x285354(0xa8)][_0x285354(0xa4)](_0x574c02[_0x285354(0xa7)][_0x285354(0xab)]());_0x1fd31f(_0x3d259e),_0x3d259e[_0x285354(0x9d)]=this[_0x285354(0xa0)],_0x25c03e[_0x285354(0xa5)](_0x3d259e);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x12b3(_0x5aadf8,_0x3adb43){const _0x296b31=_0x296b();return _0x12b3=function(_0x12b3f4,_0xb22a4c){_0x12b3f4=_0x12b3f4-0x1b2;let _0x24129b=_0x296b31[_0x12b3f4];return _0x24129b;},_0x12b3(_0x5aadf8,_0x3adb43);}const _0x3ee80e=_0x12b3;(function(_0x3b7758,_0x214e6f){const _0x30ff0e=_0x12b3,_0x5015a2=_0x3b7758();while(!![]){try{const _0x15a186=parseInt(_0x30ff0e(0x1b4))/0x1+parseInt(_0x30ff0e(0x1b3))/0x2+parseInt(_0x30ff0e(0x1c3))/0x3*(-parseInt(_0x30ff0e(0x1b6))/0x4)+parseInt(_0x30ff0e(0x1b2))/0x5*(-parseInt(_0x30ff0e(0x1c7))/0x6)+parseInt(_0x30ff0e(0x1bc))/0x7*(-parseInt(_0x30ff0e(0x1c6))/0x8)+parseInt(_0x30ff0e(0x1c1))/0x9*(-parseInt(_0x30ff0e(0x1bd))/0xa)+parseInt(_0x30ff0e(0x1bf))/0xb*(parseInt(_0x30ff0e(0x1b5))/0xc);if(_0x15a186===_0x214e6f)break;else _0x5015a2['push'](_0x5015a2['shift']());}catch(_0x527613){_0x5015a2['push'](_0x5015a2['shift']());}}}(_0x296b,0x9c55d));function _0x296b(){const _0x39f37c=['_protobuf','finish','verify','toObject','62615JZKzhu','790eftavG','encode','55dxnZeN','create','77229tafMHc','decode','6pAvAaB','_protobufRoot','getDescriptor','872NCjVRN','18PuQfMY','compress','184810rFmcXB','1529210ZqMXeP','286695xSHImi','3607284PGQzvb','300392PVcYit','decompress'];_0x296b=function(){return _0x39f37c;};return _0x296b();}import{messages as _0x4908b8}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x48b62c=_0x12b3;this[_0x48b62c(0x1c4)]=_0x4908b8;}[_0x3ee80e(0x1c5)](_0x5e2f24){const _0x246093=_0x3ee80e;return new ProtobufDescriptor(this[_0x246093(0x1c4)][_0x5e2f24]);}}export class ProtobufDescriptor{constructor(_0x1139b7){const _0x10f177=_0x3ee80e;this[_0x10f177(0x1b8)]=_0x1139b7;}[_0x3ee80e(0x1c8)](_0x376dd3){const _0x5ef969=_0x3ee80e,_0x3f94ba=this[_0x5ef969(0x1b8)][_0x5ef969(0x1ba)](_0x376dd3);if(_0x3f94ba)throw Error(_0x3f94ba);return this[_0x5ef969(0x1b8)][_0x5ef969(0x1be)](this[_0x5ef969(0x1b8)][_0x5ef969(0x1c0)](_0x376dd3))[_0x5ef969(0x1b9)]();}[_0x3ee80e(0x1b7)](_0x399992){const _0x1753d9=_0x3ee80e;return this[_0x1753d9(0x1b8)][_0x1753d9(0x1bb)](this[_0x1753d9(0x1b8)][_0x1753d9(0x1c2)](_0x399992),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xab5948,_0x3edf9c){const _0x27d8d5=_0x5368,_0x170c18=_0xab5948();while(!![]){try{const _0x22c8d7=-parseInt(_0x27d8d5(0x184))/0x1*(parseInt(_0x27d8d5(0x17c))/0x2)+parseInt(_0x27d8d5(0x185))/0x3+parseInt(_0x27d8d5(0x17b))/0x4+parseInt(_0x27d8d5(0x179))/0x5+-parseInt(_0x27d8d5(0x17a))/0x6+-parseInt(_0x27d8d5(0x17e))/0x7+parseInt(_0x27d8d5(0x183))/0x8;if(_0x22c8d7===_0x3edf9c)break;else _0x170c18['push'](_0x170c18['shift']());}catch(_0x323285){_0x170c18['push'](_0x170c18['shift']());}}}(_0x3779,0xbf2eb));import{cloneDeep as _0x205573,isEqual as _0x323dc6,isObject as _0x303417}from'lodash-es';export function getPositionShiftedBy(_0x11414e,_0x14654f){const _0x176942=_0x5368,_0x48b7cd=_0x205573(_0x11414e);return _0x48b7cd[_0x176942(0x180)][_0x48b7cd[_0x176942(0x180)][_0x176942(0x17f)]-0x1]+=_0x14654f,_0x48b7cd;}function _0x5368(_0x4c5f95,_0x7a64e){const _0x37799b=_0x3779();return _0x5368=function(_0x536845,_0x4eeccf){_0x536845=_0x536845-0x176;let _0x51b3cd=_0x37799b[_0x536845];return _0x51b3cd;},_0x5368(_0x4c5f95,_0x7a64e);}export function arePositionsEqual(_0x3fbbdd,_0x447f13){const _0x1f6ead=_0x5368;return _0x3fbbdd[_0x1f6ead(0x17d)]===_0x447f13[_0x1f6ead(0x17d)]&&_0x323dc6(_0x3fbbdd[_0x1f6ead(0x180)],_0x447f13[_0x1f6ead(0x180)]);}function _0x3779(){const _0x339c35=['327071SlAHXL','4386384AiMGCh','main','$graveyard','rootGraveyard','6742245wqGRYu','5021982qkjpsX','46104Pdkfyk','6LQAHTD','root','7181300TmHxAD','length','path','nodes','rootMain','6440720igYmOm'];_0x3779=function(){return _0x339c35;};return _0x3779();}export function parsePositionBeforeCompression(_0x19eeb6){const _0x27b17b=_0x5368;P(_0x19eeb6,_0x42a34e=>(_0x27b17b(0x176)==_0x42a34e[_0x27b17b(0x17d)]?(_0x42a34e[_0x27b17b(0x182)]=!0x0,delete _0x42a34e[_0x27b17b(0x17d)]):_0x27b17b(0x177)==_0x42a34e[_0x27b17b(0x17d)]&&(_0x42a34e[_0x27b17b(0x178)]=!0x0,delete _0x42a34e[_0x27b17b(0x17d)]),_0x42a34e));}export function parsePositionAfterCompression(_0x7affce){const _0x279f33=_0x5368;P(_0x7affce,_0x52546d=>(_0x52546d[_0x279f33(0x182)]?(_0x52546d[_0x279f33(0x17d)]=_0x279f33(0x176),delete _0x52546d[_0x279f33(0x182)]):_0x52546d[_0x279f33(0x178)]&&(_0x52546d[_0x279f33(0x17d)]=_0x279f33(0x177),delete _0x52546d[_0x279f33(0x178)]),_0x52546d));}function P(_0x25a13e,_0x5d2195){const _0x121561=_0x5368;for(const _0x1c1a2c in _0x25a13e){const _0x45cd53=_0x25a13e[_0x1c1a2c];_0x121561(0x181)!==_0x1c1a2c&&_0x303417(_0x45cd53)&&(_0x45cd53[_0x121561(0x180)]&&(_0x45cd53[_0x121561(0x17d)]||_0x45cd53[_0x121561(0x182)]||_0x45cd53[_0x121561(0x178)])?_0x25a13e[_0x1c1a2c]=_0x5d2195(_0x45cd53):P(_0x45cd53,_0x5d2195));}return _0x25a13e;}
|