@ckeditor/ckeditor5-track-changes 40.2.0 → 41.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 (197) hide show
  1. package/CHANGELOG.md +5 -5
  2. package/LICENSE.md +1 -1
  3. package/README.md +1 -1
  4. package/build/track-changes.js +2 -2
  5. package/build/translations/es.js +1 -1
  6. package/build/translations/ro.js +1 -1
  7. package/lang/translations/ar.po +1 -1
  8. package/lang/translations/az.po +1 -1
  9. package/lang/translations/bg.po +1 -1
  10. package/lang/translations/bn.po +1 -1
  11. package/lang/translations/ca.po +1 -1
  12. package/lang/translations/cs.po +1 -1
  13. package/lang/translations/da.po +1 -1
  14. package/lang/translations/de.po +1 -1
  15. package/lang/translations/el.po +1 -1
  16. package/lang/translations/en-au.po +1 -1
  17. package/lang/translations/en.po +1 -1
  18. package/lang/translations/es.po +2 -2
  19. package/lang/translations/et.po +1 -1
  20. package/lang/translations/fi.po +1 -1
  21. package/lang/translations/fr.po +1 -1
  22. package/lang/translations/gl.po +1 -1
  23. package/lang/translations/he.po +1 -1
  24. package/lang/translations/hi.po +1 -1
  25. package/lang/translations/hr.po +1 -1
  26. package/lang/translations/hu.po +1 -1
  27. package/lang/translations/id.po +1 -1
  28. package/lang/translations/it.po +1 -1
  29. package/lang/translations/ja.po +1 -1
  30. package/lang/translations/ko.po +1 -1
  31. package/lang/translations/lt.po +1 -1
  32. package/lang/translations/lv.po +1 -1
  33. package/lang/translations/ms.po +1 -1
  34. package/lang/translations/nl.po +1 -1
  35. package/lang/translations/no.po +1 -1
  36. package/lang/translations/pl.po +1 -1
  37. package/lang/translations/pt-br.po +1 -1
  38. package/lang/translations/pt.po +1 -1
  39. package/lang/translations/ro.po +2 -2
  40. package/lang/translations/ru.po +1 -1
  41. package/lang/translations/sk.po +1 -1
  42. package/lang/translations/sq.po +1 -1
  43. package/lang/translations/sr-latn.po +1 -1
  44. package/lang/translations/sr.po +1 -1
  45. package/lang/translations/sv.po +1 -1
  46. package/lang/translations/th.po +1 -1
  47. package/lang/translations/tk.po +1 -1
  48. package/lang/translations/tr.po +1 -1
  49. package/lang/translations/tt.po +1 -1
  50. package/lang/translations/uk.po +1 -1
  51. package/lang/translations/ur.po +1 -1
  52. package/lang/translations/vi.po +1 -1
  53. package/lang/translations/zh-cn.po +1 -1
  54. package/lang/translations/zh.po +1 -1
  55. package/package.json +4 -3
  56. package/src/augmentation.d.ts +3 -3
  57. package/src/augmentation.js +1 -1
  58. package/src/commands/acceptsuggestioncommand.d.ts +3 -3
  59. package/src/commands/acceptsuggestioncommand.js +2 -2
  60. package/src/commands/discardsuggestioncommand.d.ts +3 -3
  61. package/src/commands/discardsuggestioncommand.js +2 -2
  62. package/src/commands/executeonallsuggestionscommand.d.ts +3 -3
  63. package/src/commands/executeonallsuggestionscommand.js +2 -2
  64. package/src/commands/executeonselectedsuggestionscommand.d.ts +3 -3
  65. package/src/commands/executeonselectedsuggestionscommand.js +2 -2
  66. package/src/commands/trackchangescommand.d.ts +2 -2
  67. package/src/commands/trackchangescommand.js +2 -2
  68. package/src/index.d.ts +13 -13
  69. package/src/index.js +2 -2
  70. package/src/integrations/aiassistant.d.ts +2 -2
  71. package/src/integrations/aiassistant.js +2 -2
  72. package/src/integrations/alignment.d.ts +2 -2
  73. package/src/integrations/alignment.js +2 -2
  74. package/src/integrations/basicstyles.d.ts +2 -2
  75. package/src/integrations/basicstyles.js +2 -2
  76. package/src/integrations/blockquote.d.ts +2 -2
  77. package/src/integrations/blockquote.js +2 -2
  78. package/src/integrations/casechange.d.ts +17 -0
  79. package/src/integrations/casechange.js +23 -0
  80. package/src/integrations/ckbox.d.ts +2 -2
  81. package/src/integrations/ckbox.js +2 -2
  82. package/src/integrations/codeblock.d.ts +2 -2
  83. package/src/integrations/codeblock.js +2 -2
  84. package/src/integrations/comments.d.ts +2 -2
  85. package/src/integrations/comments.js +2 -2
  86. package/src/integrations/deletecommand.d.ts +3 -3
  87. package/src/integrations/deletecommand.js +2 -2
  88. package/src/integrations/entercommand.d.ts +3 -3
  89. package/src/integrations/entercommand.js +2 -2
  90. package/src/integrations/findandreplace.d.ts +2 -2
  91. package/src/integrations/findandreplace.js +2 -2
  92. package/src/integrations/font.d.ts +2 -2
  93. package/src/integrations/font.js +2 -2
  94. package/src/integrations/formatpainter.d.ts +2 -2
  95. package/src/integrations/formatpainter.js +2 -2
  96. package/src/integrations/heading.d.ts +2 -2
  97. package/src/integrations/heading.js +2 -2
  98. package/src/integrations/highlight.d.ts +2 -2
  99. package/src/integrations/highlight.js +2 -2
  100. package/src/integrations/horizontalline.d.ts +2 -2
  101. package/src/integrations/horizontalline.js +2 -2
  102. package/src/integrations/htmlembed.d.ts +2 -2
  103. package/src/integrations/htmlembed.js +2 -2
  104. package/src/integrations/image.d.ts +2 -2
  105. package/src/integrations/image.js +2 -2
  106. package/src/integrations/imagereplace.d.ts +2 -2
  107. package/src/integrations/imagereplace.js +2 -2
  108. package/src/integrations/imagestyle.d.ts +2 -2
  109. package/src/integrations/imagestyle.js +2 -2
  110. package/src/integrations/importword.d.ts +2 -2
  111. package/src/integrations/importword.js +2 -2
  112. package/src/integrations/indent.d.ts +2 -2
  113. package/src/integrations/indent.js +2 -2
  114. package/src/integrations/inputcommand.d.ts +3 -3
  115. package/src/integrations/inputcommand.js +2 -2
  116. package/src/integrations/legacylist.d.ts +17 -0
  117. package/src/integrations/legacylist.js +23 -0
  118. package/src/integrations/{documentlistproperties.d.ts → legacylistproperties.d.ts} +7 -7
  119. package/src/integrations/legacylistproperties.js +23 -0
  120. package/src/integrations/link.d.ts +2 -2
  121. package/src/integrations/link.js +2 -2
  122. package/src/integrations/list.d.ts +6 -6
  123. package/src/integrations/list.js +2 -2
  124. package/src/integrations/listproperties.d.ts +6 -15
  125. package/src/integrations/listproperties.js +2 -2
  126. package/src/integrations/mediaembed.d.ts +2 -2
  127. package/src/integrations/mediaembed.js +2 -2
  128. package/src/integrations/mention.d.ts +2 -2
  129. package/src/integrations/mention.js +2 -2
  130. package/src/integrations/pagebreak.d.ts +2 -2
  131. package/src/integrations/pagebreak.js +2 -2
  132. package/src/integrations/paragraph.d.ts +2 -2
  133. package/src/integrations/paragraph.js +2 -2
  134. package/src/integrations/removeformat.d.ts +2 -2
  135. package/src/integrations/removeformat.js +2 -2
  136. package/src/integrations/restrictededitingmode.d.ts +2 -2
  137. package/src/integrations/restrictededitingmode.js +2 -2
  138. package/src/integrations/shiftentercommand.d.ts +3 -3
  139. package/src/integrations/shiftentercommand.js +2 -2
  140. package/src/integrations/standardeditingmode.d.ts +2 -2
  141. package/src/integrations/standardeditingmode.js +2 -2
  142. package/src/integrations/style.d.ts +2 -2
  143. package/src/integrations/style.js +2 -2
  144. package/src/integrations/table.d.ts +2 -2
  145. package/src/integrations/table.js +2 -2
  146. package/src/integrations/tablecaption.d.ts +3 -3
  147. package/src/integrations/tablecaption.js +2 -2
  148. package/src/integrations/tableclipboard.d.ts +3 -3
  149. package/src/integrations/tableclipboard.js +2 -2
  150. package/src/integrations/tablecolumnresize.d.ts +5 -5
  151. package/src/integrations/tablecolumnresize.js +2 -2
  152. package/src/integrations/tableheadings.d.ts +3 -3
  153. package/src/integrations/tableheadings.js +2 -2
  154. package/src/integrations/tablemergesplit.d.ts +3 -3
  155. package/src/integrations/tablemergesplit.js +2 -2
  156. package/src/integrations/tableofcontents.d.ts +2 -2
  157. package/src/integrations/tableofcontents.js +2 -2
  158. package/src/integrations/tableproperties.d.ts +5 -5
  159. package/src/integrations/tableproperties.js +2 -2
  160. package/src/integrations/template.d.ts +2 -2
  161. package/src/integrations/template.js +2 -2
  162. package/src/integrations/title.d.ts +2 -2
  163. package/src/integrations/title.js +2 -2
  164. package/src/integrations/undo.d.ts +2 -2
  165. package/src/integrations/undo.js +2 -2
  166. package/src/integrations/utils.d.ts +4 -4
  167. package/src/integrations/utils.js +2 -2
  168. package/src/suggestion.d.ts +6 -6
  169. package/src/suggestion.js +2 -2
  170. package/src/suggestiondescriptionfactory.d.ts +4 -4
  171. package/src/suggestiondescriptionfactory.js +2 -2
  172. package/src/trackchanges.d.ts +6 -6
  173. package/src/trackchanges.js +2 -2
  174. package/src/trackchangesconfig.d.ts +2 -2
  175. package/src/trackchangesconfig.js +1 -1
  176. package/src/trackchangesdata.d.ts +3 -3
  177. package/src/trackchangesdata.js +2 -2
  178. package/src/trackchangesediting.d.ts +56 -55
  179. package/src/trackchangesediting.js +2 -2
  180. package/src/trackchangesui.d.ts +4 -4
  181. package/src/trackchangesui.js +2 -2
  182. package/src/ui/suggestioncontroller.d.ts +6 -6
  183. package/src/ui/suggestioncontroller.js +2 -2
  184. package/src/ui/view/basesuggestionthreadview.d.ts +7 -7
  185. package/src/ui/view/basesuggestionthreadview.js +2 -2
  186. package/src/ui/view/suggestionthreadview.d.ts +6 -6
  187. package/src/ui/view/suggestionthreadview.js +2 -2
  188. package/src/utils/common-translations.d.ts +2 -2
  189. package/src/utils/common-translations.js +2 -2
  190. package/src/utils/utils.d.ts +5 -5
  191. package/src/utils/utils.js +2 -2
  192. package/theme/icons/track-changes-accept.svg +1 -1
  193. package/theme/icons/track-changes-discard.svg +1 -1
  194. package/theme/icons/track-changes.svg +1 -1
  195. package/src/integrations/documentlist.d.ts +0 -17
  196. package/src/integrations/documentlist.js +0 -23
  197. package/src/integrations/documentlistproperties.js +0 -23
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14a3=['focus','delete','isInContent','separator','size','keys','getFirstRange','getByInnerView','_annotationViews','reduce','listenTo','_disableComments','locale','suggestionChanged','values','buttonView','destroy','comments.editorConfig','unbind','getAllAdjacentSuggestions','isDirty','has','editor','getSuggestion','Discard\x20all\x20selected\x20suggestions','requires','_createUIButton','CommentView','previous','push','bind','define','execute','config','_handleControllerBuffer','Accept\x20all\x20suggestions','add','length','_viewToController','comments.maxThreadTotalWeight','isOn','_bindAnnotationToEditors','TrackChangesEditing','SuggestionThreadView','clear','getDescriptions','filter','remove','comments','some','descriptionParts','change:previous','getMarkerNames','_handleSuggestionControllerDelayed','_updateController','editing','addSourceCollector','plugins','from','CommentsUI','lowest','stopListening','actionView','value','discardSelectedSuggestions','getRanges','type','getJoined','EditorAnnotations','Discard\x20all\x20suggestions','isMultiRange','trackChanges','arrowView','discardButton','commands','Accept\x20all\x20selected\x20suggestions','get','_destroyController','_suggestionToController','suggestion-','set','acceptButton','createAnnotation','discardAllSuggestions','acceptAllSuggestions','view','trackChanges.disableComments','button','_initializeController','pluginName','change:activeAnnotations','suggestionLoaded','mainView','Annotations','toMany','_descriptionFactory','model','commandName','activeMarkers','_refreshActiveMarkers','isEnabled','head','registerAnnotation','CommentsRepository','comments.maxCommentsWhenCollapsed'];(function(_0x4ef4c1,_0x14a37f){const _0x34bfb6=function(_0x431644){while(--_0x431644){_0x4ef4c1['push'](_0x4ef4c1['shift']());}};_0x34bfb6(++_0x14a37f);}(_0x14a3,0x78));const _0x34bf=function(_0x4ef4c1,_0x14a37f){_0x4ef4c1=_0x4ef4c1-0x0;let _0x34bfb6=_0x14a3[_0x4ef4c1];return _0x34bfb6;};import{Plugin as _0x215801}from'ckeditor5/src/core';import{Collection as _0x5b36d7}from'ckeditor5/src/utils';import{Model as _0x3231d7,SplitButtonView as _0x1af109,createDropdown as _0x196dd1,addListToDropdown as _0x3bab50}from'ckeditor5/src/ui';import{Users as _0x31dd3b,getDateTimeFormatter as _0x48750a,getAllMarkersDomElementsSorted as _0x23ad5c}from'ckeditor5-collaboration/src/collaboration-core';import _0x43c73a from'./trackchangesediting';import _0x6fd6e2 from'./ui/suggestioncontroller';import _0x6f8056 from'./ui/view/suggestionthreadview';import{getTranslation as _0x570380}from'./utils/common-translations';import _0x2f1a9a from'../theme/icons/track-changes.svg';export default class d extends _0x215801{static get[_0x34bf('0xa')](){return[_0x43c73a,_0x31dd3b,'CommentsRepository',_0x34bf('0x4e'),_0x34bf('0x35')];}static get[_0x34bf('0x4a')](){return'TrackChangesUI';}constructor(_0x22cd31){super(_0x22cd31),this[_0x34bf('0x3f')]=new Map(),this[_0x34bf('0x17')]=new Map(),this[_0x34bf('0x62')]=new Map(),this[_0x34bf('0x13')]=new Map();const _0x56b7ba=this[_0x34bf('0x7')][_0x34bf('0x12')];_0x56b7ba['define']('trackChanges.SuggestionThreadView',_0x6f8056),_0x56b7ba[_0x34bf('0x10')](_0x34bf('0x47'),!0x1),this[_0x34bf('0x65')]=_0x56b7ba['get'](_0x34bf('0x47'));}[_0x34bf('0x26')](_0x5d729f,_0x496bb8){0x0===this[_0x34bf('0x13')][_0x34bf('0x5e')]&&setTimeout(()=>{for(const [_0x454152,_0xce4028]of this[_0x34bf('0x13')]){const _0x48593c=this[_0x34bf('0x3f')]['has'](_0x454152);_0x48593c||_0xce4028?_0x48593c&&_0xce4028&&this[_0x34bf('0x3e')](_0x454152):this[_0x34bf('0x49')](_0x454152);}this['editor'][_0x34bf('0x2a')][_0x34bf('0x3d')](_0x34bf('0x35'))['refreshSelectedViews'](),this[_0x34bf('0x54')](),this['_handleControllerBuffer'][_0x34bf('0x1d')]();},0xa),this[_0x34bf('0x13')][_0x34bf('0x41')](_0x5d729f,_0x496bb8);}['init'](){const _0x1be094=this[_0x34bf('0x7')],_0xc0c198=_0x1be094[_0x34bf('0x2a')][_0x34bf('0x3d')](_0x34bf('0x1b')),_0x445c5d=_0x1be094[_0x34bf('0x2a')][_0x34bf('0x3d')](_0x34bf('0x4e')),_0x14cb86=_0x1be094[_0x34bf('0x2a')]['get'](_0x34bf('0x35')),_0x2875dc=_0x1be094[_0x34bf('0x2a')][_0x34bf('0x3d')](_0x34bf('0x58'));_0x1be094['ui']['componentFactory'][_0x34bf('0x15')](_0x34bf('0x38'),_0x334a42=>this[_0x34bf('0xb')](_0x334a42)),_0x14cb86[_0x34bf('0x29')](()=>{const _0x1e53b2=[];for(const [_0x1a09fe,_0x58d022]of Array[_0x34bf('0x2b')](this[_0x34bf('0x3f')])){const _0x1b96d6=_0x1a09fe[_0x34bf('0x4')](),_0x1b7473=[];for(const _0x303e92 of _0x1b96d6){if(!_0x303e92['isInContent'])continue;if(_0x303e92[_0x34bf('0x37')]){_0x1b7473[_0x34bf('0xe')](..._0x303e92[_0x34bf('0x32')]());continue;}const _0x1573ca=_0x303e92[_0x34bf('0x60')]();if(_0x1b7473[_0x34bf('0x16')]>0x0){const _0x13499b=_0x1b7473[0x0][_0x34bf('0x34')](_0x1573ca);if(_0x13499b){_0x1b7473[0x0]=_0x13499b;continue;}}_0x1b7473[_0x34bf('0xe')](_0x1573ca);}_0x1e53b2[_0x34bf('0xe')]([_0x58d022['view'],_0x1b7473]);}return _0x1e53b2;}),this['listenTo'](_0xc0c198,_0x34bf('0x4c'),(_0x300fbc,_0x324d94)=>{this[_0x34bf('0x64')](_0x324d94,_0x34bf('0x24'),(_0x16c607,_0x571e4f,_0x457761,_0x24c85a)=>{_0x324d94[_0x34bf('0x5c')]&&(null==_0x457761?(this[_0x34bf('0x27')](_0x24c85a[_0x34bf('0x56')]),this[_0x34bf('0x26')](_0x324d94,!0x1)):(this[_0x34bf('0x27')](_0x457761['head']),null==_0x24c85a&&this[_0x34bf('0x26')](_0x324d94,!0x0)));}),null!==_0x324d94[_0x34bf('0xd')]?this[_0x34bf('0x27')](_0x324d94[_0x34bf('0x56')]):this[_0x34bf('0x26')](_0x324d94,!0x1);}),this['listenTo'](_0xc0c198,'suggestionUnloaded',(_0x4d5f5e,_0x2ae818,_0x32d8af)=>{this[_0x34bf('0x2e')](_0x2ae818,_0x34bf('0x24')),this[_0x34bf('0x13')]['delete'](_0x2ae818),this['_suggestionToController'][_0x34bf('0x6')](_0x2ae818)&&this['_destroyController'](_0x2ae818),_0x32d8af&&this['_updateController'](_0x32d8af[_0x34bf('0x56')]);}),this[_0x34bf('0x64')](_0xc0c198,_0x34bf('0x67'),(_0x3730f8,_0x403d11)=>{this['_updateController'](_0x403d11);}),this[_0x34bf('0x64')](_0x445c5d,_0x34bf('0x4b'),()=>{this['_refreshActiveMarkers']();}),this[_0x34bf('0x64')](_0x2875dc,'addComment',(_0x2fd7f4,{threadId:_0x5c2686,isFromAdapter:_0x490e88})=>{if(_0x490e88||!_0xc0c198['hasSuggestion'](_0x5c2686))return;const _0x2332d1=_0xc0c198[_0x34bf('0x8')](_0x5c2686);this['_suggestionToController'][_0x34bf('0x3d')](_0x2332d1)[_0x34bf('0x46')]['focus']();},{'priority':_0x34bf('0x2d')});}[_0x34bf('0x54')](){const _0x1ece8a=this[_0x34bf('0x7')][_0x34bf('0x2a')][_0x34bf('0x3d')](_0x34bf('0x4e')),_0x335f75=this['editor'][_0x34bf('0x2a')][_0x34bf('0x3d')](_0x34bf('0x1b')),_0x4cbb50=Array['from'](_0x1ece8a['activeAnnotations'],_0x496358=>_0x496358['innerView'])[_0x34bf('0x1f')](_0x5312db=>this[_0x34bf('0x17')][_0x34bf('0x6')](_0x5312db)),_0x3680b0=[];for(const _0x45ac9a of _0x4cbb50){const _0x583eca=this[_0x34bf('0x17')][_0x34bf('0x3d')](_0x45ac9a)[_0x34bf('0x51')][_0x34bf('0x4')]();_0x3680b0[_0x34bf('0xe')](..._0x583eca[_0x34bf('0x63')]((_0x5ac680,_0x28d3b3)=>[..._0x5ac680,..._0x28d3b3[_0x34bf('0x25')]()],[]));}_0x335f75[_0x34bf('0x53')]=_0x3680b0;}[_0x34bf('0xb')](_0xbc930){const _0x26f3db=_0x196dd1(_0xbc930,_0x1af109),_0x4e7c8c=this['editor']['commands'][_0x34bf('0x3d')](_0x34bf('0x38')),_0x126db3=_0x570380(_0xbc930,'Track\x20changes');_0x26f3db[_0x34bf('0x0')][_0x34bf('0x41')]({'tooltip':_0x126db3,'label':_0x126db3,'icon':_0x2f1a9a}),_0x26f3db[_0x34bf('0x0')]['bind'](_0x34bf('0x19'))['to'](_0x4e7c8c,_0x34bf('0x30')),_0x26f3db['buttonView']['on'](_0x34bf('0x11'),()=>{_0x4e7c8c[_0x34bf('0x11')](),this[_0x34bf('0x7')][_0x34bf('0x28')]['view']['focus']();});const _0x479abf=new _0x5b36d7(),_0x5d95e4=[{'type':'switchbutton','model':{'withText':!0x0,'label':_0x126db3,'commandName':'trackChanges'}},{'type':_0x34bf('0x5d')},{'type':_0x34bf('0x48'),'model':{'withText':!0x0,'label':_0x570380(_0xbc930,_0x34bf('0x14')),'commandName':_0x34bf('0x45')}},{'type':_0x34bf('0x48'),'model':{'withText':!0x0,'label':_0x570380(_0xbc930,_0x34bf('0x3c')),'commandName':'acceptSelectedSuggestions'}},{'type':_0x34bf('0x48'),'model':{'withText':!0x0,'label':_0x570380(_0xbc930,_0x34bf('0x36')),'commandName':_0x34bf('0x44')}},{'type':'button','model':{'withText':!0x0,'label':_0x570380(_0xbc930,_0x34bf('0x9')),'commandName':_0x34bf('0x31')}}];for(const _0x56148c of _0x5d95e4){let _0x15cb24={'type':_0x34bf('0x5d')};if(_0x56148c[_0x34bf('0x51')]){const _0x5aff15=new _0x3231d7(_0x56148c[_0x34bf('0x51')]),_0x2c86ad=this[_0x34bf('0x7')][_0x34bf('0x3b')][_0x34bf('0x3d')](_0x5aff15[_0x34bf('0x52')]);_0x5aff15[_0x34bf('0xf')](_0x34bf('0x19'),_0x34bf('0x55'))['to'](_0x2c86ad,'value',_0x34bf('0x55')),_0x15cb24={'type':_0x56148c[_0x34bf('0x33')],'model':_0x5aff15};}_0x479abf[_0x34bf('0x15')](_0x15cb24);}_0x3bab50(_0x26f3db,_0x479abf);const _0x7cd279=_0x5d95e4[_0x34bf('0x1f')](_0x3df3a0=>null!=_0x3df3a0[_0x34bf('0x51')])['map'](_0x4d1d25=>this[_0x34bf('0x7')][_0x34bf('0x3b')][_0x34bf('0x3d')](_0x4d1d25['model'][_0x34bf('0x52')])),_0x189e2d=_0x26f3db['buttonView'];return _0x189e2d[_0x34bf('0x2f')][_0x34bf('0x3')]('isEnabled'),_0x189e2d['arrowView']['unbind'](_0x34bf('0x55')),_0x189e2d[_0x34bf('0x2f')][_0x34bf('0xf')](_0x34bf('0x55'))['to'](_0x4e7c8c,_0x34bf('0x55')),_0x189e2d[_0x34bf('0x39')][_0x34bf('0xf')](_0x34bf('0x55'))[_0x34bf('0x4f')](_0x7cd279,'isEnabled',(..._0x215972)=>_0x215972[_0x34bf('0x22')](_0x1a049e=>_0x1a049e)),_0x26f3db['on'](_0x34bf('0x11'),_0x4a429c=>{this['editor'][_0x34bf('0x11')](_0x4a429c['source'][_0x34bf('0x52')]),this['editor'][_0x34bf('0x28')][_0x34bf('0x46')][_0x34bf('0x5a')]();}),_0x26f3db;}[_0x34bf('0x49')](_0x388fcf){const _0x23c679=this['editor'],_0x233ef0=_0x23c679[_0x34bf('0x12')],_0x2b9519=_0x23c679['plugins'][_0x34bf('0x3d')](_0x34bf('0x4e')),_0x507fa2=_0x23c679[_0x34bf('0x2a')][_0x34bf('0x3d')](_0x34bf('0x58')),_0x413b98=_0x23c679[_0x34bf('0x2a')]['get']('EditorAnnotations'),_0x5ab403=_0x23c679[_0x34bf('0x2a')][_0x34bf('0x3d')](_0x31dd3b)['me'],_0x1fca25=_0x233ef0['get'](_0x34bf('0x38'))[_0x34bf('0x1c')],{CommentsListView:_0x13323c,CommentThreadInputView:_0x151b30}=_0x23c679['plugins'][_0x34bf('0x3d')](_0x34bf('0x2c'));let _0x11dae7,_0x5e5d91;this[_0x34bf('0x62')][_0x34bf('0x6')](_0x388fcf['id'])?(_0x5e5d91=this[_0x34bf('0x62')][_0x34bf('0x3d')](_0x388fcf['id']),_0x11dae7=_0x5e5d91[_0x34bf('0x4d')]):(_0x11dae7=new _0x1fca25(_0x23c679[_0x34bf('0x66')],_0x388fcf,_0x5ab403,{'disableComments':this['_disableComments'],'editorConfig':_0x233ef0[_0x34bf('0x3d')](_0x34bf('0x2')),'maxCommentsWhenCollapsed':_0x233ef0[_0x34bf('0x3d')](_0x34bf('0x59')),'maxThreadTotalWeight':_0x233ef0[_0x34bf('0x3d')](_0x34bf('0x18')),'maxCommentCharsWhenCollapsed':_0x233ef0[_0x34bf('0x3d')]('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x48750a(_0x233ef0[_0x34bf('0x3d')](_0x34bf('0x66'))),'CommentView':_0x233ef0[_0x34bf('0x3d')](_0x34bf('0x21'))[_0x34bf('0xc')],'CommentsListView':_0x13323c,'CommentThreadInputView':_0x151b30}),_0x11dae7[_0x34bf('0x42')]['on'](_0x34bf('0x11'),()=>{_0x23c679['editing'][_0x34bf('0x46')][_0x34bf('0x5a')]();}),_0x11dae7[_0x34bf('0x3a')]['on'](_0x34bf('0x11'),()=>{_0x23c679[_0x34bf('0x28')][_0x34bf('0x46')][_0x34bf('0x5a')]();}),_0x5e5d91=_0x2b9519['createAnnotationView'](this[_0x34bf('0x7')][_0x34bf('0x66')],_0x11dae7),_0x5e5d91['bind'](_0x34bf('0x5'))['to'](_0x11dae7,_0x34bf('0x5')),_0x5e5d91[_0x34bf('0xf')]('length')['to'](_0x11dae7),_0x5e5d91[_0x34bf('0xf')]('type')['to'](_0x11dae7,_0x34bf('0x33'),_0x27a5d4=>_0x34bf('0x40')+_0x27a5d4),this['_annotationViews'][_0x34bf('0x41')](_0x388fcf['id'],_0x5e5d91));const _0x158fb2=_0x507fa2['createCommentThreadController'](_0x388fcf['commentThread'],_0x11dae7),_0x1a4446=new _0x6fd6e2(_0x23c679,_0x388fcf,_0x11dae7,_0x158fb2),_0x24f1f3=_0x388fcf[_0x34bf('0x4')]()[_0x34bf('0x1f')](_0x797993=>_0x797993[_0x34bf('0x5c')]);_0x11dae7[_0x34bf('0x23')]=_0x23c679['plugins']['get']('TrackChangesEditing')[_0x34bf('0x50')][_0x34bf('0x1e')](_0x24f1f3),this[_0x34bf('0x3f')][_0x34bf('0x41')](_0x388fcf,_0x1a4446),this[_0x34bf('0x17')][_0x34bf('0x41')](_0x11dae7,_0x1a4446);const _0x5e481c=_0x2b9519[_0x34bf('0x43')]({'view':_0x5e5d91,'target':()=>{const _0x13b13b=[],_0xf2de65=_0x388fcf[_0x34bf('0x4')]()[_0x34bf('0x1f')](_0x4dff2f=>_0x4dff2f[_0x34bf('0x5c')]);for(const _0x39f36a of _0xf2de65)_0x13b13b[_0x34bf('0xe')](..._0x39f36a['getMarkers']());return _0x23ad5c(_0x23c679[_0x34bf('0x28')],_0x13b13b);},'type':()=>_0x34bf('0x40')+_0x1a4446[_0x34bf('0x46')]['type']});_0x507fa2[_0x34bf('0x1a')](_0x11dae7,_0x5e481c),_0x2b9519[_0x34bf('0x15')](_0x5e481c),_0x413b98[_0x34bf('0x57')](_0x5e481c);}[_0x34bf('0x3e')](_0x345924){const _0x28cfd9=this[_0x34bf('0x7')][_0x34bf('0x2a')][_0x34bf('0x3d')](_0x34bf('0x58')),_0x15b335=this['editor'][_0x34bf('0x2a')][_0x34bf('0x3d')](_0x34bf('0x4e')),_0x1b9fdd=this[_0x34bf('0x3f')][_0x34bf('0x3d')](_0x345924),_0x3e95c6=_0x1b9fdd[_0x34bf('0x46')],_0x3b69dc=_0x15b335[_0x34bf('0x61')](_0x3e95c6);_0x28cfd9['_unbindEditors'](_0x3e95c6),_0x3b69dc&&_0x15b335[_0x34bf('0x20')](_0x3b69dc),this['_suggestionToController']['delete'](_0x345924),this[_0x34bf('0x17')][_0x34bf('0x5b')](_0x3e95c6),_0x1b9fdd[_0x34bf('0x1')]();}[_0x34bf('0x27')](_0x569be8){if(!_0x569be8['isInContent']||!this['_suggestionToController'][_0x34bf('0x6')](_0x569be8))return;const _0x5fd338=this[_0x34bf('0x7')][_0x34bf('0x2a')][_0x34bf('0x3d')]('TrackChangesEditing'),_0x3b895b=this[_0x34bf('0x3f')][_0x34bf('0x3d')](_0x569be8),_0x1f497c=_0x569be8[_0x34bf('0x4')]();_0x3b895b[_0x34bf('0x46')][_0x34bf('0x23')]=_0x5fd338[_0x34bf('0x50')][_0x34bf('0x1e')](_0x1f497c);}[_0x34bf('0x1')](){for(const _0x1a798e of this[_0x34bf('0x3f')][_0x34bf('0x5f')]())this[_0x34bf('0x3e')](_0x1a798e);for(const _0x57260d of this['_annotationViews'][_0x34bf('0x68')]())_0x57260d[_0x34bf('0x4d')][_0x34bf('0x1')]();super['destroy']();}}
23
+ const _0x3a7a=['change:previous','isMultiRange','isOn','CommentsRepository','head','SuggestionThreadView','add','activeMarkers','pluginName','set','_destroyController','reduce','trackChanges.disableComments','_handleSuggestionControllerDelayed','_viewToController','addComment','change:activeAnnotations','addSourceCollector','arrowView','getDescriptions','getByInnerView','config','actionView','_descriptionFactory','comments.maxCommentCharsWhenCollapsed','commandName','_unbindEditors','acceptSelectedSuggestions','discardSelectedSuggestions','define','comments.maxCommentsWhenCollapsed','_handleControllerBuffer','from','suggestionChanged','delete','toMany','refreshSelectedViews','createAnnotation','isDirty','CommentsUI','source','some','map','getMarkerNames','hasSuggestion','button','has','switchbutton','TrackChangesUI','separator','get','locale','view','type','EditorAnnotations','trackChanges','requires','Annotations','descriptionParts','lowest','isEnabled','mainView','_annotationViews','_updateController','values','bind','getMarkers','focus','commands','remove','_disableComments','filter','plugins','push','_suggestionToController','comments.editorConfig','execute','keys','comments.maxThreadTotalWeight','suggestionUnloaded','TrackChangesEditing','model','destroy','init','buttonView','CommentView','innerView','_bindAnnotationToEditors','editing','suggestion-','length','Accept\x20all\x20suggestions','componentFactory','getSuggestion','listenTo','editor','getAllAdjacentSuggestions','_createUIButton','acceptAllSuggestions','discardButton','Track\x20changes','discardAllSuggestions','_initializeController','commentThread','_refreshActiveMarkers','previous','unbind','isInContent'];(function(_0x1b3201,_0x3a7a1f){const _0x29be40=function(_0x315f6a){while(--_0x315f6a){_0x1b3201['push'](_0x1b3201['shift']());}};_0x29be40(++_0x3a7a1f);}(_0x3a7a,0xd6));const _0x29be=function(_0x1b3201,_0x3a7a1f){_0x1b3201=_0x1b3201-0x0;let _0x29be40=_0x3a7a[_0x1b3201];return _0x29be40;};import{Plugin as _0x470474}from'ckeditor5/src/core.js';import{Collection as _0x7785c2}from'ckeditor5/src/utils.js';import{ViewModel as _0x3c9101,SplitButtonView as _0x4af605,createDropdown as _0x3b2050,addListToDropdown as _0x5987b6}from'ckeditor5/src/ui.js';import{Users as _0x3676b2,getDateTimeFormatter as _0x48e4f4,getAllMarkersDomElementsSorted as _0x59498f}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x58a528 from'./trackchangesediting.js';import _0x4a5f4b from'./ui/suggestioncontroller.js';import _0x523fb8 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x3a6d50}from'./utils/common-translations.js';import _0x5bc7b5 from'../theme/icons/track-changes.svg';export default class d extends _0x470474{static get[_0x29be('0x3a')](){return[_0x58a528,_0x3676b2,_0x29be('0x5'),'Annotations',_0x29be('0x38')];}static get[_0x29be('0xa')](){return _0x29be('0x32');}constructor(_0x36a27d){super(_0x36a27d),this[_0x29be('0x4c')]=new Map(),this['_viewToController']=new Map(),this[_0x29be('0x40')]=new Map(),this[_0x29be('0x21')]=new Map();const _0x50562b=this[_0x29be('0x61')][_0x29be('0x17')];_0x50562b[_0x29be('0x1f')]('trackChanges.SuggestionThreadView',_0x523fb8),_0x50562b[_0x29be('0x1f')]('trackChanges.disableComments',!0x1),this[_0x29be('0x48')]=_0x50562b['get'](_0x29be('0xe'));}[_0x29be('0xf')](_0x5f3961,_0x1df2f7){0x0===this[_0x29be('0x21')]['size']&&setTimeout(()=>{for(const [_0x8e6d5d,_0x49be2a]of this[_0x29be('0x21')]){const _0x325bfa=this['_suggestionToController'][_0x29be('0x30')](_0x8e6d5d);_0x325bfa||_0x49be2a?_0x325bfa&&_0x49be2a&&this['_destroyController'](_0x8e6d5d):this['_initializeController'](_0x8e6d5d);}this[_0x29be('0x21')]['clear'](),this['editor']['plugins'][_0x29be('0x34')](_0x29be('0x38'))[_0x29be('0x26')](),this[_0x29be('0x6a')]();},0xa),this[_0x29be('0x21')]['set'](_0x5f3961,_0x1df2f7);}[_0x29be('0x55')](){const _0x5c2c2f=this[_0x29be('0x61')],_0x299994=_0x5c2c2f['plugins']['get'](_0x29be('0x52')),_0x4b1551=_0x5c2c2f[_0x29be('0x4a')]['get'](_0x29be('0x3b')),_0x566553=_0x5c2c2f[_0x29be('0x4a')][_0x29be('0x34')](_0x29be('0x38')),_0x43a47b=_0x5c2c2f[_0x29be('0x4a')][_0x29be('0x34')](_0x29be('0x5'));_0x5c2c2f['ui'][_0x29be('0x5e')][_0x29be('0x8')](_0x29be('0x39'),_0x3924d2=>this[_0x29be('0x63')](_0x3924d2)),_0x566553[_0x29be('0x13')](()=>{const _0x24c95e=[];for(const [_0x1b8c1e,_0x1d8c57]of Array[_0x29be('0x22')](this[_0x29be('0x4c')])){const _0x13f90a=_0x1b8c1e[_0x29be('0x62')](),_0x36274a=[];for(const _0xf7051e of _0x13f90a){if(!_0xf7051e[_0x29be('0x1')])continue;if(_0xf7051e[_0x29be('0x3')]){_0x36274a['push'](..._0xf7051e['getRanges']());continue;}const _0x2708f4=_0xf7051e['getFirstRange']();if(_0x36274a[_0x29be('0x5c')]>0x0){const _0x48188e=_0x36274a[0x0]['getJoined'](_0x2708f4);if(_0x48188e){_0x36274a[0x0]=_0x48188e;continue;}}_0x36274a[_0x29be('0x4b')](_0x2708f4);}_0x24c95e[_0x29be('0x4b')]([_0x1d8c57['view'],_0x36274a]);}return _0x24c95e;}),this['listenTo'](_0x299994,'suggestionLoaded',(_0x557be2,_0x16c86c)=>{this['listenTo'](_0x16c86c,_0x29be('0x2'),(_0x6410c0,_0x3ae292,_0x34f049,_0x589928)=>{_0x16c86c['isInContent']&&(null==_0x34f049?(this[_0x29be('0x41')](_0x589928[_0x29be('0x6')]),this[_0x29be('0xf')](_0x16c86c,!0x1)):(this[_0x29be('0x41')](_0x34f049[_0x29be('0x6')]),null==_0x589928&&this['_handleSuggestionControllerDelayed'](_0x16c86c,!0x0)));}),null!==_0x16c86c[_0x29be('0x6b')]?this[_0x29be('0x41')](_0x16c86c[_0x29be('0x6')]):this['_handleSuggestionControllerDelayed'](_0x16c86c,!0x1);}),this[_0x29be('0x60')](_0x299994,_0x29be('0x51'),(_0x303c9c,_0x8be510,_0x2c85fa)=>{this['stopListening'](_0x8be510,_0x29be('0x2')),this['_handleControllerBuffer'][_0x29be('0x24')](_0x8be510),this[_0x29be('0x4c')][_0x29be('0x30')](_0x8be510)&&this['_destroyController'](_0x8be510),_0x2c85fa&&this[_0x29be('0x41')](_0x2c85fa[_0x29be('0x6')]);}),this['listenTo'](_0x299994,_0x29be('0x23'),(_0x45d26d,_0x1767fd)=>{this[_0x29be('0x41')](_0x1767fd);}),this[_0x29be('0x60')](_0x4b1551,_0x29be('0x12'),()=>{this[_0x29be('0x6a')]();}),this[_0x29be('0x60')](_0x43a47b,_0x29be('0x11'),(_0x439da9,{threadId:_0x5f1926,isFromAdapter:_0x13f723})=>{if(_0x13f723||!_0x299994[_0x29be('0x2e')](_0x5f1926))return;const _0x9063e4=_0x299994[_0x29be('0x5f')](_0x5f1926);this[_0x29be('0x4c')][_0x29be('0x34')](_0x9063e4)[_0x29be('0x36')][_0x29be('0x45')]();},{'priority':_0x29be('0x3d')});}[_0x29be('0x6a')](){const _0x14fea7=this['editor'][_0x29be('0x4a')]['get']('Annotations'),_0x543fbb=this['editor'][_0x29be('0x4a')][_0x29be('0x34')](_0x29be('0x52')),_0x4f32fa=Array['from'](_0x14fea7['activeAnnotations'],_0x109112=>_0x109112[_0x29be('0x58')])[_0x29be('0x49')](_0x5c2b94=>this[_0x29be('0x10')][_0x29be('0x30')](_0x5c2b94)),_0x2f1532=[];for(const _0x477a40 of _0x4f32fa){const _0x1de1e7=this[_0x29be('0x10')][_0x29be('0x34')](_0x477a40)['model']['getAllAdjacentSuggestions']();_0x2f1532['push'](..._0x1de1e7[_0x29be('0xd')]((_0x2a0a01,_0x37d62f)=>[..._0x2a0a01,..._0x37d62f[_0x29be('0x2d')]()],[]));}_0x543fbb[_0x29be('0x9')]=_0x2f1532;}[_0x29be('0x63')](_0x109c88){const _0x39e003=_0x3b2050(_0x109c88,_0x4af605),_0x1718bf=this[_0x29be('0x61')][_0x29be('0x46')][_0x29be('0x34')](_0x29be('0x39')),_0x4a8bf6=_0x3a6d50(_0x109c88,_0x29be('0x66'));_0x39e003[_0x29be('0x56')]['set']({'tooltip':_0x4a8bf6,'label':_0x4a8bf6,'icon':_0x5bc7b5}),_0x39e003[_0x29be('0x56')]['bind'](_0x29be('0x4'))['to'](_0x1718bf,'value'),_0x39e003[_0x29be('0x56')]['on'](_0x29be('0x4e'),()=>{_0x1718bf['execute'](),this[_0x29be('0x61')]['editing']['view'][_0x29be('0x45')]();});const _0x25a1fe=new _0x7785c2(),_0x5bec6d=[{'type':_0x29be('0x31'),'model':{'withText':!0x0,'label':_0x4a8bf6,'commandName':_0x29be('0x39')}},{'type':'separator'},{'type':_0x29be('0x2f'),'model':{'withText':!0x0,'label':_0x3a6d50(_0x109c88,_0x29be('0x5d')),'commandName':_0x29be('0x64')}},{'type':_0x29be('0x2f'),'model':{'withText':!0x0,'label':_0x3a6d50(_0x109c88,'Accept\x20all\x20selected\x20suggestions'),'commandName':_0x29be('0x1d')}},{'type':_0x29be('0x2f'),'model':{'withText':!0x0,'label':_0x3a6d50(_0x109c88,'Discard\x20all\x20suggestions'),'commandName':_0x29be('0x67')}},{'type':_0x29be('0x2f'),'model':{'withText':!0x0,'label':_0x3a6d50(_0x109c88,'Discard\x20all\x20selected\x20suggestions'),'commandName':_0x29be('0x1e')}}];for(const _0xb79a13 of _0x5bec6d){let _0x22b190={'type':_0x29be('0x33')};if(_0xb79a13['model']){const _0x2780c2=new _0x3c9101(_0xb79a13[_0x29be('0x53')]),_0x248431=this['editor']['commands'][_0x29be('0x34')](_0x2780c2[_0x29be('0x1b')]);_0x2780c2['bind'](_0x29be('0x4'),_0x29be('0x3e'))['to'](_0x248431,'value',_0x29be('0x3e')),_0x22b190={'type':_0xb79a13[_0x29be('0x37')],'model':_0x2780c2};}_0x25a1fe[_0x29be('0x8')](_0x22b190);}_0x5987b6(_0x39e003,_0x25a1fe);const _0x56c945=_0x5bec6d[_0x29be('0x49')](_0x3ecade=>null!=_0x3ecade[_0x29be('0x53')])[_0x29be('0x2c')](_0x28bfe7=>this[_0x29be('0x61')]['commands'][_0x29be('0x34')](_0x28bfe7[_0x29be('0x53')][_0x29be('0x1b')])),_0x4a1f79=_0x39e003[_0x29be('0x56')];return _0x4a1f79[_0x29be('0x18')][_0x29be('0x0')]('isEnabled'),_0x4a1f79[_0x29be('0x14')][_0x29be('0x0')]('isEnabled'),_0x4a1f79[_0x29be('0x18')][_0x29be('0x43')](_0x29be('0x3e'))['to'](_0x1718bf,_0x29be('0x3e')),_0x4a1f79['arrowView'][_0x29be('0x43')](_0x29be('0x3e'))[_0x29be('0x25')](_0x56c945,_0x29be('0x3e'),(..._0x14c8cc)=>_0x14c8cc[_0x29be('0x2b')](_0x5eee0e=>_0x5eee0e)),_0x39e003['on'](_0x29be('0x4e'),_0x5750ab=>{this[_0x29be('0x61')][_0x29be('0x4e')](_0x5750ab[_0x29be('0x2a')][_0x29be('0x1b')]),this[_0x29be('0x61')][_0x29be('0x5a')]['view'][_0x29be('0x45')]();}),_0x39e003;}[_0x29be('0x68')](_0x3d0018){const _0x53f59c=this[_0x29be('0x61')],_0x4be2a6=_0x53f59c['config'],_0xb07dd1=_0x53f59c[_0x29be('0x4a')][_0x29be('0x34')](_0x29be('0x3b')),_0x5787cf=_0x53f59c[_0x29be('0x4a')][_0x29be('0x34')](_0x29be('0x5')),_0x22ef3d=_0x53f59c[_0x29be('0x4a')][_0x29be('0x34')](_0x29be('0x38')),_0x26427a=_0x53f59c[_0x29be('0x4a')]['get'](_0x3676b2)['me'],_0x3e4360=_0x4be2a6[_0x29be('0x34')](_0x29be('0x39'))[_0x29be('0x7')],{CommentsListView:_0xde370b,CommentThreadInputView:_0x5971cc}=_0x53f59c[_0x29be('0x4a')]['get'](_0x29be('0x29'));let _0x6f778d,_0x368bca;this[_0x29be('0x40')][_0x29be('0x30')](_0x3d0018['id'])?(_0x368bca=this[_0x29be('0x40')][_0x29be('0x34')](_0x3d0018['id']),_0x6f778d=_0x368bca[_0x29be('0x3f')]):(_0x6f778d=new _0x3e4360(_0x53f59c[_0x29be('0x35')],_0x3d0018,_0x26427a,{'disableComments':this[_0x29be('0x48')],'editorConfig':_0x4be2a6[_0x29be('0x34')](_0x29be('0x4d')),'maxCommentsWhenCollapsed':_0x4be2a6['get'](_0x29be('0x20')),'maxThreadTotalWeight':_0x4be2a6['get'](_0x29be('0x50')),'maxCommentCharsWhenCollapsed':_0x4be2a6[_0x29be('0x34')](_0x29be('0x1a')),'formatDateTime':_0x48e4f4(_0x4be2a6[_0x29be('0x34')](_0x29be('0x35'))),'CommentView':_0x4be2a6[_0x29be('0x34')]('comments')[_0x29be('0x57')],'CommentsListView':_0xde370b,'CommentThreadInputView':_0x5971cc}),_0x6f778d['acceptButton']['on']('execute',()=>{_0x53f59c[_0x29be('0x5a')]['view'][_0x29be('0x45')]();}),_0x6f778d[_0x29be('0x65')]['on']('execute',()=>{_0x53f59c[_0x29be('0x5a')]['view'][_0x29be('0x45')]();}),_0x368bca=_0xb07dd1['createAnnotationView'](this['editor'][_0x29be('0x35')],_0x6f778d),_0x368bca[_0x29be('0x43')](_0x29be('0x28'))['to'](_0x6f778d,_0x29be('0x28')),_0x368bca['bind']('length')['to'](_0x6f778d),_0x368bca[_0x29be('0x43')]('type')['to'](_0x6f778d,_0x29be('0x37'),_0x4b6d23=>_0x29be('0x5b')+_0x4b6d23),this[_0x29be('0x40')][_0x29be('0xb')](_0x3d0018['id'],_0x368bca));const _0x2860a2=_0x5787cf['createCommentThreadController'](_0x3d0018[_0x29be('0x69')],_0x6f778d),_0x44176d=new _0x4a5f4b(_0x53f59c,_0x3d0018,_0x6f778d,_0x2860a2),_0x36e44a=_0x3d0018[_0x29be('0x62')]()['filter'](_0x10eb78=>_0x10eb78[_0x29be('0x1')]);_0x6f778d['descriptionParts']=_0x53f59c['plugins'][_0x29be('0x34')]('TrackChangesEditing')[_0x29be('0x19')][_0x29be('0x15')](_0x36e44a),this[_0x29be('0x4c')][_0x29be('0xb')](_0x3d0018,_0x44176d),this[_0x29be('0x10')][_0x29be('0xb')](_0x6f778d,_0x44176d);const _0x213293=_0xb07dd1[_0x29be('0x27')]({'view':_0x368bca,'target':()=>{const _0x206694=[],_0x23249d=_0x3d0018[_0x29be('0x62')]()[_0x29be('0x49')](_0x929142=>_0x929142[_0x29be('0x1')]);for(const _0x11261e of _0x23249d)_0x206694[_0x29be('0x4b')](..._0x11261e[_0x29be('0x44')]());return _0x59498f(_0x53f59c[_0x29be('0x5a')],_0x206694);},'type':()=>'suggestion-'+_0x44176d[_0x29be('0x36')][_0x29be('0x37')]});_0x5787cf[_0x29be('0x59')](_0x6f778d,_0x213293),_0xb07dd1['add'](_0x213293),_0x22ef3d['registerAnnotation'](_0x213293);}['_destroyController'](_0x11b9fa){const _0x2c8b2b=this['editor'][_0x29be('0x4a')][_0x29be('0x34')](_0x29be('0x5')),_0x501655=this[_0x29be('0x61')][_0x29be('0x4a')][_0x29be('0x34')](_0x29be('0x3b')),_0x30d816=this[_0x29be('0x4c')][_0x29be('0x34')](_0x11b9fa),_0x47c4bd=_0x30d816[_0x29be('0x36')],_0x529c4c=_0x501655[_0x29be('0x16')](_0x47c4bd);_0x2c8b2b[_0x29be('0x1c')](_0x47c4bd),_0x529c4c&&_0x501655[_0x29be('0x47')](_0x529c4c),this[_0x29be('0x4c')]['delete'](_0x11b9fa),this[_0x29be('0x10')]['delete'](_0x47c4bd),_0x30d816['destroy']();}['_updateController'](_0xfc6e82){if(!_0xfc6e82[_0x29be('0x1')]||!this['_suggestionToController']['has'](_0xfc6e82))return;const _0x558b14=this[_0x29be('0x61')]['plugins'][_0x29be('0x34')]('TrackChangesEditing'),_0x2cfe7c=this[_0x29be('0x4c')][_0x29be('0x34')](_0xfc6e82),_0x44cab3=_0xfc6e82['getAllAdjacentSuggestions']();_0x2cfe7c['view'][_0x29be('0x3c')]=_0x558b14[_0x29be('0x19')][_0x29be('0x15')](_0x44cab3);}[_0x29be('0x54')](){for(const _0xcda0f6 of this['_suggestionToController'][_0x29be('0x4f')]())this[_0x29be('0xc')](_0xcda0f6);for(const _0x331072 of this[_0x29be('0x40')][_0x29be('0x42')]())_0x331072[_0x29be('0x3f')][_0x29be('0x54')]();super[_0x29be('0x54')]();}}
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import type { Editor } from 'ckeditor5/src/core';
6
- import type Suggestion from '../suggestion';
7
- import type BaseSuggestionThreadView from './view/basesuggestionthreadview';
5
+ import type { Editor } from 'ckeditor5/src/core.js';
6
+ import type Suggestion from '../suggestion.js';
7
+ import type BaseSuggestionThreadView from './view/basesuggestionthreadview.js';
8
8
  import type { CommentThreadController } from '@ckeditor/ckeditor5-comments';
9
9
  declare const SuggestionController_base: {
10
- new (): import("ckeditor5/src/utils").Observable;
11
- prototype: import("ckeditor5/src/utils").Observable;
10
+ new (): import("ckeditor5/src/utils.js").Observable;
11
+ prototype: import("ckeditor5/src/utils.js").Observable;
12
12
  };
13
13
  /**
14
14
  * A controller for a suggestion.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cdc=['_removePendingAction','_pendingAction','acceptSuggestion','canDiscard','canEditAt','_discardCommand','isEnabled','commentThreadController','add','view','getRanges','PENDING_ACTION_SUGGESTION','remove','canAccept','listenTo','model','PendingActions','isDirty','get','discardSuggestion','_acceptCommand','_editor','change:isDirty','locale','plugins','execute','unbind','_setPendingAction','destroy','stopListening','bind'];(function(_0x3d3c0c,_0x3cdc74){const _0x1b1a43=function(_0x34d89d){while(--_0x34d89d){_0x3d3c0c['push'](_0x3d3c0c['shift']());}};_0x1b1a43(++_0x3cdc74);}(_0x3cdc,0x165));const _0x1b1a=function(_0x3d3c0c,_0x3cdc74){_0x3d3c0c=_0x3d3c0c-0x0;let _0x1b1a43=_0x3cdc[_0x3d3c0c];return _0x1b1a43;};import{ObservableMixin as _0x5817e6}from'ckeditor5/src/utils';import{getTranslation as _0x5af9bc}from'../utils/common-translations';export default class Qt extends _0x5817e6(){constructor(_0x2f2e73,_0x62132a,_0x55f8e8,_0x4d6f91){super(),this[_0x1b1a('0x1e')]=_0x62132a,this[_0x1b1a('0x18')]=_0x55f8e8,this[_0x1b1a('0x16')]=_0x4d6f91,this[_0x1b1a('0x5')]=_0x2f2e73,this[_0x1b1a('0x4')]=_0x2f2e73['commands'][_0x1b1a('0x2')]('acceptSuggestion'),this[_0x1b1a('0x14')]=_0x2f2e73['commands'][_0x1b1a('0x2')](_0x1b1a('0x3')),this['view']['bind'](_0x1b1a('0x15'))['to'](this[_0x1b1a('0x4')],this[_0x1b1a('0x14')],(_0x595758,_0x4ab9a6)=>_0x595758||_0x4ab9a6),this[_0x1b1a('0x18')]['bind']('canAccept')['to'](this[_0x1b1a('0x4')],'isEnabled',_0x3fb4f2=>_0x3fb4f2&&this[_0x1b1a('0x5')][_0x1b1a('0x1e')][_0x1b1a('0x13')](_0x62132a[_0x1b1a('0x19')]())),this[_0x1b1a('0x18')][_0x1b1a('0xe')](_0x1b1a('0x12'))['to'](this[_0x1b1a('0x14')],'isEnabled',_0x47b17d=>_0x47b17d&&this[_0x1b1a('0x5')][_0x1b1a('0x1e')][_0x1b1a('0x13')](_0x62132a[_0x1b1a('0x19')]())),this[_0x1b1a('0x10')]=null,_0x55f8e8[_0x1b1a('0x1')]&&this[_0x1b1a('0xb')](),this[_0x1b1a('0x1d')](_0x55f8e8,_0x1b1a('0x11'),()=>this[_0x1b1a('0x11')]()),this[_0x1b1a('0x1d')](_0x55f8e8,_0x1b1a('0x3'),()=>this[_0x1b1a('0x3')]()),this[_0x1b1a('0x1d')](_0x55f8e8,_0x1b1a('0x6'),()=>{_0x55f8e8[_0x1b1a('0x1')]?this[_0x1b1a('0xb')]():this['_removePendingAction']();});}[_0x1b1a('0x11')](){this[_0x1b1a('0x4')][_0x1b1a('0x9')](this[_0x1b1a('0x1e')]['id']);}[_0x1b1a('0x3')](){this['_discardCommand'][_0x1b1a('0x9')](this['model']['id']);}[_0x1b1a('0xc')](){this[_0x1b1a('0x18')]['unbind']('isEnabled'),this[_0x1b1a('0x18')]['unbind'](_0x1b1a('0x1c')),this[_0x1b1a('0x18')][_0x1b1a('0xa')](_0x1b1a('0x12')),this[_0x1b1a('0xd')](),this['commentThreadController'][_0x1b1a('0xc')](),this['_pendingAction']&&this['_removePendingAction']();}['_setPendingAction'](){const _0x32af96=_0x5af9bc(this[_0x1b1a('0x5')][_0x1b1a('0x7')],_0x1b1a('0x1a'));this[_0x1b1a('0x10')]=this[_0x1b1a('0x5')][_0x1b1a('0x8')][_0x1b1a('0x2')](_0x1b1a('0x0'))[_0x1b1a('0x17')](_0x32af96);}[_0x1b1a('0xf')](){null!==this[_0x1b1a('0x10')]&&this[_0x1b1a('0x5')][_0x1b1a('0x8')][_0x1b1a('0x2')](_0x1b1a('0x0'))[_0x1b1a('0x1b')](this[_0x1b1a('0x10')]),this[_0x1b1a('0x10')]=null;}}
23
+ const _0x3535=['PENDING_ACTION_SUGGESTION','execute','_removePendingAction','change:isDirty','acceptSuggestion','canDiscard','model','isEnabled','unbind','_discardCommand','listenTo','getRanges','commands','canAccept','_setPendingAction','commentThreadController','discardSuggestion','plugins','view','locale','bind','_pendingAction','destroy','PendingActions','canEditAt','get','_acceptCommand','_editor'];(function(_0x49cbb9,_0x353540){const _0x3c3d6d=function(_0x268e47){while(--_0x268e47){_0x49cbb9['push'](_0x49cbb9['shift']());}};_0x3c3d6d(++_0x353540);}(_0x3535,0x19a));const _0x3c3d=function(_0x49cbb9,_0x353540){_0x49cbb9=_0x49cbb9-0x0;let _0x3c3d6d=_0x3535[_0x49cbb9];return _0x3c3d6d;};import{ObservableMixin as _0xaa536c}from'ckeditor5/src/utils.js';import{getTranslation as _0x22e95d}from'../utils/common-translations.js';export default class Xt extends _0xaa536c(){constructor(_0x1b88d7,_0x3ba165,_0x3b6ab6,_0x27505a){super(),this[_0x3c3d('0x10')]=_0x3ba165,this['view']=_0x3b6ab6,this['commentThreadController']=_0x27505a,this[_0x3c3d('0x9')]=_0x1b88d7,this[_0x3c3d('0x8')]=_0x1b88d7['commands'][_0x3c3d('0x7')](_0x3c3d('0xe')),this[_0x3c3d('0x13')]=_0x1b88d7[_0x3c3d('0x16')][_0x3c3d('0x7')]('discardSuggestion'),this[_0x3c3d('0x0')][_0x3c3d('0x2')](_0x3c3d('0x11'))['to'](this[_0x3c3d('0x8')],this[_0x3c3d('0x13')],(_0x33fb35,_0xf1a46f)=>_0x33fb35||_0xf1a46f),this[_0x3c3d('0x0')][_0x3c3d('0x2')]('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0x508637=>_0x508637&&this[_0x3c3d('0x9')][_0x3c3d('0x10')][_0x3c3d('0x6')](_0x3ba165[_0x3c3d('0x15')]())),this['view'][_0x3c3d('0x2')]('canDiscard')['to'](this[_0x3c3d('0x13')],_0x3c3d('0x11'),_0x11b730=>_0x11b730&&this[_0x3c3d('0x9')][_0x3c3d('0x10')][_0x3c3d('0x6')](_0x3ba165[_0x3c3d('0x15')]())),this['_pendingAction']=null,_0x3b6ab6['isDirty']&&this[_0x3c3d('0x18')](),this['listenTo'](_0x3b6ab6,_0x3c3d('0xe'),()=>this[_0x3c3d('0xe')]()),this[_0x3c3d('0x14')](_0x3b6ab6,_0x3c3d('0x1a'),()=>this[_0x3c3d('0x1a')]()),this[_0x3c3d('0x14')](_0x3b6ab6,_0x3c3d('0xd'),()=>{_0x3b6ab6['isDirty']?this[_0x3c3d('0x18')]():this['_removePendingAction']();});}['acceptSuggestion'](){this['_acceptCommand'][_0x3c3d('0xb')](this[_0x3c3d('0x10')]['id']);}['discardSuggestion'](){this[_0x3c3d('0x13')][_0x3c3d('0xb')](this[_0x3c3d('0x10')]['id']);}[_0x3c3d('0x4')](){this[_0x3c3d('0x0')][_0x3c3d('0x12')](_0x3c3d('0x11')),this[_0x3c3d('0x0')]['unbind'](_0x3c3d('0x17')),this[_0x3c3d('0x0')]['unbind'](_0x3c3d('0xf')),this['stopListening'](),this[_0x3c3d('0x19')][_0x3c3d('0x4')](),this[_0x3c3d('0x3')]&&this[_0x3c3d('0xc')]();}[_0x3c3d('0x18')](){const _0x38c18c=_0x22e95d(this[_0x3c3d('0x9')][_0x3c3d('0x1')],_0x3c3d('0xa'));this[_0x3c3d('0x3')]=this[_0x3c3d('0x9')][_0x3c3d('0x1b')][_0x3c3d('0x7')]('PendingActions')['add'](_0x38c18c);}['_removePendingAction'](){null!==this[_0x3c3d('0x3')]&&this[_0x3c3d('0x9')][_0x3c3d('0x1b')][_0x3c3d('0x7')](_0x3c3d('0x5'))['remove'](this[_0x3c3d('0x3')]),this['_pendingAction']=null;}}
@@ -1,18 +1,18 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/ui/view/basesuggestionthreadview
7
7
  * @publicApi
8
8
  */
9
- import { View } from 'ckeditor5/src/ui';
10
- import type { Locale } from 'ckeditor5/src/utils';
11
- import type { EditorConfig } from 'ckeditor5/src/core';
12
- import type Suggestion from '../../suggestion';
9
+ import { View } from 'ckeditor5/src/ui.js';
10
+ import type { Locale } from 'ckeditor5/src/utils.js';
11
+ import type { EditorConfig } from 'ckeditor5/src/core.js';
12
+ import type Suggestion from '../../suggestion.js';
13
13
  import type { CommentsListView, CommentThreadInputView, CommentView } from '@ckeditor/ckeditor5-comments';
14
- import type { User } from 'ckeditor5-collaboration/src/collaboration-core';
15
- import type { Description } from '../../suggestiondescriptionfactory';
14
+ import type { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
15
+ import type { Description } from '../../suggestiondescriptionfactory.js';
16
16
  /**
17
17
  * An abstract suggestion thread view class that should be used as a base for suggestion thread view implementations.
18
18
  * It provides some behaviors, flags and building blocks to use when creating a custom suggestion thread view class.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41f8=['_createCommentViews','showInput','locale','cancel','addComment','CommentView','_localUser','isEnabled','hasDirtyComment','focus','_config','canDiscard','removeComment','set','commentInputView','length','commentThread','delegate','fire','isReadOnly','editor','_model','authoredAt','destroy','_createCommentThreadInputView','commentsListView','commentThreadInputView','disabledSubmit','updateComment','value','isActive','isDirty','bind','descriptionParts'];(function(_0x10e553,_0x41f80a){const _0x38577c=function(_0x3a85f0){while(--_0x3a85f0){_0x10e553['push'](_0x10e553['shift']());}};_0x38577c(++_0x41f80a);}(_0x41f8,0xab));const _0x3857=function(_0x10e553,_0x41f80a){_0x10e553=_0x10e553-0x0;let _0x38577c=_0x41f8[_0x10e553];return _0x38577c;};import{View as _0x6b3e06}from'ckeditor5/src/ui';export default class si extends _0x6b3e06{constructor(_0x59b49a,_0x3cf086,_0x2331c5,_0x38f05d){super(_0x59b49a),this['commentsListView']=null,this[_0x3857('0x19')]=null,this['set'](_0x3857('0x1d'),!0x1),this[_0x3857('0xc')](_0x3857('0x15'),_0x3cf086[_0x3857('0x15')]),this[_0x3857('0x1f')](_0x3857('0x15'))['to'](_0x3cf086),this[_0x3857('0xc')](_0x3857('0x20'),[]),this[_0x3857('0xc')](_0x3857('0x1e'),!0x1),this['set'](_0x3857('0x6'),!0x1),this['set']('canAccept',!0x1),this[_0x3857('0xc')](_0x3857('0xa'),!0x1),this[_0x3857('0x14')]=_0x3cf086,this[_0x3857('0x5')]=_0x2331c5,this[_0x3857('0x9')]=_0x38f05d,_0x38f05d['disableComments']?this[_0x3857('0xc')](_0x3857('0xe'),0x1):this['_createCommentViews']();}[_0x3857('0x8')](){this['element'][_0x3857('0x8')]();}['destroy'](){this[_0x3857('0x18')]&&this['commentsListView'][_0x3857('0x16')](),this[_0x3857('0x19')]&&this[_0x3857('0x19')][_0x3857('0x16')](),super[_0x3857('0x16')]();}[_0x3857('0x21')](){const {CommentsListView:_0x4c5df3}=this['_config'];this[_0x3857('0x18')]=new _0x4c5df3(this[_0x3857('0x1')],this[_0x3857('0x14')][_0x3857('0xf')],Object['assign']({'CommentView':this[_0x3857('0x9')][_0x3857('0x4')]},this[_0x3857('0x9')])),this[_0x3857('0x18')]['delegate'](_0x3857('0xb'))['to'](this),this['commentsListView'][_0x3857('0x10')](_0x3857('0x1b'))['to'](this),this['commentsListView'][_0x3857('0x1f')](_0x3857('0x1d'))['to'](this),this[_0x3857('0xc')](_0x3857('0xe'),this[_0x3857('0x18')][_0x3857('0xe')]+0x1),this[_0x3857('0x1f')](_0x3857('0xe'))['to'](this['commentsListView'],'length',_0x5b09d3=>_0x5b09d3+0x1),this[_0x3857('0x19')]=this['_createCommentThreadInputView'](),this['on'](_0x3857('0xb'),()=>this[_0x3857('0x8')]()),this[_0x3857('0x1f')](_0x3857('0x1e'))['to'](this[_0x3857('0x18')],_0x3857('0x7'),this[_0x3857('0x19')][_0x3857('0xd')],'value',(_0x4af6a6,_0x54e6e9)=>_0x4af6a6||!!_0x54e6e9);}[_0x3857('0x17')](){const {CommentThreadInputView:_0x3c2def}=this['_config'],_0x5c5b4b=new _0x3c2def(this[_0x3857('0x1')],this[_0x3857('0x5')],this[_0x3857('0x9')]['editorConfig']),_0x3de0cf=_0x5c5b4b[_0x3857('0xd')];return _0x5c5b4b[_0x3857('0x1f')](_0x3857('0x0'))['to'](this,_0x3857('0x1d'),this[_0x3857('0x14')][_0x3857('0xf')],_0x3857('0x12'),_0x3de0cf,_0x3857('0x1c'),(_0x53243d,_0x482d31,_0x5894e1)=>!!_0x5894e1||_0x53243d&&!_0x482d31),_0x3de0cf['on']('submit',(_0x11aa58,_0x5e8694)=>{this[_0x3857('0x11')](_0x3857('0x3'),_0x5e8694),_0x3de0cf[_0x3857('0x13')]['setData']('');}),_0x3de0cf['on'](_0x3857('0x2'),()=>this['focus']()),_0x3de0cf[_0x3857('0x1f')](_0x3857('0x1a'))['to'](this[_0x3857('0x14')][_0x3857('0xf')],_0x3857('0x12')),_0x5c5b4b;}}
23
+ const _0x4f43=['isReadOnly','canDiscard','_localUser','_createCommentViews','bind','focus','editorConfig','submit','authoredAt','editor','commentThread','addComment','isEnabled','CommentView','commentInputView','commentThreadInputView','destroy','fire','isDirty','delegate','descriptionParts','length','setData','updateComment','commentsListView','removeComment','isActive','locale','_createCommentThreadInputView','_model','set','cancel','showInput','hasDirtyComment','canAccept','disableComments','_config','value'];(function(_0xb2939b,_0x4f4350){const _0x268cd1=function(_0x532835){while(--_0x532835){_0xb2939b['push'](_0xb2939b['shift']());}};_0x268cd1(++_0x4f4350);}(_0x4f43,0x92));const _0x268c=function(_0xb2939b,_0x4f4350){_0xb2939b=_0xb2939b-0x0;let _0x268cd1=_0x4f43[_0xb2939b];return _0x268cd1;};import{View as _0xb94578}from'ckeditor5/src/ui.js';export default class es extends _0xb94578{constructor(_0x1a5763,_0x31a993,_0x6b6087,_0xe56265){super(_0x1a5763),this[_0x268c('0x1e')]=null,this[_0x268c('0x15')]=null,this['set'](_0x268c('0x20'),!0x1),this[_0x268c('0x24')](_0x268c('0xe'),_0x31a993['authoredAt']),this[_0x268c('0xa')](_0x268c('0xe'))['to'](_0x31a993),this['set'](_0x268c('0x1a'),[]),this['set'](_0x268c('0x18'),!0x1),this['set'](_0x268c('0x12'),!0x1),this[_0x268c('0x24')](_0x268c('0x2'),!0x1),this[_0x268c('0x24')](_0x268c('0x7'),!0x1),this[_0x268c('0x23')]=_0x31a993,this[_0x268c('0x8')]=_0x6b6087,this[_0x268c('0x4')]=_0xe56265,_0xe56265[_0x268c('0x3')]?this[_0x268c('0x24')](_0x268c('0x1b'),0x1):this[_0x268c('0x9')]();}[_0x268c('0xb')](){this['element'][_0x268c('0xb')]();}[_0x268c('0x16')](){this['commentsListView']&&this['commentsListView'][_0x268c('0x16')](),this[_0x268c('0x15')]&&this[_0x268c('0x15')]['destroy'](),super[_0x268c('0x16')]();}[_0x268c('0x9')](){const {CommentsListView:_0x30ffd4}=this[_0x268c('0x4')];this[_0x268c('0x1e')]=new _0x30ffd4(this[_0x268c('0x21')],this['_model'][_0x268c('0x10')],Object['assign']({'CommentView':this[_0x268c('0x4')][_0x268c('0x13')]},this['_config'])),this[_0x268c('0x1e')][_0x268c('0x19')]('removeComment')['to'](this),this[_0x268c('0x1e')][_0x268c('0x19')](_0x268c('0x1d'))['to'](this),this[_0x268c('0x1e')][_0x268c('0xa')](_0x268c('0x20'))['to'](this),this[_0x268c('0x24')](_0x268c('0x1b'),this[_0x268c('0x1e')]['length']+0x1),this['bind'](_0x268c('0x1b'))['to'](this[_0x268c('0x1e')],_0x268c('0x1b'),_0x3bd745=>_0x3bd745+0x1),this[_0x268c('0x15')]=this[_0x268c('0x22')](),this['on'](_0x268c('0x1f'),()=>this[_0x268c('0xb')]()),this[_0x268c('0xa')](_0x268c('0x18'))['to'](this['commentsListView'],_0x268c('0x1'),this[_0x268c('0x15')][_0x268c('0x14')],_0x268c('0x5'),(_0x572a28,_0x3a9683)=>_0x572a28||!!_0x3a9683);}[_0x268c('0x22')](){const {CommentThreadInputView:_0x221d78}=this[_0x268c('0x4')],_0x3c634d=new _0x221d78(this[_0x268c('0x21')],this[_0x268c('0x8')],this['_config'][_0x268c('0xc')]),_0x1ffd4b=_0x3c634d[_0x268c('0x14')];return _0x3c634d[_0x268c('0xa')](_0x268c('0x0'))['to'](this,_0x268c('0x20'),this[_0x268c('0x23')][_0x268c('0x10')],_0x268c('0x6'),_0x1ffd4b,_0x268c('0x5'),(_0x5def0b,_0x4623e7,_0x42e1c2)=>!!_0x42e1c2||_0x5def0b&&!_0x4623e7),_0x1ffd4b['on'](_0x268c('0xd'),(_0x5900b5,_0x7da4ab)=>{this[_0x268c('0x17')](_0x268c('0x11'),_0x7da4ab),_0x1ffd4b[_0x268c('0xf')][_0x268c('0x1c')]('');}),_0x1ffd4b['on'](_0x268c('0x25'),()=>this[_0x268c('0xb')]()),_0x1ffd4b[_0x268c('0xa')]('disabledSubmit')['to'](this[_0x268c('0x23')]['commentThread'],_0x268c('0x6')),_0x3c634d;}}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import { default as BaseSuggestionThreadView, type SuggestionThreadConfig } from './basesuggestionthreadview';
6
- import { ButtonView, type TemplateDefinition } from 'ckeditor5/src/ui';
7
- import { UserView, type User } from 'ckeditor5-collaboration/src/collaboration-core';
8
- import type { Locale } from 'ckeditor5/src/utils';
9
- import type Suggestion from '../../suggestion';
5
+ import { default as BaseSuggestionThreadView, type SuggestionThreadConfig } from './basesuggestionthreadview.js';
6
+ import { ButtonView, type TemplateDefinition } from 'ckeditor5/src/ui.js';
7
+ import { UserView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
8
+ import type { Locale } from 'ckeditor5/src/utils.js';
9
+ import type Suggestion from '../../suggestion.js';
10
10
  /**
11
11
  * The default view for a suggestion thread.
12
12
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3829=['value','ck-suggestion__actions','canDiscard','ck-suggestion__info-name','isEnabled','bind','ck-suggestion__user','discardSuggestion','ck-suggestion__main','EXTERNAL_AVATAR','innerText','isActive','content','discardButton','ck-annotation__actions','fire','importWord','acceptButton','ck-comment__external','_createButton','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','disableComments','ck-suggestion--disabled-comments','editorReady','set','span','<span\x20class=\x22ck-suggestion-type\x22>','delegate','ck-suggestion__info','_descriptionElement','userView','innerHTML','setTemplate','formatDateTime','locale','push','ck-annotation__main','source','commentThreadInputView','EXTERNAL_IMPORT_WORD_SUGGESTION','getExternalSuggestionNote','bindTemplate','ck-annotation__info-name','getTemplate','ck-suggestion','ck-comment__info-time','_config','commentsListView','ck-suggestion--accept','author','attributes','creator','name','color','ck-annotation__info','join','render','time','element','ck-suggestion-wrapper','commentThread','ck-suggestion-wrapper--active','Discard\x20suggestion','getUserViewNotificationText','isExternal','ck-annotation__content-wrapper','authoredAt','check','Accept\x20suggestion','</span>','_model','@external','acceptSuggestion','\x22></span>','EXTERNAL_IMPORT_WORD_AVATAR','type','ck-annotation','div','editorDestroyed','split','ck-annotation__info-time','extendTemplate','description','descriptionParts','<p>'];(function(_0x5a09f1,_0x382987){const _0xa8b6ef=function(_0x196ad8){while(--_0x196ad8){_0x5a09f1['push'](_0x5a09f1['shift']());}};_0xa8b6ef(++_0x382987);}(_0x3829,0x1de));const _0xa8b6=function(_0x5a09f1,_0x382987){_0x5a09f1=_0x5a09f1-0x0;let _0xa8b6ef=_0x3829[_0x5a09f1];return _0xa8b6ef;};import{getTranslation as _0x3d49b8}from'../../utils/common-translations';import{default as _0x5c230f}from'./basesuggestionthreadview';import{ButtonView as _0xb48877}from'ckeditor5/src/ui';import{icons as _0x1d4fe4}from'ckeditor5/src/core';import{trimHtml as _0x772657,UserView as _0xf421c6}from'ckeditor5-collaboration/src/collaboration-core';export default class Xt extends _0x5c230f{constructor(_0x5166e5,_0x553ecf,_0x5dbeb9,_0xce98f8){super(_0x5166e5,_0x553ecf,_0x5dbeb9,_0xce98f8),this[_0xa8b6('0x38')](_0xa8b6('0x16'),''),this[_0xa8b6('0x25')]('type')['to'](this,_0xa8b6('0x1e'),_0x3a0e31=>_0x3a0e31&&_0x3a0e31[0x0]?_0x3a0e31[0x0][_0xa8b6('0x16')]:''),this[_0xa8b6('0x25')](_0xa8b6('0x1d'))['to'](this,'descriptionParts',this,_0xa8b6('0x2b'),(_0x5b6157,_0x533f1d)=>{let _0x36c982='';for(const _0x86e119 of _0x5b6157)_0x36c982+=_0xa8b6('0x1f')+ci(_0x86e119[_0xa8b6('0x2c')],_0x86e119[_0xa8b6('0x0')])+'</p>';return _0x533f1d?_0x36c982:_0x772657(_0x36c982,{'limit':0x8c});}),this[_0xa8b6('0x3d')]=null,this[_0xa8b6('0x31')]=this[_0xa8b6('0x33')](_0x3d49b8(_0x5166e5,_0xa8b6('0xf')),_0x1d4fe4[_0xa8b6('0xe')],_0xa8b6('0x50'),_0xa8b6('0x13'),'sw'),this[_0xa8b6('0x31')][_0xa8b6('0x25')](_0xa8b6('0x24'))['to'](this,'canAccept'),this[_0xa8b6('0x2d')]=this[_0xa8b6('0x33')](_0x3d49b8(_0x5166e5,_0xa8b6('0x9')),_0x1d4fe4['cancel'],'ck-suggestion--discard',_0xa8b6('0x27'),'sw'),this[_0xa8b6('0x2d')]['bind'](_0xa8b6('0x24'))['to'](this,_0xa8b6('0x22')),this[_0xa8b6('0x3e')]=new _0xf421c6(_0x5166e5,this[_0xa8b6('0x11')][_0xa8b6('0x51')],this[_0xa8b6('0xa')]()),this[_0xa8b6('0x3e')][_0xa8b6('0x1c')]({'attributes':{'class':[_0xa8b6('0x26'),'ck-annotation__user']}}),this[_0xa8b6('0x40')](this[_0xa8b6('0x4b')]());}[_0xa8b6('0x4b')](){const _0x3fc950=this[_0xa8b6('0x49')],_0x470725=[{'tag':_0xa8b6('0x18'),'attributes':{'class':[_0xa8b6('0x3c'),_0xa8b6('0x1')]},'children':[{'tag':_0xa8b6('0x39'),'children':[{'text':this[_0xa8b6('0x3e')][_0xa8b6('0x54')]}],'attributes':{'class':[_0xa8b6('0x23'),_0xa8b6('0x4a')]}},{'tag':_0xa8b6('0x4'),'attributes':{'datetime':_0x3fc950['to'](_0xa8b6('0xd')),'class':[_0xa8b6('0x4d'),_0xa8b6('0x1b')]},'children':[{'text':_0x3fc950['to'](_0xa8b6('0xd'),_0x2a376f=>this['_config'][_0xa8b6('0x41')](_0x2a376f))}]}]},{'tag':_0xa8b6('0x18'),'attributes':{'class':[_0xa8b6('0x21'),_0xa8b6('0x2e')]},'children':[this[_0xa8b6('0x31')],this[_0xa8b6('0x2d')]]},{'tag':_0xa8b6('0x18'),'attributes':{'class':[_0xa8b6('0xc')]}}];this['_model'][_0xa8b6('0xb')]&&_0x470725['push']({'tag':_0xa8b6('0x18'),'attributes':{'class':[_0xa8b6('0x32')]},'children':[{'text':this[_0xa8b6('0x48')]()}]});const _0x2c7c6c={'tag':_0xa8b6('0x18'),'attributes':{'class':[_0xa8b6('0x6'),_0x3fc950['if'](_0xa8b6('0x2b'),_0xa8b6('0x8')),_0x3fc950['to'](_0xa8b6('0x16'),_0xeeeffd=>'ck-suggestion-'+_0xeeeffd),this[_0xa8b6('0x4e')][_0xa8b6('0x35')]&&_0xa8b6('0x36')],'data-suggestion-id':this[_0xa8b6('0x11')]['id'],'data-thread-id':this[_0xa8b6('0x11')][_0xa8b6('0x7')]['id'],'data-author-id':this[_0xa8b6('0x11')][_0xa8b6('0x51')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':[_0xa8b6('0x4c'),_0xa8b6('0x17')]},'children':[this[_0xa8b6('0x3e')],{'tag':'div','attributes':{'class':[_0xa8b6('0x28'),_0xa8b6('0x44')]},'children':_0x470725}]}]};return this[_0xa8b6('0x4f')]&&this[_0xa8b6('0x46')]&&(_0x2c7c6c['children'][_0xa8b6('0x43')](this[_0xa8b6('0x4f')],this[_0xa8b6('0x46')]),this[_0xa8b6('0x4f')][_0xa8b6('0x3b')](_0xa8b6('0x37'))['to'](this),this['commentsListView'][_0xa8b6('0x3b')](_0xa8b6('0x19'))['to'](this),this[_0xa8b6('0x46')][_0xa8b6('0x3b')](_0xa8b6('0x37'))['to'](this),this[_0xa8b6('0x46')][_0xa8b6('0x3b')](_0xa8b6('0x19'))['to'](this)),_0x2c7c6c;}[_0xa8b6('0x3')](){super[_0xa8b6('0x3')](),this['_descriptionElement']=this[_0xa8b6('0x5')]['querySelector']('.ck-annotation__content-wrapper'),this[_0xa8b6('0x3d')][_0xa8b6('0x3f')]=this[_0xa8b6('0x1d')],this['on']('change:description',(_0x41b411,_0x3a8bbe,_0x874452)=>{this[_0xa8b6('0x3d')][_0xa8b6('0x3f')]=_0x874452;});}['_createButton'](_0x183a7e,_0x360b21,_0x5d3d72,_0x332fa8,_0x1a2782){const _0x389cbf=new _0xb48877(this[_0xa8b6('0x42')]);return _0x389cbf[_0xa8b6('0x38')]({'label':_0x183a7e,'icon':_0x360b21,'tooltip':!0x0,'tooltipPosition':_0x1a2782}),_0x389cbf[_0xa8b6('0x1c')]({'attributes':{'class':_0x5d3d72}}),_0x389cbf['on']('execute',()=>{this[_0xa8b6('0x2f')](_0x332fa8,this[_0xa8b6('0x11')]['id']);}),_0x389cbf;}[_0xa8b6('0x48')](){return _0xa8b6('0x30')===this[_0xa8b6('0x11')][_0xa8b6('0x52')][_0xa8b6('0x12')][_0xa8b6('0x45')]?_0x3d49b8(this[_0xa8b6('0x42')],_0xa8b6('0x47')):_0x3d49b8(this['locale'],'EXTERNAL_SUGGESTION');}[_0xa8b6('0xa')](){return this['_model'][_0xa8b6('0xb')]?_0xa8b6('0x30')===this[_0xa8b6('0x11')][_0xa8b6('0x52')][_0xa8b6('0x12')][_0xa8b6('0x45')]?_0x3d49b8(this[_0xa8b6('0x42')],_0xa8b6('0x15'),this[_0xa8b6('0x11')][_0xa8b6('0x53')][_0xa8b6('0x54')]):_0x3d49b8(this[_0xa8b6('0x42')],_0xa8b6('0x29'),this[_0xa8b6('0x11')][_0xa8b6('0x53')][_0xa8b6('0x54')]):null;}}function ci(_0x8e7f5d,_0x1f39c7){let _0x25981c='';return _0x25981c+=_0x8e7f5d[_0xa8b6('0x1a')]('*')['map']((_0x43b58c,_0x3af496)=>_0x3af496%0x2!=0x0?_0xa8b6('0x3a')+ri(_0x43b58c)+_0xa8b6('0x10'):ri(_0x43b58c))[_0xa8b6('0x2')](''),_0x1f39c7&&(_0x25981c+=_0xa8b6('0x34')+_0x1f39c7[_0xa8b6('0x20')]+'\x22\x20title=\x22'+_0x1f39c7['title']+_0xa8b6('0x14')),_0x25981c;}function ri(_0x31fd0f){const _0x53a8de=document['createElement'](_0xa8b6('0x39'));return _0x53a8de[_0xa8b6('0x2a')]=_0x31fd0f,_0x53a8de['innerHTML'];}
23
+ const _0x47b1=['isActive','discardSuggestion','</p>','_descriptionElement','ck-suggestion--accept','title','@external','bindTemplate','bind','setTemplate','querySelector','innerHTML','ck-annotation__content-wrapper','_model','ck-suggestion','innerText','change:description','getTemplate','ck-annotation__user','Discard\x20suggestion','attributes','extendTemplate','canAccept','ck-suggestion-wrapper--active','children','getExternalSuggestionNote','element','value','EXTERNAL_IMPORT_WORD_AVATAR','map','isEnabled','<p>','\x22></span>','div','</span>','ck-suggestion__user','execute','ck-annotation','ck-suggestion--discard','check','description','EXTERNAL_SUGGESTION','_createButton','disableComments','delegate','userView','ck-comment__info-time','discardButton','createElement','acceptSuggestion','creator','canDiscard','_config','ck-suggestion--disabled-comments','span','<span\x20class=\x22ck-suggestion-type\x22>','importWord','\x22\x20title=\x22','acceptButton','locale','type','ck-suggestion__info-name','ck-suggestion__main','ck-suggestion-','commentThreadInputView','getUserViewNotificationText','push','name','ck-comment__external','ck-annotation__info-time','join','commentsListView','Accept\x20suggestion','source','author','descriptionParts','ck-annotation__info','render','authoredAt','set','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','editorDestroyed'];(function(_0x38d45a,_0x47b1fa){const _0x30686c=function(_0x53d6b1){while(--_0x53d6b1){_0x38d45a['push'](_0x38d45a['shift']());}};_0x30686c(++_0x47b1fa);}(_0x47b1,0x152));const _0x3068=function(_0x38d45a,_0x47b1fa){_0x38d45a=_0x38d45a-0x0;let _0x30686c=_0x47b1[_0x38d45a];return _0x30686c;};import{getTranslation as _0x64477f}from'../../utils/common-translations.js';import{default as _0x51b7b5}from'./basesuggestionthreadview.js';import{ButtonView as _0x373ba7}from'ckeditor5/src/ui.js';import{icons as _0x598412}from'ckeditor5/src/core.js';import{trimHtml as _0xd1ddfd,UserView as _0x228d74}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Yt extends _0x51b7b5{constructor(_0x551a5e,_0x18a662,_0x44eafd,_0x595ee3){super(_0x551a5e,_0x18a662,_0x44eafd,_0x595ee3),this[_0x3068('0x45')](_0x3068('0x32'),''),this[_0x3068('0x50')](_0x3068('0x32'))['to'](this,_0x3068('0x41'),_0xc1d4ee=>_0xc1d4ee&&_0xc1d4ee[0x0]?_0xc1d4ee[0x0][_0x3068('0x32')]:''),this[_0x3068('0x50')](_0x3068('0x1e'))['to'](this,'descriptionParts',this,_0x3068('0x48'),(_0x41f1bd,_0x1e24d1)=>{let _0x577ef2='';for(const _0x557c3c of _0x41f1bd)_0x577ef2+=_0x3068('0x15')+ds(_0x557c3c['content'],_0x557c3c['color'])+_0x3068('0x4a');return _0x1e24d1?_0x577ef2:_0xd1ddfd(_0x577ef2,{'limit':0x8c});}),this[_0x3068('0x4b')]=null,this[_0x3068('0x30')]=this['_createButton'](_0x64477f(_0x551a5e,_0x3068('0x3e')),_0x598412[_0x3068('0x1d')],_0x3068('0x4c'),_0x3068('0x27'),'sw'),this['acceptButton']['bind'](_0x3068('0x14'))['to'](this,_0x3068('0xc')),this['discardButton']=this[_0x3068('0x20')](_0x64477f(_0x551a5e,_0x3068('0x9')),_0x598412['cancel'],_0x3068('0x1c'),_0x3068('0x49'),'sw'),this[_0x3068('0x25')][_0x3068('0x50')](_0x3068('0x14'))['to'](this,_0x3068('0x29')),this['userView']=new _0x228d74(_0x551a5e,this['_model'][_0x3068('0x40')],this[_0x3068('0x37')]()),this[_0x3068('0x23')]['extendTemplate']({'attributes':{'class':[_0x3068('0x19'),_0x3068('0x8')]}}),this[_0x3068('0x51')](this[_0x3068('0x7')]());}[_0x3068('0x7')](){const _0x44fe07=this[_0x3068('0x4f')],_0x7db40=[{'tag':'div','attributes':{'class':['ck-suggestion__info',_0x3068('0x42')]},'children':[{'tag':_0x3068('0x2c'),'children':[{'text':this[_0x3068('0x23')][_0x3068('0x39')]}],'attributes':{'class':[_0x3068('0x33'),'ck-annotation__info-name']}},{'tag':'time','attributes':{'datetime':_0x44fe07['to'](_0x3068('0x44')),'class':[_0x3068('0x24'),_0x3068('0x3b')]},'children':[{'text':_0x44fe07['to']('authoredAt',_0x402785=>this[_0x3068('0x2a')]['formatDateTime'](_0x402785))}]}]},{'tag':'div','attributes':{'class':['ck-suggestion__actions','ck-annotation__actions']},'children':[this[_0x3068('0x30')],this[_0x3068('0x25')]]},{'tag':'div','attributes':{'class':[_0x3068('0x2')]}}];this[_0x3068('0x3')]['isExternal']&&_0x7db40[_0x3068('0x38')]({'tag':_0x3068('0x17'),'attributes':{'class':[_0x3068('0x3a')]},'children':[{'text':this[_0x3068('0xf')]()}]});const _0x3dd943={'tag':'div','attributes':{'class':['ck-suggestion-wrapper',_0x44fe07['if'](_0x3068('0x48'),_0x3068('0xd')),_0x44fe07['to']('type',_0x334133=>_0x3068('0x35')+_0x334133),this[_0x3068('0x2a')][_0x3068('0x21')]&&_0x3068('0x2b')],'data-suggestion-id':this['_model']['id'],'data-thread-id':this[_0x3068('0x3')]['commentThread']['id'],'data-author-id':this['_model']['author']['id'],'tabindex':-0x1},'children':[{'tag':_0x3068('0x17'),'attributes':{'class':[_0x3068('0x4'),_0x3068('0x1b')]},'children':[this[_0x3068('0x23')],{'tag':_0x3068('0x17'),'attributes':{'class':[_0x3068('0x34'),'ck-annotation__main']},'children':_0x7db40}]}]};return this[_0x3068('0x3d')]&&this[_0x3068('0x36')]&&(_0x3dd943[_0x3068('0xe')]['push'](this['commentsListView'],this[_0x3068('0x36')]),this[_0x3068('0x3d')][_0x3068('0x22')]('editorReady')['to'](this),this[_0x3068('0x3d')][_0x3068('0x22')](_0x3068('0x47'))['to'](this),this['commentThreadInputView'][_0x3068('0x22')]('editorReady')['to'](this),this['commentThreadInputView'][_0x3068('0x22')](_0x3068('0x47'))['to'](this)),_0x3dd943;}[_0x3068('0x43')](){super[_0x3068('0x43')](),this[_0x3068('0x4b')]=this[_0x3068('0x10')][_0x3068('0x0')]('.ck-annotation__content-wrapper'),this[_0x3068('0x4b')][_0x3068('0x1')]=this[_0x3068('0x1e')],this['on'](_0x3068('0x6'),(_0x19808c,_0x541ee3,_0x273746)=>{this[_0x3068('0x4b')][_0x3068('0x1')]=_0x273746;});}[_0x3068('0x20')](_0x146572,_0x4825c4,_0x4648e0,_0x436428,_0x359339){const _0x5b4128=new _0x373ba7(this[_0x3068('0x31')]);return _0x5b4128[_0x3068('0x45')]({'label':_0x146572,'icon':_0x4825c4,'tooltip':!0x0,'tooltipPosition':_0x359339}),_0x5b4128[_0x3068('0xb')]({'attributes':{'class':_0x4648e0}}),_0x5b4128['on'](_0x3068('0x1a'),()=>{this['fire'](_0x436428,this[_0x3068('0x3')]['id']);}),_0x5b4128;}[_0x3068('0xf')](){return _0x3068('0x2e')===this[_0x3068('0x3')][_0x3068('0xa')][_0x3068('0x4e')][_0x3068('0x3f')]?_0x64477f(this[_0x3068('0x31')],'EXTERNAL_IMPORT_WORD_SUGGESTION'):_0x64477f(this[_0x3068('0x31')],_0x3068('0x1f'));}[_0x3068('0x37')](){return this[_0x3068('0x3')]['isExternal']?_0x3068('0x2e')===this[_0x3068('0x3')][_0x3068('0xa')]['@external'][_0x3068('0x3f')]?_0x64477f(this[_0x3068('0x31')],_0x3068('0x12'),this[_0x3068('0x3')][_0x3068('0x28')][_0x3068('0x39')]):_0x64477f(this[_0x3068('0x31')],'EXTERNAL_AVATAR',this['_model'][_0x3068('0x28')][_0x3068('0x39')]):null;}}function ds(_0x44490d,_0x432da5){let _0x5b2360='';return _0x5b2360+=_0x44490d['split']('*')[_0x3068('0x13')]((_0x324282,_0x351304)=>_0x351304%0x2!=0x0?_0x3068('0x2d')+us(_0x324282)+_0x3068('0x18'):us(_0x324282))[_0x3068('0x3c')](''),_0x432da5&&(_0x5b2360+=_0x3068('0x46')+_0x432da5[_0x3068('0x11')]+_0x3068('0x2f')+_0x432da5[_0x3068('0x4d')]+_0x3068('0x16')),_0x5b2360;}function us(_0x135910){const _0xedaf95=document[_0x3068('0x26')](_0x3068('0x2c'));return _0xedaf95[_0x3068('0x5')]=_0x135910,_0xedaf95['innerHTML'];}
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/utils/common-translations
7
7
  */
8
- import { type Locale } from 'ckeditor5/src/utils';
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
9
  export declare function getTranslation(locale: Locale, id: string, values?: number | string | ReadonlyArray<number | string>): string;
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x141fba,_0x4d397a,_0xf9cadc){const t=_0x141fba['t'];switch(_0x4d397a){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0xf9cadc);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xf9cadc);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xf9cadc);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xf9cadc);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xf9cadc);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0xf9cadc);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xf9cadc);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0xf9cadc);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xf9cadc);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xf9cadc);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xf9cadc);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xf9cadc);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xf9cadc);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xf9cadc);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xf9cadc);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xf9cadc);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xf9cadc);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xf9cadc);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xf9cadc);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xf9cadc);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xf9cadc);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xf9cadc);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xf9cadc);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0xf9cadc);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xf9cadc);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xf9cadc);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xf9cadc);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xf9cadc);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xf9cadc);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0xf9cadc);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xf9cadc);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xf9cadc);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xf9cadc);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xf9cadc);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0xf9cadc);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xf9cadc);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0xf9cadc);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0xf9cadc);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xf9cadc);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0xf9cadc);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xf9cadc);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0xf9cadc);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xf9cadc);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xf9cadc);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xf9cadc);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xf9cadc);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x4d397a;}}
23
+ export function getTranslation(_0x227990,_0x2ebdd3,_0x28a24e){const t=_0x227990['t'];switch(_0x2ebdd3){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x28a24e);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x28a24e);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x28a24e);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x28a24e);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x28a24e);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x28a24e);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x28a24e);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x28a24e);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x28a24e);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x28a24e);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x28a24e);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x28a24e);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x28a24e);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x28a24e);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x28a24e);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x28a24e);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x28a24e);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x28a24e);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x28a24e);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x28a24e);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x28a24e);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x28a24e);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x28a24e);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x28a24e);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x28a24e);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x28a24e);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x28a24e);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x28a24e);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x28a24e);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x28a24e);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x28a24e);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x28a24e);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x28a24e);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x28a24e);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x28a24e);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x28a24e);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x28a24e);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x28a24e);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x28a24e);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x28a24e);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x28a24e);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x28a24e);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x28a24e);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x28a24e);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x28a24e);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x28a24e);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x2ebdd3;}}
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/utils/utils
7
7
  */
