Socket
Socket
Sign inDemoInstall

@ckeditor/ckeditor5-operations-compressor

Package Overview
Dependencies
Maintainers
1
Versions
595
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-operations-compressor - npm Package Compare versions

Comparing version 16.0.0 to 17.0.0

5

CHANGELOG.md
Changelog
=========
## 17.0.0 (2020-02-20)
Internal changes only (updated dependencies, documentation, etc.).
## 16.0.0 (2019-12-02)

@@ -5,0 +10,0 @@

4

package.json
{
"name": "@ckeditor/ckeditor5-operations-compressor",
"version": "16.0.0",
"version": "17.0.0",
"description": "CKEditor 5 operations compressor for real-time collaboration.",

@@ -30,3 +30,3 @@ "license": "SEE LICENSE IN LICENSE.md",

"dependencies": {
"@ckeditor/ckeditor5-utils": "^16.0.0",
"@ckeditor/ckeditor5-utils": "^17.0.0",
"lodash-es": "^4.17.11",

@@ -33,0 +33,0 @@ "protobufjs": "^6.8.8"

/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0x16c4=['types','shift','push','decompress'];(function(_0x12b6d5,_0xe6e981){var _0x5c8b44=function(_0x599b81){while(--_0x599b81){_0x12b6d5['push'](_0x12b6d5['shift']());}};_0x5c8b44(++_0xe6e981);}(_0x16c4,0xd8));var _0x2010=function(_0x4d1aac,_0x84890a){_0x4d1aac=_0x4d1aac-0x0;var _0x24ced6=_0x16c4[_0x4d1aac];return _0x24ced6;};import{cloneDeep as _0x50744b}from'lodash-es';export default class o{constructor(_0x50744b,_0x34b279){this['id']=_0x50744b,this['s']=_0x34b279;}['compress'](_0xdecdcd,_0x35b3e9){let _0x464c98;for(;_0x35b3e9['length']>0x1&&this['o'](_0x35b3e9[0x0],_0x35b3e9[0x1]);)_0x464c98?(_0x464c98=this['h'](_0x35b3e9['shift'](),_0x464c98),_0xdecdcd[_0x2010('0x0')]['push'](0x0)):(_0x464c98=_0x50744b(_0x35b3e9[_0x2010('0x1')]()),_0xdecdcd[_0x2010('0x0')][_0x2010('0x2')](this['id']));return!!_0x464c98&&(_0x464c98=this['h'](_0x35b3e9['shift'](),_0x464c98),_0xdecdcd['types']['push'](0x0),_0xdecdcd['buffers'][_0x2010('0x2')](this['i'](_0x464c98)),!0x0);}[_0x2010('0x3')](_0x50744b,_0x12cf0b){const _0x464ac6=this['l'](_0x12cf0b);for(;0x0==_0x12cf0b[_0x2010('0x0')][0x0];)_0x12cf0b[_0x2010('0x0')][_0x2010('0x1')](),_0x50744b['push'](this['m'](_0x464ac6));_0x50744b['push'](_0x464ac6);}}
const _0x1092=['shift','types','decompress','push','length','buffers','compress'];(function(_0x21164c,_0x34891e){const _0x1ce1c6=function(_0x1f6668){while(--_0x1f6668){_0x21164c['push'](_0x21164c['shift']());}};_0x1ce1c6(++_0x34891e);}(_0x1092,0xa6));const _0x45c7=function(_0x21164c,_0x34891e){_0x21164c=_0x21164c-0x0;let _0x1ce1c6=_0x1092[_0x21164c];return _0x1ce1c6;};import{cloneDeep as _0x17be42}from'lodash-es';export default class o{constructor(_0x53492c,_0x370d07){this['id']=_0x53492c,this['s']=_0x370d07;}[_0x45c7('0x1')](_0x2b4ac8,_0x55e31a){let _0x2aec4a;for(;_0x55e31a[_0x45c7('0x6')]>0x1&&this['o'](_0x55e31a[0x0],_0x55e31a[0x1]);)_0x2aec4a?(_0x2aec4a=this['h'](_0x55e31a[_0x45c7('0x2')](),_0x2aec4a),_0x2b4ac8['types'][_0x45c7('0x5')](0x0)):(_0x2aec4a=_0x17be42(_0x55e31a[_0x45c7('0x2')]()),_0x2b4ac8['types'][_0x45c7('0x5')](this['id']));return!!_0x2aec4a&&(_0x2aec4a=this['h'](_0x55e31a[_0x45c7('0x2')](),_0x2aec4a),_0x2b4ac8[_0x45c7('0x3')][_0x45c7('0x5')](0x0),_0x2b4ac8[_0x45c7('0x0')]['push'](this['i'](_0x2aec4a)),!0x0);}[_0x45c7('0x4')](_0x3298e8,_0x194fea){const _0x54cdc5=this['l'](_0x194fea);for(;0x0==_0x194fea[_0x45c7('0x3')][0x0];)_0x194fea[_0x45c7('0x3')]['shift'](),_0x3298e8[_0x45c7('0x5')](this['m'](_0x54cdc5));_0x3298e8[_0x45c7('0x5')](_0x54cdc5);}}
/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0x1863=['_getCompressorByName','MoveOperation','compress','buffers','decompress','__className','root','wasUndone','howMany','sourcePosition','targetPosition'];(function(_0x384946,_0x18e580){var _0x3c272e=function(_0x5ca420){while(--_0x5ca420){_0x384946['push'](_0x384946['shift']());}};_0x3c272e(++_0x18e580);}(_0x1863,0x126));var _0x2633=function(_0x4c07c7,_0x8e78b3){_0x4c07c7=_0x4c07c7-0x0;var _0x2ca5e9=_0x1863[_0x4c07c7];return _0x2ca5e9;};import _0x385676 from'./actioncompressor';import{arePositionsEqual as _0x53eca5,getPositionShiftedBy as _0x4b549c}from'../utils';import{cloneDeep as _0x58c728}from'lodash-es';export default class n extends _0x385676{['h'](_0x53eca5,_0x4b549c){return _0x4b549c[_0x2633('0x0')]++,_0x4b549c[_0x2633('0x1')]=_0x58c728(_0x53eca5['sourcePosition']),_0x4b549c;}['m'](_0x53eca5){const _0x385676=_0x58c728(_0x53eca5);return _0x53eca5[_0x2633('0x0')]--,_0x385676[_0x2633('0x0')]=0x1,_0x385676[_0x2633('0x1')]=_0x4b549c(_0x385676['sourcePosition'],_0x53eca5[_0x2633('0x0')]),_0x385676;}['o'](_0x385676,n){return!(!i(_0x385676)||!i(n))&&(_0x53eca5(_0x4b549c(_0x385676[_0x2633('0x1')],-0x1),n[_0x2633('0x1')])&&_0x53eca5(_0x385676['targetPosition'],n[_0x2633('0x2')]));}['i'](_0x53eca5){const _0x4b549c={'types':[],'buffers':[],'baseVersion':0x0};return this['s'][_0x2633('0x3')](_0x2633('0x4'))[_0x2633('0x5')](_0x4b549c,[_0x53eca5]),_0x4b549c[_0x2633('0x6')][0x0];}['l'](_0x53eca5){const _0x4b549c=[];return this['s'][_0x2633('0x3')](_0x2633('0x4'))[_0x2633('0x7')](_0x4b549c,_0x53eca5),_0x4b549c[0x0];}}function i(_0x53eca5){return _0x2633('0x4')==_0x53eca5[_0x2633('0x8')]&&'$graveyard'==_0x53eca5[_0x2633('0x2')][_0x2633('0x9')]&&0x1==_0x53eca5[_0x2633('0x0')]&&!_0x53eca5[_0x2633('0xa')];}
const _0x3af3=['targetPosition','MoveOperation','_getCompressorByName','decompress','sourcePosition','$graveyard','buffers','howMany','compress'];(function(_0x5719de,_0x1ec33f){const _0x3d3b77=function(_0x2f2573){while(--_0x2f2573){_0x5719de['push'](_0x5719de['shift']());}};_0x3d3b77(++_0x1ec33f);}(_0x3af3,0x175));const _0x87ee=function(_0x5719de,_0x1ec33f){_0x5719de=_0x5719de-0x0;let _0x3d3b77=_0x3af3[_0x5719de];return _0x3d3b77;};import _0x4991e9 from'./actioncompressor';import{arePositionsEqual as _0x396d1b,getPositionShiftedBy as _0x1138f4}from'../utils';import{cloneDeep as _0x3d3299}from'lodash-es';export default class n extends _0x4991e9{['h'](_0x317054,_0x370ae6){return _0x370ae6[_0x87ee('0x3')]++,_0x370ae6[_0x87ee('0x0')]=_0x3d3299(_0x317054[_0x87ee('0x0')]),_0x370ae6;}['m'](_0x371b9f){const _0x4f0226=_0x3d3299(_0x371b9f);return _0x371b9f[_0x87ee('0x3')]--,_0x4f0226[_0x87ee('0x3')]=0x1,_0x4f0226[_0x87ee('0x0')]=_0x1138f4(_0x4f0226[_0x87ee('0x0')],_0x371b9f['howMany']),_0x4f0226;}['o'](_0x3254ec,_0x2f852d){return!(!i(_0x3254ec)||!i(_0x2f852d))&&(_0x396d1b(_0x1138f4(_0x3254ec['sourcePosition'],-0x1),_0x2f852d[_0x87ee('0x0')])&&_0x396d1b(_0x3254ec[_0x87ee('0x5')],_0x2f852d['targetPosition']));}['i'](_0x105e0a){const _0x523c00={'types':[],'buffers':[],'baseVersion':0x0};return this['s'][_0x87ee('0x7')]('MoveOperation')[_0x87ee('0x4')](_0x523c00,[_0x105e0a]),_0x523c00[_0x87ee('0x2')][0x0];}['l'](_0x4b94b6){const _0x58cf4d=[];return this['s'][_0x87ee('0x7')](_0x87ee('0x6'))[_0x87ee('0x8')](_0x58cf4d,_0x4b94b6),_0x58cf4d[0x0];}}function i(_0x535269){return'MoveOperation'==_0x535269['__className']&&_0x87ee('0x1')==_0x535269[_0x87ee('0x5')]['root']&&0x1==_0x535269[_0x87ee('0x3')]&&!_0x535269['wasUndone'];}
/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0x5135=['sourcePosition','targetPosition','_getCompressorByName','MoveOperation','compress','buffers','decompress','$graveyard','root','wasUndone','howMany'];(function(_0x554106,_0x3d7d1d){var _0x1b866c=function(_0x418e33){while(--_0x418e33){_0x554106['push'](_0x554106['shift']());}};_0x1b866c(++_0x3d7d1d);}(_0x5135,0x128));var _0x4eb0=function(_0x37594a,_0x2e375d){_0x37594a=_0x37594a-0x0;var _0x380658=_0x5135[_0x37594a];return _0x380658;};import _0x16ec6f from'./actioncompressor';import{arePositionsEqual as _0x4ef0d6}from'../utils';import{cloneDeep as _0x323f3c}from'lodash-es';export default class p extends _0x16ec6f{['h'](_0x4ef0d6,e){return e[_0x4eb0('0x0')]++,e;}['m'](_0x4ef0d6){const e=_0x323f3c(_0x4ef0d6);return e[_0x4eb0('0x0')]=0x1,_0x4ef0d6['howMany']--,e;}['o'](e,_0x16ec6f){return!(!i(e)||!i(_0x16ec6f))&&(_0x4ef0d6(e[_0x4eb0('0x1')],_0x16ec6f[_0x4eb0('0x1')])&&_0x4ef0d6(e[_0x4eb0('0x2')],_0x16ec6f[_0x4eb0('0x2')]));}['i'](_0x4ef0d6){const e={'types':[],'buffers':[],'baseVersion':0x0};return this['s'][_0x4eb0('0x3')](_0x4eb0('0x4'))[_0x4eb0('0x5')](e,[_0x4ef0d6]),e[_0x4eb0('0x6')][0x0];}['l'](_0x4ef0d6){const e=[];return this['s'][_0x4eb0('0x3')](_0x4eb0('0x4'))[_0x4eb0('0x7')](e,_0x4ef0d6),e[0x0];}}function i(_0x4ef0d6){return _0x4eb0('0x4')==_0x4ef0d6['__className']&&_0x4eb0('0x8')==_0x4ef0d6['targetPosition'][_0x4eb0('0x9')]&&0x1==_0x4ef0d6['howMany']&&!_0x4ef0d6[_0x4eb0('0xa')];}
const _0x3c34=['buffers','MoveOperation','_getCompressorByName','sourcePosition','$graveyard','wasUndone','decompress','compress','howMany','targetPosition'];(function(_0x9782f6,_0x476a7a){const _0x1c4c6f=function(_0x468375){while(--_0x468375){_0x9782f6['push'](_0x9782f6['shift']());}};_0x1c4c6f(++_0x476a7a);}(_0x3c34,0x178));const _0x1181=function(_0x9782f6,_0x476a7a){_0x9782f6=_0x9782f6-0x0;let _0x1c4c6f=_0x3c34[_0x9782f6];return _0x1c4c6f;};import _0x13eb2b from'./actioncompressor';import{arePositionsEqual as _0x466fac}from'../utils';import{cloneDeep as _0x5d5f7f}from'lodash-es';export default class p extends _0x13eb2b{['h'](_0x42e2f1,_0x1a0395){return _0x1a0395[_0x1181('0x2')]++,_0x1a0395;}['m'](_0x550070){const _0x3b12b6=_0x5d5f7f(_0x550070);return _0x3b12b6[_0x1181('0x2')]=0x1,_0x550070[_0x1181('0x2')]--,_0x3b12b6;}['o'](_0x467dc8,_0x140ba1){return!(!i(_0x467dc8)||!i(_0x140ba1))&&(_0x466fac(_0x467dc8[_0x1181('0x7')],_0x140ba1[_0x1181('0x7')])&&_0x466fac(_0x467dc8[_0x1181('0x3')],_0x140ba1[_0x1181('0x3')]));}['i'](_0x239047){const _0x4a8ada={'types':[],'buffers':[],'baseVersion':0x0};return this['s'][_0x1181('0x6')]('MoveOperation')[_0x1181('0x1')](_0x4a8ada,[_0x239047]),_0x4a8ada[_0x1181('0x4')][0x0];}['l'](_0x2a3982){const _0x24385c=[];return this['s'][_0x1181('0x6')](_0x1181('0x5'))[_0x1181('0x0')](_0x24385c,_0x2a3982),_0x24385c[0x0];}}function i(_0x12fc47){return _0x1181('0x5')==_0x12fc47['__className']&&_0x1181('0x8')==_0x12fc47[_0x1181('0x3')]['root']&&0x1==_0x12fc47['howMany']&&!_0x12fc47[_0x1181('0x9')];}
/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0x5226=['keys','every','_getCompressorByName','InsertOperation','decompress','wasUndone','nodes','data','from','substr','position','length','attributes'];(function(_0x3ae857,_0x5204d3){var _0x2bd349=function(_0xc8b545){while(--_0xc8b545){_0x3ae857['push'](_0x3ae857['shift']());}};_0x2bd349(++_0x5204d3);}(_0x5226,0x88));var _0x5921=function(_0x352717,_0x1190ef){_0x352717=_0x352717-0x0;var _0x5d5f9b=_0x5226[_0x352717];return _0x5d5f9b;};import _0x14ad15 from'./actioncompressor';import{arePositionsEqual as _0x59a14f,getPositionShiftedBy as _0x5ae7cf}from'../utils';import{cloneDeep as _0x1895a4}from'lodash-es';export default class c extends _0x14ad15{['h'](_0x59a14f,_0x5ae7cf){return _0x5ae7cf[_0x5921('0x0')][0x0][_0x5921('0x1')]+=_0x59a14f[_0x5921('0x0')][0x0][_0x5921('0x1')],_0x5ae7cf;}['m'](_0x59a14f){const n=_0x1895a4(_0x59a14f),_0x14ad15=n['nodes'][0x0],i=_0x59a14f['nodes'][0x0],c=Array[_0x5921('0x2')](i[_0x5921('0x1')])[0x0],p=c['length'];return _0x14ad15[_0x5921('0x1')]=c,i['data']=i[_0x5921('0x1')][_0x5921('0x3')](p),_0x59a14f[_0x5921('0x4')]=_0x5ae7cf(_0x59a14f[_0x5921('0x4')],p),n;}['o'](n,_0x14ad15){if(i(n)&&i(_0x14ad15)){const _0x1895a4=n['nodes'][0x0]['data'][_0x5921('0x5')],i=_0x59a14f(_0x5ae7cf(n[_0x5921('0x4')],_0x1895a4),_0x14ad15[_0x5921('0x4')]),c=n[_0x5921('0x0')][0x0],p=_0x14ad15[_0x5921('0x0')][0x0];return i&&function(_0x59a14f,_0x5ae7cf){const n=Object['keys'](_0x59a14f[_0x5921('0x6')]||{}),_0x14ad15=Object[_0x5921('0x7')](_0x5ae7cf[_0x5921('0x6')]||{});if(n['length']!==_0x14ad15['length'])return!0x1;return n[_0x5921('0x8')](n=>_0x5ae7cf[_0x5921('0x6')][n]&&_0x5ae7cf['attributes'][n]===_0x59a14f['attributes'][n]);}(c,p);}return!0x1;}['i'](_0x59a14f){const _0x5ae7cf={'types':[],'buffers':[],'baseVersion':0x0};return this['s'][_0x5921('0x9')](_0x5921('0xa'))['compress'](_0x5ae7cf,[_0x59a14f]),_0x5ae7cf['buffers'][0x0];}['l'](_0x59a14f){const _0x5ae7cf=[];return this['s'][_0x5921('0x9')](_0x5921('0xa'))[_0x5921('0xb')](_0x5ae7cf,_0x59a14f),_0x5ae7cf[0x0];}}function i(_0x59a14f){return _0x5921('0xa')==_0x59a14f['__className']&&0x1==_0x59a14f[_0x5921('0x0')]['length']&&_0x59a14f[_0x5921('0x0')][0x0][_0x5921('0x1')]&&!_0x59a14f[_0x5921('0xc')]&&0x1==Array[_0x5921('0x2')](_0x59a14f['nodes'][0x0][_0x5921('0x1')])[_0x5921('0x5')];}
const _0x3dbf=['keys','position','_getCompressorByName','length','buffers','InsertOperation','substr','every','data','wasUndone','from','attributes','compress','nodes'];(function(_0x5937e3,_0x10e32e){const _0x3b924c=function(_0x1dbbf3){while(--_0x1dbbf3){_0x5937e3['push'](_0x5937e3['shift']());}};_0x3b924c(++_0x10e32e);}(_0x3dbf,0x156));const _0x70df=function(_0x5937e3,_0x10e32e){_0x5937e3=_0x5937e3-0x0;let _0x3b924c=_0x3dbf[_0x5937e3];return _0x3b924c;};import _0x59338c from'./actioncompressor';import{arePositionsEqual as _0x45a46b,getPositionShiftedBy as _0x406415}from'../utils';import{cloneDeep as _0x2f7a2b}from'lodash-es';export default class c extends _0x59338c{['h'](_0x20edac,_0x17de9d){return _0x17de9d[_0x70df('0x7')][0x0][_0x70df('0x2')]+=_0x20edac[_0x70df('0x7')][0x0]['data'],_0x17de9d;}['m'](_0x3d5056){const _0x55ae9f=_0x2f7a2b(_0x3d5056),_0x12732e=_0x55ae9f['nodes'][0x0],_0x2b3d34=_0x3d5056[_0x70df('0x7')][0x0],_0x464e91=Array[_0x70df('0x4')](_0x2b3d34[_0x70df('0x2')])[0x0],_0x4bc283=_0x464e91[_0x70df('0xb')];return _0x12732e['data']=_0x464e91,_0x2b3d34['data']=_0x2b3d34['data'][_0x70df('0x0')](_0x4bc283),_0x3d5056[_0x70df('0x9')]=_0x406415(_0x3d5056[_0x70df('0x9')],_0x4bc283),_0x55ae9f;}['o'](_0x3f1592,_0xb64212){if(i(_0x3f1592)&&i(_0xb64212)){const _0xd4eb2b=_0x3f1592[_0x70df('0x7')][0x0][_0x70df('0x2')][_0x70df('0xb')],_0x4a5737=_0x45a46b(_0x406415(_0x3f1592['position'],_0xd4eb2b),_0xb64212[_0x70df('0x9')]),_0x4954e0=_0x3f1592['nodes'][0x0],_0x5c3bfc=_0xb64212[_0x70df('0x7')][0x0];return _0x4a5737&&function(_0x51dc81,_0x427a8c){const _0xb1729f=Object['keys'](_0x51dc81['attributes']||{}),_0x366875=Object[_0x70df('0x8')](_0x427a8c[_0x70df('0x5')]||{});if(_0xb1729f[_0x70df('0xb')]!==_0x366875[_0x70df('0xb')])return!0x1;return _0xb1729f[_0x70df('0x1')](_0x25e4d2=>_0x427a8c['attributes'][_0x25e4d2]&&_0x427a8c[_0x70df('0x5')][_0x25e4d2]===_0x51dc81[_0x70df('0x5')][_0x25e4d2]);}(_0x4954e0,_0x5c3bfc);}return!0x1;}['i'](_0x101920){const _0x410ad4={'types':[],'buffers':[],'baseVersion':0x0};return this['s'][_0x70df('0xa')]('InsertOperation')[_0x70df('0x6')](_0x410ad4,[_0x101920]),_0x410ad4[_0x70df('0xc')][0x0];}['l'](_0x3f0961){const _0x150868=[];return this['s'][_0x70df('0xa')]('InsertOperation')['decompress'](_0x150868,_0x3f0961),_0x150868[0x0];}}function i(_0x32de27){return _0x70df('0xd')==_0x32de27['__className']&&0x1==_0x32de27['nodes'][_0x70df('0xb')]&&_0x32de27[_0x70df('0x7')][0x0][_0x70df('0x2')]&&!_0x32de27[_0x70df('0x3')]&&0x1==Array[_0x70df('0x4')](_0x32de27[_0x70df('0x7')][0x0][_0x70df('0x2')])['length'];}
/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0x5495=['types','push','buffers','decompress','stickiness','toNone','user:position:','split','_getCompressorByName','compress','MarkerOperation','__className','name','user:','startsWith','shift','oldRange','newRange','start','end'];(function(_0x375423,_0x293561){var _0x1df79f=function(_0x3f809c){while(--_0x3f809c){_0x375423['push'](_0x375423['shift']());}};_0x1df79f(++_0x293561);}(_0x5495,0xbd));var _0x49c3=function(_0x84869b,_0xfff2d){_0x84869b=_0x84869b-0x0;var _0x4b8d6f=_0x5495[_0x84869b];return _0x4b8d6f;};import _0x2df185 from'./actioncompressor';import{arePositionsEqual as _0x37fa07}from'../utils';import{cloneDeep as _0xc294a8}from'lodash-es';export default class u extends _0x2df185{[_0x49c3('0x0')](e,_0xc294a8){if(!function(_0x37fa07,e){if(!_0x37fa07||!e)return!0x1;if(_0x49c3('0x1')!=_0x37fa07[_0x49c3('0x2')]||_0x49c3('0x1')!=e[_0x49c3('0x2')])return!0x1;if(_0x37fa07[_0x49c3('0x3')]['startsWith'](_0x49c3('0x4'))&&e[_0x49c3('0x3')][_0x49c3('0x5')](_0x49c3('0x4'))&&_0x37fa07[_0x49c3('0x3')]!=e['name'])return!0x0;return!0x1;}(_0xc294a8[0x0],_0xc294a8[0x1]))return!0x1;const _0x2df185=_0xc294a8[_0x49c3('0x6')]();return _0x2df185[_0x49c3('0x7')]=null,_0x2df185['newRange']&&_0x37fa07(_0x2df185[_0x49c3('0x8')][_0x49c3('0x9')],_0x2df185['newRange'][_0x49c3('0xa')])&&(_0x2df185['newRange'][_0x49c3('0xa')]=null),_0xc294a8[_0x49c3('0x6')](),e[_0x49c3('0xb')][_0x49c3('0xc')](this['id']),e[_0x49c3('0xb')]['push'](0x0),e[_0x49c3('0xd')]['push'](this['i'](_0x2df185)),!0x0;}[_0x49c3('0xe')](_0x37fa07,e){const _0x2df185=this['l'](e);_0x2df185[_0x49c3('0x8')]&&!_0x2df185[_0x49c3('0x8')][_0x49c3('0xa')]&&(_0x2df185['newRange'][_0x49c3('0xa')]=_0xc294a8(_0x2df185[_0x49c3('0x8')][_0x49c3('0x9')]));const n=_0xc294a8(_0x2df185);n[_0x49c3('0x8')]&&(n['newRange'][_0x49c3('0x9')][_0x49c3('0xf')]=_0x49c3('0x10'),n[_0x49c3('0x8')][_0x49c3('0xa')]=_0xc294a8(n[_0x49c3('0x8')][_0x49c3('0x9')])),n['name']=_0x49c3('0x11')+n[_0x49c3('0x3')][_0x49c3('0x12')](':')[0x2],e['types'][_0x49c3('0x6')](),_0x37fa07[_0x49c3('0xc')](_0x2df185),_0x37fa07[_0x49c3('0xc')](n);}['i'](_0x37fa07){const e={'types':[],'buffers':[],'baseVersion':0x0};return this['s'][_0x49c3('0x13')](_0x49c3('0x1'))[_0x49c3('0x0')](e,[_0x37fa07]),e['buffers'][0x0];}['l'](_0x37fa07){const e=[];return this['s'][_0x49c3('0x13')]('MarkerOperation')[_0x49c3('0xe')](e,_0x37fa07),e[0x0];}}
const _0x3e3c=['toNone','newRange','start','startsWith','push','name','end','shift','types','MarkerOperation','_getCompressorByName','stickiness','buffers','decompress','compress','split','user:'];(function(_0x50e863,_0x4aba5b){const _0x3ebe27=function(_0x4ae0df){while(--_0x4ae0df){_0x50e863['push'](_0x50e863['shift']());}};_0x3ebe27(++_0x4aba5b);}(_0x3e3c,0xa6));const _0x5538=function(_0x50e863,_0x4aba5b){_0x50e863=_0x50e863-0x0;let _0x3ebe27=_0x3e3c[_0x50e863];return _0x3ebe27;};import _0x1591e2 from'./actioncompressor';import{arePositionsEqual as _0x271760}from'../utils';import{cloneDeep as _0x19336c}from'lodash-es';export default class u extends _0x1591e2{['compress'](_0x1f73c0,_0x4b9e82){if(!function(_0x5b3f90,_0xd14f45){if(!_0x5b3f90||!_0xd14f45)return!0x1;if(_0x5538('0xd')!=_0x5b3f90['__className']||_0x5538('0xd')!=_0xd14f45['__className'])return!0x1;if(_0x5b3f90[_0x5538('0x9')][_0x5538('0x7')](_0x5538('0x3'))&&_0xd14f45[_0x5538('0x9')][_0x5538('0x7')](_0x5538('0x3'))&&_0x5b3f90['name']!=_0xd14f45[_0x5538('0x9')])return!0x0;return!0x1;}(_0x4b9e82[0x0],_0x4b9e82[0x1]))return!0x1;const _0x135252=_0x4b9e82['shift']();return _0x135252['oldRange']=null,_0x135252[_0x5538('0x5')]&&_0x271760(_0x135252[_0x5538('0x5')][_0x5538('0x6')],_0x135252[_0x5538('0x5')]['end'])&&(_0x135252[_0x5538('0x5')][_0x5538('0xa')]=null),_0x4b9e82[_0x5538('0xb')](),_0x1f73c0[_0x5538('0xc')][_0x5538('0x8')](this['id']),_0x1f73c0[_0x5538('0xc')][_0x5538('0x8')](0x0),_0x1f73c0['buffers']['push'](this['i'](_0x135252)),!0x0;}[_0x5538('0x0')](_0x4d544d,_0x46611b){const _0x2c974c=this['l'](_0x46611b);_0x2c974c['newRange']&&!_0x2c974c[_0x5538('0x5')][_0x5538('0xa')]&&(_0x2c974c[_0x5538('0x5')]['end']=_0x19336c(_0x2c974c[_0x5538('0x5')]['start']));const _0x168461=_0x19336c(_0x2c974c);_0x168461[_0x5538('0x5')]&&(_0x168461['newRange'][_0x5538('0x6')][_0x5538('0xf')]=_0x5538('0x4'),_0x168461['newRange'][_0x5538('0xa')]=_0x19336c(_0x168461[_0x5538('0x5')]['start'])),_0x168461[_0x5538('0x9')]='user:position:'+_0x168461[_0x5538('0x9')][_0x5538('0x2')](':')[0x2],_0x46611b[_0x5538('0xc')][_0x5538('0xb')](),_0x4d544d['push'](_0x2c974c),_0x4d544d['push'](_0x168461);}['i'](_0x1a51a8){const _0x34adf4={'types':[],'buffers':[],'baseVersion':0x0};return this['s'][_0x5538('0xe')]('MarkerOperation')[_0x5538('0x1')](_0x34adf4,[_0x1a51a8]),_0x34adf4[_0x5538('0x10')][0x0];}['l'](_0x4ee03d){const _0x398eac=[];return this['s'][_0x5538('0xe')]('MarkerOperation')[_0x5538('0x0')](_0x398eac,_0x4ee03d),_0x398eac[0x0];}}
/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0x508a=['Element','string','bool','repeated','uint32','Position'];(function(_0x706660,_0x1845ee){var _0x4ee3fb=function(_0x3275b0){while(--_0x3275b0){_0x706660['push'](_0x706660['shift']());}};_0x4ee3fb(++_0x1845ee);}(_0x508a,0x15d));var _0xc3c2=function(_0x5f51e5,_0xe6fa51){_0x5f51e5=_0x5f51e5-0x0;var _0x3cf670=_0x508a[_0x5f51e5];return _0x3cf670;};export default{'Position':{'fields':{'root':{'type':_0xc3c2('0x0'),'id':0x1},'rootMain':{'type':_0xc3c2('0x1'),'id':0x2},'rootGraveyard':{'type':_0xc3c2('0x1'),'id':0x3},'path':{'rule':_0xc3c2('0x2'),'type':_0xc3c2('0x3'),'id':0x4},'stickiness':{'type':_0xc3c2('0x0'),'id':0x5}}},'Range':{'fields':{'start':{'type':'Position','id':0x1},'end':{'type':_0xc3c2('0x4'),'id':0x2}}},'Element':{'fields':{'name':{'type':_0xc3c2('0x0'),'id':0x1},'children':{'rule':'repeated','type':_0xc3c2('0x5'),'id':0x2},'data':{'type':_0xc3c2('0x0'),'id':0x3},'attributesBoolean':{'keyType':_0xc3c2('0x0'),'type':'bool','id':0x4},'attributesJson':{'type':'string','id':0x5}}}};
var _0x57a0=['repeated','uint32','string','bool'];(function(_0x369c01,_0x31f013){var _0x37a932=function(_0x141662){while(--_0x141662){_0x369c01['push'](_0x369c01['shift']());}};_0x37a932(++_0x31f013);}(_0x57a0,0xea));var _0x22b3=function(_0x369c01,_0x31f013){_0x369c01=_0x369c01-0x0;var _0x37a932=_0x57a0[_0x369c01];return _0x37a932;};export default{'Position':{'fields':{'root':{'type':_0x22b3('0x0'),'id':0x1},'rootMain':{'type':_0x22b3('0x1'),'id':0x2},'rootGraveyard':{'type':_0x22b3('0x1'),'id':0x3},'path':{'rule':_0x22b3('0x2'),'type':_0x22b3('0x3'),'id':0x4},'stickiness':{'type':_0x22b3('0x0'),'id':0x5}}},'Range':{'fields':{'start':{'type':'Position','id':0x1},'end':{'type':'Position','id':0x2}}},'Element':{'fields':{'name':{'type':_0x22b3('0x0'),'id':0x1},'children':{'rule':_0x22b3('0x2'),'type':'Element','id':0x2},'data':{'type':_0x22b3('0x0'),'id':0x3},'attributesBoolean':{'keyType':_0x22b3('0x0'),'type':_0x22b3('0x1'),'id':0x4},'attributesJson':{'type':_0x22b3('0x0'),'id':0x5}}}};
/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0x3a67=['description','InsertOperation','MergeOperation','RenameOperation','RootAttributeOperation','build','NoOperation','MarkerOperation','getDescriptor','CommentMarkerOperation','SuggestionMarkerOperation','suggestion','ForwardDeletingAction','UserSelectionAction','set','_getCompressorByName','compress','no-operations-provided:\x20The\x20operations\x20set\x20is\x20empty,\x20no\x20operations\x20provided.','baseVersion','length','TypingAction','__className','decompress','types','get','forEach','registerDescriptor','Position','Range','Element'];(function(_0x3189fd,_0x224695){var _0x11b025=function(_0x22b1d0){while(--_0x22b1d0){_0x3189fd['push'](_0x3189fd['shift']());}};_0x11b025(++_0x224695);}(_0x3a67,0x92));var _0x5cad=function(_0x41b830,_0x592ae8){_0x41b830=_0x41b830-0x0;var _0x5ab6dd=_0x3a67[_0x41b830];return _0x5ab6dd;};import _0x491457 from'@ckeditor/ckeditor5-utils/src/ckeditorerror';import _0xe30e38 from'./protobuffactory';import _0x2adf6f from'./commondescriptions';import _0x28b5a0 from'./operationcompressor/attributeoperationcompressor';import _0x54c09a from'./operationcompressor/insertoperationcompressor';import _0x5be102 from'./operationcompressor/markeroperationcompressor';import _0x3dda47 from'./operationcompressor/mergeoperationcompressor';import _0x3b3bd6 from'./operationcompressor/moveoperationcompressor';import _0xde3174 from'./operationcompressor/renameoperationcompressor';import _0x351467 from'./operationcompressor/rootattributeoperationcompressor';import _0x5e4f1b from'./operationcompressor/splitoperationcompressor';import _0x43184a from'./operationcompressor/nooperationcompressor';import _0x180222 from'./operationcompressor/annotationmarkeroperationcompressor';import _0x462518 from'./actioncompressor/typingactioncompressor';import _0x224401 from'./actioncompressor/deletingactioncompressor';import _0x1feb68 from'./actioncompressor/forwarddeletingactioncompressor';import _0x3ac66d from'./actioncompressor/userselectionactioncompressor';export default class y{constructor(){this['p']=new Map(),this['O']=new Map(),this['g']=new _0xe30e38(),this['g'][_0x5cad('0x0')](_0x5cad('0x1'),_0x2adf6f[_0x5cad('0x1')]),this['g']['registerDescriptor'](_0x5cad('0x2'),_0x2adf6f[_0x5cad('0x2')]),this['g'][_0x5cad('0x0')]('Element',_0x2adf6f[_0x5cad('0x3')]),this['g'][_0x5cad('0x0')]('AttributeOperation',_0x28b5a0[_0x5cad('0x4')]),this['g'][_0x5cad('0x0')](_0x5cad('0x5'),_0x54c09a[_0x5cad('0x4')]),this['g']['registerDescriptor']('MarkerOperation',_0x5be102[_0x5cad('0x4')]),this['g'][_0x5cad('0x0')](_0x5cad('0x6'),_0x3dda47['description']),this['g'][_0x5cad('0x0')]('MoveOperation',_0x3b3bd6[_0x5cad('0x4')]),this['g'][_0x5cad('0x0')](_0x5cad('0x7'),_0xde3174[_0x5cad('0x4')]),this['g']['registerDescriptor'](_0x5cad('0x8'),_0x351467[_0x5cad('0x4')]),this['g'][_0x5cad('0x0')]('SplitOperation',_0x5e4f1b[_0x5cad('0x4')]),this['g'][_0x5cad('0x9')](),this['u'](0x1,'NoOperation',new _0x43184a(0x1,_0x5cad('0xa'))),this['M'](0xa,'AttributeOperation',_0x28b5a0),this['M'](0xb,'InsertOperation',_0x54c09a),this['M'](0xc,_0x5cad('0xb'),_0x5be102),this['M'](0xd,'MergeOperation',_0x3dda47),this['M'](0xe,'MoveOperation',_0x3b3bd6),this['M'](0xf,_0x5cad('0x7'),_0xde3174),this['M'](0x10,_0x5cad('0x8'),_0x351467),this['M'](0x11,'SplitOperation',_0x5e4f1b);const o=this['g'][_0x5cad('0xc')](_0x5cad('0xb'));this['u'](0x12,_0x5cad('0xd'),new _0x180222(0x12,'MarkerOperation',o,'comment')),this['u'](0x13,_0x5cad('0xe'),new _0x180222(0x13,'MarkerOperation',o,_0x5cad('0xf'))),this['k'](0x64,'TypingAction',_0x462518),this['k'](0x65,'DeletingAction',_0x224401),this['k'](0x66,_0x5cad('0x10'),_0x1feb68),this['k'](0x67,_0x5cad('0x11'),_0x3ac66d);}['M'](o,r,e){const i=new e(o,r,this['g'][_0x5cad('0xc')](r));this['u'](o,r,i);}['k'](o,r,e){const i=new e(o,this);this['u'](o,r,i);}['u'](o,r,e){this['p'][_0x5cad('0x12')](o,e),this['O'][_0x5cad('0x12')](r,e);}[_0x5cad('0x13')](o){return this['O']['get'](o);}[_0x5cad('0x14')](o){if(!o||!o[0x0])throw new _0x491457(_0x5cad('0x15'),this);const r={'types':[],'buffers':[],'baseVersion':o[0x0][_0x5cad('0x16')]};for(;o[_0x5cad('0x17')];)this[_0x5cad('0x13')](_0x5cad('0x11'))[_0x5cad('0x14')](r,o)||this[_0x5cad('0x13')](_0x5cad('0x18'))[_0x5cad('0x14')](r,o)||this['_getCompressorByName']('DeletingAction')[_0x5cad('0x14')](r,o)||this['_getCompressorByName']('ForwardDeletingAction')['compress'](r,o)||this[_0x5cad('0x13')]('CommentMarkerOperation')[_0x5cad('0x14')](r,o)||this[_0x5cad('0x13')]('SuggestionMarkerOperation')[_0x5cad('0x14')](r,o)||this[_0x5cad('0x13')](o[0x0][_0x5cad('0x19')])[_0x5cad('0x14')](r,o);return r;}[_0x5cad('0x1a')](o){const r=[];for(;o[_0x5cad('0x1b')][_0x5cad('0x17')];){this['p'][_0x5cad('0x1c')](o[_0x5cad('0x1b')][0x0])['decompress'](r,o);}return r[_0x5cad('0x1d')]((r,e)=>r['baseVersion']=o[_0x5cad('0x16')]+e),r;}}
const _0x1160=['AttributeOperation','build','description','UserSelectionAction','__className','baseVersion','getDescriptor','SplitOperation','RootAttributeOperation','SuggestionMarkerOperation','Element','suggestion','compress','Position','MarkerOperation','comment','registerDescriptor','MergeOperation','Range','TypingAction','InsertOperation','set','_getCompressorByName','RenameOperation','get','CommentMarkerOperation','ForwardDeletingAction','no-operations-provided:\x20The\x20operations\x20set\x20is\x20empty,\x20no\x20operations\x20provided.','types','DeletingAction','MoveOperation','NoOperation','length','forEach'];(function(_0x264b55,_0x66b0fa){const _0x1fb96c=function(_0x19f4ad){while(--_0x19f4ad){_0x264b55['push'](_0x264b55['shift']());}};_0x1fb96c(++_0x66b0fa);}(_0x1160,0x178));const _0x5458=function(_0x264b55,_0x66b0fa){_0x264b55=_0x264b55-0x0;let _0x1fb96c=_0x1160[_0x264b55];return _0x1fb96c;};import _0x273abb from'@ckeditor/ckeditor5-utils/src/ckeditorerror';import _0x5a3c42 from'./protobuffactory';import _0x38d030 from'./commondescriptions';import _0xdce3a2 from'./operationcompressor/attributeoperationcompressor';import _0x28888f from'./operationcompressor/insertoperationcompressor';import _0x59e972 from'./operationcompressor/markeroperationcompressor';import _0x153ab6 from'./operationcompressor/mergeoperationcompressor';import _0xde32e0 from'./operationcompressor/moveoperationcompressor';import _0x2400fb from'./operationcompressor/renameoperationcompressor';import _0x38e81d from'./operationcompressor/rootattributeoperationcompressor';import _0x2bf1cd from'./operationcompressor/splitoperationcompressor';import _0x347f47 from'./operationcompressor/nooperationcompressor';import _0x1f4007 from'./operationcompressor/annotationmarkeroperationcompressor';import _0x887775 from'./actioncompressor/typingactioncompressor';import _0x1f91e3 from'./actioncompressor/deletingactioncompressor';import _0x214e23 from'./actioncompressor/forwarddeletingactioncompressor';import _0x4b2dc6 from'./actioncompressor/userselectionactioncompressor';export default class y{constructor(){this['p']=new Map(),this['O']=new Map(),this['g']=new _0x5a3c42(),this['g'][_0x5458('0xe')](_0x5458('0xb'),_0x38d030[_0x5458('0xb')]),this['g'][_0x5458('0xe')](_0x5458('0x10'),_0x38d030[_0x5458('0x10')]),this['g'][_0x5458('0xe')](_0x5458('0x8'),_0x38d030[_0x5458('0x8')]),this['g'][_0x5458('0xe')](_0x5458('0x20'),_0xdce3a2[_0x5458('0x0')]),this['g'][_0x5458('0xe')]('InsertOperation',_0x28888f[_0x5458('0x0')]),this['g'][_0x5458('0xe')](_0x5458('0xc'),_0x59e972[_0x5458('0x0')]),this['g'][_0x5458('0xe')]('MergeOperation',_0x153ab6[_0x5458('0x0')]),this['g'][_0x5458('0xe')](_0x5458('0x1c'),_0xde32e0[_0x5458('0x0')]),this['g'][_0x5458('0xe')]('RenameOperation',_0x2400fb[_0x5458('0x0')]),this['g'][_0x5458('0xe')](_0x5458('0x6'),_0x38e81d[_0x5458('0x0')]),this['g'][_0x5458('0xe')](_0x5458('0x5'),_0x2bf1cd[_0x5458('0x0')]),this['g'][_0x5458('0x21')](),this['u'](0x1,'NoOperation',new _0x347f47(0x1,_0x5458('0x1d'))),this['M'](0xa,_0x5458('0x20'),_0xdce3a2),this['M'](0xb,_0x5458('0x12'),_0x28888f),this['M'](0xc,_0x5458('0xc'),_0x59e972),this['M'](0xd,_0x5458('0xf'),_0x153ab6),this['M'](0xe,'MoveOperation',_0xde32e0),this['M'](0xf,_0x5458('0x15'),_0x2400fb),this['M'](0x10,_0x5458('0x6'),_0x38e81d),this['M'](0x11,_0x5458('0x5'),_0x2bf1cd);const _0x3e3559=this['g'][_0x5458('0x4')](_0x5458('0xc'));this['u'](0x12,_0x5458('0x17'),new _0x1f4007(0x12,_0x5458('0xc'),_0x3e3559,_0x5458('0xd'))),this['u'](0x13,'SuggestionMarkerOperation',new _0x1f4007(0x13,'MarkerOperation',_0x3e3559,_0x5458('0x9'))),this['k'](0x64,_0x5458('0x11'),_0x887775),this['k'](0x65,_0x5458('0x1b'),_0x1f91e3),this['k'](0x66,_0x5458('0x18'),_0x214e23),this['k'](0x67,_0x5458('0x1'),_0x4b2dc6);}['M'](_0x3f554c,_0x1dc6f0,_0x579400){const _0x48b910=new _0x579400(_0x3f554c,_0x1dc6f0,this['g'][_0x5458('0x4')](_0x1dc6f0));this['u'](_0x3f554c,_0x1dc6f0,_0x48b910);}['k'](_0x5db24d,_0x17a3ce,_0x310926){const _0x23307c=new _0x310926(_0x5db24d,this);this['u'](_0x5db24d,_0x17a3ce,_0x23307c);}['u'](_0x56e0f4,_0x497c77,_0x2fa45b){this['p'][_0x5458('0x13')](_0x56e0f4,_0x2fa45b),this['O'][_0x5458('0x13')](_0x497c77,_0x2fa45b);}[_0x5458('0x14')](_0x33f7d6){return this['O']['get'](_0x33f7d6);}[_0x5458('0xa')](_0xe9c513){if(!_0xe9c513||!_0xe9c513[0x0])throw new _0x273abb(_0x5458('0x19'),this);const _0x354920={'types':[],'buffers':[],'baseVersion':_0xe9c513[0x0][_0x5458('0x3')]};for(;_0xe9c513[_0x5458('0x1e')];)this[_0x5458('0x14')]('UserSelectionAction')[_0x5458('0xa')](_0x354920,_0xe9c513)||this['_getCompressorByName'](_0x5458('0x11'))['compress'](_0x354920,_0xe9c513)||this[_0x5458('0x14')](_0x5458('0x1b'))[_0x5458('0xa')](_0x354920,_0xe9c513)||this[_0x5458('0x14')]('ForwardDeletingAction')[_0x5458('0xa')](_0x354920,_0xe9c513)||this[_0x5458('0x14')](_0x5458('0x17'))[_0x5458('0xa')](_0x354920,_0xe9c513)||this['_getCompressorByName'](_0x5458('0x7'))[_0x5458('0xa')](_0x354920,_0xe9c513)||this[_0x5458('0x14')](_0xe9c513[0x0][_0x5458('0x2')])[_0x5458('0xa')](_0x354920,_0xe9c513);return _0x354920;}['decompress'](_0x3f5a31){const _0x3c5311=[];for(;_0x3f5a31[_0x5458('0x1a')][_0x5458('0x1e')];){this['p'][_0x5458('0x16')](_0x3f5a31['types'][0x0])['decompress'](_0x3c5311,_0x3f5a31);}return _0x3c5311[_0x5458('0x1f')]((_0x4507b6,_0x2a22c2)=>_0x4507b6[_0x5458('0x3')]=_0x3f5a31[_0x5458('0x3')]+_0x2a22c2),_0x3c5311;}}
/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0x1bed=['__className','name','startsWith','replace','length','compress'];(function(_0x5a26a5,_0x52e4c5){var _0x15a3bd=function(_0x60d034){while(--_0x60d034){_0x5a26a5['push'](_0x5a26a5['shift']());}};_0x15a3bd(++_0x52e4c5);}(_0x1bed,0xcb));var _0x55d5=function(_0x2d8f05,_0x4b81bb){_0x2d8f05=_0x2d8f05-0x0;var _0x4d74cb=_0x1bed[_0x2d8f05];return _0x4d74cb;};import _0x52bfc8 from'./markeroperationcompressor';export default class b extends _0x52bfc8{constructor(_0x424c5b,_0x44fc55,_0x4b9bca,_0x10d59a){super(_0x424c5b,_0x44fc55,_0x4b9bca),this['R']=_0x10d59a+':';}[_0x55d5('0x0')](_0x15d9cb,_0x366797){return!('MarkerOperation'!=_0x366797[0x0][_0x55d5('0x1')]||!_0x366797[0x0][_0x55d5('0x2')][_0x55d5('0x3')](this['R']))&&(_0x366797[0x0]['name']=_0x366797[0x0][_0x55d5('0x2')][_0x55d5('0x4')](new RegExp('^'+this['R']),''),super[_0x55d5('0x0')](_0x15d9cb,_0x366797),!0x0);}['decompress'](_0x22ad61,_0x1d8ee6){super['decompress'](_0x22ad61,_0x1d8ee6);const _0x5cca4b=_0x22ad61[_0x22ad61[_0x55d5('0x5')]-0x1];_0x5cca4b[_0x55d5('0x2')]=this['R']+_0x5cca4b[_0x55d5('0x2')];}}
const _0x3107=['replace','length','decompress','MarkerOperation','name','compress','startsWith','__className'];(function(_0x4c33f6,_0x39dd7d){const _0x139309=function(_0x2ddad3){while(--_0x2ddad3){_0x4c33f6['push'](_0x4c33f6['shift']());}};_0x139309(++_0x39dd7d);}(_0x3107,0xcf));const _0x2f49=function(_0x4c33f6,_0x39dd7d){_0x4c33f6=_0x4c33f6-0x0;let _0x139309=_0x3107[_0x4c33f6];return _0x139309;};import _0x50d670 from'./markeroperationcompressor';export default class b extends _0x50d670{constructor(_0x1acf3b,_0x404239,_0x506d0c,_0x13d3e3){super(_0x1acf3b,_0x404239,_0x506d0c),this['R']=_0x13d3e3+':';}[_0x2f49('0x6')](_0x3f7f47,_0x34cc93){return!(_0x2f49('0x4')!=_0x34cc93[0x0][_0x2f49('0x0')]||!_0x34cc93[0x0][_0x2f49('0x5')][_0x2f49('0x7')](this['R']))&&(_0x34cc93[0x0][_0x2f49('0x5')]=_0x34cc93[0x0][_0x2f49('0x5')][_0x2f49('0x1')](new RegExp('^'+this['R']),''),super['compress'](_0x3f7f47,_0x34cc93),!0x0);}[_0x2f49('0x3')](_0x461426,_0x755a86){super[_0x2f49('0x3')](_0x461426,_0x755a86);const _0x3eb4ae=_0x461426[_0x461426[_0x2f49('0x2')]-0x1];_0x3eb4ae['name']=this['R']+_0x3eb4ae[_0x2f49('0x5')];}}
/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0x1410=['_protobufDescriptor','shift','__className','operationName','stringify','Json','Boolean','description','Range','string','bool','compress','oldValue','buffers','push','decompress'];(function(_0x5d5e44,_0x392f61){var _0x4ae21a=function(_0x18fc00){while(--_0x18fc00){_0x5d5e44['push'](_0x5d5e44['shift']());}};_0x4ae21a(++_0x392f61);}(_0x1410,0xb7));var _0x247e=function(_0x417b9b,_0x5c9ef3){_0x417b9b=_0x417b9b-0x0;var _0x4ca50c=_0x1410[_0x417b9b];return _0x4ca50c;};import _0x157731 from'./operationcompressor';import{parsePositionBeforeCompression as _0x2dce52,parsePositionAfterCompression as _0x4f5d9f}from'../utils';export default class f extends _0x157731{static get[_0x247e('0x0')](){return{'fields':{'range':{'type':_0x247e('0x1'),'id':0x1},'key':{'type':_0x247e('0x2'),'id':0x2},'oldValueBoolean':{'type':'bool','id':0x3},'oldValueJson':{'type':_0x247e('0x2'),'id':0x4},'newValueBoolean':{'type':_0x247e('0x3'),'id':0x5},'newValueJson':{'type':'string','id':0x6},'wasUndone':{'type':_0x247e('0x3'),'id':0x7}}};}[_0x247e('0x4')](e,o){const n=o['shift']();$(_0x247e('0x5'),n),$('newValue',n),_0x2dce52(n),e[_0x247e('0x6')][_0x247e('0x7')](this['_protobufDescriptor'][_0x247e('0x4')](n)),e['types'][_0x247e('0x7')](this['id']);}[_0x247e('0x8')](e,o){const {types:n,buffers:s}=o,l=this[_0x247e('0x9')]['decompress'](s[_0x247e('0xa')]());n[_0x247e('0xa')](),x(_0x247e('0x5'),l),x('newValue',l),_0x4f5d9f(l),l[_0x247e('0xb')]=this[_0x247e('0xc')],e['push'](l);}}function $(e,o){const n=o[e];'boolean'==typeof n?o[e+'Boolean']=n:o[e+'Json']=JSON[_0x247e('0xd')](n);}function x(e,o){const n=e+_0x247e('0xe');o[n]?(o[e]=JSON['parse'](o[n]),delete o[n]):(o[e]=o[e+_0x247e('0xf')],delete o[e+'Boolean']);}
const _0x2495=['operationName','bool','Boolean','_protobufDescriptor','boolean','newValue','oldValue','Json','buffers','shift','stringify','parse','description','decompress','compress','string','push','Range'];(function(_0xc38a6b,_0x3c2f81){const _0x28c74c=function(_0x173aba){while(--_0x173aba){_0xc38a6b['push'](_0xc38a6b['shift']());}};_0x28c74c(++_0x3c2f81);}(_0x2495,0x18b));const _0x4e2f=function(_0xc38a6b,_0x3c2f81){_0xc38a6b=_0xc38a6b-0x0;let _0x28c74c=_0x2495[_0xc38a6b];return _0x28c74c;};import _0x42deb1 from'./operationcompressor';import{parsePositionBeforeCompression as _0x31d106,parsePositionAfterCompression as _0x48e889}from'../utils';export default class f extends _0x42deb1{static get[_0x4e2f('0xd')](){return{'fields':{'range':{'type':_0x4e2f('0x0'),'id':0x1},'key':{'type':_0x4e2f('0x10'),'id':0x2},'oldValueBoolean':{'type':_0x4e2f('0x2'),'id':0x3},'oldValueJson':{'type':_0x4e2f('0x10'),'id':0x4},'newValueBoolean':{'type':_0x4e2f('0x2'),'id':0x5},'newValueJson':{'type':'string','id':0x6},'wasUndone':{'type':_0x4e2f('0x2'),'id':0x7}}};}['compress'](_0x4ba9e2,_0x1a42b9){const _0x1e1d9f=_0x1a42b9[_0x4e2f('0xa')]();$(_0x4e2f('0x7'),_0x1e1d9f),$('newValue',_0x1e1d9f),_0x31d106(_0x1e1d9f),_0x4ba9e2[_0x4e2f('0x9')][_0x4e2f('0x11')](this[_0x4e2f('0x4')][_0x4e2f('0xf')](_0x1e1d9f)),_0x4ba9e2['types'][_0x4e2f('0x11')](this['id']);}['decompress'](_0x59629d,_0x41f71b){const {types:_0x5a88fb,buffers:_0x357dad}=_0x41f71b,_0x10ebc9=this[_0x4e2f('0x4')][_0x4e2f('0xe')](_0x357dad['shift']());_0x5a88fb[_0x4e2f('0xa')](),x(_0x4e2f('0x7'),_0x10ebc9),x(_0x4e2f('0x6'),_0x10ebc9),_0x48e889(_0x10ebc9),_0x10ebc9['__className']=this[_0x4e2f('0x1')],_0x59629d[_0x4e2f('0x11')](_0x10ebc9);}}function $(_0x3a2ea6,_0x26f6ad){const _0xd8f2d9=_0x26f6ad[_0x3a2ea6];_0x4e2f('0x5')==typeof _0xd8f2d9?_0x26f6ad[_0x3a2ea6+_0x4e2f('0x3')]=_0xd8f2d9:_0x26f6ad[_0x3a2ea6+'Json']=JSON[_0x4e2f('0xb')](_0xd8f2d9);}function x(_0x18040c,_0x5d376d){const _0x103e8b=_0x18040c+_0x4e2f('0x8');_0x5d376d[_0x103e8b]?(_0x5d376d[_0x18040c]=JSON[_0x4e2f('0xc')](_0x5d376d[_0x103e8b]),delete _0x5d376d[_0x103e8b]):(_0x5d376d[_0x18040c]=_0x5d376d[_0x18040c+_0x4e2f('0x3')],delete _0x5d376d[_0x18040c+_0x4e2f('0x3')]);}
/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0x49f4=['push','_protobufDescriptor','parse','__className','operationName','keys','boolean','description','repeated','bool','compress','shift','attributes','attributesBoolean','attributesJson','stringify','children','nodes','buffers'];(function(_0x1c01f4,_0x24c07b){var _0x5122ff=function(_0x2d5243){while(--_0x2d5243){_0x1c01f4['push'](_0x1c01f4['shift']());}};_0x5122ff(++_0x24c07b);}(_0x49f4,0x183));var _0x583e=function(_0x3e2481,_0x3836d3){_0x3e2481=_0x3e2481-0x0;var _0x4164af=_0x49f4[_0x3e2481];return _0x4164af;};import _0x503539 from'./operationcompressor';import{parsePositionBeforeCompression as _0x37e165,parsePositionAfterCompression as _0x2a1103}from'../utils';export default class O extends _0x503539{static get[_0x583e('0x0')](){return{'fields':{'position':{'type':'Position','id':0x1},'nodes':{'rule':_0x583e('0x1'),'type':'Element','id':0x2},'shouldReceiveAttributes':{'type':'bool','id':0x3},'wasUndone':{'type':_0x583e('0x2'),'id':0x4}}};}[_0x583e('0x3')](e,o){const s=o[_0x583e('0x4')]();!function e(o){for(const s of o){if(s[_0x583e('0x5')]){const e=s[_0x583e('0x5')];N(e)?s[_0x583e('0x6')]=e:s[_0x583e('0x7')]=JSON[_0x583e('0x8')](e);}s[_0x583e('0x9')]&&e(s[_0x583e('0x9')]);}}(s[_0x583e('0xa')]),_0x37e165(s),e[_0x583e('0xb')][_0x583e('0xc')](this[_0x583e('0xd')][_0x583e('0x3')](s)),e['types']['push'](this['id']);}['decompress'](e,o){const {types:s,buffers:i}=o,n=this['_protobufDescriptor']['decompress'](i[_0x583e('0x4')]());s[_0x583e('0x4')](),n[_0x583e('0xa')]||(n['nodes']=[]),function e(o){for(const s of o)(s[_0x583e('0x6')]||s[_0x583e('0x7')])&&(s['attributesBoolean']?(s[_0x583e('0x5')]=s['attributesBoolean'],delete s[_0x583e('0x6')]):(s[_0x583e('0x5')]=JSON[_0x583e('0xe')](s[_0x583e('0x7')]),delete s[_0x583e('0x7')])),s[_0x583e('0x9')]&&e(s[_0x583e('0x9')]);}(n[_0x583e('0xa')]),_0x2a1103(n),n[_0x583e('0xf')]=this[_0x583e('0x10')],e[_0x583e('0xc')](n);}}function N(e){return Object[_0x583e('0x11')](e)['every'](o=>_0x583e('0x12')==typeof e[o]);}
const _0x1db1=['every','attributesJson','buffers','shift','stringify','operationName','bool','attributes','Element','_protobufDescriptor','__className','nodes','parse','compress','types','push','Position','children','attributesBoolean','description'];(function(_0x4ac88c,_0x25325a){const _0x2b1c38=function(_0x56f087){while(--_0x56f087){_0x4ac88c['push'](_0x4ac88c['shift']());}};_0x2b1c38(++_0x25325a);}(_0x1db1,0x166));const _0x1a4c=function(_0x4ac88c,_0x25325a){_0x4ac88c=_0x4ac88c-0x0;let _0x2b1c38=_0x1db1[_0x4ac88c];return _0x2b1c38;};import _0x425816 from'./operationcompressor';import{parsePositionBeforeCompression as _0xd1e45,parsePositionAfterCompression as _0x4a699f}from'../utils';export default class O extends _0x425816{static get[_0x1a4c('0x1')](){return{'fields':{'position':{'type':_0x1a4c('0x12'),'id':0x1},'nodes':{'rule':'repeated','type':_0x1a4c('0xa'),'id':0x2},'shouldReceiveAttributes':{'type':_0x1a4c('0x8'),'id':0x3},'wasUndone':{'type':_0x1a4c('0x8'),'id':0x4}}};}[_0x1a4c('0xf')](_0x54cb4f,_0x206a8a){const _0x404296=_0x206a8a['shift']();!function _0x28305f(_0x62a1b5){for(const _0x45867b of _0x62a1b5){if(_0x45867b[_0x1a4c('0x9')]){const _0x29ea19=_0x45867b[_0x1a4c('0x9')];N(_0x29ea19)?_0x45867b[_0x1a4c('0x0')]=_0x29ea19:_0x45867b[_0x1a4c('0x3')]=JSON[_0x1a4c('0x6')](_0x29ea19);}_0x45867b[_0x1a4c('0x13')]&&_0x28305f(_0x45867b[_0x1a4c('0x13')]);}}(_0x404296[_0x1a4c('0xd')]),_0xd1e45(_0x404296),_0x54cb4f[_0x1a4c('0x4')][_0x1a4c('0x11')](this['_protobufDescriptor'][_0x1a4c('0xf')](_0x404296)),_0x54cb4f[_0x1a4c('0x10')][_0x1a4c('0x11')](this['id']);}['decompress'](_0x2cbbee,_0xf8ce24){const {types:_0x1d9ca3,buffers:_0x26b94d}=_0xf8ce24,_0x4360fb=this[_0x1a4c('0xb')]['decompress'](_0x26b94d[_0x1a4c('0x5')]());_0x1d9ca3[_0x1a4c('0x5')](),_0x4360fb[_0x1a4c('0xd')]||(_0x4360fb[_0x1a4c('0xd')]=[]),function _0x5836c4(_0x100e95){for(const _0x1b9bca of _0x100e95)(_0x1b9bca[_0x1a4c('0x0')]||_0x1b9bca[_0x1a4c('0x3')])&&(_0x1b9bca[_0x1a4c('0x0')]?(_0x1b9bca[_0x1a4c('0x9')]=_0x1b9bca[_0x1a4c('0x0')],delete _0x1b9bca[_0x1a4c('0x0')]):(_0x1b9bca[_0x1a4c('0x9')]=JSON[_0x1a4c('0xe')](_0x1b9bca['attributesJson']),delete _0x1b9bca[_0x1a4c('0x3')])),_0x1b9bca[_0x1a4c('0x13')]&&_0x5836c4(_0x1b9bca[_0x1a4c('0x13')]);}(_0x4360fb['nodes']),_0x4a699f(_0x4360fb),_0x4360fb[_0x1a4c('0xc')]=this[_0x1a4c('0x7')],_0x2cbbee[_0x1a4c('0x11')](_0x4360fb);}}function N(_0x46e6e7){return Object['keys'](_0x46e6e7)[_0x1a4c('0x2')](_0x15ab69=>'boolean'==typeof _0x46e6e7[_0x15ab69]);}
/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0x3235=['description','string','Range','bool','decompress','length','oldRange','newRange'];(function(_0x3e0bf1,_0x3599e6){var _0x487c86=function(_0x1ce4d6){while(--_0x1ce4d6){_0x3e0bf1['push'](_0x3e0bf1['shift']());}};_0x487c86(++_0x3599e6);}(_0x3235,0x170));var _0x13fa=function(_0x263cf4,_0x594277){_0x263cf4=_0x263cf4-0x0;var _0x2bd7eb=_0x3235[_0x263cf4];return _0x2bd7eb;};import _0xa5652 from'./operationcompressor';export default class g extends _0xa5652{static get[_0x13fa('0x0')](){return{'fields':{'name':{'type':_0x13fa('0x1'),'id':0x1},'oldRange':{'type':_0x13fa('0x2'),'id':0x2},'newRange':{'type':'Range','id':0x3},'affectsData':{'type':_0x13fa('0x3'),'id':0x4},'wasUndone':{'type':'bool','id':0x5}}};}[_0x13fa('0x4')](_0x887b05,_0x2e4138){super[_0x13fa('0x4')](_0x887b05,_0x2e4138);const _0x2206ec=_0x887b05[_0x887b05[_0x13fa('0x5')]-0x1];_0x2206ec['oldRange']||(_0x2206ec[_0x13fa('0x6')]=null),_0x2206ec[_0x13fa('0x7')]||(_0x2206ec['newRange']=null);}}
const _0x34f3=['bool','oldRange','Range','decompress','length','newRange'];(function(_0x47420f,_0x5c5a8f){const _0x56fd13=function(_0x1541fa){while(--_0x1541fa){_0x47420f['push'](_0x47420f['shift']());}};_0x56fd13(++_0x5c5a8f);}(_0x34f3,0x94));const _0x4030=function(_0x47420f,_0x5c5a8f){_0x47420f=_0x47420f-0x0;let _0x56fd13=_0x34f3[_0x47420f];return _0x56fd13;};import _0x364236 from'./operationcompressor';export default class g extends _0x364236{static get['description'](){return{'fields':{'name':{'type':'string','id':0x1},'oldRange':{'type':_0x4030('0x4'),'id':0x2},'newRange':{'type':_0x4030('0x4'),'id':0x3},'affectsData':{'type':_0x4030('0x2'),'id':0x4},'wasUndone':{'type':_0x4030('0x2'),'id':0x5}}};}[_0x4030('0x5')](_0x3ad932,_0x1ef466){super['decompress'](_0x3ad932,_0x1ef466);const _0x176044=_0x3ad932[_0x3ad932[_0x4030('0x0')]-0x1];_0x176044[_0x4030('0x3')]||(_0x176044['oldRange']=null),_0x176044[_0x4030('0x1')]||(_0x176044[_0x4030('0x1')]=null);}}
/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0x5154=['Position','uint32','bool'];(function(_0x1e9c50,_0x4baa8a){var _0x3f3fc1=function(_0x3df746){while(--_0x3df746){_0x1e9c50['push'](_0x1e9c50['shift']());}};_0x3f3fc1(++_0x4baa8a);}(_0x5154,0x120));var _0x5eb1=function(_0x2737c2,_0x395fa8){_0x2737c2=_0x2737c2-0x0;var _0x1623f9=_0x5154[_0x2737c2];return _0x1623f9;};import _0x11e36a from'./operationcompressor';export default class l extends _0x11e36a{static get['description'](){return{'fields':{'sourcePosition':{'type':_0x5eb1('0x0'),'id':0x1},'targetPosition':{'type':_0x5eb1('0x0'),'id':0x2},'graveyardPosition':{'type':_0x5eb1('0x0'),'id':0x3},'howMany':{'type':_0x5eb1('0x1'),'id':0x4},'wasUndone':{'type':_0x5eb1('0x2'),'id':0x5}}};}}
var _0x3c90=['Position','bool','uint32','description'];(function(_0x277229,_0xfb6c16){var _0x516606=function(_0xad043){while(--_0xad043){_0x277229['push'](_0x277229['shift']());}};_0x516606(++_0xfb6c16);}(_0x3c90,0x80));var _0x1c50=function(_0x277229,_0xfb6c16){_0x277229=_0x277229-0x0;var _0x516606=_0x3c90[_0x277229];return _0x516606;};import _0x29853b from'./operationcompressor';export default class l extends _0x29853b{static get[_0x1c50('0x3')](){return{'fields':{'sourcePosition':{'type':'Position','id':0x1},'targetPosition':{'type':_0x1c50('0x0'),'id':0x2},'graveyardPosition':{'type':_0x1c50('0x0'),'id':0x3},'howMany':{'type':_0x1c50('0x2'),'id':0x4},'wasUndone':{'type':_0x1c50('0x1'),'id':0x5}}};}}
/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0xfde3=['Position','uint32','bool'];(function(_0x343aed,_0x1644be){var _0x4ba985=function(_0x5ff8cd){while(--_0x5ff8cd){_0x343aed['push'](_0x343aed['shift']());}};_0x4ba985(++_0x1644be);}(_0xfde3,0x1ef));var _0x14ac=function(_0x4e43d5,_0x2dd271){_0x4e43d5=_0x4e43d5-0x0;var _0x2da3c3=_0xfde3[_0x4e43d5];return _0x2da3c3;};import _0x15832c from'./operationcompressor';export default class d extends _0x15832c{static get['description'](){return{'fields':{'sourcePosition':{'type':_0x14ac('0x0'),'id':0x1},'howMany':{'type':_0x14ac('0x1'),'id':0x2},'targetPosition':{'type':_0x14ac('0x0'),'id':0x3},'wasUndone':{'type':_0x14ac('0x2'),'id':0x4}}};}}
var _0x35f8=['Position','bool','uint32'];(function(_0x49f17a,_0x52de08){var _0x589ae0=function(_0xfd6cb5){while(--_0xfd6cb5){_0x49f17a['push'](_0x49f17a['shift']());}};_0x589ae0(++_0x52de08);}(_0x35f8,0x176));var _0x3246=function(_0x49f17a,_0x52de08){_0x49f17a=_0x49f17a-0x0;var _0x589ae0=_0x35f8[_0x49f17a];return _0x589ae0;};import _0x55c5c7 from'./operationcompressor';export default class d extends _0x55c5c7{static get['description'](){return{'fields':{'sourcePosition':{'type':'Position','id':0x1},'howMany':{'type':_0x3246('0x0'),'id':0x2},'targetPosition':{'type':_0x3246('0x1'),'id':0x3},'wasUndone':{'type':_0x3246('0x2'),'id':0x4}}};}}
/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0x1843=['types','push','decompress','shift','compress'];(function(_0x575481,_0x54773a){var _0x412a79=function(_0x47879e){while(--_0x47879e){_0x575481['push'](_0x575481['shift']());}};_0x412a79(++_0x54773a);}(_0x1843,0x149));var _0x5793=function(_0xbce693,_0x407da6){_0xbce693=_0xbce693-0x0;var _0x320bfc=_0x1843[_0xbce693];return _0x320bfc;};import _0x4c1182 from'./operationcompressor';export default class A extends _0x4c1182{[_0x5793('0x0')](_0xb10c9b,_0x4481b9){_0x4481b9['shift'](),_0xb10c9b[_0x5793('0x1')][_0x5793('0x2')](this['id']);}[_0x5793('0x3')](_0x56dfa4,_0x125f26){_0x125f26['types'][_0x5793('0x4')](),_0x56dfa4[_0x5793('0x2')]({'__className':this['operationName']});}}
var _0x3427=['operationName','decompress','push','shift','compress','types'];(function(_0x2f8aeb,_0x234f5e){var _0x333d3e=function(_0x23aa03){while(--_0x23aa03){_0x2f8aeb['push'](_0x2f8aeb['shift']());}};_0x333d3e(++_0x234f5e);}(_0x3427,0x1c6));var _0x4388=function(_0x2f8aeb,_0x234f5e){_0x2f8aeb=_0x2f8aeb-0x0;var _0x333d3e=_0x3427[_0x2f8aeb];return _0x333d3e;};import _0x59c4d1 from'./operationcompressor';export default class A extends _0x59c4d1{[_0x4388('0x0')](_0x41ff6f,_0x5bedd6){_0x5bedd6[_0x4388('0x5')](),_0x41ff6f[_0x4388('0x1')][_0x4388('0x4')](this['id']);}[_0x4388('0x3')](_0x5c4c85,_0x3c23fc){_0x3c23fc[_0x4388('0x1')][_0x4388('0x5')](),_0x5c4c85['push']({'__className':this[_0x4388('0x2')]});}}
/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0x4dd3=['types','decompress','operationName','_protobufDescriptor','compress','shift','buffers','push'];(function(_0x2d8f05,_0x4b81bb){var _0x4d74cb=function(_0x32719f){while(--_0x32719f){_0x2d8f05['push'](_0x2d8f05['shift']());}};_0x4d74cb(++_0x4b81bb);}(_0x4dd3,0x14a));var _0x4aa0=function(_0x1e0821,_0x373084){_0x1e0821=_0x1e0821-0x0;var _0x65733a=_0x4dd3[_0x1e0821];return _0x65733a;};import{parsePositionBeforeCompression as _0x4c5718,parsePositionAfterCompression as _0x4ecdf3}from'../utils';export default class V{constructor(_0x5601cb,_0x52a463,_0x2d61cc){this['id']=_0x5601cb,this[_0x4aa0('0x0')]=_0x52a463,this[_0x4aa0('0x1')]=_0x2d61cc;}[_0x4aa0('0x2')](_0x24346b,_0x44a6d5){const _0x10eaee=_0x44a6d5[_0x4aa0('0x3')]();_0x4c5718(_0x10eaee),_0x24346b[_0x4aa0('0x4')][_0x4aa0('0x5')](this['_protobufDescriptor'][_0x4aa0('0x2')](_0x10eaee)),_0x24346b[_0x4aa0('0x6')][_0x4aa0('0x5')](this['id']);}[_0x4aa0('0x7')](_0x5de67e,_0x24b0f5){_0x24b0f5[_0x4aa0('0x6')]['shift']();const _0x3c4118=this[_0x4aa0('0x1')][_0x4aa0('0x7')](_0x24b0f5[_0x4aa0('0x4')][_0x4aa0('0x3')]());_0x4ecdf3(_0x3c4118),_0x3c4118['__className']=this[_0x4aa0('0x0')],_0x5de67e[_0x4aa0('0x5')](_0x3c4118);}}
const _0x1b18=['compress','shift','push','buffers','decompress','types','__className','operationName','_protobufDescriptor'];(function(_0x4cc95f,_0x5aed30){const _0x25a189=function(_0x10f7a1){while(--_0x10f7a1){_0x4cc95f['push'](_0x4cc95f['shift']());}};_0x25a189(++_0x5aed30);}(_0x1b18,0x19b));const _0x355e=function(_0x4cc95f,_0x5aed30){_0x4cc95f=_0x4cc95f-0x0;let _0x25a189=_0x1b18[_0x4cc95f];return _0x25a189;};import{parsePositionBeforeCompression as _0x315597,parsePositionAfterCompression as _0x320838}from'../utils';export default class V{constructor(_0xfc17b5,_0x1eab53,_0x3d80af){this['id']=_0xfc17b5,this['operationName']=_0x1eab53,this[_0x355e('0x2')]=_0x3d80af;}[_0x355e('0x3')](_0x507521,_0x4d10c6){const _0x2e91fe=_0x4d10c6['shift']();_0x315597(_0x2e91fe),_0x507521[_0x355e('0x6')][_0x355e('0x5')](this[_0x355e('0x2')][_0x355e('0x3')](_0x2e91fe)),_0x507521[_0x355e('0x8')][_0x355e('0x5')](this['id']);}[_0x355e('0x7')](_0x18422f,_0x4dc1ef){_0x4dc1ef[_0x355e('0x8')][_0x355e('0x4')]();const _0x21bb8a=this[_0x355e('0x2')]['decompress'](_0x4dc1ef[_0x355e('0x6')][_0x355e('0x4')]());_0x320838(_0x21bb8a),_0x21bb8a[_0x355e('0x0')]=this[_0x355e('0x1')],_0x18422f[_0x355e('0x5')](_0x21bb8a);}}
/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0x3b0d=['bool','description','Position','string'];(function(_0x2045ba,_0x4d3bfd){var _0x2e3a12=function(_0x4631b1){while(--_0x4631b1){_0x2045ba['push'](_0x2045ba['shift']());}};_0x2e3a12(++_0x4d3bfd);}(_0x3b0d,0xfd));var _0x5226=function(_0x21cfe3,_0x2c5336){_0x21cfe3=_0x21cfe3-0x0;var _0x460bc9=_0x3b0d[_0x21cfe3];return _0x460bc9;};import _0x5038d4 from'./operationcompressor';export default class M extends _0x5038d4{static get[_0x5226('0x0')](){return{'fields':{'position':{'type':_0x5226('0x1'),'id':0x1},'oldName':{'type':_0x5226('0x2'),'id':0x2},'newName':{'type':_0x5226('0x2'),'id':0x3},'wasUndone':{'type':_0x5226('0x3'),'id':0x4}}};}}
var _0xa04a=['Position','bool','description','string'];(function(_0x29d428,_0x19bebb){var _0x11c6ad=function(_0x578c03){while(--_0x578c03){_0x29d428['push'](_0x29d428['shift']());}};_0x11c6ad(++_0x19bebb);}(_0xa04a,0xd1));var _0x4f22=function(_0x29d428,_0x19bebb){_0x29d428=_0x29d428-0x0;var _0x11c6ad=_0xa04a[_0x29d428];return _0x11c6ad;};import _0x5a5001 from'./operationcompressor';export default class M extends _0x5a5001{static get[_0x4f22('0x1')](){return{'fields':{'position':{'type':_0x4f22('0x3'),'id':0x1},'oldName':{'type':'string','id':0x2},'newName':{'type':_0x4f22('0x2'),'id':0x3},'wasUndone':{'type':_0x4f22('0x0'),'id':0x4}}};}}
/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0x5229=['range','string','description','fields'];(function(_0x2699a9,_0x501e82){var _0x5b6c40=function(_0xa3de42){while(--_0xa3de42){_0x2699a9['push'](_0x2699a9['shift']());}};_0x5b6c40(++_0x501e82);}(_0x5229,0x18e));var _0xc722=function(_0xd734a9,_0x489ed4){_0xd734a9=_0xd734a9-0x0;var _0x361af2=_0x5229[_0xd734a9];return _0x361af2;};import _0x466269 from'./attributeoperationcompressor';export default class k extends _0x466269{static get[_0xc722('0x0')](){const _0x4f98b7=_0x466269[_0xc722('0x0')];return delete _0x4f98b7[_0xc722('0x1')][_0xc722('0x2')],_0x4f98b7[_0xc722('0x1')]['root']={'type':_0xc722('0x3'),'id':0x1},_0x4f98b7;}}
const _0x1ca3=['fields','string','root','range'];(function(_0x508506,_0x5389e7){const _0x5a36b2=function(_0xeddfcd){while(--_0xeddfcd){_0x508506['push'](_0x508506['shift']());}};_0x5a36b2(++_0x5389e7);}(_0x1ca3,0x69));const _0x6151=function(_0x508506,_0x5389e7){_0x508506=_0x508506-0x0;let _0x5a36b2=_0x1ca3[_0x508506];return _0x5a36b2;};import _0x5b4242 from'./attributeoperationcompressor';export default class k extends _0x5b4242{static get['description'](){const _0x551cf6=_0x5b4242['description'];return delete _0x551cf6[_0x6151('0x3')][_0x6151('0x2')],_0x551cf6['fields'][_0x6151('0x1')]={'type':_0x6151('0x0'),'id':0x1},_0x551cf6;}}
/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0xef0b=['Position','uint32','bool'];(function(_0xc00607,_0x375853){var _0x56f416=function(_0x15dc45){while(--_0x15dc45){_0xc00607['push'](_0xc00607['shift']());}};_0x56f416(++_0x375853);}(_0xef0b,0x6c));var _0xfbab=function(_0x15dd56,_0x3824c0){_0x15dd56=_0x15dd56-0x0;var _0xd5dff9=_0xef0b[_0x15dd56];return _0xd5dff9;};import _0xec7a04 from'./operationcompressor';export default class w extends _0xec7a04{static get['description'](){return{'fields':{'splitPosition':{'type':'Position','id':0x1},'graveyardPosition':{'type':_0xfbab('0x0'),'id':0x2},'howMany':{'type':_0xfbab('0x1'),'id':0x3},'insertionPosition':{'type':_0xfbab('0x0'),'id':0x4},'wasUndone':{'type':_0xfbab('0x2'),'id':0x5}}};}}
var _0x4d6e=['Position','bool','description'];(function(_0x47678c,_0x1de55d){var _0x5112d0=function(_0x2478ea){while(--_0x2478ea){_0x47678c['push'](_0x47678c['shift']());}};_0x5112d0(++_0x1de55d);}(_0x4d6e,0x1c5));var _0x2ddc=function(_0x47678c,_0x1de55d){_0x47678c=_0x47678c-0x0;var _0x5112d0=_0x4d6e[_0x47678c];return _0x5112d0;};import _0x52f362 from'./operationcompressor';export default class w extends _0x52f362{static get[_0x2ddc('0x2')](){return{'fields':{'splitPosition':{'type':'Position','id':0x1},'graveyardPosition':{'type':_0x2ddc('0x0'),'id':0x2},'howMany':{'type':'uint32','id':0x3},'insertionPosition':{'type':_0x2ddc('0x0'),'id':0x4},'wasUndone':{'type':_0x2ddc('0x1'),'id':0x5}}};}}
/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0xd11e=['decode','registerDescriptor','nested','fromJSON','getDescriptor','protobuffactory-cannot-get-descriptor-before-build:\x20Cannot\x20get\x20descriptor\x20before\x20build.','verify','encode','create','decompress','toObject'];(function(_0x3a5ee0,_0xb8584f){var _0x25350e=function(_0x480760){while(--_0x480760){_0x3a5ee0['push'](_0x3a5ee0['shift']());}};_0x25350e(++_0xb8584f);}(_0xd11e,0x6f));var _0x1fe9=function(_0xc3f33a,_0x4f45ce){_0xc3f33a=_0xc3f33a-0x0;var _0x10d7d6=_0xd11e[_0xc3f33a];return _0x10d7d6;};import _0x51c13f from'protobufjs/light';import _0xa87ceb from'@ckeditor/ckeditor5-utils/src/ckeditorerror';export default class m{constructor(){this['D']={'nested':{}};}[_0x1fe9('0x0')](r,o){this['D'][_0x1fe9('0x1')][r]=o;}['build'](){this['j']=_0x51c13f['Root'][_0x1fe9('0x2')](this['D']);}[_0x1fe9('0x3')](r){if(!this['j'])throw new _0xa87ceb(_0x1fe9('0x4'),this);return new j(this['j']['lookupType'](r));}}class j{constructor(r){this['C']=r;}['compress'](r){const o=this['C'][_0x1fe9('0x5')](r);if(o)throw Error(o);return this['C'][_0x1fe9('0x6')](this['C'][_0x1fe9('0x7')](r))['finish']();}[_0x1fe9('0x8')](r){return this['C'][_0x1fe9('0x9')](this['C'][_0x1fe9('0xa')](r),{'oneofs':!0x0});}}
const _0x13d6=['toObject','create','getDescriptor','finish','decode','encode','registerDescriptor','build','verify','nested','decompress','lookupType','protobuffactory-cannot-get-descriptor-before-build:\x20Cannot\x20get\x20descriptor\x20before\x20build.','compress','Root'];(function(_0x44fbca,_0x295bca){const _0x10d611=function(_0x24c2db){while(--_0x24c2db){_0x44fbca['push'](_0x44fbca['shift']());}};_0x10d611(++_0x295bca);}(_0x13d6,0x158));const _0x2e3f=function(_0x44fbca,_0x295bca){_0x44fbca=_0x44fbca-0x0;let _0x10d611=_0x13d6[_0x44fbca];return _0x10d611;};import _0x45e783 from'protobufjs/light';import _0x2d1c0e from'@ckeditor/ckeditor5-utils/src/ckeditorerror';import{cloneDeep as _0x138fd8}from'lodash-es';export default class m{constructor(){this['D']={'nested':{}};}[_0x2e3f('0x7')](_0x4fd1ed,_0x46872d){this['D'][_0x2e3f('0xa')][_0x4fd1ed]=_0x138fd8(_0x46872d);}[_0x2e3f('0x8')](){this['j']=_0x45e783[_0x2e3f('0x0')]['fromJSON'](this['D']);}[_0x2e3f('0x3')](_0x3faf21){if(!this['j'])throw new _0x2d1c0e(_0x2e3f('0xd'),this);return new j(this['j'][_0x2e3f('0xc')](_0x3faf21));}}class j{constructor(_0x29c71a){this['C']=_0x29c71a;}[_0x2e3f('0xe')](_0x6ae637){const _0x3379ee=this['C'][_0x2e3f('0x9')](_0x6ae637);if(_0x3379ee)throw Error(_0x3379ee);return this['C'][_0x2e3f('0x6')](this['C'][_0x2e3f('0x2')](_0x6ae637))[_0x2e3f('0x4')]();}[_0x2e3f('0xb')](_0x135f04){return this['C'][_0x2e3f('0x1')](this['C'][_0x2e3f('0x5')](_0x135f04),{'oneofs':!0x0});}}
/*
* Copyright (c) 2016 - 2019, CKSource - Frederico Knabben. All rights reserved.
* Copyright (c) 2016 - 2020, CKSource - Frederico Knabben. All rights reserved.
*

@@ -23,2 +23,2 @@ *

*/
var _0x4b50=['$graveyard','rootGraveyard','rootMain','nodes','length','root','path','main'];(function(_0x165f78,_0x29d486){var _0x44b2d4=function(_0x431a92){while(--_0x431a92){_0x165f78['push'](_0x165f78['shift']());}};_0x44b2d4(++_0x29d486);}(_0x4b50,0xfc));var _0x35c5=function(_0x4d697b,_0x412f5d){_0x4d697b=_0x4d697b-0x0;var _0x13a220=_0x4b50[_0x4d697b];return _0x13a220;};import{cloneDeep as _0x45b320,isEqual as _0x2027e1,isObject as _0x400e88}from'lodash-es';export function getPositionShiftedBy(_0x1c2a0c,_0x47d10c){const _0x300d96=_0x45b320(_0x1c2a0c);return _0x300d96['path'][_0x300d96['path'][_0x35c5('0x0')]-0x1]+=_0x47d10c,_0x300d96;}export function arePositionsEqual(_0x2e7c92,_0x181f18){return _0x2e7c92['root']===_0x181f18[_0x35c5('0x1')]&&_0x2027e1(_0x2e7c92[_0x35c5('0x2')],_0x181f18[_0x35c5('0x2')]);}export function parsePositionBeforeCompression(_0x42f7dc){C(_0x42f7dc,_0x42f7dc=>(_0x35c5('0x3')==_0x42f7dc[_0x35c5('0x1')]?(_0x42f7dc['rootMain']=!0x0,delete _0x42f7dc['root']):_0x35c5('0x4')==_0x42f7dc[_0x35c5('0x1')]&&(_0x42f7dc[_0x35c5('0x5')]=!0x0,delete _0x42f7dc[_0x35c5('0x1')]),_0x42f7dc));}export function parsePositionAfterCompression(_0x4b88d5){C(_0x4b88d5,_0x4b88d5=>(_0x4b88d5[_0x35c5('0x6')]?(_0x4b88d5[_0x35c5('0x1')]=_0x35c5('0x3'),delete _0x4b88d5[_0x35c5('0x6')]):_0x4b88d5['rootGraveyard']&&(_0x4b88d5[_0x35c5('0x1')]=_0x35c5('0x4'),delete _0x4b88d5[_0x35c5('0x5')]),_0x4b88d5));}function C(_0x2c0dbb,_0x12e90d){for(const _0x39d00c in _0x2c0dbb){const _0x32cf73=_0x2c0dbb[_0x39d00c];_0x35c5('0x7')!==_0x39d00c&&_0x400e88(_0x32cf73)&&(_0x32cf73[_0x35c5('0x2')]&&(_0x32cf73[_0x35c5('0x1')]||_0x32cf73[_0x35c5('0x6')]||_0x32cf73[_0x35c5('0x5')])?_0x2c0dbb[_0x39d00c]=_0x12e90d(_0x32cf73):C(_0x32cf73,_0x12e90d));}return _0x2c0dbb;}
const _0x1ba8=['main','nodes','path','rootMain','$graveyard','rootGraveyard','root'];(function(_0x5bd3d7,_0x160add){const _0x2aa389=function(_0x4c4800){while(--_0x4c4800){_0x5bd3d7['push'](_0x5bd3d7['shift']());}};_0x2aa389(++_0x160add);}(_0x1ba8,0x71));const _0x31c1=function(_0x5bd3d7,_0x160add){_0x5bd3d7=_0x5bd3d7-0x0;let _0x2aa389=_0x1ba8[_0x5bd3d7];return _0x2aa389;};import{cloneDeep as _0x55ec0b,isEqual as _0xbc6ac5,isObject as _0x2a2487}from'lodash-es';export function getPositionShiftedBy(_0x5bc42b,_0x538917){const _0x56df52=_0x55ec0b(_0x5bc42b);return _0x56df52[_0x31c1('0x1')][_0x56df52[_0x31c1('0x1')]['length']-0x1]+=_0x538917,_0x56df52;}export function arePositionsEqual(_0x2460ed,_0x3a1b76){return _0x2460ed[_0x31c1('0x5')]===_0x3a1b76[_0x31c1('0x5')]&&_0xbc6ac5(_0x2460ed['path'],_0x3a1b76[_0x31c1('0x1')]);}export function parsePositionBeforeCompression(_0x395a77){C(_0x395a77,_0x29e34b=>('main'==_0x29e34b[_0x31c1('0x5')]?(_0x29e34b[_0x31c1('0x2')]=!0x0,delete _0x29e34b[_0x31c1('0x5')]):_0x31c1('0x3')==_0x29e34b[_0x31c1('0x5')]&&(_0x29e34b[_0x31c1('0x4')]=!0x0,delete _0x29e34b[_0x31c1('0x5')]),_0x29e34b));}export function parsePositionAfterCompression(_0x59a78f){C(_0x59a78f,_0x3c46b8=>(_0x3c46b8[_0x31c1('0x2')]?(_0x3c46b8[_0x31c1('0x5')]=_0x31c1('0x6'),delete _0x3c46b8[_0x31c1('0x2')]):_0x3c46b8[_0x31c1('0x4')]&&(_0x3c46b8[_0x31c1('0x5')]=_0x31c1('0x3'),delete _0x3c46b8[_0x31c1('0x4')]),_0x3c46b8));}function C(_0x47b74b,_0x298bc6){for(const _0x57b13e in _0x47b74b){const _0x467d8e=_0x47b74b[_0x57b13e];_0x31c1('0x0')!==_0x57b13e&&_0x2a2487(_0x467d8e)&&(_0x467d8e[_0x31c1('0x1')]&&(_0x467d8e[_0x31c1('0x5')]||_0x467d8e[_0x31c1('0x2')]||_0x467d8e[_0x31c1('0x4')])?_0x47b74b[_0x57b13e]=_0x298bc6(_0x467d8e):C(_0x467d8e,_0x298bc6));}return _0x47b74b;}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc