@ckeditor/ckeditor5-operations-compressor
Advanced tools
Comparing version 27.0.0 to 27.1.0
{ | ||
"name": "@ckeditor/ckeditor5-operations-compressor", | ||
"version": "27.0.0", | ||
"version": "27.1.0", | ||
"description": "CKEditor 5 operations compressor for real-time collaboration.", | ||
@@ -30,3 +30,3 @@ "license": "SEE LICENSE IN LICENSE.md", | ||
"dependencies": { | ||
"ckeditor5": "^27.0.0", | ||
"ckeditor5": "^27.1.0", | ||
"lodash-es": "^4.17.11", | ||
@@ -33,0 +33,0 @@ "protobufjs": "^6.8.8" |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x4a0f=['_combineNext','_compressSingleOperation','shift','_splitCurrent','types','_compareOperations','push','_context','_decompressSingleOperation','buffers','length','compress'];(function(_0x1c0ef4,_0x4a0f0c){const _0xded483=function(_0x4e1144){while(--_0x4e1144){_0x1c0ef4['push'](_0x1c0ef4['shift']());}};_0xded483(++_0x4a0f0c);}(_0x4a0f,0x6b));const _0xded4=function(_0x1c0ef4,_0x4a0f0c){_0x1c0ef4=_0x1c0ef4-0x0;let _0xded483=_0x4a0f[_0x1c0ef4];return _0xded483;};import{cloneDeep as _0x16d8f3}from'lodash-es';export default class j{constructor(_0x22ffb5,_0x2c809b){this['id']=_0x22ffb5,this[_0xded4('0x8')]=_0x2c809b;}[_0xded4('0x0')](_0xff504c,_0x5152f7){let _0x30f78c;for(;_0x5152f7[_0xded4('0xb')]>0x1&&this[_0xded4('0x6')](_0x5152f7[0x0],_0x5152f7[0x1]);)_0x30f78c?(_0x30f78c=this[_0xded4('0x1')](_0x5152f7[_0xded4('0x3')](),_0x30f78c),_0xff504c[_0xded4('0x5')][_0xded4('0x7')](0x0)):(_0x30f78c=_0x16d8f3(_0x5152f7[_0xded4('0x3')]()),_0xff504c[_0xded4('0x5')][_0xded4('0x7')](this['id']));return!!_0x30f78c&&(_0x30f78c=this[_0xded4('0x1')](_0x5152f7['shift'](),_0x30f78c),_0xff504c[_0xded4('0x5')][_0xded4('0x7')](0x0),_0xff504c[_0xded4('0xa')][_0xded4('0x7')](this[_0xded4('0x2')](_0x30f78c)),!0x0);}['decompress'](_0x27ab48,_0x3bcc9d){const _0xe9c9dd=this[_0xded4('0x9')](_0x3bcc9d);for(;0x0==_0x3bcc9d[_0xded4('0x5')][0x0];)_0x3bcc9d[_0xded4('0x5')][_0xded4('0x3')](),_0x27ab48[_0xded4('0x7')](this[_0xded4('0x4')](_0xe9c9dd));_0x27ab48['push'](_0xe9c9dd);}} | ||
const _0x4636=['_splitCurrent','shift','compress','push','_compressSingleOperation','types','_combineNext','decompress','_decompressSingleOperation','_compareOperations','buffers','length'];(function(_0x2f5d12,_0x463682){const _0x69fdf1=function(_0x384d31){while(--_0x384d31){_0x2f5d12['push'](_0x2f5d12['shift']());}};_0x69fdf1(++_0x463682);}(_0x4636,0x12b));const _0x69fd=function(_0x2f5d12,_0x463682){_0x2f5d12=_0x2f5d12-0x0;let _0x69fdf1=_0x4636[_0x2f5d12];return _0x69fdf1;};import{cloneDeep as _0x1eb338}from'lodash-es';export default class j{constructor(_0x3c717a,_0x2bb58e){this['id']=_0x3c717a,this['_context']=_0x2bb58e;}[_0x69fd('0x3')](_0x50124f,_0x58bde3){let _0x35abad;for(;_0x58bde3[_0x69fd('0x0')]>0x1&&this[_0x69fd('0xa')](_0x58bde3[0x0],_0x58bde3[0x1]);)_0x35abad?(_0x35abad=this['_combineNext'](_0x58bde3[_0x69fd('0x2')](),_0x35abad),_0x50124f[_0x69fd('0x6')]['push'](0x0)):(_0x35abad=_0x1eb338(_0x58bde3['shift']()),_0x50124f[_0x69fd('0x6')][_0x69fd('0x4')](this['id']));return!!_0x35abad&&(_0x35abad=this[_0x69fd('0x7')](_0x58bde3[_0x69fd('0x2')](),_0x35abad),_0x50124f[_0x69fd('0x6')][_0x69fd('0x4')](0x0),_0x50124f[_0x69fd('0xb')][_0x69fd('0x4')](this[_0x69fd('0x5')](_0x35abad)),!0x0);}[_0x69fd('0x8')](_0x1c340d,_0xe8cfd0){const _0x498ed4=this[_0x69fd('0x9')](_0xe8cfd0);for(;0x0==_0xe8cfd0[_0x69fd('0x6')][0x0];)_0xe8cfd0[_0x69fd('0x6')][_0x69fd('0x2')](),_0x1c340d['push'](this[_0x69fd('0x1')](_0x498ed4));_0x1c340d['push'](_0x498ed4);}} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x39ec=['decompress','compress','_context','buffers','sourcePosition','MoveOperation','root','_decompressSingleOperation','_getCompressorByName','targetPosition','howMany','_compressSingleOperation','_splitCurrent','__className','_compareOperations'];(function(_0x3ea657,_0x39ec6a){const _0x11f684=function(_0x39ad33){while(--_0x39ad33){_0x3ea657['push'](_0x3ea657['shift']());}};_0x11f684(++_0x39ec6a);}(_0x39ec,0x16b));const _0x11f6=function(_0x3ea657,_0x39ec6a){_0x3ea657=_0x3ea657-0x0;let _0x11f684=_0x39ec[_0x3ea657];return _0x11f684;};import _0x2390e8 from'./actioncompressor';import{arePositionsEqual as _0x3b4303,getPositionShiftedBy as _0x274fb1}from'../utils';import{cloneDeep as _0x59fe0a}from'lodash-es';export default class u extends _0x2390e8{['_combineNext'](_0x1f2428,_0x5b69e6){return _0x5b69e6[_0x11f6('0x7')]++,_0x5b69e6[_0x11f6('0x1')]=_0x59fe0a(_0x1f2428[_0x11f6('0x1')]),_0x5b69e6;}[_0x11f6('0x9')](_0x437cca){const _0x15b789=_0x59fe0a(_0x437cca);return _0x437cca[_0x11f6('0x7')]--,_0x15b789[_0x11f6('0x7')]=0x1,_0x15b789[_0x11f6('0x1')]=_0x274fb1(_0x15b789[_0x11f6('0x1')],_0x437cca['howMany']),_0x15b789;}[_0x11f6('0xb')](_0x5ecdb6,_0x53acc9){return!(!S(_0x5ecdb6)||!S(_0x53acc9))&&(_0x3b4303(_0x274fb1(_0x5ecdb6['sourcePosition'],-0x1),_0x53acc9[_0x11f6('0x1')])&&_0x3b4303(_0x5ecdb6['targetPosition'],_0x53acc9['targetPosition']));}[_0x11f6('0x8')](_0x11576b){const _0x43a0f0={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x11f6('0xe')][_0x11f6('0x5')](_0x11f6('0x2'))[_0x11f6('0xd')](_0x43a0f0,[_0x11576b]),_0x43a0f0[_0x11f6('0x0')][0x0];}[_0x11f6('0x4')](_0x52ddaa){const _0xf5d216=[];return this[_0x11f6('0xe')][_0x11f6('0x5')](_0x11f6('0x2'))[_0x11f6('0xc')](_0xf5d216,_0x52ddaa),_0xf5d216[0x0];}}function S(_0x35a04c){return _0x11f6('0x2')==_0x35a04c[_0x11f6('0xa')]&&'$graveyard'==_0x35a04c[_0x11f6('0x6')][_0x11f6('0x3')]&&0x1==_0x35a04c[_0x11f6('0x7')]&&!_0x35a04c['wasUndone'];} | ||
const _0x3f43=['$graveyard','root','_compressSingleOperation','wasUndone','_getCompressorByName','howMany','compress','sourcePosition','MoveOperation','targetPosition','_context','__className','_splitCurrent'];(function(_0x5ae38f,_0x3f4353){const _0x4e3e51=function(_0x3842a5){while(--_0x3842a5){_0x5ae38f['push'](_0x5ae38f['shift']());}};_0x4e3e51(++_0x3f4353);}(_0x3f43,0x1e2));const _0x4e3e=function(_0x5ae38f,_0x3f4353){_0x5ae38f=_0x5ae38f-0x0;let _0x4e3e51=_0x3f43[_0x5ae38f];return _0x4e3e51;};import _0xd6f6b7 from'./actioncompressor';import{arePositionsEqual as _0x5b2ae,getPositionShiftedBy as _0x5e0d89}from'../utils';import{cloneDeep as _0x1ad4da}from'lodash-es';export default class u extends _0xd6f6b7{['_combineNext'](_0x202530,_0x4a68cd){return _0x4a68cd['howMany']++,_0x4a68cd['sourcePosition']=_0x1ad4da(_0x202530[_0x4e3e('0x6')]),_0x4a68cd;}[_0x4e3e('0xb')](_0x1c9ed5){const _0x33cbc5=_0x1ad4da(_0x1c9ed5);return _0x1c9ed5['howMany']--,_0x33cbc5[_0x4e3e('0x4')]=0x1,_0x33cbc5[_0x4e3e('0x6')]=_0x5e0d89(_0x33cbc5[_0x4e3e('0x6')],_0x1c9ed5[_0x4e3e('0x4')]),_0x33cbc5;}['_compareOperations'](_0x55ff6f,_0xb89f86){return!(!S(_0x55ff6f)||!S(_0xb89f86))&&(_0x5b2ae(_0x5e0d89(_0x55ff6f[_0x4e3e('0x6')],-0x1),_0xb89f86[_0x4e3e('0x6')])&&_0x5b2ae(_0x55ff6f[_0x4e3e('0x8')],_0xb89f86[_0x4e3e('0x8')]));}[_0x4e3e('0x1')](_0x3930db){const _0x42b1f5={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x4e3e('0x9')]['_getCompressorByName']('MoveOperation')[_0x4e3e('0x5')](_0x42b1f5,[_0x3930db]),_0x42b1f5['buffers'][0x0];}['_decompressSingleOperation'](_0x23d0ae){const _0x318153=[];return this[_0x4e3e('0x9')][_0x4e3e('0x3')](_0x4e3e('0x7'))['decompress'](_0x318153,_0x23d0ae),_0x318153[0x0];}}function S(_0x715c39){return _0x4e3e('0x7')==_0x715c39[_0x4e3e('0xa')]&&_0x4e3e('0xc')==_0x715c39[_0x4e3e('0x8')][_0x4e3e('0x0')]&&0x1==_0x715c39[_0x4e3e('0x4')]&&!_0x715c39[_0x4e3e('0x2')];} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x2b41=['targetPosition','_getCompressorByName','_context','_compressSingleOperation','howMany','decompress','root','_combineNext','sourcePosition','_compareOperations','_splitCurrent','_decompressSingleOperation','MoveOperation','$graveyard','buffers','__className'];(function(_0x242496,_0x2b419b){const _0x472b86=function(_0x27b4f2){while(--_0x27b4f2){_0x242496['push'](_0x242496['shift']());}};_0x472b86(++_0x2b419b);}(_0x2b41,0xfb));const _0x472b=function(_0x242496,_0x2b419b){_0x242496=_0x242496-0x0;let _0x472b86=_0x2b41[_0x242496];return _0x472b86;};import _0x2db43b from'./actioncompressor';import{arePositionsEqual as _0x56d313}from'../utils';import{cloneDeep as _0x4bcacd}from'lodash-es';export default class l extends _0x2db43b{[_0x472b('0xc')](_0x2d69d8,_0x51e02f){return _0x51e02f[_0x472b('0x9')]++,_0x51e02f;}[_0x472b('0xf')](_0xf75b90){const _0x1f2deb=_0x4bcacd(_0xf75b90);return _0x1f2deb['howMany']=0x1,_0xf75b90[_0x472b('0x9')]--,_0x1f2deb;}[_0x472b('0xe')](_0xa90aa8,_0x5c6cc2){return!(!S(_0xa90aa8)||!S(_0x5c6cc2))&&(_0x56d313(_0xa90aa8['sourcePosition'],_0x5c6cc2[_0x472b('0xd')])&&_0x56d313(_0xa90aa8['targetPosition'],_0x5c6cc2[_0x472b('0x5')]));}[_0x472b('0x8')](_0x24b96d){const _0x2433e4={'types':[],'buffers':[],'baseVersion':0x0};return this['_context'][_0x472b('0x6')](_0x472b('0x1'))['compress'](_0x2433e4,[_0x24b96d]),_0x2433e4[_0x472b('0x3')][0x0];}[_0x472b('0x0')](_0x439dbe){const _0x4c0525=[];return this[_0x472b('0x7')][_0x472b('0x6')](_0x472b('0x1'))[_0x472b('0xa')](_0x4c0525,_0x439dbe),_0x4c0525[0x0];}}function S(_0x318aab){return _0x472b('0x1')==_0x318aab[_0x472b('0x4')]&&_0x472b('0x2')==_0x318aab[_0x472b('0x5')][_0x472b('0xb')]&&0x1==_0x318aab['howMany']&&!_0x318aab['wasUndone'];} | ||
const _0x788f=['wasUndone','MoveOperation','_combineNext','root','$graveyard','__className','_getCompressorByName','_compareOperations','_decompressSingleOperation','targetPosition','compress','_compressSingleOperation','howMany','_splitCurrent','sourcePosition','_context','decompress'];(function(_0x9d7a20,_0x788f39){const _0x3c71ab=function(_0x256a0c){while(--_0x256a0c){_0x9d7a20['push'](_0x9d7a20['shift']());}};_0x3c71ab(++_0x788f39);}(_0x788f,0x8d));const _0x3c71=function(_0x9d7a20,_0x788f39){_0x9d7a20=_0x9d7a20-0x0;let _0x3c71ab=_0x788f[_0x9d7a20];return _0x3c71ab;};import _0x4bba3e from'./actioncompressor';import{arePositionsEqual as _0x43d4d1}from'../utils';import{cloneDeep as _0x59ad1b}from'lodash-es';export default class l extends _0x4bba3e{[_0x3c71('0xe')](_0x3867ea,_0xcfd368){return _0xcfd368['howMany']++,_0xcfd368;}[_0x3c71('0x8')](_0x4628fa){const _0x188658=_0x59ad1b(_0x4628fa);return _0x188658[_0x3c71('0x7')]=0x1,_0x4628fa[_0x3c71('0x7')]--,_0x188658;}[_0x3c71('0x2')](_0x31104d,_0x26c0e1){return!(!S(_0x31104d)||!S(_0x26c0e1))&&(_0x43d4d1(_0x31104d[_0x3c71('0x9')],_0x26c0e1[_0x3c71('0x9')])&&_0x43d4d1(_0x31104d[_0x3c71('0x4')],_0x26c0e1[_0x3c71('0x4')]));}[_0x3c71('0x6')](_0x47d411){const _0x573850={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3c71('0xa')][_0x3c71('0x1')](_0x3c71('0xd'))[_0x3c71('0x5')](_0x573850,[_0x47d411]),_0x573850['buffers'][0x0];}[_0x3c71('0x3')](_0x5983a8){const _0x481189=[];return this['_context'][_0x3c71('0x1')](_0x3c71('0xd'))[_0x3c71('0xb')](_0x481189,_0x5983a8),_0x481189[0x0];}}function S(_0x39a573){return _0x3c71('0xd')==_0x39a573[_0x3c71('0x0')]&&_0x3c71('0x10')==_0x39a573[_0x3c71('0x4')][_0x3c71('0xf')]&&0x1==_0x39a573[_0x3c71('0x7')]&&!_0x39a573[_0x3c71('0xc')];} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x2694=['InsertOperation','nodes','data','_context','keys','length','_compressSingleOperation','every','wasUndone','from','attributes','position','_getCompressorByName','buffers','_decompressSingleOperation','_combineNext','_compareOperations','substr'];(function(_0x9bc50a,_0x269415){const _0x42274a=function(_0x169afa){while(--_0x169afa){_0x9bc50a['push'](_0x9bc50a['shift']());}};_0x42274a(++_0x269415);}(_0x2694,0x8c));const _0x4227=function(_0x9bc50a,_0x269415){_0x9bc50a=_0x9bc50a-0x0;let _0x42274a=_0x2694[_0x9bc50a];return _0x42274a;};import _0x1f42cc from'./actioncompressor';import{arePositionsEqual as _0x2ca50b,getPositionShiftedBy as _0x1fbebc}from'../utils';import{cloneDeep as _0x751d9a}from'lodash-es';export default class g extends _0x1f42cc{[_0x4227('0x1')](_0x202f11,_0x12e961){return _0x12e961[_0x4227('0x5')][0x0][_0x4227('0x6')]+=_0x202f11[_0x4227('0x5')][0x0][_0x4227('0x6')],_0x12e961;}['_splitCurrent'](_0x2a77b0){const _0x440153=_0x751d9a(_0x2a77b0),_0x2289a8=_0x440153['nodes'][0x0],_0xe614c=_0x2a77b0[_0x4227('0x5')][0x0],_0x3cb52f=Array[_0x4227('0xd')](_0xe614c[_0x4227('0x6')])[0x0],_0x1aa511=_0x3cb52f[_0x4227('0x9')];return _0x2289a8[_0x4227('0x6')]=_0x3cb52f,_0xe614c[_0x4227('0x6')]=_0xe614c[_0x4227('0x6')][_0x4227('0x3')](_0x1aa511),_0x2a77b0[_0x4227('0xf')]=_0x1fbebc(_0x2a77b0[_0x4227('0xf')],_0x1aa511),_0x440153;}[_0x4227('0x2')](_0x10dd39,_0x4bc9dd){if(S(_0x10dd39)&&S(_0x4bc9dd)){const _0x7850d8=_0x10dd39[_0x4227('0x5')][0x0][_0x4227('0x6')][_0x4227('0x9')],_0x38ff54=_0x2ca50b(_0x1fbebc(_0x10dd39['position'],_0x7850d8),_0x4bc9dd[_0x4227('0xf')]),_0x5948aa=_0x10dd39[_0x4227('0x5')][0x0],_0x461eb1=_0x4bc9dd[_0x4227('0x5')][0x0];return _0x38ff54&&function(_0x126469,_0x3aac6c){const _0x2fda40=Object[_0x4227('0x8')](_0x126469['attributes']||{}),_0x3c4e85=Object[_0x4227('0x8')](_0x3aac6c[_0x4227('0xe')]||{});if(_0x2fda40[_0x4227('0x9')]!==_0x3c4e85[_0x4227('0x9')])return!0x1;return _0x2fda40[_0x4227('0xb')](_0x46779c=>_0x3aac6c['attributes'][_0x46779c]&&_0x3aac6c[_0x4227('0xe')][_0x46779c]===_0x126469['attributes'][_0x46779c]);}(_0x5948aa,_0x461eb1);}return!0x1;}[_0x4227('0xa')](_0x11f6ab){const _0x3c2569={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x4227('0x7')][_0x4227('0x10')](_0x4227('0x4'))['compress'](_0x3c2569,[_0x11f6ab]),_0x3c2569[_0x4227('0x11')][0x0];}[_0x4227('0x0')](_0x238008){const _0x2ed08d=[];return this[_0x4227('0x7')]['_getCompressorByName'](_0x4227('0x4'))['decompress'](_0x2ed08d,_0x238008),_0x2ed08d[0x0];}}function S(_0x58e363){return _0x4227('0x4')==_0x58e363['__className']&&0x1==_0x58e363['nodes'][_0x4227('0x9')]&&_0x58e363[_0x4227('0x5')][0x0][_0x4227('0x6')]&&!_0x58e363[_0x4227('0xc')]&&0x1==Array[_0x4227('0xd')](_0x58e363[_0x4227('0x5')][0x0][_0x4227('0x6')])[_0x4227('0x9')];} | ||
const _0x111b=['_compressSingleOperation','_combineNext','position','nodes','data','substr','wasUndone','length','from','__className','_getCompressorByName','_context','keys','attributes','InsertOperation','compress','decompress'];(function(_0x577531,_0x111be2){const _0x45e5bd=function(_0x3b7d51){while(--_0x3b7d51){_0x577531['push'](_0x577531['shift']());}};_0x45e5bd(++_0x111be2);}(_0x111b,0x1d3));const _0x45e5=function(_0x577531,_0x111be2){_0x577531=_0x577531-0x0;let _0x45e5bd=_0x111b[_0x577531];return _0x45e5bd;};import _0x145d35 from'./actioncompressor';import{arePositionsEqual as _0x350a70,getPositionShiftedBy as _0x41a9ba}from'../utils';import{cloneDeep as _0x3625a5}from'lodash-es';export default class g extends _0x145d35{[_0x45e5('0xa')](_0x1892b7,_0x36b98c){return _0x36b98c[_0x45e5('0xc')][0x0][_0x45e5('0xd')]+=_0x1892b7['nodes'][0x0]['data'],_0x36b98c;}['_splitCurrent'](_0x499d85){const _0x239f14=_0x3625a5(_0x499d85),_0x2483e0=_0x239f14['nodes'][0x0],_0x54e423=_0x499d85[_0x45e5('0xc')][0x0],_0x152b46=Array[_0x45e5('0x0')](_0x54e423[_0x45e5('0xd')])[0x0],_0x5bdf93=_0x152b46[_0x45e5('0x10')];return _0x2483e0[_0x45e5('0xd')]=_0x152b46,_0x54e423[_0x45e5('0xd')]=_0x54e423[_0x45e5('0xd')][_0x45e5('0xe')](_0x5bdf93),_0x499d85[_0x45e5('0xb')]=_0x41a9ba(_0x499d85[_0x45e5('0xb')],_0x5bdf93),_0x239f14;}['_compareOperations'](_0x3c6bee,_0x2b1433){if(S(_0x3c6bee)&&S(_0x2b1433)){const _0x15aaab=_0x3c6bee['nodes'][0x0][_0x45e5('0xd')][_0x45e5('0x10')],_0x48532f=_0x350a70(_0x41a9ba(_0x3c6bee[_0x45e5('0xb')],_0x15aaab),_0x2b1433['position']),_0xabee54=_0x3c6bee[_0x45e5('0xc')][0x0],_0x19599b=_0x2b1433[_0x45e5('0xc')][0x0];return _0x48532f&&function(_0x56f653,_0x4d41fa){const _0x4e5f2d=Object[_0x45e5('0x4')](_0x56f653[_0x45e5('0x5')]||{}),_0x18a4c8=Object[_0x45e5('0x4')](_0x4d41fa['attributes']||{});if(_0x4e5f2d[_0x45e5('0x10')]!==_0x18a4c8[_0x45e5('0x10')])return!0x1;return _0x4e5f2d['every'](_0xca8da3=>_0x4d41fa[_0x45e5('0x5')][_0xca8da3]&&_0x4d41fa[_0x45e5('0x5')][_0xca8da3]===_0x56f653[_0x45e5('0x5')][_0xca8da3]);}(_0xabee54,_0x19599b);}return!0x1;}[_0x45e5('0x9')](_0xea3e3){const _0x21b016={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x45e5('0x3')][_0x45e5('0x2')]('InsertOperation')[_0x45e5('0x7')](_0x21b016,[_0xea3e3]),_0x21b016['buffers'][0x0];}['_decompressSingleOperation'](_0x215755){const _0x5d091e=[];return this[_0x45e5('0x3')]['_getCompressorByName'](_0x45e5('0x6'))[_0x45e5('0x8')](_0x5d091e,_0x215755),_0x5d091e[0x0];}}function S(_0xfd22f8){return'InsertOperation'==_0xfd22f8[_0x45e5('0x1')]&&0x1==_0xfd22f8[_0x45e5('0xc')][_0x45e5('0x10')]&&_0xfd22f8[_0x45e5('0xc')][0x0][_0x45e5('0xd')]&&!_0xfd22f8[_0x45e5('0xf')]&&0x1==Array[_0x45e5('0x0')](_0xfd22f8[_0x45e5('0xc')][0x0][_0x45e5('0xd')])[_0x45e5('0x10')];} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x198a=['oldRange','buffers','compress','shift','_compressSingleOperation','_context','start','user:position:','MarkerOperation','startsWith','types','_getCompressorByName','split','decompress','name','toNone','user:','newRange','end','push','_decompressSingleOperation','__className'];(function(_0x1c93a6,_0x198a80){const _0x19cd53=function(_0x54b3eb){while(--_0x54b3eb){_0x1c93a6['push'](_0x1c93a6['shift']());}};_0x19cd53(++_0x198a80);}(_0x198a,0xdc));const _0x19cd=function(_0x1c93a6,_0x198a80){_0x1c93a6=_0x1c93a6-0x0;let _0x19cd53=_0x198a[_0x1c93a6];return _0x19cd53;};import _0x1388fc from'./actioncompressor';import{arePositionsEqual as _0x399c46}from'../utils';import{cloneDeep as _0x317194}from'lodash-es';export default class M extends _0x1388fc{['compress'](_0x460ebf,_0x13a8fb){if(!function(_0x4acc0e,_0x1d65ec){if(!_0x4acc0e||!_0x1d65ec)return!0x1;if(_0x19cd('0x8')!=_0x4acc0e[_0x19cd('0x15')]||'MarkerOperation'!=_0x1d65ec[_0x19cd('0x15')])return!0x1;if(_0x4acc0e[_0x19cd('0xe')][_0x19cd('0x9')](_0x19cd('0x10'))&&_0x1d65ec[_0x19cd('0xe')][_0x19cd('0x9')]('user:')&&_0x4acc0e['name']!=_0x1d65ec[_0x19cd('0xe')])return!0x0;return!0x1;}(_0x13a8fb[0x0],_0x13a8fb[0x1]))return!0x1;const _0x7185b7=_0x13a8fb[_0x19cd('0x3')]();return _0x7185b7[_0x19cd('0x0')]=null,_0x7185b7[_0x19cd('0x11')]&&_0x399c46(_0x7185b7[_0x19cd('0x11')]['start'],_0x7185b7[_0x19cd('0x11')][_0x19cd('0x12')])&&(_0x7185b7[_0x19cd('0x11')]['end']=null),_0x13a8fb['shift'](),_0x460ebf[_0x19cd('0xa')][_0x19cd('0x13')](this['id']),_0x460ebf[_0x19cd('0xa')][_0x19cd('0x13')](0x0),_0x460ebf['buffers'][_0x19cd('0x13')](this[_0x19cd('0x4')](_0x7185b7)),!0x0;}[_0x19cd('0xd')](_0x5b290d,_0x54bf80){const _0x28492c=this[_0x19cd('0x14')](_0x54bf80);_0x28492c['newRange']&&!_0x28492c[_0x19cd('0x11')]['end']&&(_0x28492c[_0x19cd('0x11')][_0x19cd('0x12')]=_0x317194(_0x28492c[_0x19cd('0x11')]['start']));const _0x3e820a=_0x317194(_0x28492c);_0x3e820a[_0x19cd('0x11')]&&(_0x3e820a[_0x19cd('0x11')][_0x19cd('0x6')]['stickiness']=_0x19cd('0xf'),_0x3e820a[_0x19cd('0x11')]['end']=_0x317194(_0x3e820a['newRange'][_0x19cd('0x6')])),_0x3e820a[_0x19cd('0xe')]=_0x19cd('0x7')+_0x3e820a[_0x19cd('0xe')][_0x19cd('0xc')](':')[0x2],_0x54bf80[_0x19cd('0xa')][_0x19cd('0x3')](),_0x5b290d['push'](_0x28492c),_0x5b290d[_0x19cd('0x13')](_0x3e820a);}[_0x19cd('0x4')](_0x28046a){const _0x1fc139={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x19cd('0x5')][_0x19cd('0xb')]('MarkerOperation')[_0x19cd('0x2')](_0x1fc139,[_0x28046a]),_0x1fc139[_0x19cd('0x1')][0x0];}[_0x19cd('0x14')](_0x30e075){const _0x1e6811=[];return this[_0x19cd('0x5')][_0x19cd('0xb')]('MarkerOperation')[_0x19cd('0xd')](_0x1e6811,_0x30e075),_0x1e6811[0x0];}} | ||
const _0x2afd=['decompress','oldRange','buffers','shift','types','start','_compressSingleOperation','__className','name','compress','newRange','user:','user:position:','_decompressSingleOperation','MarkerOperation','_getCompressorByName','end','startsWith','push','split','stickiness'];(function(_0x10175f,_0x2afddb){const _0x15f46b=function(_0x28521f){while(--_0x28521f){_0x10175f['push'](_0x10175f['shift']());}};_0x15f46b(++_0x2afddb);}(_0x2afd,0x68));const _0x15f4=function(_0x10175f,_0x2afddb){_0x10175f=_0x10175f-0x0;let _0x15f46b=_0x2afd[_0x10175f];return _0x15f46b;};import _0x3a8f9f from'./actioncompressor';import{arePositionsEqual as _0x35831d}from'../utils';import{cloneDeep as _0x4fc7f5}from'lodash-es';export default class M extends _0x3a8f9f{[_0x15f4('0xa')](_0x36a57d,_0x3e835d){if(!function(_0x26d787,_0x4e7451){if(!_0x26d787||!_0x4e7451)return!0x1;if(_0x15f4('0xf')!=_0x26d787[_0x15f4('0x8')]||_0x15f4('0xf')!=_0x4e7451[_0x15f4('0x8')])return!0x1;if(_0x26d787['name']['startsWith'](_0x15f4('0xc'))&&_0x4e7451[_0x15f4('0x9')][_0x15f4('0x12')](_0x15f4('0xc'))&&_0x26d787['name']!=_0x4e7451[_0x15f4('0x9')])return!0x0;return!0x1;}(_0x3e835d[0x0],_0x3e835d[0x1]))return!0x1;const _0x1002b6=_0x3e835d[_0x15f4('0x4')]();return _0x1002b6[_0x15f4('0x2')]=null,_0x1002b6['newRange']&&_0x35831d(_0x1002b6[_0x15f4('0xb')][_0x15f4('0x6')],_0x1002b6['newRange'][_0x15f4('0x11')])&&(_0x1002b6[_0x15f4('0xb')][_0x15f4('0x11')]=null),_0x3e835d[_0x15f4('0x4')](),_0x36a57d[_0x15f4('0x5')][_0x15f4('0x13')](this['id']),_0x36a57d[_0x15f4('0x5')][_0x15f4('0x13')](0x0),_0x36a57d[_0x15f4('0x3')][_0x15f4('0x13')](this[_0x15f4('0x7')](_0x1002b6)),!0x0;}[_0x15f4('0x1')](_0x599683,_0x5ca71c){const _0x1ce7c0=this[_0x15f4('0xe')](_0x5ca71c);_0x1ce7c0[_0x15f4('0xb')]&&!_0x1ce7c0['newRange'][_0x15f4('0x11')]&&(_0x1ce7c0[_0x15f4('0xb')]['end']=_0x4fc7f5(_0x1ce7c0[_0x15f4('0xb')][_0x15f4('0x6')]));const _0x2fc7e4=_0x4fc7f5(_0x1ce7c0);_0x2fc7e4[_0x15f4('0xb')]&&(_0x2fc7e4[_0x15f4('0xb')]['start'][_0x15f4('0x0')]='toNone',_0x2fc7e4[_0x15f4('0xb')][_0x15f4('0x11')]=_0x4fc7f5(_0x2fc7e4[_0x15f4('0xb')][_0x15f4('0x6')])),_0x2fc7e4['name']=_0x15f4('0xd')+_0x2fc7e4[_0x15f4('0x9')][_0x15f4('0x14')](':')[0x2],_0x5ca71c[_0x15f4('0x5')][_0x15f4('0x4')](),_0x599683[_0x15f4('0x13')](_0x1ce7c0),_0x599683[_0x15f4('0x13')](_0x2fc7e4);}[_0x15f4('0x7')](_0x4aa02a){const _0x1ec60b={'types':[],'buffers':[],'baseVersion':0x0};return this['_context'][_0x15f4('0x10')](_0x15f4('0xf'))[_0x15f4('0xa')](_0x1ec60b,[_0x4aa02a]),_0x1ec60b[_0x15f4('0x3')][0x0];}[_0x15f4('0xe')](_0x46e695){const _0x3f3c6a=[];return this['_context'][_0x15f4('0x10')](_0x15f4('0xf'))[_0x15f4('0x1')](_0x3f3c6a,_0x46e695),_0x3f3c6a[0x0];}} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
var _0x43a2=['string','Position','bool','Element','repeated','uint32'];(function(_0x311568,_0x43a248){var _0x13776f=function(_0x559305){while(--_0x559305){_0x311568['push'](_0x311568['shift']());}};_0x13776f(++_0x43a248);}(_0x43a2,0x132));var _0x1377=function(_0x311568,_0x43a248){_0x311568=_0x311568-0x0;var _0x13776f=_0x43a2[_0x311568];return _0x13776f;};export default{'Position':{'fields':{'root':{'type':_0x1377('0x0'),'id':0x1},'rootMain':{'type':_0x1377('0x2'),'id':0x2},'rootGraveyard':{'type':_0x1377('0x2'),'id':0x3},'path':{'rule':_0x1377('0x4'),'type':_0x1377('0x5'),'id':0x4},'stickiness':{'type':_0x1377('0x0'),'id':0x5}}},'Range':{'fields':{'start':{'type':_0x1377('0x1'),'id':0x1},'end':{'type':'Position','id':0x2}}},'Element':{'fields':{'name':{'type':_0x1377('0x0'),'id':0x1},'children':{'rule':_0x1377('0x4'),'type':_0x1377('0x3'),'id':0x2},'data':{'type':_0x1377('0x0'),'id':0x3},'attributesBoolean':{'keyType':'string','type':_0x1377('0x2'),'id':0x4},'attributesJson':{'type':_0x1377('0x0'),'id':0x5}}}}; | ||
var _0x2036=['Element','string','bool','Position','repeated','uint32'];(function(_0x2b8d61,_0x203676){var _0x300ba3=function(_0x289b5f){while(--_0x289b5f){_0x2b8d61['push'](_0x2b8d61['shift']());}};_0x300ba3(++_0x203676);}(_0x2036,0x11b));var _0x300b=function(_0x2b8d61,_0x203676){_0x2b8d61=_0x2b8d61-0x0;var _0x300ba3=_0x2036[_0x2b8d61];return _0x300ba3;};export default{'Position':{'fields':{'root':{'type':_0x300b('0x0'),'id':0x1},'rootMain':{'type':_0x300b('0x1'),'id':0x2},'rootGraveyard':{'type':_0x300b('0x1'),'id':0x3},'path':{'rule':_0x300b('0x3'),'type':_0x300b('0x4'),'id':0x4},'stickiness':{'type':_0x300b('0x0'),'id':0x5}}},'Range':{'fields':{'start':{'type':_0x300b('0x2'),'id':0x1},'end':{'type':_0x300b('0x2'),'id':0x2}}},'Element':{'fields':{'name':{'type':'string','id':0x1},'children':{'rule':'repeated','type':_0x300b('0x5'),'id':0x2},'data':{'type':_0x300b('0x0'),'id':0x3},'attributesBoolean':{'keyType':_0x300b('0x0'),'type':_0x300b('0x1'),'id':0x4},'attributesJson':{'type':_0x300b('0x0'),'id':0x5}}}}; |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x5594=['Element','InsertOperation','_getCompressorByName','Position','MarkerOperation','baseVersion','build','RenameOperation','set','get','compress','DeletingAction','comment','UserSelectionAction','_registerCompressor','TypingAction','registerDescriptor','Range','_protobufFactory','getDescriptor','description','_registerActionCompressor','_registerOperationCompressor','NoOperation','decompress','ForwardDeletingAction','MergeOperation','forEach','SuggestionMarkerOperation','suggestion','SplitOperation','MoveOperation','_compressorById','types','_compressorByName','AttributeOperation','CommentMarkerOperation','RootAttributeOperation','length','no-operations-provided'];(function(_0x2c0bfb,_0x5594c8){const _0x5fabc1=function(_0x2857a3){while(--_0x2857a3){_0x2c0bfb['push'](_0x2c0bfb['shift']());}};_0x5fabc1(++_0x5594c8);}(_0x5594,0x11d));const _0x5fab=function(_0x2c0bfb,_0x5594c8){_0x2c0bfb=_0x2c0bfb-0x0;let _0x5fabc1=_0x5594[_0x2c0bfb];return _0x5fabc1;};import{CKEditorError as _0x34e921}from'ckeditor5/src/utils';import _0x478223 from'./protobuffactory';import _0x4268d3 from'./commondescriptions';import _0x50551e from'./operationcompressor/attributeoperationcompressor';import _0x911686 from'./operationcompressor/insertoperationcompressor';import _0x1a8117 from'./operationcompressor/markeroperationcompressor';import _0x3d77ab from'./operationcompressor/mergeoperationcompressor';import _0x449e11 from'./operationcompressor/moveoperationcompressor';import _0x2884ee from'./operationcompressor/renameoperationcompressor';import _0x453008 from'./operationcompressor/rootattributeoperationcompressor';import _0x2fbf40 from'./operationcompressor/splitoperationcompressor';import _0x3d77b1 from'./operationcompressor/nooperationcompressor';import _0x294de7 from'./operationcompressor/annotationmarkeroperationcompressor';import _0x297278 from'./actioncompressor/typingactioncompressor';import _0x4cbafe from'./actioncompressor/deletingactioncompressor';import _0x2afc74 from'./actioncompressor/forwarddeletingactioncompressor';import _0x281e77 from'./actioncompressor/userselectionactioncompressor';export default class w{constructor(){this['_compressorById']=new Map(),this[_0x5fab('0x1d')]=new Map(),this[_0x5fab('0xd')]=new _0x478223(),this[_0x5fab('0xd')][_0x5fab('0xb')]('Position',_0x4268d3[_0x5fab('0x26')]),this['_protobufFactory'][_0x5fab('0xb')](_0x5fab('0xc'),_0x4268d3['Range']),this[_0x5fab('0xd')][_0x5fab('0xb')](_0x5fab('0x23'),_0x4268d3['Element']),this[_0x5fab('0xd')][_0x5fab('0xb')](_0x5fab('0x1e'),_0x50551e[_0x5fab('0xf')]),this[_0x5fab('0xd')][_0x5fab('0xb')](_0x5fab('0x24'),_0x911686[_0x5fab('0xf')]),this[_0x5fab('0xd')][_0x5fab('0xb')]('MarkerOperation',_0x1a8117[_0x5fab('0xf')]),this['_protobufFactory'][_0x5fab('0xb')](_0x5fab('0x15'),_0x3d77ab[_0x5fab('0xf')]),this[_0x5fab('0xd')][_0x5fab('0xb')](_0x5fab('0x1a'),_0x449e11[_0x5fab('0xf')]),this['_protobufFactory'][_0x5fab('0xb')](_0x5fab('0x2'),_0x2884ee['description']),this['_protobufFactory']['registerDescriptor']('RootAttributeOperation',_0x453008[_0x5fab('0xf')]),this[_0x5fab('0xd')]['registerDescriptor']('SplitOperation',_0x2fbf40[_0x5fab('0xf')]),this['_protobufFactory'][_0x5fab('0x1')](),this[_0x5fab('0x9')](0x1,_0x5fab('0x12'),new _0x3d77b1(0x1,_0x5fab('0x12'))),this['_registerOperationCompressor'](0xa,_0x5fab('0x1e'),_0x50551e),this['_registerOperationCompressor'](0xb,_0x5fab('0x24'),_0x911686),this[_0x5fab('0x11')](0xc,'MarkerOperation',_0x1a8117),this['_registerOperationCompressor'](0xd,_0x5fab('0x15'),_0x3d77ab),this[_0x5fab('0x11')](0xe,_0x5fab('0x1a'),_0x449e11),this[_0x5fab('0x11')](0xf,'RenameOperation',_0x2884ee),this[_0x5fab('0x11')](0x10,_0x5fab('0x20'),_0x453008),this[_0x5fab('0x11')](0x11,_0x5fab('0x19'),_0x2fbf40);const _0x4ca6f6=this[_0x5fab('0xd')]['getDescriptor'](_0x5fab('0x27'));this[_0x5fab('0x9')](0x12,_0x5fab('0x1f'),new _0x294de7(0x12,_0x5fab('0x27'),_0x4ca6f6,_0x5fab('0x7'))),this[_0x5fab('0x9')](0x13,'SuggestionMarkerOperation',new _0x294de7(0x13,'MarkerOperation',_0x4ca6f6,_0x5fab('0x18'))),this[_0x5fab('0x10')](0x64,_0x5fab('0xa'),_0x297278),this[_0x5fab('0x10')](0x65,'DeletingAction',_0x4cbafe),this[_0x5fab('0x10')](0x66,_0x5fab('0x14'),_0x2afc74),this[_0x5fab('0x10')](0x67,_0x5fab('0x8'),_0x281e77);}[_0x5fab('0x11')](_0x32dbad,_0x3c217b,_0xc5f43){const _0xadcfc9=new _0xc5f43(_0x32dbad,_0x3c217b,this[_0x5fab('0xd')][_0x5fab('0xe')](_0x3c217b));this[_0x5fab('0x9')](_0x32dbad,_0x3c217b,_0xadcfc9);}[_0x5fab('0x10')](_0x448c30,_0x205db3,_0x18b09b){const _0x55ae1f=new _0x18b09b(_0x448c30,this);this[_0x5fab('0x9')](_0x448c30,_0x205db3,_0x55ae1f);}[_0x5fab('0x9')](_0x2873eb,_0x534604,_0x2a58ce){this[_0x5fab('0x1b')][_0x5fab('0x3')](_0x2873eb,_0x2a58ce),this[_0x5fab('0x1d')][_0x5fab('0x3')](_0x534604,_0x2a58ce);}[_0x5fab('0x25')](_0x487b47){return this['_compressorByName'][_0x5fab('0x4')](_0x487b47);}[_0x5fab('0x5')](_0x144c26){if(!_0x144c26||!_0x144c26[0x0])throw new _0x34e921(_0x5fab('0x22'),this);const _0x75b8f9={'types':[],'buffers':[],'baseVersion':_0x144c26[0x0][_0x5fab('0x0')]};for(;_0x144c26[_0x5fab('0x21')];)this[_0x5fab('0x25')](_0x5fab('0x8'))[_0x5fab('0x5')](_0x75b8f9,_0x144c26)||this[_0x5fab('0x25')](_0x5fab('0xa'))[_0x5fab('0x5')](_0x75b8f9,_0x144c26)||this['_getCompressorByName'](_0x5fab('0x6'))[_0x5fab('0x5')](_0x75b8f9,_0x144c26)||this[_0x5fab('0x25')](_0x5fab('0x14'))[_0x5fab('0x5')](_0x75b8f9,_0x144c26)||this[_0x5fab('0x25')](_0x5fab('0x1f'))[_0x5fab('0x5')](_0x75b8f9,_0x144c26)||this[_0x5fab('0x25')](_0x5fab('0x17'))[_0x5fab('0x5')](_0x75b8f9,_0x144c26)||this['_getCompressorByName'](_0x144c26[0x0]['__className'])['compress'](_0x75b8f9,_0x144c26);return _0x75b8f9;}[_0x5fab('0x13')](_0x5d5040){const _0x15d8cc=[];for(;_0x5d5040[_0x5fab('0x1c')]['length'];){this['_compressorById']['get'](_0x5d5040['types'][0x0])[_0x5fab('0x13')](_0x15d8cc,_0x5d5040);}return _0x15d8cc[_0x5fab('0x16')]((_0x4a0f73,_0x327f54)=>_0x4a0f73[_0x5fab('0x0')]=_0x5d5040[_0x5fab('0x0')]+_0x327f54),_0x15d8cc;}} | ||
const _0x4d09=['Element','set','_compressorById','SplitOperation','MergeOperation','_registerOperationCompressor','length','UserSelectionAction','CommentMarkerOperation','_compressorByName','RootAttributeOperation','_protobufFactory','_registerActionCompressor','build','Position','DeletingAction','NoOperation','MoveOperation','decompress','SuggestionMarkerOperation','TypingAction','_registerCompressor','Range','MarkerOperation','baseVersion','description','forEach','registerDescriptor','types','getDescriptor','get','_getCompressorByName','compress'];(function(_0x15927f,_0x4d098f){const _0x51a488=function(_0x4e707a){while(--_0x4e707a){_0x15927f['push'](_0x15927f['shift']());}};_0x51a488(++_0x4d098f);}(_0x4d09,0xbe));const _0x51a4=function(_0x15927f,_0x4d098f){_0x15927f=_0x15927f-0x0;let _0x51a488=_0x4d09[_0x15927f];return _0x51a488;};import{CKEditorError as _0x92cd12}from'ckeditor5/src/utils';import _0x3e233e from'./protobuffactory';import _0x170b55 from'./commondescriptions';import _0x569aef from'./operationcompressor/attributeoperationcompressor';import _0x29caa4 from'./operationcompressor/insertoperationcompressor';import _0x5b94c9 from'./operationcompressor/markeroperationcompressor';import _0x18c958 from'./operationcompressor/mergeoperationcompressor';import _0x42f0e6 from'./operationcompressor/moveoperationcompressor';import _0x52fb87 from'./operationcompressor/renameoperationcompressor';import _0x107fc4 from'./operationcompressor/rootattributeoperationcompressor';import _0x1ba9c6 from'./operationcompressor/splitoperationcompressor';import _0x2fbf19 from'./operationcompressor/nooperationcompressor';import _0x4f9a56 from'./operationcompressor/annotationmarkeroperationcompressor';import _0x44a53e from'./actioncompressor/typingactioncompressor';import _0x55145f from'./actioncompressor/deletingactioncompressor';import _0xdd0187 from'./actioncompressor/forwarddeletingactioncompressor';import _0x5e5939 from'./actioncompressor/userselectionactioncompressor';export default class w{constructor(){this[_0x51a4('0xa')]=new Map(),this[_0x51a4('0x11')]=new Map(),this[_0x51a4('0x13')]=new _0x3e233e(),this[_0x51a4('0x13')][_0x51a4('0x2')](_0x51a4('0x16'),_0x170b55['Position']),this[_0x51a4('0x13')]['registerDescriptor'](_0x51a4('0x1e'),_0x170b55[_0x51a4('0x1e')]),this['_protobufFactory'][_0x51a4('0x2')](_0x51a4('0x8'),_0x170b55['Element']),this[_0x51a4('0x13')][_0x51a4('0x2')]('AttributeOperation',_0x569aef[_0x51a4('0x0')]),this['_protobufFactory'][_0x51a4('0x2')]('InsertOperation',_0x29caa4[_0x51a4('0x0')]),this[_0x51a4('0x13')][_0x51a4('0x2')](_0x51a4('0x1f'),_0x5b94c9[_0x51a4('0x0')]),this['_protobufFactory'][_0x51a4('0x2')](_0x51a4('0xc'),_0x18c958[_0x51a4('0x0')]),this['_protobufFactory']['registerDescriptor'](_0x51a4('0x19'),_0x42f0e6[_0x51a4('0x0')]),this[_0x51a4('0x13')][_0x51a4('0x2')]('RenameOperation',_0x52fb87['description']),this[_0x51a4('0x13')][_0x51a4('0x2')](_0x51a4('0x12'),_0x107fc4[_0x51a4('0x0')]),this[_0x51a4('0x13')]['registerDescriptor']('SplitOperation',_0x1ba9c6[_0x51a4('0x0')]),this[_0x51a4('0x13')][_0x51a4('0x15')](),this['_registerCompressor'](0x1,_0x51a4('0x18'),new _0x2fbf19(0x1,_0x51a4('0x18'))),this[_0x51a4('0xd')](0xa,'AttributeOperation',_0x569aef),this[_0x51a4('0xd')](0xb,'InsertOperation',_0x29caa4),this[_0x51a4('0xd')](0xc,_0x51a4('0x1f'),_0x5b94c9),this[_0x51a4('0xd')](0xd,_0x51a4('0xc'),_0x18c958),this[_0x51a4('0xd')](0xe,_0x51a4('0x19'),_0x42f0e6),this[_0x51a4('0xd')](0xf,'RenameOperation',_0x52fb87),this[_0x51a4('0xd')](0x10,_0x51a4('0x12'),_0x107fc4),this[_0x51a4('0xd')](0x11,_0x51a4('0xb'),_0x1ba9c6);const _0x399bc2=this['_protobufFactory'][_0x51a4('0x4')]('MarkerOperation');this[_0x51a4('0x1d')](0x12,_0x51a4('0x10'),new _0x4f9a56(0x12,_0x51a4('0x1f'),_0x399bc2,'comment')),this[_0x51a4('0x1d')](0x13,_0x51a4('0x1b'),new _0x4f9a56(0x13,_0x51a4('0x1f'),_0x399bc2,'suggestion')),this['_registerActionCompressor'](0x64,'TypingAction',_0x44a53e),this['_registerActionCompressor'](0x65,_0x51a4('0x17'),_0x55145f),this[_0x51a4('0x14')](0x66,'ForwardDeletingAction',_0xdd0187),this[_0x51a4('0x14')](0x67,_0x51a4('0xf'),_0x5e5939);}[_0x51a4('0xd')](_0x7438ae,_0x344563,_0x486fdf){const _0xeb5d61=new _0x486fdf(_0x7438ae,_0x344563,this[_0x51a4('0x13')][_0x51a4('0x4')](_0x344563));this[_0x51a4('0x1d')](_0x7438ae,_0x344563,_0xeb5d61);}[_0x51a4('0x14')](_0x36242e,_0x253bf1,_0xae7af2){const _0x142ce6=new _0xae7af2(_0x36242e,this);this['_registerCompressor'](_0x36242e,_0x253bf1,_0x142ce6);}['_registerCompressor'](_0x3a4337,_0x4eba62,_0x2ccd15){this['_compressorById']['set'](_0x3a4337,_0x2ccd15),this[_0x51a4('0x11')][_0x51a4('0x9')](_0x4eba62,_0x2ccd15);}[_0x51a4('0x6')](_0x8550b3){return this[_0x51a4('0x11')][_0x51a4('0x5')](_0x8550b3);}[_0x51a4('0x7')](_0x4ab458){if(!_0x4ab458||!_0x4ab458[0x0])throw new _0x92cd12('no-operations-provided',this);const _0x573132={'types':[],'buffers':[],'baseVersion':_0x4ab458[0x0]['baseVersion']};for(;_0x4ab458['length'];)this[_0x51a4('0x6')]('UserSelectionAction')[_0x51a4('0x7')](_0x573132,_0x4ab458)||this[_0x51a4('0x6')](_0x51a4('0x1c'))[_0x51a4('0x7')](_0x573132,_0x4ab458)||this[_0x51a4('0x6')]('DeletingAction')['compress'](_0x573132,_0x4ab458)||this[_0x51a4('0x6')]('ForwardDeletingAction')['compress'](_0x573132,_0x4ab458)||this[_0x51a4('0x6')](_0x51a4('0x10'))[_0x51a4('0x7')](_0x573132,_0x4ab458)||this[_0x51a4('0x6')]('SuggestionMarkerOperation')[_0x51a4('0x7')](_0x573132,_0x4ab458)||this[_0x51a4('0x6')](_0x4ab458[0x0]['__className'])[_0x51a4('0x7')](_0x573132,_0x4ab458);return _0x573132;}[_0x51a4('0x1a')](_0x518f28){const _0xde7d75=[];for(;_0x518f28[_0x51a4('0x3')][_0x51a4('0xe')];){this['_compressorById'][_0x51a4('0x5')](_0x518f28[_0x51a4('0x3')][0x0])['decompress'](_0xde7d75,_0x518f28);}return _0xde7d75[_0x51a4('0x1')]((_0x4411ad,_0x544258)=>_0x4411ad['baseVersion']=_0x518f28[_0x51a4('0x20')]+_0x544258),_0xde7d75;}} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x116b=['replace','MarkerOperation','length','compress','_omittedNamespace','startsWith','__className','name'];(function(_0x5ae80d,_0x116b61){const _0xcda2f5=function(_0xe0b57){while(--_0xe0b57){_0x5ae80d['push'](_0x5ae80d['shift']());}};_0xcda2f5(++_0x116b61);}(_0x116b,0x1e2));const _0xcda2=function(_0x5ae80d,_0x116b61){_0x5ae80d=_0x5ae80d-0x0;let _0xcda2f5=_0x116b[_0x5ae80d];return _0xcda2f5;};import _0x2f4c7c from'./markeroperationcompressor';export default class O extends _0x2f4c7c{constructor(_0x3a508a,_0x1ede2b,_0x320507,_0x444289){super(_0x3a508a,_0x1ede2b,_0x320507),this['_omittedNamespace']=_0x444289+':';}['compress'](_0x6a88c3,_0x431cf1){return!(_0xcda2('0x7')!=_0x431cf1[0x0][_0xcda2('0x4')]||!_0x431cf1[0x0][_0xcda2('0x5')][_0xcda2('0x3')](this[_0xcda2('0x2')]))&&(_0x431cf1[0x0][_0xcda2('0x5')]=_0x431cf1[0x0]['name'][_0xcda2('0x6')](new RegExp('^'+this[_0xcda2('0x2')]),''),super[_0xcda2('0x1')](_0x6a88c3,_0x431cf1),!0x0);}['decompress'](_0x295910,_0x1b1915){super['decompress'](_0x295910,_0x1b1915);const _0x446126=_0x295910[_0x295910[_0xcda2('0x0')]-0x1];_0x446126[_0xcda2('0x5')]=this[_0xcda2('0x2')]+_0x446126[_0xcda2('0x5')];}} | ||
const _0x10b6=['_omittedNamespace','length','name','startsWith','MarkerOperation','__className','compress','decompress'];(function(_0x2d496f,_0x10b697){const _0x80b438=function(_0x45e392){while(--_0x45e392){_0x2d496f['push'](_0x2d496f['shift']());}};_0x80b438(++_0x10b697);}(_0x10b6,0x122));const _0x80b4=function(_0x2d496f,_0x10b697){_0x2d496f=_0x2d496f-0x0;let _0x80b438=_0x10b6[_0x2d496f];return _0x80b438;};import _0x2566c3 from'./markeroperationcompressor';export default class O extends _0x2566c3{constructor(_0x458a42,_0x15e55a,_0x3d45b5,_0x4d95a7){super(_0x458a42,_0x15e55a,_0x3d45b5),this[_0x80b4('0x6')]=_0x4d95a7+':';}[_0x80b4('0x4')](_0x3ec1bf,_0x36cddf){return!(_0x80b4('0x2')!=_0x36cddf[0x0][_0x80b4('0x3')]||!_0x36cddf[0x0][_0x80b4('0x0')][_0x80b4('0x1')](this[_0x80b4('0x6')]))&&(_0x36cddf[0x0]['name']=_0x36cddf[0x0][_0x80b4('0x0')]['replace'](new RegExp('^'+this[_0x80b4('0x6')]),''),super[_0x80b4('0x4')](_0x3ec1bf,_0x36cddf),!0x0);}[_0x80b4('0x5')](_0x41ba45,_0xa1877c){super[_0x80b4('0x5')](_0x41ba45,_0xa1877c);const _0x2b0a43=_0x41ba45[_0x41ba45[_0x80b4('0x7')]-0x1];_0x2b0a43['name']=this[_0x80b4('0x6')]+_0x2b0a43['name'];}} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x16cf=['bool','Boolean','operationName','Json','stringify','decompress','Range','push','boolean','description','buffers','oldValue','types','_protobufDescriptor','compress','shift','newValue','__className','parse'];(function(_0x3b37df,_0x16cf72){const _0x15273c=function(_0x3e98a1){while(--_0x3e98a1){_0x3b37df['push'](_0x3b37df['shift']());}};_0x15273c(++_0x16cf72);}(_0x16cf,0x15c));const _0x1527=function(_0x3b37df,_0x16cf72){_0x3b37df=_0x3b37df-0x0;let _0x15273c=_0x16cf[_0x3b37df];return _0x15273c;};import _0x570dae from'./operationcompressor';import{parsePositionBeforeCompression as _0x481979,parsePositionAfterCompression as _0x3fcd05}from'../utils';export default class i extends _0x570dae{static get[_0x1527('0x3')](){return{'fields':{'range':{'type':_0x1527('0x0'),'id':0x1},'key':{'type':'string','id':0x2},'oldValueBoolean':{'type':'bool','id':0x3},'oldValueJson':{'type':'string','id':0x4},'newValueBoolean':{'type':_0x1527('0xd'),'id':0x5},'newValueJson':{'type':'string','id':0x6},'wasUndone':{'type':'bool','id':0x7}}};}[_0x1527('0x8')](_0x378bf7,_0x2a1edb){const _0x48f34a=_0x2a1edb[_0x1527('0x9')]();$(_0x1527('0x5'),_0x48f34a),$(_0x1527('0xa'),_0x48f34a),_0x481979(_0x48f34a),_0x378bf7[_0x1527('0x4')][_0x1527('0x1')](this['_protobufDescriptor']['compress'](_0x48f34a)),_0x378bf7[_0x1527('0x6')][_0x1527('0x1')](this['id']);}[_0x1527('0x12')](_0x4c3ba1,_0x264b6a){const {types:_0x4b07c7,buffers:_0x1b79fd}=_0x264b6a,_0x233cda=this[_0x1527('0x7')]['decompress'](_0x1b79fd[_0x1527('0x9')]());_0x4b07c7[_0x1527('0x9')](),N(_0x1527('0x5'),_0x233cda),N(_0x1527('0xa'),_0x233cda),_0x3fcd05(_0x233cda),_0x233cda[_0x1527('0xb')]=this[_0x1527('0xf')],_0x4c3ba1[_0x1527('0x1')](_0x233cda);}}function $(_0x1957fa,_0x463e06){const _0x11626a=_0x463e06[_0x1957fa];_0x1527('0x2')==typeof _0x11626a?_0x463e06[_0x1957fa+_0x1527('0xe')]=_0x11626a:_0x463e06[_0x1957fa+_0x1527('0x10')]=JSON[_0x1527('0x11')](_0x11626a);}function N(_0x2e0aa1,_0x9dd8d7){const _0x1aa60f=_0x2e0aa1+_0x1527('0x10');_0x9dd8d7[_0x1aa60f]?(_0x9dd8d7[_0x2e0aa1]=JSON[_0x1527('0xc')](_0x9dd8d7[_0x1aa60f]),delete _0x9dd8d7[_0x1aa60f]):(_0x9dd8d7[_0x2e0aa1]=_0x9dd8d7[_0x2e0aa1+'Boolean'],delete _0x9dd8d7[_0x2e0aa1+_0x1527('0xe')]);} | ||
const _0x45ec=['string','Json','Boolean','bool','oldValue','shift','__className','stringify','description','newValue','operationName','compress','parse'];(function(_0x5394ec,_0x45ecda){const _0x59d00e=function(_0x2e01d0){while(--_0x2e01d0){_0x5394ec['push'](_0x5394ec['shift']());}};_0x59d00e(++_0x45ecda);}(_0x45ec,0x1c3));const _0x59d0=function(_0x5394ec,_0x45ecda){_0x5394ec=_0x5394ec-0x0;let _0x59d00e=_0x45ec[_0x5394ec];return _0x59d00e;};import _0x42b90e from'./operationcompressor';import{parsePositionBeforeCompression as _0x1c4473,parsePositionAfterCompression as _0x190b25}from'../utils';export default class i extends _0x42b90e{static get[_0x59d0('0xc')](){return{'fields':{'range':{'type':'Range','id':0x1},'key':{'type':_0x59d0('0x4'),'id':0x2},'oldValueBoolean':{'type':_0x59d0('0x7'),'id':0x3},'oldValueJson':{'type':'string','id':0x4},'newValueBoolean':{'type':'bool','id':0x5},'newValueJson':{'type':'string','id':0x6},'wasUndone':{'type':'bool','id':0x7}}};}['compress'](_0x132d50,_0x18cb19){const _0x3e1ec5=_0x18cb19[_0x59d0('0x9')]();$(_0x59d0('0x8'),_0x3e1ec5),$(_0x59d0('0x0'),_0x3e1ec5),_0x1c4473(_0x3e1ec5),_0x132d50['buffers']['push'](this['_protobufDescriptor'][_0x59d0('0x2')](_0x3e1ec5)),_0x132d50['types']['push'](this['id']);}['decompress'](_0x1d20d3,_0x401595){const {types:_0x85cf06,buffers:_0x3a8075}=_0x401595,_0x599337=this['_protobufDescriptor']['decompress'](_0x3a8075[_0x59d0('0x9')]());_0x85cf06[_0x59d0('0x9')](),N(_0x59d0('0x8'),_0x599337),N(_0x59d0('0x0'),_0x599337),_0x190b25(_0x599337),_0x599337[_0x59d0('0xa')]=this[_0x59d0('0x1')],_0x1d20d3['push'](_0x599337);}}function $(_0x1286fd,_0xee28b){const _0x2f93f4=_0xee28b[_0x1286fd];'boolean'==typeof _0x2f93f4?_0xee28b[_0x1286fd+_0x59d0('0x6')]=_0x2f93f4:_0xee28b[_0x1286fd+_0x59d0('0x5')]=JSON[_0x59d0('0xb')](_0x2f93f4);}function N(_0x34752,_0x355938){const _0x22e131=_0x34752+_0x59d0('0x5');_0x355938[_0x22e131]?(_0x355938[_0x34752]=JSON[_0x59d0('0x3')](_0x355938[_0x22e131]),delete _0x355938[_0x22e131]):(_0x355938[_0x34752]=_0x355938[_0x34752+_0x59d0('0x6')],delete _0x355938[_0x34752+'Boolean']);} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x2709=['attributes','Element','compress','parse','boolean','attributesBoolean','keys','decompress','stringify','description','push','nodes','operationName','attributesJson','children','bool','repeated','buffers','shift','types','__className','every'];(function(_0x5df391,_0x27094c){const _0x214bc8=function(_0x3fc95d){while(--_0x3fc95d){_0x5df391['push'](_0x5df391['shift']());}};_0x214bc8(++_0x27094c);}(_0x2709,0x1ef));const _0x214b=function(_0x5df391,_0x27094c){_0x5df391=_0x5df391-0x0;let _0x214bc8=_0x2709[_0x5df391];return _0x214bc8;};import _0x431134 from'./operationcompressor';import{parsePositionBeforeCompression as _0x5094be,parsePositionAfterCompression as _0x97743d}from'../utils';export default class s extends _0x431134{static get[_0x214b('0x14')](){return{'fields':{'position':{'type':'Position','id':0x1},'nodes':{'rule':_0x214b('0x5'),'type':_0x214b('0xc'),'id':0x2},'shouldReceiveAttributes':{'type':'bool','id':0x3},'wasUndone':{'type':_0x214b('0x4'),'id':0x4}}};}[_0x214b('0xd')](_0x7cc8a3,_0x2f2f5c){const _0x174eb0=_0x2f2f5c[_0x214b('0x7')]();A(_0x174eb0[_0x214b('0x0')]),_0x5094be(_0x174eb0),_0x7cc8a3[_0x214b('0x6')]['push'](this['_protobufDescriptor']['compress'](_0x174eb0)),_0x7cc8a3[_0x214b('0x8')][_0x214b('0x15')](this['id']);}[_0x214b('0x12')](_0x5e14f1,_0x5181a8){const {types:_0xca0e97,buffers:_0x46a8f0}=_0x5181a8,_0x3d922b=this['_protobufDescriptor'][_0x214b('0x12')](_0x46a8f0[_0x214b('0x7')]());_0xca0e97['shift'](),_0x3d922b[_0x214b('0x0')]||(_0x3d922b['nodes']=[]),E(_0x3d922b[_0x214b('0x0')]),_0x97743d(_0x3d922b),_0x3d922b[_0x214b('0x9')]=this[_0x214b('0x1')],_0x5e14f1['push'](_0x3d922b);}}function A(_0x1b78d4){for(const _0x217503 of _0x1b78d4){if(_0x217503[_0x214b('0xb')]){const _0x112bdf=_0x217503[_0x214b('0xb')];R(_0x112bdf)?_0x217503[_0x214b('0x10')]=_0x112bdf:_0x217503[_0x214b('0x2')]=JSON[_0x214b('0x13')](_0x112bdf);}_0x217503['children']&&A(_0x217503['children']);}}function E(_0x28233b){for(const _0x3e8b54 of _0x28233b)(_0x3e8b54[_0x214b('0x10')]||_0x3e8b54[_0x214b('0x2')])&&(_0x3e8b54[_0x214b('0x10')]?(_0x3e8b54['attributes']=_0x3e8b54[_0x214b('0x10')],delete _0x3e8b54[_0x214b('0x10')]):(_0x3e8b54['attributes']=JSON[_0x214b('0xe')](_0x3e8b54['attributesJson']),delete _0x3e8b54[_0x214b('0x2')])),_0x3e8b54[_0x214b('0x3')]&&E(_0x3e8b54[_0x214b('0x3')]);}function R(_0x5e58c5){return Object[_0x214b('0x11')](_0x5e58c5)[_0x214b('0xa')](_0x5af178=>_0x214b('0xf')==typeof _0x5e58c5[_0x5af178]);} | ||
const _0x3de8=['Position','__className','every','shift','Element','buffers','attributesBoolean','_protobufDescriptor','attributes','children','parse','nodes','attributesJson','push','bool','stringify','compress','boolean','keys'];(function(_0x358e24,_0x3de87b){const _0x2826e7=function(_0x431112){while(--_0x431112){_0x358e24['push'](_0x358e24['shift']());}};_0x2826e7(++_0x3de87b);}(_0x3de8,0x145));const _0x2826=function(_0x358e24,_0x3de87b){_0x358e24=_0x358e24-0x0;let _0x2826e7=_0x3de8[_0x358e24];return _0x2826e7;};import _0x419343 from'./operationcompressor';import{parsePositionBeforeCompression as _0x2b85a1,parsePositionAfterCompression as _0x52e6ff}from'../utils';export default class s extends _0x419343{static get['description'](){return{'fields':{'position':{'type':_0x2826('0x11'),'id':0x1},'nodes':{'rule':'repeated','type':_0x2826('0x2'),'id':0x2},'shouldReceiveAttributes':{'type':_0x2826('0xc'),'id':0x3},'wasUndone':{'type':_0x2826('0xc'),'id':0x4}}};}[_0x2826('0xe')](_0x5e4816,_0x410df1){const _0x49a66b=_0x410df1[_0x2826('0x1')]();A(_0x49a66b['nodes']),_0x2b85a1(_0x49a66b),_0x5e4816[_0x2826('0x3')][_0x2826('0xb')](this[_0x2826('0x5')][_0x2826('0xe')](_0x49a66b)),_0x5e4816['types']['push'](this['id']);}['decompress'](_0x457aac,_0x12ac8c){const {types:_0x1eb88d,buffers:_0x1bd826}=_0x12ac8c,_0x211e71=this[_0x2826('0x5')]['decompress'](_0x1bd826[_0x2826('0x1')]());_0x1eb88d[_0x2826('0x1')](),_0x211e71['nodes']||(_0x211e71[_0x2826('0x9')]=[]),E(_0x211e71[_0x2826('0x9')]),_0x52e6ff(_0x211e71),_0x211e71[_0x2826('0x12')]=this['operationName'],_0x457aac[_0x2826('0xb')](_0x211e71);}}function A(_0x282381){for(const _0x2d7a99 of _0x282381){if(_0x2d7a99[_0x2826('0x6')]){const _0x507e45=_0x2d7a99[_0x2826('0x6')];R(_0x507e45)?_0x2d7a99['attributesBoolean']=_0x507e45:_0x2d7a99[_0x2826('0xa')]=JSON[_0x2826('0xd')](_0x507e45);}_0x2d7a99[_0x2826('0x7')]&&A(_0x2d7a99[_0x2826('0x7')]);}}function E(_0x568fd6){for(const _0x31bdfa of _0x568fd6)(_0x31bdfa[_0x2826('0x4')]||_0x31bdfa[_0x2826('0xa')])&&(_0x31bdfa[_0x2826('0x4')]?(_0x31bdfa[_0x2826('0x6')]=_0x31bdfa[_0x2826('0x4')],delete _0x31bdfa['attributesBoolean']):(_0x31bdfa[_0x2826('0x6')]=JSON[_0x2826('0x8')](_0x31bdfa[_0x2826('0xa')]),delete _0x31bdfa[_0x2826('0xa')])),_0x31bdfa[_0x2826('0x7')]&&E(_0x31bdfa[_0x2826('0x7')]);}function R(_0x39710e){return Object[_0x2826('0x10')](_0x39710e)[_0x2826('0x0')](_0x54de65=>_0x2826('0xf')==typeof _0x39710e[_0x54de65]);} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0xeb06=['oldRange','length','newRange','Range','decompress','description','string','bool'];(function(_0x35c939,_0xeb06de){const _0x471970=function(_0x1e44ed){while(--_0x1e44ed){_0x35c939['push'](_0x35c939['shift']());}};_0x471970(++_0xeb06de);}(_0xeb06,0x146));const _0x4719=function(_0x35c939,_0xeb06de){_0x35c939=_0x35c939-0x0;let _0x471970=_0xeb06[_0x35c939];return _0x471970;};import _0x3ca904 from'./operationcompressor';export default class n extends _0x3ca904{static get[_0x4719('0x7')](){return{'fields':{'name':{'type':_0x4719('0x0'),'id':0x1},'oldRange':{'type':'Range','id':0x2},'newRange':{'type':_0x4719('0x5'),'id':0x3},'affectsData':{'type':_0x4719('0x1'),'id':0x4},'wasUndone':{'type':_0x4719('0x1'),'id':0x5}}};}[_0x4719('0x6')](_0x56de60,_0xfc3aff){super[_0x4719('0x6')](_0x56de60,_0xfc3aff);const _0x5a1d18=_0x56de60[_0x56de60[_0x4719('0x3')]-0x1];_0x5a1d18['oldRange']||(_0x5a1d18[_0x4719('0x2')]=null),_0x5a1d18[_0x4719('0x4')]||(_0x5a1d18['newRange']=null);}} | ||
const _0x4bff=['decompress','description','oldRange','string','newRange','bool','length','Range'];(function(_0x45cea1,_0x4bff17){const _0x2532f4=function(_0x4eea97){while(--_0x4eea97){_0x45cea1['push'](_0x45cea1['shift']());}};_0x2532f4(++_0x4bff17);}(_0x4bff,0x76));const _0x2532=function(_0x45cea1,_0x4bff17){_0x45cea1=_0x45cea1-0x0;let _0x2532f4=_0x4bff[_0x45cea1];return _0x2532f4;};import _0x21ac66 from'./operationcompressor';export default class n extends _0x21ac66{static get[_0x2532('0x3')](){return{'fields':{'name':{'type':_0x2532('0x5'),'id':0x1},'oldRange':{'type':_0x2532('0x1'),'id':0x2},'newRange':{'type':'Range','id':0x3},'affectsData':{'type':_0x2532('0x7'),'id':0x4},'wasUndone':{'type':_0x2532('0x7'),'id':0x5}}};}[_0x2532('0x2')](_0x49a358,_0x165312){super[_0x2532('0x2')](_0x49a358,_0x165312);const _0x3ecdfb=_0x49a358[_0x49a358[_0x2532('0x0')]-0x1];_0x3ecdfb[_0x2532('0x4')]||(_0x3ecdfb[_0x2532('0x4')]=null),_0x3ecdfb['newRange']||(_0x3ecdfb[_0x2532('0x6')]=null);}} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
var _0xd690=['uint32','Position','bool'];(function(_0x53624c,_0xd69086){var _0x1a08b=function(_0x4c3997){while(--_0x4c3997){_0x53624c['push'](_0x53624c['shift']());}};_0x1a08b(++_0xd69086);}(_0xd690,0x1c2));var _0x1a08=function(_0x53624c,_0xd69086){_0x53624c=_0x53624c-0x0;var _0x1a08b=_0xd690[_0x53624c];return _0x1a08b;};import _0x3a7e09 from'./operationcompressor';export default class p extends _0x3a7e09{static get['description'](){return{'fields':{'sourcePosition':{'type':'Position','id':0x1},'targetPosition':{'type':_0x1a08('0x1'),'id':0x2},'graveyardPosition':{'type':'Position','id':0x3},'howMany':{'type':_0x1a08('0x0'),'id':0x4},'wasUndone':{'type':_0x1a08('0x2'),'id':0x5}}};}} | ||
var _0x4a70=['description','Position','uint32'];(function(_0x1cd725,_0x4a70ec){var _0x423ad6=function(_0x230c94){while(--_0x230c94){_0x1cd725['push'](_0x1cd725['shift']());}};_0x423ad6(++_0x4a70ec);}(_0x4a70,0xdd));var _0x423a=function(_0x1cd725,_0x4a70ec){_0x1cd725=_0x1cd725-0x0;var _0x423ad6=_0x4a70[_0x1cd725];return _0x423ad6;};import _0x253010 from'./operationcompressor';export default class p extends _0x253010{static get[_0x423a('0x1')](){return{'fields':{'sourcePosition':{'type':_0x423a('0x2'),'id':0x1},'targetPosition':{'type':'Position','id':0x2},'graveyardPosition':{'type':_0x423a('0x2'),'id':0x3},'howMany':{'type':_0x423a('0x0'),'id':0x4},'wasUndone':{'type':'bool','id':0x5}}};}} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
var _0x5a49=['description','bool','Position'];(function(_0x5cc2b5,_0x5a498b){var _0x58fd9a=function(_0x20b35c){while(--_0x20b35c){_0x5cc2b5['push'](_0x5cc2b5['shift']());}};_0x58fd9a(++_0x5a498b);}(_0x5a49,0x1ea));var _0x58fd=function(_0x5cc2b5,_0x5a498b){_0x5cc2b5=_0x5cc2b5-0x0;var _0x58fd9a=_0x5a49[_0x5cc2b5];return _0x58fd9a;};import _0x6a2e52 from'./operationcompressor';export default class m extends _0x6a2e52{static get[_0x58fd('0x2')](){return{'fields':{'sourcePosition':{'type':_0x58fd('0x1'),'id':0x1},'howMany':{'type':'uint32','id':0x2},'targetPosition':{'type':_0x58fd('0x1'),'id':0x3},'wasUndone':{'type':_0x58fd('0x0'),'id':0x4}}};}} | ||
var _0x1f2d=['uint32','bool','Position','description'];(function(_0x9f0b8a,_0x1f2db7){var _0x31384e=function(_0x52a73f){while(--_0x52a73f){_0x9f0b8a['push'](_0x9f0b8a['shift']());}};_0x31384e(++_0x1f2db7);}(_0x1f2d,0x8d));var _0x3138=function(_0x9f0b8a,_0x1f2db7){_0x9f0b8a=_0x9f0b8a-0x0;var _0x31384e=_0x1f2d[_0x9f0b8a];return _0x31384e;};import _0x42b9c4 from'./operationcompressor';export default class m extends _0x42b9c4{static get[_0x3138('0x2')](){return{'fields':{'sourcePosition':{'type':_0x3138('0x1'),'id':0x1},'howMany':{'type':_0x3138('0x3'),'id':0x2},'targetPosition':{'type':_0x3138('0x1'),'id':0x3},'wasUndone':{'type':_0x3138('0x0'),'id':0x4}}};}} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
var _0x1e65=['push','shift','types','operationName','decompress','compress'];(function(_0xc60446,_0x1e6569){var _0x149f22=function(_0x34c7ca){while(--_0x34c7ca){_0xc60446['push'](_0xc60446['shift']());}};_0x149f22(++_0x1e6569);}(_0x1e65,0x98));var _0x149f=function(_0xc60446,_0x1e6569){_0xc60446=_0xc60446-0x0;var _0x149f22=_0x1e65[_0xc60446];return _0x149f22;};import _0x512036 from'./operationcompressor';export default class f extends _0x512036{[_0x149f('0x3')](_0x4ea832,_0x255f2b){_0x255f2b[_0x149f('0x5')](),_0x4ea832[_0x149f('0x0')][_0x149f('0x4')](this['id']);}[_0x149f('0x2')](_0x77d975,_0x274a0c){_0x274a0c[_0x149f('0x0')][_0x149f('0x5')](),_0x77d975[_0x149f('0x4')]({'__className':this[_0x149f('0x1')]});}} | ||
var _0x3d02=['shift','decompress','operationName','types','push'];(function(_0x1fa0fd,_0x3d0227){var _0x143123=function(_0x114668){while(--_0x114668){_0x1fa0fd['push'](_0x1fa0fd['shift']());}};_0x143123(++_0x3d0227);}(_0x3d02,0xe8));var _0x1431=function(_0x1fa0fd,_0x3d0227){_0x1fa0fd=_0x1fa0fd-0x0;var _0x143123=_0x3d02[_0x1fa0fd];return _0x143123;};import _0x2fba4d from'./operationcompressor';export default class f extends _0x2fba4d{['compress'](_0x21d8d5,_0x40a814){_0x40a814[_0x1431('0x3')](),_0x21d8d5[_0x1431('0x1')][_0x1431('0x2')](this['id']);}[_0x1431('0x4')](_0x20766d,_0x26628b){_0x26628b['types']['shift'](),_0x20766d[_0x1431('0x2')]({'__className':this[_0x1431('0x0')]});}} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x5703=['buffers','push','operationName','shift','compress','_protobufDescriptor','types','decompress'];(function(_0x2c27d7,_0x57031c){const _0x297e9e=function(_0xae0c54){while(--_0xae0c54){_0x2c27d7['push'](_0x2c27d7['shift']());}};_0x297e9e(++_0x57031c);}(_0x5703,0x11d));const _0x297e=function(_0x2c27d7,_0x57031c){_0x2c27d7=_0x2c27d7-0x0;let _0x297e9e=_0x5703[_0x2c27d7];return _0x297e9e;};import{parsePositionBeforeCompression as _0x1f39d1,parsePositionAfterCompression as _0x3d3baf}from'../utils';export default class V{constructor(_0x4ff246,_0x2558b1,_0x155164){this['id']=_0x4ff246,this[_0x297e('0x5')]=_0x2558b1,this[_0x297e('0x0')]=_0x155164;}[_0x297e('0x7')](_0x336613,_0x415374){const _0x37de03=_0x415374[_0x297e('0x6')]();_0x1f39d1(_0x37de03),_0x336613[_0x297e('0x3')][_0x297e('0x4')](this[_0x297e('0x0')][_0x297e('0x7')](_0x37de03)),_0x336613[_0x297e('0x1')]['push'](this['id']);}[_0x297e('0x2')](_0x2a9257,_0x1c4854){_0x1c4854['types']['shift']();const _0xe994ea=this[_0x297e('0x0')][_0x297e('0x2')](_0x1c4854[_0x297e('0x3')][_0x297e('0x6')]());_0x3d3baf(_0xe994ea),_0xe994ea['__className']=this['operationName'],_0x2a9257['push'](_0xe994ea);}} | ||
const _0x55f6=['compress','_protobufDescriptor','shift','push','operationName','types','buffers'];(function(_0x32480f,_0x55f680){const _0x4b2ab6=function(_0x1e26d8){while(--_0x1e26d8){_0x32480f['push'](_0x32480f['shift']());}};_0x4b2ab6(++_0x55f680);}(_0x55f6,0x137));const _0x4b2a=function(_0x32480f,_0x55f680){_0x32480f=_0x32480f-0x0;let _0x4b2ab6=_0x55f6[_0x32480f];return _0x4b2ab6;};import{parsePositionBeforeCompression as _0x24a853,parsePositionAfterCompression as _0x4ecba9}from'../utils';export default class V{constructor(_0xa81594,_0x565d57,_0x3155bd){this['id']=_0xa81594,this[_0x4b2a('0x1')]=_0x565d57,this[_0x4b2a('0x5')]=_0x3155bd;}[_0x4b2a('0x4')](_0x4d719e,_0x787427){const _0x251eba=_0x787427['shift']();_0x24a853(_0x251eba),_0x4d719e[_0x4b2a('0x3')][_0x4b2a('0x0')](this['_protobufDescriptor']['compress'](_0x251eba)),_0x4d719e['types'][_0x4b2a('0x0')](this['id']);}['decompress'](_0x16d1ea,_0x244eee){_0x244eee[_0x4b2a('0x2')][_0x4b2a('0x6')]();const _0x51cdd4=this[_0x4b2a('0x5')]['decompress'](_0x244eee[_0x4b2a('0x3')][_0x4b2a('0x6')]());_0x4ecba9(_0x51cdd4),_0x51cdd4['__className']=this['operationName'],_0x16d1ea[_0x4b2a('0x0')](_0x51cdd4);}} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
var _0x1a56=['string','Position'];(function(_0xb97f93,_0x1a5607){var _0x6e0611=function(_0x203b26){while(--_0x203b26){_0xb97f93['push'](_0xb97f93['shift']());}};_0x6e0611(++_0x1a5607);}(_0x1a56,0x94));var _0x6e06=function(_0xb97f93,_0x1a5607){_0xb97f93=_0xb97f93-0x0;var _0x6e0611=_0x1a56[_0xb97f93];return _0x6e0611;};import _0x4fa614 from'./operationcompressor';export default class a extends _0x4fa614{static get['description'](){return{'fields':{'position':{'type':_0x6e06('0x1'),'id':0x1},'oldName':{'type':_0x6e06('0x0'),'id':0x2},'newName':{'type':_0x6e06('0x0'),'id':0x3},'wasUndone':{'type':'bool','id':0x4}}};}} | ||
var _0x197f=['bool','string'];(function(_0x4e28f7,_0x197f57){var _0x8d8702=function(_0x3c440f){while(--_0x3c440f){_0x4e28f7['push'](_0x4e28f7['shift']());}};_0x8d8702(++_0x197f57);}(_0x197f,0x1ac));var _0x8d87=function(_0x4e28f7,_0x197f57){_0x4e28f7=_0x4e28f7-0x0;var _0x8d8702=_0x197f[_0x4e28f7];return _0x8d8702;};import _0x475b70 from'./operationcompressor';export default class a extends _0x475b70{static get['description'](){return{'fields':{'position':{'type':'Position','id':0x1},'oldName':{'type':_0x8d87('0x1'),'id':0x2},'newName':{'type':'string','id':0x3},'wasUndone':{'type':_0x8d87('0x0'),'id':0x4}}};}} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x2b1f=['range','description','string','fields'];(function(_0x465999,_0x2b1f45){const _0x48f42f=function(_0xcb5b55){while(--_0xcb5b55){_0x465999['push'](_0x465999['shift']());}};_0x48f42f(++_0x2b1f45);}(_0x2b1f,0x18b));const _0x48f4=function(_0x465999,_0x2b1f45){_0x465999=_0x465999-0x0;let _0x48f42f=_0x2b1f[_0x465999];return _0x48f42f;};import _0x283374 from'./attributeoperationcompressor';export default class c extends _0x283374{static get[_0x48f4('0x2')](){const _0x4df08c=_0x283374[_0x48f4('0x2')];return delete _0x4df08c[_0x48f4('0x0')][_0x48f4('0x1')],_0x4df08c[_0x48f4('0x0')]['root']={'type':_0x48f4('0x3'),'id':0x1},_0x4df08c;}} | ||
const _0x1f85=['description','string','root','fields'];(function(_0x59b32c,_0x1f858e){const _0x188f36=function(_0x98882e){while(--_0x98882e){_0x59b32c['push'](_0x59b32c['shift']());}};_0x188f36(++_0x1f858e);}(_0x1f85,0x7b));const _0x188f=function(_0x59b32c,_0x1f858e){_0x59b32c=_0x59b32c-0x0;let _0x188f36=_0x1f85[_0x59b32c];return _0x188f36;};import _0x1f3334 from'./attributeoperationcompressor';export default class c extends _0x1f3334{static get[_0x188f('0x1')](){const _0x37a51b=_0x1f3334[_0x188f('0x1')];return delete _0x37a51b[_0x188f('0x0')]['range'],_0x37a51b[_0x188f('0x0')][_0x188f('0x3')]={'type':_0x188f('0x2'),'id':0x1},_0x37a51b;}} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
var _0x3ee3=['uint32','Position'];(function(_0x27f95b,_0x3ee39d){var _0x45f7b3=function(_0xc64d57){while(--_0xc64d57){_0x27f95b['push'](_0x27f95b['shift']());}};_0x45f7b3(++_0x3ee39d);}(_0x3ee3,0x10c));var _0x45f7=function(_0x27f95b,_0x3ee39d){_0x27f95b=_0x27f95b-0x0;var _0x45f7b3=_0x3ee3[_0x27f95b];return _0x45f7b3;};import _0x4d3b8e from'./operationcompressor';export default class h extends _0x4d3b8e{static get['description'](){return{'fields':{'splitPosition':{'type':_0x45f7('0x1'),'id':0x1},'graveyardPosition':{'type':_0x45f7('0x1'),'id':0x2},'howMany':{'type':_0x45f7('0x0'),'id':0x3},'insertionPosition':{'type':_0x45f7('0x1'),'id':0x4},'wasUndone':{'type':'bool','id':0x5}}};}} | ||
var _0x6b68=['uint32','description','bool','Position'];(function(_0x4f9b2b,_0x6b68f4){var _0xee36f6=function(_0x162928){while(--_0x162928){_0x4f9b2b['push'](_0x4f9b2b['shift']());}};_0xee36f6(++_0x6b68f4);}(_0x6b68,0x1b2));var _0xee36=function(_0x4f9b2b,_0x6b68f4){_0x4f9b2b=_0x4f9b2b-0x0;var _0xee36f6=_0x6b68[_0x4f9b2b];return _0xee36f6;};import _0x4aa90a from'./operationcompressor';export default class h extends _0x4aa90a{static get[_0xee36('0x3')](){return{'fields':{'splitPosition':{'type':_0xee36('0x1'),'id':0x1},'graveyardPosition':{'type':'Position','id':0x2},'howMany':{'type':_0xee36('0x2'),'id':0x3},'insertionPosition':{'type':_0xee36('0x1'),'id':0x4},'wasUndone':{'type':_0xee36('0x0'),'id':0x5}}};}} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0xd7cc=['finish','_description','fromJSON','_protobufRoot','toObject','verify','build','lookupType','_protobuf','getDescriptor','Root','protobuffactory-cannot-get-descriptor-before-build','decompress','registerDescriptor'];(function(_0x19e775,_0xd7cc3f){const _0x418f52=function(_0x658791){while(--_0x658791){_0x19e775['push'](_0x19e775['shift']());}};_0x418f52(++_0xd7cc3f);}(_0xd7cc,0xd0));const _0x418f=function(_0x19e775,_0xd7cc3f){_0x19e775=_0x19e775-0x0;let _0x418f52=_0xd7cc[_0x19e775];return _0x418f52;};import _0x29f17b from'protobufjs/light';import{CKEditorError as _0x56615b}from'ckeditor5/src/utils';import{cloneDeep as _0x25f5a2}from'lodash-es';export default class r{constructor(){this[_0x418f('0x3')]={'nested':{}};}[_0x418f('0x1')](_0x4b44a9,_0x1360ea){this[_0x418f('0x3')]['nested'][_0x4b44a9]=_0x25f5a2(_0x1360ea);}[_0x418f('0x8')](){this[_0x418f('0x5')]=_0x29f17b[_0x418f('0xc')][_0x418f('0x4')](this[_0x418f('0x3')]);}[_0x418f('0xb')](_0x3c5508){if(!this[_0x418f('0x5')])throw new _0x56615b(_0x418f('0xd'),this);return new D(this['_protobufRoot'][_0x418f('0x9')](_0x3c5508));}}class D{constructor(_0x5b20f5){this[_0x418f('0xa')]=_0x5b20f5;}['compress'](_0x54ac98){const _0x444e20=this[_0x418f('0xa')][_0x418f('0x7')](_0x54ac98);if(_0x444e20)throw Error(_0x444e20);return this[_0x418f('0xa')]['encode'](this[_0x418f('0xa')]['create'](_0x54ac98))[_0x418f('0x2')]();}[_0x418f('0x0')](_0x747db5){return this['_protobuf'][_0x418f('0x6')](this[_0x418f('0xa')]['decode'](_0x747db5),{'oneofs':!0x0});}} | ||
const _0x216d=['verify','finish','build','decompress','compress','decode','toObject','_description','getDescriptor','Root','_protobufRoot','fromJSON','encode','registerDescriptor','_protobuf','protobuffactory-cannot-get-descriptor-before-build','nested','create','lookupType'];(function(_0x1df358,_0x216dd1){const _0x56a29c=function(_0x3f042e){while(--_0x3f042e){_0x1df358['push'](_0x1df358['shift']());}};_0x56a29c(++_0x216dd1);}(_0x216d,0xe1));const _0x56a2=function(_0x1df358,_0x216dd1){_0x1df358=_0x1df358-0x0;let _0x56a29c=_0x216d[_0x1df358];return _0x56a29c;};import _0x57f85a from'protobufjs/light';import{CKEditorError as _0x297bee}from'ckeditor5/src/utils';import{cloneDeep as _0x17259c}from'lodash-es';export default class r{constructor(){this[_0x56a2('0xa')]={'nested':{}};}[_0x56a2('0x10')](_0x536a15,_0x1dfc6d){this[_0x56a2('0xa')][_0x56a2('0x0')][_0x536a15]=_0x17259c(_0x1dfc6d);}[_0x56a2('0x5')](){this['_protobufRoot']=_0x57f85a[_0x56a2('0xc')][_0x56a2('0xe')](this[_0x56a2('0xa')]);}[_0x56a2('0xb')](_0x50a089){if(!this['_protobufRoot'])throw new _0x297bee(_0x56a2('0x12'),this);return new D(this[_0x56a2('0xd')][_0x56a2('0x2')](_0x50a089));}}class D{constructor(_0x11cf88){this['_protobuf']=_0x11cf88;}[_0x56a2('0x7')](_0x151a2e){const _0x4cc572=this[_0x56a2('0x11')][_0x56a2('0x3')](_0x151a2e);if(_0x4cc572)throw Error(_0x4cc572);return this['_protobuf'][_0x56a2('0xf')](this[_0x56a2('0x11')][_0x56a2('0x1')](_0x151a2e))[_0x56a2('0x4')]();}[_0x56a2('0x6')](_0x6b72b1){return this[_0x56a2('0x11')][_0x56a2('0x9')](this['_protobuf'][_0x56a2('0x8')](_0x6b72b1),{'oneofs':!0x0});}} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x3a54=['root','rootGraveyard','$graveyard','main','length','rootMain','path','nodes'];(function(_0x5da10e,_0x3a5486){const _0x445027=function(_0x5888ac){while(--_0x5888ac){_0x5da10e['push'](_0x5da10e['shift']());}};_0x445027(++_0x3a5486);}(_0x3a54,0x1ed));const _0x4450=function(_0x5da10e,_0x3a5486){_0x5da10e=_0x5da10e-0x0;let _0x445027=_0x3a54[_0x5da10e];return _0x445027;};import{cloneDeep as _0x2280ca,isEqual as _0x27cbf2,isObject as _0x1bbe45}from'lodash-es';export function getPositionShiftedBy(_0xc2fdd7,_0xaf98a5){const _0x52e7de=_0x2280ca(_0xc2fdd7);return _0x52e7de[_0x4450('0x1')][_0x52e7de['path'][_0x4450('0x7')]-0x1]+=_0xaf98a5,_0x52e7de;}export function arePositionsEqual(_0x107677,_0x4c4125){return _0x107677['root']===_0x4c4125[_0x4450('0x3')]&&_0x27cbf2(_0x107677[_0x4450('0x1')],_0x4c4125[_0x4450('0x1')]);}export function parsePositionBeforeCompression(_0x2922cb){y(_0x2922cb,_0x16c22a=>('main'==_0x16c22a[_0x4450('0x3')]?(_0x16c22a[_0x4450('0x0')]=!0x0,delete _0x16c22a[_0x4450('0x3')]):_0x4450('0x5')==_0x16c22a[_0x4450('0x3')]&&(_0x16c22a[_0x4450('0x4')]=!0x0,delete _0x16c22a['root']),_0x16c22a));}export function parsePositionAfterCompression(_0x279e5c){y(_0x279e5c,_0x155a67=>(_0x155a67[_0x4450('0x0')]?(_0x155a67[_0x4450('0x3')]=_0x4450('0x6'),delete _0x155a67[_0x4450('0x0')]):_0x155a67[_0x4450('0x4')]&&(_0x155a67[_0x4450('0x3')]=_0x4450('0x5'),delete _0x155a67['rootGraveyard']),_0x155a67));}function y(_0x59ec78,_0x2b677d){for(const _0x23efab in _0x59ec78){const _0x38db5f=_0x59ec78[_0x23efab];_0x4450('0x2')!==_0x23efab&&_0x1bbe45(_0x38db5f)&&(_0x38db5f['path']&&(_0x38db5f[_0x4450('0x3')]||_0x38db5f['rootMain']||_0x38db5f[_0x4450('0x4')])?_0x59ec78[_0x23efab]=_0x2b677d(_0x38db5f):y(_0x38db5f,_0x2b677d));}return _0x59ec78;} | ||
const _0x407b=['nodes','length','rootMain','main','path','root','rootGraveyard','$graveyard'];(function(_0x3804d9,_0x407b0a){const _0x5e0518=function(_0x30b25f){while(--_0x30b25f){_0x3804d9['push'](_0x3804d9['shift']());}};_0x5e0518(++_0x407b0a);}(_0x407b,0x14f));const _0x5e05=function(_0x3804d9,_0x407b0a){_0x3804d9=_0x3804d9-0x0;let _0x5e0518=_0x407b[_0x3804d9];return _0x5e0518;};import{cloneDeep as _0x1d1722,isEqual as _0x180e3a,isObject as _0x59be9b}from'lodash-es';export function getPositionShiftedBy(_0x1e6852,_0x5a7c03){const _0x9d2720=_0x1d1722(_0x1e6852);return _0x9d2720[_0x5e05('0x5')][_0x9d2720[_0x5e05('0x5')][_0x5e05('0x2')]-0x1]+=_0x5a7c03,_0x9d2720;}export function arePositionsEqual(_0x34aa23,_0x2f2640){return _0x34aa23[_0x5e05('0x6')]===_0x2f2640[_0x5e05('0x6')]&&_0x180e3a(_0x34aa23[_0x5e05('0x5')],_0x2f2640[_0x5e05('0x5')]);}export function parsePositionBeforeCompression(_0x4b9eef){y(_0x4b9eef,_0x51ec5e=>(_0x5e05('0x4')==_0x51ec5e[_0x5e05('0x6')]?(_0x51ec5e[_0x5e05('0x3')]=!0x0,delete _0x51ec5e[_0x5e05('0x6')]):_0x5e05('0x0')==_0x51ec5e['root']&&(_0x51ec5e[_0x5e05('0x7')]=!0x0,delete _0x51ec5e[_0x5e05('0x6')]),_0x51ec5e));}export function parsePositionAfterCompression(_0x2505fc){y(_0x2505fc,_0x192512=>(_0x192512[_0x5e05('0x3')]?(_0x192512[_0x5e05('0x6')]=_0x5e05('0x4'),delete _0x192512[_0x5e05('0x3')]):_0x192512[_0x5e05('0x7')]&&(_0x192512[_0x5e05('0x6')]=_0x5e05('0x0'),delete _0x192512[_0x5e05('0x7')]),_0x192512));}function y(_0x46c591,_0x273b37){for(const _0x3dc43f in _0x46c591){const _0x263a1a=_0x46c591[_0x3dc43f];_0x5e05('0x1')!==_0x3dc43f&&_0x59be9b(_0x263a1a)&&(_0x263a1a['path']&&(_0x263a1a[_0x5e05('0x6')]||_0x263a1a['rootMain']||_0x263a1a[_0x5e05('0x7')])?_0x46c591[_0x3dc43f]=_0x273b37(_0x263a1a):y(_0x263a1a,_0x273b37));}return _0x46c591;} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62512
Updatedckeditor5@^27.1.0