@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230723.0 → 0.0.0-nightly-20230725.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 (130) hide show
  1. package/README.md +0 -1
  2. package/build/track-changes.js +1 -1
  3. package/package.json +3 -3
  4. package/src/augmentation.d.ts +4 -0
  5. package/src/commands/acceptsuggestioncommand.d.ts +4 -0
  6. package/src/commands/acceptsuggestioncommand.js +1 -1
  7. package/src/commands/discardsuggestioncommand.d.ts +4 -0
  8. package/src/commands/discardsuggestioncommand.js +1 -1
  9. package/src/commands/executeonallsuggestionscommand.d.ts +4 -0
  10. package/src/commands/executeonallsuggestionscommand.js +1 -1
  11. package/src/commands/executeonselectedsuggestionscommand.d.ts +4 -0
  12. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  13. package/src/commands/trackchangescommand.d.ts +4 -0
  14. package/src/commands/trackchangescommand.js +1 -1
  15. package/src/index.d.ts +4 -0
  16. package/src/integrations/alignment.d.ts +4 -0
  17. package/src/integrations/alignment.js +1 -1
  18. package/src/integrations/basicstyles.d.ts +4 -0
  19. package/src/integrations/basicstyles.js +1 -1
  20. package/src/integrations/blockquote.d.ts +4 -0
  21. package/src/integrations/blockquote.js +1 -1
  22. package/src/integrations/ckbox.d.ts +4 -0
  23. package/src/integrations/ckbox.js +1 -1
  24. package/src/integrations/codeblock.d.ts +4 -0
  25. package/src/integrations/codeblock.js +1 -1
  26. package/src/integrations/comments.d.ts +4 -0
  27. package/src/integrations/comments.js +1 -1
  28. package/src/integrations/deletecommand.d.ts +4 -0
  29. package/src/integrations/deletecommand.js +1 -1
  30. package/src/integrations/documentlist.d.ts +4 -0
  31. package/src/integrations/documentlist.js +1 -1
  32. package/src/integrations/documentlistproperties.d.ts +4 -0
  33. package/src/integrations/documentlistproperties.js +1 -1
  34. package/src/integrations/entercommand.d.ts +4 -0
  35. package/src/integrations/entercommand.js +1 -1
  36. package/src/integrations/findandreplace.d.ts +4 -0
  37. package/src/integrations/findandreplace.js +1 -1
  38. package/src/integrations/font.d.ts +4 -0
  39. package/src/integrations/font.js +1 -1
  40. package/src/integrations/formatpainter.d.ts +4 -0
  41. package/src/integrations/formatpainter.js +1 -1
  42. package/src/integrations/heading.d.ts +4 -0
  43. package/src/integrations/heading.js +1 -1
  44. package/src/integrations/highlight.d.ts +4 -0
  45. package/src/integrations/highlight.js +1 -1
  46. package/src/integrations/horizontalline.d.ts +4 -0
  47. package/src/integrations/horizontalline.js +1 -1
  48. package/src/integrations/htmlembed.d.ts +4 -0
  49. package/src/integrations/htmlembed.js +1 -1
  50. package/src/integrations/image.d.ts +4 -0
  51. package/src/integrations/image.js +1 -1
  52. package/src/integrations/imagereplace.d.ts +4 -0
  53. package/src/integrations/imagereplace.js +1 -1
  54. package/src/integrations/importword.d.ts +4 -0
  55. package/src/integrations/importword.js +1 -1
  56. package/src/integrations/indent.d.ts +4 -0
  57. package/src/integrations/indent.js +1 -1
  58. package/src/integrations/inputcommand.d.ts +4 -0
  59. package/src/integrations/inputcommand.js +1 -1
  60. package/src/integrations/link.d.ts +4 -0
  61. package/src/integrations/link.js +1 -1
  62. package/src/integrations/list.d.ts +4 -0
  63. package/src/integrations/list.js +1 -1
  64. package/src/integrations/listproperties.d.ts +4 -0
  65. package/src/integrations/listproperties.js +1 -1
  66. package/src/integrations/mediaembed.d.ts +4 -0
  67. package/src/integrations/mediaembed.js +1 -1
  68. package/src/integrations/mention.d.ts +4 -0
  69. package/src/integrations/mention.js +1 -1
  70. package/src/integrations/pagebreak.d.ts +4 -0
  71. package/src/integrations/pagebreak.js +1 -1
  72. package/src/integrations/paragraph.d.ts +4 -0
  73. package/src/integrations/paragraph.js +1 -1
  74. package/src/integrations/removeformat.d.ts +4 -0
  75. package/src/integrations/removeformat.js +1 -1
  76. package/src/integrations/restrictededitingmode.d.ts +4 -0
  77. package/src/integrations/restrictededitingmode.js +1 -1
  78. package/src/integrations/shiftentercommand.d.ts +4 -0
  79. package/src/integrations/shiftentercommand.js +1 -1
  80. package/src/integrations/standardeditingmode.d.ts +4 -0
  81. package/src/integrations/standardeditingmode.js +1 -1
  82. package/src/integrations/style.d.ts +4 -0
  83. package/src/integrations/style.js +1 -1
  84. package/src/integrations/table.d.ts +4 -0
  85. package/src/integrations/table.js +1 -1
  86. package/src/integrations/tablecaption.d.ts +4 -0
  87. package/src/integrations/tablecaption.js +1 -1
  88. package/src/integrations/tableclipboard.d.ts +2 -1
  89. package/src/integrations/tableclipboard.js +1 -1
  90. package/src/integrations/tablecolumnresize.d.ts +4 -0
  91. package/src/integrations/tablecolumnresize.js +1 -1
  92. package/src/integrations/tableheadings.d.ts +4 -0
  93. package/src/integrations/tableheadings.js +1 -1
  94. package/src/integrations/tablemergesplit.d.ts +4 -0
  95. package/src/integrations/tablemergesplit.js +1 -1
  96. package/src/integrations/tableofcontents.d.ts +4 -0
  97. package/src/integrations/tableofcontents.js +1 -1
  98. package/src/integrations/tableproperties.d.ts +4 -0
  99. package/src/integrations/tableproperties.js +1 -1
  100. package/src/integrations/template.d.ts +4 -0
  101. package/src/integrations/template.js +1 -1
  102. package/src/integrations/title.d.ts +4 -0
  103. package/src/integrations/title.js +1 -1
  104. package/src/integrations/undo.d.ts +4 -0
  105. package/src/integrations/undo.js +1 -1
  106. package/src/integrations/utils.d.ts +4 -0
  107. package/src/integrations/utils.js +1 -1
  108. package/src/suggestion.d.ts +11 -1
  109. package/src/suggestion.js +1 -1
  110. package/src/suggestiondescriptionfactory.d.ts +2 -2
  111. package/src/suggestiondescriptionfactory.js +1 -1
  112. package/src/trackchanges.d.ts +4 -0
  113. package/src/trackchanges.js +1 -1
  114. package/src/trackchangesconfig.d.ts +4 -0
  115. package/src/trackchangesdata.d.ts +4 -0
  116. package/src/trackchangesdata.js +1 -1
  117. package/src/trackchangesediting.d.ts +4 -0
  118. package/src/trackchangesediting.js +1 -1
  119. package/src/trackchangesui.d.ts +4 -0
  120. package/src/trackchangesui.js +1 -1
  121. package/src/ui/suggestioncontroller.d.ts +2 -1
  122. package/src/ui/suggestioncontroller.js +1 -1
  123. package/src/ui/view/basesuggestionthreadview.d.ts +4 -0
  124. package/src/ui/view/basesuggestionthreadview.js +1 -1
  125. package/src/ui/view/suggestionthreadview.d.ts +2 -2
  126. package/src/ui/view/suggestionthreadview.js +1 -1
  127. package/src/utils/common-translations.d.ts +4 -0
  128. package/src/utils/common-translations.js +1 -1
  129. package/src/utils/utils.d.ts +4 -0
  130. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x37c1=['getSelectedElement','format','enableCommand','getSuggestions','replaceImageSource','discard','plugins','subType','handleSuggestionDescription','source','selection','markBlockFormat','commandParams','TrackChangesEditing','author','model','get','src','locale','data','getAttribute','registerDescriptionCallback','*Format:*\x20replace\x20image\x20URL','afterInit','document','editor','ImageEditing','handleReplaceImageCommand','formatBlock','commandName','accept','registerCustomCallback','Users','_descriptionFactory','_suggestionFactory','has','getSuggestionCallback'];(function(_0x1bbf35,_0x37c195){const _0x2b00c0=function(_0x54d57c){while(--_0x54d57c){_0x1bbf35['push'](_0x1bbf35['shift']());}};_0x2b00c0(++_0x37c195);}(_0x37c1,0xd8));const _0x2b00=function(_0x1bbf35,_0x37c195){_0x1bbf35=_0x1bbf35-0x0;let _0x2b00c0=_0x37c1[_0x1bbf35];return _0x2b00c0;};import{Plugin as _0x2a11d5}from'ckeditor5/src/core';import{getTranslation as _0x4552d5}from'../utils/common-translations';export default class Y extends _0x2a11d5{[_0x2b00('0x1d')](){if(!this[_0x2b00('0x1f')][_0x2b00('0xc')][_0x2b00('0x4')](_0x2b00('0x20')))return;const _0x1290b9=this[_0x2b00('0x1f')][_0x2b00('0xc')]['get'](_0x2b00('0x13'));_0x1290b9[_0x2b00('0x8')](_0x2b00('0xa'),(_0x11f2bb,_0x46b31a)=>this[_0x2b00('0x21')](_0x11f2bb,_0x46b31a)),_0x1290b9[_0x2b00('0x3')][_0x2b00('0x0')](_0x2b00('0x22'),_0x2b00('0xa'),_0x2b00('0x24'),_0x1290b9[_0x2b00('0x3')][_0x2b00('0x5')](_0x2b00('0x22'),null,_0x2b00('0xb'))),_0x1290b9[_0x2b00('0x3')][_0x2b00('0x0')](_0x2b00('0x22'),'replaceImageSource',_0x2b00('0xb'),_0x1290b9['_suggestionFactory'][_0x2b00('0x5')](_0x2b00('0x22'),null,_0x2b00('0x24'))),_0x1290b9[_0x2b00('0x2')][_0x2b00('0x1b')](_0x2423c8=>this[_0x2b00('0xe')](_0x2423c8));}[_0x2b00('0x21')](_0x23db3e,_0x526eeb){const _0x203dc7=this[_0x2b00('0x1f')][_0x2b00('0xc')][_0x2b00('0x16')](_0x2b00('0x13')),_0x4e02ef=this[_0x2b00('0x1f')][_0x2b00('0x15')][_0x2b00('0x1e')][_0x2b00('0x10')][_0x2b00('0x6')]();this[_0x2b00('0x1f')]['model']['change'](()=>{let _0x413bfc=_0x4e02ef[_0x2b00('0x1a')](_0x2b00('0x17'));const _0x41d5d0=this[_0x2b00('0x1f')][_0x2b00('0xc')][_0x2b00('0x16')](_0x2b00('0x1'))['me'];for(const _0x438fc6 of _0x203dc7[_0x2b00('0x9')]({'skipNotAttached':!0x0})){const _0x31beb4=_0x438fc6['getContainedElement']();if(_0x2b00('0xa')===_0x438fc6[_0x2b00('0xd')]&&_0x31beb4===_0x4e02ef){_0x438fc6[_0x2b00('0x14')]!==_0x41d5d0&&_0x438fc6[_0x2b00('0xb')](),_0x413bfc=_0x438fc6[_0x2b00('0x19')][_0x2b00('0x12')][0x0][_0x2b00('0xf')];break;}}_0x23db3e(_0x526eeb),_0x203dc7[_0x2b00('0x11')](_0x4e02ef,{'commandName':'replaceImageSource','commandParams':[{'source':_0x413bfc}]},[],_0x2b00('0xa'));});}[_0x2b00('0xe')](_0x5be117){const {data:_0x427439}=_0x5be117;if(_0x427439&&'replaceImageSource'===_0x427439[_0x2b00('0x23')]){const _0x1fa89c=_0x2b00('0x1c');return{'type':_0x2b00('0x7'),'content':_0x4552d5(this['editor'][_0x2b00('0x18')],_0x1fa89c)};}}}
