@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231115.0 → 0.0.0-nightly-20231117.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 (159) 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/contexts.json +3 -3
  50. package/lang/translations/ar.po +19 -19
  51. package/lang/translations/bg.po +19 -19
  52. package/lang/translations/bn.po +19 -19
  53. package/lang/translations/ca.po +19 -19
  54. package/lang/translations/cs.po +19 -19
  55. package/lang/translations/da.po +19 -19
  56. package/lang/translations/de.po +19 -19
  57. package/lang/translations/el.po +19 -19
  58. package/lang/translations/es.po +19 -19
  59. package/lang/translations/et.po +19 -19
  60. package/lang/translations/fi.po +19 -19
  61. package/lang/translations/fr.po +19 -19
  62. package/lang/translations/he.po +19 -19
  63. package/lang/translations/hi.po +19 -19
  64. package/lang/translations/hu.po +19 -19
  65. package/lang/translations/id.po +19 -19
  66. package/lang/translations/it.po +19 -19
  67. package/lang/translations/ja.po +19 -19
  68. package/lang/translations/ko.po +19 -19
  69. package/lang/translations/lt.po +19 -19
  70. package/lang/translations/lv.po +19 -19
  71. package/lang/translations/ms.po +19 -19
  72. package/lang/translations/nl.po +19 -19
  73. package/lang/translations/no.po +19 -19
  74. package/lang/translations/pl.po +19 -19
  75. package/lang/translations/pt-br.po +19 -19
  76. package/lang/translations/pt.po +19 -19
  77. package/lang/translations/ro.po +19 -19
  78. package/lang/translations/ru.po +19 -19
  79. package/lang/translations/sk.po +19 -19
  80. package/lang/translations/sr.po +19 -19
  81. package/lang/translations/sv.po +19 -19
  82. package/lang/translations/th.po +19 -19
  83. package/lang/translations/tr.po +19 -19
  84. package/lang/translations/uk.po +19 -19
  85. package/lang/translations/vi.po +19 -19
  86. package/lang/translations/zh-cn.po +19 -19
  87. package/lang/translations/zh.po +19 -19
  88. package/package.json +3 -3
  89. package/src/commands/acceptsuggestioncommand.js +1 -1
  90. package/src/commands/discardsuggestioncommand.js +1 -1
  91. package/src/commands/executeonallsuggestionscommand.js +1 -1
  92. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  93. package/src/commands/trackchangescommand.js +1 -1
  94. package/src/index.d.ts +1 -1
  95. package/src/integrations/aiassistant.js +1 -1
  96. package/src/integrations/alignment.js +1 -1
  97. package/src/integrations/basicstyles.js +1 -1
  98. package/src/integrations/blockquote.js +1 -1
  99. package/src/integrations/ckbox.js +1 -1
  100. package/src/integrations/codeblock.js +1 -1
  101. package/src/integrations/comments.js +1 -1
  102. package/src/integrations/deletecommand.js +1 -1
  103. package/src/integrations/documentlist.js +1 -1
  104. package/src/integrations/documentlistproperties.js +1 -1
  105. package/src/integrations/entercommand.js +1 -1
  106. package/src/integrations/findandreplace.js +1 -1
  107. package/src/integrations/font.js +1 -1
  108. package/src/integrations/formatpainter.js +1 -1
  109. package/src/integrations/heading.js +1 -1
  110. package/src/integrations/highlight.js +1 -1
  111. package/src/integrations/horizontalline.js +1 -1
  112. package/src/integrations/htmlembed.js +1 -1
  113. package/src/integrations/image.js +1 -1
  114. package/src/integrations/imagereplace.js +1 -1
  115. package/src/integrations/imagestyle.js +1 -1
  116. package/src/integrations/importword.js +1 -1
  117. package/src/integrations/indent.js +1 -1
  118. package/src/integrations/inputcommand.js +1 -1
  119. package/src/integrations/link.js +1 -1
  120. package/src/integrations/list.js +1 -1
  121. package/src/integrations/listproperties.js +1 -1
  122. package/src/integrations/mediaembed.js +1 -1
  123. package/src/integrations/mention.js +1 -1
  124. package/src/integrations/pagebreak.js +1 -1
  125. package/src/integrations/paragraph.js +1 -1
  126. package/src/integrations/removeformat.js +1 -1
  127. package/src/integrations/restrictededitingmode.js +1 -1
  128. package/src/integrations/shiftentercommand.js +1 -1
  129. package/src/integrations/standardeditingmode.js +1 -1
  130. package/src/integrations/style.d.ts +0 -1
  131. package/src/integrations/style.js +1 -1
  132. package/src/integrations/table.js +1 -1
  133. package/src/integrations/tablecaption.js +1 -1
  134. package/src/integrations/tableclipboard.js +1 -1
  135. package/src/integrations/tablecolumnresize.js +1 -1
  136. package/src/integrations/tableheadings.js +1 -1
  137. package/src/integrations/tablemergesplit.js +1 -1
  138. package/src/integrations/tableofcontents.js +1 -1
  139. package/src/integrations/tableproperties.js +1 -1
  140. package/src/integrations/template.js +1 -1
  141. package/src/integrations/title.js +1 -1
  142. package/src/integrations/undo.js +1 -1
  143. package/src/integrations/utils.js +1 -1
  144. package/src/suggestion.js +1 -1
  145. package/src/suggestiondescriptionfactory.d.ts +7 -4
  146. package/src/suggestiondescriptionfactory.js +1 -1
  147. package/src/trackchanges.d.ts +0 -67
  148. package/src/trackchanges.js +1 -1
  149. package/src/trackchangesconfig.d.ts +22 -19
  150. package/src/trackchangesdata.js +1 -1
  151. package/src/trackchangesediting.d.ts +14 -23
  152. package/src/trackchangesediting.js +1 -1
  153. package/src/trackchangesui.js +1 -1
  154. package/src/ui/suggestioncontroller.js +1 -1
  155. package/src/ui/view/basesuggestionthreadview.js +1 -1
  156. package/src/ui/view/suggestionthreadview.d.ts +1 -1
  157. package/src/ui/view/suggestionthreadview.js +1 -1
  158. package/src/utils/common-translations.js +1 -1
  159. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7a23=['unbind','head','getByInnerView','change:previous','Track\x20changes','acceptSelectedSuggestions','createAnnotation','suggestionLoaded','arrowView','discardAllSuggestions','CommentView','activeAnnotations','_initializeController','separator','focus','Discard\x20all\x20suggestions','innerView','getJoined','SuggestionThreadView','comments.maxCommentCharsWhenCollapsed','editor','CommentsRepository','toMany','Accept\x20all\x20selected\x20suggestions','push','_refreshActiveMarkers','getDescriptions','_annotationViews','plugins','_unbindEditors','commandName','CommentsUI','suggestionChanged','_destroyController','execute','get','getSuggestion','_viewToController','isInContent','_handleControllerBuffer','_suggestionToController','_descriptionFactory','from','commentThread','values','remove','value','Discard\x20all\x20selected\x20suggestions','discardSelectedSuggestions','_handleSuggestionControllerDelayed','comments.maxThreadTotalWeight','getMarkers','listenTo','isEnabled','buttonView','refreshSelectedViews','_updateController','lowest','suggestionUnloaded','descriptionParts','view','trackChanges.disableComments','comments.maxCommentsWhenCollapsed','size','keys','has','Annotations','define','commands','type','EditorAnnotations','comments','destroy','suggestion-','filter','addComment','isDirty','model','pluginName','discardButton','isMultiRange','registerAnnotation','createAnnotationView','comments.editorConfig','length','_disableComments','mainView','_bindAnnotationToEditors','actionView','getMarkerNames','button','add','trackChanges','some','isOn','_createUIButton','stopListening','activeMarkers','set','getAllAdjacentSuggestions','locale','reduce','bind','init','editing','switchbutton','requires','delete','source','TrackChangesEditing'];(function(_0x33d293,_0x7a23c4){const _0x28da1f=function(_0x19f007){while(--_0x19f007){_0x33d293['push'](_0x33d293['shift']());}};_0x28da1f(++_0x7a23c4);}(_0x7a23,0x13d));const _0x28da=function(_0x33d293,_0x7a23c4){_0x33d293=_0x33d293-0x0;let _0x28da1f=_0x7a23[_0x33d293];return _0x28da1f;};import{Plugin as _0x471623}from'ckeditor5/src/core';import{Collection as _0x527d22}from'ckeditor5/src/utils';import{Model as _0x43c8bf,SplitButtonView as _0x4f38b4,createDropdown as _0x38fd01,addListToDropdown as _0x42c9b7}from'ckeditor5/src/ui';import{Users as _0x442939,getDateTimeFormatter as _0x4521bf,getAllMarkersDomElementsSorted as _0x419326}from'ckeditor5-collaboration/src/collaboration-core';import _0x257428 from'./trackchangesediting';import _0xe0b8a4 from'./ui/suggestioncontroller';import _0x109b5d from'./ui/view/suggestionthreadview';import{getTranslation as _0x58bf61}from'./utils/common-translations';import _0x4d704b from'../theme/icons/track-changes.svg';export default class d extends _0x471623{static get[_0x28da('0x9')](){return[_0x257428,_0x442939,_0x28da('0x22'),_0x28da('0x4f'),_0x28da('0x53')];}static get[_0x28da('0x5b')](){return'TrackChangesUI';}constructor(_0x2c7748){super(_0x2c7748),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this[_0x28da('0x28')]=new Map(),this[_0x28da('0x34')]=new Map();const _0x59c010=this[_0x28da('0x21')]['config'];_0x59c010[_0x28da('0x50')]('trackChanges.SuggestionThreadView',_0x109b5d),_0x59c010['define'](_0x28da('0x4a'),!0x1),this[_0x28da('0x62')]=_0x59c010['get']('trackChanges.disableComments');}[_0x28da('0x3e')](_0xc5590d,_0x284541){0x0===this[_0x28da('0x34')][_0x28da('0x4c')]&&setTimeout(()=>{for(const [_0x51a392,_0x19d2e4]of this['_handleControllerBuffer']){const _0x462850=this[_0x28da('0x35')][_0x28da('0x4e')](_0x51a392);_0x462850||_0x19d2e4?_0x462850&&_0x19d2e4&&this[_0x28da('0x2e')](_0x51a392):this[_0x28da('0x19')](_0x51a392);}this['editor']['plugins'][_0x28da('0x30')](_0x28da('0x53'))[_0x28da('0x44')](),this[_0x28da('0x26')](),this['_handleControllerBuffer']['clear']();},0xa),this['_handleControllerBuffer'][_0x28da('0x1')](_0xc5590d,_0x284541);}[_0x28da('0x6')](){const _0x21b7d5=this[_0x28da('0x21')],_0x87053d=_0x21b7d5[_0x28da('0x29')][_0x28da('0x30')]('TrackChangesEditing'),_0x3bed10=_0x21b7d5['plugins'][_0x28da('0x30')](_0x28da('0x4f')),_0xcf88a8=_0x21b7d5[_0x28da('0x29')][_0x28da('0x30')](_0x28da('0x53')),_0x1db6d4=_0x21b7d5[_0x28da('0x29')][_0x28da('0x30')]('CommentsRepository');_0x21b7d5['ui']['componentFactory'][_0x28da('0x68')]('trackChanges',_0x44d463=>this['_createUIButton'](_0x44d463)),_0xcf88a8['addSourceCollector'](()=>{const _0x34c15c=[];for(const [_0x14f2d5,_0x5a9794]of Array[_0x28da('0x37')](this[_0x28da('0x35')])){const _0x5a2f4f=_0x14f2d5[_0x28da('0x2')](),_0x248249=[];for(const _0x3f4c2f of _0x5a2f4f){if(!_0x3f4c2f['isInContent'])continue;if(_0x3f4c2f[_0x28da('0x5d')]){_0x248249[_0x28da('0x25')](..._0x3f4c2f['getRanges']());continue;}const _0x4db804=_0x3f4c2f['getFirstRange']();if(_0x248249['length']>0x0){const _0x46fba4=_0x248249[0x0][_0x28da('0x1e')](_0x4db804);if(_0x46fba4){_0x248249[0x0]=_0x46fba4;continue;}}_0x248249['push'](_0x4db804);}_0x34c15c[_0x28da('0x25')]([_0x5a9794[_0x28da('0x49')],_0x248249]);}return _0x34c15c;}),this['listenTo'](_0x87053d,_0x28da('0x14'),(_0x9913a9,_0x3af1d5)=>{this['listenTo'](_0x3af1d5,_0x28da('0x10'),(_0x33ebd0,_0x194c24,_0x7c1616,_0x54e8f9)=>{_0x3af1d5[_0x28da('0x33')]&&(null==_0x7c1616?(this['_updateController'](_0x54e8f9[_0x28da('0xe')]),this[_0x28da('0x3e')](_0x3af1d5,!0x1)):(this[_0x28da('0x45')](_0x7c1616[_0x28da('0xe')]),null==_0x54e8f9&&this[_0x28da('0x3e')](_0x3af1d5,!0x0)));}),null!==_0x3af1d5['previous']?this[_0x28da('0x45')](_0x3af1d5[_0x28da('0xe')]):this[_0x28da('0x3e')](_0x3af1d5,!0x1);}),this[_0x28da('0x41')](_0x87053d,_0x28da('0x47'),(_0x41d698,_0x51dbcd,_0x31d8eb)=>{this[_0x28da('0x6d')](_0x51dbcd,'change:previous'),this['_handleControllerBuffer'][_0x28da('0xa')](_0x51dbcd),this['_suggestionToController']['has'](_0x51dbcd)&&this['_destroyController'](_0x51dbcd),_0x31d8eb&&this[_0x28da('0x45')](_0x31d8eb[_0x28da('0xe')]);}),this[_0x28da('0x41')](_0x87053d,_0x28da('0x2d'),(_0x15fe8e,_0x4cb62a)=>{this[_0x28da('0x45')](_0x4cb62a);}),this[_0x28da('0x41')](_0x3bed10,'change:activeAnnotations',()=>{this[_0x28da('0x26')]();}),this[_0x28da('0x41')](_0x1db6d4,_0x28da('0x58'),(_0xa673c6,{threadId:_0x4ab077,isFromAdapter:_0x1b5aad})=>{if(_0x1b5aad||!_0x87053d['hasSuggestion'](_0x4ab077))return;const _0x313d3b=_0x87053d[_0x28da('0x31')](_0x4ab077);this[_0x28da('0x35')][_0x28da('0x30')](_0x313d3b)[_0x28da('0x49')][_0x28da('0x1b')]();},{'priority':_0x28da('0x46')});}[_0x28da('0x26')](){const _0xa7ac3=this[_0x28da('0x21')][_0x28da('0x29')][_0x28da('0x30')](_0x28da('0x4f')),_0x91e164=this[_0x28da('0x21')][_0x28da('0x29')][_0x28da('0x30')](_0x28da('0xc')),_0x2e7f26=Array[_0x28da('0x37')](_0xa7ac3[_0x28da('0x18')],_0x4d77f2=>_0x4d77f2[_0x28da('0x1d')])['filter'](_0xf248e=>this['_viewToController']['has'](_0xf248e)),_0x5765e4=[];for(const _0x5caa1e of _0x2e7f26){const _0x11bf39=this[_0x28da('0x32')]['get'](_0x5caa1e)[_0x28da('0x5a')][_0x28da('0x2')]();_0x5765e4['push'](..._0x11bf39[_0x28da('0x4')]((_0x125a7b,_0xcf5203)=>[..._0x125a7b,..._0xcf5203[_0x28da('0x66')]()],[]));}_0x91e164[_0x28da('0x0')]=_0x5765e4;}[_0x28da('0x6c')](_0xd2dc1f){const _0x5e9879=_0x38fd01(_0xd2dc1f,_0x4f38b4),_0x403884=this[_0x28da('0x21')]['commands'][_0x28da('0x30')]('trackChanges'),_0x78865c=_0x58bf61(_0xd2dc1f,_0x28da('0x11'));_0x5e9879[_0x28da('0x43')][_0x28da('0x1')]({'tooltip':_0x78865c,'label':_0x78865c,'icon':_0x4d704b}),_0x5e9879[_0x28da('0x43')][_0x28da('0x5')](_0x28da('0x6b'))['to'](_0x403884,_0x28da('0x3b')),_0x5e9879[_0x28da('0x43')]['on'](_0x28da('0x2f'),()=>{_0x403884[_0x28da('0x2f')](),this[_0x28da('0x21')][_0x28da('0x7')][_0x28da('0x49')][_0x28da('0x1b')]();});const _0x1670ab=new _0x527d22(),_0x4739ac=[{'type':_0x28da('0x8'),'model':{'withText':!0x0,'label':_0x78865c,'commandName':_0x28da('0x69')}},{'type':_0x28da('0x1a')},{'type':_0x28da('0x67'),'model':{'withText':!0x0,'label':_0x58bf61(_0xd2dc1f,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions'}},{'type':_0x28da('0x67'),'model':{'withText':!0x0,'label':_0x58bf61(_0xd2dc1f,_0x28da('0x24')),'commandName':_0x28da('0x12')}},{'type':_0x28da('0x67'),'model':{'withText':!0x0,'label':_0x58bf61(_0xd2dc1f,_0x28da('0x1c')),'commandName':_0x28da('0x16')}},{'type':'button','model':{'withText':!0x0,'label':_0x58bf61(_0xd2dc1f,_0x28da('0x3c')),'commandName':_0x28da('0x3d')}}];for(const _0x158a3b of _0x4739ac){let _0x2b15fb={'type':_0x28da('0x1a')};if(_0x158a3b[_0x28da('0x5a')]){const _0x3d1f33=new _0x43c8bf(_0x158a3b[_0x28da('0x5a')]),_0xf7a724=this[_0x28da('0x21')][_0x28da('0x51')][_0x28da('0x30')](_0x3d1f33[_0x28da('0x2b')]);_0x3d1f33[_0x28da('0x5')]('isOn',_0x28da('0x42'))['to'](_0xf7a724,_0x28da('0x3b'),_0x28da('0x42')),_0x2b15fb={'type':_0x158a3b['type'],'model':_0x3d1f33};}_0x1670ab[_0x28da('0x68')](_0x2b15fb);}_0x42c9b7(_0x5e9879,_0x1670ab);const _0x55ab08=_0x4739ac['filter'](_0x3bb45f=>null!=_0x3bb45f['model'])['map'](_0x3f1c7c=>this[_0x28da('0x21')][_0x28da('0x51')][_0x28da('0x30')](_0x3f1c7c[_0x28da('0x5a')][_0x28da('0x2b')])),_0x3b996b=_0x5e9879['buttonView'];return _0x3b996b[_0x28da('0x65')][_0x28da('0xd')]('isEnabled'),_0x3b996b[_0x28da('0x15')][_0x28da('0xd')](_0x28da('0x42')),_0x3b996b[_0x28da('0x65')][_0x28da('0x5')]('isEnabled')['to'](_0x403884,_0x28da('0x42')),_0x3b996b[_0x28da('0x15')][_0x28da('0x5')](_0x28da('0x42'))[_0x28da('0x23')](_0x55ab08,_0x28da('0x42'),(..._0x1b307d)=>_0x1b307d[_0x28da('0x6a')](_0x7569e2=>_0x7569e2)),_0x5e9879['on'](_0x28da('0x2f'),_0x509826=>{this['editor'][_0x28da('0x2f')](_0x509826[_0x28da('0xb')]['commandName']),this['editor'][_0x28da('0x7')][_0x28da('0x49')]['focus']();}),_0x5e9879;}[_0x28da('0x19')](_0x36f4fe){const _0x33648c=this[_0x28da('0x21')],_0x4cd30e=_0x33648c['config'],_0x36aa17=_0x33648c[_0x28da('0x29')][_0x28da('0x30')](_0x28da('0x4f')),_0x4b3a35=_0x33648c[_0x28da('0x29')]['get']('CommentsRepository'),_0xdb4dfa=_0x33648c[_0x28da('0x29')][_0x28da('0x30')]('EditorAnnotations'),_0x456bce=_0x33648c[_0x28da('0x29')][_0x28da('0x30')](_0x442939)['me'],_0x162203=_0x4cd30e[_0x28da('0x30')](_0x28da('0x69'))[_0x28da('0x1f')],{CommentsListView:_0x588b18,CommentThreadInputView:_0x39d50b}=_0x33648c[_0x28da('0x29')][_0x28da('0x30')](_0x28da('0x2c'));let _0x3bd407,_0x40a52d;this[_0x28da('0x28')][_0x28da('0x4e')](_0x36f4fe['id'])?(_0x40a52d=this[_0x28da('0x28')]['get'](_0x36f4fe['id']),_0x3bd407=_0x40a52d[_0x28da('0x63')]):(_0x3bd407=new _0x162203(_0x33648c[_0x28da('0x3')],_0x36f4fe,_0x456bce,{'disableComments':this['_disableComments'],'editorConfig':_0x4cd30e[_0x28da('0x30')](_0x28da('0x60')),'maxCommentsWhenCollapsed':_0x4cd30e[_0x28da('0x30')](_0x28da('0x4b')),'maxThreadTotalWeight':_0x4cd30e[_0x28da('0x30')](_0x28da('0x3f')),'maxCommentCharsWhenCollapsed':_0x4cd30e[_0x28da('0x30')](_0x28da('0x20')),'formatDateTime':_0x4521bf(_0x4cd30e[_0x28da('0x30')]('locale')),'CommentView':_0x4cd30e[_0x28da('0x30')](_0x28da('0x54'))[_0x28da('0x17')],'CommentsListView':_0x588b18,'CommentThreadInputView':_0x39d50b}),_0x3bd407['acceptButton']['on']('execute',()=>{_0x33648c['editing'][_0x28da('0x49')][_0x28da('0x1b')]();}),_0x3bd407[_0x28da('0x5c')]['on']('execute',()=>{_0x33648c[_0x28da('0x7')]['view'][_0x28da('0x1b')]();}),_0x40a52d=_0x36aa17[_0x28da('0x5f')](this[_0x28da('0x21')][_0x28da('0x3')],_0x3bd407),_0x40a52d[_0x28da('0x5')](_0x28da('0x59'))['to'](_0x3bd407,_0x28da('0x59')),_0x40a52d[_0x28da('0x5')](_0x28da('0x61'))['to'](_0x3bd407),_0x40a52d[_0x28da('0x5')](_0x28da('0x52'))['to'](_0x3bd407,'type',_0x331454=>_0x28da('0x56')+_0x331454),this[_0x28da('0x28')][_0x28da('0x1')](_0x36f4fe['id'],_0x40a52d));const _0x47430e=_0x4b3a35['createCommentThreadController'](_0x36f4fe[_0x28da('0x38')],_0x3bd407),_0x2b0979=new _0xe0b8a4(_0x33648c,_0x36f4fe,_0x3bd407,_0x47430e),_0x545c05=_0x36f4fe[_0x28da('0x2')]()[_0x28da('0x57')](_0x561ceb=>_0x561ceb['isInContent']);_0x3bd407[_0x28da('0x48')]=_0x33648c[_0x28da('0x29')][_0x28da('0x30')](_0x28da('0xc'))[_0x28da('0x36')][_0x28da('0x27')](_0x545c05),this[_0x28da('0x35')]['set'](_0x36f4fe,_0x2b0979),this[_0x28da('0x32')]['set'](_0x3bd407,_0x2b0979);const _0x53cf67=_0x36aa17[_0x28da('0x13')]({'view':_0x40a52d,'target':()=>{const _0x3f5c3f=[],_0x5e4f28=_0x36f4fe[_0x28da('0x2')]()[_0x28da('0x57')](_0x4639d9=>_0x4639d9[_0x28da('0x33')]);for(const _0x319b05 of _0x5e4f28)_0x3f5c3f['push'](..._0x319b05[_0x28da('0x40')]());return _0x419326(_0x33648c['editing'],_0x3f5c3f);},'type':()=>_0x28da('0x56')+_0x2b0979[_0x28da('0x49')][_0x28da('0x52')]});_0x4b3a35[_0x28da('0x64')](_0x3bd407,_0x53cf67),_0x36aa17[_0x28da('0x68')](_0x53cf67),_0xdb4dfa[_0x28da('0x5e')](_0x53cf67);}[_0x28da('0x2e')](_0x4f18f2){const _0x50e9ed=this[_0x28da('0x21')]['plugins'][_0x28da('0x30')]('CommentsRepository'),_0x1110cb=this[_0x28da('0x21')][_0x28da('0x29')]['get'](_0x28da('0x4f')),_0x1298f6=this['_suggestionToController']['get'](_0x4f18f2),_0xe29c16=_0x1298f6[_0x28da('0x49')],_0x41dd4e=_0x1110cb[_0x28da('0xf')](_0xe29c16);_0x50e9ed[_0x28da('0x2a')](_0xe29c16),_0x41dd4e&&_0x1110cb[_0x28da('0x3a')](_0x41dd4e),this['_suggestionToController'][_0x28da('0xa')](_0x4f18f2),this['_viewToController']['delete'](_0xe29c16),_0x1298f6[_0x28da('0x55')]();}[_0x28da('0x45')](_0x11e2d8){if(!_0x11e2d8[_0x28da('0x33')]||!this[_0x28da('0x35')]['has'](_0x11e2d8))return;const _0x231409=this[_0x28da('0x21')][_0x28da('0x29')]['get'](_0x28da('0xc')),_0x582371=this[_0x28da('0x35')][_0x28da('0x30')](_0x11e2d8),_0x1193c8=_0x11e2d8[_0x28da('0x2')]();_0x582371[_0x28da('0x49')]['descriptionParts']=_0x231409[_0x28da('0x36')][_0x28da('0x27')](_0x1193c8);}['destroy'](){for(const _0x5d6536 of this[_0x28da('0x35')][_0x28da('0x4d')]())this[_0x28da('0x2e')](_0x5d6536);for(const _0x2191e8 of this['_annotationViews'][_0x28da('0x39')]())_0x2191e8[_0x28da('0x63')][_0x28da('0x55')]();super[_0x28da('0x55')]();}}
23
+ const _0x5acb=['_viewToController','_unbindEditors','comments.maxCommentCharsWhenCollapsed','listenTo','editor','getAllAdjacentSuggestions','head','createCommentThreadController','descriptionParts','Accept\x20all\x20suggestions','length','commandName','map','_handleSuggestionControllerDelayed','actionView','createAnnotationView','change:activeAnnotations','separator','activeAnnotations','isInContent','arrowView','isEnabled','discardButton','CommentsUI','values','_handleControllerBuffer','comments.editorConfig','editing','trackChanges','model','acceptSelectedSuggestions','discardSelectedSuggestions','isOn','comments','getByInnerView','filter','isDirty','_bindAnnotationToEditors','destroy','_disableComments','type','_initializeController','clear','_annotationViews','commentThread','_descriptionFactory','Track\x20changes','_createUIButton','hasSuggestion','bind','plugins','Discard\x20all\x20selected\x20suggestions','TrackChangesUI','pluginName','suggestionLoaded','get','_suggestionToController','define','activeMarkers','EditorAnnotations','keys','comments.maxThreadTotalWeight','previous','addSourceCollector','suggestion-','has','config','isMultiRange','_refreshActiveMarkers','buttonView','from','set','stopListening','mainView','view','componentFactory','createAnnotation','focus','delete','some','remove','getJoined','execute','add','reduce','trackChanges.SuggestionThreadView','locale','getSuggestion','size','comments.maxCommentsWhenCollapsed','getDescriptions','CommentsRepository','push','refreshSelectedViews','change:previous','innerView','SuggestionThreadView','suggestionChanged','Accept\x20all\x20selected\x20suggestions','CommentView','button','Annotations','trackChanges.disableComments','_updateController','Discard\x20all\x20suggestions','commands','unbind','_destroyController','acceptAllSuggestions','TrackChangesEditing'];(function(_0x350081,_0x5acb96){const _0x548185=function(_0x301815){while(--_0x301815){_0x350081['push'](_0x350081['shift']());}};_0x548185(++_0x5acb96);}(_0x5acb,0x142));const _0x5481=function(_0x350081,_0x5acb96){_0x350081=_0x350081-0x0;let _0x548185=_0x5acb[_0x350081];return _0x548185;};import{Plugin as _0x4244ba}from'ckeditor5/src/core';import{Collection as _0x23779b}from'ckeditor5/src/utils';import{Model as _0x269b41,SplitButtonView as _0x364fb8,createDropdown as _0x40b253,addListToDropdown as _0xf2d630}from'ckeditor5/src/ui';import{Users as _0x4f1c50,getDateTimeFormatter as _0x449b04,getAllMarkersDomElementsSorted as _0x53ea58}from'ckeditor5-collaboration/src/collaboration-core';import _0x3aa484 from'./trackchangesediting';import _0x5b6e45 from'./ui/suggestioncontroller';import _0x4f133a from'./ui/view/suggestionthreadview';import{getTranslation as _0x256c74}from'./utils/common-translations';import _0x13e732 from'../theme/icons/track-changes.svg';export default class d extends _0x4244ba{static get['requires'](){return[_0x3aa484,_0x4f1c50,_0x5481('0x63'),'Annotations',_0x5481('0x43')];}static get[_0x5481('0x3d')](){return _0x5481('0x3c');}constructor(_0x12d922){super(_0x12d922),this['_suggestionToController']=new Map(),this[_0x5481('0x8')]=new Map(),this['_annotationViews']=new Map(),this[_0x5481('0x21')]=new Map();const _0x776b3c=this[_0x5481('0xc')][_0x5481('0x4a')];_0x776b3c[_0x5481('0x41')](_0x5481('0x5d'),_0x4f133a),_0x776b3c[_0x5481('0x41')]('trackChanges.disableComments',!0x1),this[_0x5481('0x2f')]=_0x776b3c[_0x5481('0x3f')](_0x5481('0x0'));}[_0x5481('0x15')](_0x5220fe,_0x4807c9){0x0===this[_0x5481('0x21')][_0x5481('0x60')]&&setTimeout(()=>{for(const [_0x34e077,_0x5850b8]of this[_0x5481('0x21')]){const _0x2a09cc=this[_0x5481('0x40')]['has'](_0x34e077);_0x2a09cc||_0x5850b8?_0x2a09cc&&_0x5850b8&&this[_0x5481('0x5')](_0x34e077):this['_initializeController'](_0x34e077);}this[_0x5481('0xc')][_0x5481('0x3a')][_0x5481('0x3f')]('EditorAnnotations')[_0x5481('0x65')](),this[_0x5481('0x4c')](),this[_0x5481('0x21')][_0x5481('0x32')]();},0xa),this[_0x5481('0x21')][_0x5481('0x4f')](_0x5220fe,_0x4807c9);}['init'](){const _0x2edf88=this[_0x5481('0xc')],_0x23835e=_0x2edf88['plugins'][_0x5481('0x3f')](_0x5481('0x7')),_0x14518f=_0x2edf88[_0x5481('0x3a')][_0x5481('0x3f')](_0x5481('0x6d')),_0x12390e=_0x2edf88[_0x5481('0x3a')][_0x5481('0x3f')](_0x5481('0x43')),_0x293346=_0x2edf88['plugins'][_0x5481('0x3f')](_0x5481('0x63'));_0x2edf88['ui'][_0x5481('0x53')][_0x5481('0x5b')]('trackChanges',_0x2ed75c=>this[_0x5481('0x37')](_0x2ed75c)),_0x12390e[_0x5481('0x47')](()=>{const _0x107faa=[];for(const [_0x4a81a3,_0x2a2a27]of Array[_0x5481('0x4e')](this['_suggestionToController'])){const _0x497112=_0x4a81a3['getAllAdjacentSuggestions'](),_0xa89797=[];for(const _0x18dc74 of _0x497112){if(!_0x18dc74[_0x5481('0x1b')])continue;if(_0x18dc74[_0x5481('0x4b')]){_0xa89797[_0x5481('0x64')](..._0x18dc74['getRanges']());continue;}const _0xde34dd=_0x18dc74['getFirstRange']();if(_0xa89797[_0x5481('0x12')]>0x0){const _0x7670d6=_0xa89797[0x0][_0x5481('0x59')](_0xde34dd);if(_0x7670d6){_0xa89797[0x0]=_0x7670d6;continue;}}_0xa89797[_0x5481('0x64')](_0xde34dd);}_0x107faa[_0x5481('0x64')]([_0x2a2a27[_0x5481('0x52')],_0xa89797]);}return _0x107faa;}),this[_0x5481('0xb')](_0x23835e,_0x5481('0x3e'),(_0x27e48a,_0x32aa41)=>{this[_0x5481('0xb')](_0x32aa41,_0x5481('0x66'),(_0x3af69a,_0x5a4c9e,_0x2ff5ee,_0x2a86a5)=>{_0x32aa41[_0x5481('0x1b')]&&(null==_0x2ff5ee?(this[_0x5481('0x1')](_0x2a86a5['head']),this['_handleSuggestionControllerDelayed'](_0x32aa41,!0x1)):(this['_updateController'](_0x2ff5ee['head']),null==_0x2a86a5&&this[_0x5481('0x15')](_0x32aa41,!0x0)));}),null!==_0x32aa41[_0x5481('0x46')]?this['_updateController'](_0x32aa41[_0x5481('0xe')]):this[_0x5481('0x15')](_0x32aa41,!0x1);}),this[_0x5481('0xb')](_0x23835e,'suggestionUnloaded',(_0x285593,_0x1223e2,_0x57b593)=>{this[_0x5481('0x50')](_0x1223e2,_0x5481('0x66')),this[_0x5481('0x21')][_0x5481('0x56')](_0x1223e2),this[_0x5481('0x40')][_0x5481('0x49')](_0x1223e2)&&this[_0x5481('0x5')](_0x1223e2),_0x57b593&&this['_updateController'](_0x57b593[_0x5481('0xe')]);}),this[_0x5481('0xb')](_0x23835e,_0x5481('0x69'),(_0x81d8de,_0x54f93c)=>{this[_0x5481('0x1')](_0x54f93c);}),this['listenTo'](_0x14518f,_0x5481('0x18'),()=>{this[_0x5481('0x4c')]();}),this[_0x5481('0xb')](_0x293346,'addComment',(_0x134286,{threadId:_0x193345,isFromAdapter:_0xa35ca})=>{if(_0xa35ca||!_0x23835e[_0x5481('0x38')](_0x193345))return;const _0x31ac23=_0x23835e[_0x5481('0x5f')](_0x193345);this['_suggestionToController'][_0x5481('0x3f')](_0x31ac23)[_0x5481('0x52')][_0x5481('0x55')]();},{'priority':'lowest'});}[_0x5481('0x4c')](){const _0x153afe=this['editor']['plugins']['get'](_0x5481('0x6d')),_0xd641d1=this[_0x5481('0xc')][_0x5481('0x3a')][_0x5481('0x3f')]('TrackChangesEditing'),_0x227f9e=Array[_0x5481('0x4e')](_0x153afe[_0x5481('0x1a')],_0xf77eae=>_0xf77eae[_0x5481('0x67')])[_0x5481('0x2b')](_0x455349=>this[_0x5481('0x8')]['has'](_0x455349)),_0x15c5a0=[];for(const _0x39453a of _0x227f9e){const _0x66acfa=this[_0x5481('0x8')][_0x5481('0x3f')](_0x39453a)[_0x5481('0x25')]['getAllAdjacentSuggestions']();_0x15c5a0[_0x5481('0x64')](..._0x66acfa[_0x5481('0x5c')]((_0x585e55,_0x43629e)=>[..._0x585e55,..._0x43629e['getMarkerNames']()],[]));}_0xd641d1[_0x5481('0x42')]=_0x15c5a0;}['_createUIButton'](_0xa9c885){const _0x22f709=_0x40b253(_0xa9c885,_0x364fb8),_0x3c7433=this['editor'][_0x5481('0x3')][_0x5481('0x3f')](_0x5481('0x24')),_0x1e0eda=_0x256c74(_0xa9c885,_0x5481('0x36'));_0x22f709[_0x5481('0x4d')][_0x5481('0x4f')]({'tooltip':_0x1e0eda,'label':_0x1e0eda,'icon':_0x13e732}),_0x22f709['buttonView']['bind'](_0x5481('0x28'))['to'](_0x3c7433,'value'),_0x22f709['buttonView']['on']('execute',()=>{_0x3c7433[_0x5481('0x5a')](),this['editor']['editing'][_0x5481('0x52')][_0x5481('0x55')]();});const _0xa95aa5=new _0x23779b(),_0x3e1d4c=[{'type':'switchbutton','model':{'withText':!0x0,'label':_0x1e0eda,'commandName':'trackChanges'}},{'type':_0x5481('0x19')},{'type':_0x5481('0x6c'),'model':{'withText':!0x0,'label':_0x256c74(_0xa9c885,_0x5481('0x11')),'commandName':_0x5481('0x6')}},{'type':_0x5481('0x6c'),'model':{'withText':!0x0,'label':_0x256c74(_0xa9c885,_0x5481('0x6a')),'commandName':_0x5481('0x26')}},{'type':_0x5481('0x6c'),'model':{'withText':!0x0,'label':_0x256c74(_0xa9c885,_0x5481('0x2')),'commandName':'discardAllSuggestions'}},{'type':_0x5481('0x6c'),'model':{'withText':!0x0,'label':_0x256c74(_0xa9c885,_0x5481('0x3b')),'commandName':_0x5481('0x27')}}];for(const _0x254bc8 of _0x3e1d4c){let _0x1cae1d={'type':_0x5481('0x19')};if(_0x254bc8[_0x5481('0x25')]){const _0x53a318=new _0x269b41(_0x254bc8[_0x5481('0x25')]),_0x20fd8e=this[_0x5481('0xc')][_0x5481('0x3')][_0x5481('0x3f')](_0x53a318[_0x5481('0x13')]);_0x53a318[_0x5481('0x39')]('isOn',_0x5481('0x1d'))['to'](_0x20fd8e,'value',_0x5481('0x1d')),_0x1cae1d={'type':_0x254bc8[_0x5481('0x30')],'model':_0x53a318};}_0xa95aa5[_0x5481('0x5b')](_0x1cae1d);}_0xf2d630(_0x22f709,_0xa95aa5);const _0x268a39=_0x3e1d4c[_0x5481('0x2b')](_0x1ddd63=>null!=_0x1ddd63[_0x5481('0x25')])[_0x5481('0x14')](_0x2df541=>this[_0x5481('0xc')]['commands'][_0x5481('0x3f')](_0x2df541[_0x5481('0x25')]['commandName'])),_0xdfa29c=_0x22f709[_0x5481('0x4d')];return _0xdfa29c[_0x5481('0x16')]['unbind'](_0x5481('0x1d')),_0xdfa29c[_0x5481('0x1c')][_0x5481('0x4')](_0x5481('0x1d')),_0xdfa29c['actionView'][_0x5481('0x39')](_0x5481('0x1d'))['to'](_0x3c7433,_0x5481('0x1d')),_0xdfa29c[_0x5481('0x1c')][_0x5481('0x39')](_0x5481('0x1d'))['toMany'](_0x268a39,_0x5481('0x1d'),(..._0x3d55aa)=>_0x3d55aa[_0x5481('0x57')](_0x2668cf=>_0x2668cf)),_0x22f709['on'](_0x5481('0x5a'),_0xdefa07=>{this[_0x5481('0xc')][_0x5481('0x5a')](_0xdefa07['source']['commandName']),this['editor'][_0x5481('0x23')][_0x5481('0x52')]['focus']();}),_0x22f709;}[_0x5481('0x31')](_0x4aa3b3){const _0x290c45=this[_0x5481('0xc')],_0x28a163=_0x290c45[_0x5481('0x4a')],_0x16fc88=_0x290c45[_0x5481('0x3a')][_0x5481('0x3f')](_0x5481('0x6d')),_0x13c2c7=_0x290c45[_0x5481('0x3a')][_0x5481('0x3f')](_0x5481('0x63')),_0x41fb4a=_0x290c45[_0x5481('0x3a')][_0x5481('0x3f')](_0x5481('0x43')),_0x233bf0=_0x290c45[_0x5481('0x3a')][_0x5481('0x3f')](_0x4f1c50)['me'],_0x1085ee=_0x28a163[_0x5481('0x3f')](_0x5481('0x24'))[_0x5481('0x68')],{CommentsListView:_0x523461,CommentThreadInputView:_0x2c0ee2}=_0x290c45[_0x5481('0x3a')][_0x5481('0x3f')](_0x5481('0x1f'));let _0x3b7d83,_0x3e1294;this[_0x5481('0x33')][_0x5481('0x49')](_0x4aa3b3['id'])?(_0x3e1294=this[_0x5481('0x33')][_0x5481('0x3f')](_0x4aa3b3['id']),_0x3b7d83=_0x3e1294['mainView']):(_0x3b7d83=new _0x1085ee(_0x290c45['locale'],_0x4aa3b3,_0x233bf0,{'disableComments':this['_disableComments'],'editorConfig':_0x28a163['get'](_0x5481('0x22')),'maxCommentsWhenCollapsed':_0x28a163[_0x5481('0x3f')](_0x5481('0x61')),'maxThreadTotalWeight':_0x28a163[_0x5481('0x3f')](_0x5481('0x45')),'maxCommentCharsWhenCollapsed':_0x28a163[_0x5481('0x3f')](_0x5481('0xa')),'formatDateTime':_0x449b04(_0x28a163['get'](_0x5481('0x5e'))),'CommentView':_0x28a163[_0x5481('0x3f')](_0x5481('0x29'))[_0x5481('0x6b')],'CommentsListView':_0x523461,'CommentThreadInputView':_0x2c0ee2}),_0x3b7d83['acceptButton']['on'](_0x5481('0x5a'),()=>{_0x290c45[_0x5481('0x23')][_0x5481('0x52')][_0x5481('0x55')]();}),_0x3b7d83[_0x5481('0x1e')]['on'](_0x5481('0x5a'),()=>{_0x290c45['editing'][_0x5481('0x52')][_0x5481('0x55')]();}),_0x3e1294=_0x16fc88[_0x5481('0x17')](this[_0x5481('0xc')][_0x5481('0x5e')],_0x3b7d83),_0x3e1294['bind'](_0x5481('0x2c'))['to'](_0x3b7d83,'isDirty'),_0x3e1294[_0x5481('0x39')](_0x5481('0x12'))['to'](_0x3b7d83),_0x3e1294[_0x5481('0x39')](_0x5481('0x30'))['to'](_0x3b7d83,'type',_0x1a5329=>_0x5481('0x48')+_0x1a5329),this[_0x5481('0x33')][_0x5481('0x4f')](_0x4aa3b3['id'],_0x3e1294));const _0x372747=_0x13c2c7[_0x5481('0xf')](_0x4aa3b3[_0x5481('0x34')],_0x3b7d83),_0x2d5805=new _0x5b6e45(_0x290c45,_0x4aa3b3,_0x3b7d83,_0x372747),_0x4ef1eb=_0x4aa3b3[_0x5481('0xd')]()['filter'](_0x5f2221=>_0x5f2221[_0x5481('0x1b')]);_0x3b7d83[_0x5481('0x10')]=_0x290c45['plugins'][_0x5481('0x3f')](_0x5481('0x7'))[_0x5481('0x35')][_0x5481('0x62')](_0x4ef1eb),this[_0x5481('0x40')][_0x5481('0x4f')](_0x4aa3b3,_0x2d5805),this[_0x5481('0x8')]['set'](_0x3b7d83,_0x2d5805);const _0x36b640=_0x16fc88[_0x5481('0x54')]({'view':_0x3e1294,'target':()=>{const _0x48d74c=[],_0x21a35a=_0x4aa3b3[_0x5481('0xd')]()[_0x5481('0x2b')](_0x11327e=>_0x11327e[_0x5481('0x1b')]);for(const _0x34aa33 of _0x21a35a)_0x48d74c[_0x5481('0x64')](..._0x34aa33['getMarkers']());return _0x53ea58(_0x290c45['editing'],_0x48d74c);},'type':()=>'suggestion-'+_0x2d5805[_0x5481('0x52')][_0x5481('0x30')]});_0x13c2c7[_0x5481('0x2d')](_0x3b7d83,_0x36b640),_0x16fc88[_0x5481('0x5b')](_0x36b640),_0x41fb4a['registerAnnotation'](_0x36b640);}[_0x5481('0x5')](_0x48b510){const _0x2516f9=this[_0x5481('0xc')][_0x5481('0x3a')]['get']('CommentsRepository'),_0xb5cf6a=this[_0x5481('0xc')][_0x5481('0x3a')]['get']('Annotations'),_0x54f931=this[_0x5481('0x40')][_0x5481('0x3f')](_0x48b510),_0x58e7cc=_0x54f931[_0x5481('0x52')],_0x2302ef=_0xb5cf6a[_0x5481('0x2a')](_0x58e7cc);_0x2516f9[_0x5481('0x9')](_0x58e7cc),_0x2302ef&&_0xb5cf6a[_0x5481('0x58')](_0x2302ef),this[_0x5481('0x40')][_0x5481('0x56')](_0x48b510),this[_0x5481('0x8')][_0x5481('0x56')](_0x58e7cc),_0x54f931[_0x5481('0x2e')]();}[_0x5481('0x1')](_0x37dce1){if(!_0x37dce1['isInContent']||!this['_suggestionToController'][_0x5481('0x49')](_0x37dce1))return;const _0x17b8f5=this[_0x5481('0xc')][_0x5481('0x3a')]['get'](_0x5481('0x7')),_0x56b9e8=this[_0x5481('0x40')][_0x5481('0x3f')](_0x37dce1),_0x2cc399=_0x37dce1[_0x5481('0xd')]();_0x56b9e8[_0x5481('0x52')][_0x5481('0x10')]=_0x17b8f5[_0x5481('0x35')][_0x5481('0x62')](_0x2cc399);}[_0x5481('0x2e')](){for(const _0x2be68b of this['_suggestionToController'][_0x5481('0x44')]())this[_0x5481('0x5')](_0x2be68b);for(const _0x4635b0 of this[_0x5481('0x33')][_0x5481('0x20')]())_0x4635b0[_0x5481('0x51')][_0x5481('0x2e')]();super[_0x5481('0x2e')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c7d=['PendingActions','_pendingAction','_editor','add','discardSuggestion','commands','destroy','getRanges','plugins','unbind','_removePendingAction','listenTo','bind','isEnabled','_discardCommand','_setPendingAction','view','stopListening','model','PENDING_ACTION_SUGGESTION','get','execute','commentThreadController','canDiscard','_acceptCommand','isDirty','change:isDirty','locale','canAccept','canEditAt','acceptSuggestion'];(function(_0x55084f,_0x1c7d4b){const _0x1660cb=function(_0x392550){while(--_0x392550){_0x55084f['push'](_0x55084f['shift']());}};_0x1660cb(++_0x1c7d4b);}(_0x1c7d,0x1c9));const _0x1660=function(_0x55084f,_0x1c7d4b){_0x55084f=_0x55084f-0x0;let _0x1660cb=_0x1c7d[_0x55084f];return _0x1660cb;};import{ObservableMixin as _0x2c905c}from'ckeditor5/src/utils';import{getTranslation as _0x4a3b35}from'../utils/common-translations';export default class Kt extends _0x2c905c(){constructor(_0x20a774,_0x4aa7a7,_0x510725,_0x25ef98){super(),this[_0x1660('0x1a')]=_0x4aa7a7,this['view']=_0x510725,this[_0x1660('0x1e')]=_0x25ef98,this['_editor']=_0x20a774,this[_0x1660('0x1')]=_0x20a774[_0x1660('0xd')]['get']('acceptSuggestion'),this[_0x1660('0x16')]=_0x20a774['commands']['get']('discardSuggestion'),this[_0x1660('0x18')][_0x1660('0x14')](_0x1660('0x15'))['to'](this[_0x1660('0x1')],this[_0x1660('0x16')],(_0x39f19d,_0x28e1a7)=>_0x39f19d||_0x28e1a7),this[_0x1660('0x18')][_0x1660('0x14')](_0x1660('0x5'))['to'](this['_acceptCommand'],_0x1660('0x15'),_0x20159b=>_0x20159b&&this[_0x1660('0xa')][_0x1660('0x1a')][_0x1660('0x6')](_0x4aa7a7[_0x1660('0xf')]())),this[_0x1660('0x18')][_0x1660('0x14')](_0x1660('0x0'))['to'](this[_0x1660('0x16')],_0x1660('0x15'),_0xb7e366=>_0xb7e366&&this['_editor'][_0x1660('0x1a')][_0x1660('0x6')](_0x4aa7a7[_0x1660('0xf')]())),this[_0x1660('0x9')]=null,_0x510725[_0x1660('0x2')]&&this[_0x1660('0x17')](),this[_0x1660('0x13')](_0x510725,'acceptSuggestion',()=>this[_0x1660('0x7')]()),this[_0x1660('0x13')](_0x510725,_0x1660('0xc'),()=>this['discardSuggestion']()),this[_0x1660('0x13')](_0x510725,_0x1660('0x3'),()=>{_0x510725[_0x1660('0x2')]?this[_0x1660('0x17')]():this['_removePendingAction']();});}['acceptSuggestion'](){this['_acceptCommand'][_0x1660('0x1d')](this[_0x1660('0x1a')]['id']);}[_0x1660('0xc')](){this[_0x1660('0x16')][_0x1660('0x1d')](this['model']['id']);}[_0x1660('0xe')](){this['view'][_0x1660('0x11')](_0x1660('0x15')),this[_0x1660('0x18')]['unbind'](_0x1660('0x5')),this[_0x1660('0x18')][_0x1660('0x11')](_0x1660('0x0')),this[_0x1660('0x19')](),this['commentThreadController'][_0x1660('0xe')](),this[_0x1660('0x9')]&&this[_0x1660('0x12')]();}[_0x1660('0x17')](){const _0x286450=_0x4a3b35(this[_0x1660('0xa')][_0x1660('0x4')],_0x1660('0x1b'));this[_0x1660('0x9')]=this[_0x1660('0xa')][_0x1660('0x10')][_0x1660('0x1c')](_0x1660('0x8'))[_0x1660('0xb')](_0x286450);}[_0x1660('0x12')](){null!==this[_0x1660('0x9')]&&this[_0x1660('0xa')][_0x1660('0x10')][_0x1660('0x1c')]('PendingActions')['remove'](this[_0x1660('0x9')]),this['_pendingAction']=null;}}
23
+ const _0x5010=['acceptSuggestion','destroy','canEditAt','_acceptCommand','locale','isEnabled','get','view','_pendingAction','_editor','getRanges','model','_removePendingAction','_discardCommand','discardSuggestion','commands','stopListening','PendingActions','PENDING_ACTION_SUGGESTION','canAccept','unbind','_setPendingAction','execute','listenTo','change:isDirty','add','commentThreadController','plugins','bind','isDirty','canDiscard'];(function(_0x3150d6,_0x501043){const _0xe187a1=function(_0x3b9f8c){while(--_0x3b9f8c){_0x3150d6['push'](_0x3150d6['shift']());}};_0xe187a1(++_0x501043);}(_0x5010,0x133));const _0xe187=function(_0x3150d6,_0x501043){_0x3150d6=_0x3150d6-0x0;let _0xe187a1=_0x5010[_0x3150d6];return _0xe187a1;};import{ObservableMixin as _0x1a2df7}from'ckeditor5/src/utils';import{getTranslation as _0x2489d3}from'../utils/common-translations';export default class Pt extends _0x1a2df7(){constructor(_0x3df406,_0x50218a,_0x5d1dbe,_0x4a011b){super(),this[_0xe187('0xe')]=_0x50218a,this[_0xe187('0xa')]=_0x5d1dbe,this[_0xe187('0x1d')]=_0x4a011b,this[_0xe187('0xc')]=_0x3df406,this[_0xe187('0x6')]=_0x3df406[_0xe187('0x12')]['get'](_0xe187('0x3')),this[_0xe187('0x10')]=_0x3df406[_0xe187('0x12')][_0xe187('0x9')](_0xe187('0x11')),this[_0xe187('0xa')]['bind'](_0xe187('0x8'))['to'](this[_0xe187('0x6')],this['_discardCommand'],(_0x4d7375,_0x30ba63)=>_0x4d7375||_0x30ba63),this[_0xe187('0xa')][_0xe187('0x0')](_0xe187('0x16'))['to'](this['_acceptCommand'],_0xe187('0x8'),_0xa7858d=>_0xa7858d&&this[_0xe187('0xc')][_0xe187('0xe')][_0xe187('0x5')](_0x50218a[_0xe187('0xd')]())),this[_0xe187('0xa')][_0xe187('0x0')]('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0xcb7205=>_0xcb7205&&this['_editor'][_0xe187('0xe')]['canEditAt'](_0x50218a[_0xe187('0xd')]())),this[_0xe187('0xb')]=null,_0x5d1dbe[_0xe187('0x1')]&&this[_0xe187('0x18')](),this[_0xe187('0x1a')](_0x5d1dbe,_0xe187('0x3'),()=>this[_0xe187('0x3')]()),this[_0xe187('0x1a')](_0x5d1dbe,_0xe187('0x11'),()=>this['discardSuggestion']()),this[_0xe187('0x1a')](_0x5d1dbe,_0xe187('0x1b'),()=>{_0x5d1dbe[_0xe187('0x1')]?this[_0xe187('0x18')]():this[_0xe187('0xf')]();});}[_0xe187('0x3')](){this[_0xe187('0x6')][_0xe187('0x19')](this[_0xe187('0xe')]['id']);}[_0xe187('0x11')](){this[_0xe187('0x10')][_0xe187('0x19')](this['model']['id']);}[_0xe187('0x4')](){this[_0xe187('0xa')][_0xe187('0x17')](_0xe187('0x8')),this[_0xe187('0xa')][_0xe187('0x17')](_0xe187('0x16')),this[_0xe187('0xa')][_0xe187('0x17')](_0xe187('0x2')),this[_0xe187('0x13')](),this['commentThreadController'][_0xe187('0x4')](),this[_0xe187('0xb')]&&this['_removePendingAction']();}[_0xe187('0x18')](){const _0x5d8927=_0x2489d3(this[_0xe187('0xc')][_0xe187('0x7')],_0xe187('0x15'));this[_0xe187('0xb')]=this[_0xe187('0xc')][_0xe187('0x1e')][_0xe187('0x9')](_0xe187('0x14'))[_0xe187('0x1c')](_0x5d8927);}[_0xe187('0xf')](){null!==this[_0xe187('0xb')]&&this[_0xe187('0xc')][_0xe187('0x1e')][_0xe187('0x9')](_0xe187('0x14'))['remove'](this[_0xe187('0xb')]),this[_0xe187('0xb')]=null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5979=['_createCommentThreadInputView','locale','isDirty','editor','setData','_config','authoredAt','addComment','CommentView','commentThread','cancel','value','element','commentsListView','descriptionParts','assign','removeComment','commentInputView','isReadOnly','updateComment','_model','fire','length','delegate','showInput','bind','set','destroy','canDiscard','isEnabled','focus','_createCommentViews','commentThreadInputView','submit','_localUser','disabledSubmit','disableComments','isActive'];(function(_0x59502e,_0x597919){const _0x131c32=function(_0x4ba55a){while(--_0x4ba55a){_0x59502e['push'](_0x59502e['shift']());}};_0x131c32(++_0x597919);}(_0x5979,0x1db));const _0x131c=function(_0x59502e,_0x597919){_0x59502e=_0x59502e-0x0;let _0x131c32=_0x5979[_0x59502e];return _0x131c32;};import{View as _0x5683f4}from'ckeditor5/src/ui';export default class si extends _0x5683f4{constructor(_0x13f0b6,_0x4f63de,_0x3425e6,_0x585871){super(_0x13f0b6),this[_0x131c('0x20')]=null,this[_0x131c('0xd')]=null,this[_0x131c('0x7')](_0x131c('0x12'),!0x1),this['set'](_0x131c('0x19'),_0x4f63de[_0x131c('0x19')]),this[_0x131c('0x6')](_0x131c('0x19'))['to'](_0x4f63de),this[_0x131c('0x7')](_0x131c('0x21'),[]),this[_0x131c('0x7')](_0x131c('0x15'),!0x1),this['set'](_0x131c('0xa'),!0x1),this[_0x131c('0x7')]('canAccept',!0x1),this[_0x131c('0x7')](_0x131c('0x9'),!0x1),this[_0x131c('0x1')]=_0x4f63de,this[_0x131c('0xf')]=_0x3425e6,this[_0x131c('0x18')]=_0x585871,_0x585871[_0x131c('0x11')]?this['set'](_0x131c('0x3'),0x1):this[_0x131c('0xc')]();}[_0x131c('0xb')](){this[_0x131c('0x1f')]['focus']();}[_0x131c('0x8')](){this[_0x131c('0x20')]&&this['commentsListView']['destroy'](),this[_0x131c('0xd')]&&this[_0x131c('0xd')][_0x131c('0x8')](),super[_0x131c('0x8')]();}[_0x131c('0xc')](){const {CommentsListView:_0x320bad}=this[_0x131c('0x18')];this[_0x131c('0x20')]=new _0x320bad(this[_0x131c('0x14')],this[_0x131c('0x1')]['commentThread'],Object[_0x131c('0x22')]({'CommentView':this[_0x131c('0x18')][_0x131c('0x1b')]},this['_config'])),this['commentsListView']['delegate'](_0x131c('0x23'))['to'](this),this[_0x131c('0x20')][_0x131c('0x4')](_0x131c('0x0'))['to'](this),this['commentsListView'][_0x131c('0x6')](_0x131c('0x12'))['to'](this),this[_0x131c('0x7')](_0x131c('0x3'),this[_0x131c('0x20')][_0x131c('0x3')]+0x1),this[_0x131c('0x6')](_0x131c('0x3'))['to'](this[_0x131c('0x20')],'length',_0x34fed3=>_0x34fed3+0x1),this[_0x131c('0xd')]=this[_0x131c('0x13')](),this['on'](_0x131c('0x23'),()=>this[_0x131c('0xb')]()),this[_0x131c('0x6')]('isDirty')['to'](this[_0x131c('0x20')],'hasDirtyComment',this[_0x131c('0xd')][_0x131c('0x24')],'value',(_0x3a8396,_0x276965)=>_0x3a8396||!!_0x276965);}[_0x131c('0x13')](){const {CommentThreadInputView:_0x12e3ac}=this[_0x131c('0x18')],_0x3eab05=new _0x12e3ac(this[_0x131c('0x14')],this[_0x131c('0xf')],this[_0x131c('0x18')]['editorConfig']),_0x359f5c=_0x3eab05[_0x131c('0x24')];return _0x3eab05[_0x131c('0x6')](_0x131c('0x5'))['to'](this,_0x131c('0x12'),this[_0x131c('0x1')][_0x131c('0x1c')],_0x131c('0x25'),_0x359f5c,_0x131c('0x1e'),(_0x4323c5,_0x340ac3,_0x4ad3e6)=>!!_0x4ad3e6||_0x4323c5&&!_0x340ac3),_0x359f5c['on'](_0x131c('0xe'),(_0x4ef92e,_0x5aa31e)=>{this[_0x131c('0x2')](_0x131c('0x1a'),_0x5aa31e),_0x359f5c[_0x131c('0x16')][_0x131c('0x17')]('');}),_0x359f5c['on'](_0x131c('0x1d'),()=>this[_0x131c('0xb')]()),_0x359f5c[_0x131c('0x6')](_0x131c('0x10'))['to'](this[_0x131c('0x1')][_0x131c('0x1c')],_0x131c('0x25')),_0x3eab05;}}
23
+ const _0x5057=['updateComment','addComment','canAccept','_createCommentViews','hasDirtyComment','commentThread','setData','length','_model','element','set','_localUser','assign','destroy','isEnabled','isActive','disabledSubmit','isReadOnly','focus','locale','isDirty','showInput','editorConfig','commentThreadInputView','value','editor','_config','authoredAt','bind','submit','delegate','commentsListView','fire','removeComment','commentInputView'];(function(_0x4c11ed,_0x505736){const _0x12ac99=function(_0x3ff593){while(--_0x3ff593){_0x4c11ed['push'](_0x4c11ed['shift']());}};_0x12ac99(++_0x505736);}(_0x5057,0x1a3));const _0x12ac=function(_0x4c11ed,_0x505736){_0x4c11ed=_0x4c11ed-0x0;let _0x12ac99=_0x5057[_0x4c11ed];return _0x12ac99;};import{View as _0x11bd14}from'ckeditor5/src/ui';export default class si extends _0x11bd14{constructor(_0x5c7814,_0x2d47f8,_0x3301a2,_0x41bf80){super(_0x5c7814),this['commentsListView']=null,this[_0x12ac('0x18')]=null,this[_0x12ac('0xb')](_0x12ac('0x10'),!0x1),this['set'](_0x12ac('0x1c'),_0x2d47f8['authoredAt']),this[_0x12ac('0x1d')](_0x12ac('0x1c'))['to'](_0x2d47f8),this[_0x12ac('0xb')]('descriptionParts',[]),this[_0x12ac('0xb')](_0x12ac('0x15'),!0x1),this[_0x12ac('0xb')](_0x12ac('0xf'),!0x1),this['set'](_0x12ac('0x3'),!0x1),this[_0x12ac('0xb')]('canDiscard',!0x1),this[_0x12ac('0x9')]=_0x2d47f8,this[_0x12ac('0xc')]=_0x3301a2,this['_config']=_0x41bf80,_0x41bf80['disableComments']?this[_0x12ac('0xb')](_0x12ac('0x8'),0x1):this[_0x12ac('0x4')]();}['focus'](){this[_0x12ac('0xa')][_0x12ac('0x13')]();}[_0x12ac('0xe')](){this['commentsListView']&&this['commentsListView'][_0x12ac('0xe')](),this[_0x12ac('0x18')]&&this['commentThreadInputView'][_0x12ac('0xe')](),super[_0x12ac('0xe')]();}[_0x12ac('0x4')](){const {CommentsListView:_0x355bce}=this[_0x12ac('0x1b')];this[_0x12ac('0x20')]=new _0x355bce(this[_0x12ac('0x14')],this[_0x12ac('0x9')]['commentThread'],Object[_0x12ac('0xd')]({'CommentView':this[_0x12ac('0x1b')]['CommentView']},this[_0x12ac('0x1b')])),this[_0x12ac('0x20')][_0x12ac('0x1f')](_0x12ac('0x22'))['to'](this),this[_0x12ac('0x20')]['delegate'](_0x12ac('0x1'))['to'](this),this[_0x12ac('0x20')][_0x12ac('0x1d')](_0x12ac('0x10'))['to'](this),this['set']('length',this[_0x12ac('0x20')][_0x12ac('0x8')]+0x1),this[_0x12ac('0x1d')](_0x12ac('0x8'))['to'](this[_0x12ac('0x20')],_0x12ac('0x8'),_0xb2f832=>_0xb2f832+0x1),this[_0x12ac('0x18')]=this['_createCommentThreadInputView'](),this['on'](_0x12ac('0x22'),()=>this[_0x12ac('0x13')]()),this[_0x12ac('0x1d')]('isDirty')['to'](this[_0x12ac('0x20')],_0x12ac('0x5'),this['commentThreadInputView'][_0x12ac('0x0')],'value',(_0x198188,_0x2f2fc6)=>_0x198188||!!_0x2f2fc6);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x582ed6}=this[_0x12ac('0x1b')],_0x260c47=new _0x582ed6(this['locale'],this[_0x12ac('0xc')],this['_config'][_0x12ac('0x17')]),_0x23f03d=_0x260c47['commentInputView'];return _0x260c47[_0x12ac('0x1d')](_0x12ac('0x16'))['to'](this,_0x12ac('0x10'),this[_0x12ac('0x9')][_0x12ac('0x6')],_0x12ac('0x12'),_0x23f03d,_0x12ac('0x19'),(_0x44cb94,_0x51738b,_0xd5cc7b)=>!!_0xd5cc7b||_0x44cb94&&!_0x51738b),_0x23f03d['on'](_0x12ac('0x1e'),(_0xdc761f,_0x488e59)=>{this[_0x12ac('0x21')](_0x12ac('0x2'),_0x488e59),_0x23f03d[_0x12ac('0x1a')][_0x12ac('0x7')]('');}),_0x23f03d['on']('cancel',()=>this['focus']()),_0x23f03d[_0x12ac('0x1d')](_0x12ac('0x11'))['to'](this['_model'][_0x12ac('0x6')],_0x12ac('0x12')),_0x260c47;}}
@@ -11,7 +11,7 @@ import type Suggestion from '../../suggestion';
11
11
  * The default view for a suggestion thread.
12
12
  *
13
13
  * This view can be replaced by other view by overwriting the
14
- * {@link module:track-changes/trackchanges~TrackChangesConfig#SuggestionThreadView} configuration.
14
+ * {@link module:track-changes/trackchangesconfig~TrackChangesConfig#SuggestionThreadView} configuration.
15
15
  */
16
16
  export default class SuggestionThreadView extends BaseSuggestionThreadView {
17
17
  /**
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4dfa=['ck-annotation','getTemplate','_descriptionElement','description','join','cancel','commentThreadInputView','author','name','ck-annotation__main','fire','importWord','disableComments','.ck-annotation__content-wrapper','innerHTML','querySelector','ck-annotation__info','bind','ck-comment__external','delegate','ck-suggestion__info','EXTERNAL_SUGGESTION','descriptionParts','editorDestroyed','span','isExternal','source','acceptButton','ck-suggestion__info-name','Discard\x20suggestion','isActive','ck-suggestion','formatDateTime','getExternalSuggestionNote','authoredAt','attributes','ck-annotation__content-wrapper','ck-suggestion-wrapper--active','render','ck-annotation__user','_config','\x22\x20title=\x22','discardSuggestion','@external','</p>','isEnabled','Accept\x20suggestion','type','getUserViewNotificationText','ck-annotation__actions','_model','div','EXTERNAL_IMPORT_WORD_SUGGESTION','commentsListView','extendTemplate','ck-comment__info-time','userView','ck-annotation__info-time','ck-suggestion-wrapper','ck-suggestion--discard','check','title','canDiscard','bindTemplate','acceptSuggestion','execute','_createButton','ck-suggestion__main','push','time','set','setTemplate','ck-suggestion__actions','editorReady','locale','\x22></span>','creator','createElement','commentThread','</span>','<p>'];(function(_0x2ddb52,_0x4dfa18){const _0x3f2624=function(_0x49a404){while(--_0x49a404){_0x2ddb52['push'](_0x2ddb52['shift']());}};_0x3f2624(++_0x4dfa18);}(_0x4dfa,0x124));const _0x3f26=function(_0x2ddb52,_0x4dfa18){_0x2ddb52=_0x2ddb52-0x0;let _0x3f2624=_0x4dfa[_0x2ddb52];return _0x3f2624;};import{getTranslation as _0x1d1fb9}from'../../utils/common-translations';import{default as _0x5e0765}from'./basesuggestionthreadview';import{ButtonView as _0x55cb0e}from'ckeditor5/src/ui';import{icons as _0x37119b}from'ckeditor5/src/core';import{trimHtml as _0x56e8c3,UserView as _0x126158}from'ckeditor5-collaboration/src/collaboration-core';export default class Pt extends _0x5e0765{constructor(_0x4aec0f,_0x91c7c0,_0x50a5af,_0x197deb){super(_0x4aec0f,_0x91c7c0,_0x50a5af,_0x197deb),this[_0x3f26('0x15')]('type',''),this[_0x3f26('0x31')](_0x3f26('0x4f'))['to'](this,_0x3f26('0x36'),_0x5da6ed=>_0x5da6ed&&_0x5da6ed[0x0]?_0x5da6ed[0x0][_0x3f26('0x4f')]:''),this['bind'](_0x3f26('0x23'))['to'](this,_0x3f26('0x36'),this,_0x3f26('0x3e'),(_0x5dafeb,_0x3b8809)=>{let _0x42416b='';for(const _0x5bf97e of _0x5dafeb)_0x42416b+=_0x3f26('0x1f')+ci(_0x5bf97e['content'],_0x5bf97e['color'])+_0x3f26('0x4c');return _0x3b8809?_0x42416b:_0x56e8c3(_0x42416b,{'limit':0x8c});}),this[_0x3f26('0x22')]=null,this[_0x3f26('0x3b')]=this[_0x3f26('0x11')](_0x1d1fb9(_0x4aec0f,_0x3f26('0x4e')),_0x37119b[_0x3f26('0xb')],'ck-suggestion--accept',_0x3f26('0xf'),'sw'),this[_0x3f26('0x3b')][_0x3f26('0x31')](_0x3f26('0x4d'))['to'](this,'canAccept'),this['discardButton']=this[_0x3f26('0x11')](_0x1d1fb9(_0x4aec0f,_0x3f26('0x3d')),_0x37119b[_0x3f26('0x25')],_0x3f26('0xa'),_0x3f26('0x4a'),'sw'),this['discardButton']['bind'](_0x3f26('0x4d'))['to'](this,_0x3f26('0xd')),this[_0x3f26('0x7')]=new _0x126158(_0x4aec0f,this[_0x3f26('0x1')]['author'],this[_0x3f26('0x50')]()),this[_0x3f26('0x7')]['extendTemplate']({'attributes':{'class':['ck-suggestion__user',_0x3f26('0x47')]}}),this[_0x3f26('0x16')](this[_0x3f26('0x21')]());}['getTemplate'](){const _0x37156a=this[_0x3f26('0xe')],_0xeabe90=[{'tag':_0x3f26('0x2'),'attributes':{'class':[_0x3f26('0x34'),_0x3f26('0x30')]},'children':[{'tag':_0x3f26('0x38'),'children':[{'text':this[_0x3f26('0x7')][_0x3f26('0x28')]}],'attributes':{'class':[_0x3f26('0x3c'),'ck-annotation__info-name']}},{'tag':_0x3f26('0x14'),'attributes':{'datetime':_0x37156a['to'](_0x3f26('0x42')),'class':[_0x3f26('0x6'),_0x3f26('0x8')]},'children':[{'text':_0x37156a['to'](_0x3f26('0x42'),_0xdde49=>this[_0x3f26('0x48')][_0x3f26('0x40')](_0xdde49))}]}]},{'tag':'div','attributes':{'class':[_0x3f26('0x17'),_0x3f26('0x0')]},'children':[this[_0x3f26('0x3b')],this['discardButton']]},{'tag':'div','attributes':{'class':[_0x3f26('0x44')]}}];this[_0x3f26('0x1')][_0x3f26('0x39')]&&_0xeabe90[_0x3f26('0x13')]({'tag':'div','attributes':{'class':[_0x3f26('0x32')]},'children':[{'text':this['getExternalSuggestionNote']()}]});const _0x201736={'tag':_0x3f26('0x2'),'attributes':{'class':[_0x3f26('0x9'),_0x37156a['if'](_0x3f26('0x3e'),_0x3f26('0x45')),_0x37156a['to'](_0x3f26('0x4f'),_0xf5a312=>'ck-suggestion-'+_0xf5a312),this[_0x3f26('0x48')][_0x3f26('0x2c')]&&'ck-suggestion--disabled-comments'],'data-suggestion-id':this[_0x3f26('0x1')]['id'],'data-thread-id':this['_model'][_0x3f26('0x1d')]['id'],'data-author-id':this['_model'][_0x3f26('0x27')]['id'],'tabindex':-0x1},'children':[{'tag':_0x3f26('0x2'),'attributes':{'class':[_0x3f26('0x3f'),_0x3f26('0x20')]},'children':[this[_0x3f26('0x7')],{'tag':'div','attributes':{'class':[_0x3f26('0x12'),_0x3f26('0x29')]},'children':_0xeabe90}]}]};return this[_0x3f26('0x4')]&&this[_0x3f26('0x26')]&&(_0x201736['children'][_0x3f26('0x13')](this[_0x3f26('0x4')],this[_0x3f26('0x26')]),this[_0x3f26('0x4')][_0x3f26('0x33')](_0x3f26('0x18'))['to'](this),this[_0x3f26('0x4')][_0x3f26('0x33')](_0x3f26('0x37'))['to'](this),this[_0x3f26('0x26')]['delegate'](_0x3f26('0x18'))['to'](this),this[_0x3f26('0x26')][_0x3f26('0x33')](_0x3f26('0x37'))['to'](this)),_0x201736;}[_0x3f26('0x46')](){super[_0x3f26('0x46')](),this[_0x3f26('0x22')]=this['element'][_0x3f26('0x2f')](_0x3f26('0x2d')),this[_0x3f26('0x22')]['innerHTML']=this['description'],this['on']('change:description',(_0x4e5c19,_0x16ae28,_0x1c715c)=>{this['_descriptionElement']['innerHTML']=_0x1c715c;});}['_createButton'](_0x3bd708,_0x2ebb58,_0x5eb2c1,_0x5002b6,_0x61d737){const _0x4c2ecb=new _0x55cb0e(this['locale']);return _0x4c2ecb[_0x3f26('0x15')]({'label':_0x3bd708,'icon':_0x2ebb58,'tooltip':!0x0,'tooltipPosition':_0x61d737}),_0x4c2ecb[_0x3f26('0x5')]({'attributes':{'class':_0x5eb2c1}}),_0x4c2ecb['on'](_0x3f26('0x10'),()=>{this[_0x3f26('0x2a')](_0x5002b6,this['_model']['id']);}),_0x4c2ecb;}[_0x3f26('0x41')](){return'importWord'===this[_0x3f26('0x1')]['attributes'][_0x3f26('0x4b')][_0x3f26('0x3a')]?_0x1d1fb9(this[_0x3f26('0x19')],_0x3f26('0x3')):_0x1d1fb9(this[_0x3f26('0x19')],_0x3f26('0x35'));}[_0x3f26('0x50')](){return this['_model'][_0x3f26('0x39')]?_0x3f26('0x2b')===this['_model'][_0x3f26('0x43')][_0x3f26('0x4b')]['source']?_0x1d1fb9(this[_0x3f26('0x19')],'EXTERNAL_IMPORT_WORD_AVATAR',this[_0x3f26('0x1')][_0x3f26('0x1b')][_0x3f26('0x28')]):_0x1d1fb9(this[_0x3f26('0x19')],'EXTERNAL_AVATAR',this[_0x3f26('0x1')][_0x3f26('0x1b')]['name']):null;}}function ci(_0x1873eb,_0x14aa85){let _0x5103a6='';return _0x5103a6+=_0x1873eb['split']('*')['map']((_0x360229,_0x48b036)=>_0x48b036%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+ri(_0x360229)+_0x3f26('0x1e'):ri(_0x360229))[_0x3f26('0x24')](''),_0x14aa85&&(_0x5103a6+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x14aa85['value']+_0x3f26('0x49')+_0x14aa85[_0x3f26('0xc')]+_0x3f26('0x1a')),_0x5103a6;}function ri(_0xf91e7f){const _0x141b7f=document[_0x3f26('0x1c')](_0x3f26('0x38'));return _0x141b7f['innerText']=_0xf91e7f,_0x141b7f[_0x3f26('0x2e')];}
23
+ const _0x5e11=['ck-annotation__info','description','commentThreadInputView','innerHTML','acceptSuggestion','descriptionParts','set','querySelector','div','</p>','creator','discardSuggestion','isActive','join','getTemplate','title','ck-annotation__user','acceptButton','bind','map','ck-suggestion--accept','commentThread','locale','ck-annotation','time','canAccept','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-suggestion-wrapper','getExternalSuggestionNote','element','source','createElement','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','EXTERNAL_AVATAR','ck-suggestion__info-name','author','ck-suggestion__info','.ck-annotation__content-wrapper','authoredAt','innerText','value','delegate','ck-annotation__main','isExternal','\x22></span>','<p>','name','attributes','render','extendTemplate','discardButton','ck-annotation__info-time','Accept\x20suggestion','_config','isEnabled','_model','check','\x22\x20title=\x22','EXTERNAL_SUGGESTION','span','ck-annotation__actions','bindTemplate','ck-suggestion__actions','Discard\x20suggestion','_createButton','@external','push','_descriptionElement','getUserViewNotificationText','split','ck-suggestion--disabled-comments','content','fire','<span\x20class=\x22ck-suggestion-type\x22>','commentsListView','type','execute','ck-suggestion','editorReady','ck-suggestion-wrapper--active','ck-suggestion-','editorDestroyed','canDiscard','importWord','userView'];(function(_0x2c5bb6,_0x5e112d){const _0x1d3f10=function(_0xe15dd4){while(--_0xe15dd4){_0x2c5bb6['push'](_0x2c5bb6['shift']());}};_0x1d3f10(++_0x5e112d);}(_0x5e11,0x11e));const _0x1d3f=function(_0x2c5bb6,_0x5e112d){_0x2c5bb6=_0x2c5bb6-0x0;let _0x1d3f10=_0x5e11[_0x2c5bb6];return _0x1d3f10;};import{getTranslation as _0x514c14}from'../../utils/common-translations';import{default as _0xf141eb}from'./basesuggestionthreadview';import{ButtonView as _0x1b65d3}from'ckeditor5/src/ui';import{icons as _0x342e17}from'ckeditor5/src/core';import{trimHtml as _0xecd701,UserView as _0x51cef8}from'ckeditor5-collaboration/src/collaboration-core';export default class Qt extends _0xf141eb{constructor(_0x3fc3a2,_0x4be698,_0x1667c4,_0x2f6f66){super(_0x3fc3a2,_0x4be698,_0x1667c4,_0x2f6f66),this[_0x1d3f('0x3c')]('type',''),this[_0x1d3f('0x48')]('type')['to'](this,_0x1d3f('0x3b'),_0x5c42b8=>_0x5c42b8&&_0x5c42b8[0x0]?_0x5c42b8[0x0][_0x1d3f('0x2c')]:''),this[_0x1d3f('0x48')]('description')['to'](this,_0x1d3f('0x3b'),this,_0x1d3f('0x42'),(_0x1a418e,_0x97e1b4)=>{let _0x263d8d='';for(const _0x1446a4 of _0x1a418e)_0x263d8d+=_0x1d3f('0xe')+ci(_0x1446a4[_0x1d3f('0x28')],_0x1446a4['color'])+_0x1d3f('0x3f');return _0x97e1b4?_0x263d8d:_0xecd701(_0x263d8d,{'limit':0x8c});}),this[_0x1d3f('0x24')]=null,this[_0x1d3f('0x47')]=this[_0x1d3f('0x21')](_0x514c14(_0x3fc3a2,_0x1d3f('0x15')),_0x342e17[_0x1d3f('0x19')],_0x1d3f('0x4a'),_0x1d3f('0x3a'),'sw'),this[_0x1d3f('0x47')]['bind'](_0x1d3f('0x17'))['to'](this,_0x1d3f('0x4f')),this[_0x1d3f('0x13')]=this[_0x1d3f('0x21')](_0x514c14(_0x3fc3a2,_0x1d3f('0x20')),_0x342e17['cancel'],'ck-suggestion--discard',_0x1d3f('0x41'),'sw'),this['discardButton'][_0x1d3f('0x48')](_0x1d3f('0x17'))['to'](this,_0x1d3f('0x33')),this[_0x1d3f('0x35')]=new _0x51cef8(_0x3fc3a2,this[_0x1d3f('0x18')]['author'],this[_0x1d3f('0x25')]()),this[_0x1d3f('0x35')][_0x1d3f('0x12')]({'attributes':{'class':['ck-suggestion__user',_0x1d3f('0x46')]}}),this['setTemplate'](this[_0x1d3f('0x44')]());}[_0x1d3f('0x44')](){const _0x30273f=this[_0x1d3f('0x1e')],_0x5a3a1d=[{'tag':'div','attributes':{'class':[_0x1d3f('0x5'),_0x1d3f('0x36')]},'children':[{'tag':'span','children':[{'text':this[_0x1d3f('0x35')][_0x1d3f('0xf')]}],'attributes':{'class':[_0x1d3f('0x3'),'ck-annotation__info-name']}},{'tag':_0x1d3f('0x4e'),'attributes':{'datetime':_0x30273f['to'](_0x1d3f('0x7')),'class':['ck-comment__info-time',_0x1d3f('0x14')]},'children':[{'text':_0x30273f['to'](_0x1d3f('0x7'),_0x57f408=>this[_0x1d3f('0x16')]['formatDateTime'](_0x57f408))}]}]},{'tag':_0x1d3f('0x3e'),'attributes':{'class':[_0x1d3f('0x1f'),_0x1d3f('0x1d')]},'children':[this[_0x1d3f('0x47')],this[_0x1d3f('0x13')]]},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']}}];this['_model'][_0x1d3f('0xc')]&&_0x5a3a1d[_0x1d3f('0x23')]({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this[_0x1d3f('0x52')]()}]});const _0x131946={'tag':_0x1d3f('0x3e'),'attributes':{'class':[_0x1d3f('0x51'),_0x30273f['if'](_0x1d3f('0x42'),_0x1d3f('0x30')),_0x30273f['to'](_0x1d3f('0x2c'),_0x6a598b=>_0x1d3f('0x31')+_0x6a598b),this[_0x1d3f('0x16')]['disableComments']&&_0x1d3f('0x27')],'data-suggestion-id':this['_model']['id'],'data-thread-id':this[_0x1d3f('0x18')][_0x1d3f('0x4b')]['id'],'data-author-id':this['_model'][_0x1d3f('0x4')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':[_0x1d3f('0x2e'),_0x1d3f('0x4d')]},'children':[this[_0x1d3f('0x35')],{'tag':_0x1d3f('0x3e'),'attributes':{'class':['ck-suggestion__main',_0x1d3f('0xb')]},'children':_0x5a3a1d}]}]};return this['commentsListView']&&this['commentThreadInputView']&&(_0x131946['children']['push'](this[_0x1d3f('0x2b')],this[_0x1d3f('0x38')]),this[_0x1d3f('0x2b')][_0x1d3f('0xa')]('editorReady')['to'](this),this[_0x1d3f('0x2b')][_0x1d3f('0xa')](_0x1d3f('0x32'))['to'](this),this[_0x1d3f('0x38')]['delegate'](_0x1d3f('0x2f'))['to'](this),this['commentThreadInputView'][_0x1d3f('0xa')]('editorDestroyed')['to'](this)),_0x131946;}[_0x1d3f('0x11')](){super['render'](),this[_0x1d3f('0x24')]=this[_0x1d3f('0x53')][_0x1d3f('0x3d')](_0x1d3f('0x6')),this[_0x1d3f('0x24')][_0x1d3f('0x39')]=this[_0x1d3f('0x37')],this['on']('change:description',(_0x4dfc06,_0x339948,_0x29d6a1)=>{this[_0x1d3f('0x24')][_0x1d3f('0x39')]=_0x29d6a1;});}[_0x1d3f('0x21')](_0x585812,_0x3f217d,_0x1c68b3,_0x601418,_0x2cfa66){const _0x3e0e8c=new _0x1b65d3(this[_0x1d3f('0x4c')]);return _0x3e0e8c[_0x1d3f('0x3c')]({'label':_0x585812,'icon':_0x3f217d,'tooltip':!0x0,'tooltipPosition':_0x2cfa66}),_0x3e0e8c[_0x1d3f('0x12')]({'attributes':{'class':_0x1c68b3}}),_0x3e0e8c['on'](_0x1d3f('0x2d'),()=>{this[_0x1d3f('0x29')](_0x601418,this[_0x1d3f('0x18')]['id']);}),_0x3e0e8c;}['getExternalSuggestionNote'](){return _0x1d3f('0x34')===this[_0x1d3f('0x18')][_0x1d3f('0x10')][_0x1d3f('0x22')]['source']?_0x514c14(this['locale'],_0x1d3f('0x50')):_0x514c14(this[_0x1d3f('0x4c')],_0x1d3f('0x1b'));}[_0x1d3f('0x25')](){return this['_model'][_0x1d3f('0xc')]?_0x1d3f('0x34')===this[_0x1d3f('0x18')][_0x1d3f('0x10')][_0x1d3f('0x22')][_0x1d3f('0x54')]?_0x514c14(this[_0x1d3f('0x4c')],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model'][_0x1d3f('0x40')][_0x1d3f('0xf')]):_0x514c14(this[_0x1d3f('0x4c')],_0x1d3f('0x2'),this[_0x1d3f('0x18')][_0x1d3f('0x40')][_0x1d3f('0xf')]):null;}}function ci(_0x50d40a,_0x3916f1){let _0x231d7d='';return _0x231d7d+=_0x50d40a[_0x1d3f('0x26')]('*')[_0x1d3f('0x49')]((_0x4b568d,_0x60e196)=>_0x60e196%0x2!=0x0?_0x1d3f('0x2a')+ri(_0x4b568d)+'</span>':ri(_0x4b568d))[_0x1d3f('0x43')](''),_0x3916f1&&(_0x231d7d+=_0x1d3f('0x1')+_0x3916f1[_0x1d3f('0x9')]+_0x1d3f('0x1a')+_0x3916f1[_0x1d3f('0x45')]+_0x1d3f('0xd')),_0x231d7d;}function ri(_0x380635){const _0x54dac6=document[_0x1d3f('0x0')](_0x1d3f('0x1c'));return _0x54dac6[_0x1d3f('0x8')]=_0x380635,_0x54dac6['innerHTML'];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x258f73,_0x417bd6,_0x2def28){const t=_0x258f73['t'];switch(_0x417bd6){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',_0x2def28);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2def28);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2def28);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2def28);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2def28);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',_0x2def28);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2def28);case'*Format:*\x20replace\x20image\x20URL':return t('*Format:*\x20replace\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',_0x2def28);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2def28);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2def28);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2def28);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2def28);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2def28);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2def28);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2def28);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2def28);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2def28);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2def28);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2def28);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2def28);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2def28);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2def28);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2def28);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'},_0x2def28);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2def28);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2def28);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2def28);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2def28);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2def28);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'},_0x2def28);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2def28);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2def28);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2def28);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2def28);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'},_0x2def28);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2def28);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'},_0x2def28);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_WIDTH':return t({'string':'image\x20size','id':'FORMAT_IMAGE_WIDTH'});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'},_0x2def28);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2def28);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'},_0x2def28);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2def28);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'},_0x2def28);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2def28);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2def28);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'},_0x2def28);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'},_0x2def28);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 _0x417bd6;}}
23
+ export function getTranslation(_0x4179cf,_0xbde6d,_0x55900d){const t=_0x4179cf['t'];switch(_0xbde6d){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',_0x55900d);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x55900d);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x55900d);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x55900d);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x55900d);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',_0x55900d);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x55900d);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',_0x55900d);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x55900d);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x55900d);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x55900d);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x55900d);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x55900d);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x55900d);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x55900d);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x55900d);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x55900d);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x55900d);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x55900d);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x55900d);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x55900d);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x55900d);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x55900d);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'},_0x55900d);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x55900d);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x55900d);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x55900d);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x55900d);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x55900d);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'},_0x55900d);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x55900d);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x55900d);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x55900d);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x55900d);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'},_0x55900d);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x55900d);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'},_0x55900d);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'},_0x55900d);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x55900d);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'},_0x55900d);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x55900d);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'},_0x55900d);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x55900d);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x55900d);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'},_0x55900d);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'},_0x55900d);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 _0xbde6d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x561a=['createRange','end','createPositionAt','deletion','add','isCollapsed','replace','type','isInContent','schema','splice','getRanges','isArray','push','isObject','length','color','sort','change','createPositionAfter','from','createPositionBefore','\x20[color\x20','next','join','value','isIntersecting','isMultiRange'];(function(_0x131153,_0x561a20){const _0x5d79f3=function(_0x4367d3){while(--_0x4367d3){_0x131153['push'](_0x131153['shift']());}};_0x5d79f3(++_0x561a20);}(_0x561a,0xb4));const _0x5d79=function(_0x131153,_0x561a20){_0x131153=_0x131153-0x0;let _0x5d79f3=_0x561a[_0x131153];return _0x5d79f3;};export function normalizeDescription(_0x5e26c1){return Array[_0x5d79('0x0')](_0x5e26c1)||(_0x5e26c1=[_0x5e26c1]),_0x5e26c1['map'](_0x12601c=>{const _0x17569a=_0x12601c['content'][_0x5d79('0x16')](/\*/g,''),_0x2ed3a8=_0x12601c['color']?_0x5d79('0xa')+_0x12601c[_0x5d79('0x4')][_0x5d79('0xd')]+']':'';return'['+_0x12601c[_0x5d79('0x17')]+']\x20'+_0x17569a+_0x2ed3a8;})[_0x5d79('0xc')](';\x20');}export function sortSuggestions(_0x15db55){return _0x15db55[_0x5d79('0x5')]((_0x3ff18d,_0x333ab4)=>'deletion'==_0x3ff18d[_0x5d79('0x17')]&&_0x5d79('0x13')!=_0x333ab4[_0x5d79('0x17')]?-0x1:_0x5d79('0x13')!=_0x3ff18d[_0x5d79('0x17')]&&'deletion'==_0x333ab4['type']?0x1:0x0);}export function getSelectedSuggestions(_0x57a105,_0x2f904a){const _0x1f6a89=Array[_0x5d79('0x8')](_0x57a105[_0x5d79('0x1b')]()),_0x42f344=new Set();for(const _0x51a4c0 of _0x2f904a)if(_0x51a4c0[_0x5d79('0x18')])for(const _0x37ce34 of _0x1f6a89)for(const _0x3a1ba5 of _0x51a4c0[_0x5d79('0x1b')]())(_0x37ce34[_0x5d79('0xe')](_0x3a1ba5)||_0x57a105[_0x5d79('0x15')]&&!_0x51a4c0[_0x5d79('0xf')]&&_0x51a4c0[_0x5d79('0xb')]&&_0x3a1ba5[_0x5d79('0x11')]['isTouching'](_0x37ce34['start']))&&_0x42f344[_0x5d79('0x14')](_0x51a4c0);return _0x42f344;}export function getRangesOfBlockGroups(_0x52f1f7,_0x41e7c3){let _0x18292e,_0xd270a7=0x0;const _0x427bad=[],_0x6cef55=_0x41e7c3[_0x5d79('0x19')];for(;_0xd270a7<_0x52f1f7[_0x5d79('0x3')];){const _0xfc77c4=_0x52f1f7[_0xd270a7],_0x10c798=_0x52f1f7[_0xd270a7+0x1];_0x18292e||(_0x18292e=_0x41e7c3['createPositionBefore'](_0xfc77c4)),co(_0x41e7c3,_0xfc77c4,_0x10c798)||(_0x427bad[_0x5d79('0x1')](_0x41e7c3[_0x5d79('0x10')](_0x18292e,_0x6cef55[_0x5d79('0x2')](_0xfc77c4)?_0x41e7c3[_0x5d79('0x7')](_0xfc77c4):_0x41e7c3[_0x5d79('0x12')](_0xfc77c4,_0x5d79('0x11')))),_0x18292e=null),_0xd270a7++;}return _0x427bad;}function co(_0x34d170,_0x4899ee,_0x49e56b){if(!_0x49e56b)return!0x1;const _0x4dfda4=_0x34d170[_0x5d79('0x7')](_0x4899ee),_0x127cac=_0x34d170[_0x5d79('0x9')](_0x49e56b);return _0x4dfda4['isTouching'](_0x127cac);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x5f95a,_0x946be,_0xb33ad5){for(;_0xb33ad5[_0x5d79('0x3')];){const _0x32caf7=_0xb33ad5[_0x5d79('0x1a')](0x0,0x64);_0x5f95a[_0x5d79('0x6')](()=>{for(const _0xe4f556 of _0x32caf7)_0xe4f556['isInContent']&&_0x946be['execute'](_0xe4f556['id']);});}}
23
+ const _0x4d4a=['replace','isObject','push','execute','deletion','add','length','isIntersecting','color','isArray','type','isCollapsed','join','isTouching','value','from','isInContent','createPositionAfter','start','createRange','isMultiRange','schema','createPositionAt','sort','getRanges','createPositionBefore'];(function(_0x19849c,_0x4d4a41){const _0x3f0139=function(_0x5783f0){while(--_0x5783f0){_0x19849c['push'](_0x19849c['shift']());}};_0x3f0139(++_0x4d4a41);}(_0x4d4a,0xcf));const _0x3f01=function(_0x19849c,_0x4d4a41){_0x19849c=_0x19849c-0x0;let _0x3f0139=_0x4d4a[_0x19849c];return _0x3f0139;};export function normalizeDescription(_0x3eabfb){return Array[_0x3f01('0xa')](_0x3eabfb)||(_0x3eabfb=[_0x3eabfb]),_0x3eabfb['map'](_0x2ede9c=>{const _0x33875e=_0x2ede9c['content'][_0x3f01('0x1')](/\*/g,''),_0x1edbdb=_0x2ede9c[_0x3f01('0x9')]?'\x20[color\x20'+_0x2ede9c['color'][_0x3f01('0xf')]+']':'';return'['+_0x2ede9c['type']+']\x20'+_0x33875e+_0x1edbdb;})[_0x3f01('0xd')](';\x20');}export function sortSuggestions(_0x4c7f61){return _0x4c7f61[_0x3f01('0x18')]((_0x297c55,_0x445537)=>_0x3f01('0x5')==_0x297c55[_0x3f01('0xb')]&&_0x3f01('0x5')!=_0x445537['type']?-0x1:_0x3f01('0x5')!=_0x297c55['type']&&_0x3f01('0x5')==_0x445537[_0x3f01('0xb')]?0x1:0x0);}export function getSelectedSuggestions(_0x32460a,_0x3c3a49){const _0x5c3427=Array[_0x3f01('0x10')](_0x32460a[_0x3f01('0x19')]()),_0x3547c9=new Set();for(const _0x3fab16 of _0x3c3a49)if(_0x3fab16['isInContent'])for(const _0x2cd3a2 of _0x5c3427)for(const _0x4cfdde of _0x3fab16['getRanges']())(_0x2cd3a2[_0x3f01('0x8')](_0x4cfdde)||_0x32460a[_0x3f01('0xc')]&&!_0x3fab16[_0x3f01('0x15')]&&_0x3fab16['next']&&_0x4cfdde['end']['isTouching'](_0x2cd3a2[_0x3f01('0x13')]))&&_0x3547c9[_0x3f01('0x6')](_0x3fab16);return _0x3547c9;}export function getRangesOfBlockGroups(_0x475a37,_0x5a3d59){let _0x3951f3,_0x3282a0=0x0;const _0x5141a1=[],_0x281180=_0x5a3d59[_0x3f01('0x16')];for(;_0x3282a0<_0x475a37[_0x3f01('0x7')];){const _0x23f248=_0x475a37[_0x3282a0],_0x17609c=_0x475a37[_0x3282a0+0x1];_0x3951f3||(_0x3951f3=_0x5a3d59[_0x3f01('0x0')](_0x23f248)),co(_0x5a3d59,_0x23f248,_0x17609c)||(_0x5141a1[_0x3f01('0x3')](_0x5a3d59[_0x3f01('0x14')](_0x3951f3,_0x281180[_0x3f01('0x2')](_0x23f248)?_0x5a3d59['createPositionAfter'](_0x23f248):_0x5a3d59[_0x3f01('0x17')](_0x23f248,'end'))),_0x3951f3=null),_0x3282a0++;}return _0x5141a1;}function co(_0x2e7870,_0x2e3f2b,_0x2658bf){if(!_0x2658bf)return!0x1;const _0x38f82e=_0x2e7870[_0x3f01('0x12')](_0x2e3f2b),_0x598ff9=_0x2e7870[_0x3f01('0x0')](_0x2658bf);return _0x38f82e[_0x3f01('0xe')](_0x598ff9);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x16686f,_0x55acf7,_0x223a31){for(;_0x223a31[_0x3f01('0x7')];){const _0x3d6f9f=_0x223a31['splice'](0x0,0x64);_0x16686f['change'](()=>{for(const _0x5d46b6 of _0x3d6f9f)_0x5d46b6[_0x3f01('0x11')]&&_0x55acf7[_0x3f01('0x4')](_0x5d46b6['id']);});}}