@ckeditor/ckeditor5-track-changes 38.0.1 → 38.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +10 -8
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.d.ts +3 -2
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.d.ts +3 -2
  19. package/src/integrations/entercommand.js +1 -1
  20. package/src/integrations/findandreplace.js +1 -1
  21. package/src/integrations/font.js +1 -1
  22. package/src/integrations/formatpainter.js +1 -1
  23. package/src/integrations/heading.js +1 -1
  24. package/src/integrations/highlight.js +1 -1
  25. package/src/integrations/horizontalline.js +1 -1
  26. package/src/integrations/htmlembed.js +1 -1
  27. package/src/integrations/image.js +1 -1
  28. package/src/integrations/imagereplace.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.d.ts +3 -2
  32. package/src/integrations/inputcommand.js +1 -1
  33. package/src/integrations/link.js +1 -1
  34. package/src/integrations/list.js +1 -1
  35. package/src/integrations/listproperties.js +1 -1
  36. package/src/integrations/mediaembed.js +1 -1
  37. package/src/integrations/mention.js +1 -1
  38. package/src/integrations/pagebreak.js +1 -1
  39. package/src/integrations/paragraph.js +1 -1
  40. package/src/integrations/removeformat.js +1 -1
  41. package/src/integrations/restrictededitingmode.js +1 -1
  42. package/src/integrations/shiftentercommand.d.ts +3 -2
  43. package/src/integrations/shiftentercommand.js +1 -1
  44. package/src/integrations/standardeditingmode.js +1 -1
  45. package/src/integrations/style.js +1 -1
  46. package/src/integrations/table.js +1 -1
  47. package/src/integrations/tablecaption.d.ts +3 -2
  48. package/src/integrations/tablecaption.js +1 -1
  49. package/src/integrations/tableclipboard.d.ts +3 -2
  50. package/src/integrations/tableclipboard.js +1 -1
  51. package/src/integrations/tablecolumnresize.js +1 -1
  52. package/src/integrations/tableheadings.d.ts +3 -2
  53. package/src/integrations/tableheadings.js +1 -1
  54. package/src/integrations/tablemergesplit.d.ts +3 -2
  55. package/src/integrations/tablemergesplit.js +1 -1
  56. package/src/integrations/tableofcontents.js +1 -1
  57. package/src/integrations/tableproperties.d.ts +1 -1
  58. package/src/integrations/tableproperties.js +1 -1
  59. package/src/integrations/template.js +1 -1
  60. package/src/integrations/title.js +1 -1
  61. package/src/integrations/undo.js +1 -1
  62. package/src/integrations/utils.js +1 -1
  63. package/src/suggestion.d.ts +1 -1
  64. package/src/suggestion.js +1 -1
  65. package/src/suggestiondescriptionfactory.js +1 -1
  66. package/src/trackchanges.d.ts +5 -5
  67. package/src/trackchanges.js +1 -1
  68. package/src/trackchangesdata.d.ts +4 -5
  69. package/src/trackchangesdata.js +1 -1
  70. package/src/trackchangesediting.d.ts +49 -5
  71. package/src/trackchangesediting.js +1 -1
  72. package/src/trackchangesui.d.ts +5 -5
  73. package/src/trackchangesui.js +1 -1
  74. package/src/ui/suggestioncontroller.js +1 -1
  75. package/src/ui/view/basesuggestionthreadview.js +1 -1
  76. package/src/ui/view/suggestionthreadview.d.ts +0 -2
  77. package/src/ui/view/suggestionthreadview.js +1 -1
  78. package/src/utils/common-translations.js +1 -1
  79. package/src/utils/utils.js +1 -1
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "38.0.1",
3
+ "version": "38.1.0",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
7
+ "bugs": {
8
+ "url": "https://support.ckeditor.com/hc/en-us/requests/new"
9
+ },
7
10
  "homepage": "https://ckeditor.com/collaboration/track-changes/",
8
11
  "keywords": [
9
12
  "CKEditor",
@@ -35,16 +38,15 @@
35
38
  "ckeditor5-metadata.json",
36
39
  "CHANGELOG.md"
37
40
  ],
38
- "scripts": {
39
- "dll:build": "webpack",
40
- "build": "tsc -p ./tsconfig.json",
41
- "postversion": "npm run build"
42
- },
43
41
  "dependencies": {
44
- "ckeditor5": "^38.0.1",
45
- "ckeditor5-collaboration": "^38.0.1",
42
+ "ckeditor5": "38.1.0",
43
+ "ckeditor5-collaboration": "38.1.0",
46
44
  "lodash-es": "^4.17.11"
47
45
  },
46
+ "engines": {
47
+ "node": ">=16.0.0",
48
+ "npm": ">=5.7.1"
49
+ },
48
50
  "types": "src/index.d.ts",
49
51
  "obfuscated": true
