@ckeditor/ckeditor5-operations-compressor 0.0.0-nightly-20240813.0 → 0.0.0-nightly-20240815.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
|
-
const
|
|
23
|
+
const _0x4b5181=_0x2251;function _0x2251(_0x142c1e,_0x42ac3a){const _0x5983cd=_0x5983();return _0x2251=function(_0x225187,_0x3498f3){_0x225187=_0x225187-0xaf;let _0x149b13=_0x5983cd[_0x225187];return _0x149b13;},_0x2251(_0x142c1e,_0x42ac3a);}function _0x5983(){const _0x5a9f13=['1379312htKbqH','860266kjHGBt','newRange','oldRange','16fKzFbY','830pqmlhK','length','209025wsRkts','582036dOgVcr','decompress','105084RAuGoY','1464841fzbELw','2710ePhgom','4548dhgoml'];_0x5983=function(){return _0x5a9f13;};return _0x5983();}(function(_0x142896,_0x13f7d2){const _0x2b49c2=_0x2251,_0x570057=_0x142896();while(!![]){try{const _0x371f4=parseInt(_0x2b49c2(0xba))/0x1+-parseInt(_0x2b49c2(0xb1))/0x2+-parseInt(_0x2b49c2(0xb8))/0x3+-parseInt(_0x2b49c2(0xb0))/0x4+parseInt(_0x2b49c2(0xbc))/0x5*(-parseInt(_0x2b49c2(0xaf))/0x6)+parseInt(_0x2b49c2(0xbb))/0x7*(-parseInt(_0x2b49c2(0xb4))/0x8)+-parseInt(_0x2b49c2(0xb7))/0x9*(-parseInt(_0x2b49c2(0xb5))/0xa);if(_0x371f4===_0x13f7d2)break;else _0x570057['push'](_0x570057['shift']());}catch(_0xeab538){_0x570057['push'](_0x570057['shift']());}}}(_0x5983,0x393b8));import _0x3d9a0f from'./operationcompressor.js';export default class n extends _0x3d9a0f{[_0x4b5181(0xb9)](_0x2de633,_0x5cb683){const _0x201a78=_0x4b5181;super[_0x201a78(0xb9)](_0x2de633,_0x5cb683);const _0x5d7b34=_0x2de633[_0x2de633[_0x201a78(0xb6)]-0x1];_0x5d7b34[_0x201a78(0xb3)]||(_0x5d7b34[_0x201a78(0xb3)]=null),_0x5d7b34[_0x201a78(0xb2)]||(_0x5d7b34[_0x201a78(0xb2)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x3cea(_0xf8b36c,_0x50e2aa){var _0x10a13b=_0x10a1();return _0x3cea=function(_0x3ceae3,_0x2b5ab3){_0x3ceae3=_0x3ceae3-0x1aa;var _0x986d1e=_0x10a13b[_0x3ceae3];return _0x986d1e;},_0x3cea(_0xf8b36c,_0x50e2aa);}var _0x5d0523=_0x3cea;(function(_0x306249,_0x31a837){var _0x2b331f=_0x3cea,_0x14acda=_0x306249();while(!![]){try{var _0x58ad4a=parseInt(_0x2b331f(0x1b1))/0x1*(parseInt(_0x2b331f(0x1ba))/0x2)+-parseInt(_0x2b331f(0x1b4))/0x3*(parseInt(_0x2b331f(0x1b0))/0x4)+-parseInt(_0x2b331f(0x1aa))/0x5*(-parseInt(_0x2b331f(0x1b3))/0x6)+parseInt(_0x2b331f(0x1bb))/0x7*(parseInt(_0x2b331f(0x1b6))/0x8)+parseInt(_0x2b331f(0x1b9))/0x9+parseInt(_0x2b331f(0x1b2))/0xa+-parseInt(_0x2b331f(0x1b5))/0xb*(parseInt(_0x2b331f(0x1ad))/0xc);if(_0x58ad4a===_0x31a837)break;else _0x14acda['push'](_0x14acda['shift']());}catch(_0x34bbea){_0x14acda['push'](_0x14acda['shift']());}}}(_0x10a1,0xd5033));function _0x10a1(){var _0x2401fd=['compress','_id','96JYYKPZ','shift','types','1252xuQnQt','1oudTcM','3668210fHIKdX','7962996adfRvW','10623GhVqtg','4345165FHmdYr','3736BBvBbv','push','_operationName','7473753lbvJlL','3001770kzpUEC','16723zrjwFc','decompress','5ulCzea'];_0x10a1=function(){return _0x2401fd;};return _0x10a1();}import _0x147bca from'./operationcompressor.js';export default class p extends _0x147bca{[_0x5d0523(0x1ab)](_0x979dc,_0x14b0df){var _0x45e6b0=_0x5d0523;return _0x14b0df[_0x45e6b0(0x1ae)](),_0x979dc[_0x45e6b0(0x1af)][_0x45e6b0(0x1b7)](this[_0x45e6b0(0x1ac)]),!0x0;}[_0x5d0523(0x1bc)](_0x1b7916,_0x1b6722){var _0x30284c=_0x5d0523;_0x1b6722[_0x30284c(0x1af)][_0x30284c(0x1ae)](),_0x1b7916[_0x30284c(0x1b7)]({'__className':this[_0x30284c(0x1b8)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xa2ba(_0x36cba0,_0x4d0082){const _0x44ba59=_0x44ba();return _0xa2ba=function(_0xa2bae0,_0x2c211d){_0xa2bae0=_0xa2bae0-0x1b3;let _0x3d2de9=_0x44ba59[_0xa2bae0];return _0x3d2de9;},_0xa2ba(_0x36cba0,_0x4d0082);}const _0x4cb38c=_0xa2ba;function _0x44ba(){const _0x349923=['_protobufDescriptor','shift','compress','buffers','8GJnJiv','decompress','216SFVYMm','_operationName','__className','types','1445011ULAHWv','5531638TgxmbF','624540ZoMYYB','push','3878460IYjHBy','_id','5856741eOdqVl','20iGJZQw','979800ZjIdpf','45825TBgiOt'];_0x44ba=function(){return _0x349923;};return _0x44ba();}(function(_0x34ee51,_0x34af50){const _0x2a49a0=_0xa2ba,_0x112f8d=_0x34ee51();while(!![]){try{const _0x2291df=parseInt(_0x2a49a0(0x1c6))/0x1+-parseInt(_0x2a49a0(0x1ba))/0x2+parseInt(_0x2a49a0(0x1b4))/0x3+-parseInt(_0x2a49a0(0x1c2))/0x4*(parseInt(_0x2a49a0(0x1bb))/0x5)+parseInt(_0x2a49a0(0x1b6))/0x6+-parseInt(_0x2a49a0(0x1b3))/0x7*(-parseInt(_0x2a49a0(0x1c0))/0x8)+parseInt(_0x2a49a0(0x1b8))/0x9*(-parseInt(_0x2a49a0(0x1b9))/0xa);if(_0x2291df===_0x34af50)break;else _0x112f8d['push'](_0x112f8d['shift']());}catch(_0x55e6fb){_0x112f8d['push'](_0x112f8d['shift']());}}}(_0x44ba,0xc42c7));import{parsePositionBeforeCompression as _0x4d86f3,parsePositionAfterCompression as _0x5cee45}from'../utils.js';export default class e{constructor(_0x4cd41f,_0x39ba08,_0x1943a1){const _0x515ae1=_0xa2ba;this[_0x515ae1(0x1b7)]=_0x4cd41f,this[_0x515ae1(0x1c3)]=_0x39ba08,this[_0x515ae1(0x1bc)]=_0x1943a1;}[_0x4cb38c(0x1be)](_0x222477,_0x4bfa26){const _0x167bc5=_0x4cb38c,_0x5bc0e=_0x4bfa26[_0x167bc5(0x1bd)]();return _0x4d86f3(_0x5bc0e),_0x222477[_0x167bc5(0x1bf)][_0x167bc5(0x1b5)](this[_0x167bc5(0x1bc)][_0x167bc5(0x1be)](_0x5bc0e)),_0x222477[_0x167bc5(0x1c5)][_0x167bc5(0x1b5)](this[_0x167bc5(0x1b7)]),!0x0;}[_0x4cb38c(0x1c1)](_0x372061,_0x353102){const _0x45b7ac=_0x4cb38c;_0x353102[_0x45b7ac(0x1c5)][_0x45b7ac(0x1bd)]();const _0x39cbf8=this[_0x45b7ac(0x1bc)][_0x45b7ac(0x1c1)](_0x353102[_0x45b7ac(0x1bf)][_0x45b7ac(0x1bd)]());_0x5cee45(_0x39cbf8),_0x39cbf8[_0x45b7ac(0x1c4)]=this[_0x45b7ac(0x1c3)],_0x372061[_0x45b7ac(0x1b5)](_0x39cbf8);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x565c(){const _0x48b6b4=['1322736KhuVDD','_protobuf','_protobufRoot','finish','24255rHrwkn','10DPjtgB','encode','decode','decompress','compress','483192iiessm','272321SxEkZS','toObject','1420eCniAy','verify','create','48UPcyQn','getDescriptor','1052529xlkAZf','1636670noBtKx','2486508wtZbyh'];_0x565c=function(){return _0x48b6b4;};return _0x565c();}const _0x29a9f3=_0x12b6;(function(_0x25d547,_0x1b5fc1){const _0x4fb2cb=_0x12b6,_0x391fd2=_0x25d547();while(!![]){try{const _0x39687b=parseInt(_0x4fb2cb(0x90))/0x1+parseInt(_0x4fb2cb(0x99))/0x2+parseInt(_0x4fb2cb(0x98))/0x3+parseInt(_0x4fb2cb(0x9a))/0x4*(-parseInt(_0x4fb2cb(0x8b))/0x5)+-parseInt(_0x4fb2cb(0x9b))/0x6+parseInt(_0x4fb2cb(0x91))/0x7*(parseInt(_0x4fb2cb(0x96))/0x8)+-parseInt(_0x4fb2cb(0x9f))/0x9*(-parseInt(_0x4fb2cb(0x93))/0xa);if(_0x39687b===_0x1b5fc1)break;else _0x391fd2['push'](_0x391fd2['shift']());}catch(_0x282be4){_0x391fd2['push'](_0x391fd2['shift']());}}}(_0x565c,0xc47a0));import{messages as _0x35799e}from'./lib/compiledmessages.js';function _0x12b6(_0x538234,_0x55d799){const _0x565cba=_0x565c();return _0x12b6=function(_0x12b6ab,_0x411921){_0x12b6ab=_0x12b6ab-0x8b;let _0x417bd1=_0x565cba[_0x12b6ab];return _0x417bd1;},_0x12b6(_0x538234,_0x55d799);}export default class r{constructor(){const _0x2982ca=_0x12b6;this[_0x2982ca(0x9d)]=_0x35799e;}[_0x29a9f3(0x97)](_0x3194e9){const _0x349bb4=_0x29a9f3;return new ProtobufDescriptor(this[_0x349bb4(0x9d)][_0x3194e9]);}}export class ProtobufDescriptor{constructor(_0x1d06e1){const _0x18d3a5=_0x29a9f3;this[_0x18d3a5(0x9c)]=_0x1d06e1;}[_0x29a9f3(0x8f)](_0x3a0db4){const _0x53c1e4=_0x29a9f3,_0x28553e=this[_0x53c1e4(0x9c)][_0x53c1e4(0x94)](_0x3a0db4);if(_0x28553e)throw Error(_0x28553e);return this[_0x53c1e4(0x9c)][_0x53c1e4(0x8c)](this[_0x53c1e4(0x9c)][_0x53c1e4(0x95)](_0x3a0db4))[_0x53c1e4(0x9e)]();}[_0x29a9f3(0x8e)](_0x5d4994){const _0x856cd7=_0x29a9f3;return this[_0x856cd7(0x9c)][_0x856cd7(0x92)](this[_0x856cd7(0x9c)][_0x856cd7(0x8d)](_0x5d4994),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x49d9(){const _0x327081=['8BmdCou','616448KPWzIa','2473947lsiDpx','98278ZJLVuo','2524SOlWvi','rootGraveyard','100405aoLTdr','length','$graveyard','117rDxctR','root','16030ynzLzs','path','12910lxCLlH','main','3883LVYvCF','12epMsTE','nodes','rootMain'];_0x49d9=function(){return _0x327081;};return _0x49d9();}(function(_0x2abea6,_0xdd403f){const _0x1d5e36=_0x5575,_0x17597e=_0x2abea6();while(!![]){try{const _0x56d5c2=parseInt(_0x1d5e36(0xe7))/0x1*(-parseInt(_0x1d5e36(0xea))/0x2)+-parseInt(_0x1d5e36(0xf0))/0x3*(parseInt(_0x1d5e36(0xeb))/0x4)+-parseInt(_0x1d5e36(0xed))/0x5+-parseInt(_0x1d5e36(0xe4))/0x6*(parseInt(_0x1d5e36(0xdf))/0x7)+-parseInt(_0x1d5e36(0xe8))/0x8+parseInt(_0x1d5e36(0xe9))/0x9+-parseInt(_0x1d5e36(0xe1))/0xa*(-parseInt(_0x1d5e36(0xe3))/0xb);if(_0x56d5c2===_0xdd403f)break;else _0x17597e['push'](_0x17597e['shift']());}catch(_0x4b43fc){_0x17597e['push'](_0x17597e['shift']());}}}(_0x49d9,0x338e0));function _0x5575(_0xa06804,_0x1810be){const _0x49d968=_0x49d9();return _0x5575=function(_0x5575e9,_0x5b3fbb){_0x5575e9=_0x5575e9-0xdf;let _0x10d3be=_0x49d968[_0x5575e9];return _0x10d3be;},_0x5575(_0xa06804,_0x1810be);}import{cloneDeep as _0x2f0bf8,isEqual as _0x4ee500,isObject as _0x59fdf1}from'lodash-es';export function getPositionShiftedBy(_0x1ef97a,_0x1894d7){const _0x1a2a1a=_0x5575,_0x4b3e8c=_0x2f0bf8(_0x1ef97a);return _0x4b3e8c[_0x1a2a1a(0xe0)][_0x4b3e8c[_0x1a2a1a(0xe0)][_0x1a2a1a(0xee)]-0x1]+=_0x1894d7,_0x4b3e8c;}export function arePositionsEqual(_0x49c810,_0x4f6b6f){const _0x36033c=_0x5575;return _0x49c810[_0x36033c(0xf1)]===_0x4f6b6f[_0x36033c(0xf1)]&&_0x4ee500(_0x49c810[_0x36033c(0xe0)],_0x4f6b6f[_0x36033c(0xe0)]);}export function parsePositionBeforeCompression(_0x3bd803){const _0x961d60=_0x5575;P(_0x3bd803,_0x4d5e03=>(_0x961d60(0xe2)==_0x4d5e03[_0x961d60(0xf1)]?(_0x4d5e03[_0x961d60(0xe6)]=!0x0,delete _0x4d5e03[_0x961d60(0xf1)]):_0x961d60(0xef)==_0x4d5e03[_0x961d60(0xf1)]&&(_0x4d5e03[_0x961d60(0xec)]=!0x0,delete _0x4d5e03[_0x961d60(0xf1)]),_0x4d5e03));}export function parsePositionAfterCompression(_0x25bb76){const _0x280e62=_0x5575;P(_0x25bb76,_0x45fc94=>(_0x45fc94[_0x280e62(0xe6)]?(_0x45fc94[_0x280e62(0xf1)]=_0x280e62(0xe2),delete _0x45fc94[_0x280e62(0xe6)]):_0x45fc94[_0x280e62(0xec)]&&(_0x45fc94[_0x280e62(0xf1)]=_0x280e62(0xef),delete _0x45fc94[_0x280e62(0xec)]),_0x45fc94));}function P(_0x145df9,_0x5264d6){const _0x4b6977=_0x5575;for(const _0x40c67c in _0x145df9){const _0x14bfa3=_0x145df9[_0x40c67c];_0x4b6977(0xe5)!==_0x40c67c&&_0x59fdf1(_0x14bfa3)&&(_0x14bfa3[_0x4b6977(0xe0)]&&(_0x14bfa3[_0x4b6977(0xf1)]||_0x14bfa3[_0x4b6977(0xe6)]||_0x14bfa3[_0x4b6977(0xec)])?_0x145df9[_0x40c67c]=_0x5264d6(_0x14bfa3):P(_0x14bfa3,_0x5264d6));}return _0x145df9;}
|