@ckeditor/ckeditor5-operations-compressor 47.3.0 → 47.4.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/LICENSE.md +1 -1
- package/README.md +1 -1
- package/dist/index-content.css +1 -1
- package/dist/index-editor.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +3 -3
- package/package.json +4 -4
- package/src/actioncompressor/actioncompressor.d.ts +1 -1
- package/src/actioncompressor/actioncompressor.js +2 -2
- package/src/actioncompressor/deletingactioncompressor.d.ts +1 -1
- package/src/actioncompressor/deletingactioncompressor.js +2 -2
- package/src/actioncompressor/forwarddeletingactioncompressor.d.ts +1 -1
- package/src/actioncompressor/forwarddeletingactioncompressor.js +2 -2
- package/src/actioncompressor/typingactioncompressor.d.ts +1 -1
- package/src/actioncompressor/typingactioncompressor.js +2 -2
- package/src/actioncompressor/userselectionactioncompressor.d.ts +1 -1
- package/src/actioncompressor/userselectionactioncompressor.js +2 -2
- package/src/compressor.d.ts +1 -1
- package/src/compressor.js +2 -2
- package/src/index.d.ts +1 -1
- package/src/index.js +2 -2
- package/src/lib/compiledmessages.js +3 -3
- package/src/lib/protobufdescriptions.js +2 -2
- package/src/operationcompressor/annotationmarkeroperationcompressor.d.ts +1 -1
- package/src/operationcompressor/annotationmarkeroperationcompressor.js +2 -2
- package/src/operationcompressor/attributeoperationcompressor.d.ts +1 -1
- package/src/operationcompressor/attributeoperationcompressor.js +2 -2
- package/src/operationcompressor/insertoperationcompressor.d.ts +1 -1
- package/src/operationcompressor/insertoperationcompressor.js +2 -2
- package/src/operationcompressor/markeroperationcompressor.d.ts +1 -1
- package/src/operationcompressor/markeroperationcompressor.js +2 -2
- package/src/operationcompressor/nooperationcompressor.d.ts +1 -1
- package/src/operationcompressor/nooperationcompressor.js +2 -2
- package/src/operationcompressor/operationcompressor.d.ts +1 -1
- package/src/operationcompressor/operationcompressor.js +2 -2
- package/src/protobuffactory.d.ts +1 -1
- package/src/protobuffactory.js +2 -2
- package/src/utils.d.ts +1 -1
- package/src/utils.js +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x584990=_0x124d;(function(_0xc21585,_0x76dd58){const _0x228cf9=_0x124d,_0xe166ca=_0xc21585();while(!![]){try{const _0x1e3135=-parseInt(_0x228cf9(0xdd))/0x1*(parseInt(_0x228cf9(0xe2))/0x2)+parseInt(_0x228cf9(0xd2))/0x3*(-parseInt(_0x228cf9(0xdf))/0x4)+parseInt(_0x228cf9(0xdb))/0x5*(parseInt(_0x228cf9(0xd3))/0x6)+parseInt(_0x228cf9(0xce))/0x7*(-parseInt(_0x228cf9(0xe8))/0x8)+-parseInt(_0x228cf9(0xd9))/0x9*(-parseInt(_0x228cf9(0xe7))/0xa)+parseInt(_0x228cf9(0xdc))/0xb*(parseInt(_0x228cf9(0xe3))/0xc)+parseInt(_0x228cf9(0xd4))/0xd;if(_0x1e3135===_0x76dd58)break;else _0xe166ca['push'](_0xe166ca['shift']());}catch(_0x51d0e1){_0xe166ca['push'](_0xe166ca['shift']());}}}(_0x548e,0xcf6a3));function _0x548e(){const _0x155993=['every','371tGnetk','attributesBoolean','push','nodes','1065891ymtizn','6hFJWBV','9403134bavkcN','attributesJson','types','parse','boolean','2650401IWXegf','keys','2658025fUiYeF','55gnHldz','78841iuSMTq','_protobufDescriptor','4qxHGUo','_id','_areValuesBoolean','6WAjKMk','1954056WxIORw','shift','buffers','_serializeNodesAttributes','30YbLLvc','228104Lrnfbm','children','attributes','compress','__className','decompress','stringify','_operationName','_deserializeNodesAttributes'];_0x548e=function(){return _0x155993;};return _0x548e();}function _0x124d(_0x26aa70,_0x56231b){const _0x548ee6=_0x548e();return _0x124d=function(_0x124d64,_0x21c4d5){_0x124d64=_0x124d64-0xc7;let _0x186fe2=_0x548ee6[_0x124d64];return _0x186fe2;},_0x124d(_0x26aa70,_0x56231b);}import{OperationCompressor as _0x2e8bc1}from'./operationcompressor.js';import{parsePositionBeforeCompression as _0x2eb1d7,parsePositionAfterCompression as _0x52f86c}from'../utils.js';export class InsertOperationCompressor extends _0x2e8bc1{[_0x584990(0xc7)](_0x272792,_0x234b63){const _0x139c70=_0x584990,_0xbe6d4f=_0x234b63[_0x139c70(0xe4)]();return this[_0x139c70(0xe6)](_0xbe6d4f[_0x139c70(0xd1)]),_0x2eb1d7(_0xbe6d4f),_0x272792[_0x139c70(0xe5)][_0x139c70(0xd0)](this[_0x139c70(0xde)][_0x139c70(0xc7)](_0xbe6d4f)),_0x272792[_0x139c70(0xd6)][_0x139c70(0xd0)](this[_0x139c70(0xe0)]),!0x0;}[_0x584990(0xc9)](_0x3ae890,_0x3a58ac){const _0x407737=_0x584990,{types:_0x3d3fba,buffers:_0xc99993}=_0x3a58ac,_0x2bfc03=this[_0x407737(0xde)][_0x407737(0xc9)](_0xc99993[_0x407737(0xe4)]());_0x3d3fba[_0x407737(0xe4)](),_0x2bfc03[_0x407737(0xd1)]||(_0x2bfc03[_0x407737(0xd1)]=[]),this[_0x407737(0xcc)](_0x2bfc03[_0x407737(0xd1)]),_0x52f86c(_0x2bfc03),_0x2bfc03[_0x407737(0xc8)]=this[_0x407737(0xcb)],_0x3ae890[_0x407737(0xd0)](_0x2bfc03);}[_0x584990(0xe6)](_0x59df49){const _0x52bc46=_0x584990;for(const _0x44226b of _0x59df49){if(_0x44226b[_0x52bc46(0xea)]){const _0x249ec9=_0x44226b[_0x52bc46(0xea)];this[_0x52bc46(0xe1)](_0x249ec9)?_0x44226b[_0x52bc46(0xcf)]=_0x249ec9:_0x44226b[_0x52bc46(0xd5)]=JSON[_0x52bc46(0xca)](_0x249ec9);}_0x44226b[_0x52bc46(0xe9)]&&this[_0x52bc46(0xe6)](_0x44226b[_0x52bc46(0xe9)]);}}[_0x584990(0xcc)](_0x38b069){const _0x5a224c=_0x584990;for(const _0x3e3a8f of _0x38b069)(_0x3e3a8f[_0x5a224c(0xcf)]||_0x3e3a8f[_0x5a224c(0xd5)])&&(_0x3e3a8f[_0x5a224c(0xcf)]?(_0x3e3a8f[_0x5a224c(0xea)]=_0x3e3a8f[_0x5a224c(0xcf)],delete _0x3e3a8f[_0x5a224c(0xcf)]):(_0x3e3a8f[_0x5a224c(0xea)]=JSON[_0x5a224c(0xd7)](_0x3e3a8f[_0x5a224c(0xd5)]),delete _0x3e3a8f[_0x5a224c(0xd5)])),_0x3e3a8f[_0x5a224c(0xe9)]&&this[_0x5a224c(0xcc)](_0x3e3a8f[_0x5a224c(0xe9)]);}[_0x584990(0xe1)](_0x4c272a){const _0x17e313=_0x584990;return Object[_0x17e313(0xda)](_0x4c272a)[_0x17e313(0xcd)](_0x39441a=>_0x17e313(0xd8)==typeof _0x4c272a[_0x39441a]);}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { OperationCompressor } from './operationcompressor.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b297d=_0x4d35;function _0x21da(){const _0x592da8=['1673vrumJq','188msjvyT','88210DRAPIk','3455243RimYkl','10116LlsGAZ','decompress','4716YqJjzI','3195198pNvBdR','278BgIKbp','2977998JlDRxD','length','oldRange','9469584IAWVck','40GvlTHN','newRange'];_0x21da=function(){return _0x592da8;};return _0x21da();}(function(_0x277dc1,_0x535df7){const _0x46a3f6=_0x4d35,_0x41a9a0=_0x277dc1();while(!![]){try{const _0x50a84e=parseInt(_0x46a3f6(0x1ea))/0x1*(parseInt(_0x46a3f6(0x1e8))/0x2)+-parseInt(_0x46a3f6(0x1eb))/0x3+-parseInt(_0x46a3f6(0x1f2))/0x4*(-parseInt(_0x46a3f6(0x1f3))/0x5)+-parseInt(_0x46a3f6(0x1e6))/0x6*(-parseInt(_0x46a3f6(0x1f1))/0x7)+-parseInt(_0x46a3f6(0x1ee))/0x8+-parseInt(_0x46a3f6(0x1e9))/0x9+-parseInt(_0x46a3f6(0x1ef))/0xa*(-parseInt(_0x46a3f6(0x1e5))/0xb);if(_0x50a84e===_0x535df7)break;else _0x41a9a0['push'](_0x41a9a0['shift']());}catch(_0x36516d){_0x41a9a0['push'](_0x41a9a0['shift']());}}}(_0x21da,0x9596e));function _0x4d35(_0x4d63ca,_0x1e715a){const _0x21da6e=_0x21da();return _0x4d35=function(_0x4d35c5,_0x30459d){_0x4d35c5=_0x4d35c5-0x1e5;let _0xb8f17c=_0x21da6e[_0x4d35c5];return _0xb8f17c;},_0x4d35(_0x4d63ca,_0x1e715a);}import{OperationCompressor as _0x29fce6}from'./operationcompressor.js';export class MarkerOperationCompressor extends _0x29fce6{[_0x3b297d(0x1e7)](_0x6cba83,_0x970670){const _0x1f2c83=_0x3b297d;super[_0x1f2c83(0x1e7)](_0x6cba83,_0x970670);const _0x2b5a86=_0x6cba83[_0x6cba83[_0x1f2c83(0x1ec)]-0x1];_0x2b5a86[_0x1f2c83(0x1ed)]||(_0x2b5a86[_0x1f2c83(0x1ed)]=null),_0x2b5a86[_0x1f2c83(0x1f0)]||(_0x2b5a86[_0x1f2c83(0x1f0)]=null);}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { OperationCompressor } from './operationcompressor.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2cf4(){var _0x36a27a=['compress','_operationName','896770fDgpis','66NWLZvB','types','2429547NgqXdX','shift','1717301lOkGHR','_id','2930176EmwGJN','550568tLuWNs','4OkPqfv','1339173RtXVCf','568145rnpXeu','7dskiUv','decompress','push'];_0x2cf4=function(){return _0x36a27a;};return _0x2cf4();}var _0x400ae9=_0x203f;(function(_0x25b97b,_0x94dc7b){var _0x2a251b=_0x203f,_0x273a83=_0x25b97b();while(!![]){try{var _0xca7641=parseInt(_0x2a251b(0x120))/0x1+-parseInt(_0x2a251b(0x122))/0x2+parseInt(_0x2a251b(0x12f))/0x3*(-parseInt(_0x2a251b(0x124))/0x4)+parseInt(_0x2a251b(0x126))/0x5*(parseInt(_0x2a251b(0x12d))/0x6)+-parseInt(_0x2a251b(0x127))/0x7*(parseInt(_0x2a251b(0x123))/0x8)+parseInt(_0x2a251b(0x125))/0x9+parseInt(_0x2a251b(0x12c))/0xa;if(_0xca7641===_0x94dc7b)break;else _0x273a83['push'](_0x273a83['shift']());}catch(_0x2c60c5){_0x273a83['push'](_0x273a83['shift']());}}}(_0x2cf4,0xd26f0));import{OperationCompressor as _0x300328}from'./operationcompressor.js';function _0x203f(_0x559a67,_0x252331){var _0x2cf479=_0x2cf4();return _0x203f=function(_0x203f90,_0x217a0f){_0x203f90=_0x203f90-0x120;var _0x7ec25=_0x2cf479[_0x203f90];return _0x7ec25;},_0x203f(_0x559a67,_0x252331);}export class NoOperationCompressor extends _0x300328{[_0x400ae9(0x12a)](_0x30cce7,_0x3a3023){var _0x1dad6a=_0x400ae9;return _0x3a3023[_0x1dad6a(0x130)](),_0x30cce7[_0x1dad6a(0x12e)][_0x1dad6a(0x129)](this[_0x1dad6a(0x121)]),!0x0;}[_0x400ae9(0x128)](_0x480761,_0x2466c9){var _0x163478=_0x400ae9;_0x2466c9[_0x163478(0x12e)][_0x163478(0x130)](),_0x480761[_0x163478(0x129)]({'__className':this[_0x163478(0x12b)]});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import type { CompressedOperationsData } from '../compressor.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x586fcd=_0x2247;(function(_0x24a37b,_0x7a0f7a){const _0x23a48b=_0x2247,_0x327c37=_0x24a37b();while(!![]){try{const _0x3a1309=parseInt(_0x23a48b(0x134))/0x1+-parseInt(_0x23a48b(0x13a))/0x2*(parseInt(_0x23a48b(0x135))/0x3)+parseInt(_0x23a48b(0x147))/0x4*(parseInt(_0x23a48b(0x142))/0x5)+parseInt(_0x23a48b(0x13f))/0x6*(parseInt(_0x23a48b(0x139))/0x7)+parseInt(_0x23a48b(0x141))/0x8+-parseInt(_0x23a48b(0x13c))/0x9+-parseInt(_0x23a48b(0x145))/0xa;if(_0x3a1309===_0x7a0f7a)break;else _0x327c37['push'](_0x327c37['shift']());}catch(_0x18423b){_0x327c37['push'](_0x327c37['shift']());}}}(_0x38d4,0xc8bee));import{parsePositionBeforeCompression as _0x3259c9,parsePositionAfterCompression as _0x4f0e99}from'../utils.js';export class OperationCompressor{[_0x586fcd(0x146)];[_0x586fcd(0x13b)];[_0x586fcd(0x144)];constructor(_0x47c4b3,_0x27f0bd,_0x282291){const _0x4113c9=_0x586fcd;this[_0x4113c9(0x146)]=_0x47c4b3,this[_0x4113c9(0x13b)]=_0x27f0bd,this[_0x4113c9(0x144)]=_0x282291;}[_0x586fcd(0x140)](_0xfc0766,_0x5a8967){const _0x41fa77=_0x586fcd,_0x1f17ec=_0x5a8967[_0x41fa77(0x138)]();return _0x3259c9(_0x1f17ec),_0xfc0766[_0x41fa77(0x136)][_0x41fa77(0x13e)](this[_0x41fa77(0x144)][_0x41fa77(0x140)](_0x1f17ec)),_0xfc0766[_0x41fa77(0x137)][_0x41fa77(0x13e)](this[_0x41fa77(0x146)]),!0x0;}[_0x586fcd(0x143)](_0x403142,_0x52b8d5){const _0x37e0ef=_0x586fcd;_0x52b8d5[_0x37e0ef(0x137)][_0x37e0ef(0x138)]();const _0x25ff1a=this[_0x37e0ef(0x144)][_0x37e0ef(0x143)](_0x52b8d5[_0x37e0ef(0x136)][_0x37e0ef(0x138)]());_0x4f0e99(_0x25ff1a),_0x25ff1a[_0x37e0ef(0x13d)]=this[_0x37e0ef(0x13b)],_0x403142[_0x37e0ef(0x13e)](_0x25ff1a);}}function _0x2247(_0x3f89e2,_0x300e22){const _0x38d492=_0x38d4();return _0x2247=function(_0x224755,_0x4e37c0){_0x224755=_0x224755-0x134;let _0x4877c3=_0x38d492[_0x224755];return _0x4877c3;},_0x2247(_0x3f89e2,_0x300e22);}function _0x38d4(){const _0x446d43=['9211592Wsokfq','5305BGrQzk','decompress','_protobufDescriptor','12675650LHboJj','_id','1544seOSss','738277mBDWXl','6XehZqn','buffers','types','shift','2009938yyIcPL','487298mjbQRR','_operationName','83601anApit','__className','push','6AyspGh','compress'];_0x38d4=function(){return _0x446d43;};return _0x38d4();}
|
package/src/protobuffactory.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
export {};
|
package/src/protobuffactory.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3281(_0x4bb84c,_0x458939){const _0x189499=_0x1894();return _0x3281=function(_0x32818d,_0x2e4a7c){_0x32818d=_0x32818d-0x83;let _0x1d0e11=_0x189499[_0x32818d];return _0x1d0e11;},_0x3281(_0x4bb84c,_0x458939);}function _0x1894(){const _0xcacb06=['create','finish','getDescriptor','encode','684378pPxalk','decompress','91312qNPBjs','decode','182959IZJCer','_protobuf','_protobufRoot','verify','toObject','324053wOidAx','compress','261036aRvtpU','951230IOTdgn','174rpJxMR','722032VmYheg'];_0x1894=function(){return _0xcacb06;};return _0x1894();}const _0x1b5d6e=_0x3281;(function(_0x20726f,_0x15abe6){const _0x966a48=_0x3281,_0x155b75=_0x20726f();while(!![]){try{const _0xe61fbd=-parseInt(_0x966a48(0x90))/0x1+-parseInt(_0x966a48(0x92))/0x2+-parseInt(_0x966a48(0x87))/0x3+parseInt(_0x966a48(0x95))/0x4+parseInt(_0x966a48(0x93))/0x5+-parseInt(_0x966a48(0x94))/0x6*(-parseInt(_0x966a48(0x8b))/0x7)+parseInt(_0x966a48(0x89))/0x8;if(_0xe61fbd===_0x15abe6)break;else _0x155b75['push'](_0x155b75['shift']());}catch(_0x3750c7){_0x155b75['push'](_0x155b75['shift']());}}}(_0x1894,0x6fae4));import{messages as _0x477cfb}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x1b5d6e(0x8d)];constructor(){const _0x5ea040=_0x1b5d6e;this[_0x5ea040(0x8d)]=_0x477cfb;}[_0x1b5d6e(0x85)](_0x453a07){const _0x1a1b92=_0x1b5d6e;return new ProtobufDescriptor(this[_0x1a1b92(0x8d)][_0x453a07]);}}export class ProtobufDescriptor{[_0x1b5d6e(0x8c)];constructor(_0x1d6ef8){const _0x403c43=_0x1b5d6e;this[_0x403c43(0x8c)]=_0x1d6ef8;}[_0x1b5d6e(0x91)](_0x30b606){const _0x2209ff=_0x1b5d6e,_0x3fbbe3=this[_0x2209ff(0x8c)][_0x2209ff(0x8e)](_0x30b606);if(_0x3fbbe3)throw Error(_0x3fbbe3);return this[_0x2209ff(0x8c)][_0x2209ff(0x86)](this[_0x2209ff(0x8c)][_0x2209ff(0x83)](_0x30b606))[_0x2209ff(0x84)]();}[_0x1b5d6e(0x88)](_0x15684e){const _0x244301=_0x1b5d6e;return this[_0x244301(0x8c)][_0x244301(0x8f)](this[_0x244301(0x8c)][_0x244301(0x8a)](_0x15684e),{'oneofs':!0x0});}}
|
package/src/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x46e5(_0x3def16,_0xb50dd7){const _0x25e7ad=_0x25e7();return _0x46e5=function(_0x46e504,_0x5326d3){_0x46e504=_0x46e504-0x12f;let _0xd0cc10=_0x25e7ad[_0x46e504];return _0xd0cc10;},_0x46e5(_0x3def16,_0xb50dd7);}(function(_0x8c4721,_0xb98c14){const _0xf9850b=_0x46e5,_0x5d31b3=_0x8c4721();while(!![]){try{const _0x12482d=-parseInt(_0xf9850b(0x13f))/0x1+-parseInt(_0xf9850b(0x140))/0x2*(parseInt(_0xf9850b(0x134))/0x3)+parseInt(_0xf9850b(0x13a))/0x4+-parseInt(_0xf9850b(0x136))/0x5*(-parseInt(_0xf9850b(0x13d))/0x6)+parseInt(_0xf9850b(0x12f))/0x7*(-parseInt(_0xf9850b(0x131))/0x8)+parseInt(_0xf9850b(0x137))/0x9+parseInt(_0xf9850b(0x141))/0xa*(-parseInt(_0xf9850b(0x138))/0xb);if(_0x12482d===_0xb98c14)break;else _0x5d31b3['push'](_0x5d31b3['shift']());}catch(_0x4e33c3){_0x5d31b3['push'](_0x5d31b3['shift']());}}}(_0x25e7,0x84c62));import{cloneDeep as _0x1768a1,isEqual as _0x39d31d,isObject as _0x4f1d3e}from'es-toolkit/compat';export function getPositionShiftedBy(_0xf8e41c,_0x2791a3){const _0x2e5905=_0x46e5,_0x44ab4e=_0x1768a1(_0xf8e41c);return _0x44ab4e[_0x2e5905(0x130)][_0x44ab4e[_0x2e5905(0x130)][_0x2e5905(0x132)]-0x1]+=_0x2791a3,_0x44ab4e;}export function arePositionsEqual(_0x26776c,_0x5b30c1){const _0x1ffc8b=_0x46e5;return _0x26776c[_0x1ffc8b(0x139)]===_0x5b30c1[_0x1ffc8b(0x139)]&&_0x39d31d(_0x26776c[_0x1ffc8b(0x130)],_0x5b30c1[_0x1ffc8b(0x130)]);}export function parsePositionBeforeCompression(_0x4134c0){const _0x1b923d=_0x46e5;P(_0x4134c0,_0x3226ef=>(_0x1b923d(0x133)==_0x3226ef[_0x1b923d(0x139)]?(_0x3226ef[_0x1b923d(0x13c)]=!0x0,delete _0x3226ef[_0x1b923d(0x139)]):_0x1b923d(0x135)==_0x3226ef[_0x1b923d(0x139)]&&(_0x3226ef[_0x1b923d(0x13b)]=!0x0,delete _0x3226ef[_0x1b923d(0x139)]),_0x3226ef));}function _0x25e7(){const _0xc1883d=['root','3298844AAgcZX','rootGraveyard','rootMain','6053934grGRYk','nodes','479959LxGpti','1270kpPaYC','2027460UAzzJK','294IixFtE','path','28568SNFtke','length','main','2733LNDOok','$graveyard','5GDPrZR','1091826XPLQLo','11sUDznp'];_0x25e7=function(){return _0xc1883d;};return _0x25e7();}export function parsePositionAfterCompression(_0x4e0fd2){const _0x334082=_0x46e5;P(_0x4e0fd2,_0x437012=>(_0x437012[_0x334082(0x13c)]?(_0x437012[_0x334082(0x139)]=_0x334082(0x133),delete _0x437012[_0x334082(0x13c)]):_0x437012[_0x334082(0x13b)]&&(_0x437012[_0x334082(0x139)]=_0x334082(0x135),delete _0x437012[_0x334082(0x13b)]),_0x437012));}function P(_0x242d93,_0x54ec4f){const _0x1f6644=_0x46e5;for(const _0x21d9ce in _0x242d93){const _0xf5a26a=_0x242d93[_0x21d9ce];_0x1f6644(0x13e)!==_0x21d9ce&&_0x4f1d3e(_0xf5a26a)&&(_0xf5a26a[_0x1f6644(0x130)]&&(_0xf5a26a[_0x1f6644(0x139)]||_0xf5a26a[_0x1f6644(0x13c)]||_0xf5a26a[_0x1f6644(0x13b)])?_0x242d93[_0x21d9ce]=_0x54ec4f(_0xf5a26a):P(_0xf5a26a,_0x54ec4f));}return _0x242d93;}
|