@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231206.0 → 0.0.0-nightly-20231208.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 _0x477b=['change:previous','getDescriptions','getSuggestion','descriptionParts','getByInnerView','stopListening','isInContent','getRanges','acceptButton','_annotationViews','value','isDirty','trackChanges.SuggestionThreadView','editor','get','view','destroy','comments.maxCommentsWhenCollapsed','separator','SuggestionThreadView','commandName','reduce','CommentsRepository','_handleSuggestionControllerDelayed','Discard\x20all\x20selected\x20suggestions','push','Accept\x20all\x20selected\x20suggestions','from','_suggestionToController','isMultiRange','head','suggestionUnloaded','getMarkers','acceptSelectedSuggestions','Accept\x20all\x20suggestions','change:activeAnnotations','getMarkerNames','set','editing','createAnnotation','_updateController','suggestionLoaded','acceptAllSuggestions','listenTo','delete','trackChanges','filter','getAllAdjacentSuggestions','CommentView','values','type','bind','Annotations','EditorAnnotations','_descriptionFactory','mainView','TrackChangesEditing','trackChanges.disableComments','remove','registerAnnotation','_createUIButton','init','isOn','comments.maxThreadTotalWeight','lowest','activeAnnotations','locale','Discard\x20all\x20suggestions','buttonView','model','createCommentThreadController','has','toMany','isEnabled','keys','componentFactory','arrowView','add','source','comments.maxCommentCharsWhenCollapsed','suggestion-','config','_refreshActiveMarkers','actionView','_destroyController','comments','focus','clear','execute','size','some','discardSelectedSuggestions','pluginName','discardButton','commentThread','createAnnotationView','CommentsUI','unbind','getJoined','_bindAnnotationToEditors','addComment','commands','previous','_disableComments','button','_handleControllerBuffer','TrackChangesUI','_viewToController','discardAllSuggestions','_initializeController','plugins','_unbindEditors'];(function(_0x5936ad,_0x477b4d){const _0x224259=function(_0x5df559){while(--_0x5df559){_0x5936ad['push'](_0x5936ad['shift']());}};_0x224259(++_0x477b4d);}(_0x477b,0x1db));const _0x2242=function(_0x5936ad,_0x477b4d){_0x5936ad=_0x5936ad-0x0;let _0x224259=_0x477b[_0x5936ad];return _0x224259;};import{Plugin as _0x122e10}from'ckeditor5/src/core';import{Collection as _0x2e1fd7}from'ckeditor5/src/utils';import{Model as _0x31c54f,SplitButtonView as _0x5be723,createDropdown as _0x47c0d1,addListToDropdown as _0x216183}from'ckeditor5/src/ui';import{Users as _0x277c2f,getDateTimeFormatter as _0xeb957,getAllMarkersDomElementsSorted as _0x25a346}from'ckeditor5-collaboration/src/collaboration-core';import _0x3b9553 from'./trackchangesediting';import _0x121240 from'./ui/suggestioncontroller';import _0x2b594a from'./ui/view/suggestionthreadview';import{getTranslation as _0x514eb5}from'./utils/common-translations';import _0x244844 from'../theme/icons/track-changes.svg';export default class d extends _0x122e10{static get['requires'](){return[_0x3b9553,_0x277c2f,'CommentsRepository','Annotations','EditorAnnotations'];}static get[_0x2242('0x41')](){return _0x2242('0x4f');}constructor(_0x1495ee){super(_0x1495ee),this[_0x2242('0x1')]=new Map(),this[_0x2242('0x50')]=new Map(),this[_0x2242('0x5e')]=new Map(),this[_0x2242('0x4e')]=new Map();const _0x296dee=this[_0x2242('0x62')]['config'];_0x296dee['define'](_0x2242('0x61'),_0x2b594a),_0x296dee['define']('trackChanges.disableComments',!0x1),this[_0x2242('0x4c')]=_0x296dee[_0x2242('0x63')](_0x2242('0x1e'));}[_0x2242('0x6c')](_0xce580f,_0x1dd1e3){0x0===this[_0x2242('0x4e')][_0x2242('0x3e')]&&setTimeout(()=>{for(const [_0x5f367d,_0x132fd0]of this[_0x2242('0x4e')]){const _0x5572b9=this['_suggestionToController'][_0x2242('0x2c')](_0x5f367d);_0x5572b9||_0x132fd0?_0x5572b9&&_0x132fd0&&this[_0x2242('0x39')](_0x5f367d):this['_initializeController'](_0x5f367d);}this['editor'][_0x2242('0x53')]['get'](_0x2242('0x1a'))['refreshSelectedViews'](),this[_0x2242('0x37')](),this[_0x2242('0x4e')][_0x2242('0x3c')]();},0xa),this['_handleControllerBuffer']['set'](_0xce580f,_0x1dd1e3);}[_0x2242('0x22')](){const _0x3a26b9=this[_0x2242('0x62')],_0x287db2=_0x3a26b9[_0x2242('0x53')][_0x2242('0x63')]('TrackChangesEditing'),_0x692f82=_0x3a26b9[_0x2242('0x53')]['get']('Annotations'),_0xbd2be4=_0x3a26b9[_0x2242('0x53')][_0x2242('0x63')](_0x2242('0x1a')),_0x322872=_0x3a26b9[_0x2242('0x53')]['get'](_0x2242('0x6b'));_0x3a26b9['ui'][_0x2242('0x30')][_0x2242('0x32')]('trackChanges',_0x58052b=>this[_0x2242('0x21')](_0x58052b)),_0xbd2be4['addSourceCollector'](()=>{const _0x4feafc=[];for(const [_0x49792d,_0x20a3b9]of Array['from'](this[_0x2242('0x1')])){const _0x50d1ed=_0x49792d[_0x2242('0x14')](),_0x479d95=[];for(const _0x4b2ef2 of _0x50d1ed){if(!_0x4b2ef2[_0x2242('0x5b')])continue;if(_0x4b2ef2[_0x2242('0x2')]){_0x479d95[_0x2242('0x6e')](..._0x4b2ef2[_0x2242('0x5c')]());continue;}const _0x18cd4d=_0x4b2ef2['getFirstRange']();if(_0x479d95['length']>0x0){const _0x369402=_0x479d95[0x0][_0x2242('0x47')](_0x18cd4d);if(_0x369402){_0x479d95[0x0]=_0x369402;continue;}}_0x479d95[_0x2242('0x6e')](_0x18cd4d);}_0x4feafc[_0x2242('0x6e')]([_0x20a3b9['view'],_0x479d95]);}return _0x4feafc;}),this['listenTo'](_0x287db2,_0x2242('0xe'),(_0x4a346a,_0x21ed29)=>{this['listenTo'](_0x21ed29,'change:previous',(_0x2e585e,_0x3600e6,_0x302165,_0x221717)=>{_0x21ed29[_0x2242('0x5b')]&&(null==_0x302165?(this['_updateController'](_0x221717[_0x2242('0x3')]),this[_0x2242('0x6c')](_0x21ed29,!0x1)):(this[_0x2242('0xd')](_0x302165['head']),null==_0x221717&&this['_handleSuggestionControllerDelayed'](_0x21ed29,!0x0)));}),null!==_0x21ed29[_0x2242('0x4b')]?this['_updateController'](_0x21ed29[_0x2242('0x3')]):this['_handleSuggestionControllerDelayed'](_0x21ed29,!0x1);}),this[_0x2242('0x10')](_0x287db2,_0x2242('0x4'),(_0x2d26b7,_0x3eb5e7,_0x58d2c3)=>{this[_0x2242('0x5a')](_0x3eb5e7,_0x2242('0x55')),this[_0x2242('0x4e')][_0x2242('0x11')](_0x3eb5e7),this['_suggestionToController'][_0x2242('0x2c')](_0x3eb5e7)&&this[_0x2242('0x39')](_0x3eb5e7),_0x58d2c3&&this['_updateController'](_0x58d2c3['head']);}),this['listenTo'](_0x287db2,'suggestionChanged',(_0x1a3181,_0x1f28fc)=>{this[_0x2242('0xd')](_0x1f28fc);}),this[_0x2242('0x10')](_0x692f82,_0x2242('0x8'),()=>{this[_0x2242('0x37')]();}),this['listenTo'](_0x322872,_0x2242('0x49'),(_0x2f7137,{threadId:_0xbafb20,isFromAdapter:_0x1aaead})=>{if(_0x1aaead||!_0x287db2['hasSuggestion'](_0xbafb20))return;const _0x4550fe=_0x287db2[_0x2242('0x57')](_0xbafb20);this[_0x2242('0x1')][_0x2242('0x63')](_0x4550fe)[_0x2242('0x64')][_0x2242('0x3b')]();},{'priority':_0x2242('0x25')});}[_0x2242('0x37')](){const _0x10a4c0=this[_0x2242('0x62')][_0x2242('0x53')]['get'](_0x2242('0x19')),_0x596a1f=this['editor']['plugins'][_0x2242('0x63')]('TrackChangesEditing'),_0x3ce1b1=Array[_0x2242('0x0')](_0x10a4c0[_0x2242('0x26')],_0x2e2f50=>_0x2e2f50['innerView'])[_0x2242('0x13')](_0x2186cd=>this[_0x2242('0x50')]['has'](_0x2186cd)),_0x2cb5e9=[];for(const _0x148209 of _0x3ce1b1){const _0x967b39=this['_viewToController']['get'](_0x148209)[_0x2242('0x2a')][_0x2242('0x14')]();_0x2cb5e9['push'](..._0x967b39[_0x2242('0x6a')]((_0x31e189,_0x22cd22)=>[..._0x31e189,..._0x22cd22[_0x2242('0x9')]()],[]));}_0x596a1f['activeMarkers']=_0x2cb5e9;}[_0x2242('0x21')](_0x39a000){const _0x4340ec=_0x47c0d1(_0x39a000,_0x5be723),_0x8839ea=this['editor'][_0x2242('0x4a')][_0x2242('0x63')](_0x2242('0x12')),_0x4f1663=_0x514eb5(_0x39a000,'Track\x20changes');_0x4340ec[_0x2242('0x29')]['set']({'tooltip':_0x4f1663,'label':_0x4f1663,'icon':_0x244844}),_0x4340ec[_0x2242('0x29')][_0x2242('0x18')]('isOn')['to'](_0x8839ea,_0x2242('0x5f')),_0x4340ec[_0x2242('0x29')]['on'](_0x2242('0x3d'),()=>{_0x8839ea['execute'](),this[_0x2242('0x62')][_0x2242('0xb')][_0x2242('0x64')]['focus']();});const _0x2af166=new _0x2e1fd7(),_0x291c21=[{'type':'switchbutton','model':{'withText':!0x0,'label':_0x4f1663,'commandName':_0x2242('0x12')}},{'type':_0x2242('0x67')},{'type':_0x2242('0x4d'),'model':{'withText':!0x0,'label':_0x514eb5(_0x39a000,_0x2242('0x7')),'commandName':_0x2242('0xf')}},{'type':'button','model':{'withText':!0x0,'label':_0x514eb5(_0x39a000,_0x2242('0x6f')),'commandName':_0x2242('0x6')}},{'type':_0x2242('0x4d'),'model':{'withText':!0x0,'label':_0x514eb5(_0x39a000,_0x2242('0x28')),'commandName':_0x2242('0x51')}},{'type':'button','model':{'withText':!0x0,'label':_0x514eb5(_0x39a000,_0x2242('0x6d')),'commandName':_0x2242('0x40')}}];for(const _0x44be34 of _0x291c21){let _0x3b0b0e={'type':'separator'};if(_0x44be34[_0x2242('0x2a')]){const _0x15e3c6=new _0x31c54f(_0x44be34['model']),_0x126099=this['editor'][_0x2242('0x4a')][_0x2242('0x63')](_0x15e3c6[_0x2242('0x69')]);_0x15e3c6['bind'](_0x2242('0x23'),'isEnabled')['to'](_0x126099,_0x2242('0x5f'),_0x2242('0x2e')),_0x3b0b0e={'type':_0x44be34[_0x2242('0x17')],'model':_0x15e3c6};}_0x2af166[_0x2242('0x32')](_0x3b0b0e);}_0x216183(_0x4340ec,_0x2af166);const _0x41d546=_0x291c21[_0x2242('0x13')](_0x41d732=>null!=_0x41d732[_0x2242('0x2a')])['map'](_0x17bbbd=>this[_0x2242('0x62')]['commands']['get'](_0x17bbbd[_0x2242('0x2a')][_0x2242('0x69')])),_0x47eddd=_0x4340ec[_0x2242('0x29')];return _0x47eddd['actionView']['unbind'](_0x2242('0x2e')),_0x47eddd['arrowView'][_0x2242('0x46')](_0x2242('0x2e')),_0x47eddd[_0x2242('0x38')][_0x2242('0x18')]('isEnabled')['to'](_0x8839ea,_0x2242('0x2e')),_0x47eddd[_0x2242('0x31')][_0x2242('0x18')](_0x2242('0x2e'))[_0x2242('0x2d')](_0x41d546,'isEnabled',(..._0x4c9299)=>_0x4c9299[_0x2242('0x3f')](_0x4f203b=>_0x4f203b)),_0x4340ec['on']('execute',_0xba25b3=>{this[_0x2242('0x62')]['execute'](_0xba25b3[_0x2242('0x33')][_0x2242('0x69')]),this[_0x2242('0x62')][_0x2242('0xb')][_0x2242('0x64')][_0x2242('0x3b')]();}),_0x4340ec;}[_0x2242('0x52')](_0x42ccff){const _0xdd05aa=this[_0x2242('0x62')],_0x6dcbff=_0xdd05aa[_0x2242('0x36')],_0x263719=_0xdd05aa[_0x2242('0x53')][_0x2242('0x63')](_0x2242('0x19')),_0x28c836=_0xdd05aa[_0x2242('0x53')][_0x2242('0x63')](_0x2242('0x6b')),_0x1c13cf=_0xdd05aa['plugins'][_0x2242('0x63')](_0x2242('0x1a')),_0x27ad4b=_0xdd05aa[_0x2242('0x53')][_0x2242('0x63')](_0x277c2f)['me'],_0x48d512=_0x6dcbff['get'](_0x2242('0x12'))[_0x2242('0x68')],{CommentsListView:_0x247148,CommentThreadInputView:_0x572d10}=_0xdd05aa[_0x2242('0x53')][_0x2242('0x63')](_0x2242('0x45'));let _0x187fc2,_0x1c11f7;this['_annotationViews']['has'](_0x42ccff['id'])?(_0x1c11f7=this[_0x2242('0x5e')][_0x2242('0x63')](_0x42ccff['id']),_0x187fc2=_0x1c11f7[_0x2242('0x1c')]):(_0x187fc2=new _0x48d512(_0xdd05aa[_0x2242('0x27')],_0x42ccff,_0x27ad4b,{'disableComments':this[_0x2242('0x4c')],'editorConfig':_0x6dcbff['get']('comments.editorConfig'),'maxCommentsWhenCollapsed':_0x6dcbff[_0x2242('0x63')](_0x2242('0x66')),'maxThreadTotalWeight':_0x6dcbff[_0x2242('0x63')](_0x2242('0x24')),'maxCommentCharsWhenCollapsed':_0x6dcbff[_0x2242('0x63')](_0x2242('0x34')),'formatDateTime':_0xeb957(_0x6dcbff[_0x2242('0x63')](_0x2242('0x27'))),'CommentView':_0x6dcbff[_0x2242('0x63')](_0x2242('0x3a'))[_0x2242('0x15')],'CommentsListView':_0x247148,'CommentThreadInputView':_0x572d10}),_0x187fc2[_0x2242('0x5d')]['on']('execute',()=>{_0xdd05aa[_0x2242('0xb')][_0x2242('0x64')]['focus']();}),_0x187fc2[_0x2242('0x42')]['on'](_0x2242('0x3d'),()=>{_0xdd05aa[_0x2242('0xb')][_0x2242('0x64')][_0x2242('0x3b')]();}),_0x1c11f7=_0x263719[_0x2242('0x44')](this['editor']['locale'],_0x187fc2),_0x1c11f7[_0x2242('0x18')](_0x2242('0x60'))['to'](_0x187fc2,_0x2242('0x60')),_0x1c11f7[_0x2242('0x18')]('length')['to'](_0x187fc2),_0x1c11f7[_0x2242('0x18')]('type')['to'](_0x187fc2,'type',_0x15d34c=>'suggestion-'+_0x15d34c),this['_annotationViews'][_0x2242('0xa')](_0x42ccff['id'],_0x1c11f7));const _0x4be4dc=_0x28c836[_0x2242('0x2b')](_0x42ccff[_0x2242('0x43')],_0x187fc2),_0x542571=new _0x121240(_0xdd05aa,_0x42ccff,_0x187fc2,_0x4be4dc),_0x641be7=_0x42ccff['getAllAdjacentSuggestions']()[_0x2242('0x13')](_0x5df7ad=>_0x5df7ad[_0x2242('0x5b')]);_0x187fc2['descriptionParts']=_0xdd05aa[_0x2242('0x53')][_0x2242('0x63')](_0x2242('0x1d'))[_0x2242('0x1b')][_0x2242('0x56')](_0x641be7),this[_0x2242('0x1')][_0x2242('0xa')](_0x42ccff,_0x542571),this[_0x2242('0x50')][_0x2242('0xa')](_0x187fc2,_0x542571);const _0x7cf7f8=_0x263719[_0x2242('0xc')]({'view':_0x1c11f7,'target':()=>{const _0xa25e93=[],_0x4414dd=_0x42ccff['getAllAdjacentSuggestions']()[_0x2242('0x13')](_0x4c74f8=>_0x4c74f8[_0x2242('0x5b')]);for(const _0x8c875c of _0x4414dd)_0xa25e93[_0x2242('0x6e')](..._0x8c875c[_0x2242('0x5')]());return _0x25a346(_0xdd05aa[_0x2242('0xb')],_0xa25e93);},'type':()=>_0x2242('0x35')+_0x542571['view'][_0x2242('0x17')]});_0x28c836[_0x2242('0x48')](_0x187fc2,_0x7cf7f8),_0x263719[_0x2242('0x32')](_0x7cf7f8),_0x1c13cf[_0x2242('0x20')](_0x7cf7f8);}[_0x2242('0x39')](_0x399a25){const _0x296dc6=this[_0x2242('0x62')][_0x2242('0x53')][_0x2242('0x63')](_0x2242('0x6b')),_0x30e90b=this[_0x2242('0x62')][_0x2242('0x53')]['get']('Annotations'),_0x74c440=this['_suggestionToController'][_0x2242('0x63')](_0x399a25),_0x296db2=_0x74c440[_0x2242('0x64')],_0x5730fc=_0x30e90b[_0x2242('0x59')](_0x296db2);_0x296dc6[_0x2242('0x54')](_0x296db2),_0x5730fc&&_0x30e90b[_0x2242('0x1f')](_0x5730fc),this['_suggestionToController'][_0x2242('0x11')](_0x399a25),this[_0x2242('0x50')][_0x2242('0x11')](_0x296db2),_0x74c440[_0x2242('0x65')]();}[_0x2242('0xd')](_0x181e8c){if(!_0x181e8c[_0x2242('0x5b')]||!this[_0x2242('0x1')]['has'](_0x181e8c))return;const _0x3e856b=this[_0x2242('0x62')][_0x2242('0x53')]['get'](_0x2242('0x1d')),_0xb7b6f2=this['_suggestionToController'][_0x2242('0x63')](_0x181e8c),_0x219e3b=_0x181e8c[_0x2242('0x14')]();_0xb7b6f2[_0x2242('0x64')][_0x2242('0x58')]=_0x3e856b[_0x2242('0x1b')][_0x2242('0x56')](_0x219e3b);}[_0x2242('0x65')](){for(const _0x3202a3 of this[_0x2242('0x1')][_0x2242('0x2f')]())this[_0x2242('0x39')](_0x3202a3);for(const _0x54d721 of this[_0x2242('0x5e')][_0x2242('0x16')]())_0x54d721[_0x2242('0x1c')]['destroy']();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 _0x1bf0=['_removePendingAction','unbind','plugins','canDiscard','_setPendingAction','isEnabled','destroy','isDirty','change:isDirty','add','model','_discardCommand','bind','stopListening','listenTo','_acceptCommand','remove','view','canEditAt','acceptSuggestion','_pendingAction','canAccept','get','commands','discardSuggestion','_editor','commentThreadController','locale','PendingActions'];(function(_0x5f311a,_0x1bf09d){const _0x37db99=function(_0xef2771){while(--_0xef2771){_0x5f311a['push'](_0x5f311a['shift']());}};_0x37db99(++_0x1bf09d);}(_0x1bf0,0x1f4));const _0x37db=function(_0x5f311a,_0x1bf09d){_0x5f311a=_0x5f311a-0x0;let _0x37db99=_0x1bf0[_0x5f311a];return _0x37db99;};import{ObservableMixin as _0x4e5362}from'ckeditor5/src/utils';import{getTranslation as _0x4092e4}from'../utils/common-translations';export default class Qt extends _0x4e5362(){constructor(_0x5f31f0,_0x241d08,_0x5608d5,_0x29d3a4){super(),this[_0x37db('0x3')]=_0x241d08,this[_0x37db('0xa')]=_0x5608d5,this[_0x37db('0x13')]=_0x29d3a4,this['_editor']=_0x5f31f0,this['_acceptCommand']=_0x5f31f0[_0x37db('0x10')][_0x37db('0xf')]('acceptSuggestion'),this['_discardCommand']=_0x5f31f0['commands'][_0x37db('0xf')](_0x37db('0x11')),this[_0x37db('0xa')][_0x37db('0x5')](_0x37db('0x1b'))['to'](this[_0x37db('0x8')],this['_discardCommand'],(_0x3c1b8b,_0x1fce99)=>_0x3c1b8b||_0x1fce99),this[_0x37db('0xa')][_0x37db('0x5')](_0x37db('0xe'))['to'](this[_0x37db('0x8')],_0x37db('0x1b'),_0x24a006=>_0x24a006&&this[_0x37db('0x12')][_0x37db('0x3')]['canEditAt'](_0x241d08['getRanges']())),this[_0x37db('0xa')][_0x37db('0x5')](_0x37db('0x19'))['to'](this[_0x37db('0x4')],'isEnabled',_0x2b7c06=>_0x2b7c06&&this['_editor'][_0x37db('0x3')][_0x37db('0xb')](_0x241d08['getRanges']())),this[_0x37db('0xd')]=null,_0x5608d5[_0x37db('0x0')]&&this['_setPendingAction'](),this['listenTo'](_0x5608d5,_0x37db('0xc'),()=>this[_0x37db('0xc')]()),this[_0x37db('0x7')](_0x5608d5,_0x37db('0x11'),()=>this[_0x37db('0x11')]()),this[_0x37db('0x7')](_0x5608d5,_0x37db('0x1'),()=>{_0x5608d5[_0x37db('0x0')]?this[_0x37db('0x1a')]():this[_0x37db('0x16')]();});}[_0x37db('0xc')](){this[_0x37db('0x8')]['execute'](this['model']['id']);}[_0x37db('0x11')](){this[_0x37db('0x4')]['execute'](this[_0x37db('0x3')]['id']);}[_0x37db('0x1c')](){this[_0x37db('0xa')]['unbind'](_0x37db('0x1b')),this[_0x37db('0xa')][_0x37db('0x17')](_0x37db('0xe')),this[_0x37db('0xa')][_0x37db('0x17')]('canDiscard'),this[_0x37db('0x6')](),this[_0x37db('0x13')]['destroy'](),this[_0x37db('0xd')]&&this[_0x37db('0x16')]();}['_setPendingAction'](){const _0x2e8499=_0x4092e4(this[_0x37db('0x12')][_0x37db('0x14')],'PENDING_ACTION_SUGGESTION');this[_0x37db('0xd')]=this[_0x37db('0x12')]['plugins']['get'](_0x37db('0x15'))[_0x37db('0x2')](_0x2e8499);}[_0x37db('0x16')](){null!==this[_0x37db('0xd')]&&this[_0x37db('0x12')][_0x37db('0x18')]['get'](_0x37db('0x15'))[_0x37db('0x9')](this[_0x37db('0xd')]),this[_0x37db('0xd')]=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 _0x72ed=['length','setData','_createCommentViews','_localUser','commentThread','isDirty','commentInputView','editorConfig','authoredAt','commentsListView','element','value','locale','canDiscard','_model','isActive','disableComments','delegate','assign','updateComment','removeComment','_config','disabledSubmit','commentThreadInputView','submit','cancel','set','destroy','isReadOnly','showInput','focus','bind','descriptionParts','CommentView'];(function(_0x17e51f,_0x72edf8){const _0x2924b0=function(_0x4d2b18){while(--_0x4d2b18){_0x17e51f['push'](_0x17e51f['shift']());}};_0x2924b0(++_0x72edf8);}(_0x72ed,0xc8));const _0x2924=function(_0x17e51f,_0x72edf8){_0x17e51f=_0x17e51f-0x0;let _0x2924b0=_0x72ed[_0x17e51f];return _0x2924b0;};import{View as _0x2ec66a}from'ckeditor5/src/ui';export default class si extends _0x2ec66a{constructor(_0x2a1769,_0xde1b7,_0x5e6a1b,_0x1c0ae9){super(_0x2a1769),this['commentsListView']=null,this[_0x2924('0x1b')]=null,this[_0x2924('0x1e')]('isActive',!0x1),this[_0x2924('0x1e')](_0x2924('0xc'),_0xde1b7['authoredAt']),this[_0x2924('0x1')](_0x2924('0xc'))['to'](_0xde1b7),this[_0x2924('0x1e')](_0x2924('0x2'),[]),this[_0x2924('0x1e')](_0x2924('0x9'),!0x1),this['set']('isEnabled',!0x1),this[_0x2924('0x1e')]('canAccept',!0x1),this[_0x2924('0x1e')](_0x2924('0x11'),!0x1),this[_0x2924('0x12')]=_0xde1b7,this[_0x2924('0x7')]=_0x5e6a1b,this[_0x2924('0x19')]=_0x1c0ae9,_0x1c0ae9[_0x2924('0x14')]?this[_0x2924('0x1e')](_0x2924('0x4'),0x1):this[_0x2924('0x6')]();}[_0x2924('0x0')](){this[_0x2924('0xe')][_0x2924('0x0')]();}[_0x2924('0x1f')](){this[_0x2924('0xd')]&&this[_0x2924('0xd')]['destroy'](),this[_0x2924('0x1b')]&&this['commentThreadInputView'][_0x2924('0x1f')](),super[_0x2924('0x1f')]();}[_0x2924('0x6')](){const {CommentsListView:_0x37b770}=this[_0x2924('0x19')];this['commentsListView']=new _0x37b770(this[_0x2924('0x10')],this[_0x2924('0x12')][_0x2924('0x8')],Object[_0x2924('0x16')]({'CommentView':this[_0x2924('0x19')][_0x2924('0x3')]},this[_0x2924('0x19')])),this[_0x2924('0xd')][_0x2924('0x15')](_0x2924('0x18'))['to'](this),this[_0x2924('0xd')][_0x2924('0x15')](_0x2924('0x17'))['to'](this),this[_0x2924('0xd')][_0x2924('0x1')](_0x2924('0x13'))['to'](this),this[_0x2924('0x1e')](_0x2924('0x4'),this[_0x2924('0xd')]['length']+0x1),this['bind']('length')['to'](this[_0x2924('0xd')],_0x2924('0x4'),_0x303f3c=>_0x303f3c+0x1),this[_0x2924('0x1b')]=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this[_0x2924('0x0')]()),this[_0x2924('0x1')](_0x2924('0x9'))['to'](this[_0x2924('0xd')],'hasDirtyComment',this[_0x2924('0x1b')][_0x2924('0xa')],_0x2924('0xf'),(_0x300d35,_0xd0439d)=>_0x300d35||!!_0xd0439d);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x50417c}=this[_0x2924('0x19')],_0x4ca76a=new _0x50417c(this[_0x2924('0x10')],this['_localUser'],this[_0x2924('0x19')][_0x2924('0xb')]),_0x36c29b=_0x4ca76a[_0x2924('0xa')];return _0x4ca76a[_0x2924('0x1')](_0x2924('0x21'))['to'](this,_0x2924('0x13'),this[_0x2924('0x12')]['commentThread'],_0x2924('0x20'),_0x36c29b,_0x2924('0xf'),(_0xe1244b,_0x1d96f0,_0x3529ba)=>!!_0x3529ba||_0xe1244b&&!_0x1d96f0),_0x36c29b['on'](_0x2924('0x1c'),(_0x4db0c0,_0x1524ac)=>{this['fire']('addComment',_0x1524ac),_0x36c29b['editor'][_0x2924('0x5')]('');}),_0x36c29b['on'](_0x2924('0x1d'),()=>this['focus']()),_0x36c29b[_0x2924('0x1')](_0x2924('0x1a'))['to'](this[_0x2924('0x12')][_0x2924('0x8')],'isReadOnly'),_0x4ca76a;}}
@@ -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 _0x2c79=['cancel','ck-annotation','bindTemplate','ck-suggestion-wrapper--active','getExternalSuggestionNote','commentsListView','EXTERNAL_AVATAR','ck-annotation__info-time','color','EXTERNAL_SUGGESTION','getTemplate','\x22\x20title=\x22','innerHTML','locale','map','_descriptionElement','description','ck-suggestion--disabled-comments','authoredAt','commentThread','ck-comment__external','innerText','@external','ck-suggestion__main','importWord','commentThreadInputView','_createButton','disableComments','render','<p>','ck-annotation__info-name','extendTemplate','fire','ck-suggestion','querySelector','element','_config','author','EXTERNAL_IMPORT_WORD_AVATAR','attributes','EXTERNAL_IMPORT_WORD_SUGGESTION','acceptButton','createElement','ck-suggestion--discard','discardSuggestion','check','bind','discardButton','setTemplate','Accept\x20suggestion','ck-suggestion__info','userView','execute','name','<span\x20class=\x22ck-suggestion-type\x22>','time','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','_model','canAccept','.ck-annotation__content-wrapper','delegate','ck-suggestion--accept','editorDestroyed','div','ck-comment__info-time','isActive','Discard\x20suggestion','span','content','split','source','ck-suggestion-wrapper','set','descriptionParts','creator','editorReady','title','formatDateTime','type','push','isEnabled','ck-annotation__actions','canDiscard','getUserViewNotificationText','children'];(function(_0x4128e9,_0x2c793f){const _0x1152fd=function(_0x43c3c3){while(--_0x43c3c3){_0x4128e9['push'](_0x4128e9['shift']());}};_0x1152fd(++_0x2c793f);}(_0x2c79,0x175));const _0x1152=function(_0x4128e9,_0x2c793f){_0x4128e9=_0x4128e9-0x0;let _0x1152fd=_0x2c79[_0x4128e9];return _0x1152fd;};import{getTranslation as _0x35b461}from'../../utils/common-translations';import{default as _0xa17426}from'./basesuggestionthreadview';import{ButtonView as _0x293d1c}from'ckeditor5/src/ui';import{icons as _0x419bac}from'ckeditor5/src/core';import{trimHtml as _0x42e3e3,UserView as _0x25a7b1}from'ckeditor5-collaboration/src/collaboration-core';export default class Xt extends _0xa17426{constructor(_0x3ae3b4,_0x1ea225,_0x4a9e93,_0x213676){super(_0x3ae3b4,_0x1ea225,_0x4a9e93,_0x213676),this[_0x1152('0x27')](_0x1152('0x2d'),''),this[_0x1152('0xd')](_0x1152('0x2d'))['to'](this,_0x1152('0x28'),_0x29bfd9=>_0x29bfd9&&_0x29bfd9[0x0]?_0x29bfd9[0x0][_0x1152('0x2d')]:''),this[_0x1152('0xd')](_0x1152('0x44'))['to'](this,'descriptionParts',this,_0x1152('0x20'),(_0x2a99e9,_0x34a89c)=>{let _0x530aa8='';for(const _0x10384a of _0x2a99e9)_0x530aa8+=_0x1152('0x51')+ci(_0x10384a[_0x1152('0x23')],_0x10384a[_0x1152('0x3c')])+'</p>';return _0x34a89c?_0x530aa8:_0x42e3e3(_0x530aa8,{'limit':0x8c});}),this[_0x1152('0x43')]=null,this[_0x1152('0x8')]=this[_0x1152('0x4e')](_0x35b461(_0x3ae3b4,_0x1152('0x10')),_0x419bac[_0x1152('0xc')],_0x1152('0x1c'),'acceptSuggestion','sw'),this[_0x1152('0x8')]['bind'](_0x1152('0x2f'))['to'](this,_0x1152('0x19')),this[_0x1152('0xe')]=this[_0x1152('0x4e')](_0x35b461(_0x3ae3b4,_0x1152('0x21')),_0x419bac[_0x1152('0x34')],_0x1152('0xa'),_0x1152('0xb'),'sw'),this[_0x1152('0xe')][_0x1152('0xd')](_0x1152('0x2f'))['to'](this,_0x1152('0x31')),this[_0x1152('0x12')]=new _0x25a7b1(_0x3ae3b4,this[_0x1152('0x18')][_0x1152('0x4')],this[_0x1152('0x32')]()),this[_0x1152('0x12')][_0x1152('0x53')]({'attributes':{'class':['ck-suggestion__user','ck-annotation__user']}}),this[_0x1152('0xf')](this[_0x1152('0x3e')]());}[_0x1152('0x3e')](){const _0x1ae01c=this[_0x1152('0x36')],_0x43ce6e=[{'tag':_0x1152('0x1e'),'attributes':{'class':[_0x1152('0x11'),'ck-annotation__info']},'children':[{'tag':_0x1152('0x22'),'children':[{'text':this['userView'][_0x1152('0x14')]}],'attributes':{'class':['ck-suggestion__info-name',_0x1152('0x52')]}},{'tag':_0x1152('0x16'),'attributes':{'datetime':_0x1ae01c['to']('authoredAt'),'class':[_0x1152('0x1f'),_0x1152('0x3b')]},'children':[{'text':_0x1ae01c['to'](_0x1152('0x46'),_0x40ed3e=>this['_config'][_0x1152('0x2c')](_0x40ed3e))}]}]},{'tag':_0x1152('0x1e'),'attributes':{'class':['ck-suggestion__actions',_0x1152('0x30')]},'children':[this[_0x1152('0x8')],this[_0x1152('0xe')]]},{'tag':_0x1152('0x1e'),'attributes':{'class':['ck-annotation__content-wrapper']}}];this[_0x1152('0x18')]['isExternal']&&_0x43ce6e['push']({'tag':_0x1152('0x1e'),'attributes':{'class':[_0x1152('0x48')]},'children':[{'text':this[_0x1152('0x38')]()}]});const _0x144110={'tag':'div','attributes':{'class':[_0x1152('0x26'),_0x1ae01c['if'](_0x1152('0x20'),_0x1152('0x37')),_0x1ae01c['to'](_0x1152('0x2d'),_0x3aa9c0=>'ck-suggestion-'+_0x3aa9c0),this[_0x1152('0x3')][_0x1152('0x4f')]&&_0x1152('0x45')],'data-suggestion-id':this[_0x1152('0x18')]['id'],'data-thread-id':this[_0x1152('0x18')][_0x1152('0x47')]['id'],'data-author-id':this['_model'][_0x1152('0x4')]['id'],'tabindex':-0x1},'children':[{'tag':_0x1152('0x1e'),'attributes':{'class':[_0x1152('0x0'),_0x1152('0x35')]},'children':[this[_0x1152('0x12')],{'tag':'div','attributes':{'class':[_0x1152('0x4b'),'ck-annotation__main']},'children':_0x43ce6e}]}]};return this[_0x1152('0x39')]&&this[_0x1152('0x4d')]&&(_0x144110[_0x1152('0x33')][_0x1152('0x2e')](this[_0x1152('0x39')],this['commentThreadInputView']),this[_0x1152('0x39')][_0x1152('0x1b')]('editorReady')['to'](this),this[_0x1152('0x39')][_0x1152('0x1b')](_0x1152('0x1d'))['to'](this),this[_0x1152('0x4d')][_0x1152('0x1b')](_0x1152('0x2a'))['to'](this),this[_0x1152('0x4d')][_0x1152('0x1b')](_0x1152('0x1d'))['to'](this)),_0x144110;}[_0x1152('0x50')](){super[_0x1152('0x50')](),this[_0x1152('0x43')]=this[_0x1152('0x2')][_0x1152('0x1')](_0x1152('0x1a')),this[_0x1152('0x43')][_0x1152('0x40')]=this[_0x1152('0x44')],this['on']('change:description',(_0x26c43a,_0x454a88,_0x16c6c8)=>{this[_0x1152('0x43')]['innerHTML']=_0x16c6c8;});}[_0x1152('0x4e')](_0x42be5f,_0x26d2b6,_0x1d5abc,_0x5acee2,_0x3d89b5){const _0x845454=new _0x293d1c(this[_0x1152('0x41')]);return _0x845454[_0x1152('0x27')]({'label':_0x42be5f,'icon':_0x26d2b6,'tooltip':!0x0,'tooltipPosition':_0x3d89b5}),_0x845454[_0x1152('0x53')]({'attributes':{'class':_0x1d5abc}}),_0x845454['on'](_0x1152('0x13'),()=>{this[_0x1152('0x54')](_0x5acee2,this[_0x1152('0x18')]['id']);}),_0x845454;}[_0x1152('0x38')](){return _0x1152('0x4c')===this[_0x1152('0x18')]['attributes'][_0x1152('0x4a')][_0x1152('0x25')]?_0x35b461(this[_0x1152('0x41')],_0x1152('0x7')):_0x35b461(this[_0x1152('0x41')],_0x1152('0x3d'));}[_0x1152('0x32')](){return this[_0x1152('0x18')]['isExternal']?'importWord'===this[_0x1152('0x18')][_0x1152('0x6')][_0x1152('0x4a')]['source']?_0x35b461(this[_0x1152('0x41')],_0x1152('0x5'),this[_0x1152('0x18')][_0x1152('0x29')][_0x1152('0x14')]):_0x35b461(this[_0x1152('0x41')],_0x1152('0x3a'),this[_0x1152('0x18')]['creator'][_0x1152('0x14')]):null;}}function ci(_0x4e4c4d,_0x4d1989){let _0x226264='';return _0x226264+=_0x4e4c4d[_0x1152('0x24')]('*')[_0x1152('0x42')]((_0x3e0ee5,_0x41ab59)=>_0x41ab59%0x2!=0x0?_0x1152('0x15')+ri(_0x3e0ee5)+'</span>':ri(_0x3e0ee5))['join'](''),_0x4d1989&&(_0x226264+=_0x1152('0x17')+_0x4d1989['value']+_0x1152('0x3f')+_0x4d1989[_0x1152('0x2b')]+'\x22></span>'),_0x226264;}function ri(_0x5b41dd){const _0xf6b235=document[_0x1152('0x9')](_0x1152('0x22'));return _0xf6b235[_0x1152('0x49')]=_0x5b41dd,_0xf6b235[_0x1152('0x40')];}
@@ -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(_0xb5ed8d,_0x3af2f8,_0x3a0e4e){const t=_0xb5ed8d['t'];switch(_0x3af2f8){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',_0x3a0e4e);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3a0e4e);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3a0e4e);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3a0e4e);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3a0e4e);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',_0x3a0e4e);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3a0e4e);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',_0x3a0e4e);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3a0e4e);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3a0e4e);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3a0e4e);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3a0e4e);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3a0e4e);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3a0e4e);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3a0e4e);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3a0e4e);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3a0e4e);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3a0e4e);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3a0e4e);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3a0e4e);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3a0e4e);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3a0e4e);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3a0e4e);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'},_0x3a0e4e);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3a0e4e);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3a0e4e);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3a0e4e);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3a0e4e);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3a0e4e);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'},_0x3a0e4e);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3a0e4e);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3a0e4e);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3a0e4e);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3a0e4e);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'},_0x3a0e4e);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3a0e4e);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'},_0x3a0e4e);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'},_0x3a0e4e);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3a0e4e);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'},_0x3a0e4e);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3a0e4e);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'},_0x3a0e4e);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3a0e4e);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3a0e4e);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'},_0x3a0e4e);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'},_0x3a0e4e);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 _0x3af2f8;}}
@@ -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 _0xd2b9=['getRanges','createPositionBefore','isTouching','length','next','from','isIntersecting','splice','value','createPositionAfter','isMultiRange','createPositionAt','isObject','isArray','sort','end','type','createRange','deletion','schema','replace','execute','isInContent','color','map'];(function(_0x599680,_0xd2b948){const _0x3e5e32=function(_0x251706){while(--_0x251706){_0x599680['push'](_0x599680['shift']());}};_0x3e5e32(++_0xd2b948);}(_0xd2b9,0x1dc));const _0x3e5e=function(_0x599680,_0xd2b948){_0x599680=_0x599680-0x0;let _0x3e5e32=_0xd2b9[_0x599680];return _0x3e5e32;};export function normalizeDescription(_0x186d9a){return Array[_0x3e5e('0xc')](_0x186d9a)||(_0x186d9a=[_0x186d9a]),_0x186d9a[_0x3e5e('0x17')](_0x49ec3c=>{const _0x3fd46a=_0x49ec3c['content'][_0x3e5e('0x13')](/\*/g,''),_0x3d3e98=_0x49ec3c['color']?'\x20[color\x20'+_0x49ec3c[_0x3e5e('0x16')][_0x3e5e('0x7')]+']':'';return'['+_0x49ec3c['type']+']\x20'+_0x3fd46a+_0x3d3e98;})['join'](';\x20');}export function sortSuggestions(_0x143f1c){return _0x143f1c[_0x3e5e('0xd')]((_0x4b4307,_0xd20c38)=>_0x3e5e('0x11')==_0x4b4307[_0x3e5e('0xf')]&&'deletion'!=_0xd20c38[_0x3e5e('0xf')]?-0x1:_0x3e5e('0x11')!=_0x4b4307[_0x3e5e('0xf')]&&'deletion'==_0xd20c38[_0x3e5e('0xf')]?0x1:0x0);}export function getSelectedSuggestions(_0x485648,_0x420f9f){const _0x388274=Array[_0x3e5e('0x4')](_0x485648['getRanges']()),_0x43aec7=new Set();for(const _0xd24628 of _0x420f9f)if(_0xd24628[_0x3e5e('0x15')])for(const _0x138874 of _0x388274)for(const _0x3f9af7 of _0xd24628[_0x3e5e('0x18')]())(_0x138874[_0x3e5e('0x5')](_0x3f9af7)||_0x485648['isCollapsed']&&!_0xd24628[_0x3e5e('0x9')]&&_0xd24628[_0x3e5e('0x3')]&&_0x3f9af7['end'][_0x3e5e('0x1')](_0x138874['start']))&&_0x43aec7['add'](_0xd24628);return _0x43aec7;}export function getRangesOfBlockGroups(_0x533627,_0x54045e){let _0x193b7f,_0x440303=0x0;const _0x357e11=[],_0x40511e=_0x54045e[_0x3e5e('0x12')];for(;_0x440303<_0x533627[_0x3e5e('0x2')];){const _0x63cace=_0x533627[_0x440303],_0x37543b=_0x533627[_0x440303+0x1];_0x193b7f||(_0x193b7f=_0x54045e[_0x3e5e('0x0')](_0x63cace)),co(_0x54045e,_0x63cace,_0x37543b)||(_0x357e11['push'](_0x54045e[_0x3e5e('0x10')](_0x193b7f,_0x40511e[_0x3e5e('0xb')](_0x63cace)?_0x54045e[_0x3e5e('0x8')](_0x63cace):_0x54045e[_0x3e5e('0xa')](_0x63cace,_0x3e5e('0xe')))),_0x193b7f=null),_0x440303++;}return _0x357e11;}function co(_0x42258e,_0x3749ec,_0x40ff5f){if(!_0x40ff5f)return!0x1;const _0x351e50=_0x42258e[_0x3e5e('0x8')](_0x3749ec),_0x3b3cbf=_0x42258e[_0x3e5e('0x0')](_0x40ff5f);return _0x351e50[_0x3e5e('0x1')](_0x3b3cbf);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x2b9394,_0x24f30d,_0x514352){for(;_0x514352[_0x3e5e('0x2')];){const _0x5c5df4=_0x514352[_0x3e5e('0x6')](0x0,0x64);_0x2b9394['change'](()=>{for(const _0x5e721d of _0x5c5df4)_0x5e721d[_0x3e5e('0x15')]&&_0x24f30d[_0x3e5e('0x14')](_0x5e721d['id']);});}}