@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230822.0 → 0.0.0-nightly-20230823.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 _0x3f10=['isReadOnly','length','commentInputView','setData','_model','editorConfig','_localUser','addComment','showInput','fire','updateComment','commentThreadInputView','authoredAt','isActive','locale','commentThread','set','isDirty','submit','focus','_config','value','destroy','removeComment','hasDirtyComment','canAccept','cancel','CommentView','commentsListView','bind','element','descriptionParts'];(function(_0x2d6586,_0x3f1020){const _0x55f46e=function(_0xe7dfef){while(--_0xe7dfef){_0x2d6586['push'](_0x2d6586['shift']());}};_0x55f46e(++_0x3f1020);}(_0x3f10,0x122));const _0x55f4=function(_0x2d6586,_0x3f1020){_0x2d6586=_0x2d6586-0x0;let _0x55f46e=_0x3f10[_0x2d6586];return _0x55f46e;};import{View as _0xa39707}from'ckeditor5/src/ui';export default class ii extends _0xa39707{constructor(_0x3c874c,_0x540c31,_0x1ed70a,_0x414838){super(_0x3c874c),this[_0x55f4('0x1a')]=null,this[_0x55f4('0x9')]=null,this[_0x55f4('0xe')](_0x55f4('0xb'),!0x1),this[_0x55f4('0xe')](_0x55f4('0xa'),_0x540c31[_0x55f4('0xa')]),this[_0x55f4('0x1b')](_0x55f4('0xa'))['to'](_0x540c31),this[_0x55f4('0xe')](_0x55f4('0x1d'),[]),this['set']('isDirty',!0x1),this[_0x55f4('0xe')]('isEnabled',!0x1),this[_0x55f4('0xe')](_0x55f4('0x17'),!0x1),this[_0x55f4('0xe')]('canDiscard',!0x1),this[_0x55f4('0x2')]=_0x540c31,this[_0x55f4('0x4')]=_0x1ed70a,this[_0x55f4('0x12')]=_0x414838,_0x414838['disableComments']?this[_0x55f4('0xe')](_0x55f4('0x1f'),0x1):this['_createCommentViews']();}['focus'](){this[_0x55f4('0x1c')]['focus']();}[_0x55f4('0x14')](){this[_0x55f4('0x1a')]&&this[_0x55f4('0x1a')][_0x55f4('0x14')](),this[_0x55f4('0x9')]&&this[_0x55f4('0x9')][_0x55f4('0x14')](),super[_0x55f4('0x14')]();}['_createCommentViews'](){const {CommentsListView:_0x284779}=this['_config'];this['commentsListView']=new _0x284779(this[_0x55f4('0xc')],this[_0x55f4('0x2')][_0x55f4('0xd')],Object['assign']({'CommentView':this['_config'][_0x55f4('0x19')]},this[_0x55f4('0x12')])),this[_0x55f4('0x1a')]['delegate'](_0x55f4('0x15'))['to'](this),this[_0x55f4('0x1a')]['delegate'](_0x55f4('0x8'))['to'](this),this[_0x55f4('0x1a')][_0x55f4('0x1b')](_0x55f4('0xb'))['to'](this),this['set']('length',this[_0x55f4('0x1a')][_0x55f4('0x1f')]+0x1),this[_0x55f4('0x1b')](_0x55f4('0x1f'))['to'](this[_0x55f4('0x1a')],_0x55f4('0x1f'),_0x184127=>_0x184127+0x1),this[_0x55f4('0x9')]=this['_createCommentThreadInputView'](),this['on'](_0x55f4('0x15'),()=>this[_0x55f4('0x11')]()),this[_0x55f4('0x1b')](_0x55f4('0xf'))['to'](this[_0x55f4('0x1a')],_0x55f4('0x16'),this['commentThreadInputView'][_0x55f4('0x0')],_0x55f4('0x13'),(_0xa5672f,_0x2890d7)=>_0xa5672f||!!_0x2890d7);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x19468a}=this['_config'],_0x5981e8=new _0x19468a(this['locale'],this['_localUser'],this[_0x55f4('0x12')][_0x55f4('0x3')]),_0x4c4465=_0x5981e8[_0x55f4('0x0')];return _0x5981e8[_0x55f4('0x1b')](_0x55f4('0x6'))['to'](this,_0x55f4('0xb'),this[_0x55f4('0x2')][_0x55f4('0xd')],'isReadOnly',_0x4c4465,_0x55f4('0x13'),(_0x590dfe,_0x6f839a,_0x58d34b)=>!!_0x58d34b||_0x590dfe&&!_0x6f839a),_0x4c4465['on'](_0x55f4('0x10'),(_0x397150,_0x2d8fbc)=>{this[_0x55f4('0x7')](_0x55f4('0x5'),_0x2d8fbc),_0x4c4465['editor'][_0x55f4('0x1')]('');}),_0x4c4465['on'](_0x55f4('0x18'),()=>this['focus']()),_0x4c4465[_0x55f4('0x1b')]('disabledSubmit')['to'](this[_0x55f4('0x2')][_0x55f4('0xd')],_0x55f4('0x1e')),_0x5981e8;}}
23
+ const _0x538c=['fire','focus','commentThread','_createCommentViews','isDirty','delegate','isActive','disabledSubmit','disableComments','commentsListView','bind','CommentView','_localUser','editor','removeComment','set','isEnabled','addComment','commentInputView','setData','destroy','cancel','canDiscard','locale','commentThreadInputView','_config','element','_createCommentThreadInputView','length','canAccept','showInput','submit','value','hasDirtyComment','authoredAt','_model','isReadOnly'];(function(_0x5d2218,_0x538c98){const _0x2884dc=function(_0x3f07b0){while(--_0x3f07b0){_0x5d2218['push'](_0x5d2218['shift']());}};_0x2884dc(++_0x538c98);}(_0x538c,0x1eb));const _0x2884=function(_0x5d2218,_0x538c98){_0x5d2218=_0x5d2218-0x0;let _0x2884dc=_0x538c[_0x5d2218];return _0x2884dc;};import{View as _0xd6b5c3}from'ckeditor5/src/ui';export default class ii extends _0xd6b5c3{constructor(_0x293c85,_0x5212a5,_0x44404a,_0x475f3a){super(_0x293c85),this[_0x2884('0x24')]=null,this[_0x2884('0xe')]=null,this[_0x2884('0x5')](_0x2884('0x21'),!0x1),this[_0x2884('0x5')]('authoredAt',_0x5212a5[_0x2884('0x18')]),this[_0x2884('0x0')](_0x2884('0x18'))['to'](_0x5212a5),this[_0x2884('0x5')]('descriptionParts',[]),this[_0x2884('0x5')](_0x2884('0x1f'),!0x1),this[_0x2884('0x5')](_0x2884('0x6'),!0x1),this[_0x2884('0x5')](_0x2884('0x13'),!0x1),this[_0x2884('0x5')](_0x2884('0xc'),!0x1),this[_0x2884('0x19')]=_0x5212a5,this[_0x2884('0x2')]=_0x44404a,this[_0x2884('0xf')]=_0x475f3a,_0x475f3a[_0x2884('0x23')]?this[_0x2884('0x5')]('length',0x1):this[_0x2884('0x1e')]();}[_0x2884('0x1c')](){this[_0x2884('0x10')][_0x2884('0x1c')]();}[_0x2884('0xa')](){this[_0x2884('0x24')]&&this['commentsListView']['destroy'](),this['commentThreadInputView']&&this[_0x2884('0xe')][_0x2884('0xa')](),super[_0x2884('0xa')]();}[_0x2884('0x1e')](){const {CommentsListView:_0x302ad7}=this[_0x2884('0xf')];this[_0x2884('0x24')]=new _0x302ad7(this[_0x2884('0xd')],this[_0x2884('0x19')][_0x2884('0x1d')],Object['assign']({'CommentView':this[_0x2884('0xf')][_0x2884('0x1')]},this[_0x2884('0xf')])),this[_0x2884('0x24')][_0x2884('0x20')](_0x2884('0x4'))['to'](this),this[_0x2884('0x24')]['delegate']('updateComment')['to'](this),this[_0x2884('0x24')][_0x2884('0x0')](_0x2884('0x21'))['to'](this),this['set'](_0x2884('0x12'),this[_0x2884('0x24')][_0x2884('0x12')]+0x1),this['bind'](_0x2884('0x12'))['to'](this[_0x2884('0x24')],'length',_0x1ce685=>_0x1ce685+0x1),this[_0x2884('0xe')]=this['_createCommentThreadInputView'](),this['on'](_0x2884('0x4'),()=>this[_0x2884('0x1c')]()),this[_0x2884('0x0')]('isDirty')['to'](this[_0x2884('0x24')],_0x2884('0x17'),this[_0x2884('0xe')][_0x2884('0x8')],_0x2884('0x16'),(_0x1d4b34,_0x968cd1)=>_0x1d4b34||!!_0x968cd1);}[_0x2884('0x11')](){const {CommentThreadInputView:_0x170a2e}=this[_0x2884('0xf')],_0x14aa3e=new _0x170a2e(this['locale'],this[_0x2884('0x2')],this[_0x2884('0xf')]['editorConfig']),_0x2694af=_0x14aa3e[_0x2884('0x8')];return _0x14aa3e['bind'](_0x2884('0x14'))['to'](this,_0x2884('0x21'),this[_0x2884('0x19')][_0x2884('0x1d')],_0x2884('0x1a'),_0x2694af,_0x2884('0x16'),(_0xe20a4,_0x24ef9b,_0x2d3fd5)=>!!_0x2d3fd5||_0xe20a4&&!_0x24ef9b),_0x2694af['on'](_0x2884('0x15'),(_0x28b389,_0x15c976)=>{this[_0x2884('0x1b')](_0x2884('0x7'),_0x15c976),_0x2694af[_0x2884('0x3')][_0x2884('0x9')]('');}),_0x2694af['on'](_0x2884('0xb'),()=>this['focus']()),_0x2694af[_0x2884('0x0')](_0x2884('0x22'))['to'](this['_model']['commentThread'],_0x2884('0x1a')),_0x14aa3e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5adc=['render','_config','getTemplate','_descriptionElement','time','EXTERNAL_AVATAR','join','ck-comment__info-time','locale','getUserViewNotificationText','createElement','innerText','ck-suggestion--accept','<p>','attributes','_model','ck-suggestion-wrapper--active','set','isExternal','bindTemplate','ck-suggestion--discard','.ck-annotation__content-wrapper','editorReady','ck-suggestion__info','discardButton','ck-suggestion__actions','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','ck-annotation__user','EXTERNAL_SUGGESTION','isActive','\x22></span>','fire','element','getExternalSuggestionNote','editorDestroyed','extendTemplate','ck-annotation','ck-suggestion','commentThread','change:description','name','push','EXTERNAL_IMPORT_WORD_SUGGESTION','split','ck-suggestion-wrapper','acceptButton','ck-comment__external','div','title','map','content','ck-annotation__info-name','canAccept','innerHTML','authoredAt','@external','creator','type','value','acceptSuggestion','cancel','source','Discard\x20suggestion','ck-suggestion-','color','</span>','description','ck-annotation__info','ck-annotation__content-wrapper','EXTERNAL_IMPORT_WORD_AVATAR','</p>','descriptionParts','delegate','ck-suggestion__info-name','Accept\x20suggestion','children','ck-suggestion__user','ck-annotation__main','commentThreadInputView','_createButton','querySelector','bind','commentsListView','importWord','execute','formatDateTime','author','userView','span','isEnabled'];(function(_0x35accc,_0x5adcac){const _0x2dc2ad=function(_0x5dd137){while(--_0x5dd137){_0x35accc['push'](_0x35accc['shift']());}};_0x2dc2ad(++_0x5adcac);}(_0x5adc,0x145));const _0x2dc2=function(_0x35accc,_0x5adcac){_0x35accc=_0x35accc-0x0;let _0x2dc2ad=_0x5adc[_0x35accc];return _0x2dc2ad;};import{getTranslation as _0x5e4a38}from'../../utils/common-translations';import{default as _0xd40edf}from'./basesuggestionthreadview';import{ButtonView as _0x217fd0}from'ckeditor5/src/ui';import{icons as _0x38bc2b}from'ckeditor5/src/core';import{trimHtml as _0x48a5ce,UserView as _0x52e037}from'ckeditor5-collaboration/src/collaboration-core';export default class zt extends _0xd40edf{constructor(_0x28b602,_0x24bb82,_0x9dd301,_0x1ea04c){super(_0x28b602,_0x24bb82,_0x9dd301,_0x1ea04c),this[_0x2dc2('0x34')](_0x2dc2('0x2'),''),this[_0x2dc2('0x1a')]('type')['to'](this,_0x2dc2('0x10'),_0xda99f6=>_0xda99f6&&_0xda99f6[0x0]?_0xda99f6[0x0][_0x2dc2('0x2')]:''),this[_0x2dc2('0x1a')](_0x2dc2('0xb'))['to'](this,_0x2dc2('0x10'),this,'isActive',(_0x2d3c57,_0x2a2e11)=>{let _0x25b8f7='';for(const _0x5d7fbf of _0x2d3c57)_0x25b8f7+=_0x2dc2('0x30')+ai(_0x5d7fbf[_0x2dc2('0x55')],_0x5d7fbf[_0x2dc2('0x9')])+_0x2dc2('0xf');return _0x2a2e11?_0x25b8f7:_0x48a5ce(_0x25b8f7,{'limit':0x8c});}),this[_0x2dc2('0x26')]=null,this['acceptButton']=this[_0x2dc2('0x18')](_0x5e4a38(_0x28b602,_0x2dc2('0x13')),_0x38bc2b['check'],_0x2dc2('0x2f'),_0x2dc2('0x4'),'sw'),this[_0x2dc2('0x50')][_0x2dc2('0x1a')](_0x2dc2('0x22'))['to'](this,_0x2dc2('0x57')),this['discardButton']=this[_0x2dc2('0x18')](_0x5e4a38(_0x28b602,_0x2dc2('0x7')),_0x38bc2b[_0x2dc2('0x5')],_0x2dc2('0x37'),'discardSuggestion','sw'),this['discardButton'][_0x2dc2('0x1a')](_0x2dc2('0x22'))['to'](this,'canDiscard'),this[_0x2dc2('0x20')]=new _0x52e037(_0x28b602,this['_model']['author'],this[_0x2dc2('0x2c')]()),this[_0x2dc2('0x20')][_0x2dc2('0x46')]({'attributes':{'class':[_0x2dc2('0x15'),_0x2dc2('0x3e')]}}),this['setTemplate'](this[_0x2dc2('0x25')]());}[_0x2dc2('0x25')](){const _0xed821a=this[_0x2dc2('0x36')],_0x3c3aeb=[{'tag':_0x2dc2('0x52'),'attributes':{'class':[_0x2dc2('0x3a'),_0x2dc2('0xc')]},'children':[{'tag':_0x2dc2('0x21'),'children':[{'text':this['userView'][_0x2dc2('0x4b')]}],'attributes':{'class':[_0x2dc2('0x12'),_0x2dc2('0x56')]}},{'tag':_0x2dc2('0x27'),'attributes':{'datetime':_0xed821a['to']('authoredAt'),'class':[_0x2dc2('0x2a'),'ck-annotation__info-time']},'children':[{'text':_0xed821a['to'](_0x2dc2('0x59'),_0x197c6d=>this['_config'][_0x2dc2('0x1e')](_0x197c6d))}]}]},{'tag':'div','attributes':{'class':[_0x2dc2('0x3c'),'ck-annotation__actions']},'children':[this[_0x2dc2('0x50')],this[_0x2dc2('0x3b')]]},{'tag':_0x2dc2('0x52'),'attributes':{'class':[_0x2dc2('0xd')]}}];this['_model']['isExternal']&&_0x3c3aeb['push']({'tag':_0x2dc2('0x52'),'attributes':{'class':[_0x2dc2('0x51')]},'children':[{'text':this[_0x2dc2('0x44')]()}]});const _0x5b1bf4={'tag':'div','attributes':{'class':[_0x2dc2('0x4f'),_0xed821a['if'](_0x2dc2('0x40'),_0x2dc2('0x33')),_0xed821a['to'](_0x2dc2('0x2'),_0xb2c1ac=>_0x2dc2('0x8')+_0xb2c1ac),this[_0x2dc2('0x24')]['disableComments']&&'ck-suggestion--disabled-comments'],'data-suggestion-id':this['_model']['id'],'data-thread-id':this[_0x2dc2('0x32')][_0x2dc2('0x49')]['id'],'data-author-id':this[_0x2dc2('0x32')][_0x2dc2('0x1f')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':[_0x2dc2('0x48'),_0x2dc2('0x47')]},'children':[this[_0x2dc2('0x20')],{'tag':'div','attributes':{'class':['ck-suggestion__main',_0x2dc2('0x16')]},'children':_0x3c3aeb}]}]};return this[_0x2dc2('0x1b')]&&this[_0x2dc2('0x17')]&&(_0x5b1bf4[_0x2dc2('0x14')][_0x2dc2('0x4c')](this[_0x2dc2('0x1b')],this['commentThreadInputView']),this[_0x2dc2('0x1b')][_0x2dc2('0x11')](_0x2dc2('0x39'))['to'](this),this[_0x2dc2('0x1b')][_0x2dc2('0x11')](_0x2dc2('0x45'))['to'](this),this['commentThreadInputView'][_0x2dc2('0x11')](_0x2dc2('0x39'))['to'](this),this[_0x2dc2('0x17')]['delegate'](_0x2dc2('0x45'))['to'](this)),_0x5b1bf4;}[_0x2dc2('0x23')](){super['render'](),this[_0x2dc2('0x26')]=this[_0x2dc2('0x43')][_0x2dc2('0x19')](_0x2dc2('0x38')),this[_0x2dc2('0x26')][_0x2dc2('0x58')]=this[_0x2dc2('0xb')],this['on'](_0x2dc2('0x4a'),(_0x24080c,_0x1ef21c,_0xdc05b9)=>{this[_0x2dc2('0x26')][_0x2dc2('0x58')]=_0xdc05b9;});}['_createButton'](_0x131f56,_0x2503dd,_0x4d07f1,_0x389fd1,_0x37d6b1){const _0x35665e=new _0x217fd0(this['locale']);return _0x35665e[_0x2dc2('0x34')]({'label':_0x131f56,'icon':_0x2503dd,'tooltip':!0x0,'tooltipPosition':_0x37d6b1}),_0x35665e[_0x2dc2('0x46')]({'attributes':{'class':_0x4d07f1}}),_0x35665e['on'](_0x2dc2('0x1d'),()=>{this[_0x2dc2('0x42')](_0x389fd1,this[_0x2dc2('0x32')]['id']);}),_0x35665e;}['getExternalSuggestionNote'](){return _0x2dc2('0x1c')===this[_0x2dc2('0x32')][_0x2dc2('0x31')][_0x2dc2('0x0')]['source']?_0x5e4a38(this[_0x2dc2('0x2b')],_0x2dc2('0x4d')):_0x5e4a38(this[_0x2dc2('0x2b')],_0x2dc2('0x3f'));}[_0x2dc2('0x2c')](){return this['_model'][_0x2dc2('0x35')]?_0x2dc2('0x1c')===this['_model'][_0x2dc2('0x31')][_0x2dc2('0x0')][_0x2dc2('0x6')]?_0x5e4a38(this[_0x2dc2('0x2b')],_0x2dc2('0xe'),this[_0x2dc2('0x32')]['creator'][_0x2dc2('0x4b')]):_0x5e4a38(this[_0x2dc2('0x2b')],_0x2dc2('0x28'),this[_0x2dc2('0x32')][_0x2dc2('0x1')][_0x2dc2('0x4b')]):null;}}function ai(_0x5223c4,_0x391e49){let _0x2bb4b0='';return _0x2bb4b0+=_0x5223c4[_0x2dc2('0x4e')]('*')[_0x2dc2('0x54')]((_0x152a60,_0x25efc4)=>_0x25efc4%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+ci(_0x152a60)+_0x2dc2('0xa'):ci(_0x152a60))[_0x2dc2('0x29')](''),_0x391e49&&(_0x2bb4b0+=_0x2dc2('0x3d')+_0x391e49[_0x2dc2('0x3')]+'\x22\x20title=\x22'+_0x391e49[_0x2dc2('0x53')]+_0x2dc2('0x41')),_0x2bb4b0;}function ci(_0x3ab88d){const _0x1c13a0=document[_0x2dc2('0x2d')](_0x2dc2('0x21'));return _0x1c13a0[_0x2dc2('0x2e')]=_0x3ab88d,_0x1c13a0[_0x2dc2('0x58')];}
23
+ const _0xd8e3=['description','<p>','ck-annotation','.ck-annotation__content-wrapper','set','ck-suggestion--disabled-comments','_createButton','check','discardButton','disableComments','canDiscard','delegate','\x22\x20title=\x22','@external','creator','ck-annotation__info-name','ck-annotation__info-time','ck-suggestion','commentThreadInputView','content','color','Accept\x20suggestion','execute','ck-suggestion-wrapper--active','formatDateTime','isExternal','commentsListView','EXTERNAL_IMPORT_WORD_SUGGESTION','EXTERNAL_AVATAR','render','_config','innerText','split','type','\x22></span>','cancel','extendTemplate','querySelector','ck-suggestion-wrapper','ck-suggestion__info','ck-suggestion--accept','ck-suggestion__actions','ck-annotation__info','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','span','_model','element','change:description','acceptButton','canAccept','Discard\x20suggestion','ck-annotation__main','attributes','</span>','editorReady','div','getTemplate','join','innerHTML','ck-suggestion__user','descriptionParts','push','discardSuggestion','locale','<span\x20class=\x22ck-suggestion-type\x22>','editorDestroyed','userView','map','authoredAt','source','ck-comment__external','ck-suggestion__info-name','getExternalSuggestionNote','bindTemplate','getUserViewNotificationText','ck-annotation__actions','isEnabled','author','bind','value','importWord','_descriptionElement'];(function(_0x169eea,_0xd8e36f){const _0x4ed8f3=function(_0xe5d31){while(--_0xe5d31){_0x169eea['push'](_0x169eea['shift']());}};_0x4ed8f3(++_0xd8e36f);}(_0xd8e3,0xc3));const _0x4ed8=function(_0x169eea,_0xd8e36f){_0x169eea=_0x169eea-0x0;let _0x4ed8f3=_0xd8e3[_0x169eea];return _0x4ed8f3;};import{getTranslation as _0x10dab4}from'../../utils/common-translations';import{default as _0x37ffca}from'./basesuggestionthreadview';import{ButtonView as _0x184527}from'ckeditor5/src/ui';import{icons as _0x1122fd}from'ckeditor5/src/core';import{trimHtml as _0x241aff,UserView as _0x2f617f}from'ckeditor5-collaboration/src/collaboration-core';export default class zt extends _0x37ffca{constructor(_0x189a59,_0xd7b0a1,_0x5ce4e2,_0x4fe92e){super(_0x189a59,_0xd7b0a1,_0x5ce4e2,_0x4fe92e),this[_0x4ed8('0x37')](_0x4ed8('0x2'),''),this[_0x4ed8('0x2f')](_0x4ed8('0x2'))['to'](this,_0x4ed8('0x1d'),_0x8704ec=>_0x8704ec&&_0x8704ec[0x0]?_0x8704ec[0x0]['type']:''),this[_0x4ed8('0x2f')](_0x4ed8('0x33'))['to'](this,_0x4ed8('0x1d'),this,'isActive',(_0x317d50,_0x12256c)=>{let _0x36e751='';for(const _0x4e0577 of _0x317d50)_0x36e751+=_0x4ed8('0x34')+ai(_0x4e0577[_0x4ed8('0x46')],_0x4e0577[_0x4ed8('0x47')])+'</p>';return _0x12256c?_0x36e751:_0x241aff(_0x36e751,{'limit':0x8c});}),this[_0x4ed8('0x32')]=null,this[_0x4ed8('0x11')]=this[_0x4ed8('0x39')](_0x10dab4(_0x189a59,_0x4ed8('0x48')),_0x1122fd[_0x4ed8('0x3a')],_0x4ed8('0x9'),'acceptSuggestion','sw'),this[_0x4ed8('0x11')][_0x4ed8('0x2f')](_0x4ed8('0x2d'))['to'](this,_0x4ed8('0x12')),this[_0x4ed8('0x3b')]=this[_0x4ed8('0x39')](_0x10dab4(_0x189a59,_0x4ed8('0x13')),_0x1122fd[_0x4ed8('0x4')],'ck-suggestion--discard',_0x4ed8('0x1f'),'sw'),this[_0x4ed8('0x3b')][_0x4ed8('0x2f')](_0x4ed8('0x2d'))['to'](this,_0x4ed8('0x3d')),this['userView']=new _0x2f617f(_0x189a59,this['_model'][_0x4ed8('0x2e')],this[_0x4ed8('0x2b')]()),this[_0x4ed8('0x23')]['extendTemplate']({'attributes':{'class':[_0x4ed8('0x1c'),'ck-annotation__user']}}),this['setTemplate'](this[_0x4ed8('0x19')]());}['getTemplate'](){const _0x426cf6=this[_0x4ed8('0x2a')],_0x3dba31=[{'tag':_0x4ed8('0x18'),'attributes':{'class':[_0x4ed8('0x8'),_0x4ed8('0xb')]},'children':[{'tag':_0x4ed8('0xd'),'children':[{'text':this[_0x4ed8('0x23')]['name']}],'attributes':{'class':[_0x4ed8('0x28'),_0x4ed8('0x42')]}},{'tag':'time','attributes':{'datetime':_0x426cf6['to'](_0x4ed8('0x25')),'class':['ck-comment__info-time',_0x4ed8('0x43')]},'children':[{'text':_0x426cf6['to'](_0x4ed8('0x25'),_0x56af19=>this[_0x4ed8('0x51')][_0x4ed8('0x4b')](_0x56af19))}]}]},{'tag':_0x4ed8('0x18'),'attributes':{'class':[_0x4ed8('0xa'),_0x4ed8('0x2c')]},'children':[this['acceptButton'],this[_0x4ed8('0x3b')]]},{'tag':_0x4ed8('0x18'),'attributes':{'class':['ck-annotation__content-wrapper']}}];this[_0x4ed8('0xe')][_0x4ed8('0x4c')]&&_0x3dba31[_0x4ed8('0x1e')]({'tag':_0x4ed8('0x18'),'attributes':{'class':[_0x4ed8('0x27')]},'children':[{'text':this['getExternalSuggestionNote']()}]});const _0xbf2b76={'tag':_0x4ed8('0x18'),'attributes':{'class':[_0x4ed8('0x7'),_0x426cf6['if']('isActive',_0x4ed8('0x4a')),_0x426cf6['to'](_0x4ed8('0x2'),_0x3f0965=>'ck-suggestion-'+_0x3f0965),this[_0x4ed8('0x51')][_0x4ed8('0x3c')]&&_0x4ed8('0x38')],'data-suggestion-id':this[_0x4ed8('0xe')]['id'],'data-thread-id':this['_model']['commentThread']['id'],'data-author-id':this['_model'][_0x4ed8('0x2e')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':[_0x4ed8('0x44'),_0x4ed8('0x35')]},'children':[this['userView'],{'tag':_0x4ed8('0x18'),'attributes':{'class':['ck-suggestion__main',_0x4ed8('0x14')]},'children':_0x3dba31}]}]};return this[_0x4ed8('0x4d')]&&this[_0x4ed8('0x45')]&&(_0xbf2b76['children'][_0x4ed8('0x1e')](this[_0x4ed8('0x4d')],this[_0x4ed8('0x45')]),this[_0x4ed8('0x4d')][_0x4ed8('0x3e')](_0x4ed8('0x17'))['to'](this),this[_0x4ed8('0x4d')]['delegate']('editorDestroyed')['to'](this),this['commentThreadInputView'][_0x4ed8('0x3e')](_0x4ed8('0x17'))['to'](this),this['commentThreadInputView'][_0x4ed8('0x3e')](_0x4ed8('0x22'))['to'](this)),_0xbf2b76;}[_0x4ed8('0x50')](){super[_0x4ed8('0x50')](),this[_0x4ed8('0x32')]=this[_0x4ed8('0xf')][_0x4ed8('0x6')](_0x4ed8('0x36')),this[_0x4ed8('0x32')]['innerHTML']=this['description'],this['on'](_0x4ed8('0x10'),(_0x46c381,_0x20cf38,_0x4b3264)=>{this['_descriptionElement'][_0x4ed8('0x1b')]=_0x4b3264;});}[_0x4ed8('0x39')](_0x51e4bc,_0x5144e5,_0xda383e,_0xd70bdd,_0x1f47ac){const _0x178132=new _0x184527(this['locale']);return _0x178132['set']({'label':_0x51e4bc,'icon':_0x5144e5,'tooltip':!0x0,'tooltipPosition':_0x1f47ac}),_0x178132[_0x4ed8('0x5')]({'attributes':{'class':_0xda383e}}),_0x178132['on'](_0x4ed8('0x49'),()=>{this['fire'](_0xd70bdd,this['_model']['id']);}),_0x178132;}[_0x4ed8('0x29')](){return _0x4ed8('0x31')===this[_0x4ed8('0xe')]['attributes'][_0x4ed8('0x40')]['source']?_0x10dab4(this[_0x4ed8('0x20')],_0x4ed8('0x4e')):_0x10dab4(this[_0x4ed8('0x20')],'EXTERNAL_SUGGESTION');}[_0x4ed8('0x2b')](){return this[_0x4ed8('0xe')][_0x4ed8('0x4c')]?_0x4ed8('0x31')===this[_0x4ed8('0xe')][_0x4ed8('0x15')][_0x4ed8('0x40')][_0x4ed8('0x26')]?_0x10dab4(this[_0x4ed8('0x20')],'EXTERNAL_IMPORT_WORD_AVATAR',this[_0x4ed8('0xe')]['creator']['name']):_0x10dab4(this[_0x4ed8('0x20')],_0x4ed8('0x4f'),this['_model'][_0x4ed8('0x41')]['name']):null;}}function ai(_0x1742e0,_0x444adf){let _0x12a69f='';return _0x12a69f+=_0x1742e0[_0x4ed8('0x1')]('*')[_0x4ed8('0x24')]((_0x3f7ab2,_0x26f5f4)=>_0x26f5f4%0x2!=0x0?_0x4ed8('0x21')+ci(_0x3f7ab2)+_0x4ed8('0x16'):ci(_0x3f7ab2))[_0x4ed8('0x1a')](''),_0x444adf&&(_0x12a69f+=_0x4ed8('0xc')+_0x444adf[_0x4ed8('0x30')]+_0x4ed8('0x3f')+_0x444adf['title']+_0x4ed8('0x3')),_0x12a69f;}function ci(_0x13ffc8){const _0x42f702=document['createElement']('span');return _0x42f702[_0x4ed8('0x0')]=_0x13ffc8,_0x42f702['innerHTML'];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x5c415d,_0x4c5b47,_0x48abfc){const t=_0x5c415d['t'];switch(_0x4c5b47){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',_0x48abfc);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x48abfc);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x48abfc);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x48abfc);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x48abfc);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',_0x48abfc);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x48abfc);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',_0x48abfc);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x48abfc);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x48abfc);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x48abfc);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x48abfc);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x48abfc);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x48abfc);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x48abfc);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x48abfc);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x48abfc);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x48abfc);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x48abfc);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x48abfc);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x48abfc);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x48abfc);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'},_0x48abfc);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x48abfc);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x48abfc);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x48abfc);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x48abfc);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x48abfc);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'},_0x48abfc);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x48abfc);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x48abfc);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x48abfc);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x48abfc);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'},_0x48abfc);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x48abfc);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'},_0x48abfc);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'},_0x48abfc);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x48abfc);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'},_0x48abfc);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x48abfc);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'},_0x48abfc);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x48abfc);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x48abfc);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'},_0x48abfc);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'},_0x48abfc);default:return _0x4c5b47;}}
23
+ export function getTranslation(_0xf86ab8,_0x58c194,_0x5cdbd1){const t=_0xf86ab8['t'];switch(_0x58c194){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',_0x5cdbd1);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5cdbd1);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5cdbd1);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5cdbd1);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5cdbd1);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',_0x5cdbd1);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5cdbd1);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',_0x5cdbd1);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5cdbd1);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5cdbd1);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5cdbd1);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5cdbd1);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5cdbd1);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5cdbd1);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5cdbd1);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5cdbd1);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5cdbd1);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5cdbd1);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5cdbd1);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5cdbd1);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5cdbd1);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5cdbd1);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'},_0x5cdbd1);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5cdbd1);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5cdbd1);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5cdbd1);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5cdbd1);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5cdbd1);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'},_0x5cdbd1);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5cdbd1);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5cdbd1);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5cdbd1);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5cdbd1);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'},_0x5cdbd1);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5cdbd1);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'},_0x5cdbd1);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'},_0x5cdbd1);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5cdbd1);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'},_0x5cdbd1);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5cdbd1);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'},_0x5cdbd1);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5cdbd1);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5cdbd1);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'},_0x5cdbd1);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'},_0x5cdbd1);default:return _0x58c194;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x37e0=['content','schema','getRange','add','createPositionAfter','sort','next','createPositionAt','isArray','map','color','type','deletion','splice','change','end','from','isCollapsed','isTouching','\x20[color\x20','isIntersecting','isObject','getMarkers','push','start','createPositionBefore','length','value'];(function(_0x30ab05,_0x37e0db){const _0x16125c=function(_0x313bb2){while(--_0x313bb2){_0x30ab05['push'](_0x30ab05['shift']());}};_0x16125c(++_0x37e0db);}(_0x37e0,0x130));const _0x1612=function(_0x30ab05,_0x37e0db){_0x30ab05=_0x30ab05-0x0;let _0x16125c=_0x37e0[_0x30ab05];return _0x16125c;};export function normalizeDescription(_0x3a24e7){return Array[_0x1612('0xc')](_0x3a24e7)||(_0x3a24e7=[_0x3a24e7]),_0x3a24e7[_0x1612('0xd')](_0x4d4766=>{const _0x5d8a8c=_0x4d4766[_0x1612('0x4')]['replace'](/\*/g,''),_0x5cf632=_0x4d4766[_0x1612('0xe')]?_0x1612('0x17')+_0x4d4766['color'][_0x1612('0x3')]+']':'';return'['+_0x4d4766[_0x1612('0xf')]+']\x20'+_0x5d8a8c+_0x5cf632;})['join'](';\x20');}export function sortSuggestions(_0x25bbf7){return _0x25bbf7[_0x1612('0x9')]((_0x108401,_0x546e0a)=>_0x1612('0x10')==_0x108401[_0x1612('0xf')]&&'deletion'!=_0x546e0a[_0x1612('0xf')]?-0x1:_0x1612('0x10')!=_0x108401[_0x1612('0xf')]&&_0x1612('0x10')==_0x546e0a[_0x1612('0xf')]?0x1:0x0);}export function getSelectedSuggestions(_0x2c3257,_0xe9fe9d){const _0x311407=Array[_0x1612('0x14')](_0x2c3257['getRanges']()),_0x47e415=new Set();for(const _0x276704 of _0xe9fe9d)if(_0x276704['isInContent'])for(const _0x377060 of _0x311407)for(const _0x16f20a of _0x276704[_0x1612('0x1a')]()){const _0x327b70=_0x16f20a[_0x1612('0x6')]();(_0x377060[_0x1612('0x18')](_0x327b70)||_0x2c3257[_0x1612('0x15')]&&!_0x276704['isMultiRange']&&_0x276704[_0x1612('0xa')]&&_0x327b70['end'][_0x1612('0x16')](_0x377060[_0x1612('0x0')]))&&_0x47e415[_0x1612('0x7')](_0x276704);}return _0x47e415;}export function getRangesOfBlockGroups(_0x46c2dc,_0x5c9a4b){let _0x34cbe5,_0x99238f=0x0;const _0x32ee9f=[],_0x53a948=_0x5c9a4b[_0x1612('0x5')];for(;_0x99238f<_0x46c2dc[_0x1612('0x2')];){const _0x40dffe=_0x46c2dc[_0x99238f],_0x5ec5b7=_0x46c2dc[_0x99238f+0x1];_0x34cbe5||(_0x34cbe5=_0x5c9a4b[_0x1612('0x1')](_0x40dffe)),oo(_0x5c9a4b,_0x40dffe,_0x5ec5b7)||(_0x32ee9f[_0x1612('0x1b')](_0x5c9a4b['createRange'](_0x34cbe5,_0x53a948[_0x1612('0x19')](_0x40dffe)?_0x5c9a4b[_0x1612('0x8')](_0x40dffe):_0x5c9a4b[_0x1612('0xb')](_0x40dffe,_0x1612('0x13')))),_0x34cbe5=null),_0x99238f++;}return _0x32ee9f;}function oo(_0x567768,_0x219d0a,_0x384159){if(!_0x384159)return!0x1;const _0xd5b671=_0x567768['createPositionAfter'](_0x219d0a),_0xbef993=_0x567768['createPositionBefore'](_0x384159);return _0xd5b671['isTouching'](_0xbef993);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x206b78,_0x4397c4,_0x5eb975){for(;_0x5eb975[_0x1612('0x2')];){const _0x356213=_0x5eb975[_0x1612('0x11')](0x0,0x64);_0x206b78[_0x1612('0x12')](()=>{for(const _0xcaedf9 of _0x356213)_0xcaedf9['isInContent']&&_0x4397c4['execute'](_0xcaedf9['id']);});}}
23
+ const _0x4ab2=['join','isTouching','isIntersecting','createRange','createPositionAfter','isInContent','length','deletion','content','splice','isObject','isArray','createPositionBefore','sort','end','color','next','replace','getMarkers','push','getRange','add','isCollapsed','value','map','type','\x20[color\x20'];(function(_0x3e19ed,_0x4ab2da){const _0x56eb4f=function(_0x3c9332){while(--_0x3c9332){_0x3e19ed['push'](_0x3e19ed['shift']());}};_0x56eb4f(++_0x4ab2da);}(_0x4ab2,0x169));const _0x56eb=function(_0x3e19ed,_0x4ab2da){_0x3e19ed=_0x3e19ed-0x0;let _0x56eb4f=_0x4ab2[_0x3e19ed];return _0x56eb4f;};export function normalizeDescription(_0x44b26b){return Array[_0x56eb('0x1')](_0x44b26b)||(_0x44b26b=[_0x44b26b]),_0x44b26b[_0x56eb('0xe')](_0x207cca=>{const _0x58266d=_0x207cca[_0x56eb('0x19')][_0x56eb('0x7')](/\*/g,''),_0x2b75a0=_0x207cca[_0x56eb('0x5')]?_0x56eb('0x10')+_0x207cca['color'][_0x56eb('0xd')]+']':'';return'['+_0x207cca['type']+']\x20'+_0x58266d+_0x2b75a0;})[_0x56eb('0x11')](';\x20');}export function sortSuggestions(_0xf5949e){return _0xf5949e[_0x56eb('0x3')]((_0x2f18a8,_0x81f5e8)=>_0x56eb('0x18')==_0x2f18a8[_0x56eb('0xf')]&&_0x56eb('0x18')!=_0x81f5e8[_0x56eb('0xf')]?-0x1:_0x56eb('0x18')!=_0x2f18a8[_0x56eb('0xf')]&&_0x56eb('0x18')==_0x81f5e8[_0x56eb('0xf')]?0x1:0x0);}export function getSelectedSuggestions(_0x32fe3c,_0x47ca54){const _0x2f5b14=Array['from'](_0x32fe3c['getRanges']()),_0x3b5aa3=new Set();for(const _0x5ea802 of _0x47ca54)if(_0x5ea802[_0x56eb('0x16')])for(const _0x4add3a of _0x2f5b14)for(const _0x2c2955 of _0x5ea802[_0x56eb('0x8')]()){const _0x49037a=_0x2c2955[_0x56eb('0xa')]();(_0x4add3a[_0x56eb('0x13')](_0x49037a)||_0x32fe3c[_0x56eb('0xc')]&&!_0x5ea802['isMultiRange']&&_0x5ea802[_0x56eb('0x6')]&&_0x49037a[_0x56eb('0x4')][_0x56eb('0x12')](_0x4add3a['start']))&&_0x3b5aa3[_0x56eb('0xb')](_0x5ea802);}return _0x3b5aa3;}export function getRangesOfBlockGroups(_0x11c908,_0x1cb2b8){let _0x39f2c9,_0x388c19=0x0;const _0x5b25b0=[],_0x5be6ed=_0x1cb2b8['schema'];for(;_0x388c19<_0x11c908[_0x56eb('0x17')];){const _0x29aa38=_0x11c908[_0x388c19],_0x3d3b27=_0x11c908[_0x388c19+0x1];_0x39f2c9||(_0x39f2c9=_0x1cb2b8[_0x56eb('0x2')](_0x29aa38)),co(_0x1cb2b8,_0x29aa38,_0x3d3b27)||(_0x5b25b0[_0x56eb('0x9')](_0x1cb2b8[_0x56eb('0x14')](_0x39f2c9,_0x5be6ed[_0x56eb('0x0')](_0x29aa38)?_0x1cb2b8[_0x56eb('0x15')](_0x29aa38):_0x1cb2b8['createPositionAt'](_0x29aa38,'end'))),_0x39f2c9=null),_0x388c19++;}return _0x5b25b0;}function co(_0xaef901,_0x2f296a,_0x419a36){if(!_0x419a36)return!0x1;const _0x4a327f=_0xaef901[_0x56eb('0x15')](_0x2f296a),_0xb18047=_0xaef901[_0x56eb('0x2')](_0x419a36);return _0x4a327f[_0x56eb('0x12')](_0xb18047);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x244050,_0x484b04,_0x5274d3){for(;_0x5274d3[_0x56eb('0x17')];){const _0x5b7d53=_0x5274d3[_0x56eb('0x1a')](0x0,0x64);_0x244050['change'](()=>{for(const _0x5bab9f of _0x5b7d53)_0x5bab9f[_0x56eb('0x16')]&&_0x484b04['execute'](_0x5bab9f['id']);});}}