23
+ const _0xcd53=['selection','src','enableCommand','handleReplaceImageCommand','replaceImageSource','registerCustomCallback','_descriptionFactory','get','change','afterInit','handleSuggestionDescription','commandParams','Users','_suggestionFactory','*Format:*\x20replace\x20image\x20URL','subType','model','formatBlock','getSuggestions','format','getContainedElement','registerDescriptionCallback','getAttribute','TrackChangesEditing','plugins','getSelectedElement','locale','data','discard','author','getSuggestionCallback','document','editor','accept','has'];(function(_0x327ada,_0xcd53e3){const _0x3d6c1d=function(_0x82a46e){while(--_0x82a46e){_0x327ada['push'](_0x327ada['shift']());}};_0x3d6c1d(++_0xcd53e3);}(_0xcd53,0x138));const _0x3d6c=function(_0x327ada,_0xcd53e3){_0x327ada=_0x327ada-0x0;let _0x3d6c1d=_0xcd53[_0x327ada];return _0x3d6c1d;};import{Plugin as _0x1be4b3}from'ckeditor5/src/core';import{getTranslation as _0x2f4df8}from'../utils/common-translations';export default class Y extends _0x1be4b3{[_0x3d6c('0xc')](){if(!this[_0x3d6c('0x0')]['plugins'][_0x3d6c('0x2')]('ImageEditing'))return;const _0x1a684c=this[_0x3d6c('0x0')][_0x3d6c('0x1b')][_0x3d6c('0xa')](_0x3d6c('0x1a'));_0x1a684c[_0x3d6c('0x5')](_0x3d6c('0x7'),(_0x4b7e70,_0x5dedb4)=>this[_0x3d6c('0x6')](_0x4b7e70,_0x5dedb4)),_0x1a684c[_0x3d6c('0x10')][_0x3d6c('0x8')](_0x3d6c('0x14'),_0x3d6c('0x7'),_0x3d6c('0x1'),_0x1a684c[_0x3d6c('0x10')][_0x3d6c('0x21')](_0x3d6c('0x14'),null,_0x3d6c('0x1f'))),_0x1a684c['_suggestionFactory'][_0x3d6c('0x8')]('formatBlock',_0x3d6c('0x7'),'discard',_0x1a684c[_0x3d6c('0x10')][_0x3d6c('0x21')](_0x3d6c('0x14'),null,_0x3d6c('0x1'))),_0x1a684c[_0x3d6c('0x9')][_0x3d6c('0x18')](_0x5eed26=>this[_0x3d6c('0xd')](_0x5eed26));}[_0x3d6c('0x6')](_0x1f9026,_0x737398){const _0x371a81=this[_0x3d6c('0x0')][_0x3d6c('0x1b')]['get'](_0x3d6c('0x1a')),_0x35373e=this[_0x3d6c('0x0')][_0x3d6c('0x13')][_0x3d6c('0x22')][_0x3d6c('0x3')][_0x3d6c('0x1c')]();this[_0x3d6c('0x0')][_0x3d6c('0x13')][_0x3d6c('0xb')](()=>{let _0x389b45=_0x35373e[_0x3d6c('0x19')](_0x3d6c('0x4'));const _0x11dc2b=this[_0x3d6c('0x0')][_0x3d6c('0x1b')][_0x3d6c('0xa')](_0x3d6c('0xf'))['me'];for(const _0x1c7054 of _0x371a81[_0x3d6c('0x15')]({'skipNotAttached':!0x0})){const _0x219c89=_0x1c7054[_0x3d6c('0x17')]();if(_0x3d6c('0x7')===_0x1c7054[_0x3d6c('0x12')]&&_0x219c89===_0x35373e){_0x1c7054[_0x3d6c('0x20')]!==_0x11dc2b&&_0x1c7054[_0x3d6c('0x1f')](),_0x389b45=_0x1c7054[_0x3d6c('0x1e')][_0x3d6c('0xe')][0x0]['source'];break;}}_0x1f9026(_0x737398),_0x371a81['markBlockFormat'](_0x35373e,{'commandName':'replaceImageSource','commandParams':[{'source':_0x389b45}]},[],_0x3d6c('0x7'));});}['handleSuggestionDescription'](_0x731373){const {data:_0x5b69e9}=_0x731373;if(_0x5b69e9&&_0x3d6c('0x7')===_0x5b69e9['commandName']){const _0x126ae5=_0x3d6c('0x11');return{'type':_0x3d6c('0x16'),'content':_0x2f4df8(this[_0x3d6c('0x0')][_0x3d6c('0x1d')],_0x126ae5)};}}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/importword
3
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3197=['afterInit','editor','Users','_trackChangesExecuted','bind','trackChanges','collaboration_features','_trackChangesValueDuringImport','forEach','value','track_changes','importWord','commands','listenTo','high','plugins','_setSuggestionData','_handleImportedData','dataInsert','get','execute'];(function(_0x392d80,_0x319753){const _0x5b8e3b=function(_0x2c973a){while(--_0x2c973a){_0x392d80['push'](_0x392d80['shift']());}};_0x5b8e3b(++_0x319753);}(_0x3197,0x154));const _0x5b8e=function(_0x392d80,_0x319753){_0x392d80=_0x392d80-0x0;let _0x5b8e3b=_0x3197[_0x392d80];return _0x5b8e3b;};import{Plugin as _0x2c571c}from'ckeditor5/src/core';export default class Z extends _0x2c571c{constructor(_0x1d0657){super(_0x1d0657),this[_0x5b8e('0x3')]=!0x1,this[_0x5b8e('0x14')]=!0x1;}[_0x5b8e('0x11')](){const _0x478247=this[_0x5b8e('0x12')],_0x5346f6=_0x478247[_0x5b8e('0x8')][_0x5b8e('0xf')]('importWord'),_0x4d325f=_0x478247[_0x5b8e('0x8')]['get']('trackChanges');_0x5346f6&&(_0x5346f6['on']('execute',(_0x33d9ee,[,_0x28f8a4])=>{this['_trackChangesValueDuringImport']=_0x4d325f[_0x5b8e('0x5')],_0x28f8a4[_0x5b8e('0x2')][_0x5b8e('0x6')]=!this[_0x5b8e('0x3')];},{'priority':_0x5b8e('0xa')}),this['listenTo'](_0x5346f6,_0x5b8e('0xe'),this[_0x5b8e('0xd')][_0x5b8e('0x0')](this)),this[_0x5b8e('0x9')](_0x5346f6,_0x5b8e('0xe'),()=>{this['_trackChangesExecuted']&&(_0x4d325f[_0x5b8e('0x10')](),this[_0x5b8e('0x14')]=!0x1);},{'priority':'lowest'}),_0x478247[_0x5b8e('0xb')][_0x5b8e('0xf')]('TrackChangesEditing')['enableCommand'](_0x5b8e('0x7')));}[_0x5b8e('0xd')](_0x1373d9,_0x35a1f7){const {suggestions:_0x526c36}=_0x35a1f7,_0xa4ec2f=this['editor'][_0x5b8e('0x8')][_0x5b8e('0xf')](_0x5b8e('0x1')),_0x77f033=_0xa4ec2f['value'];this[_0x5b8e('0x3')]!==_0x77f033&&(_0xa4ec2f['execute'](),this[_0x5b8e('0x14')]=!0x0),_0x526c36&&_0x526c36[_0x5b8e('0x4')](({id:_0x2a235d,type:_0x567e9f,author:_0x38003d,created_at:_0x52a2bd})=>{const _0x24376c={'id':_0x2a235d,'type':_0x567e9f,'authorId':this[_0x5b8e('0x12')][_0x5b8e('0xb')][_0x5b8e('0xf')](_0x5b8e('0x13'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x38003d,'createdAt':_0x52a2bd?new Date(_0x52a2bd):new Date(),'source':_0x5b8e('0x7')}}};this[_0x5b8e('0x12')][_0x5b8e('0xb')]['get']('TrackChangesEditing')[_0x5b8e('0xc')](_0x24376c);});}}
23
+ const _0x4611=['lowest','trackChanges','enableCommand','_setSuggestionData','_trackChangesExecuted','execute','value','afterInit','bind','importWord','TrackChangesEditing','collaboration_features','dataInsert','track_changes','commands','_trackChangesValueDuringImport','_handleImportedData','forEach','get','plugins','listenTo','editor','high'];(function(_0x324227,_0x46118d){const _0xad4452=function(_0x3dd5b8){while(--_0x3dd5b8){_0x324227['push'](_0x324227['shift']());}};_0xad4452(++_0x46118d);}(_0x4611,0x137));const _0xad44=function(_0x324227,_0x46118d){_0x324227=_0x324227-0x0;let _0xad4452=_0x4611[_0x324227];return _0xad4452;};import{Plugin as _0x40d71c}from'ckeditor5/src/core';export default class Z extends _0x40d71c{constructor(_0x200dd0){super(_0x200dd0),this[_0xad44('0x3')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0xad44('0x12')](){const _0x2da6b2=this[_0xad44('0x9')],_0x43b89b=_0x2da6b2[_0xad44('0x2')]['get'](_0xad44('0x14')),_0x55952d=_0x2da6b2[_0xad44('0x2')][_0xad44('0x6')]('trackChanges');_0x43b89b&&(_0x43b89b['on'](_0xad44('0x10'),(_0x27b1c9,[,_0x18297d])=>{this[_0xad44('0x3')]=_0x55952d[_0xad44('0x11')],_0x18297d[_0xad44('0x16')][_0xad44('0x1')]=!this['_trackChangesValueDuringImport'];},{'priority':_0xad44('0xa')}),this['listenTo'](_0x43b89b,_0xad44('0x0'),this[_0xad44('0x4')][_0xad44('0x13')](this)),this[_0xad44('0x8')](_0x43b89b,_0xad44('0x0'),()=>{this[_0xad44('0xf')]&&(_0x55952d[_0xad44('0x10')](),this[_0xad44('0xf')]=!0x1);},{'priority':_0xad44('0xb')}),_0x2da6b2['plugins']['get']('TrackChangesEditing')[_0xad44('0xd')]('importWord'));}[_0xad44('0x4')](_0x47b2df,_0x8447df){const {suggestions:_0x3ae1d7}=_0x8447df,_0x6595df=this['editor'][_0xad44('0x2')][_0xad44('0x6')](_0xad44('0xc')),_0x2da3c0=_0x6595df[_0xad44('0x11')];this['_trackChangesValueDuringImport']!==_0x2da3c0&&(_0x6595df[_0xad44('0x10')](),this[_0xad44('0xf')]=!0x0),_0x3ae1d7&&_0x3ae1d7[_0xad44('0x5')](({id:_0x5d2a67,type:_0x54bf3e,author:_0x25f509,created_at:_0x4c1dcb})=>{const _0x1ffe7b={'id':_0x5d2a67,'type':_0x54bf3e,'authorId':this[_0xad44('0x9')]['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x25f509,'createdAt':_0x4c1dcb?new Date(_0x4c1dcb):new Date(),'source':'importWord'}}};this[_0xad44('0x9')][_0xad44('0x7')]['get'](_0xad44('0x15'))[_0xad44('0xe')](_0x1ffe7b);});}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/indent
3
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c44=['*Indent:*\x20%0','model','filter','selection','editor','document','has','commandName','indentBlock','plugins','enableCommand','from','get','change','getItems','*Outdent:*\x20%0','outdent','markBlockFormat','getItemLabel','indent','format','getSelectedBlocks','blockIndent','afterInit','outdentBlock','locale','registerDescriptionCallback','TrackChangesEditing','IndentEditing'];(function(_0x291443,_0x2c4463){const _0x58d866=function(_0x552c6f){while(--_0x552c6f){_0x291443['push'](_0x291443['shift']());}};_0x58d866(++_0x2c4463);}(_0x2c44,0x110));const _0x58d8=function(_0x291443,_0x2c4463){_0x291443=_0x291443-0x0;let _0x58d866=_0x2c44[_0x291443];return _0x58d866;};import{Plugin as _0x4a48ac}from'ckeditor5/src/core';import{getTranslation as _0x535095}from'../utils/common-translations';export default class tt extends _0x4a48ac{[_0x58d8('0xc')](){const _0xee1deb=this[_0x58d8('0x16')],_0x5033b9=_0xee1deb[_0x58d8('0x1b')][_0x58d8('0x1')](_0x58d8('0x10'));_0xee1deb['plugins'][_0x58d8('0x18')](_0x58d8('0x11'))&&(_0x5033b9[_0x58d8('0x1c')](_0x58d8('0x8')),_0x5033b9['enableCommand'](_0x58d8('0x5')));const _0xc2ac18=_0xee1deb[_0x58d8('0xe')];if(_0xee1deb[_0x58d8('0x1b')]['has']('IndentBlock')){for(const _0x9ce79f of[_0x58d8('0x1a'),_0x58d8('0xd')])_0x5033b9[_0x58d8('0x1c')](_0x9ce79f,()=>{const _0xd09c7f=Array[_0x58d8('0x0')](this[_0x58d8('0x16')][_0x58d8('0x13')][_0x58d8('0x17')][_0x58d8('0x15')][_0x58d8('0xa')]())[_0x58d8('0x14')](_0x391924=>this['editor'][_0x58d8('0x13')]['schema']['checkAttribute'](_0x391924,_0x58d8('0xb')));_0xee1deb[_0x58d8('0x13')][_0x58d8('0x2')](()=>{for(const _0x554fa6 of _0xd09c7f)_0x5033b9[_0x58d8('0x6')](_0x554fa6,{'commandName':_0x9ce79f,'commandParams':[{'value':''}],'formatGroupId':_0x58d8('0x1a')});});});_0x5033b9['_descriptionFactory'][_0x58d8('0xf')](_0x58d2c8=>{const {data:_0x2dbb43}=_0x58d2c8;if(!_0x2dbb43)return;if(_0x58d8('0x1a')!=_0x2dbb43[_0x58d8('0x19')]&&_0x58d8('0xd')!=_0x2dbb43['commandName'])return;const _0x5059e0=_0x58d2c8[_0x58d8('0x3')]()[0x0],_0x3ff3fc=_0x5033b9['_descriptionFactory'][_0x58d8('0x7')](_0x5059e0);return _0x58d8('0x1a')==_0x2dbb43[_0x58d8('0x19')]?{'type':_0x58d8('0x9'),'content':_0x535095(_0xc2ac18,_0x58d8('0x12'),_0x3ff3fc)}:_0x58d8('0xd')==_0x2dbb43[_0x58d8('0x19')]?{'type':_0x58d8('0x9'),'content':_0x535095(_0xc2ac18,_0x58d8('0x4'),_0x3ff3fc)}:void 0x0;});}}}
23
+ const _0x10b9=['model','commandName','IndentEditing','editor','selection','get','indentBlock','has','*Indent:*\x20%0','outdentBlock','change','schema','filter','checkAttribute','*Outdent:*\x20%0','afterInit','markBlockFormat','format','from','registerDescriptionCallback','_descriptionFactory','IndentBlock','locale','enableCommand','blockIndent','outdent','plugins'];(function(_0x3acb04,_0x10b997){const _0x23cea8=function(_0x583b5e){while(--_0x583b5e){_0x3acb04['push'](_0x3acb04['shift']());}};_0x23cea8(++_0x10b997);}(_0x10b9,0x15b));const _0x23ce=function(_0x3acb04,_0x10b997){_0x3acb04=_0x3acb04-0x0;let _0x23cea8=_0x10b9[_0x3acb04];return _0x23cea8;};import{Plugin as _0x587805}from'ckeditor5/src/core';import{getTranslation as _0x56db1f}from'../utils/common-translations';export default class tt extends _0x587805{[_0x23ce('0x13')](){const _0xe3a404=this[_0x23ce('0x7')],_0x5d4653=_0xe3a404[_0x23ce('0x3')][_0x23ce('0x9')]('TrackChangesEditing');_0xe3a404['plugins'][_0x23ce('0xb')](_0x23ce('0x6'))&&(_0x5d4653[_0x23ce('0x0')]('indent'),_0x5d4653[_0x23ce('0x0')](_0x23ce('0x2')));const _0x32f14b=_0xe3a404[_0x23ce('0x1a')];if(_0xe3a404[_0x23ce('0x3')][_0x23ce('0xb')](_0x23ce('0x19'))){for(const _0x2a48a2 of['indentBlock',_0x23ce('0xd')])_0x5d4653['enableCommand'](_0x2a48a2,()=>{const _0x4798a6=Array[_0x23ce('0x16')](this['editor'][_0x23ce('0x4')]['document'][_0x23ce('0x8')]['getSelectedBlocks']())[_0x23ce('0x10')](_0x267769=>this[_0x23ce('0x7')][_0x23ce('0x4')][_0x23ce('0xf')][_0x23ce('0x11')](_0x267769,_0x23ce('0x1')));_0xe3a404[_0x23ce('0x4')][_0x23ce('0xe')](()=>{for(const _0xff2686 of _0x4798a6)_0x5d4653[_0x23ce('0x14')](_0xff2686,{'commandName':_0x2a48a2,'commandParams':[{'value':''}],'formatGroupId':_0x23ce('0xa')});});});_0x5d4653['_descriptionFactory'][_0x23ce('0x17')](_0x52bcea=>{const {data:_0x50c634}=_0x52bcea;if(!_0x50c634)return;if('indentBlock'!=_0x50c634[_0x23ce('0x5')]&&_0x23ce('0xd')!=_0x50c634[_0x23ce('0x5')])return;const _0x75bd97=_0x52bcea['getItems']()[0x0],_0x2178f8=_0x5d4653[_0x23ce('0x18')]['getItemLabel'](_0x75bd97);return _0x23ce('0xa')==_0x50c634[_0x23ce('0x5')]?{'type':_0x23ce('0x15'),'content':_0x56db1f(_0x32f14b,_0x23ce('0xc'),_0x2178f8)}:_0x23ce('0xd')==_0x50c634['commandName']?{'type':_0x23ce('0x15'),'content':_0x56db1f(_0x32f14b,_0x23ce('0x12'),_0x2178f8)}:void 0x0;});}}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/inputcommand/inputcommand
3
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x26d1=['init','TrackChangesEditing','editor','enableCommand'];(function(_0x463270,_0x26d1b6){var _0x1fe994=function(_0x710246){while(--_0x710246){_0x463270['push'](_0x463270['shift']());}};_0x1fe994(++_0x26d1b6);}(_0x26d1,0x18b));var _0x1fe9=function(_0x463270,_0x26d1b6){_0x463270=_0x463270-0x0;var _0x1fe994=_0x26d1[_0x463270];return _0x1fe994;};import{Plugin as _0x3220bb}from'ckeditor5/src/core';import{Input as _0x302f37}from'ckeditor5/src/typing';export default class it extends _0x3220bb{static get['requires'](){return[_0x302f37];}[_0x1fe9('0x1')](){this[_0x1fe9('0x3')]['plugins']['get'](_0x1fe9('0x2'))[_0x1fe9('0x0')]('input');}}
23
+ var _0x5458=['plugins','enableCommand','get','init','TrackChangesEditing','requires','editor'];(function(_0x316145,_0x5458e9){var _0xb87884=function(_0x57ffb3){while(--_0x57ffb3){_0x316145['push'](_0x316145['shift']());}};_0xb87884(++_0x5458e9);}(_0x5458,0x133));var _0xb878=function(_0x316145,_0x5458e9){_0x316145=_0x316145-0x0;var _0xb87884=_0x5458[_0x316145];return _0xb87884;};import{Plugin as _0x3a4f69}from'ckeditor5/src/core';import{Input as _0x5df02c}from'ckeditor5/src/typing';export default class it extends _0x3a4f69{static get[_0xb878('0x6')](){return[_0x5df02c];}[_0xb878('0x4')](){this[_0xb878('0x0')][_0xb878('0x1')][_0xb878('0x3')](_0xb878('0x5'))[_0xb878('0x2')]('input');}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/link
3
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24f4=['format','selection','_descriptionFactory','commandParams','editor','isCollapsed','getFirstRange','document','LinkEditing','enableCommand','getAttribute','linkHref','unlink','markInlineFormat','from','get','plugins','getRanges','TrackChangesEditing','getFirstPosition','link','commandName','afterInit','*Set\x20link:*\x20%0','model','change'];(function(_0x52ea9e,_0x24f48e){const _0x470c50=function(_0x6c6e4a){while(--_0x6c6e4a){_0x52ea9e['push'](_0x52ea9e['shift']());}};_0x470c50(++_0x24f48e);}(_0x24f4,0x1c0));const _0x470c=function(_0x52ea9e,_0x24f48e){_0x52ea9e=_0x52ea9e-0x0;let _0x470c50=_0x24f4[_0x52ea9e];return _0x470c50;};import{Plugin as _0x2e66be}from'ckeditor5/src/core';import{findAttributeRange as _0xde9850}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x757a66}from'./utils';import{getTranslation as _0x2aaa63}from'../utils/common-translations';export default class et extends _0x2e66be{[_0x470c('0x10')](){const _0x27b347=this[_0x470c('0x18')];if(!_0x27b347[_0x470c('0xa')]['has'](_0x470c('0x2')))return;const _0x1d3855=_0x27b347[_0x470c('0xa')][_0x470c('0x9')](_0x470c('0xc'));_0x1d3855[_0x470c('0x3')](_0x470c('0xe'),(_0x5f4333,_0x56f6e9)=>{const _0x72d92=_0x27b347['model'][_0x470c('0x1')][_0x470c('0x15')];let _0x1360bb=[];if(_0x72d92[_0x470c('0x19')]){if(!_0x72d92['hasAttribute'](_0x470c('0x5')))return void _0x5f4333(_0x56f6e9);{const _0xda3051=_0xde9850(_0x72d92['getFirstPosition'](),_0x470c('0x5'),_0x72d92[_0x470c('0x4')](_0x470c('0x5')),_0x27b347[_0x470c('0x12')]);_0x1360bb=[_0xda3051];}}else _0x1360bb=Array[_0x470c('0x8')](_0x72d92[_0x470c('0xb')]());_0x27b347['model'][_0x470c('0x13')](()=>{for(const _0x31d215 of _0x1360bb)_0x1d3855[_0x470c('0x7')](_0x31d215,{'commandName':'link','commandParams':[_0x56f6e9]});});}),_0x1d3855[_0x470c('0x3')](_0x470c('0x6'),()=>{const _0x167e42=this[_0x470c('0x18')][_0x470c('0x12')],_0x1b42a9=_0x167e42[_0x470c('0x1')][_0x470c('0x15')];_0x167e42[_0x470c('0x13')](()=>{let _0x272178=[];if(_0x1b42a9[_0x470c('0x19')])_0x272178=[_0xde9850(_0x1b42a9[_0x470c('0xd')](),'linkHref',_0x1b42a9[_0x470c('0x4')](_0x470c('0x5')),_0x27b347[_0x470c('0x12')])];else _0x272178=_0x757a66(_0x470c('0x5'),_0x1b42a9[_0x470c('0x0')](),_0x27b347[_0x470c('0x12')]);for(const _0x58269b of _0x272178)_0x1d3855[_0x470c('0x7')](_0x58269b,{'commandName':_0x470c('0x6'),'commandParams':[]});});}),_0x1d3855[_0x470c('0x16')]['registerDescriptionCallback'](_0x519254=>{const {data:_0x5533ce}=_0x519254,_0x3c5d0f=_0x27b347['locale'];if(_0x5533ce){if(_0x470c('0xe')==_0x5533ce['commandName']){const _0xe249da=_0x5533ce[_0x470c('0x17')][0x0];return{'type':'format','content':_0x2aaa63(_0x3c5d0f,_0x470c('0x11'),'\x22'+_0xe249da+'\x22')};}return _0x470c('0x6')==_0x5533ce[_0x470c('0xf')]?{'type':_0x470c('0x14'),'content':_0x2aaa63(_0x3c5d0f,'*Remove\x20link*')}:void 0x0;}});}}
23
+ const _0x34bf=['selection','enableCommand','isCollapsed','commandParams','has','getFirstRange','*Remove\x20link*','editor','change','linkHref','markInlineFormat','unlink','*Set\x20link:*\x20%0','link','commandName','afterInit','document','getFirstPosition','model','plugins','LinkEditing','registerDescriptionCallback','TrackChangesEditing','format'];(function(_0xf40562,_0x34bf3b){const _0x921c5f=function(_0x40b22f){while(--_0x40b22f){_0xf40562['push'](_0xf40562['shift']());}};_0x921c5f(++_0x34bf3b);}(_0x34bf,0xa4));const _0x921c=function(_0xf40562,_0x34bf3b){_0xf40562=_0xf40562-0x0;let _0x921c5f=_0x34bf[_0xf40562];return _0x921c5f;};import{Plugin as _0x53d5c8}from'ckeditor5/src/core';import{findAttributeRange as _0x53f06d}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x4bc30c}from'./utils';import{getTranslation as _0x127d90}from'../utils/common-translations';export default class et extends _0x53d5c8{[_0x921c('0x13')](){const _0x2af265=this['editor'];if(!_0x2af265[_0x921c('0x17')][_0x921c('0x8')](_0x921c('0x0')))return;const _0x2335eb=_0x2af265[_0x921c('0x17')]['get'](_0x921c('0x2'));_0x2335eb[_0x921c('0x5')](_0x921c('0x11'),(_0x2096b4,_0x596905)=>{const _0x2cd861=_0x2af265[_0x921c('0x16')][_0x921c('0x14')]['selection'];let _0x5a0243=[];if(_0x2cd861['isCollapsed']){if(!_0x2cd861['hasAttribute'](_0x921c('0xd')))return void _0x2096b4(_0x596905);{const _0x5f3e5c=_0x53f06d(_0x2cd861[_0x921c('0x15')](),'linkHref',_0x2cd861['getAttribute']('linkHref'),_0x2af265[_0x921c('0x16')]);_0x5a0243=[_0x5f3e5c];}}else _0x5a0243=Array['from'](_0x2cd861['getRanges']());_0x2af265[_0x921c('0x16')][_0x921c('0xc')](()=>{for(const _0x1514d8 of _0x5a0243)_0x2335eb['markInlineFormat'](_0x1514d8,{'commandName':_0x921c('0x11'),'commandParams':[_0x596905]});});}),_0x2335eb[_0x921c('0x5')](_0x921c('0xf'),()=>{const _0x39f079=this[_0x921c('0xb')]['model'],_0x13d046=_0x39f079[_0x921c('0x14')][_0x921c('0x4')];_0x39f079[_0x921c('0xc')](()=>{let _0x31e19a=[];if(_0x13d046[_0x921c('0x6')])_0x31e19a=[_0x53f06d(_0x13d046[_0x921c('0x15')](),_0x921c('0xd'),_0x13d046['getAttribute'](_0x921c('0xd')),_0x2af265[_0x921c('0x16')])];else _0x31e19a=_0x4bc30c(_0x921c('0xd'),_0x13d046[_0x921c('0x9')](),_0x2af265[_0x921c('0x16')]);for(const _0x440d9f of _0x31e19a)_0x2335eb[_0x921c('0xe')](_0x440d9f,{'commandName':_0x921c('0xf'),'commandParams':[]});});}),_0x2335eb['_descriptionFactory'][_0x921c('0x1')](_0x56b49d=>{const {data:_0x5a51c7}=_0x56b49d,_0x24c20b=_0x2af265['locale'];if(_0x5a51c7){if(_0x921c('0x11')==_0x5a51c7[_0x921c('0x12')]){const _0x5b58f8=_0x5a51c7[_0x921c('0x7')][0x0];return{'type':_0x921c('0x3'),'content':_0x127d90(_0x24c20b,_0x921c('0x10'),'\x22'+_0x5b58f8+'\x22')};}return _0x921c('0xf')==_0x5a51c7[_0x921c('0x12')]?{'type':_0x921c('0x3'),'content':_0x127d90(_0x24c20b,_0x921c('0xa'))}:void 0x0;}});}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/list
3
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2058=['ELEMENT_LIST_ITEM','nextSibling','TrackChangesEditing','getSelectedBlocks','document','*Indent:*\x20%0','commandParams','getAttribute','todoListChecked','change','format','TodoListEditing','ELEMENT_BULLETED_LIST','isObject','before','slice','value','ELEMENT_TODO_LIST','length','listType','commandName','name','listIndent','plugins','_descriptionFactory','selection','_selectedElements','checkTodoList','registerDescriptionCallback','findIndex','filter','locale','add','from','createRange','bulletedList','List','forceValue','has','numbered','get','ListEditing','previousSibling','commands','model','element','todo','indentList','execute','listItem','paragraph','enableCommand','schema','editor','outdentList','numberedList','markBlockFormat','todoList','registerElementLabel','afterInit'];(function(_0x12cf49,_0x205854){const _0x2d3614=function(_0x5dd20f){while(--_0x5dd20f){_0x12cf49['push'](_0x12cf49['shift']());}};_0x2d3614(++_0x205854);}(_0x2058,0xb3));const _0x2d36=function(_0x12cf49,_0x205854){_0x12cf49=_0x12cf49-0x0;let _0x2d3614=_0x2058[_0x12cf49];return _0x2d3614;};import{Plugin as _0x4572e6}from'ckeditor5/src/core';import{getTranslation as _0x206458}from'../utils/common-translations';export default class st extends _0x4572e6{[_0x2d36('0x0')](){const _0x4d27d2=this[_0x2d36('0x36')],_0x535a20=_0x4d27d2[_0x2d36('0x20')];if(!_0x4d27d2[_0x2d36('0x18')][_0x2d36('0x27')](_0x2d36('0x2a')))return;const _0x54174c=_0x4d27d2[_0x2d36('0x18')]['get'](_0x2d36('0x3')),_0x1ec75d=_0x4d27d2[_0x2d36('0x18')][_0x2d36('0x27')](_0x2d36('0xc'));function _0x4fea8e(_0x59f022){return()=>{const _0x26d239=_0x4d27d2[_0x2d36('0x2d')][_0x2d36('0x5')][_0x2d36('0x1a')],_0x35be4c=_0x4d27d2[_0x2d36('0x2c')]['get'](_0x59f022);if(_0x35be4c[_0x2d36('0x11')])return void _0x4d27d2[_0x2d36('0x31')](_0x2d36('0x33'),{});const _0x59a8ff=_0x59f022[_0x2d36('0x10')](0x0,-0x4),_0x31aecd=function(_0x37b770,_0x15cc97,_0x40f41c){let _0x128a3c=Array[_0x2d36('0x22')](_0x37b770)[_0x2d36('0x1f')](_0x3dc866=>function(_0x3d0bc1,_0x2d27ab){return _0x2d27ab['checkChild'](_0x3d0bc1['parent'],_0x2d36('0x32'))&&!_0x2d27ab[_0x2d36('0xe')](_0x3d0bc1);}(_0x3dc866,_0x40f41c));_0x128a3c=_0x128a3c[_0x2d36('0x1f')](_0x35264a=>!_0x35264a['is'](_0x2d36('0x2e'),_0x2d36('0x32'))||_0x35264a[_0x2d36('0x8')](_0x2d36('0x14'))!=_0x15cc97);const _0xea04ad=new Set();for(const _0x444d6a of _0x128a3c)_0x444d6a['is'](_0x2d36('0x2e'),_0x2d36('0x32'))?_0xea04ad['add'](ne(_0x444d6a)):_0xea04ad[_0x2d36('0x21')](_0x444d6a);return Array[_0x2d36('0x22')](_0xea04ad);}(_0x26d239[_0x2d36('0x4')](),_0x59a8ff,_0x4d27d2[_0x2d36('0x2d')][_0x2d36('0x35')]);_0x4d27d2[_0x2d36('0x2d')][_0x2d36('0xa')](()=>{for(const _0x43e9a3 of _0x31aecd)_0x54174c[_0x2d36('0x39')](_0x43e9a3,{'commandName':_0x59f022,'commandParams':[{'forceValue':!_0x35be4c[_0x2d36('0x11')]}],'formatGroupId':'blockName'},oe(_0x43e9a3));});};}function _0x1d641c(_0x343e2a){return()=>{const _0xe040ab=function(_0x53c658){let _0x4305b5=Array['from'](_0x53c658);const _0x17ae24=_0x4305b5[_0x2d36('0x1e')](_0x33ffa5=>_0x2d36('0x32')!=_0x33ffa5[_0x2d36('0x16')]);return _0x17ae24>-0x1&&(_0x4305b5=_0x4305b5[_0x2d36('0x10')](0x0,_0x17ae24)),_0x4305b5;}(_0x4d27d2[_0x2d36('0x2d')]['document'][_0x2d36('0x1a')][_0x2d36('0x4')]()),_0x1e32ca=_0x4d27d2[_0x2d36('0x2d')][_0x2d36('0x23')](_0x4d27d2[_0x2d36('0x2d')]['createPositionAt'](_0xe040ab[0x0],_0x2d36('0xf')),_0x4d27d2[_0x2d36('0x2d')]['createPositionAt'](_0xe040ab[_0xe040ab[_0x2d36('0x13')]-0x1],'end'));_0x4d27d2['model'][_0x2d36('0xa')](()=>{_0x54174c['markBlockFormat'](_0x1e32ca,{'commandName':_0x343e2a,'commandParams':[],'formatGroupId':_0x2d36('0x17')},function(_0x1a36dc){const _0xa89189=new Set();for(const _0x15db2a of _0x1a36dc){let _0x4cd823=_0x15db2a[_0x2d36('0x2')];for(;_0x4cd823&&_0x4cd823[_0x2d36('0x8')](_0x2d36('0x17'))>_0x15db2a[_0x2d36('0x8')](_0x2d36('0x17'));)_0xa89189['add'](_0x4cd823),_0x4cd823=_0x4cd823[_0x2d36('0x2')];}return Array[_0x2d36('0x22')](_0xa89189);}(_0xe040ab));});};}_0x54174c[_0x2d36('0x34')](_0x2d36('0x38'),_0x4fea8e('numberedList')),_0x54174c[_0x2d36('0x34')](_0x2d36('0x24'),_0x4fea8e(_0x2d36('0x24'))),_0x1ec75d&&_0x54174c[_0x2d36('0x34')](_0x2d36('0x3a'),_0x4fea8e(_0x2d36('0x3a'))),_0x54174c[_0x2d36('0x34')](_0x2d36('0x30'),_0x1d641c('indentList')),_0x54174c[_0x2d36('0x34')](_0x2d36('0x37'),_0x1d641c(_0x2d36('0x37'))),_0x1ec75d&&_0x54174c[_0x2d36('0x34')]('checkTodoList',()=>{const _0x26855a=_0x4d27d2[_0x2d36('0x2c')][_0x2d36('0x29')]('checkTodoList'),_0xba0e87=Array[_0x2d36('0x22')](_0x26855a[_0x2d36('0x1b')]);_0xba0e87[_0x2d36('0x1f')](_0x176e51=>_0x176e51[_0x2d36('0x8')](_0x2d36('0x9'))!=_0x26855a[_0x2d36('0x11')]),_0x4d27d2['model']['change'](()=>{for(const _0x362c03 of _0xba0e87)_0x54174c[_0x2d36('0x39')](_0x362c03,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x26855a[_0x2d36('0x11')]}]});});}),_0x54174c[_0x2d36('0x19')][_0x2d36('0x3b')](_0x2d36('0x32'),_0x46f0bf=>_0x206458(_0x535a20,'ELEMENT_LIST_ITEM',_0x46f0bf)),_0x54174c[_0x2d36('0x19')][_0x2d36('0x1d')](_0x25c49c=>{const {data:_0x23f669}=_0x25c49c;if(_0x23f669){if(_0x2d36('0x38')==_0x23f669[_0x2d36('0x15')]||_0x2d36('0x24')==_0x23f669[_0x2d36('0x15')]||_0x2d36('0x3a')==_0x23f669[_0x2d36('0x15')])switch(_0x23f669[_0x2d36('0x15')]['replace'](_0x2d36('0x25'),'')){case'bulleted':return _0x173e8a(_0x206458(_0x535a20,_0x2d36('0xd')));case _0x2d36('0x28'):return _0x173e8a(_0x206458(_0x535a20,'ELEMENT_NUMBERED_LIST'));case _0x2d36('0x2f'):return _0x173e8a(_0x206458(_0x535a20,_0x2d36('0x12')));}if(_0x2d36('0x30')==_0x23f669['commandName'])return{'type':_0x2d36('0xb'),'content':_0x206458(_0x535a20,_0x2d36('0x6'),_0x206458(_0x535a20,_0x2d36('0x1')))};if(_0x2d36('0x37')==_0x23f669[_0x2d36('0x15')])return{'type':_0x2d36('0xb'),'content':_0x206458(_0x535a20,'*Outdent:*\x20%0',_0x206458(_0x535a20,_0x2d36('0x1')))};if(_0x2d36('0x1c')==_0x23f669[_0x2d36('0x15')])return _0x23f669[_0x2d36('0x7')][0x0][_0x2d36('0x26')]?{'type':_0x2d36('0xb'),'content':_0x206458(_0x535a20,'*Check\x20item*')}:{'type':_0x2d36('0xb'),'content':_0x206458(_0x535a20,'*Uncheck\x20item*')};}function _0x173e8a(_0x884489){return{'type':'format','content':_0x206458(_0x535a20,'*Change\x20to:*\x20%0',_0x884489)};}});}}function ne(_0x4f9498){const _0x37ac08=_0x4f9498['getAttribute'](_0x2d36('0x17'));if(0x0==_0x37ac08)return _0x4f9498;let _0x14447e=_0x4f9498;for(;_0x4f9498['previousSibling']&&_0x4f9498[_0x2d36('0x2b')]['is']('element',_0x2d36('0x32'));){const _0x428de7=_0x4f9498[_0x2d36('0x2b')][_0x2d36('0x8')](_0x2d36('0x17'));if(_0x428de7==_0x37ac08)_0x14447e=_0x4f9498[_0x2d36('0x2b')];else{if(_0x428de7<_0x37ac08)break;}_0x4f9498=_0x4f9498[_0x2d36('0x2b')];}return _0x14447e;}function oe(_0x18f1e2){const _0x1dbc98=[];if(_0x18f1e2['is'](_0x2d36('0x2e'),_0x2d36('0x32'))&&_0x18f1e2[_0x2d36('0x8')]('listIndent')>0x0){let _0x1e69a5=_0x18f1e2['nextSibling'];for(;_0x1e69a5&&_0x2d36('0x32')==_0x1e69a5['name']&&_0x1e69a5[_0x2d36('0x8')](_0x2d36('0x17'))==_0x18f1e2[_0x2d36('0x8')](_0x2d36('0x17'));)_0x1dbc98['push'](_0x1e69a5),_0x1e69a5=_0x1e69a5[_0x2d36('0x2')];}return _0x1dbc98;}
23
+ const _0x2945=['end','ELEMENT_LIST_ITEM','previousSibling','locale','createPositionAt','name','plugins','getAttribute','parent','TrackChangesEditing','outdentList','numberedList','TodoListEditing','schema','editor','enableCommand','document','execute','_descriptionFactory','ListEditing','blockName','from','checkTodoList','selection','get','commands','bulletedList','*Indent:*\x20%0','replace','ELEMENT_BULLETED_LIST','markBlockFormat','has','push','isObject','model','value','nextSibling','listIndent','length','commandName','bulleted','todoList','_selectedElements','indentList','List','registerDescriptionCallback','format','afterInit','listType','createRange','element','registerElementLabel','ELEMENT_TODO_LIST','filter','checkChild','slice','listItem','getSelectedBlocks','change','add'];(function(_0x291501,_0x294509){const _0x2bb732=function(_0x4e2724){while(--_0x4e2724){_0x291501['push'](_0x291501['shift']());}};_0x2bb732(++_0x294509);}(_0x2945,0x110));const _0x2bb7=function(_0x291501,_0x294509){_0x291501=_0x291501-0x0;let _0x2bb732=_0x2945[_0x291501];return _0x2bb732;};import{Plugin as _0x2506ee}from'ckeditor5/src/core';import{getTranslation as _0x396acc}from'../utils/common-translations';export default class st extends _0x2506ee{[_0x2bb7('0xf')](){const _0x57c396=this[_0x2bb7('0x2a')],_0x2d9073=_0x57c396[_0x2bb7('0x1f')];if(!_0x57c396[_0x2bb7('0x22')]['has'](_0x2bb7('0x2f')))return;const _0x21fdb7=_0x57c396[_0x2bb7('0x22')][_0x2bb7('0x34')](_0x2bb7('0x25')),_0xf14172=_0x57c396[_0x2bb7('0x22')][_0x2bb7('0x3b')](_0x2bb7('0x28'));function _0xe7f2f7(_0x198525){return()=>{const _0x436c7c=_0x57c396[_0x2bb7('0x2')][_0x2bb7('0x2c')]['selection'],_0x270cb2=_0x57c396[_0x2bb7('0x35')][_0x2bb7('0x34')](_0x198525);if(_0x270cb2['value'])return void _0x57c396[_0x2bb7('0x2d')]('paragraph',{});const _0xf4bfc7=_0x198525[_0x2bb7('0x17')](0x0,-0x4),_0x2d2543=function(_0x59a62b,_0x4114af,_0x419139){let _0xa3df53=Array[_0x2bb7('0x31')](_0x59a62b)['filter'](_0xffd05c=>function(_0x3b53d0,_0x4f6954){return _0x4f6954[_0x2bb7('0x16')](_0x3b53d0[_0x2bb7('0x24')],'listItem')&&!_0x4f6954[_0x2bb7('0x1')](_0x3b53d0);}(_0xffd05c,_0x419139));_0xa3df53=_0xa3df53['filter'](_0x27e2a0=>!_0x27e2a0['is'](_0x2bb7('0x12'),_0x2bb7('0x18'))||_0x27e2a0[_0x2bb7('0x23')](_0x2bb7('0x10'))!=_0x4114af);const _0x4b4ace=new Set();for(const _0x4d9dec of _0xa3df53)_0x4d9dec['is']('element','listItem')?_0x4b4ace['add'](ne(_0x4d9dec)):_0x4b4ace[_0x2bb7('0x1b')](_0x4d9dec);return Array[_0x2bb7('0x31')](_0x4b4ace);}(_0x436c7c[_0x2bb7('0x19')](),_0xf4bfc7,_0x57c396[_0x2bb7('0x2')][_0x2bb7('0x29')]);_0x57c396[_0x2bb7('0x2')]['change'](()=>{for(const _0x218fc0 of _0x2d2543)_0x21fdb7[_0x2bb7('0x3a')](_0x218fc0,{'commandName':_0x198525,'commandParams':[{'forceValue':!_0x270cb2[_0x2bb7('0x3')]}],'formatGroupId':_0x2bb7('0x30')},oe(_0x218fc0));});};}function _0x4c2be6(_0x18756d){return()=>{const _0x1a5b60=function(_0x5ba598){let _0x504b0e=Array['from'](_0x5ba598);const _0x379a50=_0x504b0e['findIndex'](_0x421b0b=>_0x2bb7('0x18')!=_0x421b0b[_0x2bb7('0x21')]);return _0x379a50>-0x1&&(_0x504b0e=_0x504b0e[_0x2bb7('0x17')](0x0,_0x379a50)),_0x504b0e;}(_0x57c396[_0x2bb7('0x2')]['document'][_0x2bb7('0x33')][_0x2bb7('0x19')]()),_0x53f733=_0x57c396[_0x2bb7('0x2')][_0x2bb7('0x11')](_0x57c396['model'][_0x2bb7('0x20')](_0x1a5b60[0x0],'before'),_0x57c396['model'][_0x2bb7('0x20')](_0x1a5b60[_0x1a5b60[_0x2bb7('0x6')]-0x1],_0x2bb7('0x1c')));_0x57c396[_0x2bb7('0x2')][_0x2bb7('0x1a')](()=>{_0x21fdb7[_0x2bb7('0x3a')](_0x53f733,{'commandName':_0x18756d,'commandParams':[],'formatGroupId':_0x2bb7('0x5')},function(_0x3a3893){const _0x5c7ab9=new Set();for(const _0x297ced of _0x3a3893){let _0x5bad34=_0x297ced[_0x2bb7('0x4')];for(;_0x5bad34&&_0x5bad34[_0x2bb7('0x23')](_0x2bb7('0x5'))>_0x297ced[_0x2bb7('0x23')](_0x2bb7('0x5'));)_0x5c7ab9[_0x2bb7('0x1b')](_0x5bad34),_0x5bad34=_0x5bad34[_0x2bb7('0x4')];}return Array['from'](_0x5c7ab9);}(_0x1a5b60));});};}_0x21fdb7['enableCommand'](_0x2bb7('0x27'),_0xe7f2f7('numberedList')),_0x21fdb7[_0x2bb7('0x2b')](_0x2bb7('0x36'),_0xe7f2f7(_0x2bb7('0x36'))),_0xf14172&&_0x21fdb7[_0x2bb7('0x2b')](_0x2bb7('0x9'),_0xe7f2f7('todoList')),_0x21fdb7[_0x2bb7('0x2b')](_0x2bb7('0xb'),_0x4c2be6(_0x2bb7('0xb'))),_0x21fdb7[_0x2bb7('0x2b')](_0x2bb7('0x26'),_0x4c2be6(_0x2bb7('0x26'))),_0xf14172&&_0x21fdb7[_0x2bb7('0x2b')]('checkTodoList',()=>{const _0xdb46c7=_0x57c396['commands'][_0x2bb7('0x34')]('checkTodoList'),_0x216ff9=Array[_0x2bb7('0x31')](_0xdb46c7[_0x2bb7('0xa')]);_0x216ff9[_0x2bb7('0x15')](_0x3acfcd=>_0x3acfcd[_0x2bb7('0x23')]('todoListChecked')!=_0xdb46c7[_0x2bb7('0x3')]),_0x57c396['model'][_0x2bb7('0x1a')](()=>{for(const _0x50a98e of _0x216ff9)_0x21fdb7['markBlockFormat'](_0x50a98e,{'commandName':_0x2bb7('0x32'),'commandParams':[{'forceValue':!_0xdb46c7[_0x2bb7('0x3')]}]});});}),_0x21fdb7[_0x2bb7('0x2e')][_0x2bb7('0x13')](_0x2bb7('0x18'),_0x564a77=>_0x396acc(_0x2d9073,_0x2bb7('0x1d'),_0x564a77)),_0x21fdb7[_0x2bb7('0x2e')][_0x2bb7('0xd')](_0x578b54=>{const {data:_0x3f6ab2}=_0x578b54;if(_0x3f6ab2){if(_0x2bb7('0x27')==_0x3f6ab2[_0x2bb7('0x7')]||'bulletedList'==_0x3f6ab2['commandName']||'todoList'==_0x3f6ab2[_0x2bb7('0x7')])switch(_0x3f6ab2[_0x2bb7('0x7')][_0x2bb7('0x38')](_0x2bb7('0xc'),'')){case _0x2bb7('0x8'):return _0x3a1b58(_0x396acc(_0x2d9073,_0x2bb7('0x39')));case'numbered':return _0x3a1b58(_0x396acc(_0x2d9073,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x3a1b58(_0x396acc(_0x2d9073,_0x2bb7('0x14')));}if(_0x2bb7('0xb')==_0x3f6ab2['commandName'])return{'type':'format','content':_0x396acc(_0x2d9073,_0x2bb7('0x37'),_0x396acc(_0x2d9073,'ELEMENT_LIST_ITEM'))};if(_0x2bb7('0x26')==_0x3f6ab2[_0x2bb7('0x7')])return{'type':_0x2bb7('0xe'),'content':_0x396acc(_0x2d9073,'*Outdent:*\x20%0',_0x396acc(_0x2d9073,_0x2bb7('0x1d')))};if(_0x2bb7('0x32')==_0x3f6ab2[_0x2bb7('0x7')])return _0x3f6ab2['commandParams'][0x0]['forceValue']?{'type':_0x2bb7('0xe'),'content':_0x396acc(_0x2d9073,'*Check\x20item*')}:{'type':_0x2bb7('0xe'),'content':_0x396acc(_0x2d9073,'*Uncheck\x20item*')};}function _0x3a1b58(_0x3f9a92){return{'type':_0x2bb7('0xe'),'content':_0x396acc(_0x2d9073,'*Change\x20to:*\x20%0',_0x3f9a92)};}});}}function ne(_0x118483){const _0xf42659=_0x118483['getAttribute'](_0x2bb7('0x5'));if(0x0==_0xf42659)return _0x118483;let _0x24a148=_0x118483;for(;_0x118483['previousSibling']&&_0x118483[_0x2bb7('0x1e')]['is'](_0x2bb7('0x12'),'listItem');){const _0x1ee506=_0x118483[_0x2bb7('0x1e')]['getAttribute'](_0x2bb7('0x5'));if(_0x1ee506==_0xf42659)_0x24a148=_0x118483[_0x2bb7('0x1e')];else{if(_0x1ee506<_0xf42659)break;}_0x118483=_0x118483[_0x2bb7('0x1e')];}return _0x24a148;}function oe(_0x4f19b1){const _0x45b108=[];if(_0x4f19b1['is']('element',_0x2bb7('0x18'))&&_0x4f19b1[_0x2bb7('0x23')](_0x2bb7('0x5'))>0x0){let _0x172bd8=_0x4f19b1[_0x2bb7('0x4')];for(;_0x172bd8&&_0x2bb7('0x18')==_0x172bd8[_0x2bb7('0x21')]&&_0x172bd8[_0x2bb7('0x23')]('listIndent')==_0x4f19b1['getAttribute']('listIndent');)_0x45b108[_0x2bb7('0x0')](_0x172bd8),_0x172bd8=_0x172bd8[_0x2bb7('0x4')];}return _0x45b108;}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/listproperties
3
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5df3=['ELEMENT_','listItem','markMultiRangeBlockFormat','startIndex','getAttribute','ListUtils','_LIST_','createRange','*Format:*\x20set\x20order\x20to\x20reversed','document','config','type','bind','TrackChangesEditing','listStyle','element','listReversed','_getTranslationKeyForListStyle','flat','listType','listStart','*Format:*\x20set\x20order\x20to\x20regular','plugins','commandParams','parent','handleListReversedCommand','locale','has','commandName','before','length','change','_descriptionFactory','handleDescriptions','createPositionAt','backward','model','_getSuggestionBlocksForListStyle','replace','*Change\x20to:*\x20%0','selection','reversed','handleListStyleCommand','getSelectedBlocks','editor','numbered','get','_getSuggestionBlocks','getListTypeFromListStyleType','forward','getSiblingNodes','format','afterInit','handleListStartCommand','getFirstPosition','filter','enableCommand'];(function(_0x1d1a79,_0x5df30c){const _0x1e0c92=function(_0x5d26c6){while(--_0x5d26c6){_0x1d1a79['push'](_0x1d1a79['shift']());}};_0x1e0c92(++_0x5df30c);}(_0x5df3,0xde));const _0x1e0c=function(_0x1d1a79,_0x5df30c){_0x1d1a79=_0x1d1a79-0x0;let _0x1e0c92=_0x5df3[_0x1d1a79];return _0x1e0c92;};import{Plugin as _0x4b212f}from'ckeditor5/src/core';import{getTranslation as _0x2abe13}from'../utils/common-translations';export default class nt extends _0x4b212f{[_0x1e0c('0x1')](){if(!this[_0x1e0c('0x32')]['plugins'][_0x1e0c('0x21')]('ListPropertiesEditing'))return;const _0x30ecbf=this[_0x1e0c('0x32')][_0x1e0c('0x10')][_0x1e0c('0x34')]('list.properties'),_0x5876b7=this['editor']['plugins']['get'](_0x1e0c('0x13'));_0x30ecbf['styles']&&_0x5876b7['enableCommand'](_0x1e0c('0x14'),this[_0x1e0c('0x30')][_0x1e0c('0x12')](this)),_0x30ecbf[_0x1e0c('0x2f')]&&_0x5876b7[_0x1e0c('0x5')](_0x1e0c('0x16'),this[_0x1e0c('0x1f')][_0x1e0c('0x12')](this)),_0x30ecbf['startIndex']&&_0x5876b7[_0x1e0c('0x5')](_0x1e0c('0x1a'),this[_0x1e0c('0x2')][_0x1e0c('0x12')](this)),_0x5876b7[_0x1e0c('0x26')]['registerDescriptionCallback'](this[_0x1e0c('0x27')][_0x1e0c('0x12')](this));}[_0x1e0c('0x30')](_0x4d6be4,_0x5a5505={}){const _0x58eb0b=this['editor']['plugins'][_0x1e0c('0x34')](_0x1e0c('0x13')),_0x1e442f=this[_0x1e0c('0x2b')]();this[_0x1e0c('0x32')][_0x1e0c('0x2a')][_0x1e0c('0x25')](()=>{_0x58eb0b[_0x1e0c('0x8')](_0x1e442f,{'commandName':_0x1e0c('0x14'),'commandParams':[{'type':_0x5a5505[_0x1e0c('0x11')]}],'formatGroupId':_0x1e0c('0x14')});});}[_0x1e0c('0x1f')](_0x13ed19,_0x587cb6={}){const _0x5dc618=this[_0x1e0c('0x32')]['plugins'][_0x1e0c('0x34')](_0x1e0c('0x13')),_0x381546=this['_getSuggestionBlocks'](_0x54da39=>_0x54da39['is'](_0x1e0c('0x15'),_0x1e0c('0x7'))&&'numbered'===_0x54da39['getAttribute'](_0x1e0c('0x19')));if(_0x381546['length']<0x1)return;const _0x2fcf73=_0x381546['map'](_0x52b55f=>this['editor'][_0x1e0c('0x2a')][_0x1e0c('0xd')](this[_0x1e0c('0x32')]['model'][_0x1e0c('0x28')](_0x52b55f,_0x1e0c('0x23')),this['editor'][_0x1e0c('0x2a')]['createPositionAt'](_0x52b55f,0x0)));this[_0x1e0c('0x32')][_0x1e0c('0x2a')][_0x1e0c('0x25')](()=>{_0x5dc618[_0x1e0c('0x8')](_0x2fcf73,{'commandName':_0x1e0c('0x16'),'commandParams':[{'reversed':_0x587cb6[_0x1e0c('0x2f')]}],'formatGroupId':_0x1e0c('0x16')});});}[_0x1e0c('0x2')](_0x2b5d19,_0x49e247={}){const _0x15a839=this[_0x1e0c('0x32')][_0x1e0c('0x1c')][_0x1e0c('0x34')](_0x1e0c('0x13')),_0x20bbac=this['_getSuggestionBlocks'](_0xaf5185=>_0xaf5185['is'](_0x1e0c('0x15'),_0x1e0c('0x7'))&&_0x1e0c('0x33')===_0xaf5185[_0x1e0c('0xa')](_0x1e0c('0x19')));if(_0x20bbac['length']<0x1)return;const _0xd94774=_0x20bbac['map'](_0x23509d=>this[_0x1e0c('0x32')][_0x1e0c('0x2a')][_0x1e0c('0xd')](this[_0x1e0c('0x32')][_0x1e0c('0x2a')][_0x1e0c('0x28')](_0x23509d,'before'),this[_0x1e0c('0x32')][_0x1e0c('0x2a')][_0x1e0c('0x28')](_0x23509d,0x0)));this['editor'][_0x1e0c('0x2a')][_0x1e0c('0x25')](()=>{_0x15a839[_0x1e0c('0x8')](_0xd94774,{'commandName':_0x1e0c('0x1a'),'commandParams':[{'startIndex':_0x49e247[_0x1e0c('0x9')]}],'formatGroupId':_0x1e0c('0x1a')});});}[_0x1e0c('0x27')](_0x30a0be){const _0x351ac9=this[_0x1e0c('0x32')][_0x1e0c('0x20')],{data:_0x1fc6ae}=_0x30a0be;if(!_0x1fc6ae)return;let _0x3e29fa,_0x5df1f4;switch(_0x1fc6ae[_0x1e0c('0x22')]){case _0x1e0c('0x14'):_0x3e29fa=_0x1e0c('0x2d'),_0x5df1f4={'type':'format','content':_0x2abe13(_0x351ac9,_0x3e29fa,_0x2abe13(_0x351ac9,this[_0x1e0c('0x17')](_0x1fc6ae[_0x1e0c('0x1d')][0x0][_0x1e0c('0x11')])))};break;case _0x1e0c('0x16'):_0x3e29fa=_0x1fc6ae[_0x1e0c('0x1d')][0x0]['reversed']?_0x1e0c('0xe'):_0x1e0c('0x1b'),_0x5df1f4={'type':_0x1e0c('0x0'),'content':_0x2abe13(_0x351ac9,_0x3e29fa)};break;case'listStart':_0x3e29fa='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x5df1f4={'type':_0x1e0c('0x0'),'content':_0x2abe13(_0x351ac9,_0x3e29fa,_0x1fc6ae[_0x1e0c('0x1d')][0x0][_0x1e0c('0x9')])};}return _0x5df1f4;}[_0x1e0c('0x2b')](){var _0xc8cb70,_0x133970,_0x24034b,_0x25bff5;const _0xeb469f=this[_0x1e0c('0x32')][_0x1e0c('0x1c')][_0x1e0c('0x34')](_0x1e0c('0xb'));let _0x4600c3=Array['from'](this[_0x1e0c('0x32')]['model']['document']['selection'][_0x1e0c('0x31')]());return(null===(_0xc8cb70=_0x4600c3[0x0])||void 0x0===_0xc8cb70?void 0x0:_0xc8cb70['is'](_0x1e0c('0x15'),_0x1e0c('0x7')))&&_0x4600c3['unshift'](..._0xeb469f[_0x1e0c('0x38')](this['editor']['model'][_0x1e0c('0xf')][_0x1e0c('0x2e')][_0x1e0c('0x3')](),'backward')),(null===(_0x133970=_0x4600c3[_0x4600c3[_0x1e0c('0x24')]-0x1])||void 0x0===_0x133970?void 0x0:_0x133970['is'](_0x1e0c('0x15'),_0x1e0c('0x7')))&&_0x4600c3['push'](..._0xeb469f[_0x1e0c('0x38')](this['editor'][_0x1e0c('0x2a')][_0x1e0c('0xf')][_0x1e0c('0x2e')]['getLastPosition'](),_0x1e0c('0x37'))),_0x4600c3=[...new Set(_0x4600c3)],(null===(_0x25bff5=null===(_0x24034b=this[_0x1e0c('0x32')][_0x1e0c('0x2a')][_0x1e0c('0xf')][_0x1e0c('0x2e')]['getFirstPosition']())||void 0x0===_0x24034b?void 0x0:_0x24034b[_0x1e0c('0x1e')])||void 0x0===_0x25bff5?void 0x0:_0x25bff5['is'](_0x1e0c('0x15'),_0x1e0c('0x7')))&&(_0x4600c3=_0x4600c3[_0x1e0c('0x4')](_0x5a87df=>_0x5a87df['is']('element',_0x1e0c('0x7')))),_0x4600c3;}[_0x1e0c('0x35')](_0x5f2ef8){const _0x25599d=this[_0x1e0c('0x32')][_0x1e0c('0x1c')][_0x1e0c('0x34')]('ListUtils');let _0x188182=Array['from'](this['editor']['model']['document'][_0x1e0c('0x2e')][_0x1e0c('0x31')]())[_0x1e0c('0x4')](_0x5f2ef8)['map'](_0x53985e=>{const _0x12fdfa=this[_0x1e0c('0x32')][_0x1e0c('0x2a')][_0x1e0c('0x28')](_0x53985e,0x0);return[..._0x25599d[_0x1e0c('0x38')](_0x12fdfa,_0x1e0c('0x29')),..._0x25599d['getSiblingNodes'](_0x12fdfa,_0x1e0c('0x37'))];})[_0x1e0c('0x18')]();return _0x188182=[...new Set(_0x188182)],_0x188182;}[_0x1e0c('0x17')](_0x1eb471){return _0x1e0c('0x6')+this['editor'][_0x1e0c('0x1c')][_0x1e0c('0x34')](_0x1e0c('0xb'))[_0x1e0c('0x36')](_0x1eb471)['toUpperCase']()+_0x1e0c('0xc')+_0x1eb471['toUpperCase']()[_0x1e0c('0x2c')](/-/g,'_');}}
23
+ const _0x43d6=['map','forward','getFirstPosition','filter','toUpperCase','handleListReversedCommand','backward','styles','_getSuggestionBlocks','element','editor','parent','enableCommand','type','list.properties','*Format:*\x20set\x20order\x20to\x20reversed','*Format:*\x20set\x20order\x20to\x20regular','handleListStyleCommand','createPositionAt','commandName','startIndex','*Format:*\x20set\x20start\x20index\x20to\x20%0','registerDescriptionCallback','_LIST_','TrackChangesEditing','ELEMENT_','get','getAttribute','listStyle','push','afterInit','config','length','getSelectedBlocks','change','plugins','replace','commandParams','format','getSiblingNodes','document','listType','reversed','_getTranslationKeyForListStyle','model','listReversed','_descriptionFactory','from','has','handleListStartCommand','bind','handleDescriptions','ListUtils','listItem','_getSuggestionBlocksForListStyle','unshift','numbered','listStart','markMultiRangeBlockFormat','selection'];(function(_0x466d2e,_0x43d607){const _0x281d99=function(_0x4e3669){while(--_0x4e3669){_0x466d2e['push'](_0x466d2e['shift']());}};_0x281d99(++_0x43d607);}(_0x43d6,0x18c));const _0x281d=function(_0x466d2e,_0x43d607){_0x466d2e=_0x466d2e-0x0;let _0x281d99=_0x43d6[_0x466d2e];return _0x281d99;};import{Plugin as _0x40396c}from'ckeditor5/src/core';import{getTranslation as _0x174183}from'../utils/common-translations';export default class nt extends _0x40396c{[_0x281d('0x36')](){if(!this['editor'][_0x281d('0x3b')][_0x281d('0xc')]('ListPropertiesEditing'))return;const _0x21898d=this[_0x281d('0x22')][_0x281d('0x37')][_0x281d('0x32')](_0x281d('0x26')),_0x21fe82=this['editor'][_0x281d('0x3b')][_0x281d('0x32')](_0x281d('0x30'));_0x21898d[_0x281d('0x1f')]&&_0x21fe82[_0x281d('0x24')](_0x281d('0x34'),this[_0x281d('0x29')][_0x281d('0xe')](this)),_0x21898d[_0x281d('0x6')]&&_0x21fe82[_0x281d('0x24')]('listReversed',this['handleListReversedCommand'][_0x281d('0xe')](this)),_0x21898d[_0x281d('0x2c')]&&_0x21fe82[_0x281d('0x24')]('listStart',this[_0x281d('0xd')][_0x281d('0xe')](this)),_0x21fe82[_0x281d('0xa')][_0x281d('0x2e')](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x13b52d,_0x459f40={}){const _0x5946e4=this['editor'][_0x281d('0x3b')]['get']('TrackChangesEditing'),_0x5a4ab3=this[_0x281d('0x12')]();this[_0x281d('0x22')][_0x281d('0x8')]['change'](()=>{_0x5946e4['markMultiRangeBlockFormat'](_0x5a4ab3,{'commandName':_0x281d('0x34'),'commandParams':[{'type':_0x459f40[_0x281d('0x25')]}],'formatGroupId':_0x281d('0x34')});});}[_0x281d('0x1d')](_0x1d36b2,_0x5a2f16={}){const _0x259b6f=this['editor'][_0x281d('0x3b')]['get']('TrackChangesEditing'),_0x470be7=this[_0x281d('0x20')](_0x5bb845=>_0x5bb845['is'](_0x281d('0x21'),'listItem')&&'numbered'===_0x5bb845[_0x281d('0x33')](_0x281d('0x5')));if(_0x470be7[_0x281d('0x38')]<0x1)return;const _0x5e6f7f=_0x470be7[_0x281d('0x18')](_0x1f0ed4=>this['editor']['model']['createRange'](this[_0x281d('0x22')][_0x281d('0x8')]['createPositionAt'](_0x1f0ed4,'before'),this[_0x281d('0x22')][_0x281d('0x8')]['createPositionAt'](_0x1f0ed4,0x0)));this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x3a')](()=>{_0x259b6f[_0x281d('0x16')](_0x5e6f7f,{'commandName':'listReversed','commandParams':[{'reversed':_0x5a2f16['reversed']}],'formatGroupId':_0x281d('0x9')});});}[_0x281d('0xd')](_0x50ed21,_0x20dd6f={}){const _0x1b4e24=this[_0x281d('0x22')][_0x281d('0x3b')][_0x281d('0x32')](_0x281d('0x30')),_0xd6df2c=this[_0x281d('0x20')](_0x47b822=>_0x47b822['is'](_0x281d('0x21'),_0x281d('0x11'))&&_0x281d('0x14')===_0x47b822[_0x281d('0x33')](_0x281d('0x5')));if(_0xd6df2c[_0x281d('0x38')]<0x1)return;const _0x3c2f00=_0xd6df2c[_0x281d('0x18')](_0x1c9cca=>this[_0x281d('0x22')]['model']['createRange'](this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x2a')](_0x1c9cca,'before'),this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x2a')](_0x1c9cca,0x0)));this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x3a')](()=>{_0x1b4e24[_0x281d('0x16')](_0x3c2f00,{'commandName':_0x281d('0x15'),'commandParams':[{'startIndex':_0x20dd6f['startIndex']}],'formatGroupId':_0x281d('0x15')});});}[_0x281d('0xf')](_0x30aed4){const _0x4a33a4=this[_0x281d('0x22')]['locale'],{data:_0x433c4a}=_0x30aed4;if(!_0x433c4a)return;let _0x106686,_0x186f43;switch(_0x433c4a[_0x281d('0x2b')]){case _0x281d('0x34'):_0x106686='*Change\x20to:*\x20%0',_0x186f43={'type':'format','content':_0x174183(_0x4a33a4,_0x106686,_0x174183(_0x4a33a4,this[_0x281d('0x7')](_0x433c4a['commandParams'][0x0]['type'])))};break;case _0x281d('0x9'):_0x106686=_0x433c4a[_0x281d('0x1')][0x0][_0x281d('0x6')]?_0x281d('0x27'):_0x281d('0x28'),_0x186f43={'type':_0x281d('0x2'),'content':_0x174183(_0x4a33a4,_0x106686)};break;case'listStart':_0x106686=_0x281d('0x2d'),_0x186f43={'type':_0x281d('0x2'),'content':_0x174183(_0x4a33a4,_0x106686,_0x433c4a['commandParams'][0x0][_0x281d('0x2c')])};}return _0x186f43;}[_0x281d('0x12')](){var _0x39ef7a,_0x5025ee,_0x179fb1,_0x258664;const _0x15b48b=this[_0x281d('0x22')][_0x281d('0x3b')][_0x281d('0x32')](_0x281d('0x10'));let _0x42b303=Array[_0x281d('0xb')](this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x4')][_0x281d('0x17')]['getSelectedBlocks']());return(null===(_0x39ef7a=_0x42b303[0x0])||void 0x0===_0x39ef7a?void 0x0:_0x39ef7a['is'](_0x281d('0x21'),_0x281d('0x11')))&&_0x42b303[_0x281d('0x13')](..._0x15b48b[_0x281d('0x3')](this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x4')][_0x281d('0x17')][_0x281d('0x1a')](),_0x281d('0x1e'))),(null===(_0x5025ee=_0x42b303[_0x42b303['length']-0x1])||void 0x0===_0x5025ee?void 0x0:_0x5025ee['is'](_0x281d('0x21'),_0x281d('0x11')))&&_0x42b303[_0x281d('0x35')](..._0x15b48b[_0x281d('0x3')](this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x4')][_0x281d('0x17')]['getLastPosition'](),_0x281d('0x19'))),_0x42b303=[...new Set(_0x42b303)],(null===(_0x258664=null===(_0x179fb1=this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x4')][_0x281d('0x17')]['getFirstPosition']())||void 0x0===_0x179fb1?void 0x0:_0x179fb1[_0x281d('0x23')])||void 0x0===_0x258664?void 0x0:_0x258664['is'](_0x281d('0x21'),'listItem'))&&(_0x42b303=_0x42b303['filter'](_0x589c67=>_0x589c67['is'](_0x281d('0x21'),'listItem'))),_0x42b303;}[_0x281d('0x20')](_0xa1657b){const _0x4ff649=this['editor']['plugins'][_0x281d('0x32')](_0x281d('0x10'));let _0x48025f=Array['from'](this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x4')]['selection'][_0x281d('0x39')]())[_0x281d('0x1b')](_0xa1657b)[_0x281d('0x18')](_0x21d27c=>{const _0x2b443f=this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x2a')](_0x21d27c,0x0);return[..._0x4ff649[_0x281d('0x3')](_0x2b443f,_0x281d('0x1e')),..._0x4ff649['getSiblingNodes'](_0x2b443f,_0x281d('0x19'))];})['flat']();return _0x48025f=[...new Set(_0x48025f)],_0x48025f;}[_0x281d('0x7')](_0x21566e){return _0x281d('0x31')+this[_0x281d('0x22')]['plugins'][_0x281d('0x32')](_0x281d('0x10'))['getListTypeFromListStyleType'](_0x21566e)[_0x281d('0x1c')]()+_0x281d('0x2f')+_0x21566e[_0x281d('0x1c')]()[_0x281d('0x0')](/-/g,'_');}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/mediaembed
3
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c3d=['createEmptyElement','attribute:url:media','ELEMENT_MEDIA','enableCommand','plugins','data','TrackChangesEditing','media','options','for','conversion','high','afterInit','downcastDispatcher','editor','locale','dataDowncast','elementToElement','showSuggestionHighlights','stop','div','has','mediaEmbed','_descriptionFactory','get'];(function(_0x2cd91a,_0x3c3d1){const _0xee1e6=function(_0x368338){while(--_0x368338){_0x2cd91a['push'](_0x2cd91a['shift']());}};_0xee1e6(++_0x3c3d1);}(_0x3c3d,0x120));const _0xee1e=function(_0x2cd91a,_0x3c3d1){_0x2cd91a=_0x2cd91a-0x0;let _0xee1e6=_0x3c3d[_0x2cd91a];return _0xee1e6;};import{Plugin as _0x50098c}from'ckeditor5/src/core';import{getTranslation as _0x580434}from'../utils/common-translations';export default class ot extends _0x50098c{[_0xee1e('0x18')](){const _0x355d69=this[_0xee1e('0x1')];if(!_0x355d69[_0xee1e('0x10')][_0xee1e('0x8')]('MediaEmbedEditing'))return;const _0x267585=_0x355d69[_0xee1e('0x10')][_0xee1e('0xb')](_0xee1e('0x12')),_0x5103d0=_0x355d69[_0xee1e('0x2')];_0x267585[_0xee1e('0xf')](_0xee1e('0x9')),_0x267585[_0xee1e('0xa')]['registerElementLabel'](_0xee1e('0x13'),_0x335726=>_0x580434(_0x5103d0,_0xee1e('0xe'),_0x335726)),_0x355d69[_0xee1e('0x16')][_0xee1e('0x15')](_0xee1e('0x3'))[_0xee1e('0x4')]({'model':_0xee1e('0x13'),'view':(_0x518509,{writer:_0x513ade,options:_0x323531})=>{if(_0x323531[_0xee1e('0x5')])return _0x513ade[_0xee1e('0xc')](_0xee1e('0x7'));},'converterPriority':'high'}),_0x355d69[_0xee1e('0x11')][_0xee1e('0x0')]['on'](_0xee1e('0xd'),(_0x3ef881,_0x120a1c,_0x3767ea)=>{_0x3767ea[_0xee1e('0x14')][_0xee1e('0x5')]&&_0x3ef881[_0xee1e('0x6')]();},{'priority':_0xee1e('0x17')});}}
23
+ const _0x5018=['attribute:url:media','createEmptyElement','downcastDispatcher','stop','showSuggestionHighlights','conversion','mediaEmbed','locale','data','plugins','for','registerElementLabel','ELEMENT_MEDIA','MediaEmbedEditing','_descriptionFactory','afterInit','dataDowncast','enableCommand','TrackChangesEditing','media','high','div','editor'];(function(_0x25cfff,_0x501828){const _0xb1df42=function(_0x4844a1){while(--_0x4844a1){_0x25cfff['push'](_0x25cfff['shift']());}};_0xb1df42(++_0x501828);}(_0x5018,0x102));const _0xb1df=function(_0x25cfff,_0x501828){_0x25cfff=_0x25cfff-0x0;let _0xb1df42=_0x5018[_0x25cfff];return _0xb1df42;};import{Plugin as _0x5d64cb}from'ckeditor5/src/core';import{getTranslation as _0x51d941}from'../utils/common-translations';export default class ot extends _0x5d64cb{[_0xb1df('0xa')](){const _0x165755=this[_0xb1df('0x11')];if(!_0x165755[_0xb1df('0x4')]['has'](_0xb1df('0x8')))return;const _0x51a2bd=_0x165755[_0xb1df('0x4')]['get'](_0xb1df('0xd')),_0x57b5fe=_0x165755[_0xb1df('0x2')];_0x51a2bd[_0xb1df('0xc')](_0xb1df('0x1')),_0x51a2bd[_0xb1df('0x9')][_0xb1df('0x6')]('media',_0x3d452b=>_0x51d941(_0x57b5fe,_0xb1df('0x7'),_0x3d452b)),_0x165755[_0xb1df('0x0')][_0xb1df('0x5')](_0xb1df('0xb'))['elementToElement']({'model':_0xb1df('0xe'),'view':(_0x3cc994,{writer:_0x5426eb,options:_0x115c3f})=>{if(_0x115c3f[_0xb1df('0x16')])return _0x5426eb[_0xb1df('0x13')](_0xb1df('0x10'));},'converterPriority':_0xb1df('0xf')}),_0x165755[_0xb1df('0x3')][_0xb1df('0x14')]['on'](_0xb1df('0x12'),(_0x4888e4,_0x2f711a,_0x593faa)=>{_0x593faa['options'][_0xb1df('0x16')]&&_0x4888e4[_0xb1df('0x15')]();},{'priority':_0xb1df('0xf')});}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/mention
3
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51b1=['editor','MentionEditing','plugins','get','enableCommand','TrackChangesEditing','has'];(function(_0x3433ce,_0x51b1d8){const _0x22c57d=function(_0xc9ffe1){while(--_0xc9ffe1){_0x3433ce['push'](_0x3433ce['shift']());}};_0x22c57d(++_0x51b1d8);}(_0x51b1,0x13f));const _0x22c5=function(_0x3433ce,_0x51b1d8){_0x3433ce=_0x3433ce-0x0;let _0x22c57d=_0x51b1[_0x3433ce];return _0x22c57d;};import{Plugin as _0x4f603a}from'ckeditor5/src/core';export default class rt extends _0x4f603a{['afterInit'](){const _0xc69157=this[_0x22c5('0x3')];_0xc69157[_0x22c5('0x5')][_0x22c5('0x2')](_0x22c5('0x4'))&&_0xc69157[_0x22c5('0x5')][_0x22c5('0x6')](_0x22c5('0x1'))[_0x22c5('0x0')]('mention');}}
23
+ const _0x2a46=['editor','mention','afterInit','has','plugins','get'];(function(_0x277615,_0x2a46af){const _0x1b013f=function(_0x3b1d6e){while(--_0x3b1d6e){_0x277615['push'](_0x277615['shift']());}};_0x1b013f(++_0x2a46af);}(_0x2a46,0x109));const _0x1b01=function(_0x277615,_0x2a46af){_0x277615=_0x277615-0x0;let _0x1b013f=_0x2a46[_0x277615];return _0x1b013f;};import{Plugin as _0x3f306d}from'ckeditor5/src/core';export default class rt extends _0x3f306d{[_0x1b01('0x1')](){const _0x2700f1=this[_0x1b01('0x5')];_0x2700f1[_0x1b01('0x3')][_0x1b01('0x2')]('MentionEditing')&&_0x2700f1[_0x1b01('0x3')][_0x1b01('0x4')]('TrackChangesEditing')['enableCommand'](_0x1b01('0x0'));}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/pagebreak
3
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19f4=['pageBreak','afterInit','get','enableCommand','editor','TrackChangesEditing','plugins','registerElementLabel','ELEMENT_PAGE_BREAK','locale'];(function(_0x59e462,_0x19f4fd){const _0xadd29b=function(_0x2de47d){while(--_0x2de47d){_0x59e462['push'](_0x59e462['shift']());}};_0xadd29b(++_0x19f4fd);}(_0x19f4,0x1dd));const _0xadd2=function(_0x59e462,_0x19f4fd){_0x59e462=_0x59e462-0x0;let _0xadd29b=_0x19f4[_0x59e462];return _0xadd29b;};import{Plugin as _0x5c4f0a}from'ckeditor5/src/core';import{getTranslation as _0x1bba73}from'../utils/common-translations';export default class at extends _0x5c4f0a{[_0xadd2('0x4')](){const _0x5b75a8=this[_0xadd2('0x7')];if(!_0x5b75a8['plugins']['has']('PageBreakEditing'))return;_0x5b75a8[_0xadd2('0x9')][_0xadd2('0x5')]('TrackChangesEditing')[_0xadd2('0x6')](_0xadd2('0x3'));const _0x52d4d6=_0x5b75a8[_0xadd2('0x9')][_0xadd2('0x5')](_0xadd2('0x8')),_0xca40e2=_0x5b75a8[_0xadd2('0x2')];_0x52d4d6['_descriptionFactory'][_0xadd2('0x0')]('pageBreak',_0x1cc1a7=>_0x1bba73(_0xca40e2,_0xadd2('0x1'),_0x1cc1a7));}}
23
+ const _0x3ffb=['has','_descriptionFactory','editor','pageBreak','registerElementLabel','afterInit','plugins','enableCommand','TrackChangesEditing','get'];(function(_0x507be9,_0x3ffb68){const _0x4f3da8=function(_0x3d2537){while(--_0x3d2537){_0x507be9['push'](_0x507be9['shift']());}};_0x4f3da8(++_0x3ffb68);}(_0x3ffb,0x1b6));const _0x4f3d=function(_0x507be9,_0x3ffb68){_0x507be9=_0x507be9-0x0;let _0x4f3da8=_0x3ffb[_0x507be9];return _0x4f3da8;};import{Plugin as _0x1c116d}from'ckeditor5/src/core';import{getTranslation as _0x263d8e}from'../utils/common-translations';export default class at extends _0x1c116d{[_0x4f3d('0x7')](){const _0x39b5df=this[_0x4f3d('0x4')];if(!_0x39b5df['plugins'][_0x4f3d('0x2')]('PageBreakEditing'))return;_0x39b5df[_0x4f3d('0x8')][_0x4f3d('0x1')](_0x4f3d('0x0'))[_0x4f3d('0x9')](_0x4f3d('0x5'));const _0x3eb26b=_0x39b5df['plugins'][_0x4f3d('0x1')]('TrackChangesEditing'),_0x5f018c=_0x39b5df['locale'];_0x3eb26b[_0x4f3d('0x3')][_0x4f3d('0x6')]('pageBreak',_0x1dc2b7=>_0x263d8e(_0x5f018c,'ELEMENT_PAGE_BREAK',_0x1dc2b7));}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/paragraph
3
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5060=['end','has','isLimit','insertParagraph','includes','TrackChangesEditing','editor','enableCommand','addClass','activeMarkers','selection','blockName','consumable','markerName','mapper','options','highest','document','ELEMENT_PARAGRAPH','name','locale','registerDescriptionCallback','filter','paragraph','downcastDispatcher','Paragraph','$text','insert','markBlockFormat','writer','registerElementLabel','getSelectedBlocks','addMarker:suggestion:insertion','editing','markerRange','toViewPosition','insertion','get','bindElementToMarker','model','ck-suggestion-marker--active','nodeAfter','commandName','getFirstRange','isBlock','from','checkChild','isObject','span','isTouching','plugins','createUIElement','change','schema','parent','_descriptionFactory','data','showSuggestionHighlights'];(function(_0x31aed5,_0x506063){const _0x2824fe=function(_0x41f4eb){while(--_0x41f4eb){_0x31aed5['push'](_0x31aed5['shift']());}};_0x2824fe(++_0x506063);}(_0x5060,0x134));const _0x2824=function(_0x31aed5,_0x506063){_0x31aed5=_0x31aed5-0x0;let _0x2824fe=_0x5060[_0x31aed5];return _0x2824fe;};import{Plugin as _0x55f05d}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x5d0861}from'./utils';import{getTranslation as _0x12ed90}from'../utils/common-translations';export default class ct extends _0x55f05d{['afterInit'](){const _0xa6899f=this[_0x2824('0x2e')];if(!_0xa6899f['plugins'][_0x2824('0x29')](_0x2824('0x7')))return;const _0x24afc9=_0xa6899f[_0x2824('0x2')],_0x17442b=_0xa6899f[_0x2824('0x20')][_0x2824('0x13')](_0x2824('0x2d'));_0x17442b[_0x2824('0x25')][_0x2824('0xc')]('paragraph',_0x39804f=>_0x12ed90(_0x24afc9,_0x2824('0x0'),_0x39804f)),_0x17442b['enableCommand'](_0x2824('0x5'),(_0x5c65d1,_0xd42fda={})=>{const _0x2027d6=_0xa6899f[_0x2824('0x15')][_0x2824('0x39')],_0x3de269=_0xd42fda[_0x2824('0x32')]||_0x2027d6[_0x2824('0x32')],_0x3b44b2=Array[_0x2824('0x1b')](_0x3de269[_0x2824('0xd')]())[_0x2824('0x4')](_0x3b2ad5=>function(_0x4acbcd,_0x462e53){return _0x462e53[_0x2824('0x1c')](_0x4acbcd[_0x2824('0x24')],_0x2824('0x5'))&&!_0x462e53[_0x2824('0x1d')](_0x4acbcd)&&_0x2824('0x5')!=_0x4acbcd[_0x2824('0x1')];}(_0x3b2ad5,this[_0x2824('0x2e')][_0x2824('0x15')][_0x2824('0x23')]));_0xa6899f[_0x2824('0x15')][_0x2824('0x22')](()=>{for(const _0xe3ad24 of _0x3b44b2)_0x17442b[_0x2824('0xa')](_0xe3ad24,{'commandName':_0x2824('0x5'),'commandParams':[],'formatGroupId':_0x2824('0x33')},_0x5d0861(_0xe3ad24));});}),_0x17442b['_descriptionFactory'][_0x2824('0x3')](_0x2ff4ee=>{const {data:_0x3c2e4f}=_0x2ff4ee;if(_0x3c2e4f&&'paragraph'==_0x3c2e4f[_0x2824('0x18')])return{'type':'format','content':_0x12ed90(_0x24afc9,'*Change\x20to:*\x20%0',_0x12ed90(_0x24afc9,_0x2824('0x0')))};}),_0x17442b[_0x2824('0x2f')](_0x2824('0x2b')),_0xa6899f[_0x2824('0xf')]['downcastDispatcher']['on'](_0x2824('0xe'),ar(_0xa6899f),{'priority':_0x2824('0x38')}),_0xa6899f[_0x2824('0x26')][_0x2824('0x6')]['on'](_0x2824('0xe'),(_0x2e2de1,_0x265044,_0x90033d)=>{_0x90033d[_0x2824('0x37')][_0x2824('0x27')]&&ar(_0xa6899f,{'showActiveMarker':!0x1})(_0x2e2de1,_0x265044,_0x90033d);},{'priority':'highest'});const _0x341c77=_0x17442b['_descriptionFactory'];_0x341c77[_0x2824('0x3')](_0xf85baf=>{if(_0x2824('0x12')!==_0xf85baf['type'])return;const {start:_0x3dd3f8,end:_0x5dbd31}=_0xf85baf[_0x2824('0x19')]();if(!_0x3dd3f8[_0x2824('0x1f')](_0x5dbd31)||!_0x3dd3f8[_0x2824('0x17')])return;const _0x335da6=_0xa6899f[_0x2824('0x15')][_0x2824('0x23')],_0x64dab7=_0x3dd3f8['nodeAfter'];return _0x335da6[_0x2824('0x1a')](_0x64dab7)&&!_0x335da6[_0x2824('0x2a')](_0x64dab7)&&_0x335da6[_0x2824('0x1c')](_0x64dab7,_0x2824('0x8'))?{'type':_0x2824('0x12'),'content':_0x12ed90(_0x24afc9,'*Insert:*\x20%0',_0x341c77['getItemLabel'](_0x64dab7,0x1))}:void 0x0;});}}function ar(_0x4eb370,{showActiveMarker:_0x14c7ff=!0x0}={}){return(_0x402b6f,_0x3f615d,_0x489ed0)=>{const _0x483f2c=_0x4eb370[_0x2824('0x20')][_0x2824('0x13')](_0x2824('0x2d')),_0x5207ab=_0x3f615d[_0x2824('0x10')]['start'],_0x561b61=_0x3f615d['markerRange'][_0x2824('0x28')],_0x3ec72a=_0x4eb370[_0x2824('0x15')]['schema'];if(!_0x5207ab[_0x2824('0x1f')](_0x561b61)||!_0x5207ab[_0x2824('0x17')])return;const _0x5cb438=_0x5207ab[_0x2824('0x17')];if(_0x3ec72a[_0x2824('0x1a')](_0x5cb438)&&!_0x3ec72a[_0x2824('0x2a')](_0x5cb438)&&_0x3ec72a['checkChild'](_0x5cb438,'$text')){if(!_0x489ed0[_0x2824('0x34')]['consume'](_0x3f615d['markerRange'],_0x402b6f['name']))return;const _0x1656b3=_0x489ed0['writer'][_0x2824('0x21')](_0x2824('0x1e'),{'class':'ck-suggestion-marker-split'}),_0x366820=_0x489ed0[_0x2824('0x36')][_0x2824('0x11')](_0x561b61);_0x14c7ff&&_0x483f2c[_0x2824('0x31')][_0x2824('0x2c')](_0x3f615d[_0x2824('0x35')])&&_0x489ed0[_0x2824('0xb')][_0x2824('0x30')](_0x2824('0x16'),_0x1656b3),_0x489ed0[_0x2824('0xb')][_0x2824('0x9')](_0x366820,_0x1656b3),_0x489ed0[_0x2824('0x36')][_0x2824('0x14')](_0x1656b3,_0x3f615d[_0x2824('0x35')]);}};}
23
+ const _0x244c=['isTouching','$text','plugins','addMarker:suggestion:insertion','addClass','name','*Change\x20to:*\x20%0','selection','insert','consumable','document','format','schema','model','filter','showSuggestionHighlights','registerDescriptionCallback','editing','highest','Paragraph','createUIElement','*Insert:*\x20%0','nodeAfter','getItemLabel','ELEMENT_PARAGRAPH','markerName','parent','markerRange','_descriptionFactory','from','end','change','includes','writer','isLimit','toViewPosition','insertion','activeMarkers','span','options','mapper','editor','enableCommand','start','consume','getFirstRange','ck-suggestion-marker-split','paragraph','locale','checkChild','downcastDispatcher','TrackChangesEditing','insertParagraph'];(function(_0x371ae7,_0x244c9b){const _0x4b862d=function(_0x18a9ec){while(--_0x18a9ec){_0x371ae7['push'](_0x371ae7['shift']());}};_0x4b862d(++_0x244c9b);}(_0x244c,0x14b));const _0x4b86=function(_0x371ae7,_0x244c9b){_0x371ae7=_0x371ae7-0x0;let _0x4b862d=_0x244c[_0x371ae7];return _0x4b862d;};import{Plugin as _0x53ca4d}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x36213c}from'./utils';import{getTranslation as _0x1f47f7}from'../utils/common-translations';export default class ct extends _0x53ca4d{['afterInit'](){const _0x33367f=this['editor'];if(!_0x33367f[_0x4b86('0x2a')]['has'](_0x4b86('0x6')))return;const _0x3e9e03=_0x33367f[_0x4b86('0x23')],_0x2698c8=_0x33367f[_0x4b86('0x2a')]['get'](_0x4b86('0x26'));_0x2698c8[_0x4b86('0xf')]['registerElementLabel'](_0x4b86('0x22'),_0x5e0b10=>_0x1f47f7(_0x3e9e03,_0x4b86('0xb'),_0x5e0b10)),_0x2698c8[_0x4b86('0x1d')]('paragraph',(_0x975240,_0x2086c5={})=>{const _0x4eedfc=_0x33367f['model'][_0x4b86('0x32')],_0x2f8f1c=_0x2086c5[_0x4b86('0x2f')]||_0x4eedfc[_0x4b86('0x2f')],_0x2d4562=Array[_0x4b86('0x10')](_0x2f8f1c['getSelectedBlocks']())[_0x4b86('0x1')](_0x186e3e=>function(_0x46f8fd,_0x32a7f3){return _0x32a7f3['checkChild'](_0x46f8fd[_0x4b86('0xd')],'paragraph')&&!_0x32a7f3['isObject'](_0x46f8fd)&&'paragraph'!=_0x46f8fd[_0x4b86('0x2d')];}(_0x186e3e,this[_0x4b86('0x1c')][_0x4b86('0x0')]['schema']));_0x33367f[_0x4b86('0x0')][_0x4b86('0x12')](()=>{for(const _0x13e487 of _0x2d4562)_0x2698c8['markBlockFormat'](_0x13e487,{'commandName':_0x4b86('0x22'),'commandParams':[],'formatGroupId':'blockName'},_0x36213c(_0x13e487));});}),_0x2698c8[_0x4b86('0xf')]['registerDescriptionCallback'](_0x246704=>{const {data:_0x277114}=_0x246704;if(_0x277114&&_0x4b86('0x22')==_0x277114['commandName'])return{'type':_0x4b86('0x33'),'content':_0x1f47f7(_0x3e9e03,_0x4b86('0x2e'),_0x1f47f7(_0x3e9e03,_0x4b86('0xb')))};}),_0x2698c8['enableCommand'](_0x4b86('0x27')),_0x33367f[_0x4b86('0x4')][_0x4b86('0x25')]['on'](_0x4b86('0x2b'),ar(_0x33367f),{'priority':_0x4b86('0x5')}),_0x33367f['data'][_0x4b86('0x25')]['on']('addMarker:suggestion:insertion',(_0x12d3c1,_0x2643bd,_0x53cc75)=>{_0x53cc75[_0x4b86('0x1a')][_0x4b86('0x2')]&&ar(_0x33367f,{'showActiveMarker':!0x1})(_0x12d3c1,_0x2643bd,_0x53cc75);},{'priority':_0x4b86('0x5')});const _0x3076c5=_0x2698c8[_0x4b86('0xf')];_0x3076c5[_0x4b86('0x3')](_0x5b6306=>{if(_0x4b86('0x17')!==_0x5b6306['type'])return;const {start:_0x43164a,end:_0x1ff696}=_0x5b6306[_0x4b86('0x20')]();if(!_0x43164a[_0x4b86('0x28')](_0x1ff696)||!_0x43164a[_0x4b86('0x9')])return;const _0x4cbcd0=_0x33367f[_0x4b86('0x0')][_0x4b86('0x34')],_0x1d3520=_0x43164a['nodeAfter'];return _0x4cbcd0['isBlock'](_0x1d3520)&&!_0x4cbcd0['isLimit'](_0x1d3520)&&_0x4cbcd0['checkChild'](_0x1d3520,'$text')?{'type':'insertion','content':_0x1f47f7(_0x3e9e03,_0x4b86('0x8'),_0x3076c5[_0x4b86('0xa')](_0x1d3520,0x1))}:void 0x0;});}}function ar(_0x1e3e4b,{showActiveMarker:_0x141676=!0x0}={}){return(_0x262ee4,_0x5e7cb7,_0x149b3e)=>{const _0x146f8b=_0x1e3e4b[_0x4b86('0x2a')]['get'](_0x4b86('0x26')),_0x469d51=_0x5e7cb7['markerRange'][_0x4b86('0x1e')],_0x113db9=_0x5e7cb7[_0x4b86('0xe')][_0x4b86('0x11')],_0x4b3703=_0x1e3e4b['model']['schema'];if(!_0x469d51[_0x4b86('0x28')](_0x113db9)||!_0x469d51[_0x4b86('0x9')])return;const _0x458b14=_0x469d51[_0x4b86('0x9')];if(_0x4b3703['isBlock'](_0x458b14)&&!_0x4b3703[_0x4b86('0x15')](_0x458b14)&&_0x4b3703[_0x4b86('0x24')](_0x458b14,_0x4b86('0x29'))){if(!_0x149b3e[_0x4b86('0x31')][_0x4b86('0x1f')](_0x5e7cb7[_0x4b86('0xe')],_0x262ee4[_0x4b86('0x2d')]))return;const _0xa471ac=_0x149b3e[_0x4b86('0x14')][_0x4b86('0x7')](_0x4b86('0x19'),{'class':_0x4b86('0x21')}),_0x348129=_0x149b3e[_0x4b86('0x1b')][_0x4b86('0x16')](_0x113db9);_0x141676&&_0x146f8b[_0x4b86('0x18')][_0x4b86('0x13')](_0x5e7cb7[_0x4b86('0xc')])&&_0x149b3e[_0x4b86('0x14')][_0x4b86('0x2c')]('ck-suggestion-marker--active',_0xa471ac),_0x149b3e[_0x4b86('0x14')][_0x4b86('0x30')](_0x348129,_0xa471ac),_0x149b3e[_0x4b86('0x1b')]['bindElementToMarker'](_0xa471ac,_0x5e7cb7['markerName']);}};}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/removeformat
3
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4533=['from','commandName','getRanges','locale','isFormatting','enableCommand','_descriptionFactory','change','isCollapsed','get','TrackChangesEditing','getAttributes','getAttributeProperties','editor','plugins','registerDescriptionCallback','format','markInlineFormat','schema','model','getItems','RemoveFormatEditing','*Remove\x20all\x20formatting*','removeFormat','selection','has'];(function(_0x3900ef,_0x45337d){const _0x201123=function(_0x2aaa11){while(--_0x2aaa11){_0x3900ef['push'](_0x3900ef['shift']());}};_0x201123(++_0x45337d);}(_0x4533,0x72));const _0x2011=function(_0x3900ef,_0x45337d){_0x3900ef=_0x3900ef-0x0;let _0x201123=_0x4533[_0x3900ef];return _0x201123;};import{Plugin as _0x58fcd0}from'ckeditor5/src/core';import{getTranslation as _0x3e5fe7}from'../utils/common-translations';export default class ht extends _0x58fcd0{['afterInit'](){const _0x435539=this[_0x2011('0x3')];if(!_0x435539[_0x2011('0x4')][_0x2011('0xf')](_0x2011('0xb')))return;const _0x39bf3f=_0x435539[_0x2011('0x4')][_0x2011('0x19')](_0x2011('0x0'));_0x39bf3f[_0x2011('0x15')](_0x2011('0xd'),_0x2eb7ee=>{const _0x5e5a18=_0x435539[_0x2011('0x9')]['document'][_0x2011('0xe')];_0x5e5a18[_0x2011('0x18')]?_0x2eb7ee():_0x435539[_0x2011('0x9')][_0x2011('0x17')](()=>{const _0x367787=Array[_0x2011('0x10')](_0x5e5a18[_0x2011('0x12')]());for(const _0x2648d9 of _0x367787)for(const _0xe26442 of _0x2648d9[_0x2011('0xa')]())eo(_0xe26442,_0x435539['model'][_0x2011('0x8')])&&_0x39bf3f[_0x2011('0x7')](_0x435539[_0x2011('0x9')]['createRangeOn'](_0xe26442),{'commandName':_0x2011('0xd'),'commandParams':[]});});}),_0x39bf3f[_0x2011('0x16')][_0x2011('0x5')](_0x1e19c8=>{const {data:_0x286b81}=_0x1e19c8;if(_0x286b81&&_0x2011('0xd')==_0x286b81[_0x2011('0x11')])return{'type':_0x2011('0x6'),'content':_0x3e5fe7(_0x435539[_0x2011('0x13')],_0x2011('0xc'))};});}}function eo(_0x3d24ae,_0x55e7b2){for(const [_0x1bb32d]of _0x3d24ae[_0x2011('0x1')]()){const _0x160d2c=_0x55e7b2[_0x2011('0x2')](_0x1bb32d);if(_0x160d2c&&_0x160d2c[_0x2011('0x14')])return!0x0;}return!0x1;}
23
+ const _0x3a8b=['RemoveFormatEditing','removeFormat','TrackChangesEditing','get','getAttributes','commandName','has','from','schema','enableCommand','getItems','isFormatting','isCollapsed','_descriptionFactory','createRangeOn','format','afterInit','registerDescriptionCallback','change','markInlineFormat','model','locale','selection','plugins'];(function(_0x4b497f,_0x3a8ba2){const _0x25fbf5=function(_0x1c121f){while(--_0x1c121f){_0x4b497f['push'](_0x4b497f['shift']());}};_0x25fbf5(++_0x3a8ba2);}(_0x3a8b,0x1a0));const _0x25fb=function(_0x4b497f,_0x3a8ba2){_0x4b497f=_0x4b497f-0x0;let _0x25fbf5=_0x3a8b[_0x4b497f];return _0x25fbf5;};import{Plugin as _0x2660ed}from'ckeditor5/src/core';import{getTranslation as _0x249891}from'../utils/common-translations';export default class ht extends _0x2660ed{[_0x25fb('0x8')](){const _0x3d5938=this['editor'];if(!_0x3d5938[_0x25fb('0xf')][_0x25fb('0x16')](_0x25fb('0x10')))return;const _0x1ad77a=_0x3d5938[_0x25fb('0xf')][_0x25fb('0x13')](_0x25fb('0x12'));_0x1ad77a[_0x25fb('0x1')](_0x25fb('0x11'),_0x144701=>{const _0x135afe=_0x3d5938['model']['document'][_0x25fb('0xe')];_0x135afe[_0x25fb('0x4')]?_0x144701():_0x3d5938[_0x25fb('0xc')][_0x25fb('0xa')](()=>{const _0xe15b1d=Array[_0x25fb('0x17')](_0x135afe['getRanges']());for(const _0x332ae1 of _0xe15b1d)for(const _0x4d4391 of _0x332ae1[_0x25fb('0x2')]())eo(_0x4d4391,_0x3d5938['model'][_0x25fb('0x0')])&&_0x1ad77a[_0x25fb('0xb')](_0x3d5938[_0x25fb('0xc')][_0x25fb('0x6')](_0x4d4391),{'commandName':'removeFormat','commandParams':[]});});}),_0x1ad77a[_0x25fb('0x5')][_0x25fb('0x9')](_0x363f93=>{const {data:_0x538c8b}=_0x363f93;if(_0x538c8b&&_0x25fb('0x11')==_0x538c8b[_0x25fb('0x15')])return{'type':_0x25fb('0x7'),'content':_0x249891(_0x3d5938[_0x25fb('0xd')],'*Remove\x20all\x20formatting*')};});}}function eo(_0x3c7d2a,_0x2cb05c){for(const [_0x1b4601]of _0x3c7d2a[_0x25fb('0x14')]()){const _0x276640=_0x2cb05c['getAttributeProperties'](_0x1b4601);if(_0x276640&&_0x276640[_0x25fb('0x3')])return!0x0;}return!0x1;}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/mention
3
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x410a=['afterInit','enableCommand','plugins','discardAllSuggestions','discardSelectedSuggestions','get','TrackChangesEditing','has','RestrictedEditingModeEditing','acceptAllSuggestions','trackChanges'];(function(_0x383b97,_0x410adc){const _0x74f019=function(_0x27d713){while(--_0x27d713){_0x383b97['push'](_0x383b97['shift']());}};_0x74f019(++_0x410adc);}(_0x410a,0x72));const _0x74f0=function(_0x383b97,_0x410adc){_0x383b97=_0x383b97-0x0;let _0x74f019=_0x410a[_0x383b97];return _0x74f019;};import{Plugin as _0x139032}from'ckeditor5/src/core';export default class ut extends _0x139032{[_0x74f0('0x7')](){const _0x5d3b82=this['editor'];if(!_0x5d3b82[_0x74f0('0x9')][_0x74f0('0x3')](_0x74f0('0x4')))return;const _0x5ae127=_0x5d3b82[_0x74f0('0x9')][_0x74f0('0x1')](_0x74f0('0x2'));_0x5ae127[_0x74f0('0x8')]('goToPreviousRestrictedEditingException'),_0x5ae127[_0x74f0('0x8')]('goToNextRestrictedEditingException');const _0x4c9309=_0x5d3b82['plugins'][_0x74f0('0x1')](_0x74f0('0x4'));_0x4c9309[_0x74f0('0x8')](_0x74f0('0x6')),_0x4c9309['enableCommand']('acceptSuggestion'),_0x4c9309[_0x74f0('0x8')]('discardSuggestion'),_0x4c9309['enableCommand'](_0x74f0('0x5')),_0x4c9309['enableCommand'](_0x74f0('0xa')),_0x4c9309[_0x74f0('0x8')]('acceptSelectedSuggestions'),_0x4c9309[_0x74f0('0x8')](_0x74f0('0x0'));}}
23
+ const _0x4abf=['RestrictedEditingModeEditing','discardAllSuggestions','discardSelectedSuggestions','enableCommand','trackChanges','plugins','acceptAllSuggestions','editor','goToNextRestrictedEditingException','acceptSelectedSuggestions','TrackChangesEditing'];(function(_0x30eee0,_0x4abf56){const _0x4d09e9=function(_0x1a1e39){while(--_0x1a1e39){_0x30eee0['push'](_0x30eee0['shift']());}};_0x4d09e9(++_0x4abf56);}(_0x4abf,0x131));const _0x4d09=function(_0x30eee0,_0x4abf56){_0x30eee0=_0x30eee0-0x0;let _0x4d09e9=_0x4abf[_0x30eee0];return _0x4d09e9;};import{Plugin as _0x1435d4}from'ckeditor5/src/core';export default class ut extends _0x1435d4{['afterInit'](){const _0x4797ec=this[_0x4d09('0xa')];if(!_0x4797ec['plugins']['has'](_0x4d09('0x3')))return;const _0x1a41cd=_0x4797ec[_0x4d09('0x8')]['get'](_0x4d09('0x2'));_0x1a41cd[_0x4d09('0x6')]('goToPreviousRestrictedEditingException'),_0x1a41cd[_0x4d09('0x6')](_0x4d09('0x0'));const _0x2d39a8=_0x4797ec[_0x4d09('0x8')]['get'](_0x4d09('0x3'));_0x2d39a8[_0x4d09('0x6')](_0x4d09('0x7')),_0x2d39a8[_0x4d09('0x6')]('acceptSuggestion'),_0x2d39a8[_0x4d09('0x6')]('discardSuggestion'),_0x2d39a8[_0x4d09('0x6')](_0x4d09('0x9')),_0x2d39a8[_0x4d09('0x6')](_0x4d09('0x4')),_0x2d39a8[_0x4d09('0x6')](_0x4d09('0x1')),_0x2d39a8['enableCommand'](_0x4d09('0x5'));}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/shiftentercommand
3
7
  */