@ckeditor/ckeditor5-operations-compressor 44.0.0-alpha.9 → 44.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/actioncompressor/actioncompressor.d.ts +1 -1
- package/dist/actioncompressor/deletingactioncompressor.d.ts +1 -1
- package/dist/actioncompressor/forwarddeletingactioncompressor.d.ts +1 -1
- package/dist/actioncompressor/typingactioncompressor.d.ts +1 -1
- package/dist/actioncompressor/userselectionactioncompressor.d.ts +1 -1
- package/dist/compressor.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/operationcompressor/annotationmarkeroperationcompressor.d.ts +1 -1
- package/dist/operationcompressor/attributeoperationcompressor.d.ts +1 -1
- package/dist/operationcompressor/insertoperationcompressor.d.ts +1 -1
- package/dist/operationcompressor/markeroperationcompressor.d.ts +1 -1
- package/dist/operationcompressor/nooperationcompressor.d.ts +1 -1
- package/dist/operationcompressor/operationcompressor.d.ts +1 -1
- package/dist/protobuffactory.d.ts +1 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +3 -3
- package/src/actioncompressor/actioncompressor.d.ts +1 -1
- package/src/actioncompressor/actioncompressor.js +1 -1
- package/src/actioncompressor/deletingactioncompressor.d.ts +1 -1
- package/src/actioncompressor/deletingactioncompressor.js +1 -1
- package/src/actioncompressor/forwarddeletingactioncompressor.d.ts +1 -1
- package/src/actioncompressor/forwarddeletingactioncompressor.js +1 -1
- package/src/actioncompressor/typingactioncompressor.d.ts +1 -1
- package/src/actioncompressor/typingactioncompressor.js +1 -1
- package/src/actioncompressor/userselectionactioncompressor.d.ts +1 -1
- package/src/actioncompressor/userselectionactioncompressor.js +1 -1
- package/src/compressor.d.ts +1 -1
- package/src/compressor.js +1 -1
- package/src/index.d.ts +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.d.ts +1 -1
- package/src/operationcompressor/annotationmarkeroperationcompressor.js +1 -1
- package/src/operationcompressor/attributeoperationcompressor.d.ts +1 -1
- package/src/operationcompressor/attributeoperationcompressor.js +1 -1
- package/src/operationcompressor/insertoperationcompressor.d.ts +1 -1
- package/src/operationcompressor/insertoperationcompressor.js +1 -1
- package/src/operationcompressor/markeroperationcompressor.d.ts +1 -1
- package/src/operationcompressor/markeroperationcompressor.js +1 -1
- package/src/operationcompressor/nooperationcompressor.d.ts +1 -1
- package/src/operationcompressor/nooperationcompressor.js +1 -1
- package/src/operationcompressor/operationcompressor.d.ts +1 -1
- package/src/operationcompressor/operationcompressor.js +1 -1
- package/src/protobuffactory.d.ts +1 -1
- package/src/protobuffactory.js +1 -1
- package/src/utils.d.ts +1 -1
- package/src/utils.js +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import OperationCompressor from './operationcompressor.js';
|
|
6
6
|
import type { CompressedOperationsData } from '../compressor.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x8335(){const _0x4a69a1=['9VPsNIb','newRange','324065MRqBQu','174nddjgf','3418734nIZgxe','1392970QmxSDS','oldRange','124612wvGvKX','2058880YFKEnB','length','1525151IrZiwo','30moBfOp','decompress','2325240sXDKff'];_0x8335=function(){return _0x4a69a1;};return _0x8335();}const _0x43e5d1=_0x4e5c;(function(_0x3068f2,_0x15eede){const _0x575491=_0x4e5c,_0x1e1238=_0x3068f2();while(!![]){try{const _0x3fc1e2=-parseInt(_0x575491(0x1d4))/0x1+parseInt(_0x575491(0x1ce))/0x2+parseInt(_0x575491(0x1ca))/0x3*(parseInt(_0x575491(0x1d1))/0x4)+parseInt(_0x575491(0x1cf))/0x5+-parseInt(_0x575491(0x1cd))/0x6*(-parseInt(_0x575491(0x1cc))/0x7)+-parseInt(_0x575491(0x1d2))/0x8+parseInt(_0x575491(0x1c9))/0x9*(-parseInt(_0x575491(0x1d5))/0xa);if(_0x3fc1e2===_0x15eede)break;else _0x1e1238['push'](_0x1e1238['shift']());}catch(_0x13c561){_0x1e1238['push'](_0x1e1238['shift']());}}}(_0x8335,0xd3850));import _0x414304 from'./operationcompressor.js';function _0x4e5c(_0x19a06d,_0x33f75f){const _0x83351=_0x8335();return _0x4e5c=function(_0x4e5c9c,_0x3b4493){_0x4e5c9c=_0x4e5c9c-0x1c9;let _0x559352=_0x83351[_0x4e5c9c];return _0x559352;},_0x4e5c(_0x19a06d,_0x33f75f);}export default class n extends _0x414304{[_0x43e5d1(0x1d6)](_0x5954fb,_0x1f8d6f){const _0x117be8=_0x43e5d1;super[_0x117be8(0x1d6)](_0x5954fb,_0x1f8d6f);const _0xa15fb4=_0x5954fb[_0x5954fb[_0x117be8(0x1d3)]-0x1];_0xa15fb4[_0x117be8(0x1d0)]||(_0xa15fb4[_0x117be8(0x1d0)]=null),_0xa15fb4[_0x117be8(0x1cb)]||(_0xa15fb4[_0x117be8(0x1cb)]=null);}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import OperationCompressor from './operationcompressor.js';
|
|
6
6
|
import type { CompressedOperationsData } from '../compressor.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3abc78=_0x59a8;(function(_0x187a50,_0x3f44cb){var _0x4c5f4a=_0x59a8,_0x1ec9e5=_0x187a50();while(!![]){try{var _0x53f07a=parseInt(_0x4c5f4a(0x6a))/0x1+parseInt(_0x4c5f4a(0x6c))/0x2+parseInt(_0x4c5f4a(0x74))/0x3+-parseInt(_0x4c5f4a(0x67))/0x4*(-parseInt(_0x4c5f4a(0x66))/0x5)+-parseInt(_0x4c5f4a(0x71))/0x6*(-parseInt(_0x4c5f4a(0x6b))/0x7)+parseInt(_0x4c5f4a(0x6f))/0x8*(parseInt(_0x4c5f4a(0x72))/0x9)+-parseInt(_0x4c5f4a(0x70))/0xa*(parseInt(_0x4c5f4a(0x68))/0xb);if(_0x53f07a===_0x3f44cb)break;else _0x1ec9e5['push'](_0x1ec9e5['shift']());}catch(_0x117d9d){_0x1ec9e5['push'](_0x1ec9e5['shift']());}}}(_0x4853,0x5a5aa));import _0x578efc from'./operationcompressor.js';function _0x59a8(_0x485680,_0x4f75b8){var _0x4853ec=_0x4853();return _0x59a8=function(_0x59a827,_0x479048){_0x59a827=_0x59a827-0x66;var _0x488bb6=_0x4853ec[_0x59a827];return _0x488bb6;},_0x59a8(_0x485680,_0x4f75b8);}export default class p extends _0x578efc{[_0x3abc78(0x69)](_0x34be00,_0x3e964c){var _0x3c65dc=_0x3abc78;return _0x3e964c[_0x3c65dc(0x75)](),_0x34be00[_0x3c65dc(0x6d)][_0x3c65dc(0x6e)](this[_0x3c65dc(0x76)]),!0x0;}[_0x3abc78(0x77)](_0x2254e7,_0xbce34f){var _0x3269f7=_0x3abc78;_0xbce34f[_0x3269f7(0x6d)][_0x3269f7(0x75)](),_0x2254e7[_0x3269f7(0x6e)]({'__className':this[_0x3269f7(0x73)]});}}function _0x4853(){var _0x4eea3f=['63Upstpy','_operationName','968328vDxsuZ','shift','_id','decompress','203540qQxwmz','4ZmdUvX','176EkRFPn','compress','310926oRMvWt','7iPoqfH','534912jWzriT','types','push','600920wfeMub','1107650FPbVST','4047954cZPUlA'];_0x4853=function(){return _0x4eea3f;};return _0x4853();}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import type { CompressedOperationsData } from '../compressor.js';
|
|
6
6
|
import type { ProtobufDescriptor } from '../protobuffactory.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3f2c2f=_0x22df;function _0x22df(_0x10cf67,_0x49e3e3){const _0x406511=_0x4065();return _0x22df=function(_0x22dfb9,_0x1c5781){_0x22dfb9=_0x22dfb9-0x74;let _0x45154c=_0x406511[_0x22dfb9];return _0x45154c;},_0x22df(_0x10cf67,_0x49e3e3);}(function(_0x43eb7d,_0x59d9b7){const _0x52b84b=_0x22df,_0x31baf2=_0x43eb7d();while(!![]){try{const _0x394eca=-parseInt(_0x52b84b(0x74))/0x1*(-parseInt(_0x52b84b(0x87))/0x2)+parseInt(_0x52b84b(0x85))/0x3+parseInt(_0x52b84b(0x86))/0x4*(-parseInt(_0x52b84b(0x83))/0x5)+-parseInt(_0x52b84b(0x84))/0x6+-parseInt(_0x52b84b(0x7c))/0x7*(-parseInt(_0x52b84b(0x7a))/0x8)+parseInt(_0x52b84b(0x82))/0x9+parseInt(_0x52b84b(0x7b))/0xa;if(_0x394eca===_0x59d9b7)break;else _0x31baf2['push'](_0x31baf2['shift']());}catch(_0x5d1726){_0x31baf2['push'](_0x31baf2['shift']());}}}(_0x4065,0x4c17a));function _0x4065(){const _0x171c7e=['shift','decompress','buffers','push','types','72WgPVuK','1051260xctIxu','292019sSMBby','_id','_protobufDescriptor','__className','compress','_operationName','638460GhAlre','5qvjmCd','2773326lPFPlf','209814gxYyBh','1550068TcZYKp','5538zxmKcq','195kvTbzw'];_0x4065=function(){return _0x171c7e;};return _0x4065();}import{parsePositionBeforeCompression as _0x4ff62f,parsePositionAfterCompression as _0x3fc8e3}from'../utils.js';export default class e{constructor(_0x598925,_0x3df598,_0x2c46e0){const _0x27c673=_0x22df;this[_0x27c673(0x7d)]=_0x598925,this[_0x27c673(0x81)]=_0x3df598,this[_0x27c673(0x7e)]=_0x2c46e0;}[_0x3f2c2f(0x80)](_0x4ded36,_0x2744db){const _0x171a94=_0x3f2c2f,_0x5d6786=_0x2744db[_0x171a94(0x75)]();return _0x4ff62f(_0x5d6786),_0x4ded36[_0x171a94(0x77)][_0x171a94(0x78)](this[_0x171a94(0x7e)][_0x171a94(0x80)](_0x5d6786)),_0x4ded36[_0x171a94(0x79)][_0x171a94(0x78)](this[_0x171a94(0x7d)]),!0x0;}[_0x3f2c2f(0x76)](_0x45578e,_0xbed767){const _0x17dcb0=_0x3f2c2f;_0xbed767[_0x17dcb0(0x79)][_0x17dcb0(0x75)]();const _0x559c13=this[_0x17dcb0(0x7e)][_0x17dcb0(0x76)](_0xbed767[_0x17dcb0(0x77)][_0x17dcb0(0x75)]());_0x3fc8e3(_0x559c13),_0x559c13[_0x17dcb0(0x7f)]=this[_0x17dcb0(0x81)],_0x45578e[_0x17dcb0(0x78)](_0x559c13);}}
|
package/src/protobuffactory.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
export {};
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1f21(_0x4b834c,_0x3b5267){const _0x41e19c=_0x41e1();return _0x1f21=function(_0x1f214a,_0x20813b){_0x1f214a=_0x1f214a-0x1ae;let _0x1d4c4f=_0x41e19c[_0x1f214a];return _0x1d4c4f;},_0x1f21(_0x4b834c,_0x3b5267);}const _0xe1cec9=_0x1f21;(function(_0x392e24,_0x1df34e){const _0x2eb6b3=_0x1f21,_0x2ba17b=_0x392e24();while(!![]){try{const _0x2a2f87=parseInt(_0x2eb6b3(0x1bb))/0x1+parseInt(_0x2eb6b3(0x1c2))/0x2*(-parseInt(_0x2eb6b3(0x1bf))/0x3)+-parseInt(_0x2eb6b3(0x1c0))/0x4+parseInt(_0x2eb6b3(0x1ba))/0x5*(-parseInt(_0x2eb6b3(0x1b8))/0x6)+parseInt(_0x2eb6b3(0x1b3))/0x7+parseInt(_0x2eb6b3(0x1b9))/0x8*(parseInt(_0x2eb6b3(0x1c1))/0x9)+parseInt(_0x2eb6b3(0x1af))/0xa;if(_0x2a2f87===_0x1df34e)break;else _0x2ba17b['push'](_0x2ba17b['shift']());}catch(_0x4aa587){_0x2ba17b['push'](_0x2ba17b['shift']());}}}(_0x41e1,0xd2768));import{messages as _0x3524b1}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x2a6e7c=_0x1f21;this[_0x2a6e7c(0x1bc)]=_0x3524b1;}[_0xe1cec9(0x1ae)](_0x420b1a){const _0x28d5fc=_0xe1cec9;return new ProtobufDescriptor(this[_0x28d5fc(0x1bc)][_0x420b1a]);}}function _0x41e1(){const _0x412664=['getDescriptor','13478880tUXLPx','compress','toObject','encode','6885340OjskOu','finish','_protobuf','create','decode','1322562bFRylA','139024nuFSJD','10zBKbAp','240038kTFihA','_protobufRoot','verify','decompress','3MfxRlq','1991976WVvfpY','108ATHdWk','1958356UvaKxi'];_0x41e1=function(){return _0x412664;};return _0x41e1();}export class ProtobufDescriptor{constructor(_0x568820){const _0x596eec=_0xe1cec9;this[_0x596eec(0x1b5)]=_0x568820;}[_0xe1cec9(0x1b0)](_0x57c5aa){const _0x33514d=_0xe1cec9,_0x186a5d=this[_0x33514d(0x1b5)][_0x33514d(0x1bd)](_0x57c5aa);if(_0x186a5d)throw Error(_0x186a5d);return this[_0x33514d(0x1b5)][_0x33514d(0x1b2)](this[_0x33514d(0x1b5)][_0x33514d(0x1b6)](_0x57c5aa))[_0x33514d(0x1b4)]();}[_0xe1cec9(0x1be)](_0x55491b){const _0x59871c=_0xe1cec9;return this[_0x59871c(0x1b5)][_0x59871c(0x1b1)](this[_0x59871c(0x1b5)][_0x59871c(0x1b7)](_0x55491b),{'oneofs':!0x0});}}
|
package/src/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* Return new position in JSON format shifted by given offset.
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4c0699,_0x3da9d0){const _0x41fe2d=_0x2300,_0x115737=_0x4c0699();while(!![]){try{const _0x2f9bd1=-parseInt(_0x41fe2d(0x1f9))/0x1*(-parseInt(_0x41fe2d(0x1ef))/0x2)+parseInt(_0x41fe2d(0x1ee))/0x3+-parseInt(_0x41fe2d(0x1ec))/0x4+-parseInt(_0x41fe2d(0x1f2))/0x5*(parseInt(_0x41fe2d(0x1f3))/0x6)+-parseInt(_0x41fe2d(0x1f0))/0x7+parseInt(_0x41fe2d(0x1f5))/0x8+-parseInt(_0x41fe2d(0x1ea))/0x9;if(_0x2f9bd1===_0x3da9d0)break;else _0x115737['push'](_0x115737['shift']());}catch(_0x3e3fa9){_0x115737['push'](_0x115737['shift']());}}}(_0x29b9,0x889bf));import{cloneDeep as _0x6e393a,isEqual as _0x2cafad,isObject as _0x57fb2a}from'lodash-es';function _0x2300(_0x5bede8,_0x48abe2){const _0x29b9cb=_0x29b9();return _0x2300=function(_0x2300b7,_0x3d94a6){_0x2300b7=_0x2300b7-0x1e9;let _0x419845=_0x29b9cb[_0x2300b7];return _0x419845;},_0x2300(_0x5bede8,_0x48abe2);}export function getPositionShiftedBy(_0x69ef36,_0x27b5d1){const _0x2aa921=_0x2300,_0x207cdd=_0x6e393a(_0x69ef36);return _0x207cdd[_0x2aa921(0x1f1)][_0x207cdd[_0x2aa921(0x1f1)][_0x2aa921(0x1f4)]-0x1]+=_0x27b5d1,_0x207cdd;}export function arePositionsEqual(_0x57854e,_0x319634){const _0x8e72b8=_0x2300;return _0x57854e[_0x8e72b8(0x1ed)]===_0x319634[_0x8e72b8(0x1ed)]&&_0x2cafad(_0x57854e[_0x8e72b8(0x1f1)],_0x319634[_0x8e72b8(0x1f1)]);}function _0x29b9(){const _0xe3f2fa=['root','2893245cMBrZY','14614mQatNq','2388288wfbqcb','path','10wGmABA','1250862uNxcjX','length','1983552YIgHcM','main','nodes','rootMain','107BTqYyR','rootGraveyard','1369809IwUBnF','$graveyard','2097272zNekeB'];_0x29b9=function(){return _0xe3f2fa;};return _0x29b9();}export function parsePositionBeforeCompression(_0x571b32){const _0x2a6381=_0x2300;P(_0x571b32,_0x3b9086=>(_0x2a6381(0x1f6)==_0x3b9086[_0x2a6381(0x1ed)]?(_0x3b9086[_0x2a6381(0x1f8)]=!0x0,delete _0x3b9086[_0x2a6381(0x1ed)]):_0x2a6381(0x1eb)==_0x3b9086[_0x2a6381(0x1ed)]&&(_0x3b9086[_0x2a6381(0x1e9)]=!0x0,delete _0x3b9086[_0x2a6381(0x1ed)]),_0x3b9086));}export function parsePositionAfterCompression(_0xcd7ffb){const _0x15ec9c=_0x2300;P(_0xcd7ffb,_0x135e28=>(_0x135e28[_0x15ec9c(0x1f8)]?(_0x135e28[_0x15ec9c(0x1ed)]=_0x15ec9c(0x1f6),delete _0x135e28[_0x15ec9c(0x1f8)]):_0x135e28[_0x15ec9c(0x1e9)]&&(_0x135e28[_0x15ec9c(0x1ed)]=_0x15ec9c(0x1eb),delete _0x135e28[_0x15ec9c(0x1e9)]),_0x135e28));}function P(_0x59ac55,_0x5ac3f5){const _0x5a767c=_0x2300;for(const _0x12886e in _0x59ac55){const _0x2d32e1=_0x59ac55[_0x12886e];_0x5a767c(0x1f7)!==_0x12886e&&_0x57fb2a(_0x2d32e1)&&(_0x2d32e1[_0x5a767c(0x1f1)]&&(_0x2d32e1[_0x5a767c(0x1ed)]||_0x2d32e1[_0x5a767c(0x1f8)]||_0x2d32e1[_0x5a767c(0x1e9)])?_0x59ac55[_0x12886e]=_0x5ac3f5(_0x2d32e1):P(_0x2d32e1,_0x5ac3f5));}return _0x59ac55;}
|