@ckeditor/ckeditor5-track-changes 41.1.0 → 41.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/pt.js +1 -1
- package/lang/translations/he.po +1 -4
- package/lang/translations/pt.po +26 -26
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x29614c=_0x3887;(function(_0x179535,_0x47ed92){const _0x3daffa=_0x3887,_0x1caa6b=_0x179535();while(!![]){try{const _0x334430=-parseInt(_0x3daffa(0x214))/0x1+-parseInt(_0x3daffa(0x222))/0x2+parseInt(_0x3daffa(0x1f7))/0x3*(-parseInt(_0x3daffa(0x215))/0x4)+parseInt(_0x3daffa(0x208))/0x5*(-parseInt(_0x3daffa(0x1ee))/0x6)+parseInt(_0x3daffa(0x1fa))/0x7*(parseInt(_0x3daffa(0x232))/0x8)+parseInt(_0x3daffa(0x1eb))/0x9*(-parseInt(_0x3daffa(0x1f8))/0xa)+parseInt(_0x3daffa(0x1fc))/0xb*(parseInt(_0x3daffa(0x1f9))/0xc);if(_0x334430===_0x47ed92)break;else _0x1caa6b['push'](_0x1caa6b['shift']());}catch(_0x149db8){_0x1caa6b['push'](_0x1caa6b['shift']());}}}(_0x351e,0x7121b));import{Plugin as _0x474c4c}from'ckeditor5/src/core.js';function _0x351e(){const _0x4fcbdb=['registerDescriptionCallback','27ICOIGI','tableCellWidth','TrackChangesEditing','8826ixlvSR','format','TableCellPropertiesEditing','data','handleSuggestionDescription','registerCustomCallback','enqueueChange','tableWidth','has','8913pNnpOy','900430KzVvnc','74208PYNUck','455TJGXXs','getFirstPosition','2959LeEcjy','TrackChangesTableProperties','tableCellVerticalAlignment','batch','change','model','removeAttribute','tableBackgroundColor','tableBorderColor','commandParams','TablePropertiesEditing','afterInit','1855azSnkP','tableCellBorderStyle','markBlockFormat','table','setAttribute','*Format:*\x20change\x20table\x20properties','get','discard','findAncestor','pluginName','subType','_getSuggestion','356011SgQJZe','44KcDnLm','tableCellHeight','editor','tableCellPadding','tableAlignment','nodeAfter','TableUtils','plugins','tableCellHorizontalAlignment','getSuggestions','selection','tableBorderStyle','getAttribute','636804KOnakR','handleDiscardAction','getSelectionAffectedTableCells','tableProperties','tableBorderWidth','_handlePropertyChange','tableCellBorderColor','tableCellBackgroundColor','start','tableCellProperties','locale','getSuggestionCallback','getContainedElement','enableCommand','*Format:*\x20change\x20table\x20cell\x20properties','_descriptionFactory','39736cUMdAH','accept','join','tableCellBorderWidth','document','formatBlock','tableHeight','_suggestionFactory'];_0x351e=function(){return _0x4fcbdb;};return _0x351e();}import{getTranslation as _0x466b63}from'../utils/common-translations.js';function _0x3887(_0x56d6f1,_0x4d9b68){const _0x351ec8=_0x351e();return _0x3887=function(_0x388747,_0x191c0b){_0x388747=_0x388747-0x1e6;let _0x34e3b4=_0x351ec8[_0x388747];return _0x34e3b4;},_0x3887(_0x56d6f1,_0x4d9b68);}export default class Mt extends _0x474c4c{constructor(_0x50c39f){const _0x5ae6a1=_0x3887;super(_0x50c39f),this[_0x5ae6a1(0x225)]=[_0x5ae6a1(0x204),_0x5ae6a1(0x220),_0x5ae6a1(0x226),_0x5ae6a1(0x219),_0x5ae6a1(0x1f5),_0x5ae6a1(0x1e8),_0x5ae6a1(0x203)],this[_0x5ae6a1(0x22b)]=[_0x5ae6a1(0x228),_0x5ae6a1(0x209),_0x5ae6a1(0x235),_0x5ae6a1(0x218),_0x5ae6a1(0x1ec),_0x5ae6a1(0x216),_0x5ae6a1(0x229),_0x5ae6a1(0x21d),_0x5ae6a1(0x1fe)];}static get[_0x29614c(0x211)](){const _0x34d307=_0x29614c;return _0x34d307(0x1fd);}[_0x29614c(0x207)](){const _0x33c9ed=_0x29614c,_0x8319bf=this[_0x33c9ed(0x217)][_0x33c9ed(0x21c)][_0x33c9ed(0x20e)](_0x33c9ed(0x1ed));if(this[_0x33c9ed(0x217)][_0x33c9ed(0x21c)][_0x33c9ed(0x1f6)](_0x33c9ed(0x206))){for(const _0x150b73 of this[_0x33c9ed(0x225)])_0x8319bf[_0x33c9ed(0x22f)](_0x150b73,(_0x31fe5a,_0x37e55a)=>{const _0x2783ee=_0x33c9ed,_0x491419=this[_0x2783ee(0x217)][_0x2783ee(0x201)][_0x2783ee(0x1e6)][_0x2783ee(0x21f)][_0x2783ee(0x1fb)]()[_0x2783ee(0x210)](_0x2783ee(0x20b));this[_0x2783ee(0x227)](_0x150b73,[_0x491419],this[_0x2783ee(0x225)],_0x2783ee(0x225),_0x31fe5a,_0x37e55a);});_0x8319bf[_0x33c9ed(0x1e9)][_0x33c9ed(0x1f3)](_0x33c9ed(0x1e7),_0x33c9ed(0x225),_0x33c9ed(0x233),_0x8319bf[_0x33c9ed(0x1e9)][_0x33c9ed(0x22d)](_0x33c9ed(0x1e7),null,_0x33c9ed(0x20f))),_0x8319bf[_0x33c9ed(0x1e9)][_0x33c9ed(0x1f3)](_0x33c9ed(0x1e7),_0x33c9ed(0x225),_0x33c9ed(0x20f),(_0xf489f1,_0x53bbfd)=>this[_0x33c9ed(0x223)](this[_0x33c9ed(0x225)],_0xf489f1,_0x53bbfd)),_0x8319bf[_0x33c9ed(0x1e9)][_0x33c9ed(0x1f3)](_0x33c9ed(0x1e7),_0x33c9ed(0x225),_0x33c9ed(0x234),()=>!0x1);}if(this[_0x33c9ed(0x217)][_0x33c9ed(0x21c)][_0x33c9ed(0x1f6)](_0x33c9ed(0x1f0))){for(const _0xc47485 of this[_0x33c9ed(0x22b)])_0x8319bf[_0x33c9ed(0x22f)](_0xc47485,(_0x311f5d,_0x4ee1e9)=>{const _0x4dc136=_0x33c9ed,_0x1421bd=this[_0x4dc136(0x217)][_0x4dc136(0x21c)][_0x4dc136(0x20e)](_0x4dc136(0x21b))[_0x4dc136(0x224)](this[_0x4dc136(0x217)][_0x4dc136(0x201)][_0x4dc136(0x1e6)][_0x4dc136(0x21f)]);this[_0x4dc136(0x227)](_0xc47485,_0x1421bd,this[_0x4dc136(0x22b)],_0x4dc136(0x22b),_0x311f5d,_0x4ee1e9);});_0x8319bf[_0x33c9ed(0x1e9)][_0x33c9ed(0x1f3)](_0x33c9ed(0x1e7),_0x33c9ed(0x22b),_0x33c9ed(0x233),_0x8319bf[_0x33c9ed(0x1e9)][_0x33c9ed(0x22d)](_0x33c9ed(0x1e7),null,_0x33c9ed(0x20f))),_0x8319bf[_0x33c9ed(0x1e9)][_0x33c9ed(0x1f3)](_0x33c9ed(0x1e7),_0x33c9ed(0x22b),_0x33c9ed(0x20f),(_0x4790a0,_0x154447)=>this[_0x33c9ed(0x223)](this[_0x33c9ed(0x22b)],_0x4790a0,_0x154447)),_0x8319bf[_0x33c9ed(0x1e9)][_0x33c9ed(0x1f3)](_0x33c9ed(0x1e7),_0x33c9ed(0x22b),_0x33c9ed(0x234),()=>!0x1);}_0x8319bf[_0x33c9ed(0x231)][_0x33c9ed(0x1ea)](_0x5b7899=>this[_0x33c9ed(0x1f2)](_0x5b7899));}[_0x29614c(0x227)](_0x3fc783,_0x58e89f,_0x6d7c5d,_0x127464,_0xe0a6f4,_0x4ad4cb){const _0x533ca2=_0x29614c,_0x4943f8=this[_0x533ca2(0x217)][_0x533ca2(0x21c)][_0x533ca2(0x20e)](_0x533ca2(0x1ed));this[_0x533ca2(0x217)][_0x533ca2(0x201)][_0x533ca2(0x1f4)](_0x4ad4cb[_0x533ca2(0x1ff)],()=>{const _0x6c223a=_0x533ca2;for(const _0x8be3c6 of _0x58e89f){if(this[_0x6c223a(0x213)](_0x8be3c6,_0x127464))_0xe0a6f4(_0x4ad4cb);else{const _0x260a3b={};for(const _0x13a105 of _0x6d7c5d){const _0x2973f6=_0x8be3c6[_0x6c223a(0x221)](_0x13a105);void 0x0!==_0x2973f6&&(_0x260a3b[_0x13a105]=_0x2973f6);}_0xe0a6f4(_0x4ad4cb),_0x4943f8[_0x6c223a(0x20a)](_0x8be3c6,{'commandParams':[_0x260a3b]},[],_0x127464);}}});}[_0x29614c(0x223)](_0x58f89d,_0x2d6d61,_0x4da729){const _0x45707a=_0x29614c,_0x1c4323=_0x2d6d61[0x0][_0x45707a(0x22a)][_0x45707a(0x21a)],_0x31fb96=_0x4da729[_0x45707a(0x205)][0x0];this[_0x45707a(0x217)][_0x45707a(0x201)][_0x45707a(0x200)](_0x319b11=>{const _0x497e70=_0x45707a;for(const _0x8e2e46 of _0x58f89d)void 0x0!==_0x31fb96[_0x8e2e46]?_0x319b11[_0x497e70(0x20c)](_0x8e2e46,_0x31fb96[_0x8e2e46],_0x1c4323):_0x319b11[_0x497e70(0x202)](_0x8e2e46,_0x1c4323);});}[_0x29614c(0x1f2)](_0x13ab58){const _0x127b83=_0x29614c;if(_0x13ab58[_0x127b83(0x1f1)])switch(_0x13ab58[_0x127b83(0x212)]){case _0x127b83(0x225):return{'type':_0x127b83(0x1ef),'content':_0x466b63(this[_0x127b83(0x217)][_0x127b83(0x22c)],_0x127b83(0x20d))};case _0x127b83(0x22b):return{'type':_0x127b83(0x1ef),'content':_0x466b63(this[_0x127b83(0x217)][_0x127b83(0x22c)],_0x127b83(0x230))};}}[_0x29614c(0x213)](_0x280caf,_0x212d5b){const _0x2a39b9=_0x29614c,_0x4cb92c=this[_0x2a39b9(0x217)][_0x2a39b9(0x21c)][_0x2a39b9(0x20e)](_0x2a39b9(0x1ed));for(const _0x4f87ea of _0x4cb92c[_0x2a39b9(0x21e)]({'skipNotAttached':!0x0})){const _0x14dc46=_0x4f87ea[_0x2a39b9(0x22e)]();if(_0x4f87ea[_0x2a39b9(0x212)]===_0x212d5b&&_0x14dc46===_0x280caf)return _0x4f87ea;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x262c(){const _0x5476ad=['TrackChangesEditing','get','32ycKqXo','153ksMEic','1335755dqwDIt','4552876tcUZfG','1217209WquUXi','Template','editor','2060304jGHJPH','afterInit','1511890wZdXaB','enableCommand','has','plugins','174vlHvLX','insertTemplate','13933iEWUUc','2311197XhWNgc'];_0x262c=function(){return _0x5476ad;};return _0x262c();}const _0xb8130e=_0xee9a;(function(_0x128c31,_0x424d27){const _0x4d3f1b=_0xee9a,_0x3074c4=_0x128c31();while(!![]){try{const _0x331b81=parseInt(_0x4d3f1b(0x15f))/0x1*(parseInt(_0x4d3f1b(0x170))/0x2)+parseInt(_0x4d3f1b(0x160))/0x3+parseInt(_0x4d3f1b(0x166))/0x4+-parseInt(_0x4d3f1b(0x165))/0x5+-parseInt(_0x4d3f1b(0x16a))/0x6+parseInt(_0x4d3f1b(0x167))/0x7*(parseInt(_0x4d3f1b(0x163))/0x8)+parseInt(_0x4d3f1b(0x164))/0x9*(-parseInt(_0x4d3f1b(0x16c))/0xa);if(_0x331b81===_0x424d27)break;else _0x3074c4['push'](_0x3074c4['shift']());}catch(_0x204378){_0x3074c4['push'](_0x3074c4['shift']());}}}(_0x262c,0x9b2c5));function _0xee9a(_0x2b25b1,_0x524887){const _0x262ca1=_0x262c();return _0xee9a=function(_0xee9a99,_0x4886ec){_0xee9a99=_0xee9a99-0x15f;let _0x3fb5de=_0x262ca1[_0xee9a99];return _0x3fb5de;},_0xee9a(_0x2b25b1,_0x524887);}import{Plugin as _0x1c3032}from'ckeditor5/src/core.js';export default class vt extends _0x1c3032{[_0xb8130e(0x16b)](){const _0x3c37ac=_0xb8130e,_0x37941b=this[_0x3c37ac(0x169)];_0x37941b[_0x3c37ac(0x16f)][_0x3c37ac(0x16e)](_0x3c37ac(0x168))&&_0x37941b[_0x3c37ac(0x16f)][_0x3c37ac(0x162)](_0x3c37ac(0x161))[_0x3c37ac(0x16d)](_0x3c37ac(0x171));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a2712=_0x55be;function _0x55be(_0x303259,_0x42da07){const _0x308a97=_0x308a();return _0x55be=function(_0x55bee9,_0x2cec92){_0x55bee9=_0x55bee9-0xe2;let _0x6632c9=_0x308a97[_0x55bee9];return _0x6632c9;},_0x55be(_0x303259,_0x42da07);}(function(_0x3dfd20,_0x412fb1){const _0x21fe3e=_0x55be,_0x2bb5bb=_0x3dfd20();while(!![]){try{const _0x57a865=parseInt(_0x21fe3e(0x105))/0x1+-parseInt(_0x21fe3e(0x101))/0x2*(-parseInt(_0x21fe3e(0xfe))/0x3)+parseInt(_0x21fe3e(0x104))/0x4*(parseInt(_0x21fe3e(0xf7))/0x5)+parseInt(_0x21fe3e(0xfb))/0x6+-parseInt(_0x21fe3e(0x10d))/0x7*(parseInt(_0x21fe3e(0x10e))/0x8)+parseInt(_0x21fe3e(0x109))/0x9*(-parseInt(_0x21fe3e(0xe6))/0xa)+parseInt(_0x21fe3e(0x103))/0xb;if(_0x57a865===_0x412fb1)break;else _0x2bb5bb['push'](_0x2bb5bb['shift']());}catch(_0x487e1b){_0x2bb5bb['push'](_0x2bb5bb['shift']());}}}(_0x308a,0x30327));import{Plugin as _0x559626}from'ckeditor5/src/core.js';import{getTranslation as _0x1b7c45}from'../utils/common-translations.js';export default class Ct extends _0x559626{[_0x5a2712(0xe9)](){const _0x2d411f=_0x5a2712,_0x8de69f=this[_0x2d411f(0xf6)];if(!_0x8de69f[_0x2d411f(0x10c)][_0x2d411f(0xf1)](_0x2d411f(0xf3)))return;const _0x578801=_0x8de69f[_0x2d411f(0x10c)][_0x2d411f(0xee)](_0x2d411f(0xec));_0x578801[_0x2d411f(0xef)][_0x2d411f(0xf4)](_0x2d411f(0x10b),()=>_0x1b7c45(_0x8de69f[_0x2d411f(0xf0)],_0x2d411f(0xfd))),_0x8de69f[_0x2d411f(0x102)][_0x2d411f(0xff)][_0x2d411f(0xe2)](_0x795766=>{const _0x189f38=_0x2d411f;let _0x21af3b=!0x1;const _0x30f0b5=Array[_0x189f38(0xe3)](_0x8de69f[_0x189f38(0x102)][_0x189f38(0xff)][_0x189f38(0xe5)][_0x189f38(0x106)]());for(const {name:_0x15fa05,data:_0xf0015}of _0x30f0b5){const {group:_0xf1125e}=_0x578801[_0x189f38(0xf2)](_0x15fa05);if(_0x189f38(0x100)!==_0xf1125e||!_0xf0015[_0x189f38(0xfa)])continue;const _0x1d1377=_0xf0015[_0x189f38(0xfa)],_0x3c5b34=_0x1d1377[_0x189f38(0xed)][_0x189f38(0xf5)];if(!_0x3c5b34||!_0x3c5b34['is'](_0x189f38(0xf8),_0x189f38(0x10b)))continue;if(!_0x1d1377[_0x189f38(0xe4)][_0x189f38(0xea)](_0x1d1377[_0x189f38(0xed)]))continue;const _0x3404c7=_0x8de69f[_0x189f38(0x102)][_0x189f38(0xe7)][_0x189f38(0x107)](_0x1d1377[_0x189f38(0xed)],_0x189f38(0xe8));if(_0x3404c7&&_0x3404c7[_0x189f38(0xeb)]){const _0x1e4076=_0x795766[_0x189f38(0x10a)](_0x1d1377[_0x189f38(0xe4)],_0x3404c7[_0x189f38(0xe4)]);_0x1e4076[_0x189f38(0x108)](_0x1d1377)||(_0x795766[_0x189f38(0xf9)](_0x15fa05,{'range':_0x1e4076}),_0x21af3b=!0x0);}_0x21af3b||(_0x795766[_0x189f38(0xfc)](_0x15fa05),_0x21af3b=!0x0);}return _0x21af3b;});}}function _0x308a(){const _0x2800a0=['TrackChangesEditing','end','get','_descriptionFactory','locale','has','_splitMarkerName','Title','registerElementLabel','nodeBefore','editor','92365MiWAKF','element','updateMarker','newRange','470166wevrhd','removeMarker','ELEMENT_TITLE','80538PWCqGD','document','suggestion','4ZPMhcj','model','844833IwJYsn','68XspvFA','121138rWMuqJ','getChangedMarkers','getNearestSelectionRange','isEqual','1213659TVfFJf','createRange','title-content','plugins','727461ZcOzOO','24uzNDLh','registerPostFixer','from','start','differ','10gKvLQs','schema','forward','afterInit','isTouching','isCollapsed'];_0x308a=function(){return _0x2800a0;};return _0x308a();}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5d37(){const _0x583d8a=['editor','redo','10bVVFGN','TrackChangesEditing','18168jEobwK','827764PHcYdd','84VbQjGA','666855pvVzaU','enableCommand','get','22680xviijB','3517263yuEzrh','891816iLMGnm','plugins','afterInit','has','111253ApJqjD','UndoEditing','undo'];_0x5d37=function(){return _0x583d8a;};return _0x5d37();}const _0x208cf6=_0x4d7a;(function(_0x42c52a,_0x4f937c){const _0x528e6c=_0x4d7a,_0x3c43e5=_0x42c52a();while(!![]){try{const _0x5e5a80=-parseInt(_0x528e6c(0x11e))/0x1+parseInt(_0x528e6c(0x123))/0x2*(parseInt(_0x528e6c(0x118))/0x3)+-parseInt(_0x528e6c(0x126))/0x4+-parseInt(_0x528e6c(0x128))/0x5+parseInt(_0x528e6c(0x125))/0x6*(parseInt(_0x528e6c(0x127))/0x7)+parseInt(_0x528e6c(0x11a))/0x8+parseInt(_0x528e6c(0x119))/0x9;if(_0x5e5a80===_0x4f937c)break;else _0x3c43e5['push'](_0x3c43e5['shift']());}catch(_0x15ebf8){_0x3c43e5['push'](_0x3c43e5['shift']());}}}(_0x5d37,0x1e7b7));function _0x4d7a(_0x241575,_0x357b0b){const _0x5d3765=_0x5d37();return _0x4d7a=function(_0x4d7a2c,_0x3a24e3){_0x4d7a2c=_0x4d7a2c-0x118;let _0x5e0e7f=_0x5d3765[_0x4d7a2c];return _0x5e0e7f;},_0x4d7a(_0x241575,_0x357b0b);}import{Plugin as _0x89f59d}from'ckeditor5/src/core.js';export default class Dt extends _0x89f59d{[_0x208cf6(0x11c)](){const _0x2fb34f=_0x208cf6,_0x54aab4=this[_0x2fb34f(0x121)],_0x530bd0=_0x54aab4[_0x2fb34f(0x11b)][_0x2fb34f(0x12a)](_0x2fb34f(0x124));_0x54aab4[_0x2fb34f(0x11b)][_0x2fb34f(0x11d)](_0x2fb34f(0x11f))&&(_0x530bd0[_0x2fb34f(0x129)](_0x2fb34f(0x120)),_0x530bd0[_0x2fb34f(0x129)](_0x2fb34f(0x122)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x276e(_0x1716b7,_0x2e989f){const _0x4a5ff5=_0x4a5f();return _0x276e=function(_0x276e6c,_0x4fc609){_0x276e6c=_0x276e6c-0x7c;let _0x38e49f=_0x4a5ff5[_0x276e6c];return _0x38e49f;},_0x276e(_0x1716b7,_0x2e989f);}(function(_0x2f6798,_0x1e3072){const _0x23e170=_0x276e,_0x2d24e9=_0x2f6798();while(!![]){try{const _0x497ba9=parseInt(_0x23e170(0x91))/0x1+parseInt(_0x23e170(0x87))/0x2*(parseInt(_0x23e170(0x94))/0x3)+parseInt(_0x23e170(0x7f))/0x4+parseInt(_0x23e170(0x88))/0x5*(-parseInt(_0x23e170(0x95))/0x6)+-parseInt(_0x23e170(0xae))/0x7*(parseInt(_0x23e170(0x7c))/0x8)+parseInt(_0x23e170(0xa1))/0x9*(parseInt(_0x23e170(0x81))/0xa)+-parseInt(_0x23e170(0xac))/0xb*(parseInt(_0x23e170(0x8f))/0xc);if(_0x497ba9===_0x1e3072)break;else _0x2d24e9['push'](_0x2d24e9['shift']());}catch(_0x3de22e){_0x2d24e9['push'](_0x2d24e9['shift']());}}}(_0x4a5f,0xce34d));function _0x4a5f(){const _0x2717d4=['listIndent','getAttribute','start','push','createRangeOn','element','test','5517glZuRr','includes','activeMarkers','listItem','toViewElement','markerRange','get','writer','span','ck-suggestion-marker-','bindElementToMarker','11GJaxUb','elementEnd','8286593DFOuAS','insert','isAtEnd','nextSibling','markerName','getCustomProperty','getWalker','8QdHoSb','hasAttribute','isLimit','2760096hHiXGQ','previousPosition','15140NyyglG','type','plugins','isContent','toViewPosition','createUIElement','1461406wKlsXS','5CxMnCp','consumable','name','mapper','model','TrackChangesEditing','isBlock','11967996UhgYQg','schema','1622255HkYuzl','parent','addHighlight','3PYXYvK','5671866gukjdv','ck-suggestion-marker--active','addClass','getItems','item'];_0x4a5f=function(){return _0x2717d4;};return _0x4a5f();}export function getRangesWithAttribute(_0x4b0790,_0x3c9c9f,_0x56d4bb){const _0xc01448=_0x276e,_0x37fcb5=[];for(const _0x149989 of _0x3c9c9f[_0xc01448(0x98)]())_0x149989[_0xc01448(0x7d)](_0x4b0790)&&_0x37fcb5[_0xc01448(0x9d)](_0x56d4bb[_0xc01448(0x9e)](_0x149989));return _0x37fcb5;}export function getElementsAffectedByListItemRename(_0x18b7c2){const _0x480e7d=_0x276e,_0x1448a6=[];if(_0x18b7c2['is'](_0x480e7d(0x9f),_0x480e7d(0xa4))){let _0x500944=_0x18b7c2[_0x480e7d(0xb1)];for(;_0x500944&&_0x500944['is'](_0x480e7d(0x9f),_0x480e7d(0xa4))&&_0x500944[_0x480e7d(0x9b)](_0x480e7d(0x9a))>0x0;)_0x1448a6[_0x480e7d(0x9d)](_0x500944),_0x500944=_0x500944[_0x480e7d(0xb1)];}return _0x1448a6;}export function downcastSplitMergeMarker(_0x44498e,_0x1bd156,{showActiveMarker:_0x3864d8=!0x0}={}){const _0x284809=_0x276e,_0x392cb8=_0x44498e[_0x284809(0x83)][_0x284809(0xa7)](_0x284809(0x8d));return(_0x5a98f8,_0x197723,_0x29c32f)=>{const _0x4f1117=_0x284809;if(!_0x29c32f[_0x4f1117(0x89)][_0x4f1117(0xa0)](_0x197723[_0x4f1117(0xa6)],_0x5a98f8[_0x4f1117(0x8a)]))return;const _0x284502=_0x197723[_0x4f1117(0xa6)][_0x4f1117(0xb4)](),_0x49ef29=_0x197723[_0x4f1117(0xa6)][_0x4f1117(0x9c)],_0x60efb5=_0x44498e[_0x4f1117(0x8c)][_0x4f1117(0x90)];let _0xc84aa7=null,_0x567567=null,_0x5adc57=!0x1,_0x55ebaa=!0x1;for(const _0x3a09fd of _0x284502){const _0x297d97=_0x3a09fd[_0x4f1117(0x99)];_0x5adc57=_0x5adc57||_0x60efb5[_0x4f1117(0x84)](_0x297d97);const _0x3e5829=_0x29c32f[_0x4f1117(0x8b)][_0x4f1117(0xa5)](_0x297d97);if(_0x3e5829&&_0x3e5829[_0x4f1117(0xb3)](_0x4f1117(0x93)))return;_0x4f1117(0xad)==_0x3a09fd[_0x4f1117(0x82)]&&(_0x60efb5[_0x4f1117(0x8e)](_0x297d97)&&!_0x60efb5[_0x4f1117(0x7e)](_0x297d97)&&(_0x297d97[_0x4f1117(0xb1)]||_0x49ef29[_0x4f1117(0xb0)]?_0xc84aa7&&_0xc84aa7[_0x4f1117(0x92)]==_0x297d97||(_0xc84aa7=_0x297d97,_0x55b1ca(_0x3a09fd[_0x4f1117(0x80)]),_0x55ebaa=!0x0):_0x567567=_0x567567||_0x3a09fd[_0x4f1117(0x80)]));}function _0x55b1ca(_0x129341){const _0x1a848f=_0x4f1117,_0x7a6ed5=_0x29c32f[_0x1a848f(0xa8)][_0x1a848f(0x86)](_0x1a848f(0xa9),{'class':_0x1a848f(0xaa)+_0x1bd156}),_0x56687a=_0x29c32f[_0x1a848f(0x8b)][_0x1a848f(0x85)](_0x129341);_0x3864d8&&_0x392cb8[_0x1a848f(0xa3)][_0x1a848f(0xa2)](_0x197723[_0x1a848f(0xb2)])&&_0x29c32f[_0x1a848f(0xa8)][_0x1a848f(0x97)](_0x1a848f(0x96),_0x7a6ed5),_0x29c32f[_0x1a848f(0xa8)][_0x1a848f(0xaf)](_0x56687a,_0x7a6ed5),_0x29c32f[_0x1a848f(0x8b)][_0x1a848f(0xab)](_0x7a6ed5,_0x197723[_0x1a848f(0xb2)]);}_0x5adc57||_0x55ebaa||!_0x567567||_0x55b1ca(_0x567567);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x154c(_0x4716c8,_0x1623db){const _0x4aed60=_0x4aed();return _0x154c=function(_0x154c11,_0x51aac1){_0x154c11=_0x154c11-0x156;let _0x3d9f9c=_0x4aed60[_0x154c11];return _0x3d9f9c;},_0x154c(_0x4716c8,_0x1623db);}const _0xf7eab7=_0x154c;(function(_0x357679,_0xdb9cb9){const _0x4420d5=_0x154c,_0x4e9e00=_0x357679();while(!![]){try{const _0x2d4aa4=parseInt(_0x4420d5(0x177))/0x1*(parseInt(_0x4420d5(0x186))/0x2)+-parseInt(_0x4420d5(0x16a))/0x3+-parseInt(_0x4420d5(0x16f))/0x4+-parseInt(_0x4420d5(0x15f))/0x5+-parseInt(_0x4420d5(0x162))/0x6+parseInt(_0x4420d5(0x169))/0x7+parseInt(_0x4420d5(0x171))/0x8;if(_0x2d4aa4===_0xdb9cb9)break;else _0x4e9e00['push'](_0x4e9e00['shift']());}catch(_0x4da02a){_0x4e9e00['push'](_0x4e9e00['shift']());}}}(_0x4aed,0x4b735));import{Element as _0x405e49}from'ckeditor5/src/engine.js';import{ObservableMixin as _0xdc1bcd,uid as _0x3248d3}from'ckeditor5/src/utils.js';function _0x4aed(){const _0xba855f=['change','_markerNames','getMultiRangeId','clear','969020GpFECH','authoredAt','isExternal','3265758fxzJtr','accept','discard','set','getFirstRange','getFirstMarker','_onDiscard','3439653OUJlco','1322700TdxHEw','attributes','getMarkers','getMarkerNames','isMultiRange','219388EYdeWZ','isIntersecting','6643320TFiRqW','getRanges','head','map','toJSON','decorate','221095yhvFJr','creator','onAccept','_model','removeMarkers','nodeBefore','get','suggestion:','onAttributesChange','next','substr','createdAt','_onAttributesChange','length','add','2HHissc','setAttribute','reduce','nodeAfter','_isDataLoaded','addRange','commentThread','getItems','_saved','data','_onAccept','isIntersectingWithRange','getRange','size','addMarker','author','hasComments','from','removeAttribute','end','removeMarker','isInContent','getContainedElement','addMarkerName','@external','delete','start','filter','type','onDiscard','getAllAdjacentSuggestions','split','subType','markers','push','previous'];_0x4aed=function(){return _0xba855f;};return _0x4aed();}import{cloneDeep as _0x114a99,isEqual as _0x342a82,set as _0x386df0,unset as _0xb19fb3}from'lodash-es';export default class u extends _0xdc1bcd(){constructor(_0x23c012,_0x3a6b16){const _0xf8c66=_0x154c;super(),this[_0xf8c66(0x18a)]=!0x1,this['id']=_0x3a6b16['id'],this[_0xf8c66(0x1a2)]=_0x3a6b16[_0xf8c66(0x1a2)],this[_0xf8c66(0x157)]=_0x3a6b16[_0xf8c66(0x157)]||null,this[_0xf8c66(0x195)]=_0x3a6b16[_0xf8c66(0x195)],this[_0xf8c66(0x178)]=_0x3a6b16[_0xf8c66(0x178)]||_0x3a6b16[_0xf8c66(0x195)],this[_0xf8c66(0x161)]=Boolean(_0x3a6b16[_0xf8c66(0x16b)]&&_0x3a6b16[_0xf8c66(0x16b)][_0xf8c66(0x19e)]),this[_0xf8c66(0x18f)]=null,this[_0xf8c66(0x17a)]=_0x23c012,this[_0xf8c66(0x190)]=_0x3a6b16[_0xf8c66(0x179)],this[_0xf8c66(0x168)]=_0x3a6b16[_0xf8c66(0x1a3)],this[_0xf8c66(0x183)]=_0x3a6b16[_0xf8c66(0x17f)],this[_0xf8c66(0x15c)]=new Set(),this[_0xf8c66(0x182)]=null,this[_0xf8c66(0x165)](_0xf8c66(0x160),null),this[_0xf8c66(0x165)](_0xf8c66(0x16b),_0x3a6b16[_0xf8c66(0x16b)]||{}),this[_0xf8c66(0x165)](_0xf8c66(0x15a),null),this[_0xf8c66(0x165)](_0xf8c66(0x180),null),this[_0xf8c66(0x165)](_0xf8c66(0x18c),null),this[_0xf8c66(0x165)](_0xf8c66(0x18e),!0x1),this[_0xf8c66(0x176)](_0xf8c66(0x163)),this[_0xf8c66(0x176)](_0xf8c66(0x164));}get[_0xf7eab7(0x173)](){const _0x53c09=_0xf7eab7;let _0x2a6297=this;for(;_0x2a6297[_0x53c09(0x15a)];)_0x2a6297=_0x2a6297[_0x53c09(0x15a)];return _0x2a6297;}get[_0xf7eab7(0x196)](){const _0x3c1b18=_0xf7eab7;return!!this[_0x3c1b18(0x18c)]&&this[_0x3c1b18(0x18c)][_0x3c1b18(0x184)]>0x0;}get[_0xf7eab7(0x16e)](){const _0x4f813e=_0xf7eab7;if(0x0==this[_0x4f813e(0x15c)][_0x4f813e(0x193)])return!0x1;return 0x6==Array[_0x4f813e(0x197)](this[_0x4f813e(0x15c)])[0x0][_0x4f813e(0x156)](':')[_0x4f813e(0x184)];}get[_0xf7eab7(0x19b)](){const _0x5414e2=_0xf7eab7;return null!==this[_0x5414e2(0x167)]();}[_0xf7eab7(0x19d)](_0x14af5b){const _0xa95a36=_0xf7eab7;this[_0xa95a36(0x15c)][_0xa95a36(0x185)](_0x14af5b);}[_0xf7eab7(0x16d)](){const _0x4b5e60=_0xf7eab7;return Array[_0x4b5e60(0x197)](this[_0x4b5e60(0x15c)]);}[_0xf7eab7(0x16c)](){const _0x2a017e=_0xf7eab7;return this[_0x2a017e(0x16d)]()[_0x2a017e(0x174)](_0x40014d=>this[_0x2a017e(0x17a)][_0x2a017e(0x158)][_0x2a017e(0x17d)](_0x40014d))[_0x2a017e(0x1a1)](_0x1f3ac8=>_0x1f3ac8);}[_0xf7eab7(0x167)](){const _0x31b07a=_0xf7eab7;return this[_0x31b07a(0x16c)]()[0x0]||null;}[_0xf7eab7(0x17b)](){const _0x4b1bd4=_0xf7eab7;this[_0x4b1bd4(0x17a)][_0x4b1bd4(0x15b)](_0x3df974=>{const _0x1d88b7=_0x4b1bd4;for(const _0x22a8b7 of this[_0x1d88b7(0x16c)]())_0x3df974[_0x1d88b7(0x19a)](_0x22a8b7);}),this[_0x4b1bd4(0x15c)][_0x4b1bd4(0x15e)]();}[_0xf7eab7(0x19a)](_0x184bae){const _0x141127=_0xf7eab7;this[_0x141127(0x17a)][_0x141127(0x15b)](_0x2155c0=>{const _0x2428ae=_0x141127;_0x2155c0[_0x2428ae(0x19a)](_0x184bae);}),this[_0x141127(0x15c)][_0x141127(0x19f)](_0x184bae);}[_0xf7eab7(0x18b)](_0x251b22){const _0x15d768=_0xf7eab7,_0x1e1b88=_0x15d768(0x17e)+this[_0x15d768(0x1a2)]+':'+this[_0x15d768(0x157)]+':'+this['id']+':'+this[_0x15d768(0x178)]['id']+':'+u[_0x15d768(0x15d)]();this[_0x15d768(0x19d)](_0x1e1b88),this[_0x15d768(0x17a)][_0x15d768(0x15b)](_0x424c89=>{const _0x43df37=_0x15d768;_0x424c89[_0x43df37(0x194)](_0x1e1b88,{'range':_0x251b22,'usingOperation':!0x0,'affectsData':!0x0});});}[_0xf7eab7(0x191)](_0x1750c8){const _0x28e413=_0xf7eab7;for(const _0x11908c of this[_0x28e413(0x172)]())if(_0x11908c[_0x28e413(0x170)](_0x1750c8))return!0x0;return!0x1;}[_0xf7eab7(0x172)](){const _0x405e16=_0xf7eab7;return this[_0x405e16(0x16c)]()[_0x405e16(0x174)](_0x288985=>_0x288985[_0x405e16(0x192)]());}[_0xf7eab7(0x18d)](){const _0x4fb38d=_0xf7eab7;return this[_0x4fb38d(0x172)]()[_0x4fb38d(0x188)]((_0x391246,_0x7078dd)=>[..._0x391246,..._0x7078dd[_0x4fb38d(0x18d)]()],[]);}[_0xf7eab7(0x166)](){const _0x3e5a32=_0xf7eab7;var _0x301561;return(null===(_0x301561=this[_0x3e5a32(0x167)]())||void 0x0===_0x301561?void 0x0:_0x301561[_0x3e5a32(0x192)]())||null;}[_0xf7eab7(0x19c)](){const _0x48ac4b=_0xf7eab7,_0x232cfb=this[_0x48ac4b(0x172)]();if(0x1!=_0x232cfb[_0x48ac4b(0x184)])return null;const _0x43472c=_0x232cfb[0x0],_0x136440=_0x43472c[_0x48ac4b(0x1a0)][_0x48ac4b(0x189)],_0x1cef56=_0x43472c[_0x48ac4b(0x199)][_0x48ac4b(0x17c)];return _0x136440 instanceof _0x405e49?_0x136440!=_0x1cef56?null:_0x136440:null;}[_0xf7eab7(0x163)](){const _0x526bb7=_0xf7eab7;this[_0x526bb7(0x190)](this[_0x526bb7(0x172)](),this[_0x526bb7(0x18f)],this[_0x526bb7(0x16b)]),this[_0x526bb7(0x17b)]();}[_0xf7eab7(0x164)](){const _0x3768bb=_0xf7eab7;this[_0x3768bb(0x168)](this[_0x3768bb(0x172)](),this[_0x3768bb(0x18f)],this[_0x3768bb(0x16b)]),this[_0x3768bb(0x17b)]();}[_0xf7eab7(0x1a4)](){const _0x445e39=_0xf7eab7,_0x1c7155=[];let _0x58f2b8=this[_0x445e39(0x173)];for(;_0x58f2b8;)_0x1c7155[_0x445e39(0x159)](_0x58f2b8),_0x58f2b8=_0x58f2b8[_0x445e39(0x180)];return _0x1c7155;}[_0xf7eab7(0x187)](_0x24954f,_0x53117d){const _0x516e9b=_0xf7eab7,_0x2e9f23=_0x114a99(this[_0x516e9b(0x16b)]);_0x386df0(_0x2e9f23,_0x24954f,_0x53117d),_0x342a82(_0x2e9f23,this[_0x516e9b(0x16b)])||(this[_0x516e9b(0x16b)]=_0x2e9f23,this[_0x516e9b(0x183)](_0x2e9f23));}[_0xf7eab7(0x198)](_0x566e35){const _0x25934e=_0xf7eab7,_0x266aa9=_0x114a99(this[_0x25934e(0x16b)]);_0xb19fb3(_0x266aa9,_0x566e35),_0x342a82(_0x266aa9,this[_0x25934e(0x16b)])||(this[_0x25934e(0x16b)]=_0x266aa9,this[_0x25934e(0x183)](this[_0x25934e(0x16b)]));}[_0xf7eab7(0x175)](){const _0x56f186=_0xf7eab7;return{'id':this['id'],'type':this[_0x56f186(0x157)]?this[_0x56f186(0x1a2)]+':'+this[_0x56f186(0x157)]:this[_0x56f186(0x1a2)],'authorId':this[_0x56f186(0x178)]['id'],'createdAt':this[_0x56f186(0x182)],'hasComments':this[_0x56f186(0x196)],'data':this[_0x56f186(0x18f)],'attributes':this[_0x56f186(0x16b)]};}static[_0xf7eab7(0x15d)](){const _0x90e4e3=_0xf7eab7;return _0x3248d3()[_0x90e4e3(0x181)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3f89=['isEqual','quantity','removeEmptyContainer','push','$text','getDescriptions','remove','_handleRenameSuggestionDescription','getItemLabel','skip','EmptyContainer','nextSibling','_addDescriptionItems','element','REPLACE_TEXT','_handleInsertRemoveSuggestionDescription','match','softBreak','format','elementEnd','*Split:*\x20%0','elementStart','name','*Remove\x20format:*\x20%0','deletion','indexOf','type','normal','pop','Container','data','_handleCustomCallbackDescription','map','add','_handleAttributeSuggestionDescription','registerAttributeLabel','replace','_customCallbacks','item','isObject','join','registerElementLabel','get','end','previousSibling','addContainer','label','_resolveDescriptionItems','key','attribute','_locale','start','removeContainer','isEmpty','ELEMENT_SPACE','subType','function','_itemLabels','*Insert:*\x20%0','getWalker','removeFormat','_schema','addEmptyContainer','$1\x20$2','text','$textProxy','_attributeLabels','nodeAfter','registerDescriptionCallback','has','set','Object','getFirstRange','length','_itemLabelsCallbacks','insertion','removeObject','*Remove:*\x20%0'];(function(_0x5bd754,_0x3f89bd){const _0x99cf62=function(_0x515699){while(--_0x515699){_0x5bd754['push'](_0x5bd754['shift']());}};_0x99cf62(++_0x3f89bd);}(_0x3f89,0x1e6));const _0x99cf=function(_0x5bd754,_0x3f89bd){_0x5bd754=_0x5bd754-0x0;let _0x99cf62=_0x3f89[_0x5bd754];return _0x99cf62;};import{getTranslation as _0x93902c}from'./utils/common-translations.js';import{priorities as _0x40c40b,insertToPriorityArray as _0x54e3d2}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x3c7776}from'./trackchangesediting.js';export default class f{constructor(_0x1e8e42,_0x415142){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this[_0x99cf('0x38')]=[],this['_attributeLabels']=new Map(),this['_schema']=_0x1e8e42,this[_0x99cf('0x20')]=_0x415142;}[_0x99cf('0x41')](_0x31cc22){const _0x1924d9=[],_0x34738c=new Set(),_0x1b58ed=new Set();for(let _0x12b1db=0x0;_0x12b1db<_0x31cc22[_0x99cf('0x37')];_0x12b1db++){const _0x1e7930=_0x31cc22[_0x12b1db];if(!_0x1e7930['isInContent'])continue;const _0x26ce0e=this['_handleCustomCallbackDescription'](_0x1e7930);if(_0x26ce0e){if(null!=_0x1e7930['subType']){if(_0x34738c[_0x99cf('0x33')](_0x1e7930[_0x99cf('0x25')]))continue;_0x34738c['add'](_0x1e7930['subType']);}_0x1924d9[_0x99cf('0x3f')](_0x26ce0e);}else{if(_0x99cf('0x1f')!=_0x1e7930[_0x99cf('0x8')])_0x99cf('0x39')!=_0x1e7930['type']&&_0x99cf('0x6')!=_0x1e7930[_0x99cf('0x8')]||this[_0x99cf('0x4b')](_0x1924d9,_0x1e7930,_0x31cc22[_0x12b1db+0x1]);else{const _0x3c53cd=_0x1e7930[_0x99cf('0xc')][_0x99cf('0x1e')];if(_0x1b58ed[_0x99cf('0x33')](_0x3c53cd))continue;_0x1b58ed[_0x99cf('0xf')](_0x1e7930['data']['key']),_0x3c53cd==_0x3c7776?this[_0x99cf('0x43')](_0x1924d9,_0x1e7930):this[_0x99cf('0x10')](_0x1924d9,_0x1e7930);}}}return this[_0x99cf('0x1d')](_0x1924d9);}[_0x99cf('0x32')](_0x392fce){this[_0x99cf('0x13')][_0x99cf('0x3f')](_0x392fce);}[_0x99cf('0x17')](_0x409ef5,_0x540762,_0x357b0f=_0x40c40b[_0x99cf('0x9')]){_0x99cf('0x26')==typeof _0x409ef5?_0x54e3d2(this[_0x99cf('0x38')],{'matchingCallback':_0x409ef5,'label':_0x540762,'priority':_0x357b0f}):this['_itemLabels']['set'](_0x409ef5,_0x540762);}[_0x99cf('0x11')](_0x5b00f6,_0x247676){this[_0x99cf('0x30')][_0x99cf('0x34')](_0x5b00f6,_0x247676);}[_0x99cf('0x44')](_0x57fffb,_0x3a6ab6=0x1){let _0x51c0d9;for(const _0xb81998 of this[_0x99cf('0x38')])if(_0xb81998['matchingCallback'](_0x57fffb)){_0x51c0d9=_0xb81998[_0x99cf('0x1c')];break;}return _0x51c0d9||(_0x51c0d9=this[_0x99cf('0x27')][_0x99cf('0x18')](_0x57fffb[_0x99cf('0x4')])),_0x51c0d9?_0x51c0d9(_0x3a6ab6):0x1!==_0x3a6ab6?_0x3a6ab6+'\x20'+_0x57fffb[_0x99cf('0x4')]+'s':''+_0x57fffb[_0x99cf('0x4')];}[_0x99cf('0x48')](_0x1f4579,_0x12ea20){const _0x5a9774=_0x12ea20[_0x99cf('0x36')]()[_0x99cf('0x29')](),_0x2be546=_0x99cf('0x39')==_0x12ea20[_0x99cf('0x8')]?_0x99cf('0xf'):'remove';for(const _0x39983f of _0x5a9774){const _0x5c3ca8=_0x39983f['item'],_0x16cbfc=_0x1f4579[_0x1f4579[_0x99cf('0x37')]-0x1];if(_0x5c3ca8['is'](_0x99cf('0x2f')))_0x16cbfc&&_0x16cbfc[_0x99cf('0x8')]['indexOf'](_0x99cf('0xb'))>-0x1&&_0x1f4579['pop'](),_0x16cbfc&&'text'==_0x16cbfc[_0x99cf('0x8')]?_0x16cbfc[_0x2be546]+=_0x5c3ca8[_0x99cf('0xc')]:_0x1f4579[_0x99cf('0x3f')]({'type':_0x99cf('0x2e'),'add':_0x99cf('0xf')==_0x2be546?_0x5c3ca8[_0x99cf('0xc')]:'','remove':_0x99cf('0x42')==_0x2be546?_0x5c3ca8[_0x99cf('0xc')]:''});else{if(this[_0x99cf('0x2b')][_0x99cf('0x15')](_0x5c3ca8)){const _0x5d0ada=_0x5c3ca8;if(_0x16cbfc&&_0x16cbfc[_0x99cf('0x8')][_0x99cf('0x7')](_0x99cf('0xb'))>-0x1&&_0x1f4579[_0x99cf('0xa')](),'elementEnd'==_0x39983f[_0x99cf('0x8')])continue;_0x16cbfc&&_0x16cbfc[_0x99cf('0x8')]==_0x2be546+_0x99cf('0x35')&&_0x16cbfc[_0x99cf('0x49')][_0x99cf('0x4')]==_0x5d0ada[_0x99cf('0x4')]?_0x16cbfc[_0x99cf('0x3d')]++:_0x1f4579[_0x99cf('0x3f')]({'type':_0x2be546+_0x99cf('0x35'),'element':_0x5d0ada,'quantity':0x1}),_0x5a9774[_0x99cf('0x45')](_0x596284=>!(_0x99cf('0x1')==_0x596284[_0x99cf('0x8')]&&_0x596284[_0x99cf('0x14')]==_0x5c3ca8));}else{if(this['_schema']['checkChild'](_0x5c3ca8,_0x99cf('0x40'))||_0x5c3ca8['is'](_0x99cf('0x49'),_0x99cf('0x4d'))){const _0x19a263=_0x5c3ca8;if(_0x99cf('0xf')==_0x2be546&&_0x99cf('0x3')==_0x39983f[_0x99cf('0x8')]||'remove'==_0x2be546&&_0x99cf('0x1')==_0x39983f[_0x99cf('0x8')])continue;if(_0x16cbfc&&-0x1==_0x16cbfc[_0x99cf('0x8')]['indexOf']('Container')){_0x99cf('0x2e')==_0x16cbfc['type']&&(_0x16cbfc[_0x2be546]+='\x0a');continue;}let _0x46bbcd;if(_0x46bbcd=_0x99cf('0xf')==_0x2be546?_0x19a263['nextSibling']&&!this[_0x99cf('0x2b')][_0x99cf('0x15')](_0x19a263[_0x99cf('0x47')])?_0x19a263['nextSibling']:null:_0x19a263['previousSibling']&&!this['_schema']['isObject'](_0x19a263[_0x99cf('0x1a')])?_0x19a263[_0x99cf('0x1a')]:null,_0x19a263[_0x99cf('0x23')]||_0x46bbcd&&_0x46bbcd[_0x99cf('0x23')]){const _0xfdf75e=_0x46bbcd&&_0x46bbcd[_0x99cf('0x23')]?_0x46bbcd:_0x19a263;_0x16cbfc&&_0x16cbfc[_0x99cf('0x8')]==_0x2be546+_0x99cf('0x46')&&_0x16cbfc['element'][_0x99cf('0x4')]==_0xfdf75e['name']?_0x16cbfc['quantity']++:_0x1f4579[_0x99cf('0x3f')]({'type':_0x2be546+_0x99cf('0x46'),'element':_0xfdf75e,'quantity':0x1});}else _0x1f4579[_0x99cf('0x3f')]({'type':_0x2be546+'Container','element':_0x19a263});}}}}}[_0x99cf('0x1d')](_0x160e20){const _0x43b2a2=this['_locale'],_0x3749ac=[],_0x369144=[],_0x423ff6=[];for(const _0x5666ee of _0x160e20)switch(_0x5666ee[_0x99cf('0x8')]){case'text':if(_0x5666ee[_0x99cf('0xf')]=_0x5666ee[_0x99cf('0xf')][_0x99cf('0x12')](/(\S)\u000A+(\S)/g,_0x99cf('0x2d'))['replace'](/\u000A/g,''),_0x5666ee[_0x99cf('0x42')]=_0x5666ee[_0x99cf('0x42')][_0x99cf('0x12')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x99cf('0x12')](/\u000A/g,''),''!=_0x5666ee['add']&&''!=_0x5666ee[_0x99cf('0x42')]){_0x3749ac['push']({'type':_0x99cf('0x12'),'content':_0x93902c(_0x43b2a2,_0x99cf('0x4a'),['\x22'+_0x5666ee[_0x99cf('0x42')]+'\x22','\x22'+_0x5666ee[_0x99cf('0xf')]+'\x22'])});continue;}if(null!=_0x5666ee[_0x99cf('0xf')][_0x99cf('0x4c')](/^ +$/)){_0x3749ac[_0x99cf('0x3f')]({'type':_0x99cf('0x39'),'content':_0x93902c(_0x43b2a2,'*Insert:*\x20%0',_0x93902c(_0x43b2a2,'ELEMENT_SPACE',_0x5666ee['add'][_0x99cf('0x37')]))});continue;}if(null!=_0x5666ee[_0x99cf('0x42')]['match'](/^ +$/)){_0x3749ac[_0x99cf('0x3f')]({'type':'deletion','content':_0x93902c(_0x43b2a2,_0x99cf('0x3b'),_0x93902c(_0x43b2a2,_0x99cf('0x24'),_0x5666ee['remove'][_0x99cf('0x37')]))});continue;}if(''!=_0x5666ee[_0x99cf('0xf')]){_0x3749ac[_0x99cf('0x3f')]({'type':'insertion','content':_0x93902c(_0x43b2a2,_0x99cf('0x28'),'\x22'+_0x5666ee[_0x99cf('0xf')]+'\x22')});continue;}_0x3749ac[_0x99cf('0x3f')]({'type':'deletion','content':_0x93902c(_0x43b2a2,_0x99cf('0x3b'),'\x22'+_0x5666ee[_0x99cf('0x42')]+'\x22')});continue;case _0x99cf('0x2c'):case'addObject':_0x3749ac[_0x99cf('0x3f')]({'type':'insertion','content':_0x93902c(_0x43b2a2,_0x99cf('0x28'),this[_0x99cf('0x44')](_0x5666ee['element'],_0x5666ee[_0x99cf('0x3d')]))});continue;case _0x99cf('0x3e'):case _0x99cf('0x3a'):_0x3749ac[_0x99cf('0x3f')]({'type':_0x99cf('0x6'),'content':_0x93902c(_0x43b2a2,_0x99cf('0x3b'),this[_0x99cf('0x44')](_0x5666ee[_0x99cf('0x49')],_0x5666ee['quantity']))});continue;case _0x99cf('0x1b'):_0x3749ac[_0x99cf('0x3f')]({'type':_0x99cf('0x39'),'content':_0x93902c(_0x43b2a2,_0x99cf('0x2'),this['getItemLabel'](_0x5666ee['element'],_0x5666ee[_0x99cf('0x3d')]))});continue;case _0x99cf('0x22'):_0x3749ac[_0x99cf('0x3f')]({'type':'deletion','content':_0x93902c(_0x43b2a2,'*Merge:*\x20%0',this[_0x99cf('0x44')](_0x5666ee[_0x99cf('0x49')],_0x5666ee[_0x99cf('0x3d')]))});continue;case'addFormat':_0x369144['push'](_0x5666ee[_0x99cf('0x1e')]);continue;case _0x99cf('0x2a'):_0x423ff6['push'](_0x5666ee[_0x99cf('0x1e')]);continue;default:_0x3749ac['push'](_0x5666ee);}if(_0x369144['length']){const _0x1f2e7f=_0x369144[_0x99cf('0xe')](_0x13cbde=>this[_0x99cf('0x30')][_0x99cf('0x33')](_0x13cbde)?this[_0x99cf('0x30')][_0x99cf('0x18')](_0x13cbde):_0x13cbde)[_0x99cf('0x16')](',\x20');_0x3749ac[_0x99cf('0x3f')]({'type':_0x99cf('0x0'),'content':_0x93902c(this['_locale'],'*Set\x20format:*\x20%0',_0x1f2e7f)});}if(_0x423ff6[_0x99cf('0x37')]){const _0x1c2f0e=_0x423ff6['map'](_0x42ffab=>this[_0x99cf('0x30')][_0x99cf('0x33')](_0x42ffab)?this[_0x99cf('0x30')][_0x99cf('0x18')](_0x42ffab):_0x42ffab)['join'](',\x20');_0x3749ac[_0x99cf('0x3f')]({'type':_0x99cf('0x0'),'content':_0x93902c(this[_0x99cf('0x20')],_0x99cf('0x5'),_0x1c2f0e)});}return _0x3749ac;}[_0x99cf('0xd')](_0x2c6823){for(const _0x3a2f0f of this[_0x99cf('0x13')]){const _0x4ab286=_0x3a2f0f(_0x2c6823);if(_0x4ab286&&'type'in _0x4ab286)return _0x4ab286;}}[_0x99cf('0x10')](_0x41750d,_0x44c79d){const _0x3c5745=_0x44c79d['data'],_0x1da75d=void 0x0===_0x3c5745['newValue']?'removeFormat':'addFormat';_0x41750d['push']({'type':_0x1da75d,'key':_0x3c5745['key']});}[_0x99cf('0x43')](_0x577b80,_0x326405){_0x577b80[_0x99cf('0x3f')]({'type':_0x99cf('0x0'),'content':_0x93902c(this[_0x99cf('0x20')],'*Change\x20to:*\x20%0',this[_0x99cf('0x44')](_0x326405[_0x99cf('0x36')]()[_0x99cf('0x21')][_0x99cf('0x31')],0x1))});}[_0x99cf('0x4b')](_0x1ce7cb,_0x2e6f45,_0x24a54a){if(this[_0x99cf('0x48')](_0x1ce7cb,_0x2e6f45),_0x24a54a&&_0x24a54a['getFirstRange']()&&!_0x2e6f45[_0x99cf('0x36')]()[_0x99cf('0x19')][_0x99cf('0x3c')](_0x24a54a['getFirstRange']()['start'])){const _0x1cec1a=_0x1ce7cb[_0x1ce7cb['length']-0x1],_0x56aea7=_0x99cf('0x39')==_0x2e6f45[_0x99cf('0x8')]?_0x99cf('0xf'):_0x99cf('0x42');_0x1cec1a&&_0x99cf('0x2e')==_0x1cec1a[_0x99cf('0x8')]&&(_0x1cec1a[_0x56aea7]+='\x0a');}}}
|
|
23
|
+
const _0xcc6650=_0xd13e;function _0x11f4(){const _0x44f3f6=['getDescriptions','28743DFMXye','*Merge:*\x20%0','$text','previousSibling','3685599xApOzg','*Insert:*\x20%0','*Split:*\x20%0','add','_customCallbacks','141001HIOmpd','_handleRenameSuggestionDescription','quantity','attribute','removeFormat','match','*Change\x20to:*\x20%0','1347012wQyKic','isEqual','*Set\x20format:*\x20%0','removeObject','function','ELEMENT_SPACE','removeContainer','*Remove:*\x20%0','_locale','newValue','66Cocakv','push','_schema','indexOf','_addDescriptionItems','pop','subType','nextSibling','addObject','matchingCallback','format','length','elementStart','REPLACE_TEXT','72QDoFTb','remove','elementEnd','join','Object','16120TbNwqJ','skip','start','1085768BRimZd','505242Bvqkhd','addEmptyContainer','label','_attributeLabels','registerElementLabel','item','registerDescriptionCallback','_handleInsertRemoveSuggestionDescription','name','getWalker','_handleAttributeSuggestionDescription','addContainer','insertion','text','type','softBreak','key','_itemLabelsCallbacks','removeEmptyContainer','element','registerAttributeLabel','$1\x20$2','_itemLabels','has','$textProxy','get','Container','nodeAfter','_handleCustomCallbackDescription','data','normal','checkChild','set','isObject','deletion','isInContent','isEmpty','25VjiCrY','replace','map','_resolveDescriptionItems','end','addFormat','getItemLabel','*Remove\x20format:*\x20%0','890432Fwehox','EmptyContainer','getFirstRange'];_0x11f4=function(){return _0x44f3f6;};return _0x11f4();}(function(_0x21b69f,_0x1d3647){const _0x50d234=_0xd13e,_0x2d5a97=_0x21b69f();while(!![]){try{const _0x53c288=-parseInt(_0x50d234(0x1ae))/0x1+-parseInt(_0x50d234(0x16d))/0x2+-parseInt(_0x50d234(0x1a2))/0x3+parseInt(_0x50d234(0x16c))/0x4*(-parseInt(_0x50d234(0x192))/0x5)+parseInt(_0x50d234(0x1b8))/0x6*(-parseInt(_0x50d234(0x1a7))/0x7)+-parseInt(_0x50d234(0x19a))/0x8*(-parseInt(_0x50d234(0x164))/0x9)+parseInt(_0x50d234(0x169))/0xa*(parseInt(_0x50d234(0x19e))/0xb);if(_0x53c288===_0x1d3647)break;else _0x2d5a97['push'](_0x2d5a97['shift']());}catch(_0x470cd7){_0x2d5a97['push'](_0x2d5a97['shift']());}}}(_0x11f4,0xa9d57));import{getTranslation as _0x1cd9e8}from'./utils/common-translations.js';import{priorities as _0x3e9f05,insertToPriorityArray as _0x528207}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x511a69}from'./trackchangesediting.js';function _0xd13e(_0x55942a,_0x35a1f6){const _0x11f42d=_0x11f4();return _0xd13e=function(_0xd13e0e,_0x250580){_0xd13e0e=_0xd13e0e-0x164;let _0x4ba779=_0x11f42d[_0xd13e0e];return _0x4ba779;},_0xd13e(_0x55942a,_0x35a1f6);}export default class f{constructor(_0x5dc072,_0xb9d80a){const _0x3f0eff=_0xd13e;this[_0x3f0eff(0x1a6)]=[],this[_0x3f0eff(0x183)]=new Map(),this[_0x3f0eff(0x17e)]=[],this[_0x3f0eff(0x170)]=new Map(),this[_0x3f0eff(0x1ba)]=_0x5dc072,this[_0x3f0eff(0x1b6)]=_0xb9d80a;}[_0xcc6650(0x19d)](_0x128044){const _0x1e6dcb=_0xcc6650,_0x4bbbd6=[],_0x2ccf19=new Set(),_0x2b3207=new Set();for(let _0x2cb49d=0x0;_0x2cb49d<_0x128044[_0x1e6dcb(0x1c3)];_0x2cb49d++){const _0x520f59=_0x128044[_0x2cb49d];if(!_0x520f59[_0x1e6dcb(0x190)])continue;const _0xbc113c=this[_0x1e6dcb(0x189)](_0x520f59);if(_0xbc113c){if(null!=_0x520f59[_0x1e6dcb(0x1be)]){if(_0x2ccf19[_0x1e6dcb(0x184)](_0x520f59[_0x1e6dcb(0x1be)]))continue;_0x2ccf19[_0x1e6dcb(0x1a5)](_0x520f59[_0x1e6dcb(0x1be)]);}_0x4bbbd6[_0x1e6dcb(0x1b9)](_0xbc113c);}else{if(_0x1e6dcb(0x1aa)!=_0x520f59[_0x1e6dcb(0x17b)])_0x1e6dcb(0x179)!=_0x520f59[_0x1e6dcb(0x17b)]&&_0x1e6dcb(0x18f)!=_0x520f59[_0x1e6dcb(0x17b)]||this[_0x1e6dcb(0x174)](_0x4bbbd6,_0x520f59,_0x128044[_0x2cb49d+0x1]);else{const _0x105c1e=_0x520f59[_0x1e6dcb(0x18a)][_0x1e6dcb(0x17d)];if(_0x2b3207[_0x1e6dcb(0x184)](_0x105c1e))continue;_0x2b3207[_0x1e6dcb(0x1a5)](_0x520f59[_0x1e6dcb(0x18a)][_0x1e6dcb(0x17d)]),_0x105c1e==_0x511a69?this[_0x1e6dcb(0x1a8)](_0x4bbbd6,_0x520f59):this[_0x1e6dcb(0x177)](_0x4bbbd6,_0x520f59);}}}return this[_0x1e6dcb(0x195)](_0x4bbbd6);}[_0xcc6650(0x173)](_0x2e7710){const _0x49284d=_0xcc6650;this[_0x49284d(0x1a6)][_0x49284d(0x1b9)](_0x2e7710);}[_0xcc6650(0x171)](_0x287185,_0x4e2f65,_0x163272=_0x3e9f05[_0xcc6650(0x18b)]){const _0x2966fc=_0xcc6650;_0x2966fc(0x1b2)==typeof _0x287185?_0x528207(this[_0x2966fc(0x17e)],{'matchingCallback':_0x287185,'label':_0x4e2f65,'priority':_0x163272}):this[_0x2966fc(0x183)][_0x2966fc(0x18d)](_0x287185,_0x4e2f65);}[_0xcc6650(0x181)](_0x3fe1d1,_0x577b0a){const _0x36a6e2=_0xcc6650;this[_0x36a6e2(0x170)][_0x36a6e2(0x18d)](_0x3fe1d1,_0x577b0a);}[_0xcc6650(0x198)](_0x382a83,_0x659cd6=0x1){const _0x79cbb6=_0xcc6650;let _0x293a4a;for(const _0xd43ab of this[_0x79cbb6(0x17e)])if(_0xd43ab[_0x79cbb6(0x1c1)](_0x382a83)){_0x293a4a=_0xd43ab[_0x79cbb6(0x16f)];break;}return _0x293a4a||(_0x293a4a=this[_0x79cbb6(0x183)][_0x79cbb6(0x186)](_0x382a83[_0x79cbb6(0x175)])),_0x293a4a?_0x293a4a(_0x659cd6):0x1!==_0x659cd6?_0x659cd6+'\x20'+_0x382a83[_0x79cbb6(0x175)]+'s':''+_0x382a83[_0x79cbb6(0x175)];}[_0xcc6650(0x1bc)](_0x2c6d31,_0x582e82){const _0x310cf8=_0xcc6650,_0x26055a=_0x582e82[_0x310cf8(0x19c)]()[_0x310cf8(0x176)](),_0x5f525f=_0x310cf8(0x179)==_0x582e82[_0x310cf8(0x17b)]?_0x310cf8(0x1a5):_0x310cf8(0x165);for(const _0x1cd146 of _0x26055a){const _0x444f2c=_0x1cd146[_0x310cf8(0x172)],_0x6b1a78=_0x2c6d31[_0x2c6d31[_0x310cf8(0x1c3)]-0x1];if(_0x444f2c['is'](_0x310cf8(0x185)))_0x6b1a78&&_0x6b1a78[_0x310cf8(0x17b)][_0x310cf8(0x1bb)](_0x310cf8(0x187))>-0x1&&_0x2c6d31[_0x310cf8(0x1bd)](),_0x6b1a78&&_0x310cf8(0x17a)==_0x6b1a78[_0x310cf8(0x17b)]?_0x6b1a78[_0x5f525f]+=_0x444f2c[_0x310cf8(0x18a)]:_0x2c6d31[_0x310cf8(0x1b9)]({'type':_0x310cf8(0x17a),'add':_0x310cf8(0x1a5)==_0x5f525f?_0x444f2c[_0x310cf8(0x18a)]:'','remove':_0x310cf8(0x165)==_0x5f525f?_0x444f2c[_0x310cf8(0x18a)]:''});else{if(this[_0x310cf8(0x1ba)][_0x310cf8(0x18e)](_0x444f2c)){const _0x4aff9b=_0x444f2c;if(_0x6b1a78&&_0x6b1a78[_0x310cf8(0x17b)][_0x310cf8(0x1bb)](_0x310cf8(0x187))>-0x1&&_0x2c6d31[_0x310cf8(0x1bd)](),_0x310cf8(0x166)==_0x1cd146[_0x310cf8(0x17b)])continue;_0x6b1a78&&_0x6b1a78[_0x310cf8(0x17b)]==_0x5f525f+_0x310cf8(0x168)&&_0x6b1a78[_0x310cf8(0x180)][_0x310cf8(0x175)]==_0x4aff9b[_0x310cf8(0x175)]?_0x6b1a78[_0x310cf8(0x1a9)]++:_0x2c6d31[_0x310cf8(0x1b9)]({'type':_0x5f525f+_0x310cf8(0x168),'element':_0x4aff9b,'quantity':0x1}),_0x26055a[_0x310cf8(0x16a)](_0x5b487f=>!(_0x310cf8(0x166)==_0x5b487f[_0x310cf8(0x17b)]&&_0x5b487f[_0x310cf8(0x172)]==_0x444f2c));}else{if(this[_0x310cf8(0x1ba)][_0x310cf8(0x18c)](_0x444f2c,_0x310cf8(0x1a0))||_0x444f2c['is'](_0x310cf8(0x180),_0x310cf8(0x17c))){const _0x4db83a=_0x444f2c;if(_0x310cf8(0x1a5)==_0x5f525f&&_0x310cf8(0x1c4)==_0x1cd146[_0x310cf8(0x17b)]||_0x310cf8(0x165)==_0x5f525f&&_0x310cf8(0x166)==_0x1cd146[_0x310cf8(0x17b)])continue;if(_0x6b1a78&&-0x1==_0x6b1a78[_0x310cf8(0x17b)][_0x310cf8(0x1bb)](_0x310cf8(0x187))){_0x310cf8(0x17a)==_0x6b1a78[_0x310cf8(0x17b)]&&(_0x6b1a78[_0x5f525f]+='\x0a');continue;}let _0x2fa88d;if(_0x2fa88d=_0x310cf8(0x1a5)==_0x5f525f?_0x4db83a[_0x310cf8(0x1bf)]&&!this[_0x310cf8(0x1ba)][_0x310cf8(0x18e)](_0x4db83a[_0x310cf8(0x1bf)])?_0x4db83a[_0x310cf8(0x1bf)]:null:_0x4db83a[_0x310cf8(0x1a1)]&&!this[_0x310cf8(0x1ba)][_0x310cf8(0x18e)](_0x4db83a[_0x310cf8(0x1a1)])?_0x4db83a[_0x310cf8(0x1a1)]:null,_0x4db83a[_0x310cf8(0x191)]||_0x2fa88d&&_0x2fa88d[_0x310cf8(0x191)]){const _0x10f65d=_0x2fa88d&&_0x2fa88d[_0x310cf8(0x191)]?_0x2fa88d:_0x4db83a;_0x6b1a78&&_0x6b1a78[_0x310cf8(0x17b)]==_0x5f525f+_0x310cf8(0x19b)&&_0x6b1a78[_0x310cf8(0x180)][_0x310cf8(0x175)]==_0x10f65d[_0x310cf8(0x175)]?_0x6b1a78[_0x310cf8(0x1a9)]++:_0x2c6d31[_0x310cf8(0x1b9)]({'type':_0x5f525f+_0x310cf8(0x19b),'element':_0x10f65d,'quantity':0x1});}else _0x2c6d31[_0x310cf8(0x1b9)]({'type':_0x5f525f+_0x310cf8(0x187),'element':_0x4db83a});}}}}}[_0xcc6650(0x195)](_0x135b52){const _0x4a20be=_0xcc6650,_0x48f68a=this[_0x4a20be(0x1b6)],_0x23157d=[],_0x29d3be=[],_0x277aaa=[];for(const _0x1e6820 of _0x135b52)switch(_0x1e6820[_0x4a20be(0x17b)]){case _0x4a20be(0x17a):if(_0x1e6820[_0x4a20be(0x1a5)]=_0x1e6820[_0x4a20be(0x1a5)][_0x4a20be(0x193)](/(\S)\u000A+(\S)/g,_0x4a20be(0x182))[_0x4a20be(0x193)](/\u000A/g,''),_0x1e6820[_0x4a20be(0x165)]=_0x1e6820[_0x4a20be(0x165)][_0x4a20be(0x193)](/(\S)\u000A+(\S)/g,_0x4a20be(0x182))[_0x4a20be(0x193)](/\u000A/g,''),''!=_0x1e6820[_0x4a20be(0x1a5)]&&''!=_0x1e6820[_0x4a20be(0x165)]){_0x23157d[_0x4a20be(0x1b9)]({'type':_0x4a20be(0x193),'content':_0x1cd9e8(_0x48f68a,_0x4a20be(0x1c5),['\x22'+_0x1e6820[_0x4a20be(0x165)]+'\x22','\x22'+_0x1e6820[_0x4a20be(0x1a5)]+'\x22'])});continue;}if(null!=_0x1e6820[_0x4a20be(0x1a5)][_0x4a20be(0x1ac)](/^ +$/)){_0x23157d[_0x4a20be(0x1b9)]({'type':_0x4a20be(0x179),'content':_0x1cd9e8(_0x48f68a,_0x4a20be(0x1a3),_0x1cd9e8(_0x48f68a,_0x4a20be(0x1b3),_0x1e6820[_0x4a20be(0x1a5)][_0x4a20be(0x1c3)]))});continue;}if(null!=_0x1e6820[_0x4a20be(0x165)][_0x4a20be(0x1ac)](/^ +$/)){_0x23157d[_0x4a20be(0x1b9)]({'type':_0x4a20be(0x18f),'content':_0x1cd9e8(_0x48f68a,_0x4a20be(0x1b5),_0x1cd9e8(_0x48f68a,_0x4a20be(0x1b3),_0x1e6820[_0x4a20be(0x165)][_0x4a20be(0x1c3)]))});continue;}if(''!=_0x1e6820[_0x4a20be(0x1a5)]){_0x23157d[_0x4a20be(0x1b9)]({'type':_0x4a20be(0x179),'content':_0x1cd9e8(_0x48f68a,_0x4a20be(0x1a3),'\x22'+_0x1e6820[_0x4a20be(0x1a5)]+'\x22')});continue;}_0x23157d[_0x4a20be(0x1b9)]({'type':_0x4a20be(0x18f),'content':_0x1cd9e8(_0x48f68a,_0x4a20be(0x1b5),'\x22'+_0x1e6820[_0x4a20be(0x165)]+'\x22')});continue;case _0x4a20be(0x16e):case _0x4a20be(0x1c0):_0x23157d[_0x4a20be(0x1b9)]({'type':_0x4a20be(0x179),'content':_0x1cd9e8(_0x48f68a,_0x4a20be(0x1a3),this[_0x4a20be(0x198)](_0x1e6820[_0x4a20be(0x180)],_0x1e6820[_0x4a20be(0x1a9)]))});continue;case _0x4a20be(0x17f):case _0x4a20be(0x1b1):_0x23157d[_0x4a20be(0x1b9)]({'type':_0x4a20be(0x18f),'content':_0x1cd9e8(_0x48f68a,_0x4a20be(0x1b5),this[_0x4a20be(0x198)](_0x1e6820[_0x4a20be(0x180)],_0x1e6820[_0x4a20be(0x1a9)]))});continue;case _0x4a20be(0x178):_0x23157d[_0x4a20be(0x1b9)]({'type':_0x4a20be(0x179),'content':_0x1cd9e8(_0x48f68a,_0x4a20be(0x1a4),this[_0x4a20be(0x198)](_0x1e6820[_0x4a20be(0x180)],_0x1e6820[_0x4a20be(0x1a9)]))});continue;case _0x4a20be(0x1b4):_0x23157d[_0x4a20be(0x1b9)]({'type':_0x4a20be(0x18f),'content':_0x1cd9e8(_0x48f68a,_0x4a20be(0x19f),this[_0x4a20be(0x198)](_0x1e6820[_0x4a20be(0x180)],_0x1e6820[_0x4a20be(0x1a9)]))});continue;case _0x4a20be(0x197):_0x29d3be[_0x4a20be(0x1b9)](_0x1e6820[_0x4a20be(0x17d)]);continue;case _0x4a20be(0x1ab):_0x277aaa[_0x4a20be(0x1b9)](_0x1e6820[_0x4a20be(0x17d)]);continue;default:_0x23157d[_0x4a20be(0x1b9)](_0x1e6820);}if(_0x29d3be[_0x4a20be(0x1c3)]){const _0x4fa01f=_0x29d3be[_0x4a20be(0x194)](_0x33c8ea=>this[_0x4a20be(0x170)][_0x4a20be(0x184)](_0x33c8ea)?this[_0x4a20be(0x170)][_0x4a20be(0x186)](_0x33c8ea):_0x33c8ea)[_0x4a20be(0x167)](',\x20');_0x23157d[_0x4a20be(0x1b9)]({'type':_0x4a20be(0x1c2),'content':_0x1cd9e8(this[_0x4a20be(0x1b6)],_0x4a20be(0x1b0),_0x4fa01f)});}if(_0x277aaa[_0x4a20be(0x1c3)]){const _0x3274f0=_0x277aaa[_0x4a20be(0x194)](_0x3b5fce=>this[_0x4a20be(0x170)][_0x4a20be(0x184)](_0x3b5fce)?this[_0x4a20be(0x170)][_0x4a20be(0x186)](_0x3b5fce):_0x3b5fce)[_0x4a20be(0x167)](',\x20');_0x23157d[_0x4a20be(0x1b9)]({'type':_0x4a20be(0x1c2),'content':_0x1cd9e8(this[_0x4a20be(0x1b6)],_0x4a20be(0x199),_0x3274f0)});}return _0x23157d;}[_0xcc6650(0x189)](_0x16451e){const _0x571b38=_0xcc6650;for(const _0x53c0dd of this[_0x571b38(0x1a6)]){const _0x6267b8=_0x53c0dd(_0x16451e);if(_0x6267b8&&_0x571b38(0x17b)in _0x6267b8)return _0x6267b8;}}[_0xcc6650(0x177)](_0x24cf58,_0x49990c){const _0x4004e9=_0xcc6650,_0x402595=_0x49990c[_0x4004e9(0x18a)],_0x566d07=void 0x0===_0x402595[_0x4004e9(0x1b7)]?_0x4004e9(0x1ab):_0x4004e9(0x197);_0x24cf58[_0x4004e9(0x1b9)]({'type':_0x566d07,'key':_0x402595[_0x4004e9(0x17d)]});}[_0xcc6650(0x1a8)](_0x142de6,_0x59918f){const _0x1d0986=_0xcc6650;_0x142de6[_0x1d0986(0x1b9)]({'type':_0x1d0986(0x1c2),'content':_0x1cd9e8(this[_0x1d0986(0x1b6)],_0x1d0986(0x1ad),this[_0x1d0986(0x198)](_0x59918f[_0x1d0986(0x19c)]()[_0x1d0986(0x16b)][_0x1d0986(0x188)],0x1))});}[_0xcc6650(0x174)](_0x17bafe,_0x46a0bd,_0x25398c){const _0x1db7db=_0xcc6650;if(this[_0x1db7db(0x1bc)](_0x17bafe,_0x46a0bd),_0x25398c&&_0x25398c[_0x1db7db(0x19c)]()&&!_0x46a0bd[_0x1db7db(0x19c)]()[_0x1db7db(0x196)][_0x1db7db(0x1af)](_0x25398c[_0x1db7db(0x19c)]()[_0x1db7db(0x16b)])){const _0x14cfc1=_0x17bafe[_0x17bafe[_0x1db7db(0x1c3)]-0x1],_0x14ec5c=_0x1db7db(0x179)==_0x46a0bd[_0x1db7db(0x17b)]?_0x1db7db(0x1a5):_0x1db7db(0x165);_0x14cfc1&&_0x1db7db(0x17a)==_0x14cfc1[_0x1db7db(0x17b)]&&(_0x14cfc1[_0x14ec5c]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x319f31=_0x1195;(function(_0x1bc907,_0x134fbf){var _0x291068=_0x1195,_0xce6283=_0x1bc907();while(!![]){try{var _0x19a8f=-parseInt(_0x291068(0x121))/0x1+parseInt(_0x291068(0x119))/0x2*(parseInt(_0x291068(0x117))/0x3)+-parseInt(_0x291068(0x11c))/0x4+-parseInt(_0x291068(0x120))/0x5+-parseInt(_0x291068(0x111))/0x6+-parseInt(_0x291068(0x118))/0x7+-parseInt(_0x291068(0x113))/0x8*(-parseInt(_0x291068(0x110))/0x9);if(_0x19a8f===_0x134fbf)break;else _0xce6283['push'](_0xce6283['shift']());}catch(_0x3f1eed){_0xce6283['push'](_0xce6283['shift']());}}}(_0x5840,0x5d31d));function _0x1195(_0x335694,_0xdcdeb0){var _0x584068=_0x5840();return _0x1195=function(_0x1195e4,_0x148f69){_0x1195e4=_0x1195e4-0x10e;var _0x219b45=_0x584068[_0x1195e4];return _0x219b45;},_0x1195(_0x335694,_0xdcdeb0);}import{Plugin as _0x58b123}from'ckeditor5/src/core.js';function _0x5840(){var _0x1614ff=['6873498nGgdXh','2267310AeCeTZ','editor','24tjTKth','plugins','getSuggestions','pluginName','2670cJYkSQ','3193666MgciqM','586AQKLJP','requires','Comments','2902112fVfXYO','TrackChanges','adapter','get','970070EDTPKm','416546aXRvYd','addSuggestion','addSuggestionData','getSuggestion'];_0x5840=function(){return _0x1614ff;};return _0x5840();}import _0x356b22 from'./trackchangesui.js';import _0x131da8 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x58b123{static get[_0x319f31(0x11a)](){var _0x454c50=_0x319f31;return[_0x131da8,_0x356b22,_0x454c50(0x11b)];}static get[_0x319f31(0x116)](){var _0x47c5e6=_0x319f31;return _0x47c5e6(0x11d);}set[_0x319f31(0x11e)](_0xc7cbcf){var _0x399c71=_0x319f31;this[_0x399c71(0x112)][_0x399c71(0x114)][_0x399c71(0x11f)](_0x131da8)[_0x399c71(0x11e)]=_0xc7cbcf;}get[_0x319f31(0x11e)](){var _0x31c0d7=_0x319f31;return this[_0x31c0d7(0x112)][_0x31c0d7(0x114)][_0x31c0d7(0x11f)](_0x131da8)[_0x31c0d7(0x11e)];}[_0x319f31(0x122)](_0x95be1){var _0x5c8b96=_0x319f31;return this[_0x5c8b96(0x112)][_0x5c8b96(0x114)][_0x5c8b96(0x11f)](_0x131da8)[_0x5c8b96(0x10e)](_0x95be1);}[_0x319f31(0x115)]({skipNotAttached:_0xed98d9=!0x1,toJSON:_0x1d6295=!0x1}={}){var _0x2a438a=_0x319f31;return this[_0x2a438a(0x112)][_0x2a438a(0x114)][_0x2a438a(0x11f)](_0x131da8)[_0x2a438a(0x115)]({'skipNotAttached':_0xed98d9,'toJSON':_0x1d6295});}[_0x319f31(0x10f)](_0x4964de){var _0x4fec7e=_0x319f31;return this[_0x4fec7e(0x112)][_0x4fec7e(0x114)][_0x4fec7e(0x11f)](_0x131da8)[_0x4fec7e(0x10f)](_0x4964de);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10b015=_0x28c5;(function(_0x3f4d7b,_0x3ce140){const _0x418f09=_0x28c5,_0x2d4c86=_0x3f4d7b();while(!![]){try{const _0xab48c2=parseInt(_0x418f09(0x1de))/0x1+parseInt(_0x418f09(0x1b4))/0x2*(parseInt(_0x418f09(0x1b2))/0x3)+parseInt(_0x418f09(0x1ca))/0x4+parseInt(_0x418f09(0x1b6))/0x5+parseInt(_0x418f09(0x1da))/0x6*(-parseInt(_0x418f09(0x1ce))/0x7)+-parseInt(_0x418f09(0x1e3))/0x8*(-parseInt(_0x418f09(0x1ac))/0x9)+-parseInt(_0x418f09(0x1d9))/0xa;if(_0xab48c2===_0x3ce140)break;else _0x2d4c86['push'](_0x2d4c86['shift']());}catch(_0x5db8e9){_0x2d4c86['push'](_0x2d4c86['shift']());}}}(_0x5185,0x57f45));import{Plugin as _0x2b85d0}from'ckeditor5/src/core.js';import{CKEditorError as _0x30730b}from'ckeditor5/src/utils.js';import _0x7998b5 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x14d657}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x28c5(_0xd8539e,_0x2a9265){const _0x5185ac=_0x5185();return _0x28c5=function(_0x28c5e0,_0x37af21){_0x28c5e0=_0x28c5e0-0x1ab;let _0xa2924e=_0x5185ac[_0x28c5e0];return _0xa2924e;},_0x28c5(_0xd8539e,_0x2a9265);}function _0x5185(){const _0x48053a=['map','pluginName','get','getDataWithDiscardedSuggestions','discardAllSuggestions','createDocumentFragment','trackChangesData.editorCreator','getRootsAttributes','TrackChangesEditing','7182110LylPrk','54462aRBtLQ','execute','getFullData','document','514343tDFvmg','define','track-changes-data-invalid-editor-creator','editorCreator','editor','2662992jfZnJI','Pagination','TrackChangesDataGetter','rootsAttributes','_adapter','CommentsRepository','addSuggestionData','9swYyKD','appendChild','function','constructor','div','model','57AXmhkQ','push','15198MsUyLo','getUser','1428325RjzBhP','Users','trackChangesData','getRootNames','reduce','config','data','create','end','TrackChangesData','createElement','requires','init','destroy','getDataWithAcceptedSuggestions','plugins','acceptAllSuggestions','useAnonymousUser','addUser','result','584540wYIfuT','users','set','getSuggestions','266EjspmO','name'];_0x5185=function(){return _0x48053a;};return _0x5185();}const T=[_0x10b015(0x1e4)];export default class P extends _0x2b85d0{static get[_0x10b015(0x1c1)](){return[_0x7998b5];}static get[_0x10b015(0x1d1)](){const _0x448bf8=_0x10b015;return _0x448bf8(0x1bf);}[_0x10b015(0x1c2)](){const _0x3cd6d0=_0x10b015,_0x1682dd=this[_0x3cd6d0(0x1e2)];if(_0x1682dd[_0x3cd6d0(0x1bb)][_0x3cd6d0(0x1df)](_0x3cd6d0(0x1d6),_0xda4f3e=>{const _0x339999=_0x3cd6d0,_0x422d73=_0x1682dd[_0x339999(0x1b1)][_0x339999(0x1dd)][_0x339999(0x1b9)]()[_0x339999(0x1ba)]((_0xe8fdac,_0x20cfed)=>(_0xe8fdac[_0x20cfed]='',_0xe8fdac),{});return _0x1682dd[_0x339999(0x1af)][_0x339999(0x1bd)](_0x422d73,_0xda4f3e);}),_0x3cd6d0(0x1ae)!=typeof _0x1682dd[_0x3cd6d0(0x1bb)][_0x3cd6d0(0x1d2)](_0x3cd6d0(0x1b8))[_0x3cd6d0(0x1e1)])throw new _0x30730b(_0x3cd6d0(0x1e0));}[_0x10b015(0x1c4)](_0x17b624){const _0x2b09c8=_0x10b015;return N(this[_0x2b09c8(0x1e2)],!0x0,_0x17b624);}[_0x10b015(0x1d3)](_0x384b21){const _0x568171=_0x10b015;return N(this[_0x568171(0x1e2)],!0x1,_0x384b21);}}class D extends _0x2b85d0{static get[_0x10b015(0x1d1)](){const _0xb5ad57=_0x10b015;return _0xb5ad57(0x1e5);}constructor(_0x2edc8a){const _0x19a454=_0x10b015;super(_0x2edc8a),this[_0x19a454(0x1c9)]=_0x19a454(0x1be);}[_0x10b015(0x1c2)](){const _0x52d461=_0x10b015;this[_0x52d461(0x1e2)][_0x52d461(0x1c5)][_0x52d461(0x1d2)](_0x52d461(0x1e8))[_0x52d461(0x1e7)]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x52d461(0x1e2)][_0x52d461(0x1c5)][_0x52d461(0x1d2)](_0x52d461(0x1d8))[_0x52d461(0x1e7)]=null;}}function v(_0x4d37f3){const _0x147317=_0x10b015;return void 0x0!==_0x4d37f3[_0x147317(0x1d7)];}async function N(_0x3a3e66,_0x31da2d,_0x2efe30){const _0x3f7da7=_0x10b015,_0x53bc9d=_0x14d657(_0x3a3e66,T);_0x53bc9d[_0x3f7da7(0x1c5)][_0x3f7da7(0x1b3)](_0x7998b5,D),_0x53bc9d[_0x3f7da7(0x1e6)]=v(_0x3a3e66)?_0x3a3e66[_0x3f7da7(0x1d7)]():void 0x0;const _0x1408f6=document[_0x3f7da7(0x1d5)](),_0x1d04f5=_0x3a3e66[_0x3f7da7(0x1bb)][_0x3f7da7(0x1d2)](_0x3f7da7(0x1b8))[_0x3f7da7(0x1e1)],_0x405882=await _0x1d04f5(_0x53bc9d,()=>function(_0x5e9254){const _0x300ade=_0x3f7da7,_0xd871b0=document[_0x300ade(0x1c0)](_0x300ade(0x1b0));return _0x5e9254[_0x300ade(0x1ad)](_0xd871b0),_0xd871b0;}(_0x1408f6));!function(_0xe67ab4,_0x72ffc4){const _0x40fc08=_0x3f7da7,_0x129c5d=_0xe67ab4[_0x40fc08(0x1b1)][_0x40fc08(0x1dd)][_0x40fc08(0x1b9)]()[_0x40fc08(0x1ba)]((_0x47503d,_0x169539)=>(_0x47503d[_0x169539]=_0xe67ab4[_0x40fc08(0x1bc)][_0x40fc08(0x1d2)]({'rootName':_0x169539}),_0x47503d),{}),_0x3dc3f1=_0xe67ab4[_0x40fc08(0x1c5)][_0x40fc08(0x1d2)](_0x40fc08(0x1b7))[_0x40fc08(0x1cb)][_0x40fc08(0x1d0)](_0x61d732=>({'id':_0x61d732['id'],'name':_0x61d732[_0x40fc08(0x1cf)]})),_0x38be17=_0xe67ab4[_0x40fc08(0x1c5)][_0x40fc08(0x1d2)](_0x40fc08(0x1d8))[_0x40fc08(0x1cd)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x17ec20=_0x72ffc4[_0x40fc08(0x1c5)][_0x40fc08(0x1d2)](_0x40fc08(0x1b7)),_0x5d5caf=_0x72ffc4[_0x40fc08(0x1c5)][_0x40fc08(0x1d2)](_0x40fc08(0x1d8));for(const _0x8c197d of _0x3dc3f1)_0x17ec20[_0x40fc08(0x1b5)](_0x8c197d['id'])||_0x17ec20[_0x40fc08(0x1c8)](_0x8c197d);_0x17ec20['me']||_0x17ec20[_0x40fc08(0x1c7)]();for(const _0x484df0 of _0x38be17)_0x5d5caf[_0x40fc08(0x1ab)](_0x484df0);_0x72ffc4[_0x40fc08(0x1bc)][_0x40fc08(0x1cc)](_0x129c5d);}(_0x3a3e66,_0x405882),_0x405882[_0x3f7da7(0x1db)](_0x31da2d?_0x3f7da7(0x1c6):_0x3f7da7(0x1d4));const _0x3ae65a=v(_0x405882)?_0x405882[_0x3f7da7(0x1dc)](_0x2efe30):_0x405882[_0x3f7da7(0x1bc)][_0x3f7da7(0x1d2)](_0x2efe30);return await _0x405882[_0x3f7da7(0x1c3)](),_0x3ae65a;}
|