@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231206.0 → 0.0.0-nightly-20231207.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 (161) hide show
  1. package/build/track-changes.js +2 -2
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/az.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/ca.js +1 -1
  7. package/build/translations/cs.js +1 -1
  8. package/build/translations/da.js +1 -1
  9. package/build/translations/de.js +1 -1
  10. package/build/translations/el.js +1 -1
  11. package/build/translations/en-au.js +1 -1
  12. package/build/translations/es.js +1 -1
  13. package/build/translations/et.js +1 -1
  14. package/build/translations/fi.js +1 -1
  15. package/build/translations/fr.js +1 -1
  16. package/build/translations/gl.js +1 -1
  17. package/build/translations/he.js +1 -1
  18. package/build/translations/hi.js +1 -1
  19. package/build/translations/hr.js +1 -1
  20. package/build/translations/hu.js +1 -1
  21. package/build/translations/id.js +1 -1
  22. package/build/translations/it.js +1 -1
  23. package/build/translations/ja.js +1 -1
  24. package/build/translations/ko.js +1 -1
  25. package/build/translations/lt.js +1 -1
  26. package/build/translations/lv.js +1 -1
  27. package/build/translations/ms.js +1 -1
  28. package/build/translations/nl.js +1 -1
  29. package/build/translations/no.js +1 -1
  30. package/build/translations/pl.js +1 -1
  31. package/build/translations/pt-br.js +1 -1
  32. package/build/translations/pt.js +1 -1
  33. package/build/translations/ro.js +1 -1
  34. package/build/translations/ru.js +1 -1
  35. package/build/translations/sk.js +1 -1
  36. package/build/translations/sq.js +1 -1
  37. package/build/translations/sr-latn.js +1 -1
  38. package/build/translations/sr.js +1 -1
  39. package/build/translations/sv.js +1 -1
  40. package/build/translations/th.js +1 -1
  41. package/build/translations/tk.js +1 -1
  42. package/build/translations/tr.js +1 -1
  43. package/build/translations/tt.js +1 -1
  44. package/build/translations/uk.js +1 -1
  45. package/build/translations/ur.js +1 -1
  46. package/build/translations/vi.js +1 -1
  47. package/build/translations/zh-cn.js +1 -1
  48. package/build/translations/zh.js +1 -1
  49. package/lang/translations/ar.po +5 -5
  50. package/lang/translations/az.po +4 -4
  51. package/lang/translations/bg.po +5 -5
  52. package/lang/translations/bn.po +5 -5
  53. package/lang/translations/ca.po +5 -5
  54. package/lang/translations/cs.po +5 -5
  55. package/lang/translations/da.po +5 -5
  56. package/lang/translations/de.po +5 -5
  57. package/lang/translations/el.po +5 -5
  58. package/lang/translations/en-au.po +5 -5
  59. package/lang/translations/en.po +5 -5
  60. package/lang/translations/es.po +5 -5
  61. package/lang/translations/et.po +5 -5
  62. package/lang/translations/fi.po +5 -5
  63. package/lang/translations/fr.po +5 -5
  64. package/lang/translations/gl.po +36 -36
  65. package/lang/translations/he.po +5 -5
  66. package/lang/translations/hi.po +5 -5
  67. package/lang/translations/hr.po +5 -5
  68. package/lang/translations/hu.po +5 -5
  69. package/lang/translations/id.po +5 -5
  70. package/lang/translations/it.po +5 -5
  71. package/lang/translations/ja.po +5 -5
  72. package/lang/translations/ko.po +5 -5
  73. package/lang/translations/lt.po +5 -5
  74. package/lang/translations/lv.po +5 -5
  75. package/lang/translations/ms.po +5 -5
  76. package/lang/translations/nl.po +5 -5
  77. package/lang/translations/no.po +5 -5
  78. package/lang/translations/pl.po +5 -5
  79. package/lang/translations/pt-br.po +5 -5
  80. package/lang/translations/pt.po +5 -5
  81. package/lang/translations/ro.po +5 -5
  82. package/lang/translations/ru.po +5 -5
  83. package/lang/translations/sk.po +5 -5
  84. package/lang/translations/sq.po +4 -4
  85. package/lang/translations/sr-latn.po +24 -24
  86. package/lang/translations/sr.po +5 -5
  87. package/lang/translations/sv.po +5 -5
  88. package/lang/translations/th.po +5 -5
  89. package/lang/translations/tk.po +4 -4
  90. package/lang/translations/tr.po +5 -5
  91. package/lang/translations/tt.po +4 -4
  92. package/lang/translations/uk.po +5 -5
  93. package/lang/translations/ur.po +4 -4
  94. package/lang/translations/vi.po +5 -5
  95. package/lang/translations/zh-cn.po +5 -5
  96. package/lang/translations/zh.po +5 -5
  97. package/package.json +3 -3
  98. package/src/commands/acceptsuggestioncommand.js +1 -1
  99. package/src/commands/discardsuggestioncommand.js +1 -1
  100. package/src/commands/executeonallsuggestionscommand.js +1 -1
  101. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  102. package/src/commands/trackchangescommand.js +1 -1
  103. package/src/integrations/aiassistant.js +1 -1
  104. package/src/integrations/alignment.js +1 -1
  105. package/src/integrations/basicstyles.js +1 -1
  106. package/src/integrations/blockquote.js +1 -1
  107. package/src/integrations/ckbox.js +1 -1
  108. package/src/integrations/codeblock.js +1 -1
  109. package/src/integrations/comments.js +1 -1
  110. package/src/integrations/deletecommand.js +1 -1
  111. package/src/integrations/documentlist.js +1 -1
  112. package/src/integrations/documentlistproperties.js +1 -1
  113. package/src/integrations/entercommand.js +1 -1
  114. package/src/integrations/findandreplace.js +1 -1
  115. package/src/integrations/font.js +1 -1
  116. package/src/integrations/formatpainter.js +1 -1
  117. package/src/integrations/heading.js +1 -1
  118. package/src/integrations/highlight.js +1 -1
  119. package/src/integrations/horizontalline.js +1 -1
  120. package/src/integrations/htmlembed.js +1 -1
  121. package/src/integrations/image.js +1 -1
  122. package/src/integrations/imagereplace.js +1 -1
  123. package/src/integrations/imagestyle.js +1 -1
  124. package/src/integrations/importword.js +1 -1
  125. package/src/integrations/indent.js +1 -1
  126. package/src/integrations/inputcommand.js +1 -1
  127. package/src/integrations/link.js +1 -1
  128. package/src/integrations/list.js +1 -1
  129. package/src/integrations/listproperties.js +1 -1
  130. package/src/integrations/mediaembed.js +1 -1
  131. package/src/integrations/mention.js +1 -1
  132. package/src/integrations/pagebreak.js +1 -1
  133. package/src/integrations/paragraph.js +1 -1
  134. package/src/integrations/removeformat.js +1 -1
  135. package/src/integrations/restrictededitingmode.js +1 -1
  136. package/src/integrations/shiftentercommand.js +1 -1
  137. package/src/integrations/standardeditingmode.js +1 -1
  138. package/src/integrations/style.js +1 -1
  139. package/src/integrations/table.js +1 -1
  140. package/src/integrations/tablecaption.js +1 -1
  141. package/src/integrations/tableclipboard.js +1 -1
  142. package/src/integrations/tablecolumnresize.js +1 -1
  143. package/src/integrations/tableheadings.js +1 -1
  144. package/src/integrations/tablemergesplit.js +1 -1
  145. package/src/integrations/tableofcontents.js +1 -1
  146. package/src/integrations/tableproperties.js +1 -1
  147. package/src/integrations/template.js +1 -1
  148. package/src/integrations/title.js +1 -1
  149. package/src/integrations/undo.js +1 -1
  150. package/src/integrations/utils.js +1 -1
  151. package/src/suggestion.js +1 -1
  152. package/src/suggestiondescriptionfactory.js +1 -1
  153. package/src/trackchanges.js +1 -1
  154. package/src/trackchangesdata.js +1 -1
  155. package/src/trackchangesediting.js +1 -1
  156. package/src/trackchangesui.js +1 -1
  157. package/src/ui/suggestioncontroller.js +1 -1
  158. package/src/ui/view/basesuggestionthreadview.js +1 -1
  159. package/src/ui/view/suggestionthreadview.js +1 -1
  160. package/src/utils/common-translations.js +1 -1
  161. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2350=['value','TrackChangesUI','length','model','buttonView','editing','discardButton','descriptionParts','createAnnotation','some','has','unbind','bind','EditorAnnotations','activeAnnotations','getMarkerNames','type','comments.maxCommentCharsWhenCollapsed','comments.editorConfig','_disableComments','activeMarkers','CommentsRepository','isEnabled','suggestion-','listenTo','hasSuggestion','SuggestionThreadView','_initializeController','separator','Annotations','Accept\x20all\x20selected\x20suggestions','_destroyController','getDescriptions','comments.maxCommentsWhenCollapsed','createCommentThreadController','Discard\x20all\x20suggestions','suggestionLoaded','_updateController','execute','trackChanges.disableComments','getFirstRange','actionView','from','get','getRanges','_createUIButton','plugins','filter','getJoined','TrackChangesEditing','_handleSuggestionControllerDelayed','comments','getAllAdjacentSuggestions','_suggestionToController','createAnnotationView','Discard\x20all\x20selected\x20suggestions','getByInnerView','locale','define','addComment','stopListening','editor','delete','componentFactory','suggestionUnloaded','trackChanges','values','_handleControllerBuffer','isMultiRange','innerView','commentThread','reduce','commandName','toMany','source','getMarkers','CommentView','addSourceCollector','keys','discardAllSuggestions','_annotationViews','size','arrowView','add','head','previous','_viewToController','isInContent','button','set','switchbutton','getSuggestion','_bindAnnotationToEditors','view','change:previous','mainView','registerAnnotation','config','acceptButton','destroy','acceptSelectedSuggestions','requires','focus','push','commands','_descriptionFactory','_refreshActiveMarkers','change:activeAnnotations','Track\x20changes','isDirty','trackChanges.SuggestionThreadView','isOn'];(function(_0x4a8d71,_0x23503a){const _0x500fb4=function(_0x1de53c){while(--_0x1de53c){_0x4a8d71['push'](_0x4a8d71['shift']());}};_0x500fb4(++_0x23503a);}(_0x2350,0x19d));const _0x500f=function(_0x4a8d71,_0x23503a){_0x4a8d71=_0x4a8d71-0x0;let _0x500fb4=_0x2350[_0x4a8d71];return _0x500fb4;};import{Plugin as _0x2a3711}from'ckeditor5/src/core';import{Collection as _0x1b6729}from'ckeditor5/src/utils';import{Model as _0x4123ee,SplitButtonView as _0x34fdeb,createDropdown as _0x499e8b,addListToDropdown as _0x17d4f3}from'ckeditor5/src/ui';import{Users as _0x8ee2f9,getDateTimeFormatter as _0x43088f,getAllMarkersDomElementsSorted as _0x2fcb46}from'ckeditor5-collaboration/src/collaboration-core';import _0xdba3a4 from'./trackchangesediting';import _0x2c2a87 from'./ui/suggestioncontroller';import _0x135a7f from'./ui/view/suggestionthreadview';import{getTranslation as _0x1ff144}from'./utils/common-translations';import _0x655be0 from'../theme/icons/track-changes.svg';export default class d extends _0x2a3711{static get[_0x500f('0x18')](){return[_0xdba3a4,_0x8ee2f9,_0x500f('0x38'),_0x500f('0x40'),'EditorAnnotations'];}static get['pluginName'](){return _0x500f('0x24');}constructor(_0x34bccb){super(_0x34bccb),this['_suggestionToController']=new Map(),this[_0x500f('0x9')]=new Map(),this[_0x500f('0x3')]=new Map(),this[_0x500f('0x66')]=new Map();const _0x3eb372=this['editor']['config'];_0x3eb372[_0x500f('0x5d')](_0x500f('0x21'),_0x135a7f),_0x3eb372['define'](_0x500f('0x4a'),!0x1),this[_0x500f('0x36')]=_0x3eb372[_0x500f('0x4e')](_0x500f('0x4a'));}[_0x500f('0x55')](_0x620e8e,_0x432965){0x0===this[_0x500f('0x66')][_0x500f('0x4')]&&setTimeout(()=>{for(const [_0x34afc6,_0x4f79c3]of this[_0x500f('0x66')]){const _0x2cc00a=this[_0x500f('0x58')][_0x500f('0x2d')](_0x34afc6);_0x2cc00a||_0x4f79c3?_0x2cc00a&&_0x4f79c3&&this[_0x500f('0x42')](_0x34afc6):this[_0x500f('0x3e')](_0x34afc6);}this[_0x500f('0x60')][_0x500f('0x51')][_0x500f('0x4e')](_0x500f('0x30'))['refreshSelectedViews'](),this[_0x500f('0x1d')](),this['_handleControllerBuffer']['clear']();},0xa),this[_0x500f('0x66')][_0x500f('0xc')](_0x620e8e,_0x432965);}['init'](){const _0x60256b=this[_0x500f('0x60')],_0x1eb8ab=_0x60256b['plugins'][_0x500f('0x4e')]('TrackChangesEditing'),_0x51757f=_0x60256b[_0x500f('0x51')][_0x500f('0x4e')](_0x500f('0x40')),_0x1df8d7=_0x60256b[_0x500f('0x51')][_0x500f('0x4e')](_0x500f('0x30')),_0x4fae0a=_0x60256b[_0x500f('0x51')][_0x500f('0x4e')]('CommentsRepository');_0x60256b['ui'][_0x500f('0x62')][_0x500f('0x6')](_0x500f('0x64'),_0xfcf894=>this[_0x500f('0x50')](_0xfcf894)),_0x1df8d7[_0x500f('0x0')](()=>{const _0x589060=[];for(const [_0x5bc582,_0x5de209]of Array[_0x500f('0x4d')](this[_0x500f('0x58')])){const _0x1a6ed0=_0x5bc582[_0x500f('0x57')](),_0xd5c4da=[];for(const _0x53c906 of _0x1a6ed0){if(!_0x53c906['isInContent'])continue;if(_0x53c906[_0x500f('0x67')]){_0xd5c4da[_0x500f('0x1a')](..._0x53c906[_0x500f('0x4f')]());continue;}const _0x483918=_0x53c906[_0x500f('0x4b')]();if(_0xd5c4da[_0x500f('0x25')]>0x0){const _0x8d455=_0xd5c4da[0x0][_0x500f('0x53')](_0x483918);if(_0x8d455){_0xd5c4da[0x0]=_0x8d455;continue;}}_0xd5c4da[_0x500f('0x1a')](_0x483918);}_0x589060['push']([_0x5de209[_0x500f('0x10')],_0xd5c4da]);}return _0x589060;}),this[_0x500f('0x3b')](_0x1eb8ab,_0x500f('0x47'),(_0x4924ed,_0x5316df)=>{this[_0x500f('0x3b')](_0x5316df,_0x500f('0x11'),(_0x5af1c7,_0x2b75b2,_0x3ce401,_0x11f342)=>{_0x5316df[_0x500f('0xa')]&&(null==_0x3ce401?(this['_updateController'](_0x11f342[_0x500f('0x7')]),this['_handleSuggestionControllerDelayed'](_0x5316df,!0x1)):(this[_0x500f('0x48')](_0x3ce401[_0x500f('0x7')]),null==_0x11f342&&this[_0x500f('0x55')](_0x5316df,!0x0)));}),null!==_0x5316df[_0x500f('0x8')]?this[_0x500f('0x48')](_0x5316df[_0x500f('0x7')]):this[_0x500f('0x55')](_0x5316df,!0x1);}),this[_0x500f('0x3b')](_0x1eb8ab,_0x500f('0x63'),(_0x12dafc,_0x4b01c1,_0xcff742)=>{this[_0x500f('0x5f')](_0x4b01c1,_0x500f('0x11')),this[_0x500f('0x66')][_0x500f('0x61')](_0x4b01c1),this['_suggestionToController'][_0x500f('0x2d')](_0x4b01c1)&&this[_0x500f('0x42')](_0x4b01c1),_0xcff742&&this[_0x500f('0x48')](_0xcff742[_0x500f('0x7')]);}),this[_0x500f('0x3b')](_0x1eb8ab,'suggestionChanged',(_0x462b81,_0x283ff8)=>{this[_0x500f('0x48')](_0x283ff8);}),this[_0x500f('0x3b')](_0x51757f,_0x500f('0x1e'),()=>{this[_0x500f('0x1d')]();}),this['listenTo'](_0x4fae0a,_0x500f('0x5e'),(_0x4a67cd,{threadId:_0x17cfa1,isFromAdapter:_0x321c69})=>{if(_0x321c69||!_0x1eb8ab[_0x500f('0x3c')](_0x17cfa1))return;const _0x56a62d=_0x1eb8ab[_0x500f('0xe')](_0x17cfa1);this[_0x500f('0x58')][_0x500f('0x4e')](_0x56a62d)[_0x500f('0x10')][_0x500f('0x19')]();},{'priority':'lowest'});}[_0x500f('0x1d')](){const _0x3ea8d0=this[_0x500f('0x60')][_0x500f('0x51')][_0x500f('0x4e')](_0x500f('0x40')),_0x882fdc=this[_0x500f('0x60')]['plugins'][_0x500f('0x4e')](_0x500f('0x54')),_0xe39a01=Array[_0x500f('0x4d')](_0x3ea8d0[_0x500f('0x31')],_0x5073a2=>_0x5073a2[_0x500f('0x68')])[_0x500f('0x52')](_0x21611b=>this['_viewToController']['has'](_0x21611b)),_0x4b89d9=[];for(const _0x587c16 of _0xe39a01){const _0x3e66c4=this[_0x500f('0x9')][_0x500f('0x4e')](_0x587c16)[_0x500f('0x26')]['getAllAdjacentSuggestions']();_0x4b89d9[_0x500f('0x1a')](..._0x3e66c4[_0x500f('0x6a')]((_0x496a11,_0xc8d9f3)=>[..._0x496a11,..._0xc8d9f3[_0x500f('0x32')]()],[]));}_0x882fdc[_0x500f('0x37')]=_0x4b89d9;}[_0x500f('0x50')](_0x5148ca){const _0x222857=_0x499e8b(_0x5148ca,_0x34fdeb),_0xf4aa28=this[_0x500f('0x60')][_0x500f('0x1b')]['get']('trackChanges'),_0x31e285=_0x1ff144(_0x5148ca,_0x500f('0x1f'));_0x222857[_0x500f('0x27')][_0x500f('0xc')]({'tooltip':_0x31e285,'label':_0x31e285,'icon':_0x655be0}),_0x222857['buttonView']['bind']('isOn')['to'](_0xf4aa28,_0x500f('0x23')),_0x222857[_0x500f('0x27')]['on']('execute',()=>{_0xf4aa28[_0x500f('0x49')](),this['editor']['editing'][_0x500f('0x10')]['focus']();});const _0x157ef7=new _0x1b6729(),_0xc2b69a=[{'type':_0x500f('0xd'),'model':{'withText':!0x0,'label':_0x31e285,'commandName':_0x500f('0x64')}},{'type':_0x500f('0x3f')},{'type':_0x500f('0xb'),'model':{'withText':!0x0,'label':_0x1ff144(_0x5148ca,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions'}},{'type':_0x500f('0xb'),'model':{'withText':!0x0,'label':_0x1ff144(_0x5148ca,_0x500f('0x41')),'commandName':_0x500f('0x17')}},{'type':_0x500f('0xb'),'model':{'withText':!0x0,'label':_0x1ff144(_0x5148ca,_0x500f('0x46')),'commandName':_0x500f('0x2')}},{'type':_0x500f('0xb'),'model':{'withText':!0x0,'label':_0x1ff144(_0x5148ca,_0x500f('0x5a')),'commandName':'discardSelectedSuggestions'}}];for(const _0x2a1acc of _0xc2b69a){let _0x6926a2={'type':_0x500f('0x3f')};if(_0x2a1acc[_0x500f('0x26')]){const _0x115409=new _0x4123ee(_0x2a1acc[_0x500f('0x26')]),_0x1017d9=this['editor'][_0x500f('0x1b')][_0x500f('0x4e')](_0x115409[_0x500f('0x6b')]);_0x115409[_0x500f('0x2f')](_0x500f('0x22'),'isEnabled')['to'](_0x1017d9,_0x500f('0x23'),_0x500f('0x39')),_0x6926a2={'type':_0x2a1acc['type'],'model':_0x115409};}_0x157ef7[_0x500f('0x6')](_0x6926a2);}_0x17d4f3(_0x222857,_0x157ef7);const _0x3f7fa0=_0xc2b69a[_0x500f('0x52')](_0x4c9a70=>null!=_0x4c9a70[_0x500f('0x26')])['map'](_0x462506=>this[_0x500f('0x60')][_0x500f('0x1b')][_0x500f('0x4e')](_0x462506[_0x500f('0x26')][_0x500f('0x6b')])),_0x42dd13=_0x222857[_0x500f('0x27')];return _0x42dd13['actionView'][_0x500f('0x2e')](_0x500f('0x39')),_0x42dd13['arrowView'][_0x500f('0x2e')]('isEnabled'),_0x42dd13[_0x500f('0x4c')][_0x500f('0x2f')](_0x500f('0x39'))['to'](_0xf4aa28,_0x500f('0x39')),_0x42dd13[_0x500f('0x5')]['bind'](_0x500f('0x39'))[_0x500f('0x6c')](_0x3f7fa0,'isEnabled',(..._0x13969e)=>_0x13969e[_0x500f('0x2c')](_0x40dcff=>_0x40dcff)),_0x222857['on'](_0x500f('0x49'),_0x277f7f=>{this[_0x500f('0x60')][_0x500f('0x49')](_0x277f7f[_0x500f('0x6d')]['commandName']),this['editor'][_0x500f('0x28')][_0x500f('0x10')][_0x500f('0x19')]();}),_0x222857;}[_0x500f('0x3e')](_0x557edf){const _0xca8795=this[_0x500f('0x60')],_0x480c04=_0xca8795[_0x500f('0x14')],_0x179678=_0xca8795[_0x500f('0x51')][_0x500f('0x4e')]('Annotations'),_0x2545db=_0xca8795['plugins'][_0x500f('0x4e')](_0x500f('0x38')),_0x7fd64e=_0xca8795[_0x500f('0x51')][_0x500f('0x4e')](_0x500f('0x30')),_0x30e9cf=_0xca8795['plugins']['get'](_0x8ee2f9)['me'],_0x5f1170=_0x480c04['get'](_0x500f('0x64'))[_0x500f('0x3d')],{CommentsListView:_0x5506d5,CommentThreadInputView:_0x4f7d1c}=_0xca8795[_0x500f('0x51')]['get']('CommentsUI');let _0x4bcda1,_0x350f5a;this[_0x500f('0x3')]['has'](_0x557edf['id'])?(_0x350f5a=this[_0x500f('0x3')][_0x500f('0x4e')](_0x557edf['id']),_0x4bcda1=_0x350f5a[_0x500f('0x12')]):(_0x4bcda1=new _0x5f1170(_0xca8795[_0x500f('0x5c')],_0x557edf,_0x30e9cf,{'disableComments':this['_disableComments'],'editorConfig':_0x480c04[_0x500f('0x4e')](_0x500f('0x35')),'maxCommentsWhenCollapsed':_0x480c04['get'](_0x500f('0x44')),'maxThreadTotalWeight':_0x480c04['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x480c04['get'](_0x500f('0x34')),'formatDateTime':_0x43088f(_0x480c04[_0x500f('0x4e')](_0x500f('0x5c'))),'CommentView':_0x480c04[_0x500f('0x4e')](_0x500f('0x56'))[_0x500f('0x6f')],'CommentsListView':_0x5506d5,'CommentThreadInputView':_0x4f7d1c}),_0x4bcda1[_0x500f('0x15')]['on']('execute',()=>{_0xca8795[_0x500f('0x28')][_0x500f('0x10')][_0x500f('0x19')]();}),_0x4bcda1[_0x500f('0x29')]['on']('execute',()=>{_0xca8795[_0x500f('0x28')][_0x500f('0x10')][_0x500f('0x19')]();}),_0x350f5a=_0x179678[_0x500f('0x59')](this[_0x500f('0x60')][_0x500f('0x5c')],_0x4bcda1),_0x350f5a[_0x500f('0x2f')](_0x500f('0x20'))['to'](_0x4bcda1,_0x500f('0x20')),_0x350f5a[_0x500f('0x2f')](_0x500f('0x25'))['to'](_0x4bcda1),_0x350f5a[_0x500f('0x2f')]('type')['to'](_0x4bcda1,'type',_0x51d923=>_0x500f('0x3a')+_0x51d923),this[_0x500f('0x3')]['set'](_0x557edf['id'],_0x350f5a));const _0x3f29f5=_0x2545db[_0x500f('0x45')](_0x557edf[_0x500f('0x69')],_0x4bcda1),_0x4713aa=new _0x2c2a87(_0xca8795,_0x557edf,_0x4bcda1,_0x3f29f5),_0x522868=_0x557edf[_0x500f('0x57')]()[_0x500f('0x52')](_0x55897a=>_0x55897a[_0x500f('0xa')]);_0x4bcda1[_0x500f('0x2a')]=_0xca8795['plugins'][_0x500f('0x4e')](_0x500f('0x54'))[_0x500f('0x1c')]['getDescriptions'](_0x522868),this['_suggestionToController'][_0x500f('0xc')](_0x557edf,_0x4713aa),this['_viewToController'][_0x500f('0xc')](_0x4bcda1,_0x4713aa);const _0x1c10bb=_0x179678[_0x500f('0x2b')]({'view':_0x350f5a,'target':()=>{const _0x24d533=[],_0x5a6859=_0x557edf[_0x500f('0x57')]()[_0x500f('0x52')](_0x5e8614=>_0x5e8614[_0x500f('0xa')]);for(const _0x1fce22 of _0x5a6859)_0x24d533[_0x500f('0x1a')](..._0x1fce22[_0x500f('0x6e')]());return _0x2fcb46(_0xca8795[_0x500f('0x28')],_0x24d533);},'type':()=>'suggestion-'+_0x4713aa['view'][_0x500f('0x33')]});_0x2545db[_0x500f('0xf')](_0x4bcda1,_0x1c10bb),_0x179678['add'](_0x1c10bb),_0x7fd64e[_0x500f('0x13')](_0x1c10bb);}[_0x500f('0x42')](_0x220a25){const _0x5bd00b=this[_0x500f('0x60')][_0x500f('0x51')]['get'](_0x500f('0x38')),_0x2abbde=this[_0x500f('0x60')][_0x500f('0x51')][_0x500f('0x4e')]('Annotations'),_0xbc5fe6=this['_suggestionToController'][_0x500f('0x4e')](_0x220a25),_0x44c33c=_0xbc5fe6['view'],_0x2136c3=_0x2abbde[_0x500f('0x5b')](_0x44c33c);_0x5bd00b['_unbindEditors'](_0x44c33c),_0x2136c3&&_0x2abbde['remove'](_0x2136c3),this[_0x500f('0x58')][_0x500f('0x61')](_0x220a25),this[_0x500f('0x9')][_0x500f('0x61')](_0x44c33c),_0xbc5fe6[_0x500f('0x16')]();}['_updateController'](_0x2dcf49){if(!_0x2dcf49[_0x500f('0xa')]||!this[_0x500f('0x58')][_0x500f('0x2d')](_0x2dcf49))return;const _0x7bce98=this[_0x500f('0x60')][_0x500f('0x51')][_0x500f('0x4e')](_0x500f('0x54')),_0x19061d=this[_0x500f('0x58')]['get'](_0x2dcf49),_0x18b769=_0x2dcf49[_0x500f('0x57')]();_0x19061d['view'][_0x500f('0x2a')]=_0x7bce98['_descriptionFactory'][_0x500f('0x43')](_0x18b769);}[_0x500f('0x16')](){for(const _0x11906b of this[_0x500f('0x58')][_0x500f('0x1')]())this[_0x500f('0x42')](_0x11906b);for(const _0x7d0fa4 of this['_annotationViews'][_0x500f('0x65')]())_0x7d0fa4['mainView'][_0x500f('0x16')]();super[_0x500f('0x16')]();}}
23
+ const _0x41ca=['CommentsRepository','commandName','isMultiRange','registerAnnotation','Annotations','reduce','some','button','activeAnnotations','size','createCommentThreadController','_initializeController','comments','_updateController','arrowView','getFirstRange','addComment','values','getRanges','push','getMarkerNames','length','Accept\x20all\x20suggestions','comments.maxCommentCharsWhenCollapsed','CommentView','_unbindEditors','source','isDirty','mainView','EditorAnnotations','getDescriptions','view','locale','pluginName','isEnabled','change:activeAnnotations','innerView','discardAllSuggestions','Accept\x20all\x20selected\x20suggestions','listenTo','commentThread','suggestion-','_handleSuggestionControllerDelayed','get','keys','separator','model','plugins','add','map','remove','switchbutton','value','_handleControllerBuffer','getMarkers','toMany','buttonView','comments.maxCommentsWhenCollapsed','commands','Discard\x20all\x20selected\x20suggestions','trackChanges.SuggestionThreadView','execute','componentFactory','clear','TrackChangesEditing','editing','_suggestionToController','getAllAdjacentSuggestions','comments.editorConfig','requires','descriptionParts','acceptSelectedSuggestions','init','actionView','suggestionLoaded','_disableComments','config','focus','getSuggestion','createAnnotation','type','Discard\x20all\x20suggestions','editor','unbind','TrackChangesUI','trackChanges.disableComments','isOn','activeMarkers','destroy','filter','has','getByInnerView','lowest','_annotationViews','change:previous','discardSelectedSuggestions','suggestionUnloaded','suggestionChanged','isInContent','set','_viewToController','trackChanges','_destroyController','define','_refreshActiveMarkers','bind','head','_bindAnnotationToEditors','_descriptionFactory','createAnnotationView'];(function(_0x521207,_0x41cabf){const _0x1f2f62=function(_0x5ed43){while(--_0x5ed43){_0x521207['push'](_0x521207['shift']());}};_0x1f2f62(++_0x41cabf);}(_0x41ca,0x1bd));const _0x1f2f=function(_0x521207,_0x41cabf){_0x521207=_0x521207-0x0;let _0x1f2f62=_0x41ca[_0x521207];return _0x1f2f62;};import{Plugin as _0x38ba67}from'ckeditor5/src/core';import{Collection as _0x4ddcfa}from'ckeditor5/src/utils';import{Model as _0x3f2ace,SplitButtonView as _0x2660b6,createDropdown as _0x1d95ba,addListToDropdown as _0x2e5c24}from'ckeditor5/src/ui';import{Users as _0x5c70cf,getDateTimeFormatter as _0x3794ac,getAllMarkersDomElementsSorted as _0x17d8ab}from'ckeditor5-collaboration/src/collaboration-core';import _0x5173a7 from'./trackchangesediting';import _0x568dd8 from'./ui/suggestioncontroller';import _0xa30a6 from'./ui/view/suggestionthreadview';import{getTranslation as _0x48585b}from'./utils/common-translations';import _0x3e4ad2 from'../theme/icons/track-changes.svg';export default class d extends _0x38ba67{static get[_0x1f2f('0x40')](){return[_0x5173a7,_0x5c70cf,_0x1f2f('0x69'),_0x1f2f('0x6d'),_0x1f2f('0x18')];}static get[_0x1f2f('0x1c')](){return _0x1f2f('0x4f');}constructor(_0x4f1911){super(_0x4f1911),this[_0x1f2f('0x3d')]=new Map(),this[_0x1f2f('0x5f')]=new Map(),this['_annotationViews']=new Map(),this[_0x1f2f('0x30')]=new Map();const _0x180494=this['editor'][_0x1f2f('0x47')];_0x180494['define'](_0x1f2f('0x37'),_0xa30a6),_0x180494[_0x1f2f('0x62')](_0x1f2f('0x50'),!0x1),this[_0x1f2f('0x46')]=_0x180494[_0x1f2f('0x26')]('trackChanges.disableComments');}[_0x1f2f('0x25')](_0x36064b,_0x432e6b){0x0===this['_handleControllerBuffer'][_0x1f2f('0x4')]&&setTimeout(()=>{for(const [_0x461874,_0x416991]of this[_0x1f2f('0x30')]){const _0x5701f0=this['_suggestionToController'][_0x1f2f('0x55')](_0x461874);_0x5701f0||_0x416991?_0x5701f0&&_0x416991&&this[_0x1f2f('0x61')](_0x461874):this[_0x1f2f('0x6')](_0x461874);}this[_0x1f2f('0x4d')][_0x1f2f('0x2a')][_0x1f2f('0x26')](_0x1f2f('0x18'))['refreshSelectedViews'](),this[_0x1f2f('0x63')](),this['_handleControllerBuffer'][_0x1f2f('0x3a')]();},0xa),this['_handleControllerBuffer'][_0x1f2f('0x5e')](_0x36064b,_0x432e6b);}[_0x1f2f('0x43')](){const _0x15e745=this[_0x1f2f('0x4d')],_0xc9e2a3=_0x15e745['plugins'][_0x1f2f('0x26')]('TrackChangesEditing'),_0x4bd4f1=_0x15e745[_0x1f2f('0x2a')][_0x1f2f('0x26')]('Annotations'),_0x4b5069=_0x15e745[_0x1f2f('0x2a')][_0x1f2f('0x26')](_0x1f2f('0x18')),_0x4ea40a=_0x15e745[_0x1f2f('0x2a')][_0x1f2f('0x26')](_0x1f2f('0x69'));_0x15e745['ui'][_0x1f2f('0x39')][_0x1f2f('0x2b')](_0x1f2f('0x60'),_0x499932=>this['_createUIButton'](_0x499932)),_0x4b5069['addSourceCollector'](()=>{const _0x464386=[];for(const [_0x49ac0c,_0x50f1fb]of Array['from'](this[_0x1f2f('0x3d')])){const _0x15f786=_0x49ac0c[_0x1f2f('0x3e')](),_0x9a25b0=[];for(const _0x2427c7 of _0x15f786){if(!_0x2427c7[_0x1f2f('0x5d')])continue;if(_0x2427c7[_0x1f2f('0x6b')]){_0x9a25b0[_0x1f2f('0xe')](..._0x2427c7[_0x1f2f('0xd')]());continue;}const _0x2bf1a7=_0x2427c7[_0x1f2f('0xa')]();if(_0x9a25b0['length']>0x0){const _0x4662b6=_0x9a25b0[0x0]['getJoined'](_0x2bf1a7);if(_0x4662b6){_0x9a25b0[0x0]=_0x4662b6;continue;}}_0x9a25b0[_0x1f2f('0xe')](_0x2bf1a7);}_0x464386[_0x1f2f('0xe')]([_0x50f1fb[_0x1f2f('0x1a')],_0x9a25b0]);}return _0x464386;}),this['listenTo'](_0xc9e2a3,_0x1f2f('0x45'),(_0x3c5664,_0x49dc09)=>{this['listenTo'](_0x49dc09,_0x1f2f('0x59'),(_0x1965a4,_0x26a0e0,_0x5264a7,_0x25f927)=>{_0x49dc09['isInContent']&&(null==_0x5264a7?(this[_0x1f2f('0x8')](_0x25f927[_0x1f2f('0x65')]),this[_0x1f2f('0x25')](_0x49dc09,!0x1)):(this[_0x1f2f('0x8')](_0x5264a7['head']),null==_0x25f927&&this[_0x1f2f('0x25')](_0x49dc09,!0x0)));}),null!==_0x49dc09['previous']?this[_0x1f2f('0x8')](_0x49dc09['head']):this[_0x1f2f('0x25')](_0x49dc09,!0x1);}),this['listenTo'](_0xc9e2a3,_0x1f2f('0x5b'),(_0xd9e2e6,_0x4d6408,_0x42535c)=>{this['stopListening'](_0x4d6408,_0x1f2f('0x59')),this[_0x1f2f('0x30')]['delete'](_0x4d6408),this[_0x1f2f('0x3d')][_0x1f2f('0x55')](_0x4d6408)&&this[_0x1f2f('0x61')](_0x4d6408),_0x42535c&&this[_0x1f2f('0x8')](_0x42535c[_0x1f2f('0x65')]);}),this[_0x1f2f('0x22')](_0xc9e2a3,_0x1f2f('0x5c'),(_0x5d9a21,_0x6d14ce)=>{this['_updateController'](_0x6d14ce);}),this[_0x1f2f('0x22')](_0x4bd4f1,_0x1f2f('0x1e'),()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0x4ea40a,_0x1f2f('0xb'),(_0x5197cb,{threadId:_0x43ba0d,isFromAdapter:_0x109987})=>{if(_0x109987||!_0xc9e2a3['hasSuggestion'](_0x43ba0d))return;const _0x544e83=_0xc9e2a3[_0x1f2f('0x49')](_0x43ba0d);this[_0x1f2f('0x3d')]['get'](_0x544e83)[_0x1f2f('0x1a')][_0x1f2f('0x48')]();},{'priority':_0x1f2f('0x57')});}[_0x1f2f('0x63')](){const _0x3aa900=this[_0x1f2f('0x4d')][_0x1f2f('0x2a')]['get'](_0x1f2f('0x6d')),_0x3f2d94=this['editor'][_0x1f2f('0x2a')]['get'](_0x1f2f('0x3b')),_0x462640=Array['from'](_0x3aa900[_0x1f2f('0x3')],_0x1a2e8d=>_0x1a2e8d[_0x1f2f('0x1f')])[_0x1f2f('0x54')](_0x1ea6d6=>this['_viewToController']['has'](_0x1ea6d6)),_0x57970c=[];for(const _0x77122f of _0x462640){const _0x15f623=this['_viewToController']['get'](_0x77122f)[_0x1f2f('0x29')][_0x1f2f('0x3e')]();_0x57970c[_0x1f2f('0xe')](..._0x15f623[_0x1f2f('0x0')]((_0x128cff,_0x1bedf0)=>[..._0x128cff,..._0x1bedf0[_0x1f2f('0xf')]()],[]));}_0x3f2d94[_0x1f2f('0x52')]=_0x57970c;}['_createUIButton'](_0xd75a16){const _0x4d865a=_0x1d95ba(_0xd75a16,_0x2660b6),_0x598f0f=this['editor'][_0x1f2f('0x35')][_0x1f2f('0x26')](_0x1f2f('0x60')),_0x5948cd=_0x48585b(_0xd75a16,'Track\x20changes');_0x4d865a['buttonView'][_0x1f2f('0x5e')]({'tooltip':_0x5948cd,'label':_0x5948cd,'icon':_0x3e4ad2}),_0x4d865a['buttonView'][_0x1f2f('0x64')](_0x1f2f('0x51'))['to'](_0x598f0f,_0x1f2f('0x2f')),_0x4d865a['buttonView']['on']('execute',()=>{_0x598f0f[_0x1f2f('0x38')](),this[_0x1f2f('0x4d')][_0x1f2f('0x3c')][_0x1f2f('0x1a')][_0x1f2f('0x48')]();});const _0x53fd26=new _0x4ddcfa(),_0x6f8bf=[{'type':_0x1f2f('0x2e'),'model':{'withText':!0x0,'label':_0x5948cd,'commandName':_0x1f2f('0x60')}},{'type':_0x1f2f('0x28')},{'type':_0x1f2f('0x2'),'model':{'withText':!0x0,'label':_0x48585b(_0xd75a16,_0x1f2f('0x11')),'commandName':'acceptAllSuggestions'}},{'type':'button','model':{'withText':!0x0,'label':_0x48585b(_0xd75a16,_0x1f2f('0x21')),'commandName':_0x1f2f('0x42')}},{'type':'button','model':{'withText':!0x0,'label':_0x48585b(_0xd75a16,_0x1f2f('0x4c')),'commandName':_0x1f2f('0x20')}},{'type':_0x1f2f('0x2'),'model':{'withText':!0x0,'label':_0x48585b(_0xd75a16,_0x1f2f('0x36')),'commandName':_0x1f2f('0x5a')}}];for(const _0x1809fc of _0x6f8bf){let _0x4de6a5={'type':_0x1f2f('0x28')};if(_0x1809fc[_0x1f2f('0x29')]){const _0x2a05c1=new _0x3f2ace(_0x1809fc[_0x1f2f('0x29')]),_0x5c0f60=this[_0x1f2f('0x4d')][_0x1f2f('0x35')]['get'](_0x2a05c1[_0x1f2f('0x6a')]);_0x2a05c1['bind'](_0x1f2f('0x51'),_0x1f2f('0x1d'))['to'](_0x5c0f60,_0x1f2f('0x2f'),'isEnabled'),_0x4de6a5={'type':_0x1809fc[_0x1f2f('0x4b')],'model':_0x2a05c1};}_0x53fd26[_0x1f2f('0x2b')](_0x4de6a5);}_0x2e5c24(_0x4d865a,_0x53fd26);const _0x41d153=_0x6f8bf[_0x1f2f('0x54')](_0x3c9050=>null!=_0x3c9050[_0x1f2f('0x29')])[_0x1f2f('0x2c')](_0xa8971d=>this[_0x1f2f('0x4d')][_0x1f2f('0x35')][_0x1f2f('0x26')](_0xa8971d[_0x1f2f('0x29')]['commandName'])),_0x175bbe=_0x4d865a[_0x1f2f('0x33')];return _0x175bbe[_0x1f2f('0x44')][_0x1f2f('0x4e')]('isEnabled'),_0x175bbe[_0x1f2f('0x9')][_0x1f2f('0x4e')](_0x1f2f('0x1d')),_0x175bbe[_0x1f2f('0x44')][_0x1f2f('0x64')](_0x1f2f('0x1d'))['to'](_0x598f0f,'isEnabled'),_0x175bbe[_0x1f2f('0x9')]['bind'](_0x1f2f('0x1d'))[_0x1f2f('0x32')](_0x41d153,_0x1f2f('0x1d'),(..._0x4c3313)=>_0x4c3313[_0x1f2f('0x1')](_0x44040c=>_0x44040c)),_0x4d865a['on'](_0x1f2f('0x38'),_0x2db7b1=>{this['editor']['execute'](_0x2db7b1[_0x1f2f('0x15')]['commandName']),this['editor'][_0x1f2f('0x3c')][_0x1f2f('0x1a')][_0x1f2f('0x48')]();}),_0x4d865a;}[_0x1f2f('0x6')](_0x346be1){const _0x18ed6f=this['editor'],_0x41a2fd=_0x18ed6f[_0x1f2f('0x47')],_0x2ecef6=_0x18ed6f[_0x1f2f('0x2a')][_0x1f2f('0x26')](_0x1f2f('0x6d')),_0x380e62=_0x18ed6f[_0x1f2f('0x2a')][_0x1f2f('0x26')](_0x1f2f('0x69')),_0x53ab20=_0x18ed6f[_0x1f2f('0x2a')]['get'](_0x1f2f('0x18')),_0x4fcd6d=_0x18ed6f[_0x1f2f('0x2a')][_0x1f2f('0x26')](_0x5c70cf)['me'],_0x54d96b=_0x41a2fd['get'](_0x1f2f('0x60'))['SuggestionThreadView'],{CommentsListView:_0x1bb8a3,CommentThreadInputView:_0x43b76e}=_0x18ed6f[_0x1f2f('0x2a')]['get']('CommentsUI');let _0x57bd38,_0x842590;this['_annotationViews'][_0x1f2f('0x55')](_0x346be1['id'])?(_0x842590=this['_annotationViews'][_0x1f2f('0x26')](_0x346be1['id']),_0x57bd38=_0x842590[_0x1f2f('0x17')]):(_0x57bd38=new _0x54d96b(_0x18ed6f[_0x1f2f('0x1b')],_0x346be1,_0x4fcd6d,{'disableComments':this[_0x1f2f('0x46')],'editorConfig':_0x41a2fd[_0x1f2f('0x26')](_0x1f2f('0x3f')),'maxCommentsWhenCollapsed':_0x41a2fd[_0x1f2f('0x26')](_0x1f2f('0x34')),'maxThreadTotalWeight':_0x41a2fd[_0x1f2f('0x26')]('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x41a2fd[_0x1f2f('0x26')](_0x1f2f('0x12')),'formatDateTime':_0x3794ac(_0x41a2fd[_0x1f2f('0x26')]('locale')),'CommentView':_0x41a2fd[_0x1f2f('0x26')](_0x1f2f('0x7'))[_0x1f2f('0x13')],'CommentsListView':_0x1bb8a3,'CommentThreadInputView':_0x43b76e}),_0x57bd38['acceptButton']['on'](_0x1f2f('0x38'),()=>{_0x18ed6f[_0x1f2f('0x3c')][_0x1f2f('0x1a')][_0x1f2f('0x48')]();}),_0x57bd38['discardButton']['on']('execute',()=>{_0x18ed6f[_0x1f2f('0x3c')][_0x1f2f('0x1a')]['focus']();}),_0x842590=_0x2ecef6[_0x1f2f('0x68')](this[_0x1f2f('0x4d')][_0x1f2f('0x1b')],_0x57bd38),_0x842590[_0x1f2f('0x64')]('isDirty')['to'](_0x57bd38,_0x1f2f('0x16')),_0x842590[_0x1f2f('0x64')](_0x1f2f('0x10'))['to'](_0x57bd38),_0x842590['bind']('type')['to'](_0x57bd38,_0x1f2f('0x4b'),_0x220dfe=>_0x1f2f('0x24')+_0x220dfe),this[_0x1f2f('0x58')][_0x1f2f('0x5e')](_0x346be1['id'],_0x842590));const _0x536974=_0x380e62[_0x1f2f('0x5')](_0x346be1[_0x1f2f('0x23')],_0x57bd38),_0x4b896d=new _0x568dd8(_0x18ed6f,_0x346be1,_0x57bd38,_0x536974),_0x19a582=_0x346be1['getAllAdjacentSuggestions']()['filter'](_0x5b238f=>_0x5b238f['isInContent']);_0x57bd38[_0x1f2f('0x41')]=_0x18ed6f[_0x1f2f('0x2a')][_0x1f2f('0x26')](_0x1f2f('0x3b'))['_descriptionFactory'][_0x1f2f('0x19')](_0x19a582),this[_0x1f2f('0x3d')][_0x1f2f('0x5e')](_0x346be1,_0x4b896d),this[_0x1f2f('0x5f')]['set'](_0x57bd38,_0x4b896d);const _0x5bd904=_0x2ecef6[_0x1f2f('0x4a')]({'view':_0x842590,'target':()=>{const _0x4bd12c=[],_0x4b288a=_0x346be1[_0x1f2f('0x3e')]()[_0x1f2f('0x54')](_0x113cd7=>_0x113cd7[_0x1f2f('0x5d')]);for(const _0x574bd7 of _0x4b288a)_0x4bd12c[_0x1f2f('0xe')](..._0x574bd7[_0x1f2f('0x31')]());return _0x17d8ab(_0x18ed6f[_0x1f2f('0x3c')],_0x4bd12c);},'type':()=>_0x1f2f('0x24')+_0x4b896d[_0x1f2f('0x1a')]['type']});_0x380e62[_0x1f2f('0x66')](_0x57bd38,_0x5bd904),_0x2ecef6[_0x1f2f('0x2b')](_0x5bd904),_0x53ab20[_0x1f2f('0x6c')](_0x5bd904);}['_destroyController'](_0x38908f){const _0x47be7c=this[_0x1f2f('0x4d')][_0x1f2f('0x2a')][_0x1f2f('0x26')](_0x1f2f('0x69')),_0x2df341=this['editor']['plugins'][_0x1f2f('0x26')](_0x1f2f('0x6d')),_0x29e916=this[_0x1f2f('0x3d')][_0x1f2f('0x26')](_0x38908f),_0x196aab=_0x29e916[_0x1f2f('0x1a')],_0x42e8d6=_0x2df341[_0x1f2f('0x56')](_0x196aab);_0x47be7c[_0x1f2f('0x14')](_0x196aab),_0x42e8d6&&_0x2df341[_0x1f2f('0x2d')](_0x42e8d6),this[_0x1f2f('0x3d')]['delete'](_0x38908f),this[_0x1f2f('0x5f')]['delete'](_0x196aab),_0x29e916[_0x1f2f('0x53')]();}[_0x1f2f('0x8')](_0x452e30){if(!_0x452e30[_0x1f2f('0x5d')]||!this[_0x1f2f('0x3d')][_0x1f2f('0x55')](_0x452e30))return;const _0x5b5173=this[_0x1f2f('0x4d')][_0x1f2f('0x2a')][_0x1f2f('0x26')](_0x1f2f('0x3b')),_0x51baf0=this['_suggestionToController'][_0x1f2f('0x26')](_0x452e30),_0x31eabc=_0x452e30['getAllAdjacentSuggestions']();_0x51baf0[_0x1f2f('0x1a')][_0x1f2f('0x41')]=_0x5b5173[_0x1f2f('0x67')][_0x1f2f('0x19')](_0x31eabc);}[_0x1f2f('0x53')](){for(const _0x37d412 of this[_0x1f2f('0x3d')][_0x1f2f('0x27')]())this['_destroyController'](_0x37d412);for(const _0x4e2758 of this[_0x1f2f('0x58')][_0x1f2f('0xc')]())_0x4e2758[_0x1f2f('0x17')][_0x1f2f('0x53')]();super['destroy']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x228b=['model','remove','commentThreadController','canDiscard','view','get','locale','unbind','stopListening','_removePendingAction','_editor','canAccept','isDirty','getRanges','commands','destroy','canEditAt','add','isEnabled','change:isDirty','_acceptCommand','_discardCommand','_setPendingAction','execute','discardSuggestion','PENDING_ACTION_SUGGESTION','bind','acceptSuggestion','PendingActions','plugins','_pendingAction'];(function(_0x581700,_0x228b13){const _0x1ab7cd=function(_0x2b10a3){while(--_0x2b10a3){_0x581700['push'](_0x581700['shift']());}};_0x1ab7cd(++_0x228b13);}(_0x228b,0x1d6));const _0x1ab7=function(_0x581700,_0x228b13){_0x581700=_0x581700-0x0;let _0x1ab7cd=_0x228b[_0x581700];return _0x1ab7cd;};import{ObservableMixin as _0x1d1d96}from'ckeditor5/src/utils';import{getTranslation as _0x40872b}from'../utils/common-translations';export default class Qt extends _0x1d1d96(){constructor(_0x13cf07,_0x2447ae,_0x5bd908,_0x92eac2){super(),this[_0x1ab7('0x1a')]=_0x2447ae,this[_0x1ab7('0x1e')]=_0x5bd908,this[_0x1ab7('0x1c')]=_0x92eac2,this[_0x1ab7('0x5')]=_0x13cf07,this[_0x1ab7('0xf')]=_0x13cf07[_0x1ab7('0x9')]['get'](_0x1ab7('0x16')),this[_0x1ab7('0x10')]=_0x13cf07[_0x1ab7('0x9')][_0x1ab7('0x0')](_0x1ab7('0x13')),this[_0x1ab7('0x1e')][_0x1ab7('0x15')]('isEnabled')['to'](this[_0x1ab7('0xf')],this[_0x1ab7('0x10')],(_0x322d0b,_0x491c8f)=>_0x322d0b||_0x491c8f),this['view'][_0x1ab7('0x15')](_0x1ab7('0x6'))['to'](this[_0x1ab7('0xf')],_0x1ab7('0xd'),_0x4d4d2f=>_0x4d4d2f&&this[_0x1ab7('0x5')][_0x1ab7('0x1a')][_0x1ab7('0xb')](_0x2447ae[_0x1ab7('0x8')]())),this['view']['bind'](_0x1ab7('0x1d'))['to'](this[_0x1ab7('0x10')],_0x1ab7('0xd'),_0x37ab02=>_0x37ab02&&this['_editor'][_0x1ab7('0x1a')][_0x1ab7('0xb')](_0x2447ae[_0x1ab7('0x8')]())),this[_0x1ab7('0x19')]=null,_0x5bd908[_0x1ab7('0x7')]&&this['_setPendingAction'](),this['listenTo'](_0x5bd908,'acceptSuggestion',()=>this[_0x1ab7('0x16')]()),this['listenTo'](_0x5bd908,_0x1ab7('0x13'),()=>this[_0x1ab7('0x13')]()),this['listenTo'](_0x5bd908,_0x1ab7('0xe'),()=>{_0x5bd908[_0x1ab7('0x7')]?this[_0x1ab7('0x11')]():this[_0x1ab7('0x4')]();});}[_0x1ab7('0x16')](){this[_0x1ab7('0xf')][_0x1ab7('0x12')](this[_0x1ab7('0x1a')]['id']);}[_0x1ab7('0x13')](){this[_0x1ab7('0x10')][_0x1ab7('0x12')](this['model']['id']);}[_0x1ab7('0xa')](){this[_0x1ab7('0x1e')]['unbind'](_0x1ab7('0xd')),this['view'][_0x1ab7('0x2')](_0x1ab7('0x6')),this[_0x1ab7('0x1e')][_0x1ab7('0x2')]('canDiscard'),this[_0x1ab7('0x3')](),this[_0x1ab7('0x1c')][_0x1ab7('0xa')](),this[_0x1ab7('0x19')]&&this['_removePendingAction']();}['_setPendingAction'](){const _0x5bb2c2=_0x40872b(this[_0x1ab7('0x5')][_0x1ab7('0x1')],_0x1ab7('0x14'));this[_0x1ab7('0x19')]=this[_0x1ab7('0x5')]['plugins'][_0x1ab7('0x0')](_0x1ab7('0x17'))[_0x1ab7('0xc')](_0x5bb2c2);}[_0x1ab7('0x4')](){null!==this['_pendingAction']&&this[_0x1ab7('0x5')][_0x1ab7('0x18')]['get'](_0x1ab7('0x17'))[_0x1ab7('0x1b')](this['_pendingAction']),this['_pendingAction']=null;}}
23
+ const _0xac77=['unbind','model','getRanges','_setPendingAction','PendingActions','view','commentThreadController','_removePendingAction','canEditAt','listenTo','remove','_editor','add','_discardCommand','isDirty','_pendingAction','_acceptCommand','commands','isEnabled','locale','canDiscard','stopListening','canAccept','destroy','change:isDirty','discardSuggestion','acceptSuggestion','execute','bind','get','PENDING_ACTION_SUGGESTION'];(function(_0x28f9cc,_0xac77a4){const _0x457883=function(_0xa11aad){while(--_0xa11aad){_0x28f9cc['push'](_0x28f9cc['shift']());}};_0x457883(++_0xac77a4);}(_0xac77,0x110));const _0x4578=function(_0x28f9cc,_0xac77a4){_0x28f9cc=_0x28f9cc-0x0;let _0x457883=_0xac77[_0x28f9cc];return _0x457883;};import{ObservableMixin as _0x36f9c6}from'ckeditor5/src/utils';import{getTranslation as _0x19d42a}from'../utils/common-translations';export default class Qt extends _0x36f9c6(){constructor(_0x4aaa03,_0x3a7373,_0x55d0b9,_0x48c72d){super(),this[_0x4578('0x8')]=_0x3a7373,this[_0x4578('0xc')]=_0x55d0b9,this[_0x4578('0xd')]=_0x48c72d,this[_0x4578('0x12')]=_0x4aaa03,this[_0x4578('0x17')]=_0x4aaa03[_0x4578('0x18')][_0x4578('0x5')](_0x4578('0x2')),this['_discardCommand']=_0x4aaa03[_0x4578('0x18')][_0x4578('0x5')](_0x4578('0x1')),this['view'][_0x4578('0x4')]('isEnabled')['to'](this[_0x4578('0x17')],this[_0x4578('0x14')],(_0xa227ba,_0x2cbd61)=>_0xa227ba||_0x2cbd61),this[_0x4578('0xc')][_0x4578('0x4')](_0x4578('0x1d'))['to'](this[_0x4578('0x17')],'isEnabled',_0x24660b=>_0x24660b&&this[_0x4578('0x12')]['model'][_0x4578('0xf')](_0x3a7373[_0x4578('0x9')]())),this[_0x4578('0xc')][_0x4578('0x4')](_0x4578('0x1b'))['to'](this['_discardCommand'],_0x4578('0x19'),_0x5920ff=>_0x5920ff&&this[_0x4578('0x12')][_0x4578('0x8')]['canEditAt'](_0x3a7373['getRanges']())),this['_pendingAction']=null,_0x55d0b9[_0x4578('0x15')]&&this[_0x4578('0xa')](),this[_0x4578('0x10')](_0x55d0b9,_0x4578('0x2'),()=>this[_0x4578('0x2')]()),this[_0x4578('0x10')](_0x55d0b9,_0x4578('0x1'),()=>this[_0x4578('0x1')]()),this[_0x4578('0x10')](_0x55d0b9,_0x4578('0x0'),()=>{_0x55d0b9[_0x4578('0x15')]?this['_setPendingAction']():this[_0x4578('0xe')]();});}['acceptSuggestion'](){this[_0x4578('0x17')][_0x4578('0x3')](this[_0x4578('0x8')]['id']);}[_0x4578('0x1')](){this[_0x4578('0x14')][_0x4578('0x3')](this[_0x4578('0x8')]['id']);}[_0x4578('0x1e')](){this[_0x4578('0xc')][_0x4578('0x7')](_0x4578('0x19')),this['view']['unbind']('canAccept'),this[_0x4578('0xc')][_0x4578('0x7')](_0x4578('0x1b')),this[_0x4578('0x1c')](),this[_0x4578('0xd')][_0x4578('0x1e')](),this[_0x4578('0x16')]&&this[_0x4578('0xe')]();}[_0x4578('0xa')](){const _0x89fe7b=_0x19d42a(this['_editor'][_0x4578('0x1a')],_0x4578('0x6'));this[_0x4578('0x16')]=this[_0x4578('0x12')]['plugins'][_0x4578('0x5')]('PendingActions')[_0x4578('0x13')](_0x89fe7b);}[_0x4578('0xe')](){null!==this[_0x4578('0x16')]&&this[_0x4578('0x12')]['plugins'][_0x4578('0x5')](_0x4578('0xb'))[_0x4578('0x11')](this[_0x4578('0x16')]),this['_pendingAction']=null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f10=['submit','commentsListView','hasDirtyComment','value','_createCommentThreadInputView','isDirty','destroy','CommentView','focus','disabledSubmit','assign','updateComment','removeComment','delegate','set','commentThread','disableComments','isReadOnly','canDiscard','_localUser','addComment','_config','locale','_createCommentViews','fire','cancel','commentInputView','bind','authoredAt','commentThreadInputView','_model','isActive','length'];(function(_0x3259d7,_0x1f1076){const _0x194792=function(_0x1487df){while(--_0x1487df){_0x3259d7['push'](_0x3259d7['shift']());}};_0x194792(++_0x1f1076);}(_0x1f10,0x137));const _0x1947=function(_0x3259d7,_0x1f1076){_0x3259d7=_0x3259d7-0x0;let _0x194792=_0x1f10[_0x3259d7];return _0x194792;};import{View as _0x16b162}from'ckeditor5/src/ui';export default class si extends _0x16b162{constructor(_0x854e0b,_0x321ab6,_0x1210dd,_0x47b1c2){super(_0x854e0b),this[_0x1947('0x14')]=null,this[_0x1947('0xf')]=null,this['set'](_0x1947('0x11'),!0x1),this['set'](_0x1947('0xe'),_0x321ab6['authoredAt']),this[_0x1947('0xd')](_0x1947('0xe'))['to'](_0x321ab6),this['set']('descriptionParts',[]),this[_0x1947('0x0')](_0x1947('0x18'),!0x1),this[_0x1947('0x0')]('isEnabled',!0x1),this['set']('canAccept',!0x1),this['set'](_0x1947('0x4'),!0x1),this['_model']=_0x321ab6,this['_localUser']=_0x1210dd,this[_0x1947('0x7')]=_0x47b1c2,_0x47b1c2[_0x1947('0x2')]?this[_0x1947('0x0')](_0x1947('0x12'),0x1):this[_0x1947('0x9')]();}[_0x1947('0x1b')](){this['element'][_0x1947('0x1b')]();}[_0x1947('0x19')](){this[_0x1947('0x14')]&&this[_0x1947('0x14')]['destroy'](),this[_0x1947('0xf')]&&this[_0x1947('0xf')][_0x1947('0x19')](),super['destroy']();}[_0x1947('0x9')](){const {CommentsListView:_0x4fa77e}=this['_config'];this[_0x1947('0x14')]=new _0x4fa77e(this[_0x1947('0x8')],this['_model'][_0x1947('0x1')],Object[_0x1947('0x1d')]({'CommentView':this[_0x1947('0x7')][_0x1947('0x1a')]},this[_0x1947('0x7')])),this[_0x1947('0x14')][_0x1947('0x20')](_0x1947('0x1f'))['to'](this),this[_0x1947('0x14')][_0x1947('0x20')](_0x1947('0x1e'))['to'](this),this[_0x1947('0x14')][_0x1947('0xd')]('isActive')['to'](this),this[_0x1947('0x0')](_0x1947('0x12'),this[_0x1947('0x14')][_0x1947('0x12')]+0x1),this[_0x1947('0xd')](_0x1947('0x12'))['to'](this[_0x1947('0x14')],_0x1947('0x12'),_0x108794=>_0x108794+0x1),this[_0x1947('0xf')]=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this[_0x1947('0x1b')]()),this[_0x1947('0xd')](_0x1947('0x18'))['to'](this[_0x1947('0x14')],_0x1947('0x15'),this[_0x1947('0xf')][_0x1947('0xc')],_0x1947('0x16'),(_0x501c07,_0x4919c0)=>_0x501c07||!!_0x4919c0);}[_0x1947('0x17')](){const {CommentThreadInputView:_0x3cbc51}=this[_0x1947('0x7')],_0x3bc088=new _0x3cbc51(this['locale'],this[_0x1947('0x5')],this[_0x1947('0x7')]['editorConfig']),_0x16443c=_0x3bc088[_0x1947('0xc')];return _0x3bc088[_0x1947('0xd')]('showInput')['to'](this,'isActive',this[_0x1947('0x10')][_0x1947('0x1')],'isReadOnly',_0x16443c,_0x1947('0x16'),(_0x2159b6,_0x2b6b7a,_0x562bf8)=>!!_0x562bf8||_0x2159b6&&!_0x2b6b7a),_0x16443c['on'](_0x1947('0x13'),(_0x3a5582,_0x56f85b)=>{this[_0x1947('0xa')](_0x1947('0x6'),_0x56f85b),_0x16443c['editor']['setData']('');}),_0x16443c['on'](_0x1947('0xb'),()=>this['focus']()),_0x16443c[_0x1947('0xd')](_0x1947('0x1c'))['to'](this[_0x1947('0x10')][_0x1947('0x1')],_0x1947('0x3')),_0x3bc088;}}
23
+ const _0x354b=['value','_config','authoredAt','showInput','canDiscard','fire','removeComment','isEnabled','_localUser','CommentView','isActive','destroy','isDirty','locale','focus','editorConfig','commentsListView','submit','bind','_model','isReadOnly','element','length','cancel','set','assign','setData','delegate','commentThreadInputView','disableComments','updateComment','hasDirtyComment','commentThread','commentInputView','disabledSubmit'];(function(_0x5bb335,_0x354bf0){const _0x2b96cf=function(_0x5a9145){while(--_0x5a9145){_0x5bb335['push'](_0x5bb335['shift']());}};_0x2b96cf(++_0x354bf0);}(_0x354b,0x1e5));const _0x2b96=function(_0x5bb335,_0x354bf0){_0x5bb335=_0x5bb335-0x0;let _0x2b96cf=_0x354b[_0x5bb335];return _0x2b96cf;};import{View as _0x3bf6b7}from'ckeditor5/src/ui';export default class si extends _0x3bf6b7{constructor(_0x18f79f,_0x19536c,_0x3b7d5f,_0x34ee84){super(_0x18f79f),this['commentsListView']=null,this[_0x2b96('0x21')]=null,this['set']('isActive',!0x1),this['set']('authoredAt',_0x19536c[_0x2b96('0x7')]),this[_0x2b96('0x17')]('authoredAt')['to'](_0x19536c),this[_0x2b96('0x1d')]('descriptionParts',[]),this['set']('isDirty',!0x1),this[_0x2b96('0x1d')](_0x2b96('0xc'),!0x1),this[_0x2b96('0x1d')]('canAccept',!0x1),this[_0x2b96('0x1d')](_0x2b96('0x9'),!0x1),this[_0x2b96('0x18')]=_0x19536c,this[_0x2b96('0xd')]=_0x3b7d5f,this[_0x2b96('0x6')]=_0x34ee84,_0x34ee84[_0x2b96('0x22')]?this[_0x2b96('0x1d')](_0x2b96('0x1b'),0x1):this['_createCommentViews']();}[_0x2b96('0x13')](){this[_0x2b96('0x1a')][_0x2b96('0x13')]();}['destroy'](){this['commentsListView']&&this[_0x2b96('0x15')]['destroy'](),this['commentThreadInputView']&&this['commentThreadInputView'][_0x2b96('0x10')](),super[_0x2b96('0x10')]();}['_createCommentViews'](){const {CommentsListView:_0x250d07}=this[_0x2b96('0x6')];this['commentsListView']=new _0x250d07(this[_0x2b96('0x12')],this[_0x2b96('0x18')][_0x2b96('0x2')],Object[_0x2b96('0x1e')]({'CommentView':this[_0x2b96('0x6')][_0x2b96('0xe')]},this['_config'])),this['commentsListView'][_0x2b96('0x20')](_0x2b96('0xb'))['to'](this),this[_0x2b96('0x15')]['delegate'](_0x2b96('0x0'))['to'](this),this[_0x2b96('0x15')]['bind'](_0x2b96('0xf'))['to'](this),this[_0x2b96('0x1d')](_0x2b96('0x1b'),this['commentsListView']['length']+0x1),this[_0x2b96('0x17')]('length')['to'](this[_0x2b96('0x15')],_0x2b96('0x1b'),_0x3cafad=>_0x3cafad+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on'](_0x2b96('0xb'),()=>this['focus']()),this['bind'](_0x2b96('0x11'))['to'](this['commentsListView'],_0x2b96('0x1'),this[_0x2b96('0x21')]['commentInputView'],_0x2b96('0x5'),(_0x5dbbc2,_0x42108c)=>_0x5dbbc2||!!_0x42108c);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x200345}=this[_0x2b96('0x6')],_0x1f26fa=new _0x200345(this[_0x2b96('0x12')],this[_0x2b96('0xd')],this['_config'][_0x2b96('0x14')]),_0x51136b=_0x1f26fa[_0x2b96('0x3')];return _0x1f26fa[_0x2b96('0x17')](_0x2b96('0x8'))['to'](this,'isActive',this[_0x2b96('0x18')]['commentThread'],_0x2b96('0x19'),_0x51136b,_0x2b96('0x5'),(_0x371bbc,_0x59fd25,_0x28ca5d)=>!!_0x28ca5d||_0x371bbc&&!_0x59fd25),_0x51136b['on'](_0x2b96('0x16'),(_0x2ef5ca,_0xb0b3b4)=>{this[_0x2b96('0xa')]('addComment',_0xb0b3b4),_0x51136b['editor'][_0x2b96('0x1f')]('');}),_0x51136b['on'](_0x2b96('0x1c'),()=>this[_0x2b96('0x13')]()),_0x51136b[_0x2b96('0x17')](_0x2b96('0x4'))['to'](this[_0x2b96('0x18')][_0x2b96('0x2')],'isReadOnly'),_0x1f26fa;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bcf=['cancel','authoredAt','createElement','acceptButton','ck-annotation__info','children','ck-suggestion-wrapper','fire','EXTERNAL_AVATAR','EXTERNAL_IMPORT_WORD_SUGGESTION','set','attributes','ck-suggestion-wrapper--active','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','</p>','change:description','_createButton','render','commentThread','EXTERNAL_SUGGESTION','ck-suggestion__info-name','div','innerText','bind','ck-annotation__info-name','description','editorDestroyed','discardSuggestion','canAccept','ck-suggestion','element','canDiscard','disableComments','author','acceptSuggestion','ck-annotation','discardButton','setTemplate','creator','color','value','ck-suggestion__user','<span\x20class=\x22ck-suggestion-type\x22>','execute','.ck-annotation__content-wrapper','ck-annotation__content-wrapper','ck-annotation__main','push','ck-comment__external','ck-suggestion__actions','ck-suggestion-','span','_descriptionElement','getExternalSuggestionNote','type','source','name','map','_config','</span>','\x22></span>','editorReady','_model','ck-suggestion--discard','Discard\x20suggestion','ck-annotation__actions','commentThreadInputView','isExternal','join','isActive','getUserViewNotificationText','innerHTML','title','ck-suggestion--accept','commentsListView','extendTemplate','descriptionParts','<p>','locale','isEnabled','delegate','importWord','EXTERNAL_IMPORT_WORD_AVATAR','userView','@external'];(function(_0x14f5c8,_0x5bcfd5){const _0x1bdc9e=function(_0x3f24ab){while(--_0x3f24ab){_0x14f5c8['push'](_0x14f5c8['shift']());}};_0x1bdc9e(++_0x5bcfd5);}(_0x5bcf,0xbc));const _0x1bdc=function(_0x14f5c8,_0x5bcfd5){_0x14f5c8=_0x14f5c8-0x0;let _0x1bdc9e=_0x5bcf[_0x14f5c8];return _0x1bdc9e;};import{getTranslation as _0x5ae40a}from'../../utils/common-translations';import{default as _0x20f4b3}from'./basesuggestionthreadview';import{ButtonView as _0x5831e8}from'ckeditor5/src/ui';import{icons as _0x3d73b4}from'ckeditor5/src/core';import{trimHtml as _0x183472,UserView as _0x3b77cf}from'ckeditor5-collaboration/src/collaboration-core';export default class Xt extends _0x20f4b3{constructor(_0x5ed200,_0x5cbde6,_0x3e6a17,_0x28f04d){super(_0x5ed200,_0x5cbde6,_0x3e6a17,_0x28f04d),this[_0x1bdc('0x4d')](_0x1bdc('0x24'),''),this[_0x1bdc('0x5')](_0x1bdc('0x24'))['to'](this,_0x1bdc('0x3a'),_0x1d47e4=>_0x1d47e4&&_0x1d47e4[0x0]?_0x1d47e4[0x0][_0x1bdc('0x24')]:''),this[_0x1bdc('0x5')](_0x1bdc('0x7'))['to'](this,_0x1bdc('0x3a'),this,_0x1bdc('0x33'),(_0x135125,_0x35d4ca)=>{let _0x334862='';for(const _0x3b557f of _0x135125)_0x334862+=_0x1bdc('0x3b')+ci(_0x3b557f['content'],_0x3b557f[_0x1bdc('0x15')])+_0x1bdc('0x51');return _0x35d4ca?_0x334862:_0x183472(_0x334862,{'limit':0x8c});}),this[_0x1bdc('0x22')]=null,this[_0x1bdc('0x46')]=this[_0x1bdc('0x53')](_0x5ae40a(_0x5ed200,'Accept\x20suggestion'),_0x3d73b4['check'],_0x1bdc('0x37'),_0x1bdc('0x10'),'sw'),this[_0x1bdc('0x46')][_0x1bdc('0x5')]('isEnabled')['to'](this,_0x1bdc('0xa')),this['discardButton']=this['_createButton'](_0x5ae40a(_0x5ed200,_0x1bdc('0x2e')),_0x3d73b4[_0x1bdc('0x43')],_0x1bdc('0x2d'),_0x1bdc('0x9'),'sw'),this[_0x1bdc('0x12')][_0x1bdc('0x5')](_0x1bdc('0x3d'))['to'](this,_0x1bdc('0xd')),this['userView']=new _0x3b77cf(_0x5ed200,this['_model']['author'],this[_0x1bdc('0x34')]()),this[_0x1bdc('0x41')]['extendTemplate']({'attributes':{'class':[_0x1bdc('0x17'),'ck-annotation__user']}}),this[_0x1bdc('0x13')](this['getTemplate']());}['getTemplate'](){const _0x165321=this['bindTemplate'],_0x42f140=[{'tag':'div','attributes':{'class':['ck-suggestion__info',_0x1bdc('0x47')]},'children':[{'tag':_0x1bdc('0x21'),'children':[{'text':this[_0x1bdc('0x41')][_0x1bdc('0x26')]}],'attributes':{'class':[_0x1bdc('0x2'),_0x1bdc('0x6')]}},{'tag':'time','attributes':{'datetime':_0x165321['to'](_0x1bdc('0x44')),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x165321['to'](_0x1bdc('0x44'),_0x287136=>this['_config']['formatDateTime'](_0x287136))}]}]},{'tag':'div','attributes':{'class':[_0x1bdc('0x1f'),_0x1bdc('0x2f')]},'children':[this[_0x1bdc('0x46')],this['discardButton']]},{'tag':'div','attributes':{'class':[_0x1bdc('0x1b')]}}];this[_0x1bdc('0x2c')]['isExternal']&&_0x42f140[_0x1bdc('0x1d')]({'tag':_0x1bdc('0x3'),'attributes':{'class':[_0x1bdc('0x1e')]},'children':[{'text':this['getExternalSuggestionNote']()}]});const _0x1a9b8d={'tag':'div','attributes':{'class':[_0x1bdc('0x49'),_0x165321['if'](_0x1bdc('0x33'),_0x1bdc('0x4f')),_0x165321['to']('type',_0xb67a0=>_0x1bdc('0x20')+_0xb67a0),this[_0x1bdc('0x28')][_0x1bdc('0xe')]&&'ck-suggestion--disabled-comments'],'data-suggestion-id':this['_model']['id'],'data-thread-id':this[_0x1bdc('0x2c')][_0x1bdc('0x0')]['id'],'data-author-id':this[_0x1bdc('0x2c')][_0x1bdc('0xf')]['id'],'tabindex':-0x1},'children':[{'tag':_0x1bdc('0x3'),'attributes':{'class':[_0x1bdc('0xb'),_0x1bdc('0x11')]},'children':[this[_0x1bdc('0x41')],{'tag':_0x1bdc('0x3'),'attributes':{'class':['ck-suggestion__main',_0x1bdc('0x1c')]},'children':_0x42f140}]}]};return this[_0x1bdc('0x38')]&&this['commentThreadInputView']&&(_0x1a9b8d[_0x1bdc('0x48')]['push'](this[_0x1bdc('0x38')],this[_0x1bdc('0x30')]),this[_0x1bdc('0x38')][_0x1bdc('0x3e')](_0x1bdc('0x2b'))['to'](this),this[_0x1bdc('0x38')][_0x1bdc('0x3e')](_0x1bdc('0x8'))['to'](this),this['commentThreadInputView']['delegate'](_0x1bdc('0x2b'))['to'](this),this[_0x1bdc('0x30')][_0x1bdc('0x3e')](_0x1bdc('0x8'))['to'](this)),_0x1a9b8d;}[_0x1bdc('0x54')](){super[_0x1bdc('0x54')](),this[_0x1bdc('0x22')]=this[_0x1bdc('0xc')]['querySelector'](_0x1bdc('0x1a')),this[_0x1bdc('0x22')][_0x1bdc('0x35')]=this[_0x1bdc('0x7')],this['on'](_0x1bdc('0x52'),(_0x5e5b99,_0x98ca62,_0x43ecb7)=>{this[_0x1bdc('0x22')][_0x1bdc('0x35')]=_0x43ecb7;});}[_0x1bdc('0x53')](_0x2f51db,_0x34e395,_0x233bbd,_0x5b8df4,_0xf5f994){const _0x4e5882=new _0x5831e8(this['locale']);return _0x4e5882[_0x1bdc('0x4d')]({'label':_0x2f51db,'icon':_0x34e395,'tooltip':!0x0,'tooltipPosition':_0xf5f994}),_0x4e5882[_0x1bdc('0x39')]({'attributes':{'class':_0x233bbd}}),_0x4e5882['on'](_0x1bdc('0x19'),()=>{this[_0x1bdc('0x4a')](_0x5b8df4,this[_0x1bdc('0x2c')]['id']);}),_0x4e5882;}[_0x1bdc('0x23')](){return _0x1bdc('0x3f')===this[_0x1bdc('0x2c')][_0x1bdc('0x4e')]['@external'][_0x1bdc('0x25')]?_0x5ae40a(this[_0x1bdc('0x3c')],_0x1bdc('0x4c')):_0x5ae40a(this['locale'],_0x1bdc('0x1'));}[_0x1bdc('0x34')](){return this[_0x1bdc('0x2c')][_0x1bdc('0x31')]?_0x1bdc('0x3f')===this[_0x1bdc('0x2c')][_0x1bdc('0x4e')][_0x1bdc('0x42')]['source']?_0x5ae40a(this[_0x1bdc('0x3c')],_0x1bdc('0x40'),this[_0x1bdc('0x2c')][_0x1bdc('0x14')][_0x1bdc('0x26')]):_0x5ae40a(this[_0x1bdc('0x3c')],_0x1bdc('0x4b'),this[_0x1bdc('0x2c')][_0x1bdc('0x14')][_0x1bdc('0x26')]):null;}}function ci(_0x86dd8b,_0x2634cc){let _0x1f43b5='';return _0x1f43b5+=_0x86dd8b['split']('*')[_0x1bdc('0x27')]((_0x164261,_0x3bce72)=>_0x3bce72%0x2!=0x0?_0x1bdc('0x18')+ri(_0x164261)+_0x1bdc('0x29'):ri(_0x164261))[_0x1bdc('0x32')](''),_0x2634cc&&(_0x1f43b5+=_0x1bdc('0x50')+_0x2634cc[_0x1bdc('0x16')]+'\x22\x20title=\x22'+_0x2634cc[_0x1bdc('0x36')]+_0x1bdc('0x2a')),_0x1f43b5;}function ri(_0x748004){const _0x4a3744=document[_0x1bdc('0x45')](_0x1bdc('0x21'));return _0x4a3744[_0x1bdc('0x4')]=_0x748004,_0x4a3744[_0x1bdc('0x35')];}
23
+ const _0x2782=['Discard\x20suggestion','EXTERNAL_SUGGESTION','createElement','Accept\x20suggestion','set','querySelector','creator','@external','importWord','editorDestroyed','ck-suggestion-wrapper','setTemplate','ck-suggestion-wrapper--active','ck-annotation__actions','source','\x22\x20title=\x22','author','getExternalSuggestionNote','render','_config','commentThreadInputView','time','getUserViewNotificationText','title','type','ck-comment__info-time','children','name','fire','color','EXTERNAL_IMPORT_WORD_AVATAR','ck-suggestion__actions','isExternal','join','</p>','authoredAt','description','ck-annotation','_createButton','disableComments','bindTemplate','ck-annotation__info-name','change:description','value','acceptButton','ck-suggestion__info-name','getTemplate','</span>','.ck-annotation__content-wrapper','map','\x22></span>','content','delegate','extendTemplate','descriptionParts','ck-suggestion--discard','commentsListView','canDiscard','<p>','ck-suggestion__main','canAccept','ck-suggestion__user','span','bind','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','isEnabled','_descriptionElement','ck-comment__external','editorReady','discardButton','ck-annotation__info-time','push','ck-suggestion','formatDateTime','attributes','div','innerHTML','isActive','_model','userView','split','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-suggestion-','EXTERNAL_AVATAR','locale','ck-suggestion--accept','ck-annotation__user'];(function(_0x23a78a,_0x2782b9){const _0x803439=function(_0x455510){while(--_0x455510){_0x23a78a['push'](_0x23a78a['shift']());}};_0x803439(++_0x2782b9);}(_0x2782,0xf9));const _0x8034=function(_0x23a78a,_0x2782b9){_0x23a78a=_0x23a78a-0x0;let _0x803439=_0x2782[_0x23a78a];return _0x803439;};import{getTranslation as _0x40e7db}from'../../utils/common-translations';import{default as _0x8759af}from'./basesuggestionthreadview';import{ButtonView as _0x46ca1a}from'ckeditor5/src/ui';import{icons as _0xef154a}from'ckeditor5/src/core';import{trimHtml as _0xef0407,UserView as _0x5def66}from'ckeditor5-collaboration/src/collaboration-core';export default class Xt extends _0x8759af{constructor(_0x3218d8,_0x4f446d,_0x334c1a,_0x533ad5){super(_0x3218d8,_0x4f446d,_0x334c1a,_0x533ad5),this[_0x8034('0x10')](_0x8034('0x24'),''),this[_0x8034('0x4b')](_0x8034('0x24'))['to'](this,'descriptionParts',_0x518c45=>_0x518c45&&_0x518c45[0x0]?_0x518c45[0x0][_0x8034('0x24')]:''),this[_0x8034('0x4b')]('description')['to'](this,_0x8034('0x42'),this,_0x8034('0x2'),(_0x31bd1b,_0xbbafbd)=>{let _0x5f518d='';for(const _0x1b53dd of _0x31bd1b)_0x5f518d+=_0x8034('0x46')+ci(_0x1b53dd[_0x8034('0x3f')],_0x1b53dd[_0x8034('0x29')])+_0x8034('0x2e');return _0xbbafbd?_0x5f518d:_0xef0407(_0x5f518d,{'limit':0x8c});}),this['_descriptionElement']=null,this['acceptButton']=this[_0x8034('0x32')](_0x40e7db(_0x3218d8,_0x8034('0xf')),_0xef154a['check'],_0x8034('0xa'),'acceptSuggestion','sw'),this[_0x8034('0x38')][_0x8034('0x4b')](_0x8034('0x4d'))['to'](this,_0x8034('0x48')),this[_0x8034('0x51')]=this['_createButton'](_0x40e7db(_0x3218d8,_0x8034('0xc')),_0xef154a['cancel'],_0x8034('0x43'),'discardSuggestion','sw'),this[_0x8034('0x51')]['bind'](_0x8034('0x4d'))['to'](this,_0x8034('0x45')),this[_0x8034('0x4')]=new _0x5def66(_0x3218d8,this[_0x8034('0x3')][_0x8034('0x1c')],this[_0x8034('0x22')]()),this['userView'][_0x8034('0x41')]({'attributes':{'class':[_0x8034('0x49'),_0x8034('0xb')]}}),this[_0x8034('0x17')](this[_0x8034('0x3a')]());}[_0x8034('0x3a')](){const _0x6ca16d=this[_0x8034('0x34')],_0x170654=[{'tag':_0x8034('0x0'),'attributes':{'class':['ck-suggestion__info','ck-annotation__info']},'children':[{'tag':_0x8034('0x4a'),'children':[{'text':this[_0x8034('0x4')][_0x8034('0x27')]}],'attributes':{'class':[_0x8034('0x39'),_0x8034('0x35')]}},{'tag':_0x8034('0x21'),'attributes':{'datetime':_0x6ca16d['to'](_0x8034('0x2f')),'class':[_0x8034('0x25'),_0x8034('0x52')]},'children':[{'text':_0x6ca16d['to'](_0x8034('0x2f'),_0x2fde3c=>this['_config'][_0x8034('0x55')](_0x2fde3c))}]}]},{'tag':_0x8034('0x0'),'attributes':{'class':[_0x8034('0x2b'),_0x8034('0x19')]},'children':[this[_0x8034('0x38')],this[_0x8034('0x51')]]},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']}}];this[_0x8034('0x3')][_0x8034('0x2c')]&&_0x170654[_0x8034('0x53')]({'tag':_0x8034('0x0'),'attributes':{'class':[_0x8034('0x4f')]},'children':[{'text':this[_0x8034('0x1d')]()}]});const _0x3f8538={'tag':_0x8034('0x0'),'attributes':{'class':[_0x8034('0x16'),_0x6ca16d['if']('isActive',_0x8034('0x18')),_0x6ca16d['to']('type',_0x53c596=>_0x8034('0x7')+_0x53c596),this[_0x8034('0x1f')][_0x8034('0x33')]&&'ck-suggestion--disabled-comments'],'data-suggestion-id':this['_model']['id'],'data-thread-id':this['_model']['commentThread']['id'],'data-author-id':this[_0x8034('0x3')]['author']['id'],'tabindex':-0x1},'children':[{'tag':_0x8034('0x0'),'attributes':{'class':[_0x8034('0x54'),_0x8034('0x31')]},'children':[this['userView'],{'tag':_0x8034('0x0'),'attributes':{'class':[_0x8034('0x47'),'ck-annotation__main']},'children':_0x170654}]}]};return this[_0x8034('0x44')]&&this[_0x8034('0x20')]&&(_0x3f8538[_0x8034('0x26')][_0x8034('0x53')](this[_0x8034('0x44')],this[_0x8034('0x20')]),this[_0x8034('0x44')][_0x8034('0x40')](_0x8034('0x50'))['to'](this),this[_0x8034('0x44')]['delegate'](_0x8034('0x15'))['to'](this),this[_0x8034('0x20')][_0x8034('0x40')]('editorReady')['to'](this),this[_0x8034('0x20')][_0x8034('0x40')](_0x8034('0x15'))['to'](this)),_0x3f8538;}['render'](){super[_0x8034('0x1e')](),this[_0x8034('0x4e')]=this['element'][_0x8034('0x11')](_0x8034('0x3c')),this[_0x8034('0x4e')][_0x8034('0x1')]=this[_0x8034('0x30')],this['on'](_0x8034('0x36'),(_0x27d64f,_0x3d567d,_0x21e2f4)=>{this['_descriptionElement'][_0x8034('0x1')]=_0x21e2f4;});}[_0x8034('0x32')](_0x2b54cb,_0x416138,_0x18632f,_0x169487,_0x541509){const _0x46013d=new _0x46ca1a(this[_0x8034('0x9')]);return _0x46013d['set']({'label':_0x2b54cb,'icon':_0x416138,'tooltip':!0x0,'tooltipPosition':_0x541509}),_0x46013d[_0x8034('0x41')]({'attributes':{'class':_0x18632f}}),_0x46013d['on']('execute',()=>{this[_0x8034('0x28')](_0x169487,this[_0x8034('0x3')]['id']);}),_0x46013d;}[_0x8034('0x1d')](){return _0x8034('0x14')===this['_model'][_0x8034('0x56')][_0x8034('0x13')]['source']?_0x40e7db(this[_0x8034('0x9')],_0x8034('0x6')):_0x40e7db(this[_0x8034('0x9')],_0x8034('0xd'));}['getUserViewNotificationText'](){return this[_0x8034('0x3')][_0x8034('0x2c')]?_0x8034('0x14')===this['_model'][_0x8034('0x56')][_0x8034('0x13')][_0x8034('0x1a')]?_0x40e7db(this[_0x8034('0x9')],_0x8034('0x2a'),this[_0x8034('0x3')][_0x8034('0x12')][_0x8034('0x27')]):_0x40e7db(this['locale'],_0x8034('0x8'),this[_0x8034('0x3')][_0x8034('0x12')][_0x8034('0x27')]):null;}}function ci(_0x3517b1,_0x12214e){let _0x5cf56f='';return _0x5cf56f+=_0x3517b1[_0x8034('0x5')]('*')[_0x8034('0x3d')]((_0x688b1a,_0x246922)=>_0x246922%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+ri(_0x688b1a)+_0x8034('0x3b'):ri(_0x688b1a))[_0x8034('0x2d')](''),_0x12214e&&(_0x5cf56f+=_0x8034('0x4c')+_0x12214e[_0x8034('0x37')]+_0x8034('0x1b')+_0x12214e[_0x8034('0x23')]+_0x8034('0x3e')),_0x5cf56f;}function ri(_0x3c3362){const _0x32e386=document[_0x8034('0xe')](_0x8034('0x4a'));return _0x32e386['innerText']=_0x3c3362,_0x32e386[_0x8034('0x1')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x2f513a,_0x456e59,_0x90755a){const t=_0x2f513a['t'];switch(_0x456e59){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',_0x90755a);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x90755a);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x90755a);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x90755a);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x90755a);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',_0x90755a);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x90755a);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',_0x90755a);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x90755a);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x90755a);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x90755a);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x90755a);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x90755a);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x90755a);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x90755a);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x90755a);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x90755a);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x90755a);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x90755a);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x90755a);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x90755a);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x90755a);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x90755a);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'},_0x90755a);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x90755a);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x90755a);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x90755a);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x90755a);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x90755a);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'},_0x90755a);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x90755a);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x90755a);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x90755a);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x90755a);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'},_0x90755a);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x90755a);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'},_0x90755a);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'},_0x90755a);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x90755a);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'},_0x90755a);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x90755a);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'},_0x90755a);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x90755a);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x90755a);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'},_0x90755a);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'},_0x90755a);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 _0x456e59;}}
23
+ export function getTranslation(_0x33bee7,_0x599bd0,_0x3f5e57){const t=_0x33bee7['t'];switch(_0x599bd0){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',_0x3f5e57);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3f5e57);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3f5e57);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3f5e57);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3f5e57);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',_0x3f5e57);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3f5e57);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',_0x3f5e57);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3f5e57);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3f5e57);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3f5e57);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3f5e57);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3f5e57);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3f5e57);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3f5e57);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3f5e57);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3f5e57);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3f5e57);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3f5e57);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3f5e57);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3f5e57);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3f5e57);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3f5e57);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'},_0x3f5e57);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3f5e57);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3f5e57);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3f5e57);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3f5e57);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3f5e57);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'},_0x3f5e57);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3f5e57);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3f5e57);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3f5e57);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3f5e57);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'},_0x3f5e57);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3f5e57);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'},_0x3f5e57);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'},_0x3f5e57);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3f5e57);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'},_0x3f5e57);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3f5e57);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'},_0x3f5e57);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3f5e57);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3f5e57);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'},_0x3f5e57);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'},_0x3f5e57);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 _0x599bd0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4abc=['execute','type','isIntersecting','replace','isArray','getRanges','end','change','deletion','length','createPositionAt','isTouching','isCollapsed','from','createPositionAfter','value','push','next','content','\x20[color\x20','isMultiRange','isInContent','createPositionBefore','start','isObject','schema','color','splice','createRange'];(function(_0x4d7b88,_0x4abc7b){const _0x5e4235=function(_0x15797f){while(--_0x15797f){_0x4d7b88['push'](_0x4d7b88['shift']());}};_0x5e4235(++_0x4abc7b);}(_0x4abc,0x1a9));const _0x5e42=function(_0x4d7b88,_0x4abc7b){_0x4d7b88=_0x4d7b88-0x0;let _0x5e4235=_0x4abc[_0x4d7b88];return _0x5e4235;};export function normalizeDescription(_0x505f99){return Array[_0x5e42('0xe')](_0x505f99)||(_0x505f99=[_0x505f99]),_0x505f99['map'](_0x5a9ecf=>{const _0x539b7c=_0x5a9ecf[_0x5e42('0x1c')][_0x5e42('0xd')](/\*/g,''),_0x10adcc=_0x5a9ecf[_0x5e42('0x7')]?_0x5e42('0x0')+_0x5a9ecf[_0x5e42('0x7')][_0x5e42('0x19')]+']':'';return'['+_0x5a9ecf[_0x5e42('0xb')]+']\x20'+_0x539b7c+_0x10adcc;})['join'](';\x20');}export function sortSuggestions(_0xd35da2){return _0xd35da2['sort']((_0x1573f4,_0x2f07c9)=>_0x5e42('0x12')==_0x1573f4[_0x5e42('0xb')]&&_0x5e42('0x12')!=_0x2f07c9[_0x5e42('0xb')]?-0x1:_0x5e42('0x12')!=_0x1573f4['type']&&_0x5e42('0x12')==_0x2f07c9[_0x5e42('0xb')]?0x1:0x0);}export function getSelectedSuggestions(_0x13e037,_0x50e48a){const _0xc97c6=Array[_0x5e42('0x17')](_0x13e037[_0x5e42('0xf')]()),_0x34601d=new Set();for(const _0x28a765 of _0x50e48a)if(_0x28a765[_0x5e42('0x2')])for(const _0x361e30 of _0xc97c6)for(const _0xca8e2e of _0x28a765[_0x5e42('0xf')]())(_0x361e30[_0x5e42('0xc')](_0xca8e2e)||_0x13e037[_0x5e42('0x16')]&&!_0x28a765[_0x5e42('0x1')]&&_0x28a765[_0x5e42('0x1b')]&&_0xca8e2e[_0x5e42('0x10')][_0x5e42('0x15')](_0x361e30[_0x5e42('0x4')]))&&_0x34601d['add'](_0x28a765);return _0x34601d;}export function getRangesOfBlockGroups(_0x879bbf,_0x3d20a7){let _0x1d4b2a,_0x424fe6=0x0;const _0x2661d8=[],_0x520469=_0x3d20a7[_0x5e42('0x6')];for(;_0x424fe6<_0x879bbf['length'];){const _0x2c7790=_0x879bbf[_0x424fe6],_0x5afcf1=_0x879bbf[_0x424fe6+0x1];_0x1d4b2a||(_0x1d4b2a=_0x3d20a7[_0x5e42('0x3')](_0x2c7790)),co(_0x3d20a7,_0x2c7790,_0x5afcf1)||(_0x2661d8[_0x5e42('0x1a')](_0x3d20a7[_0x5e42('0x9')](_0x1d4b2a,_0x520469[_0x5e42('0x5')](_0x2c7790)?_0x3d20a7['createPositionAfter'](_0x2c7790):_0x3d20a7[_0x5e42('0x14')](_0x2c7790,_0x5e42('0x10')))),_0x1d4b2a=null),_0x424fe6++;}return _0x2661d8;}function co(_0x435ba0,_0x5057cb,_0x1606e6){if(!_0x1606e6)return!0x1;const _0x36bf8c=_0x435ba0[_0x5e42('0x18')](_0x5057cb),_0xe3dba5=_0x435ba0[_0x5e42('0x3')](_0x1606e6);return _0x36bf8c['isTouching'](_0xe3dba5);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x41b32c,_0x542e8f,_0x1b6fa9){for(;_0x1b6fa9[_0x5e42('0x13')];){const _0x59dcaa=_0x1b6fa9[_0x5e42('0x8')](0x0,0x64);_0x41b32c[_0x5e42('0x11')](()=>{for(const _0x3852f5 of _0x59dcaa)_0x3852f5[_0x5e42('0x2')]&&_0x542e8f[_0x5e42('0xa')](_0x3852f5['id']);});}}
23
+ const _0x1524=['getRanges','isTouching','\x20[color\x20','join','length','createPositionAfter','type','replace','isInContent','sort','createPositionAt','isArray','isObject','change','isIntersecting','createPositionBefore','push','execute','map','end','schema','next','value','isMultiRange'];(function(_0xe1aaed,_0x152438){const _0x3366a9=function(_0x83715f){while(--_0x83715f){_0xe1aaed['push'](_0xe1aaed['shift']());}};_0x3366a9(++_0x152438);}(_0x1524,0x9f));const _0x3366=function(_0xe1aaed,_0x152438){_0xe1aaed=_0xe1aaed-0x0;let _0x3366a9=_0x1524[_0xe1aaed];return _0x3366a9;};export function normalizeDescription(_0x1a9751){return Array[_0x3366('0x14')](_0x1a9751)||(_0x1a9751=[_0x1a9751]),_0x1a9751[_0x3366('0x3')](_0x185ec6=>{const _0x38e693=_0x185ec6['content'][_0x3366('0x10')](/\*/g,''),_0x326018=_0x185ec6['color']?_0x3366('0xb')+_0x185ec6['color'][_0x3366('0x7')]+']':'';return'['+_0x185ec6[_0x3366('0xf')]+']\x20'+_0x38e693+_0x326018;})[_0x3366('0xc')](';\x20');}export function sortSuggestions(_0x4854df){return _0x4854df[_0x3366('0x12')]((_0x5d80b7,_0x6fec6d)=>'deletion'==_0x5d80b7[_0x3366('0xf')]&&'deletion'!=_0x6fec6d['type']?-0x1:'deletion'!=_0x5d80b7[_0x3366('0xf')]&&'deletion'==_0x6fec6d[_0x3366('0xf')]?0x1:0x0);}export function getSelectedSuggestions(_0x5be90b,_0x4d12fc){const _0x4f7bf9=Array['from'](_0x5be90b[_0x3366('0x9')]()),_0x44dcdc=new Set();for(const _0x2dd23d of _0x4d12fc)if(_0x2dd23d[_0x3366('0x11')])for(const _0x5dbc49 of _0x4f7bf9)for(const _0x5e1e7e of _0x2dd23d[_0x3366('0x9')]())(_0x5dbc49[_0x3366('0x17')](_0x5e1e7e)||_0x5be90b['isCollapsed']&&!_0x2dd23d[_0x3366('0x8')]&&_0x2dd23d[_0x3366('0x6')]&&_0x5e1e7e['end'][_0x3366('0xa')](_0x5dbc49['start']))&&_0x44dcdc['add'](_0x2dd23d);return _0x44dcdc;}export function getRangesOfBlockGroups(_0xd7a10d,_0x33ecc5){let _0x49574c,_0xb5ac71=0x0;const _0x502ca2=[],_0x56eb5e=_0x33ecc5[_0x3366('0x5')];for(;_0xb5ac71<_0xd7a10d[_0x3366('0xd')];){const _0x2aad62=_0xd7a10d[_0xb5ac71],_0x5eb3bc=_0xd7a10d[_0xb5ac71+0x1];_0x49574c||(_0x49574c=_0x33ecc5[_0x3366('0x0')](_0x2aad62)),co(_0x33ecc5,_0x2aad62,_0x5eb3bc)||(_0x502ca2[_0x3366('0x1')](_0x33ecc5['createRange'](_0x49574c,_0x56eb5e[_0x3366('0x15')](_0x2aad62)?_0x33ecc5[_0x3366('0xe')](_0x2aad62):_0x33ecc5[_0x3366('0x13')](_0x2aad62,_0x3366('0x4')))),_0x49574c=null),_0xb5ac71++;}return _0x502ca2;}function co(_0x580535,_0x789986,_0x2cef85){if(!_0x2cef85)return!0x1;const _0x31d7bb=_0x580535['createPositionAfter'](_0x789986),_0x55bec2=_0x580535['createPositionBefore'](_0x2cef85);return _0x31d7bb[_0x3366('0xa')](_0x55bec2);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x4ab128,_0x34ff8c,_0x1858b5){for(;_0x1858b5[_0x3366('0xd')];){const _0x1aa439=_0x1858b5['splice'](0x0,0x64);_0x4ab128[_0x3366('0x16')](()=>{for(const _0x404757 of _0x1aa439)_0x404757[_0x3366('0x11')]&&_0x34ff8c[_0x3366('0x2')](_0x404757['id']);});}}