@ckeditor/ckeditor5-operations-compressor 42.0.0-alpha.5 → 42.0.0-alpha.6
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 +2 -2
- 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 _0x1c6299=_0x19ac;(function(_0x1fd712,_0x5b471d){var _0x5d928e=_0x19ac,_0x2bdc4d=_0x1fd712();while(!![]){try{var _0x1d8a1f=parseInt(_0x5d928e(0x1db))/0x1+-parseInt(_0x5d928e(0x1d7))/0x2*(-parseInt(_0x5d928e(0x1dd))/0x3)+parseInt(_0x5d928e(0x1e2))/0x4+parseInt(_0x5d928e(0x1e1))/0x5+parseInt(_0x5d928e(0x1d9))/0x6+parseInt(_0x5d928e(0x1e3))/0x7+-parseInt(_0x5d928e(0x1d8))/0x8;if(_0x1d8a1f===_0x5b471d)break;else _0x2bdc4d['push'](_0x2bdc4d['shift']());}catch(_0x1fde0f){_0x2bdc4d['push'](_0x2bdc4d['shift']());}}}(_0x3b89,0x3b02f));function _0x3b89(){var _0x524867=['4395gPJGEJ','types','shift','_operationName','354275TaxQKK','405024fEkyFf','940800zWdrsV','_id','push','470GVGIAG','7467688mYpmtG','547098KLBePi','decompress','433203iNxNHK','compress'];_0x3b89=function(){return _0x524867;};return _0x3b89();}import _0x59972c from'./operationcompressor.js';function _0x19ac(_0x50801b,_0xb81793){var _0x3b895d=_0x3b89();return _0x19ac=function(_0x19aced,_0x18a0d9){_0x19aced=_0x19aced-0x1d5;var _0x49b714=_0x3b895d[_0x19aced];return _0x49b714;},_0x19ac(_0x50801b,_0xb81793);}export default class p extends _0x59972c{[_0x1c6299(0x1dc)](_0x4b03bb,_0x53101c){var _0x25b40e=_0x1c6299;return _0x53101c[_0x25b40e(0x1df)](),_0x4b03bb[_0x25b40e(0x1de)][_0x25b40e(0x1d6)](this[_0x25b40e(0x1d5)]),!0x0;}[_0x1c6299(0x1da)](_0x2da932,_0x42c0c6){var _0x2256ca=_0x1c6299;_0x42c0c6[_0x2256ca(0x1de)][_0x2256ca(0x1df)](),_0x2da932[_0x2256ca(0x1d6)]({'__className':this[_0x2256ca(0x1e0)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18a879=_0x3135;function _0x3135(_0x29992d,_0x43d9e4){const _0x37d0e5=_0x37d0();return _0x3135=function(_0x31356a,_0xf72378){_0x31356a=_0x31356a-0x1dc;let _0x292e6e=_0x37d0e5[_0x31356a];return _0x292e6e;},_0x3135(_0x29992d,_0x43d9e4);}(function(_0x44e2f5,_0x5db45f){const _0x1c6438=_0x3135,_0x212426=_0x44e2f5();while(!![]){try{const _0x34e444=parseInt(_0x1c6438(0x1df))/0x1+parseInt(_0x1c6438(0x1e2))/0x2+parseInt(_0x1c6438(0x1ee))/0x3+parseInt(_0x1c6438(0x1e4))/0x4*(-parseInt(_0x1c6438(0x1e3))/0x5)+parseInt(_0x1c6438(0x1dd))/0x6+-parseInt(_0x1c6438(0x1e1))/0x7+-parseInt(_0x1c6438(0x1e8))/0x8*(parseInt(_0x1c6438(0x1e9))/0x9);if(_0x34e444===_0x5db45f)break;else _0x212426['push'](_0x212426['shift']());}catch(_0x4dcebd){_0x212426['push'](_0x212426['shift']());}}}(_0x37d0,0x2fd5c));import{parsePositionBeforeCompression as _0x57092b,parsePositionAfterCompression as _0x2910e2}from'../utils.js';export default class e{constructor(_0x42dc3c,_0x2eb9d4,_0x51e2ed){const _0xa25604=_0x3135;this[_0xa25604(0x1e0)]=_0x42dc3c,this[_0xa25604(0x1eb)]=_0x2eb9d4,this[_0xa25604(0x1ec)]=_0x51e2ed;}[_0x18a879(0x1ea)](_0x210a81,_0x48d271){const _0x33e59d=_0x18a879,_0x1dd806=_0x48d271[_0x33e59d(0x1de)]();return _0x57092b(_0x1dd806),_0x210a81[_0x33e59d(0x1e6)][_0x33e59d(0x1e7)](this[_0x33e59d(0x1ec)][_0x33e59d(0x1ea)](_0x1dd806)),_0x210a81[_0x33e59d(0x1ed)][_0x33e59d(0x1e7)](this[_0x33e59d(0x1e0)]),!0x0;}[_0x18a879(0x1e5)](_0x2ebbff,_0x29623b){const _0x3ef3ed=_0x18a879;_0x29623b[_0x3ef3ed(0x1ed)][_0x3ef3ed(0x1de)]();const _0x36d42a=this[_0x3ef3ed(0x1ec)][_0x3ef3ed(0x1e5)](_0x29623b[_0x3ef3ed(0x1e6)][_0x3ef3ed(0x1de)]());_0x2910e2(_0x36d42a),_0x36d42a[_0x3ef3ed(0x1dc)]=this[_0x3ef3ed(0x1eb)],_0x2ebbff[_0x3ef3ed(0x1e7)](_0x36d42a);}}function _0x37d0(){const _0x3566ce=['47024RgBWWu','decompress','buffers','push','2002792oHnRyL','9qTacLQ','compress','_operationName','_protobufDescriptor','types','566130KXQdeC','__className','1569546SlQOwL','shift','89183ZuBRrR','_id','2579206aqnlaM','668070HnpPLL','25CisZAr'];_0x37d0=function(){return _0x3566ce;};return _0x37d0();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2632(_0x1e43d6,_0x16f2d3){const _0x2a0848=_0x2a08();return _0x2632=function(_0x26329f,_0x12d284){_0x26329f=_0x26329f-0x87;let _0x2f921a=_0x2a0848[_0x26329f];return _0x2f921a;},_0x2632(_0x1e43d6,_0x16f2d3);}function _0x2a08(){const _0x1c8664=['4KuBwas','95xHGWxY','_protobufRoot','create','decode','_protobuf','480222RKPaUS','5681uWScCP','toObject','decompress','232445azMgbK','compress','8eHBVKS','2332737jAdtts','12TRXgXf','33804RYMfjZ','finish','1366421iXXIbA','131876bbOEfC','encode','verify','getDescriptor','10190QaamNS','6061JESxRY'];_0x2a08=function(){return _0x1c8664;};return _0x2a08();}const _0x3347e0=_0x2632;(function(_0x511ee3,_0x54fa7b){const _0x3f5add=_0x2632,_0x51d9c8=_0x511ee3();while(!![]){try{const _0x11ecd6=-parseInt(_0x3f5add(0x8d))/0x1*(-parseInt(_0x3f5add(0x9b))/0x2)+parseInt(_0x3f5add(0x89))/0x3+parseInt(_0x3f5add(0x95))/0x4*(-parseInt(_0x3f5add(0x9c))/0x5)+-parseInt(_0x3f5add(0x91))/0x6*(parseInt(_0x3f5add(0x94))/0x7)+-parseInt(_0x3f5add(0x8f))/0x8*(-parseInt(_0x3f5add(0x90))/0x9)+parseInt(_0x3f5add(0x99))/0xa*(-parseInt(_0x3f5add(0x9a))/0xb)+-parseInt(_0x3f5add(0x92))/0xc*(-parseInt(_0x3f5add(0x8a))/0xd);if(_0x11ecd6===_0x54fa7b)break;else _0x51d9c8['push'](_0x51d9c8['shift']());}catch(_0x51674f){_0x51d9c8['push'](_0x51d9c8['shift']());}}}(_0x2a08,0x83144));import{messages as _0x376476}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x1463ef=_0x2632;this[_0x1463ef(0x9d)]=_0x376476;}[_0x3347e0(0x98)](_0x3d919e){const _0x28024a=_0x3347e0;return new ProtobufDescriptor(this[_0x28024a(0x9d)][_0x3d919e]);}}export class ProtobufDescriptor{constructor(_0x4456d2){const _0x36211f=_0x3347e0;this[_0x36211f(0x88)]=_0x4456d2;}[_0x3347e0(0x8e)](_0x979147){const _0x10b2fe=_0x3347e0,_0x232ea5=this[_0x10b2fe(0x88)][_0x10b2fe(0x97)](_0x979147);if(_0x232ea5)throw Error(_0x232ea5);return this[_0x10b2fe(0x88)][_0x10b2fe(0x96)](this[_0x10b2fe(0x88)][_0x10b2fe(0x9e)](_0x979147))[_0x10b2fe(0x93)]();}[_0x3347e0(0x8c)](_0x4f1b6e){const _0x5b447d=_0x3347e0;return this[_0x5b447d(0x88)][_0x5b447d(0x8b)](this[_0x5b447d(0x88)][_0x5b447d(0x87)](_0x4f1b6e),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1ec244,_0x27ba62){const _0xbd8d81=_0x10c3,_0x13c627=_0x1ec244();while(!![]){try{const _0xc68ded=parseInt(_0xbd8d81(0x16b))/0x1+parseInt(_0xbd8d81(0x16a))/0x2+-parseInt(_0xbd8d81(0x165))/0x3+parseInt(_0xbd8d81(0x164))/0x4+parseInt(_0xbd8d81(0x16e))/0x5+-parseInt(_0xbd8d81(0x171))/0x6*(-parseInt(_0xbd8d81(0x16d))/0x7)+-parseInt(_0xbd8d81(0x163))/0x8;if(_0xc68ded===_0x27ba62)break;else _0x13c627['push'](_0x13c627['shift']());}catch(_0x41468e){_0x13c627['push'](_0x13c627['shift']());}}}(_0x1052,0xe076d));import{cloneDeep as _0x169718,isEqual as _0x5ba682,isObject as _0x2678ba}from'lodash-es';export function getPositionShiftedBy(_0xe2c278,_0x3cf997){const _0x507b80=_0x10c3,_0x283e81=_0x169718(_0xe2c278);return _0x283e81[_0x507b80(0x166)][_0x283e81[_0x507b80(0x166)][_0x507b80(0x167)]-0x1]+=_0x3cf997,_0x283e81;}export function arePositionsEqual(_0x399b19,_0x586fd){const _0x533a74=_0x10c3;return _0x399b19[_0x533a74(0x169)]===_0x586fd[_0x533a74(0x169)]&&_0x5ba682(_0x399b19[_0x533a74(0x166)],_0x586fd[_0x533a74(0x166)]);}export function parsePositionBeforeCompression(_0x8fcfb){const _0x2b762b=_0x10c3;P(_0x8fcfb,_0xdce487=>(_0x2b762b(0x168)==_0xdce487[_0x2b762b(0x169)]?(_0xdce487[_0x2b762b(0x170)]=!0x0,delete _0xdce487[_0x2b762b(0x169)]):_0x2b762b(0x172)==_0xdce487[_0x2b762b(0x169)]&&(_0xdce487[_0x2b762b(0x16f)]=!0x0,delete _0xdce487[_0x2b762b(0x169)]),_0xdce487));}export function parsePositionAfterCompression(_0x5331bc){const _0x47f09e=_0x10c3;P(_0x5331bc,_0x13eeeb=>(_0x13eeeb[_0x47f09e(0x170)]?(_0x13eeeb[_0x47f09e(0x169)]=_0x47f09e(0x168),delete _0x13eeeb[_0x47f09e(0x170)]):_0x13eeeb[_0x47f09e(0x16f)]&&(_0x13eeeb[_0x47f09e(0x169)]=_0x47f09e(0x172),delete _0x13eeeb[_0x47f09e(0x16f)]),_0x13eeeb));}function P(_0x3e2987,_0x563049){const _0x47a783=_0x10c3;for(const _0x49d98d in _0x3e2987){const _0x1657af=_0x3e2987[_0x49d98d];_0x47a783(0x16c)!==_0x49d98d&&_0x2678ba(_0x1657af)&&(_0x1657af[_0x47a783(0x166)]&&(_0x1657af[_0x47a783(0x169)]||_0x1657af[_0x47a783(0x170)]||_0x1657af[_0x47a783(0x16f)])?_0x3e2987[_0x49d98d]=_0x563049(_0x1657af):P(_0x1657af,_0x563049));}return _0x3e2987;}function _0x10c3(_0x2fa2cb,_0x440bff){const _0x10522a=_0x1052();return _0x10c3=function(_0x10c32c,_0x1d5621){_0x10c32c=_0x10c32c-0x163;let _0x1ba740=_0x10522a[_0x10c32c];return _0x1ba740;},_0x10c3(_0x2fa2cb,_0x440bff);}function _0x1052(){const _0x2b0aa0=['nodes','287iATDgF','7685220OqHReY','rootGraveyard','rootMain','19506bqgott','$graveyard','30840912wwOdbi','2950804qIZMdn','949320KBNJrv','path','length','main','root','2213954cWEZkV','1575946cxZKMK'];_0x1052=function(){return _0x2b0aa0;};return _0x1052();}
|