8
- import type { Command } from 'ckeditor5/src/core';
9
- import type { DocumentSelection, Model } from 'ckeditor5/src/engine';
10
- import type Suggestion from '../suggestion';
11
- import type { Description } from '../suggestiondescriptionfactory';
8
+ import type { Command } from 'ckeditor5/src/core.js';
9
+ import type { DocumentSelection, Model } from 'ckeditor5/src/engine.js';
10
+ import type Suggestion from '../suggestion.js';
11
+ import type { Description } from '../suggestiondescriptionfactory.js';
12
12
  /**
13
13
  * Used in tests for easy suggestion comparison.
14
14
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfa23=['end','from','isMultiRange','color','length','isObject','getRanges','add','isIntersecting','createRange','isInContent','value','execute','map','change','createPositionAfter','deletion','createPositionAt','sort','type','replace','isCollapsed','createPositionBefore','start','push'];(function(_0x107140,_0xfa2365){const _0x15e866=function(_0x31ba04){while(--_0x31ba04){_0x107140['push'](_0x107140['shift']());}};_0x15e866(++_0xfa2365);}(_0xfa23,0xa9));const _0x15e8=function(_0x107140,_0xfa2365){_0x107140=_0x107140-0x0;let _0x15e866=_0xfa23[_0x107140];return _0x15e866;};export function normalizeDescription(_0x570a4e){return Array['isArray'](_0x570a4e)||(_0x570a4e=[_0x570a4e]),_0x570a4e[_0x15e8('0x13')](_0x305d65=>{const _0x1eae7c=_0x305d65['content'][_0x15e8('0x1')](/\*/g,''),_0xff6d99=_0x305d65['color']?'\x20[color\x20'+_0x305d65[_0x15e8('0x9')][_0x15e8('0x11')]+']':'';return'['+_0x305d65['type']+']\x20'+_0x1eae7c+_0xff6d99;})['join'](';\x20');}export function sortSuggestions(_0x56ee49){return _0x56ee49[_0x15e8('0x18')]((_0x2292bb,_0x1cfae3)=>_0x15e8('0x16')==_0x2292bb[_0x15e8('0x0')]&&_0x15e8('0x16')!=_0x1cfae3['type']?-0x1:_0x15e8('0x16')!=_0x2292bb[_0x15e8('0x0')]&&_0x15e8('0x16')==_0x1cfae3[_0x15e8('0x0')]?0x1:0x0);}export function getSelectedSuggestions(_0x2ee703,_0x2bbc1e){const _0x4dd8f8=Array[_0x15e8('0x7')](_0x2ee703[_0x15e8('0xc')]()),_0x5ed676=new Set();for(const _0xb4b940 of _0x2bbc1e)if(_0xb4b940[_0x15e8('0x10')])for(const _0x2224f4 of _0x4dd8f8)for(const _0x522c75 of _0xb4b940[_0x15e8('0xc')]())(_0x2224f4[_0x15e8('0xe')](_0x522c75)||_0x2ee703[_0x15e8('0x2')]&&!_0xb4b940[_0x15e8('0x8')]&&_0xb4b940['next']&&_0x522c75[_0x15e8('0x6')]['isTouching'](_0x2224f4[_0x15e8('0x4')]))&&_0x5ed676[_0x15e8('0xd')](_0xb4b940);return _0x5ed676;}export function getRangesOfBlockGroups(_0x2209ed,_0x2be4ea){let _0x5ac5e2,_0x17484c=0x0;const _0x276500=[],_0x14d1f3=_0x2be4ea['schema'];for(;_0x17484c<_0x2209ed[_0x15e8('0xa')];){const _0x34c4dc=_0x2209ed[_0x17484c],_0x105bf8=_0x2209ed[_0x17484c+0x1];_0x5ac5e2||(_0x5ac5e2=_0x2be4ea['createPositionBefore'](_0x34c4dc)),co(_0x2be4ea,_0x34c4dc,_0x105bf8)||(_0x276500[_0x15e8('0x5')](_0x2be4ea[_0x15e8('0xf')](_0x5ac5e2,_0x14d1f3[_0x15e8('0xb')](_0x34c4dc)?_0x2be4ea[_0x15e8('0x15')](_0x34c4dc):_0x2be4ea[_0x15e8('0x17')](_0x34c4dc,_0x15e8('0x6')))),_0x5ac5e2=null),_0x17484c++;}return _0x276500;}function co(_0x184a0e,_0x9fcc79,_0xc038ce){if(!_0xc038ce)return!0x1;const _0x5f57e9=_0x184a0e['createPositionAfter'](_0x9fcc79),_0x1ca2fe=_0x184a0e[_0x15e8('0x3')](_0xc038ce);return _0x5f57e9['isTouching'](_0x1ca2fe);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x4d863d,_0x1cac75,_0x3b4537){for(;_0x3b4537['length'];){const _0x62ec89=_0x3b4537['splice'](0x0,0x64);_0x4d863d[_0x15e8('0x14')](()=>{for(const _0x1f153a of _0x62ec89)_0x1f153a[_0x15e8('0x10')]&&_0x1cac75[_0x15e8('0x12')](_0x1f153a['id']);});}}
23
+ const _0xd55c=['createPositionAt','join','type','getRanges','createRange','createPositionBefore','isMultiRange','isObject','isCollapsed','isTouching','isInContent','isIntersecting','createPositionAfter','execute','isArray','content','length','change','color','replace','start','deletion','push','end','splice'];(function(_0x400afb,_0xd55cc7){const _0x3a50f7=function(_0x1691a7){while(--_0x1691a7){_0x400afb['push'](_0x400afb['shift']());}};_0x3a50f7(++_0xd55cc7);}(_0xd55c,0x171));const _0x3a50=function(_0x400afb,_0xd55cc7){_0x400afb=_0x400afb-0x0;let _0x3a50f7=_0xd55c[_0x400afb];return _0x3a50f7;};export function normalizeDescription(_0x20223e){return Array[_0x3a50('0x14')](_0x20223e)||(_0x20223e=[_0x20223e]),_0x20223e['map'](_0x3430aa=>{const _0x53ea56=_0x3430aa[_0x3a50('0x15')][_0x3a50('0x0')](/\*/g,''),_0x41a1c6=_0x3430aa['color']?'\x20[color\x20'+_0x3430aa[_0x3a50('0x18')]['value']+']':'';return'['+_0x3430aa[_0x3a50('0x8')]+']\x20'+_0x53ea56+_0x41a1c6;})[_0x3a50('0x7')](';\x20');}export function sortSuggestions(_0x404f44){return _0x404f44['sort']((_0x359e9a,_0x870b7b)=>_0x3a50('0x2')==_0x359e9a[_0x3a50('0x8')]&&'deletion'!=_0x870b7b[_0x3a50('0x8')]?-0x1:_0x3a50('0x2')!=_0x359e9a[_0x3a50('0x8')]&&'deletion'==_0x870b7b[_0x3a50('0x8')]?0x1:0x0);}export function getSelectedSuggestions(_0x242a82,_0xffc29){const _0x393a81=Array['from'](_0x242a82[_0x3a50('0x9')]()),_0x1f7e53=new Set();for(const _0x6a3d5a of _0xffc29)if(_0x6a3d5a[_0x3a50('0x10')])for(const _0x30982c of _0x393a81)for(const _0x1e50f9 of _0x6a3d5a[_0x3a50('0x9')]())(_0x30982c[_0x3a50('0x11')](_0x1e50f9)||_0x242a82[_0x3a50('0xe')]&&!_0x6a3d5a[_0x3a50('0xc')]&&_0x6a3d5a['next']&&_0x1e50f9[_0x3a50('0x4')]['isTouching'](_0x30982c[_0x3a50('0x1')]))&&_0x1f7e53['add'](_0x6a3d5a);return _0x1f7e53;}export function getRangesOfBlockGroups(_0x2a0492,_0x4df5a0){let _0x1c967a,_0x3581d6=0x0;const _0x51130f=[],_0x1965ac=_0x4df5a0['schema'];for(;_0x3581d6<_0x2a0492[_0x3a50('0x16')];){const _0x353a1c=_0x2a0492[_0x3581d6],_0x20bfd3=_0x2a0492[_0x3581d6+0x1];_0x1c967a||(_0x1c967a=_0x4df5a0[_0x3a50('0xb')](_0x353a1c)),co(_0x4df5a0,_0x353a1c,_0x20bfd3)||(_0x51130f[_0x3a50('0x3')](_0x4df5a0[_0x3a50('0xa')](_0x1c967a,_0x1965ac[_0x3a50('0xd')](_0x353a1c)?_0x4df5a0[_0x3a50('0x12')](_0x353a1c):_0x4df5a0[_0x3a50('0x6')](_0x353a1c,_0x3a50('0x4')))),_0x1c967a=null),_0x3581d6++;}return _0x51130f;}function co(_0x2815d2,_0x5c4d81,_0x1925a4){if(!_0x1925a4)return!0x1;const _0x2c28ce=_0x2815d2['createPositionAfter'](_0x5c4d81),_0x40c8cc=_0x2815d2[_0x3a50('0xb')](_0x1925a4);return _0x2c28ce[_0x3a50('0xf')](_0x40c8cc);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x4b48e1,_0x12710d,_0x2b5d6d){for(;_0x2b5d6d[_0x3a50('0x16')];){const _0xc8adb=_0x2b5d6d[_0x3a50('0x5')](0x0,0x64);_0x4b48e1[_0x3a50('0x17')](()=>{for(const _0x221342 of _0xc8adb)_0x221342['isInContent']&&_0x12710d[_0x3a50('0x13')](_0x221342['id']);});}}
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -1,17 +0,0 @@
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
- */
5
- /**
6
- * @module track-changes/integrations/documentlist
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for document list feature.
11
- */
12
- export default class TrackChangesDocumentList extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }