@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230725.1 → 0.0.0-nightly-20230727.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 (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x391a=['acceptSuggestion','innerHTML','EXTERNAL_IMPORT_WORD_AVATAR','set','acceptButton','authoredAt','getExternalSuggestionNote','push','ck-suggestion--accept','importWord','span','name','</span>','ck-suggestion__main','EXTERNAL_AVATAR','ck-annotation__main','split','innerText','_model','locale','ck-suggestion__actions','_config','getTemplate','check','cancel','isActive','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','color','author','ck-annotation__content-wrapper','creator','ck-comment__external','_createButton','EXTERNAL_IMPORT_WORD_SUGGESTION','getUserViewNotificationText','children','ck-annotation__info','isExternal','</p>','<span\x20class=\x22ck-suggestion-type\x22>','canDiscard','ck-annotation__user','time','discardButton','ck-suggestion--discard','type','Discard\x20suggestion','element','ck-suggestion-wrapper','\x22\x20title=\x22','map','commentThreadInputView','ck-suggestion-','ck-annotation__actions','setTemplate','ck-suggestion__info-name','.ck-annotation__content-wrapper','render','ck-annotation__info-time','source','_descriptionElement','description','ck-annotation','join','ck-annotation__info-name','Accept\x20suggestion','commentThread','bind','createElement','fire','querySelector','change:description','value','\x22></span>','ck-comment__info-time','discardSuggestion','<p>','ck-suggestion','commentsListView','title','attributes','bindTemplate','isEnabled','userView','div','canAccept','extendTemplate','ck-suggestion__info'];(function(_0x370cdc,_0x391a21){const _0x5c5888=function(_0x5cca60){while(--_0x5cca60){_0x370cdc['push'](_0x370cdc['shift']());}};_0x5c5888(++_0x391a21);}(_0x391a,0x14b));const _0x5c58=function(_0x370cdc,_0x391a21){_0x370cdc=_0x370cdc-0x0;let _0x5c5888=_0x391a[_0x370cdc];return _0x5c5888;};import{getTranslation as _0x33e366}from'../../utils/common-translations';import{default as _0x16339e}from'./basesuggestionthreadview';import{ButtonView as _0x1837d6}from'ckeditor5/src/ui';import{icons as _0x4b9b62}from'ckeditor5/src/core';import{trimHtml as _0x1a1161,UserView as _0x53943c}from'ckeditor5-collaboration/src/collaboration-core';export default class zt extends _0x16339e{constructor(_0x5caad8,_0x437d7d,_0x33756f,_0x2462f8){super(_0x5caad8,_0x437d7d,_0x33756f,_0x2462f8),this[_0x5c58('0x18')](_0x5c58('0x42'),''),this[_0x5c58('0x0')](_0x5c58('0x42'))['to'](this,'descriptionParts',_0x3627de=>_0x3627de&&_0x3627de[0x0]?_0x3627de[0x0][_0x5c58('0x42')]:''),this[_0x5c58('0x0')](_0x5c58('0x52'))['to'](this,'descriptionParts',this,_0x5c58('0x2e'),(_0x2de6b5,_0x3cf95b)=>{let _0x1d4f6e='';for(const _0x14c42c of _0x2de6b5)_0x1d4f6e+=_0x5c58('0x9')+ns(_0x14c42c['content'],_0x14c42c[_0x5c58('0x30')])+_0x5c58('0x3b');return _0x3cf95b?_0x1d4f6e:_0x1a1161(_0x1d4f6e,{'limit':0x8c});}),this[_0x5c58('0x51')]=null,this[_0x5c58('0x19')]=this[_0x5c58('0x35')](_0x33e366(_0x5caad8,_0x5c58('0x56')),_0x4b9b62[_0x5c58('0x2c')],_0x5c58('0x1d'),_0x5c58('0x15'),'sw'),this['acceptButton'][_0x5c58('0x0')](_0x5c58('0xf'))['to'](this,_0x5c58('0x12')),this[_0x5c58('0x40')]=this['_createButton'](_0x33e366(_0x5caad8,_0x5c58('0x43')),_0x4b9b62[_0x5c58('0x2d')],_0x5c58('0x41'),_0x5c58('0x8'),'sw'),this[_0x5c58('0x40')][_0x5c58('0x0')](_0x5c58('0xf'))['to'](this,_0x5c58('0x3d')),this[_0x5c58('0x10')]=new _0x53943c(_0x5caad8,this['_model'][_0x5c58('0x31')],this[_0x5c58('0x37')]()),this[_0x5c58('0x10')][_0x5c58('0x13')]({'attributes':{'class':['ck-suggestion__user',_0x5c58('0x3e')]}}),this[_0x5c58('0x4b')](this[_0x5c58('0x2b')]());}[_0x5c58('0x2b')](){const _0x5254a8=this[_0x5c58('0xe')],_0x355735=[{'tag':_0x5c58('0x11'),'attributes':{'class':[_0x5c58('0x14'),_0x5c58('0x39')]},'children':[{'tag':_0x5c58('0x1f'),'children':[{'text':this[_0x5c58('0x10')][_0x5c58('0x20')]}],'attributes':{'class':[_0x5c58('0x4c'),_0x5c58('0x55')]}},{'tag':_0x5c58('0x3f'),'attributes':{'datetime':_0x5254a8['to'](_0x5c58('0x1a')),'class':[_0x5c58('0x7'),_0x5c58('0x4f')]},'children':[{'text':_0x5254a8['to'](_0x5c58('0x1a'),_0x1d5775=>this['_config']['formatDateTime'](_0x1d5775))}]}]},{'tag':_0x5c58('0x11'),'attributes':{'class':[_0x5c58('0x29'),_0x5c58('0x4a')]},'children':[this[_0x5c58('0x19')],this[_0x5c58('0x40')]]},{'tag':'div','attributes':{'class':[_0x5c58('0x32')]}}];this['_model']['isExternal']&&_0x355735[_0x5c58('0x1c')]({'tag':_0x5c58('0x11'),'attributes':{'class':[_0x5c58('0x34')]},'children':[{'text':this['getExternalSuggestionNote']()}]});const _0x3a929d={'tag':_0x5c58('0x11'),'attributes':{'class':[_0x5c58('0x45'),_0x5254a8['if'](_0x5c58('0x2e'),'ck-suggestion-wrapper--active'),_0x5254a8['to'](_0x5c58('0x42'),_0x56d2bb=>_0x5c58('0x49')+_0x56d2bb),this[_0x5c58('0x2a')]['disableComments']&&'ck-suggestion--disabled-comments'],'data-suggestion-id':this[_0x5c58('0x27')]['id'],'data-thread-id':this[_0x5c58('0x27')][_0x5c58('0x57')]['id'],'data-author-id':this[_0x5c58('0x27')]['author']['id'],'tabindex':-0x1},'children':[{'tag':_0x5c58('0x11'),'attributes':{'class':[_0x5c58('0xa'),_0x5c58('0x53')]},'children':[this[_0x5c58('0x10')],{'tag':_0x5c58('0x11'),'attributes':{'class':[_0x5c58('0x22'),_0x5c58('0x24')]},'children':_0x355735}]}]};return this[_0x5c58('0xb')]&&this[_0x5c58('0x48')]&&_0x3a929d[_0x5c58('0x38')][_0x5c58('0x1c')](this['commentsListView'],this[_0x5c58('0x48')]),_0x3a929d;}[_0x5c58('0x4e')](){super[_0x5c58('0x4e')](),this[_0x5c58('0x51')]=this[_0x5c58('0x44')][_0x5c58('0x3')](_0x5c58('0x4d')),this['_descriptionElement'][_0x5c58('0x16')]=this['description'],this['on'](_0x5c58('0x4'),(_0x8adecf,_0x152de2,_0x56a14d)=>{this[_0x5c58('0x51')]['innerHTML']=_0x56a14d;});}[_0x5c58('0x35')](_0x239610,_0x4dfef7,_0x15ffe7,_0x4a7c69,_0xd473ab){const _0x3608fe=new _0x1837d6(this[_0x5c58('0x28')]);return _0x3608fe[_0x5c58('0x18')]({'label':_0x239610,'icon':_0x4dfef7,'tooltip':!0x0,'tooltipPosition':_0xd473ab}),_0x3608fe['extendTemplate']({'attributes':{'class':_0x15ffe7}}),_0x3608fe['on']('execute',()=>{this[_0x5c58('0x2')](_0x4a7c69,this['_model']['id']);}),_0x3608fe;}[_0x5c58('0x1b')](){return _0x5c58('0x1e')===this['_model']['attributes']['@external'][_0x5c58('0x50')]?_0x33e366(this[_0x5c58('0x28')],_0x5c58('0x36')):_0x33e366(this[_0x5c58('0x28')],'EXTERNAL_SUGGESTION');}[_0x5c58('0x37')](){return this[_0x5c58('0x27')][_0x5c58('0x3a')]?_0x5c58('0x1e')===this[_0x5c58('0x27')][_0x5c58('0xd')]['@external']['source']?_0x33e366(this['locale'],_0x5c58('0x17'),this[_0x5c58('0x27')]['creator'][_0x5c58('0x20')]):_0x33e366(this[_0x5c58('0x28')],_0x5c58('0x23'),this['_model'][_0x5c58('0x33')][_0x5c58('0x20')]):null;}}function ns(_0x8b27a6,_0x30a476){let _0x69b87e='';return _0x69b87e+=_0x8b27a6[_0x5c58('0x25')]('*')[_0x5c58('0x47')]((_0x284e81,_0x264fe8)=>_0x264fe8%0x2!=0x0?_0x5c58('0x3c')+os(_0x284e81)+_0x5c58('0x21'):os(_0x284e81))[_0x5c58('0x54')](''),_0x30a476&&(_0x69b87e+=_0x5c58('0x2f')+_0x30a476[_0x5c58('0x5')]+_0x5c58('0x46')+_0x30a476[_0x5c58('0xc')]+_0x5c58('0x6')),_0x69b87e;}function os(_0x528aed){const _0x2b28da=document[_0x5c58('0x1')]('span');return _0x2b28da[_0x5c58('0x26')]=_0x528aed,_0x2b28da[_0x5c58('0x16')];}
23
+ const _0x2b71=['span','descriptionParts','getTemplate','ck-annotation__main','ck-annotation','createElement','discardSuggestion','_config','disableComments','div','innerHTML','join','@external','canAccept','userView','ck-suggestion','cancel','ck-suggestion--discard','</p>','execute','Discard\x20suggestion','commentsListView','ck-comment__external','time','getUserViewNotificationText','ck-suggestion__user','description','locale','content','extendTemplate','author','discardButton','ck-annotation__info-name','_model','fire','ck-annotation__content-wrapper','acceptSuggestion','ck-suggestion-wrapper--active','element','isEnabled','push','commentThreadInputView','\x22></span>','EXTERNAL_IMPORT_WORD_AVATAR','_createButton','children','ck-suggestion-','check','bind','commentThread','ck-suggestion__info-name','type','color','ck-annotation__info','importWord','Accept\x20suggestion','creator','_descriptionElement','getExternalSuggestionNote','ck-suggestion__info','<p>','ck-annotation__actions','setTemplate','bindTemplate','isActive','ck-suggestion__main','map','EXTERNAL_AVATAR','innerText','source','name','ck-suggestion__actions','isExternal','acceptButton','ck-comment__info-time','querySelector','ck-annotation__info-time','authoredAt','split','render','ck-suggestion--accept','set','ck-suggestion--disabled-comments'];(function(_0x1941cc,_0x2b71e1){const _0x28fb03=function(_0x3132cd){while(--_0x3132cd){_0x1941cc['push'](_0x1941cc['shift']());}};_0x28fb03(++_0x2b71e1);}(_0x2b71,0xce));const _0x28fb=function(_0x1941cc,_0x2b71e1){_0x1941cc=_0x1941cc-0x0;let _0x28fb03=_0x2b71[_0x1941cc];return _0x28fb03;};import{getTranslation as _0x3d004c}from'../../utils/common-translations';import{default as _0x42a31e}from'./basesuggestionthreadview';import{ButtonView as _0x5eb3bd}from'ckeditor5/src/ui';import{icons as _0x1cf314}from'ckeditor5/src/core';import{trimHtml as _0x5553b9,UserView as _0x5c7290}from'ckeditor5-collaboration/src/collaboration-core';export default class zt extends _0x42a31e{constructor(_0x4197bd,_0xf69d2c,_0x220cf0,_0x1753c1){super(_0x4197bd,_0xf69d2c,_0x220cf0,_0x1753c1),this[_0x28fb('0x29')]('type',''),this[_0x28fb('0x8')](_0x28fb('0xb'))['to'](this,_0x28fb('0x2c'),_0x22300f=>_0x22300f&&_0x22300f[0x0]?_0x22300f[0x0]['type']:''),this['bind'](_0x28fb('0x45'))['to'](this,_0x28fb('0x2c'),this,_0x28fb('0x18'),(_0x5ced5e,_0x4fd97c)=>{let _0x64b390='';for(const _0x5d8fc0 of _0x5ced5e)_0x64b390+=_0x28fb('0x14')+ns(_0x5d8fc0[_0x28fb('0x47')],_0x5d8fc0[_0x28fb('0xc')])+_0x28fb('0x3d');return _0x4fd97c?_0x64b390:_0x5553b9(_0x64b390,{'limit':0x8c});}),this['_descriptionElement']=null,this[_0x28fb('0x21')]=this['_createButton'](_0x3d004c(_0x4197bd,_0x28fb('0xf')),_0x1cf314[_0x28fb('0x7')],_0x28fb('0x28'),_0x28fb('0x4f'),'sw'),this['acceptButton'][_0x28fb('0x8')](_0x28fb('0x52'))['to'](this,_0x28fb('0x38')),this['discardButton']=this[_0x28fb('0x4')](_0x3d004c(_0x4197bd,_0x28fb('0x3f')),_0x1cf314[_0x28fb('0x3b')],_0x28fb('0x3c'),_0x28fb('0x31'),'sw'),this['discardButton'][_0x28fb('0x8')](_0x28fb('0x52'))['to'](this,'canDiscard'),this[_0x28fb('0x39')]=new _0x5c7290(_0x4197bd,this[_0x28fb('0x4c')][_0x28fb('0x49')],this['getUserViewNotificationText']()),this[_0x28fb('0x39')][_0x28fb('0x48')]({'attributes':{'class':[_0x28fb('0x44'),'ck-annotation__user']}}),this[_0x28fb('0x16')](this[_0x28fb('0x2d')]());}['getTemplate'](){const _0x54247a=this[_0x28fb('0x17')],_0x3039c3=[{'tag':_0x28fb('0x34'),'attributes':{'class':[_0x28fb('0x13'),_0x28fb('0xd')]},'children':[{'tag':_0x28fb('0x2b'),'children':[{'text':this[_0x28fb('0x39')][_0x28fb('0x1e')]}],'attributes':{'class':[_0x28fb('0xa'),_0x28fb('0x4b')]}},{'tag':_0x28fb('0x42'),'attributes':{'datetime':_0x54247a['to'](_0x28fb('0x25')),'class':[_0x28fb('0x22'),_0x28fb('0x24')]},'children':[{'text':_0x54247a['to'](_0x28fb('0x25'),_0xc81ea9=>this[_0x28fb('0x32')]['formatDateTime'](_0xc81ea9))}]}]},{'tag':_0x28fb('0x34'),'attributes':{'class':[_0x28fb('0x1f'),_0x28fb('0x15')]},'children':[this[_0x28fb('0x21')],this[_0x28fb('0x4a')]]},{'tag':_0x28fb('0x34'),'attributes':{'class':[_0x28fb('0x4e')]}}];this[_0x28fb('0x4c')]['isExternal']&&_0x3039c3[_0x28fb('0x0')]({'tag':_0x28fb('0x34'),'attributes':{'class':[_0x28fb('0x41')]},'children':[{'text':this[_0x28fb('0x12')]()}]});const _0x2e7f7c={'tag':_0x28fb('0x34'),'attributes':{'class':['ck-suggestion-wrapper',_0x54247a['if'](_0x28fb('0x18'),_0x28fb('0x50')),_0x54247a['to'](_0x28fb('0xb'),_0x2cf97a=>_0x28fb('0x6')+_0x2cf97a),this['_config'][_0x28fb('0x33')]&&_0x28fb('0x2a')],'data-suggestion-id':this[_0x28fb('0x4c')]['id'],'data-thread-id':this['_model'][_0x28fb('0x9')]['id'],'data-author-id':this[_0x28fb('0x4c')][_0x28fb('0x49')]['id'],'tabindex':-0x1},'children':[{'tag':_0x28fb('0x34'),'attributes':{'class':[_0x28fb('0x3a'),_0x28fb('0x2f')]},'children':[this[_0x28fb('0x39')],{'tag':_0x28fb('0x34'),'attributes':{'class':[_0x28fb('0x19'),_0x28fb('0x2e')]},'children':_0x3039c3}]}]};return this[_0x28fb('0x40')]&&this[_0x28fb('0x1')]&&_0x2e7f7c[_0x28fb('0x5')][_0x28fb('0x0')](this[_0x28fb('0x40')],this[_0x28fb('0x1')]),_0x2e7f7c;}[_0x28fb('0x27')](){super[_0x28fb('0x27')](),this[_0x28fb('0x11')]=this[_0x28fb('0x51')][_0x28fb('0x23')]('.ck-annotation__content-wrapper'),this[_0x28fb('0x11')][_0x28fb('0x35')]=this[_0x28fb('0x45')],this['on']('change:description',(_0x3dee86,_0x1052f7,_0x2b40bf)=>{this['_descriptionElement'][_0x28fb('0x35')]=_0x2b40bf;});}[_0x28fb('0x4')](_0x8247c,_0x1ca98c,_0x5b041c,_0x51db11,_0x1f38fc){const _0x37d4f1=new _0x5eb3bd(this['locale']);return _0x37d4f1[_0x28fb('0x29')]({'label':_0x8247c,'icon':_0x1ca98c,'tooltip':!0x0,'tooltipPosition':_0x1f38fc}),_0x37d4f1['extendTemplate']({'attributes':{'class':_0x5b041c}}),_0x37d4f1['on'](_0x28fb('0x3e'),()=>{this[_0x28fb('0x4d')](_0x51db11,this[_0x28fb('0x4c')]['id']);}),_0x37d4f1;}[_0x28fb('0x12')](){return _0x28fb('0xe')===this[_0x28fb('0x4c')]['attributes'][_0x28fb('0x37')][_0x28fb('0x1d')]?_0x3d004c(this['locale'],'EXTERNAL_IMPORT_WORD_SUGGESTION'):_0x3d004c(this[_0x28fb('0x46')],'EXTERNAL_SUGGESTION');}[_0x28fb('0x43')](){return this[_0x28fb('0x4c')][_0x28fb('0x20')]?_0x28fb('0xe')===this['_model']['attributes'][_0x28fb('0x37')][_0x28fb('0x1d')]?_0x3d004c(this[_0x28fb('0x46')],_0x28fb('0x3'),this['_model'][_0x28fb('0x10')][_0x28fb('0x1e')]):_0x3d004c(this['locale'],_0x28fb('0x1b'),this[_0x28fb('0x4c')][_0x28fb('0x10')][_0x28fb('0x1e')]):null;}}function ns(_0x7f6a47,_0x1c8d93){let _0x46c925='';return _0x46c925+=_0x7f6a47[_0x28fb('0x26')]('*')[_0x28fb('0x1a')]((_0x470245,_0x381a78)=>_0x381a78%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+os(_0x470245)+'</span>':os(_0x470245))[_0x28fb('0x36')](''),_0x1c8d93&&(_0x46c925+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x1c8d93['value']+'\x22\x20title=\x22'+_0x1c8d93['title']+_0x28fb('0x2')),_0x46c925;}function os(_0x45b642){const _0x27ad90=document[_0x28fb('0x30')](_0x28fb('0x2b'));return _0x27ad90[_0x28fb('0x1c')]=_0x45b642,_0x27ad90[_0x28fb('0x35')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x2d4fc3,_0x4faa90,_0x195aaa){const t=_0x2d4fc3['t'];switch(_0x4faa90){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',_0x195aaa);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x195aaa);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x195aaa);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x195aaa);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x195aaa);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',_0x195aaa);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x195aaa);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',_0x195aaa);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x195aaa);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x195aaa);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x195aaa);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x195aaa);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x195aaa);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x195aaa);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x195aaa);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x195aaa);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x195aaa);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x195aaa);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x195aaa);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x195aaa);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x195aaa);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x195aaa);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'},_0x195aaa);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x195aaa);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x195aaa);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x195aaa);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x195aaa);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x195aaa);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'},_0x195aaa);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x195aaa);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x195aaa);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x195aaa);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x195aaa);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});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':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'},_0x195aaa);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x195aaa);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'},_0x195aaa);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'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'},_0x195aaa);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x195aaa);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'},_0x195aaa);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x195aaa);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'},_0x195aaa);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x195aaa);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x195aaa);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'},_0x195aaa);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'},_0x195aaa);default:return _0x4faa90;}}
23
+ export function getTranslation(_0x34669e,_0x1413ce,_0x7274c0){const t=_0x34669e['t'];switch(_0x1413ce){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',_0x7274c0);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x7274c0);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x7274c0);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x7274c0);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x7274c0);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',_0x7274c0);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x7274c0);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',_0x7274c0);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x7274c0);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x7274c0);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x7274c0);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x7274c0);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x7274c0);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x7274c0);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x7274c0);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x7274c0);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x7274c0);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x7274c0);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x7274c0);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x7274c0);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x7274c0);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x7274c0);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'},_0x7274c0);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x7274c0);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x7274c0);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x7274c0);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x7274c0);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x7274c0);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'},_0x7274c0);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x7274c0);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x7274c0);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x7274c0);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x7274c0);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});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':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'},_0x7274c0);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x7274c0);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'},_0x7274c0);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'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'},_0x7274c0);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x7274c0);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'},_0x7274c0);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x7274c0);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'},_0x7274c0);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x7274c0);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x7274c0);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'},_0x7274c0);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'},_0x7274c0);default:return _0x1413ce;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5547=['change','isInContent','createPositionAt','createPositionAfter','content','start','schema','isCollapsed','add','join','color','end','deletion','getMarkers','getRange','splice','\x20[color\x20','sort','length','isObject','type','isTouching','isMultiRange','value','isIntersecting','push','map','replace','createRange','getRanges','execute'];(function(_0x35c642,_0x5547de){const _0x5874e9=function(_0x138d1f){while(--_0x138d1f){_0x35c642['push'](_0x35c642['shift']());}};_0x5874e9(++_0x5547de);}(_0x5547,0x146));const _0x5874=function(_0x35c642,_0x5547de){_0x35c642=_0x35c642-0x0;let _0x5874e9=_0x5547[_0x35c642];return _0x5874e9;};export function normalizeDescription(_0xb52926){return Array['isArray'](_0xb52926)||(_0xb52926=[_0xb52926]),_0xb52926[_0x5874('0xa')](_0x2b5ab1=>{const _0x19fdab=_0x2b5ab1[_0x5874('0x13')][_0x5874('0xb')](/\*/g,''),_0x479ab7=_0x2b5ab1[_0x5874('0x19')]?_0x5874('0x0')+_0x2b5ab1[_0x5874('0x19')][_0x5874('0x7')]+']':'';return'['+_0x2b5ab1[_0x5874('0x4')]+']\x20'+_0x19fdab+_0x479ab7;})[_0x5874('0x18')](';\x20');}export function sortSuggestions(_0x4f2789){return _0x4f2789[_0x5874('0x1')]((_0x11330d,_0x305c1b)=>_0x5874('0x1b')==_0x11330d['type']&&_0x5874('0x1b')!=_0x305c1b['type']?-0x1:_0x5874('0x1b')!=_0x11330d[_0x5874('0x4')]&&_0x5874('0x1b')==_0x305c1b[_0x5874('0x4')]?0x1:0x0);}export function getSelectedSuggestions(_0x5d3d1b,_0x4547f9){const _0x573bb5=Array['from'](_0x5d3d1b[_0x5874('0xd')]()),_0x1603a9=new Set();for(const _0x2492de of _0x4547f9)if(_0x2492de[_0x5874('0x10')])for(const _0x1ce115 of _0x573bb5)for(const _0x241ed6 of _0x2492de[_0x5874('0x1c')]()){const _0xc5e4dc=_0x241ed6[_0x5874('0x1d')]();(_0x1ce115[_0x5874('0x8')](_0xc5e4dc)||_0x5d3d1b[_0x5874('0x16')]&&!_0x2492de[_0x5874('0x6')]&&_0x2492de['next']&&_0xc5e4dc[_0x5874('0x1a')][_0x5874('0x5')](_0x1ce115[_0x5874('0x14')]))&&_0x1603a9[_0x5874('0x17')](_0x2492de);}return _0x1603a9;}export function getRangesOfBlockGroups(_0x107b15,_0x35644e){let _0x253acd,_0x58f15f=0x0;const _0x184573=[],_0x1e85e0=_0x35644e[_0x5874('0x15')];for(;_0x58f15f<_0x107b15[_0x5874('0x2')];){const _0x3bc1ec=_0x107b15[_0x58f15f],_0x548df0=_0x107b15[_0x58f15f+0x1];_0x253acd||(_0x253acd=_0x35644e['createPositionBefore'](_0x3bc1ec)),co(_0x35644e,_0x3bc1ec,_0x548df0)||(_0x184573[_0x5874('0x9')](_0x35644e[_0x5874('0xc')](_0x253acd,_0x1e85e0[_0x5874('0x3')](_0x3bc1ec)?_0x35644e['createPositionAfter'](_0x3bc1ec):_0x35644e[_0x5874('0x11')](_0x3bc1ec,_0x5874('0x1a')))),_0x253acd=null),_0x58f15f++;}return _0x184573;}function co(_0x297480,_0x1f9fc9,_0x1b7e23){if(!_0x1b7e23)return!0x1;const _0x3d5ec4=_0x297480[_0x5874('0x12')](_0x1f9fc9),_0x29fc14=_0x297480['createPositionBefore'](_0x1b7e23);return _0x3d5ec4[_0x5874('0x5')](_0x29fc14);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x181082,_0x28f6db,_0x264317){for(;_0x264317[_0x5874('0x2')];){const _0x500bc4=_0x264317[_0x5874('0x1e')](0x0,0x64);_0x181082[_0x5874('0xf')](()=>{for(const _0xfb2528 of _0x500bc4)_0xfb2528[_0x5874('0x10')]&&_0x28f6db[_0x5874('0xe')](_0xfb2528['id']);});}}
23
+ const _0x1e7b=['isInContent','getRange','isIntersecting','change','join','splice','value','end','createRange','isMultiRange','color','content','getMarkers','type','sort','isObject','\x20[color\x20','createPositionAt','isArray','from','length','getRanges','add','schema','start','isTouching','deletion','replace','createPositionBefore','createPositionAfter'];(function(_0x10c966,_0x1e7bf3){const _0x3d4935=function(_0x343a3b){while(--_0x343a3b){_0x10c966['push'](_0x10c966['shift']());}};_0x3d4935(++_0x1e7bf3);}(_0x1e7b,0xaa));const _0x3d49=function(_0x10c966,_0x1e7bf3){_0x10c966=_0x10c966-0x0;let _0x3d4935=_0x1e7b[_0x10c966];return _0x3d4935;};export function normalizeDescription(_0x4b3801){return Array[_0x3d49('0x1c')](_0x4b3801)||(_0x4b3801=[_0x4b3801]),_0x4b3801['map'](_0x418cc1=>{const _0x22698e=_0x418cc1[_0x3d49('0x15')][_0x3d49('0x7')](/\*/g,''),_0x124c56=_0x418cc1[_0x3d49('0x14')]?_0x3d49('0x1a')+_0x418cc1[_0x3d49('0x14')][_0x3d49('0x10')]+']':'';return'['+_0x418cc1[_0x3d49('0x17')]+']\x20'+_0x22698e+_0x124c56;})[_0x3d49('0xe')](';\x20');}export function sortSuggestions(_0x4308d0){return _0x4308d0[_0x3d49('0x18')]((_0x8d1d7f,_0x439c4e)=>_0x3d49('0x6')==_0x8d1d7f[_0x3d49('0x17')]&&_0x3d49('0x6')!=_0x439c4e['type']?-0x1:_0x3d49('0x6')!=_0x8d1d7f[_0x3d49('0x17')]&&_0x3d49('0x6')==_0x439c4e[_0x3d49('0x17')]?0x1:0x0);}export function getSelectedSuggestions(_0x400c6b,_0x4d06a5){const _0x2db49c=Array[_0x3d49('0x1d')](_0x400c6b[_0x3d49('0x1')]()),_0x4c147b=new Set();for(const _0xc7cd80 of _0x4d06a5)if(_0xc7cd80[_0x3d49('0xa')])for(const _0xaf357c of _0x2db49c)for(const _0x2f61e1 of _0xc7cd80[_0x3d49('0x16')]()){const _0x4c539f=_0x2f61e1[_0x3d49('0xb')]();(_0xaf357c[_0x3d49('0xc')](_0x4c539f)||_0x400c6b['isCollapsed']&&!_0xc7cd80[_0x3d49('0x13')]&&_0xc7cd80['next']&&_0x4c539f[_0x3d49('0x11')]['isTouching'](_0xaf357c[_0x3d49('0x4')]))&&_0x4c147b[_0x3d49('0x2')](_0xc7cd80);}return _0x4c147b;}export function getRangesOfBlockGroups(_0x420b50,_0x32e88b){let _0x2a75f0,_0x16f90d=0x0;const _0x261a7e=[],_0x5af12e=_0x32e88b[_0x3d49('0x3')];for(;_0x16f90d<_0x420b50[_0x3d49('0x0')];){const _0x386f35=_0x420b50[_0x16f90d],_0x2b4fb1=_0x420b50[_0x16f90d+0x1];_0x2a75f0||(_0x2a75f0=_0x32e88b[_0x3d49('0x8')](_0x386f35)),co(_0x32e88b,_0x386f35,_0x2b4fb1)||(_0x261a7e['push'](_0x32e88b[_0x3d49('0x12')](_0x2a75f0,_0x5af12e[_0x3d49('0x19')](_0x386f35)?_0x32e88b[_0x3d49('0x9')](_0x386f35):_0x32e88b[_0x3d49('0x1b')](_0x386f35,_0x3d49('0x11')))),_0x2a75f0=null),_0x16f90d++;}return _0x261a7e;}function co(_0x20ca71,_0x425dba,_0x57a036){if(!_0x57a036)return!0x1;const _0x3ff7c8=_0x20ca71[_0x3d49('0x9')](_0x425dba),_0x90e9dc=_0x20ca71[_0x3d49('0x8')](_0x57a036);return _0x3ff7c8[_0x3d49('0x5')](_0x90e9dc);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x27a2ca,_0x39c04b,_0x3eebfa){for(;_0x3eebfa[_0x3d49('0x0')];){const _0x139477=_0x3eebfa[_0x3d49('0xf')](0x0,0x64);_0x27a2ca[_0x3d49('0xd')](()=>{for(const _0x524612 of _0x139477)_0x524612[_0x3d49('0xa')]&&_0x39c04b['execute'](_0x524612['id']);});}}