50
52
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15eb=['refresh','plugins','_suggestions','acceptSuggestion','execute','isEnabled','get','_isEnabledBasedOnSelection','editor','track-changes-accept-suggestion-not-found'];(function(_0x81e55a,_0x15eb7c){const _0xaa017b=function(_0x319dae){while(--_0x319dae){_0x81e55a['push'](_0x81e55a['shift']());}};_0xaa017b(++_0x15eb7c);}(_0x15eb,0x86));const _0xaa01=function(_0x81e55a,_0x15eb7c){_0x81e55a=_0x81e55a-0x0;let _0xaa017b=_0x15eb[_0x81e55a];return _0xaa017b;};import{Command as _0x4b364c}from'ckeditor5/src/core';import{CKEditorError as _0xbcfee6}from'ckeditor5/src/utils';export default class M extends _0x4b364c{constructor(_0x336f0a,_0x4c7f14){super(_0x336f0a),this[_0xaa01('0x8')]=_0x4c7f14,this[_0xaa01('0x6')](),this[_0xaa01('0x3')]=!0x1;}[_0xaa01('0x6')](){this[_0xaa01('0x1')]=!0x0;}[_0xaa01('0x0')](_0x23cb1d){const _0x25ddf2=this['_suggestions'][_0xaa01('0x2')](_0x23cb1d);if(!_0x25ddf2)throw new _0xbcfee6(_0xaa01('0x5'),this);const _0x43f206=_0x25ddf2['getRanges']();this[_0xaa01('0x4')]['model']['canEditAt'](_0x43f206)&&this[_0xaa01('0x4')][_0xaa01('0x7')][_0xaa01('0x2')]('TrackChangesEditing')[_0xaa01('0x9')](_0x25ddf2);}}
23
+ const _0x2538=['getRanges','_isEnabledBasedOnSelection','isEnabled','execute','plugins','editor','get','TrackChangesEditing','acceptSuggestion','_suggestions','model','canEditAt','refresh'];(function(_0x362c50,_0x253809){const _0xd34df4=function(_0x1c2219){while(--_0x1c2219){_0x362c50['push'](_0x362c50['shift']());}};_0xd34df4(++_0x253809);}(_0x2538,0x147));const _0xd34d=function(_0x362c50,_0x253809){_0x362c50=_0x362c50-0x0;let _0xd34df4=_0x2538[_0x362c50];return _0xd34df4;};import{Command as _0x2968f4}from'ckeditor5/src/core';import{CKEditorError as _0x9c422c}from'ckeditor5/src/utils';export default class M extends _0x2968f4{constructor(_0x2da165,_0x595de4){super(_0x2da165),this['_suggestions']=_0x595de4,this[_0xd34d('0xa')](),this[_0xd34d('0xc')]=!0x1;}[_0xd34d('0xa')](){this[_0xd34d('0x0')]=!0x0;}[_0xd34d('0x1')](_0x49dd1b){const _0x515ac3=this[_0xd34d('0x7')][_0xd34d('0x4')](_0x49dd1b);if(!_0x515ac3)throw new _0x9c422c('track-changes-accept-suggestion-not-found',this);const _0x355762=_0x515ac3[_0xd34d('0xb')]();this[_0xd34d('0x3')][_0xd34d('0x8')][_0xd34d('0x9')](_0x355762)&&this[_0xd34d('0x3')][_0xd34d('0x2')][_0xd34d('0x4')](_0xd34d('0x5'))[_0xd34d('0x6')](_0x515ac3);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20de=['model','get','getRanges','canEditAt','editor','_isEnabledBasedOnSelection','execute','_suggestions','plugins','refresh','discardSuggestion','isEnabled','TrackChangesEditing'];(function(_0x9c6040,_0x20deb3){const _0x10fc03=function(_0x3ee04c){while(--_0x3ee04c){_0x9c6040['push'](_0x9c6040['shift']());}};_0x10fc03(++_0x20deb3);}(_0x20de,0x8d));const _0x10fc=function(_0x9c6040,_0x20deb3){_0x9c6040=_0x9c6040-0x0;let _0x10fc03=_0x20de[_0x9c6040];return _0x10fc03;};import{Command as _0x207fbc}from'ckeditor5/src/core';import{CKEditorError as _0x4ac7c8}from'ckeditor5/src/utils';export default class $ extends _0x207fbc{constructor(_0x19cbfa,_0xbde7ec){super(_0x19cbfa),this[_0x10fc('0x9')]=_0xbde7ec,this[_0x10fc('0xb')](),this[_0x10fc('0x7')]=!0x1;}[_0x10fc('0xb')](){this[_0x10fc('0x0')]=!0x0;}[_0x10fc('0x8')](_0x3d71b3){const _0x500ab2=this['_suggestions'][_0x10fc('0x3')](_0x3d71b3);if(!_0x500ab2)throw new _0x4ac7c8('track-changes-discard-suggestion-not-found',this);const _0xdcf7dc=_0x500ab2[_0x10fc('0x4')]();this[_0x10fc('0x6')][_0x10fc('0x2')][_0x10fc('0x5')](_0xdcf7dc)&&this[_0x10fc('0x6')][_0x10fc('0xa')][_0x10fc('0x3')](_0x10fc('0x1'))[_0x10fc('0xc')](_0x500ab2);}}
23
+ const _0x5c73=['discardSuggestion','refresh','get','_isEnabledBasedOnSelection','model','isEnabled','_suggestions','editor','getRanges','canEditAt','TrackChangesEditing','plugins'];(function(_0x23785e,_0x5c7306){const _0x5d3772=function(_0xe8c613){while(--_0xe8c613){_0x23785e['push'](_0x23785e['shift']());}};_0x5d3772(++_0x5c7306);}(_0x5c73,0xf9));const _0x5d37=function(_0x23785e,_0x5c7306){_0x23785e=_0x23785e-0x0;let _0x5d3772=_0x5c73[_0x23785e];return _0x5d3772;};import{Command as _0xa4c286}from'ckeditor5/src/core';import{CKEditorError as _0x225af8}from'ckeditor5/src/utils';export default class $ extends _0xa4c286{constructor(_0xa853f3,_0x362bb3){super(_0xa853f3),this[_0x5d37('0x9')]=_0x362bb3,this[_0x5d37('0x4')](),this[_0x5d37('0x6')]=!0x1;}[_0x5d37('0x4')](){this[_0x5d37('0x8')]=!0x0;}['execute'](_0x482411){const _0x275600=this['_suggestions'][_0x5d37('0x5')](_0x482411);if(!_0x275600)throw new _0x225af8('track-changes-discard-suggestion-not-found',this);const _0x358afa=_0x275600[_0x5d37('0xb')]();this[_0x5d37('0xa')][_0x5d37('0x7')][_0x5d37('0x0')](_0x358afa)&&this['editor'][_0x5d37('0x2')][_0x5d37('0x5')](_0x5d37('0x1'))[_0x5d37('0x3')](_0x275600);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x564e=['from','_command','editor','model','canEditAt','values','execute','isInContent','isEnabled','_isEnabledBasedOnSelection','_suggestions'];(function(_0x726714,_0x564e55){const _0x32b904=function(_0x5a1c1c){while(--_0x5a1c1c){_0x726714['push'](_0x726714['shift']());}};_0x32b904(++_0x564e55);}(_0x564e,0x82));const _0x32b9=function(_0x726714,_0x564e55){_0x726714=_0x726714-0x0;let _0x32b904=_0x564e[_0x726714];return _0x32b904;};import{Command as _0x1602a0}from'ckeditor5/src/core';import{sortSuggestions as _0x2a22f8,executeCommandForSuggestions as _0x178eab}from'../utils/utils';export default class N extends _0x1602a0{constructor(_0x2e5f10,_0xd9fa33,_0x1a00fa){super(_0x2e5f10),this[_0x32b9('0x3')]=_0xd9fa33,this[_0x32b9('0x1')]=_0x1a00fa,this['refresh'](),this[_0x32b9('0x0')]=!0x1;}['refresh'](){const _0xb229b0=Array[_0x32b9('0x2')](this[_0x32b9('0x1')][_0x32b9('0x7')]())['some'](_0x555243=>_0x555243[_0x32b9('0x9')]);this[_0x32b9('0xa')]=this[_0x32b9('0x3')][_0x32b9('0xa')]&&_0xb229b0;}[_0x32b9('0x8')](){const _0x265d29=_0x2a22f8(Array[_0x32b9('0x2')](this[_0x32b9('0x1')][_0x32b9('0x7')]()));for(const _0x53c9fa of _0x265d29){const _0x2ed307=_0x53c9fa['getRanges']();if(!this[_0x32b9('0x4')][_0x32b9('0x5')][_0x32b9('0x6')](_0x2ed307))return;}_0x178eab(this[_0x32b9('0x4')][_0x32b9('0x5')],this['_command'],_0x265d29);}}
23
+ const _0x43b1=['_suggestions','editor','canEditAt','refresh','some','getRanges','values','from','model','_command','_isEnabledBasedOnSelection','execute','isEnabled'];(function(_0x25982b,_0x43b110){const _0xdd268c=function(_0x375718){while(--_0x375718){_0x25982b['push'](_0x25982b['shift']());}};_0xdd268c(++_0x43b110);}(_0x43b1,0x102));const _0xdd26=function(_0x25982b,_0x43b110){_0x25982b=_0x25982b-0x0;let _0xdd268c=_0x43b1[_0x25982b];return _0xdd268c;};import{Command as _0x2435a6}from'ckeditor5/src/core';import{sortSuggestions as _0x3c71ce,executeCommandForSuggestions as _0x1bf965}from'../utils/utils';export default class N extends _0x2435a6{constructor(_0x5e9bdb,_0x4890ea,_0x540ae4){super(_0x5e9bdb),this[_0xdd26('0xb')]=_0x4890ea,this[_0xdd26('0x2')]=_0x540ae4,this[_0xdd26('0x5')](),this[_0xdd26('0xc')]=!0x1;}[_0xdd26('0x5')](){const _0x22d2f6=Array[_0xdd26('0x9')](this[_0xdd26('0x2')][_0xdd26('0x8')]())[_0xdd26('0x6')](_0x424b88=>_0x424b88['isInContent']);this[_0xdd26('0x1')]=this[_0xdd26('0xb')][_0xdd26('0x1')]&&_0x22d2f6;}[_0xdd26('0x0')](){const _0x1fdffe=_0x3c71ce(Array[_0xdd26('0x9')](this[_0xdd26('0x2')][_0xdd26('0x8')]()));for(const _0x5eac4e of _0x1fdffe){const _0x5a8ab8=_0x5eac4e[_0xdd26('0x7')]();if(!this['editor'][_0xdd26('0xa')][_0xdd26('0x4')](_0x5a8ab8))return;}_0x1bf965(this[_0xdd26('0x3')][_0xdd26('0xa')],this[_0xdd26('0xb')],_0x1fdffe);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfd15=['_command','isEnabled','editor','model','_isEnabledBasedOnSelection','refresh','selection','execute','_suggestions','getRanges','from','_selectedSuggestions','values','document','size','canEditAt'];(function(_0x28a799,_0xfd1573){const _0x52f314=function(_0x2d0339){while(--_0x2d0339){_0x28a799['push'](_0x28a799['shift']());}};_0x52f314(++_0xfd1573);}(_0xfd15,0x10e));const _0x52f3=function(_0x28a799,_0xfd1573){_0x28a799=_0x28a799-0x0;let _0x52f314=_0xfd15[_0x28a799];return _0x52f314;};import{Command as _0x42dc4e}from'ckeditor5/src/core';import{sortSuggestions as _0x3a61bc,getSelectedSuggestions as _0x24221a,executeCommandForSuggestions as _0x22cc93}from'../utils/utils';export default class R extends _0x42dc4e{constructor(_0x217cc8,_0x751f33,_0x558323){super(_0x217cc8),this[_0x52f3('0x2')]=_0x751f33,this[_0x52f3('0xa')]=_0x558323,this[_0x52f3('0xd')]=new Set(),this[_0x52f3('0x7')](),this[_0x52f3('0x6')]=!0x1;}['refresh'](){const _0x5b0728=this[_0x52f3('0x4')][_0x52f3('0x5')][_0x52f3('0xf')][_0x52f3('0x8')],_0x11d719=Array[_0x52f3('0xc')](this['_suggestions'][_0x52f3('0xe')]());this[_0x52f3('0xd')]=_0x24221a(_0x5b0728,_0x11d719),this[_0x52f3('0x3')]=this[_0x52f3('0x2')]['isEnabled']&&!!this[_0x52f3('0xd')][_0x52f3('0x0')];}[_0x52f3('0x9')](){const _0x599314=_0x3a61bc(Array[_0x52f3('0xc')](this[_0x52f3('0xd')]));for(const _0x3c90b4 of _0x599314){const _0x574af0=_0x3c90b4[_0x52f3('0xb')]();if(!this[_0x52f3('0x4')][_0x52f3('0x5')][_0x52f3('0x1')](_0x574af0))return;}_0x22cc93(this['editor'][_0x52f3('0x5')],this['_command'],_0x599314);}}
23
+ const _0x19dd=['_isEnabledBasedOnSelection','getRanges','selection','size','_command','canEditAt','editor','refresh','model','_suggestions','document','_selectedSuggestions'];(function(_0x2e7c7f,_0x19dd7e){const _0x5683a6=function(_0x59bfa0){while(--_0x59bfa0){_0x2e7c7f['push'](_0x2e7c7f['shift']());}};_0x5683a6(++_0x19dd7e);}(_0x19dd,0x127));const _0x5683=function(_0x2e7c7f,_0x19dd7e){_0x2e7c7f=_0x2e7c7f-0x0;let _0x5683a6=_0x19dd[_0x2e7c7f];return _0x5683a6;};import{Command as _0x33f24b}from'ckeditor5/src/core';import{sortSuggestions as _0x473305,getSelectedSuggestions as _0x21b9c9,executeCommandForSuggestions as _0x43a3ef}from'../utils/utils';export default class R extends _0x33f24b{constructor(_0x4baf91,_0x4c0b84,_0x162f1d){super(_0x4baf91),this[_0x5683('0x9')]=_0x4c0b84,this[_0x5683('0x2')]=_0x162f1d,this[_0x5683('0x4')]=new Set(),this[_0x5683('0x0')](),this[_0x5683('0x5')]=!0x1;}[_0x5683('0x0')](){const _0x15005d=this['editor'][_0x5683('0x1')][_0x5683('0x3')][_0x5683('0x7')],_0x3869a7=Array['from'](this[_0x5683('0x2')]['values']());this['_selectedSuggestions']=_0x21b9c9(_0x15005d,_0x3869a7),this['isEnabled']=this[_0x5683('0x9')]['isEnabled']&&!!this[_0x5683('0x4')][_0x5683('0x8')];}['execute'](){const _0x46766a=_0x473305(Array['from'](this[_0x5683('0x4')]));for(const _0x36ad3b of _0x46766a){const _0x43450a=_0x36ad3b[_0x5683('0x6')]();if(!this[_0x5683('0xb')][_0x5683('0x1')][_0x5683('0xa')](_0x43450a))return;}_0x43a3ef(this[_0x5683('0xb')][_0x5683('0x1')],this[_0x5683('0x9')],_0x46766a);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4082=['clearForceDisabled','_enabledCommands','editor','_enableCommands','affectsData','has','commands','_disableUnsupportedCommands','execute','value','TrackChangesCommand','_isEnabledBasedOnSelection','refresh'];(function(_0x363e71,_0x408253){const _0x4e0dc8=function(_0x562a24){while(--_0x562a24){_0x363e71['push'](_0x363e71['shift']());}};_0x4e0dc8(++_0x408253);}(_0x4082,0x148));const _0x4e0d=function(_0x363e71,_0x408253){_0x363e71=_0x363e71-0x0;let _0x4e0dc8=_0x4082[_0x363e71];return _0x4e0dc8;};import{Command as _0xbb7c84}from'ckeditor5/src/core';export default class _ extends _0xbb7c84{constructor(_0x1c8d79,_0x3d1f5c){super(_0x1c8d79),this[_0x4e0d('0xb')]=_0x3d1f5c,this[_0x4e0d('0x6')]=!0x1,this[_0x4e0d('0x9')](),this[_0x4e0d('0x8')]=!0x1;}[_0x4e0d('0x9')](){this['isEnabled']=!0x0;}[_0x4e0d('0x5')](){this[_0x4e0d('0x6')]=!this[_0x4e0d('0x6')],this['value']?this[_0x4e0d('0x4')]():this['_enableCommands']();}[_0x4e0d('0x4')](){for(const _0x225b12 of this[_0x4e0d('0xc')][_0x4e0d('0x3')][_0x4e0d('0x3')]())_0x225b12[_0x4e0d('0x1')]&&!this[_0x4e0d('0xb')][_0x4e0d('0x2')](_0x225b12)&&_0x225b12['forceDisabled'](_0x4e0d('0x7'));}[_0x4e0d('0x0')](){for(const _0x56ac82 of this['editor'][_0x4e0d('0x3')][_0x4e0d('0x3')]())_0x56ac82[_0x4e0d('0x1')]&&!this['_enabledCommands'][_0x4e0d('0x2')](_0x56ac82)&&_0x56ac82[_0x4e0d('0xa')]('TrackChangesCommand');}}
23
+ const _0x7da7=['value','_disableUnsupportedCommands','execute','_enabledCommands','_enableCommands','affectsData','clearForceDisabled','editor','commands','TrackChangesCommand','isEnabled','_isEnabledBasedOnSelection'];(function(_0x3d0c30,_0x7da75b){const _0x1b50d5=function(_0x130a38){while(--_0x130a38){_0x3d0c30['push'](_0x3d0c30['shift']());}};_0x1b50d5(++_0x7da75b);}(_0x7da7,0x164));const _0x1b50=function(_0x3d0c30,_0x7da75b){_0x3d0c30=_0x3d0c30-0x0;let _0x1b50d5=_0x7da7[_0x3d0c30];return _0x1b50d5;};import{Command as _0x3b03ae}from'ckeditor5/src/core';export default class _ extends _0x3b03ae{constructor(_0x1fae33,_0x5285db){super(_0x1fae33),this[_0x1b50('0x7')]=_0x5285db,this['value']=!0x1,this['refresh'](),this[_0x1b50('0x3')]=!0x1;}['refresh'](){this[_0x1b50('0x2')]=!0x0;}[_0x1b50('0x6')](){this['value']=!this['value'],this[_0x1b50('0x4')]?this[_0x1b50('0x5')]():this['_enableCommands']();}[_0x1b50('0x5')](){for(const _0x20e846 of this[_0x1b50('0xb')][_0x1b50('0x0')][_0x1b50('0x0')]())_0x20e846[_0x1b50('0x9')]&&!this['_enabledCommands']['has'](_0x20e846)&&_0x20e846['forceDisabled']('TrackChangesCommand');}[_0x1b50('0x8')](){for(const _0x2249bc of this[_0x1b50('0xb')][_0x1b50('0x0')][_0x1b50('0x0')]())_0x2249bc['affectsData']&&!this[_0x1b50('0x7')]['has'](_0x2249bc)&&_0x2249bc[_0x1b50('0xa')](_0x1b50('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2af2=['center','from','ltr','TrackChangesEditing','left','get','justify','commandParams','locale','model','selection','editor','markBlockFormat','alignment','FORMAT_ALIGN_TO_RIGHT','plugins','FORMAT_ALIGN_TO_CENTER','value','right','*Format:*\x20%0','change','afterInit','commandName','_descriptionFactory','enableCommand','has','AlignmentEditing','filter','getSelectedBlocks','schema','registerDescriptionCallback','getAttribute'];(function(_0x15df62,_0x2af256){const _0x2b5f6d=function(_0x502131){while(--_0x502131){_0x15df62['push'](_0x15df62['shift']());}};_0x2b5f6d(++_0x2af256);}(_0x2af2,0xbf));const _0x2b5f=function(_0x15df62,_0x2af256){_0x15df62=_0x15df62-0x0;let _0x2b5f6d=_0x2af2[_0x15df62];return _0x2b5f6d;};import{Plugin as _0x51e592}from'ckeditor5/src/core';import{getTranslation as _0x52ba5f}from'../utils/common-translations';export default class x extends _0x51e592{[_0x2b5f('0x16')](){const _0x23a38b=this[_0x2b5f('0xc')],_0xa8b99d=_0x23a38b[_0x2b5f('0x9')];if(!_0x23a38b[_0x2b5f('0x10')][_0x2b5f('0x1a')](_0x2b5f('0x1b')))return;const _0x5dc777=_0x23a38b[_0x2b5f('0x10')][_0x2b5f('0x6')](_0x2b5f('0x4'));_0x5dc777[_0x2b5f('0x19')](_0x2b5f('0xe'),(_0x7fff3a,_0x1ecf6e={})=>{let _0x186e07=_0x1ecf6e[_0x2b5f('0x12')];_0x1ecf6e['value']||(_0x186e07=_0x2b5f('0x3')===_0x23a38b[_0x2b5f('0x9')]['contentLanguageDirection']?_0x2b5f('0x5'):_0x2b5f('0x13'));const _0x2712b1=Array[_0x2b5f('0x2')](this[_0x2b5f('0xc')][_0x2b5f('0xa')]['document'][_0x2b5f('0xb')][_0x2b5f('0x1d')]())[_0x2b5f('0x1c')](_0x3c804b=>function(_0xb7bf16,_0x49cb1c,_0x439656){const _0x1cd675=_0xb7bf16[_0x2b5f('0x0')](_0x2b5f('0xe'))||null;return _0x49cb1c['checkAttribute'](_0xb7bf16,_0x2b5f('0xe'))&&_0x439656!=_0x1cd675;}(_0x3c804b,this[_0x2b5f('0xc')][_0x2b5f('0xa')][_0x2b5f('0x1e')],_0x186e07));_0x23a38b[_0x2b5f('0xa')][_0x2b5f('0x15')](()=>{for(const _0x2f565c of _0x2712b1)_0x5dc777[_0x2b5f('0xd')](_0x2f565c,{'commandName':'alignment','commandParams':[{'value':_0x186e07}]});});}),_0x5dc777[_0x2b5f('0x18')][_0x2b5f('0x1f')](_0x3110f1=>{const {data:_0x245eac}=_0x3110f1;if(_0x245eac&&_0x2b5f('0xe')==_0x245eac[_0x2b5f('0x17')]){const _0x542a9d=_0x245eac[_0x2b5f('0x8')][0x0][_0x2b5f('0x12')];return{'type':'format','content':_0x52ba5f(_0xa8b99d,_0x2b5f('0x14'),function(_0x566276){switch(_0x566276){case'left':return _0x52ba5f(_0xa8b99d,'FORMAT_ALIGN_TO_LEFT');case _0x2b5f('0x13'):return _0x52ba5f(_0xa8b99d,_0x2b5f('0xf'));case _0x2b5f('0x1'):return _0x52ba5f(_0xa8b99d,_0x2b5f('0x11'));case _0x2b5f('0x7'):return _0x52ba5f(_0xa8b99d,'FORMAT_JUSTIFY_TEXT');}}(_0x542a9d))};}});}}
23
+ const _0x5b52=['locale','enableCommand','document','get','justify','has','*Format:*\x20%0','center','model','alignment','ltr','commandParams','value','markBlockFormat','right','editor','left','change','afterInit','checkAttribute','getSelectedBlocks','filter','schema'];(function(_0x459018,_0x5b52f7){const _0x4f0163=function(_0x41e999){while(--_0x41e999){_0x459018['push'](_0x459018['shift']());}};_0x4f0163(++_0x5b52f7);}(_0x5b52,0x188));const _0x4f01=function(_0x459018,_0x5b52f7){_0x459018=_0x459018-0x0;let _0x4f0163=_0x5b52[_0x459018];return _0x4f0163;};import{Plugin as _0x370c17}from'ckeditor5/src/core';import{getTranslation as _0x39a7c6}from'../utils/common-translations';export default class x extends _0x370c17{[_0x4f01('0x11')](){const _0x280144=this['editor'],_0x5311b1=_0x280144['locale'];if(!_0x280144['plugins'][_0x4f01('0x4')]('AlignmentEditing'))return;const _0x9d82a5=_0x280144['plugins'][_0x4f01('0x2')]('TrackChangesEditing');_0x9d82a5[_0x4f01('0x0')](_0x4f01('0x8'),(_0x32d1cf,_0xbe8882={})=>{let _0x1c0899=_0xbe8882[_0x4f01('0xb')];_0xbe8882[_0x4f01('0xb')]||(_0x1c0899=_0x4f01('0x9')===_0x280144[_0x4f01('0x16')]['contentLanguageDirection']?'left':_0x4f01('0xd'));const _0x5b29f0=Array['from'](this[_0x4f01('0xe')][_0x4f01('0x7')][_0x4f01('0x1')]['selection'][_0x4f01('0x13')]())[_0x4f01('0x14')](_0x15a4c4=>function(_0xab3cd7,_0x232f78,_0x69cca7){const _0xf71446=_0xab3cd7['getAttribute'](_0x4f01('0x8'))||null;return _0x232f78[_0x4f01('0x12')](_0xab3cd7,'alignment')&&_0x69cca7!=_0xf71446;}(_0x15a4c4,this['editor'][_0x4f01('0x7')][_0x4f01('0x15')],_0x1c0899));_0x280144[_0x4f01('0x7')][_0x4f01('0x10')](()=>{for(const _0x37fd09 of _0x5b29f0)_0x9d82a5[_0x4f01('0xc')](_0x37fd09,{'commandName':_0x4f01('0x8'),'commandParams':[{'value':_0x1c0899}]});});}),_0x9d82a5['_descriptionFactory']['registerDescriptionCallback'](_0x18903b=>{const {data:_0x214d59}=_0x18903b;if(_0x214d59&&_0x4f01('0x8')==_0x214d59['commandName']){const _0xdd721=_0x214d59[_0x4f01('0xa')][0x0][_0x4f01('0xb')];return{'type':'format','content':_0x39a7c6(_0x5311b1,_0x4f01('0x5'),function(_0x33fd14){switch(_0x33fd14){case _0x4f01('0xf'):return _0x39a7c6(_0x5311b1,'FORMAT_ALIGN_TO_LEFT');case _0x4f01('0xd'):return _0x39a7c6(_0x5311b1,'FORMAT_ALIGN_TO_RIGHT');case _0x4f01('0x6'):return _0x39a7c6(_0x5311b1,'FORMAT_ALIGN_TO_CENTER');case _0x4f01('0x3'):return _0x39a7c6(_0x5311b1,'FORMAT_JUSTIFY_TEXT');}}(_0xdd721))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11c4=['plugins','slice','forceValue','markInlineFormat','bold','FORMAT_SUBSCRIPT','toLowerCase','subscript','get','from','commands','getRanges','isCollapsed','*Format:*\x20%0','UnderlineEditing','superscript','ItalicEditing','format','strikethrough','italic','FORMAT_STRIKETHROUGH','underline','locale','FORMAT_CODE','commandName','document','code','FORMAT_SUPERSCRIPT','selection','SuperscriptEditing'];(function(_0x3a68c2,_0x11c426){const _0x5c3309=function(_0xc07ad4){while(--_0xc07ad4){_0x3a68c2['push'](_0x3a68c2['shift']());}};_0x5c3309(++_0x11c426);}(_0x11c4,0x159));const _0x5c33=function(_0x3a68c2,_0x11c426){_0x3a68c2=_0x3a68c2-0x0;let _0x5c3309=_0x11c4[_0x3a68c2];return _0x5c3309;};import{Plugin as _0x2d8059}from'ckeditor5/src/core';import{getTranslation as _0x484f68}from'../utils/common-translations';import{getRangesWithAttribute as _0x2e809c}from'./utils';const Kt=['BoldEditing',_0x5c33('0x1'),_0x5c33('0x1d'),'CodeEditing','StrikethroughEditing','SubscriptEditing',_0x5c33('0xe')];export default class U extends _0x2d8059{['afterInit'](){const _0x299a87=this['editor'],_0x5219cb=_0x299a87['model'],_0x5be9d6=_0x299a87[_0x5c33('0xf')][_0x5c33('0x17')]('TrackChangesEditing'),_0x34aa05=_0x299a87[_0x5c33('0x7')];for(const _0x70a5e4 of Kt){if(!_0x299a87['plugins']['has'](_0x70a5e4))continue;const _0x4b96f0=_0x70a5e4[_0x5c33('0x10')](0x0,-0x7)[_0x5c33('0x15')](),_0x37433f=_0x299a87[_0x5c33('0x19')][_0x5c33('0x17')](_0x4b96f0);_0x5be9d6['enableCommand'](_0x4b96f0,(_0x1b6f1c,_0x166178={})=>{const _0x5b7b68=_0x5219cb[_0x5c33('0xa')][_0x5c33('0xd')];if(_0x5b7b68[_0x5c33('0x1b')])return void _0x1b6f1c(_0x166178);const _0x18fdd3=void 0x0!==_0x166178[_0x5c33('0x11')]?_0x166178[_0x5c33('0x11')]:!_0x37433f['value'];_0x5219cb['change'](()=>{const _0x556e14=Array[_0x5c33('0x18')](_0x5b7b68[_0x5c33('0x1a')]());for(const _0x50fe8e of _0x556e14){const _0x348171=_0x18fdd3?[_0x50fe8e]:_0x2e809c(_0x4b96f0,_0x50fe8e,_0x5219cb);for(const _0x4ee588 of _0x348171)_0x5be9d6[_0x5c33('0x12')](_0x4ee588,{'commandName':_0x4b96f0,'commandParams':[{'forceValue':_0x18fdd3}]});}});});}function _0x51deee(_0x396491,_0x2cb24f){_0x5be9d6['_descriptionFactory']['registerDescriptionCallback'](_0x4cc343=>{const {data:_0xc0ed7b}=_0x4cc343;if(_0xc0ed7b&&_0xc0ed7b[_0x5c33('0x9')]===_0x396491)return _0xc0ed7b['commandParams'][0x0][_0x5c33('0x11')]?{'type':_0x5c33('0x2'),'content':_0x484f68(_0x34aa05,_0x5c33('0x1c'),_0x2cb24f)}:{'type':_0x5c33('0x2'),'content':_0x484f68(_0x34aa05,'*Remove\x20format:*\x20%0',_0x2cb24f)};});}_0x51deee(_0x5c33('0x13'),_0x484f68(_0x34aa05,'FORMAT_BOLD')),_0x51deee(_0x5c33('0x4'),_0x484f68(_0x34aa05,'FORMAT_ITALIC')),_0x51deee(_0x5c33('0x6'),_0x484f68(_0x34aa05,'FORMAT_UNDERLINE')),_0x51deee(_0x5c33('0xb'),_0x484f68(_0x34aa05,_0x5c33('0x8'))),_0x51deee(_0x5c33('0x3'),_0x484f68(_0x34aa05,_0x5c33('0x5'))),_0x51deee(_0x5c33('0x16'),_0x484f68(_0x34aa05,_0x5c33('0x14'))),_0x51deee(_0x5c33('0x0'),_0x484f68(_0x34aa05,_0x5c33('0xc')));}}
23
+ const _0x296b=['editor','StrikethroughEditing','TrackChangesEditing','getRanges','FORMAT_CODE','*Remove\x20format:*\x20%0','plugins','FORMAT_SUPERSCRIPT','get','ItalicEditing','commandName','isCollapsed','afterInit','SuperscriptEditing','underline','CodeEditing','BoldEditing','SubscriptEditing','format','commands','model','forceValue','_descriptionFactory','code','FORMAT_UNDERLINE','document','change','FORMAT_SUBSCRIPT','FORMAT_BOLD','has','registerDescriptionCallback','UnderlineEditing','strikethrough','toLowerCase'];(function(_0x5bd469,_0x296bb5){const _0xed7e63=function(_0x35badd){while(--_0x35badd){_0x5bd469['push'](_0x5bd469['shift']());}};_0xed7e63(++_0x296bb5);}(_0x296b,0x7c));const _0xed7e=function(_0x5bd469,_0x296bb5){_0x5bd469=_0x5bd469-0x0;let _0xed7e63=_0x296b[_0x5bd469];return _0xed7e63;};import{Plugin as _0x2a6007}from'ckeditor5/src/core';import{getTranslation as _0xe801e7}from'../utils/common-translations';import{getRangesWithAttribute as _0x251126}from'./utils';const Kt=[_0xed7e('0x1c'),_0xed7e('0x15'),_0xed7e('0x9'),_0xed7e('0x1b'),_0xed7e('0xd'),_0xed7e('0x1d'),_0xed7e('0x19')];export default class U extends _0x2a6007{[_0xed7e('0x18')](){const _0x1d07d1=this[_0xed7e('0xc')],_0x2df539=_0x1d07d1[_0xed7e('0x20')],_0xc94864=_0x1d07d1[_0xed7e('0x12')][_0xed7e('0x14')](_0xed7e('0xe')),_0x310f48=_0x1d07d1['locale'];for(const _0x1d5656 of Kt){if(!_0x1d07d1[_0xed7e('0x12')][_0xed7e('0x7')](_0x1d5656))continue;const _0x14182a=_0x1d5656['slice'](0x0,-0x7)[_0xed7e('0xb')](),_0x4fdf9d=_0x1d07d1[_0xed7e('0x1f')][_0xed7e('0x14')](_0x14182a);_0xc94864['enableCommand'](_0x14182a,(_0xbb3a1d,_0x4da972={})=>{const _0x145083=_0x2df539[_0xed7e('0x3')]['selection'];if(_0x145083[_0xed7e('0x17')])return void _0xbb3a1d(_0x4da972);const _0x5cf43b=void 0x0!==_0x4da972[_0xed7e('0x21')]?_0x4da972[_0xed7e('0x21')]:!_0x4fdf9d['value'];_0x2df539[_0xed7e('0x4')](()=>{const _0x299771=Array['from'](_0x145083[_0xed7e('0xf')]());for(const _0x4745b1 of _0x299771){const _0x131b60=_0x5cf43b?[_0x4745b1]:_0x251126(_0x14182a,_0x4745b1,_0x2df539);for(const _0x1c8d01 of _0x131b60)_0xc94864['markInlineFormat'](_0x1c8d01,{'commandName':_0x14182a,'commandParams':[{'forceValue':_0x5cf43b}]});}});});}function _0x3eef4a(_0x24d3a8,_0x15983d){_0xc94864[_0xed7e('0x0')][_0xed7e('0x8')](_0x259693=>{const {data:_0x40208a}=_0x259693;if(_0x40208a&&_0x40208a[_0xed7e('0x16')]===_0x24d3a8)return _0x40208a['commandParams'][0x0]['forceValue']?{'type':_0xed7e('0x1e'),'content':_0xe801e7(_0x310f48,'*Format:*\x20%0',_0x15983d)}:{'type':_0xed7e('0x1e'),'content':_0xe801e7(_0x310f48,_0xed7e('0x11'),_0x15983d)};});}_0x3eef4a('bold',_0xe801e7(_0x310f48,_0xed7e('0x6'))),_0x3eef4a('italic',_0xe801e7(_0x310f48,'FORMAT_ITALIC')),_0x3eef4a(_0xed7e('0x1a'),_0xe801e7(_0x310f48,_0xed7e('0x2'))),_0x3eef4a(_0xed7e('0x1'),_0xe801e7(_0x310f48,_0xed7e('0x10'))),_0x3eef4a(_0xed7e('0xa'),_0xe801e7(_0x310f48,'FORMAT_STRIKETHROUGH')),_0x3eef4a('subscript',_0xe801e7(_0x310f48,_0xed7e('0x5'))),_0x3eef4a('superscript',_0xe801e7(_0x310f48,_0xed7e('0x13')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13a9=['markBlockFormat','value','getSelectedBlocks','model','afterInit','plugins','format','locale','*Remove\x20format:*\x20%0','editor','registerDescriptionCallback','get','parent','checkChild','selection','TrackChangesEditing','has','ELEMENT_BLOCK_QUOTE','_descriptionFactory','enableCommand','commandName','blockQuote','*Format:*\x20%0','BlockQuoteEditing','forceValue','from','commands','filter','name'];(function(_0x1c2708,_0x13a93c){const _0x16403a=function(_0x34d254){while(--_0x34d254){_0x1c2708['push'](_0x1c2708['shift']());}};_0x16403a(++_0x13a93c);}(_0x13a9,0x6b));const _0x1640=function(_0x1c2708,_0x13a93c){_0x1c2708=_0x1c2708-0x0;let _0x16403a=_0x13a9[_0x1c2708];return _0x16403a;};import{Plugin as _0x18657d}from'ckeditor5/src/core';import{getTranslation as _0x573406}from'../utils/common-translations';import{getRangesOfBlockGroups as _0xeac71c}from'../utils/utils';export default class j extends _0x18657d{[_0x1640('0xd')](){const _0x216c90=this[_0x1640('0x12')],_0x1479ac=_0x216c90[_0x1640('0x10')];if(!_0x216c90['plugins'][_0x1640('0x19')](_0x1640('0x3')))return;const _0x1c379c=_0x216c90[_0x1640('0xe')][_0x1640('0x14')](_0x1640('0x18')),_0x4777f8=this[_0x1640('0x12')][_0x1640('0x6')]['get'](_0x1640('0x1'));_0x1c379c[_0x1640('0x1c')](_0x1640('0x1'),(_0x3c3732,_0x110b29={})=>{const _0x482d6c=this[_0x1640('0x12')][_0x1640('0xc')]['document'][_0x1640('0x17')],_0x2dae29=_0x110b29&&void 0x0!==_0x110b29['forceValue']?_0x110b29[_0x1640('0x4')]:!_0x4777f8[_0x1640('0xa')];let _0x3f2464=[];if(_0x2dae29){const _0x2e1070=Array[_0x1640('0x5')](_0x482d6c[_0x1640('0xb')]())[_0x1640('0x7')](_0x3c284f=>Xt(_0x3c284f)||function(_0x112ae7,_0x59ed8a){const _0x430836=_0x59ed8a[_0x1640('0x16')](_0x112ae7['parent'],_0x1640('0x1')),_0x944c5a=_0x59ed8a[_0x1640('0x16')](['$root',_0x1640('0x1')],_0x112ae7);return _0x430836&&_0x944c5a;}(_0x3c284f,this['editor']['model']['schema']));_0x3f2464=_0xeac71c(_0x2e1070,_0x216c90[_0x1640('0xc')]);}else{const _0x52e7a7=Array[_0x1640('0x5')](_0x482d6c[_0x1640('0xb')]())['filter'](_0x41bfd7=>Xt(_0x41bfd7));_0x3f2464=_0xeac71c(_0x52e7a7,_0x216c90[_0x1640('0xc')]);}_0x216c90['model']['change'](()=>{for(const _0x466c6b of _0x3f2464)_0x1c379c[_0x1640('0x9')](_0x466c6b,{'commandName':_0x1640('0x1'),'commandParams':[{'forceValue':_0x2dae29}]});});}),_0x1c379c[_0x1640('0x1b')][_0x1640('0x13')](_0x1a9c77=>{const {data:_0x46f3af}=_0x1a9c77;if(_0x46f3af&&_0x1640('0x1')==_0x46f3af[_0x1640('0x0')]){const _0x4a4c88=_0x573406(_0x1479ac,_0x1640('0x1a'));return _0x46f3af['commandParams'][0x0][_0x1640('0x4')]?{'type':'format','content':_0x573406(_0x1479ac,_0x1640('0x2'),_0x4a4c88)}:{'type':_0x1640('0xf'),'content':_0x573406(_0x1479ac,_0x1640('0x11'),_0x4a4c88)};}});}}function Xt(_0x581575){return'blockQuote'==_0x581575[_0x1640('0x15')][_0x1640('0x8')];}
23
+ const _0x3671=['change','getSelectedBlocks','forceValue','$root','markBlockFormat','commandParams','value','enableCommand','filter','schema','locale','TrackChangesEditing','get','blockQuote','commandName','*Format:*\x20%0','model','commands','name','checkChild','BlockQuoteEditing','_descriptionFactory','has','registerDescriptionCallback','document','editor','from','format','parent','plugins','ELEMENT_BLOCK_QUOTE'];(function(_0x17b647,_0x36711e){const _0x518e69=function(_0x42cb2e){while(--_0x42cb2e){_0x17b647['push'](_0x17b647['shift']());}};_0x518e69(++_0x36711e);}(_0x3671,0xc7));const _0x518e=function(_0x17b647,_0x36711e){_0x17b647=_0x17b647-0x0;let _0x518e69=_0x3671[_0x17b647];return _0x518e69;};import{Plugin as _0x1e9173}from'ckeditor5/src/core';import{getTranslation as _0x51b3b6}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3db4ef}from'../utils/utils';export default class j extends _0x1e9173{['afterInit'](){const _0x21586d=this[_0x518e('0xc')],_0x53c2ae=_0x21586d[_0x518e('0x1c')];if(!_0x21586d[_0x518e('0x10')][_0x518e('0x9')](_0x518e('0x7')))return;const _0x31de96=_0x21586d['plugins']['get'](_0x518e('0x1d')),_0x104b25=this['editor'][_0x518e('0x4')][_0x518e('0x1e')](_0x518e('0x0'));_0x31de96[_0x518e('0x19')]('blockQuote',(_0x48efbd,_0x352e41={})=>{const _0xce812b=this[_0x518e('0xc')]['model'][_0x518e('0xb')]['selection'],_0x18bbaa=_0x352e41&&void 0x0!==_0x352e41[_0x518e('0x14')]?_0x352e41[_0x518e('0x14')]:!_0x104b25[_0x518e('0x18')];let _0x12a1c5=[];if(_0x18bbaa){const _0x311cf3=Array[_0x518e('0xd')](_0xce812b[_0x518e('0x13')]())[_0x518e('0x1a')](_0x424f8b=>Xt(_0x424f8b)||function(_0x131ddc,_0x45d570){const _0x563184=_0x45d570[_0x518e('0x6')](_0x131ddc['parent'],'blockQuote'),_0x25a7fc=_0x45d570[_0x518e('0x6')]([_0x518e('0x15'),_0x518e('0x0')],_0x131ddc);return _0x563184&&_0x25a7fc;}(_0x424f8b,this[_0x518e('0xc')][_0x518e('0x3')][_0x518e('0x1b')]));_0x12a1c5=_0x3db4ef(_0x311cf3,_0x21586d[_0x518e('0x3')]);}else{const _0x364329=Array[_0x518e('0xd')](_0xce812b[_0x518e('0x13')]())['filter'](_0x1040f5=>Xt(_0x1040f5));_0x12a1c5=_0x3db4ef(_0x364329,_0x21586d[_0x518e('0x3')]);}_0x21586d['model'][_0x518e('0x12')](()=>{for(const _0x283e20 of _0x12a1c5)_0x31de96[_0x518e('0x16')](_0x283e20,{'commandName':_0x518e('0x0'),'commandParams':[{'forceValue':_0x18bbaa}]});});}),_0x31de96[_0x518e('0x8')][_0x518e('0xa')](_0x3f999c=>{const {data:_0x436242}=_0x3f999c;if(_0x436242&&_0x518e('0x0')==_0x436242[_0x518e('0x1')]){const _0x3debdb=_0x51b3b6(_0x53c2ae,_0x518e('0x11'));return _0x436242[_0x518e('0x17')][0x0]['forceValue']?{'type':_0x518e('0xe'),'content':_0x51b3b6(_0x53c2ae,_0x518e('0x2'),_0x3debdb)}:{'type':_0x518e('0xe'),'content':_0x51b3b6(_0x53c2ae,'*Remove\x20format:*\x20%0',_0x3debdb)};}});}}function Xt(_0x3b628d){return _0x518e('0x0')==_0x3b628d[_0x518e('0xf')][_0x518e('0x5')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x337c=['editor','get','plugins','commands','afterInit','ckbox'];(function(_0x4c6871,_0x337c68){const _0x337da9=function(_0x117850){while(--_0x117850){_0x4c6871['push'](_0x4c6871['shift']());}};_0x337da9(++_0x337c68);}(_0x337c,0x1a5));const _0x337d=function(_0x4c6871,_0x337c68){_0x4c6871=_0x4c6871-0x0;let _0x337da9=_0x337c[_0x4c6871];return _0x337da9;};import{Plugin as _0x5a4e66}from'ckeditor5/src/core';export default class E extends _0x5a4e66{[_0x337d('0x3')](){const _0x498c29=this[_0x337d('0x5')];_0x498c29[_0x337d('0x2')][_0x337d('0x0')](_0x337d('0x4'))&&_0x498c29[_0x337d('0x1')][_0x337d('0x0')]('TrackChangesEditing')['enableCommand'](_0x337d('0x4'));}}
23
+ const _0x3261=['ckbox','plugins','editor','afterInit','enableCommand','commands'];(function(_0xd9e96e,_0x3261f5){const _0x522da8=function(_0x47bf91){while(--_0x47bf91){_0xd9e96e['push'](_0xd9e96e['shift']());}};_0x522da8(++_0x3261f5);}(_0x3261,0x9d));const _0x522d=function(_0xd9e96e,_0x3261f5){_0xd9e96e=_0xd9e96e-0x0;let _0x522da8=_0x3261[_0xd9e96e];return _0x522da8;};import{Plugin as _0x3aba0e}from'ckeditor5/src/core';export default class E extends _0x3aba0e{[_0x522d('0x2')](){const _0xa155e8=this[_0x522d('0x1')];_0xa155e8[_0x522d('0x4')]['get'](_0x522d('0x5'))&&_0xa155e8[_0x522d('0x0')]['get']('TrackChangesEditing')[_0x522d('0x3')](_0x522d('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4674=['commandName','plugins','editor','filter','languages','*Remove\x20format:*\x20%0','markBlockFormat','_descriptionFactory','format','enableCommand','change','value','find','commandParams','CodeBlock','indentCodeBlock','afterInit','registerDescriptionCallback','codeBlock','TrackChangesEditing','language','checkChild','schema','model','commands','formatBlock','config','selection','forceValue','isLimit','ELEMENT_CODE_BLOCK','registerElementLabel','name','document','getSelectedBlocks','outdentCodeBlock','from','parent','*Format:*\x20%0'];(function(_0x5db78c,_0x4674a8){const _0x3f6539=function(_0x1f6fd1){while(--_0x1f6fd1){_0x5db78c['push'](_0x5db78c['shift']());}};_0x3f6539(++_0x4674a8);}(_0x4674,0x1ee));const _0x3f65=function(_0x5db78c,_0x4674a8){_0x5db78c=_0x5db78c-0x0;let _0x3f6539=_0x4674[_0x5db78c];return _0x3f6539;};import{Plugin as _0x1862b7}from'ckeditor5/src/core';import{getTranslation as _0x31859c}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2ff75d}from'../utils/utils';export default class O extends _0x1862b7{[_0x3f65('0x1d')](){const _0x526c02=this[_0x3f65('0xf')];if(!_0x526c02[_0x3f65('0xe')]['has'](_0x3f65('0x1b')))return;const _0x38c521=_0x526c02[_0x3f65('0xe')]['get'](_0x3f65('0x20')),_0x578c49=_0x526c02['locale'],_0x3c9b1a=_0x526c02[_0x3f65('0x0')]['get'](_0x3f65('0x1f'))[_0x3f65('0x11')],_0x1c24ce=_0x526c02[_0x3f65('0x25')]['get']('codeBlock');_0x38c521[_0x3f65('0x16')](_0x3f65('0x1c')),_0x38c521['enableCommand'](_0x3f65('0x9')),_0x38c521[_0x3f65('0x16')]('codeBlock',(_0x4f2ecc,_0x4daddf={})=>{const _0x226e5d=_0x526c02['model'],_0x10b322=_0x526c02[_0x3f65('0x24')][_0x3f65('0x7')][_0x3f65('0x1')],_0x32cbe8=_0x4daddf&&void 0x0!==_0x4daddf[_0x3f65('0x2')]?_0x4daddf[_0x3f65('0x2')]:!_0x1c24ce[_0x3f65('0x18')];let _0x42510c;_0x4daddf[_0x3f65('0x21')]||(_0x4daddf[_0x3f65('0x21')]=_0x3c9b1a[0x0][_0x3f65('0x21')]),_0x42510c=_0x32cbe8?Array[_0x3f65('0xa')](_0x10b322[_0x3f65('0x8')]())[_0x3f65('0x10')](_0x15ea0c=>oo(_0x15ea0c)||function(_0x359200,_0x1bde9f){if(_0x359200['is']('rootElement')||_0x1bde9f[_0x3f65('0x3')](_0x359200))return!0x1;return _0x1bde9f[_0x3f65('0x22')](_0x359200[_0x3f65('0xb')],_0x3f65('0x1f'));}(_0x15ea0c,_0x226e5d[_0x3f65('0x23')])):Array[_0x3f65('0xa')](_0x10b322[_0x3f65('0x8')]())[_0x3f65('0x10')](_0x4d8f44=>oo(_0x4d8f44));const _0x54952f=_0x2ff75d(_0x42510c,_0x226e5d);_0x226e5d[_0x3f65('0x17')](()=>{for(const _0x525c6d of _0x54952f)_0x38c521[_0x3f65('0x13')](_0x525c6d,{'commandName':_0x3f65('0x1f'),'commandParams':[{..._0x4daddf,'forceValue':_0x32cbe8}],'formatGroupId':'blockName'});});}),(_0x38c521[_0x3f65('0x14')][_0x3f65('0x5')](_0x3f65('0x1f'),_0x18fec8=>_0x31859c(_0x578c49,_0x3f65('0x4'),_0x18fec8)),_0x38c521[_0x3f65('0x14')][_0x3f65('0x1e')](_0x150a2a=>{const _0x436b7b=_0x578c49['t'],{type:_0x4b654d,data:_0x31ec2a}=_0x150a2a;if(_0x3f65('0x26')==_0x4b654d&&_0x31ec2a&&'codeBlock'==_0x31ec2a[_0x3f65('0xd')]){const _0x106c64=_0x31ec2a[_0x3f65('0x1a')][0x0][_0x3f65('0x21')],_0x36e55f=_0x436b7b(_0x3c9b1a[_0x3f65('0x19')](_0x383c0e=>_0x383c0e[_0x3f65('0x21')]===_0x106c64)['label']);return _0x31ec2a['commandParams'][0x0][_0x3f65('0x2')]?{'type':'format','content':_0x31859c(_0x578c49,_0x3f65('0xc'),_0x31859c(_0x578c49,_0x3f65('0x4'),0x1)+'\x20('+_0x36e55f+')')}:{'type':_0x3f65('0x15'),'content':_0x31859c(_0x578c49,_0x3f65('0x12'),_0x31859c(_0x578c49,_0x3f65('0x4'),0x1))};}}));}}function oo(_0x24402c){return'codeBlock'==_0x24402c[_0x3f65('0x6')];}
23
+ const _0x5855=['ELEMENT_CODE_BLOCK','config','registerDescriptionCallback','format','locale','_descriptionFactory','languages','CodeBlock','get','TrackChangesEditing','commandName','formatBlock','plugins','document','*Remove\x20format:*\x20%0','commands','label','parent','registerElementLabel','forceValue','isLimit','getSelectedBlocks','model','blockName','*Format:*\x20%0','find','commandParams','language','from','markBlockFormat','codeBlock','value','schema','checkChild','filter','enableCommand'];(function(_0x56cf6e,_0x58559a){const _0x1f0ad9=function(_0x651c62){while(--_0x651c62){_0x56cf6e['push'](_0x56cf6e['shift']());}};_0x1f0ad9(++_0x58559a);}(_0x5855,0x1d1));const _0x1f0a=function(_0x56cf6e,_0x58559a){_0x56cf6e=_0x56cf6e-0x0;let _0x1f0ad9=_0x5855[_0x56cf6e];return _0x1f0ad9;};import{Plugin as _0xd3c66b}from'ckeditor5/src/core';import{getTranslation as _0x431404}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x20867e}from'../utils/utils';export default class O extends _0xd3c66b{['afterInit'](){const _0x2c15cb=this['editor'];if(!_0x2c15cb[_0x1f0a('0xf')]['has'](_0x1f0a('0xa')))return;const _0x257219=_0x2c15cb[_0x1f0a('0xf')]['get'](_0x1f0a('0xc')),_0x4ecd13=_0x2c15cb[_0x1f0a('0x7')],_0x53415a=_0x2c15cb[_0x1f0a('0x4')][_0x1f0a('0xb')](_0x1f0a('0x21'))[_0x1f0a('0x9')],_0x331c80=_0x2c15cb[_0x1f0a('0x12')]['get'](_0x1f0a('0x21'));_0x257219[_0x1f0a('0x2')]('indentCodeBlock'),_0x257219[_0x1f0a('0x2')]('outdentCodeBlock'),_0x257219[_0x1f0a('0x2')](_0x1f0a('0x21'),(_0x20b491,_0x20432c={})=>{const _0x1f30aa=_0x2c15cb[_0x1f0a('0x19')],_0x50a832=_0x2c15cb[_0x1f0a('0x19')][_0x1f0a('0x10')]['selection'],_0x26753e=_0x20432c&&void 0x0!==_0x20432c[_0x1f0a('0x16')]?_0x20432c['forceValue']:!_0x331c80[_0x1f0a('0x22')];let _0x582094;_0x20432c['language']||(_0x20432c[_0x1f0a('0x1e')]=_0x53415a[0x0][_0x1f0a('0x1e')]),_0x582094=_0x26753e?Array[_0x1f0a('0x1f')](_0x50a832[_0x1f0a('0x18')]())[_0x1f0a('0x1')](_0x398898=>to(_0x398898)||function(_0x397296,_0x2f0127){if(_0x397296['is']('rootElement')||_0x2f0127[_0x1f0a('0x17')](_0x397296))return!0x1;return _0x2f0127[_0x1f0a('0x0')](_0x397296[_0x1f0a('0x14')],_0x1f0a('0x21'));}(_0x398898,_0x1f30aa[_0x1f0a('0x23')])):Array[_0x1f0a('0x1f')](_0x50a832[_0x1f0a('0x18')]())[_0x1f0a('0x1')](_0x20b8c9=>to(_0x20b8c9));const _0x2c9b02=_0x20867e(_0x582094,_0x1f30aa);_0x1f30aa['change'](()=>{for(const _0x2c8b75 of _0x2c9b02)_0x257219[_0x1f0a('0x20')](_0x2c8b75,{'commandName':_0x1f0a('0x21'),'commandParams':[{..._0x20432c,'forceValue':_0x26753e}],'formatGroupId':_0x1f0a('0x1a')});});}),(_0x257219[_0x1f0a('0x8')][_0x1f0a('0x15')]('codeBlock',_0x478b97=>_0x431404(_0x4ecd13,'ELEMENT_CODE_BLOCK',_0x478b97)),_0x257219[_0x1f0a('0x8')][_0x1f0a('0x5')](_0x4b8f07=>{const _0x89579c=_0x4ecd13['t'],{type:_0x1fd091,data:_0x44deb1}=_0x4b8f07;if(_0x1f0a('0xe')==_0x1fd091&&_0x44deb1&&_0x1f0a('0x21')==_0x44deb1[_0x1f0a('0xd')]){const _0x2694cb=_0x44deb1['commandParams'][0x0][_0x1f0a('0x1e')],_0x22b9bc=_0x89579c(_0x53415a[_0x1f0a('0x1c')](_0x3e6060=>_0x3e6060[_0x1f0a('0x1e')]===_0x2694cb)[_0x1f0a('0x13')]);return _0x44deb1[_0x1f0a('0x1d')][0x0][_0x1f0a('0x16')]?{'type':'format','content':_0x431404(_0x4ecd13,_0x1f0a('0x1b'),_0x431404(_0x4ecd13,_0x1f0a('0x3'),0x1)+'\x20('+_0x22b9bc+')')}:{'type':_0x1f0a('0x6'),'content':_0x431404(_0x4ecd13,_0x1f0a('0x11'),_0x431404(_0x4ecd13,_0x1f0a('0x3'),0x1))};}}));}}function to(_0x5cdcc3){return _0x1f0a('0x21')==_0x5cdcc3['name'];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5dc2=['TrackChangesEditing','get','addCommentThread','plugins','enableCommand','afterInit','editor'];(function(_0xa2ea7e,_0x5dc252){const _0x1877f2=function(_0x1da590){while(--_0x1da590){_0xa2ea7e['push'](_0xa2ea7e['shift']());}};_0x1877f2(++_0x5dc252);}(_0x5dc2,0x8e));const _0x1877=function(_0xa2ea7e,_0x5dc252){_0xa2ea7e=_0xa2ea7e-0x0;let _0x1877f2=_0x5dc2[_0xa2ea7e];return _0x1877f2;};import{Plugin as _0x42c003}from'ckeditor5/src/core';export default class F extends _0x42c003{[_0x1877('0x3')](){const _0x9f1342=this[_0x1877('0x4')];if(!_0x9f1342[_0x1877('0x1')]['has']('CommentsEditing'))return;_0x9f1342[_0x1877('0x1')][_0x1877('0x6')](_0x1877('0x5'))[_0x1877('0x2')](_0x1877('0x0'));}}
23
+ const _0x2792=['editor','get','afterInit','has','addCommentThread','CommentsEditing','enableCommand','plugins'];(function(_0x24bc73,_0x279232){const _0x4bbff9=function(_0x3a448d){while(--_0x3a448d){_0x24bc73['push'](_0x24bc73['shift']());}};_0x4bbff9(++_0x279232);}(_0x2792,0xfe));const _0x4bbf=function(_0x24bc73,_0x279232){_0x24bc73=_0x24bc73-0x0;let _0x4bbff9=_0x2792[_0x24bc73];return _0x4bbff9;};import{Plugin as _0x832641}from'ckeditor5/src/core';export default class F extends _0x832641{[_0x4bbf('0x4')](){const _0x2618ff=this[_0x4bbf('0x2')];if(!_0x2618ff[_0x4bbf('0x1')][_0x4bbf('0x5')](_0x4bbf('0x7')))return;_0x2618ff[_0x4bbf('0x1')][_0x4bbf('0x3')]('TrackChangesEditing')[_0x4bbf('0x0')](_0x4bbf('0x6'));}}
@@ -1,12 +1,13 @@
1
1
  /**
2
2
  * @module track-changes/integrations/deletecommand
3
3
  */
4
- import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ import { Delete } from 'ckeditor5/src/typing';
5
6
  /**
6
7
  * Provides track changes plugin integration for {@link module:typing/inputcommand~DeleteCommand delete command}. Also
7
8
  * provides integration {@link module:engine/model/model~Model#deleteContent} as many features use it internally.
8
9
  */
9
10
  export default class TrackChangesDeleteCommand extends Plugin {
10
- static get requires(): PluginDependencies;
11
+ static get requires(): readonly [typeof Delete];
11
12
  init(): void;
12
13
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51f0=['lock','end','writer','mapper','selection','document','unbindElementFromMarkerName','get','requires','$graveyard','buffer','remove','isCollapsed','detach','createRange','editing','markerName','bind','downcastDispatcher','high','TrackChangesEditing','forward','root','unit','getFirstRange','uiElement','model','enqueueChange','delete','init','deleteForward','unlock','showSuggestionHighlights','start','enableCommand','rootName','editor','merge','addMarker:suggestion:deletion','setSelection'];(function(_0x414d5b,_0x51f072){const _0x15e073=function(_0x24077f){while(--_0x24077f){_0x414d5b['push'](_0x414d5b['shift']());}};_0x15e073(++_0x51f072);}(_0x51f0,0x176));const _0x15e0=function(_0x414d5b,_0x51f072){_0x414d5b=_0x414d5b-0x0;let _0x15e073=_0x51f0[_0x414d5b];return _0x15e073;};import{Plugin as _0x432e25}from'ckeditor5/src/core';import{LiveRange as _0x59afc2}from'ckeditor5/src/engine';import{Delete as _0x348f91}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x3a89aa}from'./utils';export default class G extends _0x432e25{static get[_0x15e0('0x22')](){return[_0x348f91];}[_0x15e0('0xf')](){const _0x174f07=this[_0x15e0('0x16')],_0x395566=_0x174f07['plugins'][_0x15e0('0x21')](_0x15e0('0x6'));_0x395566[_0x15e0('0x14')](_0x15e0('0xe'));const _0x284431=_0x174f07['commands'][_0x15e0('0x21')](_0x15e0('0x10'));_0x395566['enableCommand']('deleteForward',(_0x515322,_0x2e9938={})=>{const _0x3c1a31=_0x174f07[_0x15e0('0xc')]['createSelection'](_0x174f07[_0x15e0('0xc')][_0x15e0('0x1f')][_0x15e0('0x1e')]);_0x3c1a31[_0x15e0('0x26')]&&_0x174f07[_0x15e0('0xc')]['modifySelection'](_0x3c1a31,{'direction':_0x15e0('0x7'),'unit':_0x2e9938[_0x15e0('0x9')]});const _0x1bbd6c=_0x3c1a31[_0x15e0('0xa')](),_0x1be8a6=_0x59afc2['fromRange'](_0x1bbd6c);let _0x477fac;_0x515322(_0x2e9938),_0x477fac=_0x15e0('0x23')==_0x1be8a6[_0x15e0('0x8')][_0x15e0('0x15')]?_0x174f07[_0x15e0('0xc')]['createRange'](_0x1bbd6c['start']):_0x174f07[_0x15e0('0xc')][_0x15e0('0x0')](_0x1be8a6[_0x15e0('0x13')],_0x1be8a6['end']),_0x1be8a6[_0x15e0('0x27')](),_0x174f07[_0x15e0('0xc')][_0x15e0('0xd')](_0x284431[_0x15e0('0x24')]['batch'],_0x7fe5d4=>{_0x284431[_0x15e0('0x24')][_0x15e0('0x1a')](),_0x7fe5d4[_0x15e0('0x19')](_0x7fe5d4[_0x15e0('0x0')](_0x477fac[_0x15e0('0x1b')])),_0x284431[_0x15e0('0x24')][_0x15e0('0x11')]();});}),_0x174f07[_0x15e0('0x1')][_0x15e0('0x4')]['on']('addMarker:suggestion:deletion',_0x3a89aa(_0x174f07,'merge'),{'priority':'high'}),_0x174f07['data'][_0x15e0('0x4')]['on'](_0x15e0('0x18'),(_0x221ea7,_0x546547,_0x3105ca)=>{_0x3105ca['options'][_0x15e0('0x12')]&&_0x3a89aa(_0x174f07,_0x15e0('0x17'),{'showActiveMarker':!0x1})[_0x15e0('0x3')](this)(_0x221ea7,_0x546547,_0x3105ca);},{'priority':_0x15e0('0x5')}),_0x174f07['editing'][_0x15e0('0x4')]['on']('removeMarker:suggestion:deletion',(_0x290e3d,_0x10e86d,_0x31f053)=>{const _0x28732a=_0x31f053[_0x15e0('0x1d')]['markerNameToElements'](_0x10e86d['markerName']);if(_0x28732a)for(const _0x1c62ca of _0x28732a)_0x1c62ca['is'](_0x15e0('0xb'))&&(_0x31f053[_0x15e0('0x1d')][_0x15e0('0x20')](_0x1c62ca,_0x10e86d[_0x15e0('0x2')]),_0x31f053[_0x15e0('0x1c')][_0x15e0('0x25')](_0x1c62ca));},{'priority':_0x15e0('0x5')});}}
23
+ const _0x36a5=['mapper','merge','buffer','unbindElementFromMarkerName','bind','uiElement','lock','markerName','model','createRange','batch','getFirstRange','forward','enqueueChange','createSelection','unit','detach','rootName','editing','high','start','unlock','options','showSuggestionHighlights','TrackChangesEditing','delete','commands','data','deleteForward','selection','get','document','editor','isCollapsed','end','downcastDispatcher','init','addMarker:suggestion:deletion','plugins','setSelection','enableCommand'];(function(_0x31e729,_0x36a50e){const _0xe911ce=function(_0x75e37){while(--_0x75e37){_0x31e729['push'](_0x31e729['shift']());}};_0xe911ce(++_0x36a50e);}(_0x36a5,0x135));const _0xe911=function(_0x31e729,_0x36a50e){_0x31e729=_0x31e729-0x0;let _0xe911ce=_0x36a5[_0x31e729];return _0xe911ce;};import{Plugin as _0x334e49}from'ckeditor5/src/core';import{LiveRange as _0x24e8c2}from'ckeditor5/src/engine';import{Delete as _0x52eb5b}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x334bdc}from'./utils';export default class G extends _0x334e49{static get['requires'](){return[_0x52eb5b];}[_0xe911('0xe')](){const _0x1ad40d=this[_0xe911('0xa')],_0x41403c=_0x1ad40d[_0xe911('0x10')][_0xe911('0x8')](_0xe911('0x2'));_0x41403c[_0xe911('0x12')](_0xe911('0x3'));const _0x38b346=_0x1ad40d[_0xe911('0x4')][_0xe911('0x8')](_0xe911('0x6'));_0x41403c[_0xe911('0x12')](_0xe911('0x6'),(_0xf4d5ff,_0x1c11b1={})=>{const _0x5ba968=_0x1ad40d[_0xe911('0x1b')][_0xe911('0x21')](_0x1ad40d[_0xe911('0x1b')][_0xe911('0x9')][_0xe911('0x7')]);_0x5ba968[_0xe911('0xb')]&&_0x1ad40d[_0xe911('0x1b')]['modifySelection'](_0x5ba968,{'direction':_0xe911('0x1f'),'unit':_0x1c11b1[_0xe911('0x22')]});const _0x277fe8=_0x5ba968[_0xe911('0x1e')](),_0x575b27=_0x24e8c2['fromRange'](_0x277fe8);let _0x5dff9c;_0xf4d5ff(_0x1c11b1),_0x5dff9c='$graveyard'==_0x575b27['root'][_0xe911('0x24')]?_0x1ad40d[_0xe911('0x1b')][_0xe911('0x1c')](_0x277fe8[_0xe911('0x27')]):_0x1ad40d[_0xe911('0x1b')][_0xe911('0x1c')](_0x575b27[_0xe911('0x27')],_0x575b27[_0xe911('0xc')]),_0x575b27[_0xe911('0x23')](),_0x1ad40d[_0xe911('0x1b')][_0xe911('0x20')](_0x38b346[_0xe911('0x15')][_0xe911('0x1d')],_0x21d341=>{_0x38b346[_0xe911('0x15')][_0xe911('0x19')](),_0x21d341[_0xe911('0x11')](_0x21d341[_0xe911('0x1c')](_0x5dff9c['end'])),_0x38b346[_0xe911('0x15')][_0xe911('0x28')]();});}),_0x1ad40d['editing'][_0xe911('0xd')]['on'](_0xe911('0xf'),_0x334bdc(_0x1ad40d,_0xe911('0x14')),{'priority':'high'}),_0x1ad40d[_0xe911('0x5')][_0xe911('0xd')]['on'](_0xe911('0xf'),(_0x32411f,_0x46a319,_0x211025)=>{_0x211025[_0xe911('0x0')][_0xe911('0x1')]&&_0x334bdc(_0x1ad40d,_0xe911('0x14'),{'showActiveMarker':!0x1})[_0xe911('0x17')](this)(_0x32411f,_0x46a319,_0x211025);},{'priority':'high'}),_0x1ad40d[_0xe911('0x25')][_0xe911('0xd')]['on']('removeMarker:suggestion:deletion',(_0x3e076d,_0x33f50d,_0xc2e29)=>{const _0x5ecb90=_0xc2e29[_0xe911('0x13')]['markerNameToElements'](_0x33f50d[_0xe911('0x1a')]);if(_0x5ecb90)for(const _0x54f254 of _0x5ecb90)_0x54f254['is'](_0xe911('0x18'))&&(_0xc2e29[_0xe911('0x13')][_0xe911('0x16')](_0x54f254,_0x33f50d[_0xe911('0x1a')]),_0xc2e29['writer']['remove'](_0x54f254));},{'priority':_0xe911('0x26')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c1c=['splitListItemBefore','editor','ELEMENT_NUMBERED_LIST','listType','model','get','createRange','registerElementLabel','ELEMENT_','fromRange','outdentList','mergeListItemBackward','*Indent:*\x20%0','*Merge:*\x20%0','DocumentListEditing','DocumentListUtils','createPositionAt','registerDescriptionCallback','listItemId','map','findIndex','commandName','push','has','plugins','after','forceValue','schema','hasAttribute','*Format:*\x20insert\x20into\x20%0','commands','afterInit','getAttribute','documentList','*Outdent:*\x20%0','refresh','locale','_suggestionFactory','setSelection','document','getSelectedBlocks','_LIST','indentList','mergeListItemForward','value','toUpperCase','nodeAfter','start','splitListItemAfter','selection','before','markBlockFormat','*Format:*\x20remove\x20from\x20%0','commandParams','ELEMENT_LIST_ITEM','parent','ELEMENT_BULLETED_LIST','isObject','listIndent','deletion','enableCommand','slice','add','expandListBlocksToCompleteList','change','_descriptionFactory','numberedList','formatBlock','TrackChangesEditing','nextSibling','end','registerCustomCallback','from','format','getFirstRange','getRanges','*Change\x20to:*\x20%0','bulletedList','markMultiRangeBlockFormat'];(function(_0x59c520,_0x2c1ce2){const _0x526f3a=function(_0x3a074f){while(--_0x3a074f){_0x59c520['push'](_0x59c520['shift']());}};_0x526f3a(++_0x2c1ce2);}(_0x2c1c,0x1dd));const _0x526f=function(_0x59c520,_0x2c1ce2){_0x59c520=_0x59c520-0x0;let _0x526f3a=_0x2c1c[_0x59c520];return _0x526f3a;};import{Plugin as _0x2f2b18}from'ckeditor5/src/core';import{getTranslation as _0x32dd88}from'../utils/common-translations';import{LiveRange as _0x70cceb}from'ckeditor5/src/engine';export default class L extends _0x2f2b18{[_0x526f('0x1c')](){const _0x32f9be=this[_0x526f('0x4d')];if(!_0x32f9be[_0x526f('0x15')][_0x526f('0x14')](_0x526f('0xb')))return;const _0x1ed41e=_0x32f9be[_0x526f('0x21')],_0x5cc258=_0x32f9be['plugins'][_0x526f('0x2')](_0x526f('0x41')),_0x2b0e17=_0x32f9be['plugins'][_0x526f('0x2')](_0x526f('0xc'));function _0x16dff6(_0x193557){return()=>{const _0x4d3b46=_0x32f9be[_0x526f('0x1b')][_0x526f('0x2')](_0x193557);let _0xa3e45b=Array[_0x526f('0x45')](_0x32f9be[_0x526f('0x1')][_0x526f('0x24')][_0x526f('0x2e')][_0x526f('0x25')]());if(_0x41a0b8(_0x193557)){_0xa3e45b=_0x2b0e17[_0x526f('0x3c')](_0xa3e45b);const _0x5ed2cf=[];for(const _0x16a150 of _0xa3e45b)_0x2b0e17['isFirstBlockOfListItem'](_0x16a150)&&_0x5ed2cf['push'](_0x16a150);_0xa3e45b=_0x5ed2cf;}_0x32f9be[_0x526f('0x1')][_0x526f('0x3d')](()=>{_0x5cc258[_0x526f('0x4b')](_0xa3e45b,{'commandName':_0x193557,'commandParams':[{'forceValue':!_0x4d3b46[_0x526f('0x29')]}],'formatGroupId':'listType'},[],'documentList');});};}function _0x41d646(_0x1757f6){return()=>{const _0x20ed9d=function(_0x30cf76){let _0x4140c0=Array[_0x526f('0x45')](_0x30cf76);const _0x48ce6a=_0x4140c0[_0x526f('0x11')](_0x5972c2=>!_0x5972c2[_0x526f('0x19')](_0x526f('0xf')));return _0x48ce6a>-0x1&&(_0x4140c0=_0x4140c0[_0x526f('0x3a')](0x0,_0x48ce6a)),_0x4140c0;}(_0x32f9be['model']['document']['selection'][_0x526f('0x25')]()),_0x21a711=_0x20ed9d[_0x20ed9d['length']-0x1],_0x17f1dc=_0x32f9be[_0x526f('0x1')][_0x526f('0x18')]['isObject'](_0x21a711)?_0x526f('0x16'):_0x526f('0x43'),_0x2c42b9=_0x32f9be[_0x526f('0x1')][_0x526f('0x3')](_0x32f9be['model'][_0x526f('0xd')](_0x20ed9d[0x0],'before'),_0x32f9be[_0x526f('0x1')]['createPositionAt'](_0x21a711,_0x17f1dc));_0x32f9be[_0x526f('0x1')]['change'](()=>{_0x5cc258[_0x526f('0x30')](_0x2c42b9,{'commandName':_0x1757f6,'commandParams':[],'formatGroupId':_0x526f('0x0')},function(_0x3ad70c){const _0x1fccad=new Set();for(const _0x5ab275 of _0x3ad70c){let _0x1ffcc8=_0x5ab275[_0x526f('0x42')];for(;_0x1ffcc8&&_0x1ffcc8[_0x526f('0x1d')](_0x526f('0x37'))>_0x5ab275[_0x526f('0x1d')](_0x526f('0x37'));)_0x1fccad[_0x526f('0x3b')](_0x1ffcc8),_0x1ffcc8=_0x1ffcc8[_0x526f('0x42')];}return Array[_0x526f('0x45')](_0x1fccad);}(_0x20ed9d));});};}function _0x3679cb(_0x270247){return()=>{const _0x2cbfb4=_0x32f9be[_0x526f('0x1')][_0x526f('0x24')]['selection'][_0x526f('0x25')]()['next']()[_0x526f('0x29')],_0x41caf0=_0x32f9be['model'][_0x526f('0xd')](_0x2cbfb4,_0x526f('0x2f')),_0x598460=_0x32f9be[_0x526f('0x1')][_0x526f('0xd')](_0x2cbfb4,0x0),_0x570bcd=_0x32f9be['model'][_0x526f('0x3')](_0x41caf0,_0x598460);_0x32f9be[_0x526f('0x1')][_0x526f('0x3d')](()=>{_0x5cc258['markBlockFormat'](_0x570bcd,{'commandName':_0x270247,'commandParams':[],'formatGroupId':'listType'});});};}function _0x41a0b8(_0x54fd80){const _0x558a63=_0x32f9be[_0x526f('0x1b')][_0x526f('0x2')]('bulletedList')[_0x526f('0x29')],_0x4d458b=_0x32f9be[_0x526f('0x1b')][_0x526f('0x2')](_0x526f('0x3f'))['value'];return _0x526f('0x3f')===_0x54fd80?_0x558a63:_0x4d458b;}_0x5cc258[_0x526f('0x39')](_0x526f('0x3f'),_0x16dff6(_0x526f('0x3f'))),_0x5cc258['enableCommand'](_0x526f('0x4a'),_0x16dff6(_0x526f('0x4a'))),_0x5cc258[_0x526f('0x39')](_0x526f('0x27'),_0x41d646(_0x526f('0x27'))),_0x5cc258['enableCommand'](_0x526f('0x7'),_0x41d646(_0x526f('0x7'))),_0x5cc258[_0x526f('0x39')](_0x526f('0x2d'),_0x3679cb(_0x526f('0x2d'))),_0x5cc258['enableCommand'](_0x526f('0x4c'),_0x3679cb(_0x526f('0x4c'))),_0x5cc258['_descriptionFactory'][_0x526f('0x4')](function(_0x2db083){const _0x249ba7=!_0x32f9be[_0x526f('0x1')][_0x526f('0x18')][_0x526f('0x36')](_0x2db083),_0x2e9f2d=_0x2db083['previousSibling'],_0x10ac1f=_0x2db083[_0x526f('0x42')],_0x3f941a=_0x2db083[_0x526f('0x1d')](_0x526f('0xf')),_0x298234=!_0x2e9f2d||_0x2e9f2d[_0x526f('0x1d')]('listItemId')!==_0x3f941a,_0x1bdeec=!_0x10ac1f||_0x10ac1f['getAttribute'](_0x526f('0xf'))!==_0x3f941a;return _0x249ba7&&Boolean(_0x3f941a)&&_0x298234&&_0x1bdeec;},_0x201854=>_0x32dd88(_0x1ed41e,'ELEMENT_LIST_ITEM',_0x201854)),_0x5cc258[_0x526f('0x3e')][_0x526f('0xe')](function(_0x5defba){const {data:_0x220099}=_0x5defba;if(!_0x220099)return;let _0x1971f0,_0x55271d,_0x169083,_0x2bcc4e;switch(_0x220099[_0x526f('0x12')]){case _0x526f('0x4a'):_0x169083=_0x220099[_0x526f('0x32')][0x0][_0x526f('0x17')],_0x2bcc4e=_0x41a0b8(_0x220099['commandName']),_0x1971f0=_0x169083?_0x526f('0x1a'):_0x526f('0x31'),_0x2bcc4e&&(_0x1971f0='*Change\x20to:*\x20%0'),_0x55271d={'type':'format','content':_0x32dd88(_0x1ed41e,_0x1971f0,_0x32dd88(_0x1ed41e,_0x526f('0x35')))};break;case _0x526f('0x3f'):_0x169083=_0x220099['commandParams'][0x0][_0x526f('0x17')],_0x2bcc4e=_0x41a0b8(_0x220099[_0x526f('0x12')]),_0x1971f0=_0x169083?'*Format:*\x20insert\x20into\x20%0':_0x526f('0x31'),_0x2bcc4e&&(_0x1971f0=_0x526f('0x49')),_0x55271d={'type':_0x526f('0x46'),'content':_0x32dd88(_0x1ed41e,_0x1971f0,_0x32dd88(_0x1ed41e,_0x526f('0x4e')))};break;case _0x526f('0x27'):_0x1971f0=_0x526f('0x9'),_0x55271d={'type':_0x526f('0x46'),'content':_0x32dd88(_0x1ed41e,_0x1971f0,_0x32dd88(_0x1ed41e,_0x526f('0x33')))};break;case'outdentList':_0x1971f0=function(_0xf6e142){const _0x45609c=_0xf6e142[_0x526f('0x47')]();let _0x5c93e0=_0x45609c['start'][_0x526f('0x2b')];for(;_0x5c93e0&&_0x45609c['containsItem'](_0x5c93e0);){if(_0x5c93e0[_0x526f('0x1d')]('listIndent')>0x0)return!0x1;_0x5c93e0=_0x5c93e0[_0x526f('0x42')];}return!0x0;}(_0x5defba)?_0x32dd88(_0x1ed41e,_0x526f('0x31'),_0x32dd88(_0x1ed41e,function(_0x599f36){const _0x2c444d=_0x599f36[_0x526f('0x47')]()['start']['nodeAfter'];return _0x526f('0x5')+_0x2c444d[_0x526f('0x1d')](_0x526f('0x0'))[_0x526f('0x2a')]()+_0x526f('0x26');}(_0x5defba))):_0x32dd88(_0x1ed41e,_0x526f('0x1f'),_0x32dd88(_0x1ed41e,_0x526f('0x33'))),_0x55271d={'type':_0x526f('0x46'),'content':_0x1971f0};break;case _0x526f('0x8'):case _0x526f('0x28'):!0x1===_0x220099['multipleBlocks']&&(_0x1971f0=_0x526f('0xa'),_0x55271d={'type':_0x526f('0x38'),'content':_0x32dd88(_0x1ed41e,_0x1971f0,_0x32dd88(_0x1ed41e,_0x526f('0x33')))});}return _0x55271d;}),_0x5cc258[_0x526f('0x22')][_0x526f('0x44')](_0x526f('0x40'),_0x526f('0x1e'),'accept',function(_0x2c015c,_0x596276){const _0x1b32c8=[];for(let _0x4c47d7 of _0x2c015c)_0x4c47d7[_0x526f('0x2c')][_0x526f('0x2b')]===_0x4c47d7[_0x526f('0x43')][_0x526f('0x34')]&&(_0x4c47d7=_0x32f9be['model'][_0x526f('0x3')](_0x32f9be[_0x526f('0x1')]['createPositionAt'](_0x4c47d7[_0x526f('0x2c')][_0x526f('0x2b')],0x0))),_0x1b32c8[_0x526f('0x13')](_0x4c47d7);_0x32f9be[_0x526f('0x1')][_0x526f('0x3d')](_0x796535=>{const _0x427515=_0x32f9be[_0x526f('0x1')]['document'][_0x526f('0x2e')],_0x47f25e=Array[_0x526f('0x45')](_0x427515[_0x526f('0x48')]())[_0x526f('0x10')](_0x23a5df=>_0x70cceb[_0x526f('0x6')](_0x23a5df));_0x796535[_0x526f('0x23')](_0x1b32c8),_0x32f9be[_0x526f('0x1b')][_0x526f('0x2')](_0x596276['commandName'])[_0x526f('0x20')](),_0x596276['commandParams'][_0x526f('0x13')]({'forceDefaultExecution':!0x0}),_0x32f9be['execute'](_0x596276[_0x526f('0x12')],..._0x596276['commandParams']),_0x796535[_0x526f('0x23')](_0x47f25e);for(const _0x1d8736 of _0x47f25e)_0x1d8736['detach']();});});}}
23
+ const _0x42b5=['listItemId','commands','before','findIndex','format','splitListItemBefore','_descriptionFactory','parent','registerCustomCallback','end','mergeListItemBackward','next','execute','bulletedList','listIndent','listType','commandParams','locale','DocumentListEditing','indentList','*Merge:*\x20%0','isFirstBlockOfListItem','schema','afterInit','_suggestionFactory','documentList','isObject','editor','nodeAfter','ELEMENT_NUMBERED_LIST','nextSibling','setSelection','createPositionAt','commandName','enableCommand','*Change\x20to:*\x20%0','numberedList','from','getSelectedBlocks','markMultiRangeBlockFormat','*Format:*\x20remove\x20from\x20%0','length','forceValue','getAttribute','getFirstRange','after','ELEMENT_','DocumentListUtils','mergeListItemForward','map','selection','slice','detach','splitListItemAfter','hasAttribute','plugins','expandListBlocksToCompleteList','markBlockFormat','get','accept','push','model','ELEMENT_BULLETED_LIST','registerDescriptionCallback','createRange','change','ELEMENT_LIST_ITEM','*Format:*\x20insert\x20into\x20%0','add','*Indent:*\x20%0','registerElementLabel','formatBlock','start','outdentList','previousSibling','document','value'];(function(_0x552bfb,_0x42b565){const _0x2a30fe=function(_0x4ea16d){while(--_0x4ea16d){_0x552bfb['push'](_0x552bfb['shift']());}};_0x2a30fe(++_0x42b565);}(_0x42b5,0x1ca));const _0x2a30=function(_0x552bfb,_0x42b565){_0x552bfb=_0x552bfb-0x0;let _0x2a30fe=_0x42b5[_0x552bfb];return _0x2a30fe;};import{Plugin as _0x224a49}from'ckeditor5/src/core';import{getTranslation as _0x33fc9a}from'../utils/common-translations';import{LiveRange as _0x5c371a}from'ckeditor5/src/engine';export default class L extends _0x224a49{[_0x2a30('0x1b')](){const _0x854664=this[_0x2a30('0x1f')];if(!_0x854664[_0x2a30('0x3b')]['has'](_0x2a30('0x16')))return;const _0x48d463=_0x854664[_0x2a30('0x15')],_0x3f3ec4=_0x854664[_0x2a30('0x3b')][_0x2a30('0x3e')]('TrackChangesEditing'),_0xef7495=_0x854664[_0x2a30('0x3b')]['get'](_0x2a30('0x33'));function _0x14e7b7(_0x5e016c){return()=>{const _0x3632ba=_0x854664['commands'][_0x2a30('0x3e')](_0x5e016c);let _0x570191=Array[_0x2a30('0x29')](_0x854664[_0x2a30('0x41')]['document']['selection'][_0x2a30('0x2a')]());if(_0x1c40e6(_0x5e016c)){_0x570191=_0xef7495[_0x2a30('0x3c')](_0x570191);const _0x59faf3=[];for(const _0x3be4d1 of _0x570191)_0xef7495[_0x2a30('0x19')](_0x3be4d1)&&_0x59faf3['push'](_0x3be4d1);_0x570191=_0x59faf3;}_0x854664[_0x2a30('0x41')]['change'](()=>{_0x3f3ec4[_0x2a30('0x2b')](_0x570191,{'commandName':_0x5e016c,'commandParams':[{'forceValue':!_0x3632ba['value']}],'formatGroupId':_0x2a30('0x13')},[],'documentList');});};}function _0x32a0b(_0x35523d){return()=>{const _0x107430=function(_0x550a12){let _0x407973=Array[_0x2a30('0x29')](_0x550a12);const _0x53e96e=_0x407973[_0x2a30('0x7')](_0x101c98=>!_0x101c98[_0x2a30('0x3a')](_0x2a30('0x4')));return _0x53e96e>-0x1&&(_0x407973=_0x407973[_0x2a30('0x37')](0x0,_0x53e96e)),_0x407973;}(_0x854664[_0x2a30('0x41')][_0x2a30('0x2')]['selection'][_0x2a30('0x2a')]()),_0x266f60=_0x107430[_0x107430[_0x2a30('0x2d')]-0x1],_0x5bab2c=_0x854664['model'][_0x2a30('0x1a')][_0x2a30('0x1e')](_0x266f60)?_0x2a30('0x31'):_0x2a30('0xd'),_0x3addb2=_0x854664[_0x2a30('0x41')][_0x2a30('0x44')](_0x854664[_0x2a30('0x41')][_0x2a30('0x24')](_0x107430[0x0],_0x2a30('0x6')),_0x854664[_0x2a30('0x41')][_0x2a30('0x24')](_0x266f60,_0x5bab2c));_0x854664['model'][_0x2a30('0x45')](()=>{_0x3f3ec4['markBlockFormat'](_0x3addb2,{'commandName':_0x35523d,'commandParams':[],'formatGroupId':'listType'},function(_0x135272){const _0x23fdf0=new Set();for(const _0x13efc0 of _0x135272){let _0x2ca29e=_0x13efc0['nextSibling'];for(;_0x2ca29e&&_0x2ca29e['getAttribute'](_0x2a30('0x12'))>_0x13efc0[_0x2a30('0x2f')]('listIndent');)_0x23fdf0[_0x2a30('0x48')](_0x2ca29e),_0x2ca29e=_0x2ca29e['nextSibling'];}return Array[_0x2a30('0x29')](_0x23fdf0);}(_0x107430));});};}function _0x19416b(_0x24249e){return()=>{const _0xcc3a4a=_0x854664[_0x2a30('0x41')][_0x2a30('0x2')][_0x2a30('0x36')][_0x2a30('0x2a')]()[_0x2a30('0xf')]()[_0x2a30('0x3')],_0x2ed3f0=_0x854664['model'][_0x2a30('0x24')](_0xcc3a4a,_0x2a30('0x6')),_0x78f7e2=_0x854664[_0x2a30('0x41')][_0x2a30('0x24')](_0xcc3a4a,0x0),_0x3aa4a2=_0x854664['model']['createRange'](_0x2ed3f0,_0x78f7e2);_0x854664[_0x2a30('0x41')]['change'](()=>{_0x3f3ec4[_0x2a30('0x3d')](_0x3aa4a2,{'commandName':_0x24249e,'commandParams':[],'formatGroupId':_0x2a30('0x13')});});};}function _0x1c40e6(_0x5b084e){const _0x3303ec=_0x854664[_0x2a30('0x5')][_0x2a30('0x3e')]('bulletedList')[_0x2a30('0x3')],_0x133a70=_0x854664[_0x2a30('0x5')][_0x2a30('0x3e')](_0x2a30('0x28'))[_0x2a30('0x3')];return'numberedList'===_0x5b084e?_0x3303ec:_0x133a70;}_0x3f3ec4['enableCommand'](_0x2a30('0x28'),_0x14e7b7(_0x2a30('0x28'))),_0x3f3ec4['enableCommand']('bulletedList',_0x14e7b7(_0x2a30('0x11'))),_0x3f3ec4[_0x2a30('0x26')](_0x2a30('0x17'),_0x32a0b(_0x2a30('0x17'))),_0x3f3ec4[_0x2a30('0x26')]('outdentList',_0x32a0b('outdentList')),_0x3f3ec4[_0x2a30('0x26')](_0x2a30('0x39'),_0x19416b(_0x2a30('0x39'))),_0x3f3ec4[_0x2a30('0x26')]('splitListItemBefore',_0x19416b(_0x2a30('0x9'))),_0x3f3ec4[_0x2a30('0xa')][_0x2a30('0x4a')](function(_0x330e26){const _0x5bd3d1=!_0x854664[_0x2a30('0x41')][_0x2a30('0x1a')][_0x2a30('0x1e')](_0x330e26),_0x16f743=_0x330e26[_0x2a30('0x1')],_0x4d0a20=_0x330e26[_0x2a30('0x22')],_0x557632=_0x330e26['getAttribute'](_0x2a30('0x4')),_0x40c099=!_0x16f743||_0x16f743[_0x2a30('0x2f')](_0x2a30('0x4'))!==_0x557632,_0x339e0c=!_0x4d0a20||_0x4d0a20['getAttribute'](_0x2a30('0x4'))!==_0x557632;return _0x5bd3d1&&Boolean(_0x557632)&&_0x40c099&&_0x339e0c;},_0x367ae3=>_0x33fc9a(_0x48d463,_0x2a30('0x46'),_0x367ae3)),_0x3f3ec4[_0x2a30('0xa')][_0x2a30('0x43')](function(_0x3787e2){const {data:_0x3f942f}=_0x3787e2;if(!_0x3f942f)return;let _0x540036,_0x78c00e,_0x46dba0,_0x25741e;switch(_0x3f942f['commandName']){case _0x2a30('0x11'):_0x46dba0=_0x3f942f[_0x2a30('0x14')][0x0][_0x2a30('0x2e')],_0x25741e=_0x1c40e6(_0x3f942f['commandName']),_0x540036=_0x46dba0?'*Format:*\x20insert\x20into\x20%0':_0x2a30('0x2c'),_0x25741e&&(_0x540036=_0x2a30('0x27')),_0x78c00e={'type':_0x2a30('0x8'),'content':_0x33fc9a(_0x48d463,_0x540036,_0x33fc9a(_0x48d463,_0x2a30('0x42')))};break;case _0x2a30('0x28'):_0x46dba0=_0x3f942f[_0x2a30('0x14')][0x0][_0x2a30('0x2e')],_0x25741e=_0x1c40e6(_0x3f942f['commandName']),_0x540036=_0x46dba0?_0x2a30('0x47'):_0x2a30('0x2c'),_0x25741e&&(_0x540036='*Change\x20to:*\x20%0'),_0x78c00e={'type':_0x2a30('0x8'),'content':_0x33fc9a(_0x48d463,_0x540036,_0x33fc9a(_0x48d463,_0x2a30('0x21')))};break;case'indentList':_0x540036=_0x2a30('0x49'),_0x78c00e={'type':'format','content':_0x33fc9a(_0x48d463,_0x540036,_0x33fc9a(_0x48d463,_0x2a30('0x46')))};break;case _0x2a30('0x0'):_0x540036=function(_0x5a524e){const _0x1e949a=_0x5a524e[_0x2a30('0x30')]();let _0x28dfa2=_0x1e949a['start'][_0x2a30('0x20')];for(;_0x28dfa2&&_0x1e949a['containsItem'](_0x28dfa2);){if(_0x28dfa2[_0x2a30('0x2f')](_0x2a30('0x12'))>0x0)return!0x1;_0x28dfa2=_0x28dfa2['nextSibling'];}return!0x0;}(_0x3787e2)?_0x33fc9a(_0x48d463,'*Format:*\x20remove\x20from\x20%0',_0x33fc9a(_0x48d463,function(_0x400b93){const _0x17ea2b=_0x400b93[_0x2a30('0x30')]()['start'][_0x2a30('0x20')];return _0x2a30('0x32')+_0x17ea2b[_0x2a30('0x2f')](_0x2a30('0x13'))['toUpperCase']()+'_LIST';}(_0x3787e2))):_0x33fc9a(_0x48d463,'*Outdent:*\x20%0',_0x33fc9a(_0x48d463,_0x2a30('0x46'))),_0x78c00e={'type':'format','content':_0x540036};break;case _0x2a30('0xe'):case _0x2a30('0x34'):!0x1===_0x3f942f['multipleBlocks']&&(_0x540036=_0x2a30('0x18'),_0x78c00e={'type':'deletion','content':_0x33fc9a(_0x48d463,_0x540036,_0x33fc9a(_0x48d463,'ELEMENT_LIST_ITEM'))});}return _0x78c00e;}),_0x3f3ec4[_0x2a30('0x1c')][_0x2a30('0xc')](_0x2a30('0x4b'),_0x2a30('0x1d'),_0x2a30('0x3f'),function(_0x311805,_0x45b907){const _0xee3af9=[];for(let _0x3499b2 of _0x311805)_0x3499b2[_0x2a30('0x4c')][_0x2a30('0x20')]===_0x3499b2['end'][_0x2a30('0xb')]&&(_0x3499b2=_0x854664[_0x2a30('0x41')][_0x2a30('0x44')](_0x854664['model'][_0x2a30('0x24')](_0x3499b2[_0x2a30('0x4c')]['nodeAfter'],0x0))),_0xee3af9[_0x2a30('0x40')](_0x3499b2);_0x854664[_0x2a30('0x41')][_0x2a30('0x45')](_0xa523fb=>{const _0x122e8b=_0x854664[_0x2a30('0x41')][_0x2a30('0x2')][_0x2a30('0x36')],_0xa2773=Array[_0x2a30('0x29')](_0x122e8b['getRanges']())[_0x2a30('0x35')](_0x175448=>_0x5c371a['fromRange'](_0x175448));_0xa523fb['setSelection'](_0xee3af9),_0x854664[_0x2a30('0x5')]['get'](_0x45b907[_0x2a30('0x25')])['refresh'](),_0x45b907[_0x2a30('0x14')][_0x2a30('0x40')]({'forceDefaultExecution':!0x0}),_0x854664[_0x2a30('0x10')](_0x45b907[_0x2a30('0x25')],..._0x45b907['commandParams']),_0xa523fb[_0x2a30('0x23')](_0xa2773);for(const _0x5cc4cc of _0xa2773)_0x5cc4cc[_0x2a30('0x38')]();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1bb0=['*Format:*\x20set\x20start\x20index\x20to\x20%0','*Change\x20to:*\x20%0','handleListReversedCommand','plugins','listReversed','document','_getTranslationKeyForListStyle','markMultiRangeBlockFormat','listStyle','config','from','_getSuggestionBlocks','DocumentListPropertiesUtils','expandListBlocksToCompleteList','list.properties','handleDescriptions','replace','editor','getAttribute','styles','listStart','change','startIndex','type','handleListStartCommand','TrackChangesEditing','filter','push','_LIST_','selection','enableCommand','afterInit','model','bind','format','numbered','length','DocumentListUtils','registerDescriptionCallback','_getSuggestionBlocksForListStyle','reversed','get','has','locale','commandParams','getListTypeFromListStyleType','*Format:*\x20set\x20order\x20to\x20reversed','commandName','toUpperCase','DocumentListPropertiesEditing'];(function(_0x1bcac1,_0x1bb0fd){const _0x548798=function(_0x4c9e36){while(--_0x4c9e36){_0x1bcac1['push'](_0x1bcac1['shift']());}};_0x548798(++_0x1bb0fd);}(_0x1bb0,0xd8));const _0x5487=function(_0x1bcac1,_0x1bb0fd){_0x1bcac1=_0x1bcac1-0x0;let _0x548798=_0x1bb0[_0x1bcac1];return _0x548798;};import{Plugin as _0x20173c}from'ckeditor5/src/core';import{getTranslation as _0x539416}from'../utils/common-translations';export default class At extends _0x20173c{[_0x5487('0xf')](){if(!this[_0x5487('0x1')][_0x5487('0x25')][_0x5487('0x1a')](_0x5487('0x21')))return;const _0x2210f1=this[_0x5487('0x1')][_0x5487('0x2b')]['get'](_0x5487('0x30')),_0x4e8714=this[_0x5487('0x1')][_0x5487('0x25')][_0x5487('0x19')](_0x5487('0x9'));_0x2210f1[_0x5487('0x3')]&&_0x4e8714[_0x5487('0xe')](_0x5487('0x2a'),this['handleListStyleCommand']['bind'](this)),_0x2210f1[_0x5487('0x18')]&&_0x4e8714[_0x5487('0xe')](_0x5487('0x26'),this[_0x5487('0x24')][_0x5487('0x11')](this)),_0x2210f1['startIndex']&&_0x4e8714[_0x5487('0xe')]('listStart',this[_0x5487('0x8')][_0x5487('0x11')](this)),_0x4e8714['_descriptionFactory'][_0x5487('0x16')](this[_0x5487('0x31')][_0x5487('0x11')](this));}['handleListStyleCommand'](_0x486f79,_0x3c6cd4={}){const _0x250b51=this['editor'][_0x5487('0x25')]['get']('TrackChangesEditing'),_0x39b5d5=this[_0x5487('0x17')]();this[_0x5487('0x1')][_0x5487('0x10')][_0x5487('0x5')](()=>{_0x250b51[_0x5487('0x29')](_0x39b5d5,{'commandName':'listStyle','commandParams':[{'type':_0x3c6cd4[_0x5487('0x7')]}],'formatGroupId':'listStyle'});});}[_0x5487('0x24')](_0x22ce61,_0x17b19d={}){const _0x50e18e=this[_0x5487('0x1')][_0x5487('0x25')]['get'](_0x5487('0x9')),_0x3d897d=this[_0x5487('0x1')][_0x5487('0x25')]['get'](_0x5487('0x15')),_0x4d9004=this[_0x5487('0x2d')](_0xe4efcd=>_0x3d897d['isListItemBlock'](_0xe4efcd)&&_0x5487('0x13')===_0xe4efcd[_0x5487('0x2')]('listType'));null!==_0x4d9004&&this[_0x5487('0x1')][_0x5487('0x10')][_0x5487('0x5')](()=>{_0x50e18e[_0x5487('0x29')](_0x4d9004,{'commandName':_0x5487('0x26'),'commandParams':[{'reversed':_0x17b19d[_0x5487('0x18')]}],'formatGroupId':_0x5487('0x26')});});}['handleListStartCommand'](_0x1d6a97,_0x3d7b2e={}){const _0x173ca8=this[_0x5487('0x1')][_0x5487('0x25')][_0x5487('0x19')]('TrackChangesEditing'),_0x39cf61=this['editor'][_0x5487('0x25')][_0x5487('0x19')](_0x5487('0x15')),_0xdc7674=this[_0x5487('0x2d')](_0x55e094=>_0x39cf61['isListItemBlock'](_0x55e094)&&_0x5487('0x13')===_0x55e094[_0x5487('0x2')]('listType'));null!==_0xdc7674&&this['editor'][_0x5487('0x10')][_0x5487('0x5')](()=>{_0x173ca8['markMultiRangeBlockFormat'](_0xdc7674,{'commandName':_0x5487('0x4'),'commandParams':[{'startIndex':_0x3d7b2e[_0x5487('0x6')]}],'formatGroupId':'listStart'});});}[_0x5487('0x31')](_0x1c4da9){const _0x2b2485=this[_0x5487('0x1')][_0x5487('0x1b')],{data:_0x25caf3}=_0x1c4da9;if(!_0x25caf3)return;let _0x12412a,_0x1f5e67;switch(_0x25caf3[_0x5487('0x1f')]){case _0x5487('0x2a'):_0x12412a=_0x5487('0x23'),_0x1f5e67={'type':_0x5487('0x12'),'content':_0x539416(_0x2b2485,_0x12412a,_0x539416(_0x2b2485,this[_0x5487('0x28')](_0x25caf3[_0x5487('0x1c')][0x0][_0x5487('0x7')])))};break;case'listReversed':_0x12412a=_0x25caf3['commandParams'][0x0][_0x5487('0x18')]?_0x5487('0x1e'):'*Format:*\x20set\x20order\x20to\x20regular',_0x1f5e67={'type':'format','content':_0x539416(_0x2b2485,_0x12412a)};break;case _0x5487('0x4'):_0x12412a=_0x5487('0x22'),_0x1f5e67={'type':_0x5487('0x12'),'content':_0x539416(_0x2b2485,_0x12412a,_0x25caf3[_0x5487('0x1c')][0x0][_0x5487('0x6')])};}return _0x1f5e67;}[_0x5487('0x17')](){const _0xa118d0=this['editor']['plugins'][_0x5487('0x19')]('DocumentListUtils');let _0x3f7564=Array['from'](this[_0x5487('0x1')][_0x5487('0x10')][_0x5487('0x27')][_0x5487('0xd')]['getSelectedBlocks']());return _0x3f7564[_0x5487('0xb')](..._0xa118d0[_0x5487('0x2f')](_0x3f7564)),_0x3f7564=[...new Set(_0x3f7564)],_0x3f7564;}[_0x5487('0x2d')](_0x1544d0){const _0x30c464=this[_0x5487('0x1')][_0x5487('0x25')][_0x5487('0x19')](_0x5487('0x15'));let _0x30bf14=Array[_0x5487('0x2c')](this[_0x5487('0x1')][_0x5487('0x10')][_0x5487('0x27')][_0x5487('0xd')]['getSelectedBlocks']())[_0x5487('0xa')](_0x1544d0);if(!_0x30bf14[_0x5487('0x14')])return null;_0x30bf14=_0x30c464[_0x5487('0x2f')](_0x30bf14);const _0x3fdb52=[];for(const _0x4a64c2 of _0x30bf14)_0x30c464['isFirstBlockOfListItem'](_0x4a64c2)&&_0x3fdb52[_0x5487('0xb')](_0x4a64c2);return _0x3fdb52;}[_0x5487('0x28')](_0x315861){return'ELEMENT_'+this[_0x5487('0x1')][_0x5487('0x25')]['get'](_0x5487('0x2e'))[_0x5487('0x1d')](_0x315861)['toUpperCase']()+_0x5487('0xc')+_0x315861[_0x5487('0x20')]()[_0x5487('0x0')](/-/g,'_');}}
23
+ const _0x24ee=['_getTranslationKeyForListStyle','listReversed','bind','editor','config','getSelectedBlocks','*Format:*\x20set\x20order\x20to\x20reversed','from','list.properties','registerDescriptionCallback','model','enableCommand','handleListStyleCommand','styles','commandParams','DocumentListPropertiesEditing','handleListReversedCommand','TrackChangesEditing','plugins','_getSuggestionBlocks','*Change\x20to:*\x20%0','isFirstBlockOfListItem','startIndex','locale','push','afterInit','handleDescriptions','DocumentListUtils','DocumentListPropertiesUtils','markMultiRangeBlockFormat','*Format:*\x20set\x20start\x20index\x20to\x20%0','listStyle','_LIST_','isListItemBlock','_getSuggestionBlocksForListStyle','change','numbered','length','listType','getAttribute','format','reversed','expandListBlocksToCompleteList','type','selection','replace','get','listStart','filter','_descriptionFactory','toUpperCase','document','handleListStartCommand'];(function(_0x27b4bf,_0x24ee83){const _0xf3c565=function(_0x56c97e){while(--_0x56c97e){_0x27b4bf['push'](_0x27b4bf['shift']());}};_0xf3c565(++_0x24ee83);}(_0x24ee,0x10a));const _0xf3c5=function(_0x27b4bf,_0x24ee83){_0x27b4bf=_0x27b4bf-0x0;let _0xf3c565=_0x24ee[_0x27b4bf];return _0xf3c565;};import{Plugin as _0x39a635}from'ckeditor5/src/core';import{getTranslation as _0x3d9c1f}from'../utils/common-translations';export default class At extends _0x39a635{[_0xf3c5('0x18')](){if(!this[_0xf3c5('0x2')][_0xf3c5('0x11')]['has'](_0xf3c5('0xe')))return;const _0x487a91=this[_0xf3c5('0x2')][_0xf3c5('0x3')][_0xf3c5('0x2d')](_0xf3c5('0x7')),_0xdde56e=this['editor'][_0xf3c5('0x11')]['get'](_0xf3c5('0x10'));_0x487a91[_0xf3c5('0xc')]&&_0xdde56e[_0xf3c5('0xa')](_0xf3c5('0x1e'),this[_0xf3c5('0xb')][_0xf3c5('0x1')](this)),_0x487a91[_0xf3c5('0x28')]&&_0xdde56e[_0xf3c5('0xa')]('listReversed',this[_0xf3c5('0xf')][_0xf3c5('0x1')](this)),_0x487a91[_0xf3c5('0x15')]&&_0xdde56e[_0xf3c5('0xa')](_0xf3c5('0x2e'),this['handleListStartCommand'][_0xf3c5('0x1')](this)),_0xdde56e[_0xf3c5('0x30')][_0xf3c5('0x8')](this[_0xf3c5('0x19')][_0xf3c5('0x1')](this));}['handleListStyleCommand'](_0x41e21a,_0x5320ea={}){const _0x1f52f8=this[_0xf3c5('0x2')][_0xf3c5('0x11')][_0xf3c5('0x2d')](_0xf3c5('0x10')),_0x2479a6=this[_0xf3c5('0x21')]();this[_0xf3c5('0x2')][_0xf3c5('0x9')][_0xf3c5('0x22')](()=>{_0x1f52f8[_0xf3c5('0x1c')](_0x2479a6,{'commandName':_0xf3c5('0x1e'),'commandParams':[{'type':_0x5320ea[_0xf3c5('0x2a')]}],'formatGroupId':'listStyle'});});}[_0xf3c5('0xf')](_0x1cbb87,_0xbca908={}){const _0x366e9c=this[_0xf3c5('0x2')][_0xf3c5('0x11')][_0xf3c5('0x2d')](_0xf3c5('0x10')),_0x49b78d=this[_0xf3c5('0x2')][_0xf3c5('0x11')][_0xf3c5('0x2d')](_0xf3c5('0x1a')),_0x5062c7=this['_getSuggestionBlocks'](_0x3ef9f8=>_0x49b78d[_0xf3c5('0x20')](_0x3ef9f8)&&_0xf3c5('0x23')===_0x3ef9f8[_0xf3c5('0x26')](_0xf3c5('0x25')));null!==_0x5062c7&&this['editor']['model'][_0xf3c5('0x22')](()=>{_0x366e9c[_0xf3c5('0x1c')](_0x5062c7,{'commandName':_0xf3c5('0x0'),'commandParams':[{'reversed':_0xbca908[_0xf3c5('0x28')]}],'formatGroupId':_0xf3c5('0x0')});});}[_0xf3c5('0x33')](_0x3fc845,_0x3d0bd4={}){const _0x37a2d6=this[_0xf3c5('0x2')][_0xf3c5('0x11')][_0xf3c5('0x2d')](_0xf3c5('0x10')),_0x5b835f=this['editor']['plugins'][_0xf3c5('0x2d')](_0xf3c5('0x1a')),_0x12e687=this['_getSuggestionBlocks'](_0x28efa1=>_0x5b835f[_0xf3c5('0x20')](_0x28efa1)&&_0xf3c5('0x23')===_0x28efa1[_0xf3c5('0x26')](_0xf3c5('0x25')));null!==_0x12e687&&this[_0xf3c5('0x2')][_0xf3c5('0x9')][_0xf3c5('0x22')](()=>{_0x37a2d6['markMultiRangeBlockFormat'](_0x12e687,{'commandName':_0xf3c5('0x2e'),'commandParams':[{'startIndex':_0x3d0bd4['startIndex']}],'formatGroupId':'listStart'});});}[_0xf3c5('0x19')](_0x5af952){const _0x16d408=this['editor'][_0xf3c5('0x16')],{data:_0x133f07}=_0x5af952;if(!_0x133f07)return;let _0x56f1b8,_0x514e69;switch(_0x133f07['commandName']){case _0xf3c5('0x1e'):_0x56f1b8=_0xf3c5('0x13'),_0x514e69={'type':_0xf3c5('0x27'),'content':_0x3d9c1f(_0x16d408,_0x56f1b8,_0x3d9c1f(_0x16d408,this[_0xf3c5('0x34')](_0x133f07[_0xf3c5('0xd')][0x0]['type'])))};break;case'listReversed':_0x56f1b8=_0x133f07[_0xf3c5('0xd')][0x0][_0xf3c5('0x28')]?_0xf3c5('0x5'):'*Format:*\x20set\x20order\x20to\x20regular',_0x514e69={'type':_0xf3c5('0x27'),'content':_0x3d9c1f(_0x16d408,_0x56f1b8)};break;case _0xf3c5('0x2e'):_0x56f1b8=_0xf3c5('0x1d'),_0x514e69={'type':_0xf3c5('0x27'),'content':_0x3d9c1f(_0x16d408,_0x56f1b8,_0x133f07[_0xf3c5('0xd')][0x0][_0xf3c5('0x15')])};}return _0x514e69;}['_getSuggestionBlocksForListStyle'](){const _0x20e262=this[_0xf3c5('0x2')][_0xf3c5('0x11')]['get'](_0xf3c5('0x1a'));let _0x1c1157=Array[_0xf3c5('0x6')](this[_0xf3c5('0x2')][_0xf3c5('0x9')][_0xf3c5('0x32')][_0xf3c5('0x2b')][_0xf3c5('0x4')]());return _0x1c1157[_0xf3c5('0x17')](..._0x20e262[_0xf3c5('0x29')](_0x1c1157)),_0x1c1157=[...new Set(_0x1c1157)],_0x1c1157;}[_0xf3c5('0x12')](_0x5c0d5b){const _0x47f678=this['editor'][_0xf3c5('0x11')][_0xf3c5('0x2d')](_0xf3c5('0x1a'));let _0x449b0c=Array[_0xf3c5('0x6')](this[_0xf3c5('0x2')][_0xf3c5('0x9')][_0xf3c5('0x32')][_0xf3c5('0x2b')][_0xf3c5('0x4')]())[_0xf3c5('0x2f')](_0x5c0d5b);if(!_0x449b0c[_0xf3c5('0x24')])return null;_0x449b0c=_0x47f678[_0xf3c5('0x29')](_0x449b0c);const _0x22030e=[];for(const _0x5f08ef of _0x449b0c)_0x47f678[_0xf3c5('0x14')](_0x5f08ef)&&_0x22030e['push'](_0x5f08ef);return _0x22030e;}[_0xf3c5('0x34')](_0xd5bd49){return'ELEMENT_'+this[_0xf3c5('0x2')]['plugins'][_0xf3c5('0x2d')](_0xf3c5('0x1b'))['getListTypeFromListStyleType'](_0xd5bd49)[_0xf3c5('0x31')]()+_0xf3c5('0x1f')+_0xd5bd49[_0xf3c5('0x31')]()[_0xf3c5('0x2c')](/-/g,'_');}}
@@ -1,11 +1,12 @@
1
1
  /**
2
2
  * @module track-changes/integrations/entercommand
3
3
  */
4
- import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ import { Enter } from 'ckeditor5/src/enter';
5
6
  /**
6
7
  * Provides track changes plugin integration for {@link module:enter/entercommand~EnterCommand enter command}.
7
8
  */
8
9
  export default class TrackChangesEnterCommand extends Plugin {
9
- static get requires(): PluginDependencies;
10
+ static get requires(): readonly [typeof Enter];
10
11
  init(): void;
11
12
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b8e=['commands','parent','markInsertion','addMarker:suggestion:insertion','fire','enterBlock','plugins','end','downcastDispatcher','get','writer','showSuggestionHighlights','bind','setSelection','markerName','mapper','createRange','afterExecute','nextSibling','change','model','init','high','hasClass','selection','document','unbindElementFromMarkerName','editing','getFirstPosition','remove','TrackChangesEditing','enableCommand','markerNameToElements','removeMarker:suggestion:insertion','requires','getFirstRange'];(function(_0x3d06db,_0x5b8eca){const _0x2af6ee=function(_0x3bbe1f){while(--_0x3bbe1f){_0x3d06db['push'](_0x3d06db['shift']());}};_0x2af6ee(++_0x5b8eca);}(_0x5b8e,0x164));const _0x2af6=function(_0x3d06db,_0x5b8eca){_0x3d06db=_0x3d06db-0x0;let _0x2af6ee=_0x5b8e[_0x3d06db];return _0x2af6ee;};import{Plugin as _0x329a81}from'ckeditor5/src/core';import{Enter as _0x3bc600}from'ckeditor5/src/enter';import{LiveRange as _0xc577f7}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0xa8ef3}from'./utils';export default class q extends _0x329a81{static get[_0x2af6('0x2')](){return[_0x3bc600];}[_0x2af6('0x19')](){const _0x1884be=this['editor'],_0x12239a=_0x1884be[_0x2af6('0xa')][_0x2af6('0xd')](_0x2af6('0x22')),_0xbe5bfc=_0x1884be[_0x2af6('0x4')]['get']('enter');_0x12239a[_0x2af6('0x23')]('enter',()=>{_0x1884be[_0x2af6('0x18')][_0x2af6('0x17')](_0xd4ca56=>{const _0x5c85f2=_0x1884be[_0x2af6('0x18')][_0x2af6('0x1d')][_0x2af6('0x1c')],_0x29cc94=_0x5c85f2[_0x2af6('0x20')](),_0xca5c0=_0xc577f7['fromRange'](_0x5c85f2[_0x2af6('0x3')]());if(_0xbe5bfc[_0x2af6('0x9')](_0xd4ca56)){const _0x3418c3=_0x1884be[_0x2af6('0x18')]['createPositionAt'](_0x29cc94[_0x2af6('0x5')][_0x2af6('0x16')],0x0),_0x520536=_0xd4ca56[_0x2af6('0x14')](_0x29cc94,_0x3418c3);_0x12239a[_0x2af6('0x6')](_0x520536);}else _0xd4ca56[_0x2af6('0x11')](_0xd4ca56['createRange'](_0xca5c0[_0x2af6('0xb')]));_0xca5c0['detach'](),_0xbe5bfc[_0x2af6('0x8')](_0x2af6('0x15'),{'writer':_0xd4ca56});});}),_0x1884be['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',_0xa8ef3(_0x1884be,'split'),{'priority':_0x2af6('0x1a')}),_0x1884be[_0x2af6('0x1f')][_0x2af6('0xc')]['on'](_0x2af6('0x1'),(_0x239c79,_0x49f19b,_0x457109)=>{const _0x3a58fe=_0x457109[_0x2af6('0x13')][_0x2af6('0x0')](_0x49f19b['markerName']);if(_0x3a58fe)for(const _0x45c656 of _0x3a58fe)_0x45c656[_0x2af6('0x1b')]('ck-suggestion-marker-split')&&(_0x457109[_0x2af6('0x13')][_0x2af6('0x1e')](_0x45c656,_0x49f19b[_0x2af6('0x12')]),_0x457109[_0x2af6('0xe')][_0x2af6('0x21')](_0x45c656));},{'priority':_0x2af6('0x1a')}),_0x1884be['data'][_0x2af6('0xc')]['on'](_0x2af6('0x7'),(_0x1b1abf,_0x56956b,_0x5d4256)=>{_0x5d4256['options'][_0x2af6('0xf')]&&_0xa8ef3(_0x1884be,'split',{'showActiveMarker':!0x1})[_0x2af6('0x10')](this)(_0x1b1abf,_0x56956b,_0x5d4256);},{'priority':_0x2af6('0x1a')});}}
23
+ const _0x518b=['mapper','downcastDispatcher','bind','detach','addMarker:suggestion:insertion','editing','editor','data','createPositionAt','createRange','change','ck-suggestion-marker-split','afterExecute','remove','fire','markInsertion','writer','unbindElementFromMarkerName','parent','get','enterBlock','setSelection','end','model','markerName','options','TrackChangesEditing','nextSibling','enableCommand','init','requires','removeMarker:suggestion:insertion','high','enter','commands'];(function(_0x408433,_0x518b7b){const _0x23d5c2=function(_0x2ffbf9){while(--_0x2ffbf9){_0x408433['push'](_0x408433['shift']());}};_0x23d5c2(++_0x518b7b);}(_0x518b,0x173));const _0x23d5=function(_0x408433,_0x518b7b){_0x408433=_0x408433-0x0;let _0x23d5c2=_0x518b[_0x408433];return _0x23d5c2;};import{Plugin as _0xd2931e}from'ckeditor5/src/core';import{Enter as _0x2e3c4d}from'ckeditor5/src/enter';import{LiveRange as _0x42904f}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x4ce3e5}from'./utils';export default class q extends _0xd2931e{static get[_0x23d5('0x9')](){return[_0x2e3c4d];}[_0x23d5('0x8')](){const _0x50efa8=this[_0x23d5('0x14')],_0x47bc4e=_0x50efa8['plugins']['get'](_0x23d5('0x5')),_0x3d2fd7=_0x50efa8[_0x23d5('0xd')][_0x23d5('0x21')](_0x23d5('0xc'));_0x47bc4e[_0x23d5('0x7')](_0x23d5('0xc'),()=>{_0x50efa8[_0x23d5('0x2')][_0x23d5('0x18')](_0x409a6f=>{const _0x55f517=_0x50efa8[_0x23d5('0x2')]['document']['selection'],_0x155970=_0x55f517['getFirstPosition'](),_0x339c7a=_0x42904f['fromRange'](_0x55f517['getFirstRange']());if(_0x3d2fd7[_0x23d5('0x22')](_0x409a6f)){const _0x240d8a=_0x50efa8['model'][_0x23d5('0x16')](_0x155970[_0x23d5('0x20')][_0x23d5('0x6')],0x0),_0x210b1e=_0x409a6f[_0x23d5('0x17')](_0x155970,_0x240d8a);_0x47bc4e[_0x23d5('0x1d')](_0x210b1e);}else _0x409a6f[_0x23d5('0x0')](_0x409a6f[_0x23d5('0x17')](_0x339c7a[_0x23d5('0x1')]));_0x339c7a[_0x23d5('0x11')](),_0x3d2fd7[_0x23d5('0x1c')](_0x23d5('0x1a'),{'writer':_0x409a6f});});}),_0x50efa8[_0x23d5('0x13')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',_0x4ce3e5(_0x50efa8,'split'),{'priority':_0x23d5('0xb')}),_0x50efa8['editing'][_0x23d5('0xf')]['on'](_0x23d5('0xa'),(_0xb1ccb9,_0x2f659e,_0x3963ca)=>{const _0xbae85a=_0x3963ca[_0x23d5('0xe')]['markerNameToElements'](_0x2f659e[_0x23d5('0x3')]);if(_0xbae85a)for(const _0x2322cb of _0xbae85a)_0x2322cb['hasClass'](_0x23d5('0x19'))&&(_0x3963ca['mapper'][_0x23d5('0x1f')](_0x2322cb,_0x2f659e[_0x23d5('0x3')]),_0x3963ca[_0x23d5('0x1e')][_0x23d5('0x1b')](_0x2322cb));},{'priority':_0x23d5('0xb')}),_0x50efa8[_0x23d5('0x15')][_0x23d5('0xf')]['on'](_0x23d5('0x12'),(_0x5d3c4c,_0x27b4d5,_0x438275)=>{_0x438275[_0x23d5('0x4')]['showSuggestionHighlights']&&_0x4ce3e5(_0x50efa8,'split',{'showActiveMarker':!0x1})[_0x23d5('0x10')](this)(_0x5d3c4c,_0x27b4d5,_0x438275);},{'priority':_0x23d5('0xb')});}}