@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231012.0 → 0.0.0-nightly-20231013.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 (65) 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/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbf85=['from','marker-count','adapter','refresh','markMultiRangeBlockFormat','deleteContent','data-suggestion','insert','isMultiRange','isIntersectingWithRange','@external','rethrowUnexpectedError','howMany','applyOperation','locale','author','formatInline:chain','authorName','_getExternalAuthor','hasCommentThread','getAttribute','accepted','nodeAfter','sort','isNextTo','formatGroupId','dataToMarker','ready','insertion:discard','createPositionBefore','markBlockFormat','open','end','markInlineFormat','getShiftedBy','_onDiscard','getCommentThread','trackChanges.mergeNestedSuggestions','containerElement','_getAuthorFromId','insertion:chain','insertion:','insertion','containsRangeInObject','elementEnd','containsRange','detach','createdAt','writer','isLimit','has','trackChanges','isOwn','notReady','track-changes-user-not-found','_registerDefaultCallbacks','suggestion','TrackChangesEditing','markerReady','_breakSuggestionMarker','some','value','_addThreadToSuggestion','markerToData','addComment','get','bindElementToMarker','_joinWithAdjacentSuggestions','formatInline:join','catch','insertion:accept','getRange','formatBlock:chain','discardSuggestion','discardAllSuggestions','getLastMatchingPosition','commentThread','_isForcedDefaultExecutionBlock','_splitMarkerName','_setSuggestionData','PENDING_ACTION_SUGGESTION','isBlock','editor','resolve','_trackFormatChanges','fetchCommentThread','isRemovable','schema','$graveyard','_refreshSuggestionsChain','addRange','enqueueChange','commands','_addSuggestionMarker','getSuggestion','createPositionAt','error-saving-suggestion-data-suggestion-discarded','_suggestions','forceDefaultExecution','model','_adapter','getAncestors','getMultiRangeId','insertion:join','getNearestSelectionRange','_cutOutSuggestionMarker','isLocal','default','suggestion-type','_descriptionFactory','move','PendingActions','containsPosition','_removeSuggestion','trackChanges.trackFormatChanges','addUser','after','targetPosition','rejected','dataReady','isAtEnd','_getSuggestionData','item','newRange','document','_createSuggestion','_joinSuggestions','isObject','buildSuggestion','getMarkers','isSelectable','addHighlight','setAttribute','setTo','_checkSuggestionCorrectness','isCollapsed','getDifference','splice','next','data','deletion:join','addCommentThread','change:_saved','trackChangesCommand','getChangedMarkers','clear','documentSelection','_enabledCommands','values','formatInline:','ck-suggestion-marker','start','formatInline','deletion:','acceptAllSuggestions','markDeletion','config','dataDowncast','_setSuggestionRange','getFirstRange','activeMarkers','markInsertion','change','lowest','fire','_rangeIsInLocalUserInsertion','listenTo','originalSuggestionId','updateMarker','execute','mapper','_findSuggestions','suggestionChanged','moveTargetPosition','getUser','pluginName','removeAttribute','chain','assign','name','acceptSuggestion','ck-suggestion-marker--active','getSuggestionCallback','clone','toViewElement','remove','updateSuggestion','hasSuggestion','element','deletion','setSelection','nodeBefore','previous','differ','isInsideObject','backward','CommentsRepository','suggestion:','getRanges','getFirstMarker','range','every','add','creator','addMarkerName','_customCallbacks','update:suggestion','never','skipNestingCheck','Users','includes','change:activeMarkers','isBefore','containsItem','rootName','formatBlock:accept','track-changes-adapter-missing-getsuggestion','upcast','addSuggestion','_mergeNestedSuggestions','size','high','before','removeMarker:suggestion:formatBlock','unbindElementFromMarkerName','isAtStart','removeMarker','filter','_isDataLoaded','init','delete','set','_suggestionFactory','for','getAllAdjacentSuggestions','consumable','then','addSuggestionData','stopListening','removed','markMultiRangeDeletion','return','_model','multipleBlocks','position','track-changes-suggestion-data-mismatch','highest','consume','always','createRange','getSuggestions','insertContent','markerNameToElements','oldRange','ck-suggestion-marker-formatBlock','split','addClass','change:data','enableCommand','getChanges','track-changes-suggestion-not-found','formatInline:accept','createElement','_saved','subType','selection','type','acceptSelectedSuggestions','formatBlock:','_defaultCallbacks','commandName','requires','removeComment','push','root','join','_suggestionState','deletion:discard','isEqual','isTouching','splitPosition','isAfter','track-changes-command-not-found','getWalker','formatBlock','collaboration.channelId','markers','accept','formatBlock:join','length','deletion:chain','plugins','map','markerToHighlight','stop','conversion','discard','_commentsRepository','isDocumentOperation','getCustomProperty','editingDowncast','_editor','head','hasComments','parent','define','showSuggestionHighlights','formatBlock:discard','removeMarkers','editing','markerName','removeClass','_updateSuggestionData','isInContent','multi','attributes','options','registerPostFixer','getIntersection','authoredAt','batch','elementStart','addMarker:suggestion:formatBlock','createSelection','suggestionLoaded','group'];(function(_0x758938,_0xbf85dd){const _0x482f1d=function(_0x129de6){while(--_0x129de6){_0x758938['push'](_0x758938['shift']());}};_0x482f1d(++_0xbf85dd);}(_0xbf85,0x82));const _0x482f=function(_0x758938,_0xbf85dd){_0x758938=_0x758938-0x0;let _0x482f1d=_0xbf85[_0x758938];return _0x482f1d;};import{Plugin as _0xaf4b8b,PendingActions as _0x3db0de}from'ckeditor5/src/core';import{LiveRange as _0x2be343}from'ckeditor5/src/engine';import{CKEditorError as _0x392c05,uid as _0x57ce2b,priorities as _0x5d57b3,logWarning as _0x1715ef}from'ckeditor5/src/utils';import{toWidget as _0x157d2a}from'ckeditor5/src/widget';import{Users as _0x4cccaa,hashObject as _0x34bb0e}from'ckeditor5-collaboration/src/collaboration-core';import _0x5e9894 from'./commands/trackchangescommand';import _0x517395 from'./commands/acceptsuggestioncommand';import _0x3c2d00 from'./commands/discardsuggestioncommand';import _0x1f4da8 from'./commands/executeonallsuggestionscommand';import _0xcb3ae8 from'./commands/executeonselectedsuggestionscommand';import _0x2d8b06 from'./suggestion';import _0x38c4aa from'./suggestiondescriptionfactory';import _0x484daf from'./integrations/aiassistant';import _0x45dad7 from'./integrations/alignment';import _0x1d0b24 from'./integrations/basicstyles';import _0x38681b from'./integrations/blockquote';import _0x12fb52 from'./integrations/ckbox';import _0x4a8dca from'./integrations/codeblock';import _0x3263e8 from'./integrations/comments';import _0x4aaea0 from'./integrations/deletecommand';import _0x50710c from'./integrations/documentlist';import _0x3da23c from'./integrations/entercommand';import _0x3c889d from'./integrations/findandreplace';import _0x10ea1c from'./integrations/font';import _0x478d53 from'./integrations/formatpainter';import _0x404189 from'./integrations/heading';import _0x5643c3 from'./integrations/highlight';import _0x419f5f from'./integrations/horizontalline';import _0x672f9e from'./integrations/htmlembed';import _0xa03cb from'./integrations/image';import _0x5a4d3c from'./integrations/imagereplace';import _0x1702ee from'./integrations/importword';import _0x1faa41 from'./integrations/indent';import _0x3431b1 from'./integrations/inputcommand';import _0x3a2825 from'./integrations/link';import _0x227f48 from'./integrations/list';import _0xfdab02 from'./integrations/listproperties';import _0xacad78 from'./integrations/mediaembed';import _0x1c2058 from'./integrations/mention';import _0x473d14 from'./integrations/pagebreak';import _0x17aed6 from'./integrations/paragraph';import _0x5cb554 from'./integrations/removeformat';import _0x50afd from'./integrations/restrictededitingmode';import _0xbc3b51 from'./integrations/shiftentercommand';import _0x3836b5 from'./integrations/standardeditingmode';import _0x613ccb from'./integrations/style';import _0x8c2177 from'./integrations/table';import _0x403d4d from'./integrations/tablemergesplit';import _0x52585e from'./integrations/tableheadings';import _0x500082 from'./integrations/tableclipboard';import _0x510118 from'./integrations/tablecolumnresize';import _0x215cac from'./integrations/template';import _0x16feb5 from'./integrations/tableofcontents';import _0x532bc0 from'./integrations/title';import _0x2cde3d from'./integrations/undo';import{getTranslation as _0x4d639}from'./utils/common-translations';import _0x36ef6c from'./integrations/tablecaption';import _0x1821e5 from'./integrations/documentlistproperties';import _0x1589f0 from'./integrations/tableproperties';import{isEqual as _0x4f3464}from'lodash-es';export default class p extends _0xaf4b8b{static get[_0x482f('0x8d')](){return[_0x482f('0x42'),_0x4cccaa,_0x3db0de,_0x484daf,_0x45dad7,_0x1d0b24,_0x38681b,_0x12fb52,_0x4a8dca,_0x3263e8,_0x4aaea0,_0x50710c,_0x1821e5,_0x3da23c,_0x3c889d,_0x10ea1c,_0x478d53,_0x404189,_0x5643c3,_0x419f5f,_0x672f9e,_0xa03cb,_0x5a4d3c,_0x1702ee,_0x1faa41,_0x3431b1,_0x3a2825,_0x227f48,_0xfdab02,_0xacad78,_0x1c2058,_0x473d14,_0x17aed6,_0x5cb554,_0x50afd,_0xbc3b51,_0x3836b5,_0x613ccb,_0x8c2177,_0x403d4d,_0x52585e,_0x36ef6c,_0x500082,_0x510118,_0x16feb5,_0x1589f0,_0x215cac,_0x532bc0,_0x2cde3d];}static get[_0x482f('0x2d')](){return _0x482f('0xfd');}constructor(_0x591b98){function _0x4fd280(_0x5d8262){return _0x5d8262[_0x482f('0xa2')](_0x5d756a=>String['fromCharCode'](_0x5d756a))[_0x482f('0x91')]('');}super(_0x591b98),this[_0x482f('0x65')](_0x482f('0x1e'),[]),this['on'](_0x482f('0x51'),(_0x392f5c,_0x4c6546,_0x323ee2,_0x14fb8a)=>{this[_0x482f('0x70')][_0x482f('0x20')](()=>{for(const _0x22f984 of[..._0x14fb8a,..._0x323ee2])this[_0x482f('0x70')][_0x482f('0x9c')]['has'](_0x22f984)&&_0x591b98[_0x482f('0xb3')]['reconvertMarker'](_0x22f984);});}),this[_0x482f('0x131')]=new _0x38c4aa(this['editor'][_0x482f('0x127')]['schema'],this[_0x482f('0x116')][_0x482f('0xd2')]),this[_0x482f('0x128')]=null,this[_0x482f('0x66')]=new Bt(this['editor']),this[_0x482f('0x125')]=new Map(),this[_0x482f('0xa7')]=_0x591b98[_0x482f('0xa1')][_0x482f('0x105')](_0x482f('0x42')),this['_enabledCommands']=new Set(),this['_model']=this[_0x482f('0x116')][_0x482f('0x127')],this[_0x482f('0x92')]=new WeakMap(),this[_0x482f('0x111')]=!0x1,_0x591b98[_0x482f('0x1a')][_0x482f('0xaf')](_0x482f('0x136'),_0x482f('0x12f')),this[_0x482f('0x118')]=_0x591b98['config']['get'](_0x482f('0x136')),_0x591b98['config'][_0x482f('0xaf')](_0x482f('0xe9'),!0x0),this[_0x482f('0x59')]=_0x591b98[_0x482f('0x1a')][_0x482f('0x105')](_0x482f('0xe9')),this[_0x482f('0xd')]=new _0x5e9894(_0x591b98,this['_enabledCommands']),this[_0x4fd280([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x4fd280([0x34,0x30,0x34,0x36,0x32,0x30,0x32,0x34]);}[_0x482f('0x63')](){const _0x247129=this[_0x482f('0x116')];_0x247129[_0x482f('0xa5')][_0x482f('0x67')](_0x482f('0xaa'))[_0x482f('0xa3')]({'model':_0x482f('0xfc'),'view':_0x57eb22=>{const {id:_0x2ba911,type:_0x22ef88}=this[_0x482f('0x112')](_0x57eb22[_0x482f('0xb4')]),_0x38a196=[_0x482f('0x14'),'ck-suggestion-marker-'+_0x22ef88];let _0x3d027c=0xbb8;return this[_0x482f('0x1e')][_0x482f('0x50')](_0x57eb22[_0x482f('0xb4')])&&(_0x38a196['push'](_0x482f('0x33')),_0x3d027c=0xbc2),'deletion'==_0x22ef88&&(_0x3d027c+=0x5),{'classes':_0x38a196,'attributes':{'data-suggestion':_0x2ba911},'priority':_0x3d027c};}}),_0x247129['conversion']['for'](_0x482f('0x1b'))['add'](_0x49e2c9=>{_0x49e2c9['on']('addMarker:suggestion',(_0x51b75b,_0x1f4ef,_0x1aab6d)=>{if(!_0x1aab6d[_0x482f('0xba')][_0x482f('0xb0')])return;const _0x104478=_0x1f4ef[_0x482f('0x13e')];if(!_0x104478)return;const _0x1c8682=_0x1aab6d[_0x482f('0x28')]['toViewElement'](_0x104478);_0x247129[_0x482f('0x127')][_0x482f('0x11b')][_0x482f('0x143')](_0x104478)&&_0x1c8682&&!_0x1c8682['getCustomProperty']('widget')&&_0x1c8682['is'](_0x482f('0xea'))&&_0x157d2a(_0x1c8682,_0x1aab6d['writer']);},{'priority':_0x482f('0x5b')});}),_0x247129[_0x482f('0xa5')][_0x482f('0x67')]('dataDowncast')[_0x482f('0xa3')]({'model':_0x482f('0xfc'),'view':(_0x20a60a,_0x44f89d)=>{if(!_0x44f89d[_0x482f('0xba')][_0x482f('0xb0')])return null;const {type:_0x24b7b9}=this[_0x482f('0x112')](_0x20a60a[_0x482f('0xb4')]);return{'classes':[_0x482f('0x14'),'ck-suggestion-marker-'+_0x24b7b9],'priority':0xbb8};}});const _0x2fbc8e=({showActiveMarkers:_0x229e75=!0x0}={})=>(_0x4e4a59,_0x504473,_0x36f6a4)=>{if(!_0x504473['item'])return;if(_0x504473[_0x482f('0x13e')]['is']('selection'))return void _0x36f6a4[_0x482f('0x69')][_0x482f('0x75')](_0x504473['item'],_0x4e4a59[_0x482f('0x31')]);const _0x4a04ff=_0x36f6a4['mapper'][_0x482f('0x36')](_0x504473[_0x482f('0x13e')]);if(!(_0x504473[_0x482f('0x13e')]['is'](_0x482f('0x3a'))&&_0x247129[_0x482f('0x127')]['schema'][_0x482f('0x115')](_0x504473[_0x482f('0x13e')])&&!_0x4a04ff[_0x482f('0xa9')](_0x482f('0x1'))))return;const {id:_0x12bbc4}=this[_0x482f('0x112')](_0x504473[_0x482f('0xb4')]);_0x36f6a4[_0x482f('0xf4')][_0x482f('0x7e')]([_0x482f('0x14'),_0x482f('0x7c')],_0x4a04ff),_0x36f6a4[_0x482f('0xf4')][_0x482f('0x2')](_0x482f('0xca'),_0x12bbc4,_0x4a04ff),_0x36f6a4[_0x482f('0x28')][_0x482f('0x106')](_0x4a04ff,_0x504473[_0x482f('0xb4')]),_0x229e75&&(this[_0x482f('0x1e')][_0x482f('0x50')](_0x504473[_0x482f('0xb4')])?_0x36f6a4[_0x482f('0xf4')][_0x482f('0x7e')](_0x482f('0x33'),_0x4a04ff):_0x36f6a4[_0x482f('0xf4')][_0x482f('0xb5')]('ck-suggestion-marker--active',_0x4a04ff));for(const _0x141930 of _0x247129[_0x482f('0x127')]['createRangeIn'](_0x504473[_0x482f('0x13e')])['getItems']())_0x36f6a4[_0x482f('0x69')][_0x482f('0x75')](_0x141930,_0x4e4a59['name']);_0x36f6a4[_0x482f('0x69')][_0x482f('0x75')](_0x504473[_0x482f('0x13e')],_0x4e4a59['name']);};_0x247129[_0x482f('0xa5')][_0x482f('0x67')](_0x482f('0x1b'))['add'](_0x494bba=>{_0x494bba['on'](_0x482f('0xc0'),(_0x5aae8b,_0x2118ee,_0x1d028e)=>{_0x1d028e['options'][_0x482f('0xb0')]&&_0x2fbc8e({'showActiveMarkers':!0x1})(_0x5aae8b,_0x2118ee,_0x1d028e);},{'priority':_0x482f('0x74')});}),_0x247129[_0x482f('0xa5')][_0x482f('0x67')]('dataDowncast')[_0x482f('0x103')]({'model':_0x482f('0xfc'),'view':(_0x296bae,_0x3f33b9)=>_0x3f33b9[_0x482f('0xba')][_0x482f('0xb0')]?null:{'group':'suggestion','name':_0x296bae['substr'](0xb)}}),_0x247129[_0x482f('0xa5')]['for'](_0x482f('0x57'))['elementToElement']({'view':{'name':_0x482f('0xfc'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x132583,{writer:_0x4ec027})=>{let _0x541b88=_0x482f('0x43')+_0x132583[_0x482f('0xd8')](_0x482f('0x130'))+':'+_0x132583['getAttribute']('id');return _0x132583['getAttribute']('marker-count')&&(_0x541b88+=':'+_0x132583[_0x482f('0xd8')](_0x482f('0xc5'))),_0x4ec027[_0x482f('0x84')]('$marker',{'data-name':_0x541b88});}}),_0x247129[_0x482f('0xa5')][_0x482f('0x67')]('upcast')[_0x482f('0xde')]({'view':_0x482f('0xfc')}),_0x247129['conversion']['for'](_0x482f('0xaa'))[_0x482f('0x48')](_0xdc0f55=>{_0xdc0f55['on'](_0x482f('0xc0'),_0x2fbc8e(),{'priority':_0x482f('0x5b')});}),_0x247129[_0x482f('0xa5')][_0x482f('0x67')](_0x482f('0xaa'))[_0x482f('0x48')](_0x42cd9c=>{_0x42cd9c['on'](_0x482f('0x5d'),(_0x2d4c25,_0x2fdd12,_0x54f475)=>{const _0x523522=_0x54f475[_0x482f('0x28')][_0x482f('0x7a')](_0x2fdd12[_0x482f('0xb4')]);if(_0x523522)for(const _0x29d4a2 of _0x523522)_0x29d4a2[_0x482f('0xa9')](_0x482f('0x1'))||(_0x54f475[_0x482f('0xf4')][_0x482f('0xb5')]([_0x482f('0x14'),'ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x29d4a2),_0x54f475[_0x482f('0xf4')][_0x482f('0x2e')](_0x482f('0xca'),_0x29d4a2),_0x54f475[_0x482f('0x28')][_0x482f('0x5e')](_0x29d4a2,_0x2fdd12[_0x482f('0xb4')]));},{'priority':_0x482f('0x5b')});}),_0x247129[_0x482f('0x127')]['document'][_0x482f('0xbb')](_0x484815=>{let _0x28b43e=!0x1;const _0x3ab7b6=Array['from'](_0x247129[_0x482f('0x127')][_0x482f('0x140')][_0x482f('0x3f')][_0x482f('0xe')]()),_0x8d3d01=new Set();for(const {name:_0x69643e,data:_0x417018}of _0x3ab7b6){const {group:_0x3f9b9f,type:_0x4ba264,id:_0x481d9c}=this[_0x482f('0x112')](_0x69643e);if('suggestion'!==_0x3f9b9f)continue;const _0x5e9872=this[_0x482f('0x125')][_0x482f('0x105')](_0x481d9c);if(null!=_0x417018[_0x482f('0x13f')]){_0x482f('0x16')==_0x4ba264&&(_0x28b43e=_0x28b43e||$t(_0x417018[_0x482f('0x13f')],_0x69643e,_0x484815,_0x247129[_0x482f('0x127')]['schema']));if(_0x417018[_0x482f('0x13f')]['isCollapsed']||_0x482f('0x11c')==_0x417018[_0x482f('0x13f')][_0x482f('0x90')]['rootName']||_0x482f('0x9a')==_0x4ba264&&!Rt(_0x417018[_0x482f('0x13f')])||_0x482f('0x3b')==_0x4ba264&&!(!Mt(_0x19bf22=_0x417018['newRange'])&&!function(_0x32a492){return _0x32a492['start']['parent']==_0x32a492[_0x482f('0xe4')]['nodeBefore']&&_0x32a492['start'][_0x482f('0x13c')];}(_0x19bf22)))_0x484815[_0x482f('0x60')](_0x69643e),_0x28b43e=!0x0;else{if(!_0x5e9872||!_0x5e9872[_0x482f('0xb7')])continue;_0x8d3d01['add'](_0x5e9872);}}}var _0x19bf22;return _0x8d3d01[_0x482f('0x5a')]>0x0&&(_0x28b43e=!!this[_0x482f('0x107')](_0x8d3d01)||_0x28b43e),_0x28b43e;}),_0x247129['model'][_0x482f('0x140')][_0x482f('0xbb')](_0x5d3485=>{let _0xff8da1=!0x1;for(const _0x50dc59 of _0x247129['model'][_0x482f('0x140')][_0x482f('0x3f')][_0x482f('0x81')]()){if(_0x482f('0xcb')!=_0x50dc59[_0x482f('0x88')])continue;const _0x253cf8=_0x50dc59['position'][_0x482f('0xe6')](_0x50dc59[_0x482f('0x9f')]);if(_0x253cf8[_0x482f('0x13c')])for(const _0x458f71 of this['_suggestions'][_0x482f('0x12')]()){if(_0x458f71[_0x482f('0xcc')]||!_0x458f71[_0x482f('0xb7')])continue;if(_0x482f('0x9a')!=_0x458f71[_0x482f('0x88')])continue;const _0x18dc2d=_0x458f71[_0x482f('0x1d')]();if(_0x18dc2d['start'][_0x482f('0xae')]!=_0x18dc2d[_0x482f('0xe4')]['parent']&&_0x18dc2d['end'][_0x482f('0x94')](_0x50dc59[_0x482f('0x72')])){const _0xdbbca3=_0x247129[_0x482f('0x127')][_0x482f('0x77')](_0x18dc2d[_0x482f('0x15')],_0x253cf8);_0x5d3485[_0x482f('0x26')](_0x458f71[_0x482f('0x45')](),{'range':_0xdbbca3}),_0xff8da1=!0x0;}}}return _0xff8da1;}),_0x247129[_0x482f('0x127')][_0x482f('0x9c')]['on'](_0x482f('0x4c'),(_0x1b06c8,_0xcc0ec1,_0x5975d9)=>{if(null==_0x5975d9){const {id:_0x5f4133}=this['_splitMarkerName'](_0xcc0ec1[_0x482f('0x31')]),_0x18f3ea=this[_0x482f('0x125')][_0x482f('0x105')](_0x5f4133);_0x18f3ea&&_0x18f3ea[_0x482f('0x4a')](_0xcc0ec1[_0x482f('0x31')]);}}),_0x247129[_0x482f('0x127')][_0x482f('0x140')]['on'](_0x482f('0x7f'),()=>{const _0x55816e=Array[_0x482f('0xc4')](_0x247129['model'][_0x482f('0x140')][_0x482f('0x3f')][_0x482f('0xe')]())[_0x482f('0x61')](_0x5eeb3d=>'suggestion'===this[_0x482f('0x112')](_0x5eeb3d[_0x482f('0x31')])[_0x482f('0xc3')]);if(0x0===_0x55816e[_0x482f('0x9f')])return;_0x55816e[_0x482f('0xdb')]((_0x4ec48c,_0x2ac82a)=>{const _0x206774=_0x4ec48c[_0x482f('0x9')]['oldRange'],_0x24b7f3=_0x2ac82a[_0x482f('0x9')][_0x482f('0x7b')];return null===_0x206774&&null===_0x24b7f3?0x0:null===_0x206774&&null!==_0x24b7f3?-0x1:null!==_0x206774&&null===_0x24b7f3?0x1:_0x206774[_0x482f('0x15')]['isBefore'](_0x24b7f3['start'])?-0x1:0x1;});const _0x3f6d9f=new Set(),_0x2789bb=new Set();for(const {name:_0x535fa5,data:_0x23d855}of _0x55816e){const {id:_0x163594}=this[_0x482f('0x112')](_0x535fa5);if(null===_0x23d855[_0x482f('0x7b')]){const _0x3f1dda=this['_handleNewSuggestionMarker'](_0x535fa5);_0x2789bb[_0x482f('0x48')](_0x3f1dda);}else{const _0x230d15=this['_suggestions'][_0x482f('0x105')](_0x163594);null!==_0x23d855['newRange']||_0x230d15['isInContent']?(_0x3f6d9f['add'](_0x230d15[_0x482f('0xac')]),_0x2789bb['add'](_0x230d15)):this[_0x482f('0x135')](_0x230d15);}}_0x2789bb['size']>0x0&&this['_refreshSuggestionsChain'](_0x2789bb);for(const _0x226215 of _0x3f6d9f)this[_0x482f('0x22')](_0x482f('0x2a'),_0x226215);}),_0x247129['model']['on'](_0x482f('0xd1'),(_0x50f0cf,_0x142e92)=>{const _0x1401bd=_0x142e92[0x0];if(!this[_0x482f('0x125')]['size'])return;if(!_0x1401bd[_0x482f('0xa8')])return;if(_0x1401bd['batch']['isUndo']||!_0x1401bd[_0x482f('0xbe')][_0x482f('0x12e')])return;let _0x19004b,_0x52aa45;switch(_0x1401bd[_0x482f('0x88')]){case _0x482f('0xcb'):_0x19004b=_0x247129[_0x482f('0x127')][_0x482f('0x123')](_0x1401bd[_0x482f('0x72')]),_0x52aa45=_0x19004b[_0x482f('0xe6')](_0x1401bd['howMany']);break;case _0x482f('0x7d'):_0x19004b=_0x247129[_0x482f('0x127')]['createPositionAt'](_0x1401bd[_0x482f('0x96')]),_0x52aa45=_0x247129['model'][_0x482f('0x123')](_0x1401bd[_0x482f('0x2b')]);break;case _0x482f('0x132'):_0x19004b=_0x247129['model'][_0x482f('0x123')](_0x1401bd[_0x482f('0x139')]),_0x52aa45=_0x19004b[_0x482f('0xe6')](_0x1401bd[_0x482f('0xd0')]);break;default:return;}const _0xb5d5be=_0x247129[_0x482f('0x127')][_0x482f('0x77')](_0x19004b,_0x52aa45);_0x247129[_0x482f('0x127')]['change'](()=>{for(const {suggestion:_0x42395f,meta:_0x115f4d}of this[_0x482f('0x29')](_0xb5d5be)){if(_0x42395f[_0x482f('0xcc')])continue;if(_0x482f('0x16')==_0x42395f['type'])continue;const _0xbe921=_0x42395f['data']&&_0x42395f[_0x482f('0x9')][_0x482f('0x71')];('formatBlock'!=_0x42395f[_0x482f('0x88')]||_0x482f('0x7d')==_0x1401bd[_0x482f('0x88')]&&!_0xbe921)&&(_0x115f4d[_0x482f('0xef')]||'insertion'==_0x42395f[_0x482f('0x88')]&&_0x115f4d['isOwn']||_0x42395f[_0x482f('0x1d')]()['containsRange'](_0xb5d5be)&&this['_breakSuggestionMarker'](_0x42395f,_0x19004b,_0x52aa45));}});},{'priority':_0x482f('0x21')}),_0x247129[_0x482f('0x127')]['on'](_0x482f('0xc9'),(_0xa71b1b,_0x3363c1)=>{const _0x1d91f6=_0x3363c1[0x0],_0x150cf4=_0x3363c1[0x1];if(_0x150cf4&&_0x150cf4[_0x482f('0x126')])return;if(this[_0x482f('0x111')])return;if(!this[_0x482f('0xd')][_0x482f('0x101')])return;if(_0x1d91f6[_0x482f('0x5')])return;const _0x3370ea=_0x247129['model'][_0x482f('0x11b')],{start:_0x800590,end:_0x2ee10d}=_0x1d91f6['getFirstRange'](),_0x36b739=_0x800590[_0x482f('0xda')]&&_0x3370ea[_0x482f('0xf5')](_0x800590[_0x482f('0xda')])?null:_0x3370ea[_0x482f('0x12c')](_0x800590,'forward'),_0x222ca9=_0x2ee10d['nodeBefore']&&_0x3370ea[_0x482f('0xf5')](_0x2ee10d['nodeBefore'])?null:_0x3370ea['getNearestSelectionRange'](_0x2ee10d,'backward'),_0xd74996=_0x247129['model'][_0x482f('0x77')](_0x36b739?_0x36b739[_0x482f('0x15')]:_0x800590,_0x222ca9?_0x222ca9[_0x482f('0xe4')]:_0x2ee10d);_0x247129['model'][_0x482f('0x20')](_0x539196=>{this[_0x482f('0x19')](_0xd74996);const _0x2b99ab=_0x247129[_0x482f('0x127')]['schema'][_0x482f('0x12c')](_0xd74996['start']);_0x1d91f6['is'](_0x482f('0x10'))?_0x539196['setSelection'](_0x2b99ab):_0x1d91f6[_0x482f('0x3')](_0x2b99ab);}),_0xa71b1b[_0x482f('0xa4')]();},{'priority':_0x5d57b3['normal']+0xa}),_0x247129[_0x482f('0x127')]['on'](_0x482f('0x79'),(_0x361b7b,_0xbb145b)=>{const _0x5eed15=_0xbb145b[_0xbb145b[_0x482f('0x9f')]-0x1];_0x5eed15&&_0x5eed15[_0x482f('0x126')]||this['_isForcedDefaultExecutionBlock']||this[_0x482f('0xd')][_0x482f('0x101')]&&(_0x247129[_0x482f('0x127')][_0x482f('0x20')](()=>{let _0x19ff27=_0x247129[_0x482f('0x127')][_0x482f('0x79')](_0xbb145b[0x0],_0xbb145b[0x1],_0xbb145b[0x2],{'forceDefaultExecution':!0x0});if(!_0x19ff27)return;_0x361b7b[_0x482f('0x6f')]=_0x19ff27[_0x482f('0x35')]();const _0x1d6834=_0x19ff27[_0x482f('0xe4')][_0x482f('0x3d')],_0x44b7a6=_0x247129[_0x482f('0x127')][_0x482f('0x11b')];_0x1d6834&&_0x44b7a6[_0x482f('0x115')](_0x1d6834)&&!_0x44b7a6[_0x482f('0x143')](_0x1d6834)&&(_0x19ff27=_0x247129[_0x482f('0x127')][_0x482f('0x77')](_0x19ff27[_0x482f('0x15')],_0x247129[_0x482f('0x127')][_0x482f('0x123')](_0x1d6834,_0x482f('0xe4')))),this['markInsertion'](_0x19ff27);}),_0x361b7b[_0x482f('0xa4')]());},{'priority':_0x482f('0x5b')}),this[_0x482f('0x116')][_0x482f('0x120')][_0x482f('0x48')](_0x482f('0xf7'),this[_0x482f('0xd')]),this['enableCommand'](_0x482f('0xf7'));const _0x5b1893=new _0x517395(_0x247129,this[_0x482f('0x125')]);_0x247129[_0x482f('0x120')]['add']('acceptSuggestion',_0x5b1893),this[_0x482f('0x80')](_0x482f('0x32'));const _0x566a1a=new _0x3c2d00(_0x247129,this[_0x482f('0x125')]);_0x247129[_0x482f('0x120')][_0x482f('0x48')](_0x482f('0x10d'),_0x566a1a),this[_0x482f('0x80')](_0x482f('0x10d')),_0x247129[_0x482f('0x120')][_0x482f('0x48')](_0x482f('0x18'),new _0x1f4da8(_0x247129,_0x5b1893,this[_0x482f('0x125')])),this[_0x482f('0x80')](_0x482f('0x18')),_0x247129[_0x482f('0x120')][_0x482f('0x48')](_0x482f('0x10e'),new _0x1f4da8(_0x247129,_0x566a1a,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x247129[_0x482f('0x120')][_0x482f('0x48')](_0x482f('0x89'),new _0xcb3ae8(_0x247129,_0x5b1893,this[_0x482f('0x125')])),this[_0x482f('0x80')]('acceptSelectedSuggestions'),_0x247129['commands']['add']('discardSelectedSuggestions',new _0xcb3ae8(_0x247129,_0x566a1a,this['_suggestions'])),this[_0x482f('0x80')]('discardSelectedSuggestions');const _0x332b47=_0x247129[_0x482f('0xa1')]['get'](_0x482f('0x42'));this['listenTo'](_0x332b47,_0x482f('0x104'),(_0x1ba7e5,{threadId:_0x1425f4})=>{const _0x5ac337=this[_0x482f('0x125')]['get'](_0x1425f4);_0x5ac337&&_0x5ac337[_0x482f('0x110')]&&0x1===_0x5ac337[_0x482f('0x110')][_0x482f('0x9f')]&&this[_0x482f('0xb6')](_0x1425f4,{'hasComments':!0x0});},{'priority':'low'}),this[_0x482f('0x24')](_0x332b47,_0x482f('0x8e'),(_0x4015d9,{threadId:_0x498664})=>{const _0x5e4f6c=this[_0x482f('0x125')][_0x482f('0x105')](_0x498664);_0x5e4f6c&&_0x5e4f6c[_0x482f('0x110')]&&!_0x5e4f6c[_0x482f('0x110')]['length']&&this['_updateSuggestionData'](_0x498664,{'hasComments':!0x1});},{'priority':'low'});}set[_0x482f('0xc6')](_0x13c3f0){if(this[_0x482f('0x128')])throw new _0x392c05('track-changes-adapter-already-set',this);this[_0x482f('0x128')]=_0x13c3f0;}get[_0x482f('0xc6')](){return this[_0x482f('0x128')];}['getSuggestions']({skipNotAttached:_0x158f48=!0x1,toJSON:_0x33a2fc=!0x1}={}){const _0x45ebc0=[];for(const _0x4fb9a5 of this['_suggestions'][_0x482f('0x12')]())_0x158f48&&!_0x4fb9a5[_0x482f('0xb7')]||_0x45ebc0[_0x482f('0x8f')](_0x4fb9a5);return _0x33a2fc?_0x45ebc0[_0x482f('0xa2')](_0x4c37a0=>_0x4c37a0['toJSON']()):_0x45ebc0;}[_0x482f('0x122')](_0x6c8bf0){const _0x30a330=this[_0x482f('0x125')][_0x482f('0x105')](_0x6c8bf0);if(!_0x30a330)throw new _0x392c05(_0x482f('0x82'),this);return _0x30a330;}[_0x482f('0x39')](_0x84001b){return this[_0x482f('0x125')]['has'](_0x84001b);}[_0x482f('0x6b')](_0x59cb03){const {authorId:_0x30cc8e,id:_0x346d20,attributes:_0x4d5926}=_0x59cb03,[_0xbe621c,_0x38245f]=_0x59cb03[_0x482f('0x88')][_0x482f('0x7d')](':'),_0x3bd3a8=this[_0x482f('0x125')][_0x482f('0x105')](_0x346d20)||this['_createSuggestion'](_0xbe621c,_0x38245f,_0x346d20,_0x30cc8e,_0x4d5926);if(this[_0x482f('0x102')](_0x3bd3a8),this[_0x482f('0x4')](_0x3bd3a8,_0xbe621c,_0x38245f||null,_0x30cc8e),_0x3bd3a8[_0x482f('0xf3')]=_0x59cb03['createdAt'],_0x3bd3a8[_0x482f('0x62')]=!0x0,_0x4d5926&&_0x4d5926['@external']){const _0x3e3c74=_0x4d5926[_0x482f('0xce')],_0x1a322b=this[_0x482f('0xd6')](_0x3e3c74[_0x482f('0xd5')]);_0x3bd3a8[_0x482f('0xbd')]=_0x3e3c74[_0x482f('0xf3')],_0x3bd3a8[_0x482f('0xd3')]=_0x1a322b,_0x3bd3a8['isExternal']=!0x0;}else _0x3bd3a8[_0x482f('0xbd')]=_0x59cb03[_0x482f('0xf3')];switch(_0x59cb03[_0x482f('0x9')]&&(_0x3bd3a8[_0x482f('0x9')]=_0x59cb03['data']),_0x59cb03['attributes']&&(_0x3bd3a8[_0x482f('0xb9')]=_0x59cb03[_0x482f('0xb9')]),this[_0x482f('0x128')]&&this[_0x482f('0x128')]['addSuggestion']||(_0x3bd3a8[_0x482f('0x85')]=!0x0),this[_0x482f('0x92')][_0x482f('0x105')](_0x3bd3a8)){case'notReady':this[_0x482f('0x92')]['set'](_0x3bd3a8,'dataReady');break;case'markerReady':_0x3bd3a8[_0x482f('0xb7')]?(this['_refreshSuggestionsChain'](new Set([_0x3bd3a8])),this['_joinWithAdjacentSuggestions'](new Set([_0x3bd3a8])),this[_0x482f('0x92')][_0x482f('0x65')](_0x3bd3a8,_0x482f('0xdf')),this[_0x482f('0x22')](_0x482f('0xc2'),_0x3bd3a8)):this['_suggestionState'][_0x482f('0x65')](_0x3bd3a8,_0x482f('0x6d'));}return _0x3bd3a8;}[_0x482f('0x32')](_0x17e31e){this['forceDefaultExecution'](()=>{this[_0x482f('0x116')][_0x482f('0x127')][_0x482f('0x20')](()=>{for(const _0x49f541 of _0x17e31e[_0x482f('0x68')]())_0x49f541[_0x482f('0x9d')]();});});}[_0x482f('0x10d')](_0x5a9156){this[_0x482f('0x126')](()=>{this[_0x482f('0x116')][_0x482f('0x127')]['change'](()=>{for(const _0x24ff3c of _0x5a9156[_0x482f('0x68')]())_0x24ff3c[_0x482f('0xa6')]();});});}[_0x482f('0x80')](_0x2cb436,_0x7fcfa2){const _0x4d5914=this['editor'][_0x482f('0x120')][_0x482f('0x105')](_0x2cb436);if(!_0x4d5914)throw new _0x392c05(_0x482f('0x98'),this,{'commandName':_0x2cb436});this[_0x482f('0x11')][_0x482f('0x48')](_0x4d5914),_0x7fcfa2&&_0x4d5914['on'](_0x482f('0x27'),(_0x37592b,_0x42df70)=>{this[_0x482f('0xd')]['value']&&(this['_isForcedDefaultExecutionBlock']||_0x42df70[_0x482f('0x9f')]>0x0&&_0x42df70[_0x42df70[_0x482f('0x9f')]-0x1]&&_0x42df70[_0x42df70[_0x482f('0x9f')]-0x1]['forceDefaultExecution']||(_0x7fcfa2((..._0x5ac09f)=>_0x4d5914[_0x482f('0x27')](..._0x5ac09f,{'forceDefaultExecution':!0x0}),..._0x42df70),_0x37592b[_0x482f('0xa4')]()));},{'priority':_0x482f('0x5b')});}[_0x482f('0x126')](_0x2f46cd){let _0x19039b,_0x5c3334;const _0x1ab115=this[_0x482f('0x111')];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x19039b=_0x2f46cd();}catch(_0x2dde4c){_0x5c3334=_0x2dde4c;}return _0x1ab115||(this[_0x482f('0x111')]=!0x1),_0x5c3334&&_0x392c05[_0x482f('0xcf')](_0x5c3334,this),_0x19039b;}[_0x482f('0x1f')](_0x3bb9a3,_0x485082=null,_0x41425b={}){if(_0x3bb9a3[_0x482f('0x5')])return null;const _0x5ee257=this['editor'][_0x482f('0xa1')][_0x482f('0x105')]('Users')['me'];for(const {suggestion:_0x50db9c,meta:_0x4c76b4}of this[_0x482f('0x29')](_0x3bb9a3,_0x482f('0xee')))if(_0x4c76b4[_0x482f('0xf8')]){if(!_0x4c76b4[_0x482f('0xdc')]){if(_0x4c76b4[_0x482f('0xef')]){if(!this[_0x482f('0x59')]||!Ot(_0x50db9c,_0x41425b))continue;return _0x50db9c;}if(Ot(_0x50db9c,_0x41425b))return _0x50db9c;this[_0x482f('0xff')](_0x50db9c,_0x3bb9a3[_0x482f('0x15')],_0x3bb9a3[_0x482f('0xe4')]);break;}if(_0x485082==_0x50db9c[_0x482f('0x86')]&&Ot(_0x50db9c,_0x41425b)){const _0x3a8f93=_0x50db9c[_0x482f('0x1d')]();return _0x3a8f93[_0x482f('0x15')]['isEqual'](_0x3bb9a3['end'])?this[_0x482f('0x1c')](_0x50db9c,this[_0x482f('0x70')]['createRange'](_0x3bb9a3[_0x482f('0x15')],_0x3a8f93['end'])):this[_0x482f('0x1c')](_0x50db9c,this[_0x482f('0x70')][_0x482f('0x77')](_0x3a8f93[_0x482f('0x15')],_0x3bb9a3[_0x482f('0xe4')])),_0x50db9c;}}const _0x5284e4=_0x57ce2b(),_0x335145=_0x5ee257['id'],_0x27ff0c=_0x485082?_0x482f('0xed')+_0x485082:_0x482f('0xee'),_0x4a5148=this['_setSuggestionData']({'id':_0x5284e4,'type':_0x27ff0c,'createdAt':new Date(),'authorId':_0x335145,'attributes':_0x41425b});return this[_0x482f('0x121')](_0x27ff0c,_0x5284e4,_0x335145,_0x3bb9a3),_0x4a5148;}['markMultiRangeInsertion'](_0x2bcebf,_0x2915db=_0x482f('0xb8'),_0xbe6aa={}){const _0x345e97=this[_0x482f('0x116')][_0x482f('0xa1')][_0x482f('0x105')]('Users')['me'],_0x5005d1=this[_0x482f('0x66')][_0x482f('0x34')](_0x482f('0xee'),_0x2915db,_0x482f('0x91'));for(const _0x2a4c7c of this['getSuggestions']())if(_0x2a4c7c['author']['id']==_0x345e97['id']&&_0x482f('0xee')==_0x2a4c7c[_0x482f('0x88')]&&_0x2a4c7c[_0x482f('0x86')]==_0x2915db&&Ot(_0x2a4c7c,_0xbe6aa)&&(_0x5005d1(_0x2a4c7c[_0x482f('0x44')](),_0x2bcebf)||_0x5005d1(_0x2bcebf,_0x2a4c7c[_0x482f('0x44')]()))){for(const _0x599043 of _0x2bcebf)_0x2a4c7c[_0x482f('0x11e')](_0x599043);return _0x2a4c7c;}for(const {suggestion:_0xd3002b,meta:_0x1c25a7}of this[_0x482f('0x29')](_0x2bcebf,_0x482f('0xee'))){if(!_0x1c25a7[_0x482f('0xf8')])continue;if(!this[_0x482f('0x59')]&&_0x1c25a7[_0x482f('0xef')])continue;if(!Ot(_0xd3002b,_0xbe6aa))continue;let _0x46c5b6=!0x0;for(const _0x54125f of _0xd3002b['getRanges']())for(const _0x125f75 of _0x2bcebf)if(!_0x54125f['containsRange'](_0x125f75)){_0x46c5b6=!0x1;break;}if(_0x46c5b6)return _0xd3002b;}const _0x985456=_0x57ce2b(),_0x1217c8=_0x345e97['id'],_0x2def5b='insertion:'+_0x2915db,_0x4df40c=this[_0x482f('0x113')]({'id':_0x985456,'type':_0x2def5b,'createdAt':new Date(),'authorId':_0x1217c8,'attributes':_0xbe6aa});for(const _0x1beeed of _0x2bcebf)this[_0x482f('0x121')](_0x2def5b,_0x985456,_0x1217c8,_0x1beeed,_0x2d8b06[_0x482f('0x12a')]());return _0x4df40c;}[_0x482f('0xe5')](_0x3c9e18,_0x384d0a,_0x5a5c15=null,_0x4729ed={}){if(_0x5a5c15=_0x5a5c15||Nt(_0x384d0a),_0x3c9e18[_0x482f('0x5')])return null;if('never'===this[_0x482f('0x118')]){const _0x56eb82=this[_0x482f('0x66')][_0x482f('0x34')](_0x482f('0x16'),_0x5a5c15,_0x482f('0x9d'));return this[_0x482f('0x126')](()=>_0x56eb82([_0x3c9e18],_0x384d0a,_0x4729ed)),null;}const _0xcabde7=this['editor'][_0x482f('0xa1')][_0x482f('0x105')](_0x482f('0x4f'))['me'],_0x59ba87=[];if(_0x482f('0x76')!==this[_0x482f('0x118')])for(const {suggestion:_0x134659,meta:_0x1a43ad}of this[_0x482f('0x29')](_0x3c9e18,'insertion'))_0x1a43ad[_0x482f('0xf8')]&&!_0x1a43ad['isInsideObject']&&_0x59ba87[_0x482f('0x8f')](..._0x134659['getRanges']());const _0x1a144c=function(_0xf86160,_0x2b673a){const _0x1d9ac2=[];for(const _0x3b6afc of _0x2b673a){const _0x397c6a=_0xf86160['getIntersection'](_0x3b6afc);_0x397c6a&&_0x1d9ac2[_0x482f('0x8f')](_0x397c6a);}return _0x1d9ac2;}(_0x3c9e18,_0x59ba87),_0xc8d950=function(_0xbbf029,_0x398ede){const _0x8ce0e0=[_0xbbf029];for(const _0x32fae0 of _0x398ede){let _0x1a15c4=0x0;for(;_0x1a15c4<_0x8ce0e0[_0x482f('0x9f')];){const _0x15a1fe=_0x8ce0e0[_0x1a15c4][_0x482f('0x6')](_0x32fae0);_0x8ce0e0[_0x482f('0x7')](_0x1a15c4,0x1,..._0x15a1fe),_0x1a15c4+=_0x15a1fe[_0x482f('0x9f')];}}return _0x8ce0e0;}(_0x3c9e18,_0x59ba87);_0x1a144c[_0x482f('0x9f')]&&this['_model']['change'](()=>{for(const _0x49ff86 of _0x1a144c){const _0x298eda=this[_0x482f('0x66')][_0x482f('0x34')](_0x482f('0x16'),_0x5a5c15,_0x482f('0x9d'));this[_0x482f('0x126')](()=>_0x298eda([_0x49ff86],_0x384d0a,_0x4729ed));}});for(const _0x474eb2 of _0xc8d950){let _0x1baa0f=null,_0x2757c1=_0x474eb2[_0x482f('0x15')],_0x2294c4=_0x474eb2[_0x482f('0xe4')];for(const {suggestion:_0x3ea459,meta:_0x4ab23e}of this['_findSuggestions'](_0x474eb2,'formatInline')){if(!_0x4ab23e['isOwn'])continue;if(_0x3ea459[_0x482f('0x86')]!=_0x5a5c15)continue;if(!Ot(_0x3ea459,_0x4729ed))continue;const _0x4f2572=_0x3ea459['getFirstRange']();if(_0x4f2572['containsRange'](_0x474eb2,!0x0))return null;_0x2757c1=_0x2757c1[_0x482f('0x52')](_0x4f2572[_0x482f('0x15')])?_0x2757c1:_0x4f2572['start'],_0x2294c4=_0x2294c4[_0x482f('0x97')](_0x4f2572[_0x482f('0xe4')])?_0x2294c4:_0x4f2572[_0x482f('0xe4')],_0x1baa0f?_0x4f2572[_0x482f('0x15')][_0x482f('0x52')](_0x1baa0f[_0x482f('0x1d')]()[_0x482f('0x15')])?(_0x1baa0f['removeMarkers'](),_0x1baa0f=_0x3ea459):_0x3ea459[_0x482f('0xb2')]():_0x1baa0f=_0x3ea459;}const _0x388a62=this[_0x482f('0x70')][_0x482f('0x77')](_0x2757c1,_0x2294c4);if(_0x1baa0f)this[_0x482f('0x1c')](_0x1baa0f,_0x388a62);else{const _0x468968=_0x57ce2b(),_0x40c561=_0xcabde7['id'];this[_0x482f('0x113')]({'id':_0x468968,'type':'formatInline:'+_0x5a5c15,'data':_0x384d0a,'createdAt':new Date(),'authorId':_0x40c561,'attributes':_0x4729ed}),this[_0x482f('0x121')](_0x482f('0x13')+_0x5a5c15,_0x468968,_0x40c561,_0x388a62);}}return null;}[_0x482f('0xe2')](_0x439a1e,_0xe1d36e,_0x3e43b8=[],_0x55c875=null,_0x221731={}){_0xe1d36e[_0x482f('0xdd')]||(_0xe1d36e[_0x482f('0xdd')]=_0xe1d36e[_0x482f('0x8c')]),_0xe1d36e[_0x482f('0x71')]=_0x439a1e['is']('range'),_0x55c875=_0x55c875||Nt(_0xe1d36e);const _0x4295eb=_0x3e43b8[_0x482f('0xa2')](_0x4b819c=>jt(_0x4b819c,this['_model'])),_0x4dc097=_0x439a1e['is']('range')?_0x439a1e:jt(_0x439a1e,this[_0x482f('0x70')]);if(_0x482f('0x4d')===this['_trackFormatChanges']){const _0x3962a4=this[_0x482f('0x66')][_0x482f('0x34')](_0x482f('0x9a'),_0x55c875,'accept');return this[_0x482f('0x126')](()=>_0x3962a4([_0x4dc097],_0xe1d36e,_0x221731)),null;}_0x4295eb[_0x482f('0x8f')](_0x4dc097);let _0x4af06f=!0x0;for(const _0x131d43 of _0x4295eb)if(!this['_rangeIsInLocalUserInsertion'](_0x131d43)){_0x4af06f=!0x1;break;}if(_0x4af06f&&_0x482f('0x76')!==this[_0x482f('0x118')]){const _0x98f886=this['_suggestionFactory'][_0x482f('0x34')](_0x482f('0x9a'),_0x55c875,_0x482f('0x9d'));return this[_0x482f('0x126')](()=>_0x98f886([_0x4dc097],_0xe1d36e,_0x221731)),null;}let _0x4831c7=null,_0x392ab8=_0x4dc097[_0x482f('0x15')],_0x6d6da6=_0x4dc097[_0x482f('0xe4')];for(const {suggestion:_0x38d68b,meta:_0xc4bd85}of this['_findSuggestions'](_0x4dc097,_0x482f('0x9a'))){if(!_0xc4bd85[_0x482f('0xf8')])continue;if(_0xc4bd85[_0x482f('0xdc')]||_0xc4bd85[_0x482f('0xef')]||_0xc4bd85[_0x482f('0x40')])continue;if(_0x38d68b['data'][_0x482f('0xdd')]!=_0xe1d36e['formatGroupId'])continue;if(!Ot(_0x38d68b,_0x221731))continue;const _0x4089b0=_0x38d68b[_0x482f('0x1d')]();if(_0x38d68b['subType']==_0x55c875){if(_0x4089b0[_0x482f('0xf1')](_0x4dc097,!0x0))return null;_0x392ab8=_0x392ab8[_0x482f('0x52')](_0x4089b0[_0x482f('0x15')])?_0x392ab8:_0x4089b0[_0x482f('0x15')],_0x6d6da6=_0x6d6da6['isAfter'](_0x4089b0[_0x482f('0xe4')])?_0x6d6da6:_0x4089b0[_0x482f('0xe4')],_0x4831c7?_0x4089b0[_0x482f('0x15')][_0x482f('0x52')](_0x4831c7['getFirstRange']()[_0x482f('0x15')])?(_0x4831c7[_0x482f('0xb2')](),_0x4831c7=_0x38d68b):_0x38d68b[_0x482f('0xb2')]():_0x4831c7=_0x38d68b;}else{const _0x11f481=_0x4dc097[_0x482f('0xbc')](_0x4089b0);this[_0x482f('0x12d')](_0x38d68b,_0x11f481);}}const _0x537292=this[_0x482f('0x116')][_0x482f('0xa1')]['get'](_0x482f('0x4f'))['me'],_0x407824=_0x57ce2b(),_0x5028ea=_0x537292['id'];if(_0x4831c7)return this[_0x482f('0x1c')](_0x4831c7,this[_0x482f('0x70')][_0x482f('0x77')](_0x392ab8,_0x6d6da6)),_0x4831c7;{const _0x61e9e3=this['_setSuggestionData']({'id':_0x407824,'type':_0x482f('0x8a')+_0x55c875,'data':_0xe1d36e,'createdAt':new Date(),'authorId':_0x5028ea,'attributes':_0x221731});return this['_addSuggestionMarker'](_0x482f('0x8a')+_0x55c875,_0x407824,_0x5028ea,this['_model'][_0x482f('0x77')](_0x392ab8,_0x6d6da6)),_0x61e9e3;}}[_0x482f('0xc8')](_0x2c4b17,_0x206f75,_0xb9930b=[],_0x2fb819=null,_0x597589={}){_0x206f75[_0x482f('0xdd')]||(_0x206f75[_0x482f('0xdd')]=_0x206f75[_0x482f('0x8c')]);const _0x6d1dea=_0x2c4b17[0x0];_0x206f75[_0x482f('0x71')]=_0x6d1dea['is']('range'),_0x2fb819=_0x2fb819||Nt(_0x206f75);const _0x11d8a0=_0xb9930b[_0x482f('0xa2')](_0x581ef4=>jt(_0x581ef4,this[_0x482f('0x70')])),_0x2d8995=_0x6d1dea['is'](_0x482f('0x46'))?_0x2c4b17:_0x2c4b17[_0x482f('0xa2')](_0x575530=>jt(_0x575530,this[_0x482f('0x70')]));if(_0x482f('0x4d')===this[_0x482f('0x118')]){const _0xd09b73=this[_0x482f('0x66')][_0x482f('0x34')](_0x482f('0x9a'),_0x2fb819,_0x482f('0x9d'));return this['forceDefaultExecution'](()=>_0xd09b73(_0x2d8995,_0x206f75,_0x597589)),null;}_0x11d8a0[_0x482f('0x8f')](..._0x2d8995);let _0x5a5026=!0x0;for(const _0xc232e7 of _0x11d8a0)if(!this[_0x482f('0x23')](_0xc232e7)){_0x5a5026=!0x1;break;}if(_0x5a5026&&'always'!==this[_0x482f('0x118')]){const _0x6d6bfb=this['_suggestionFactory'][_0x482f('0x34')](_0x482f('0x9a'),_0x2fb819,_0x482f('0x9d'));return this[_0x482f('0x126')](()=>_0x6d6bfb(_0x2d8995,_0x206f75,_0x597589)),null;}const _0x5e29b2=this[_0x482f('0x116')][_0x482f('0xa1')][_0x482f('0x105')](_0x482f('0x4f'))['me'];for(const _0x51647b of this[_0x482f('0x78')]()){if(_0x51647b['author']['id']!=_0x5e29b2['id'])continue;if('formatBlock'!=_0x51647b['type']||_0x51647b[_0x482f('0x9')][_0x482f('0xdd')]!=_0x206f75[_0x482f('0xdd')])continue;if(!Ot(_0x51647b,_0x597589))continue;const _0x2dba5b=_0x51647b[_0x482f('0x86')]==_0x2fb819;for(let _0x13374f=0x0;_0x13374f<_0x2d8995[_0x482f('0x9f')];_0x13374f++){const _0x3ab7c8=_0x2d8995[_0x13374f];for(const _0x4b82ca of _0x51647b[_0x482f('0x145')]()){const _0x47e821=_0x4b82ca[_0x482f('0x10b')]();if(_0x3ab7c8[_0x482f('0x94')](_0x47e821)){_0x2dba5b?(_0x2d8995[_0x482f('0x7')](_0x13374f,0x1),_0x13374f--):_0x51647b['removeMarker'](_0x4b82ca[_0x482f('0x31')]);break;}}}}if(0x0==_0x2d8995[_0x482f('0x9f')])return null;const _0x5ad885=this[_0x482f('0x66')][_0x482f('0x34')]('formatBlock',_0x2fb819,_0x482f('0x91'));for(const _0x3b5dd7 of this[_0x482f('0x78')]())if(_0x3b5dd7[_0x482f('0xd3')]['id']==_0x5e29b2['id']&&_0x482f('0x9a')==_0x3b5dd7['type']&&_0x3b5dd7[_0x482f('0x9')][_0x482f('0xdd')]==_0x206f75['formatGroupId']&&_0x3b5dd7['subType']==_0x2fb819&&Ot(_0x3b5dd7,_0x597589)&&(_0x5ad885(_0x3b5dd7[_0x482f('0x44')](),_0x2d8995)||_0x5ad885(_0x2d8995,_0x3b5dd7['getRanges']()))){for(const _0x2aa867 of _0x2d8995)_0x3b5dd7[_0x482f('0x11e')](_0x2aa867);return _0x3b5dd7;}const _0x43d8b5=_0x57ce2b(),_0x28bacd=_0x5e29b2['id'],_0x278fa9=_0x482f('0x8a')+_0x2fb819,_0x593335=this[_0x482f('0x113')]({'id':_0x43d8b5,'type':_0x278fa9,'data':_0x206f75,'createdAt':new Date(),'authorId':_0x28bacd,'attributes':_0x597589});for(const _0x58c0d3 of _0x2d8995)this[_0x482f('0x121')](_0x278fa9,_0x43d8b5,_0x28bacd,_0x58c0d3,_0x2d8b06[_0x482f('0x12a')]());return _0x593335;}[_0x482f('0x19')](_0xd50346,_0x183a75=null,_0x12989a={}){if(_0xd50346[_0x482f('0x5')])return null;const _0x3d32f5=this[_0x482f('0x116')][_0x482f('0xa1')][_0x482f('0x105')](_0x482f('0x4f'))['me'],_0x2b2231=new _0x2be343(_0xd50346[_0x482f('0x15')],_0xd50346['end']);for(const {suggestion:_0x33e12d,meta:_0x46c681}of this[_0x482f('0x29')](_0x2b2231,_0x482f('0xee')))if(_0x46c681['isOwn']&&!_0x46c681[_0x482f('0xdc')]){if(_0x33e12d[_0x482f('0xcc')]){const _0x429de6=_0x33e12d[_0x482f('0x44')]()[_0x482f('0x61')](_0xf8b3ba=>_0x482f('0x11c')!=_0xf8b3ba['root']['rootName']);_0x429de6[_0x482f('0x47')](_0x14a530=>_0x2b2231[_0x482f('0xf1')](_0x14a530,!0x0))&&_0x33e12d[_0x482f('0xa6')]();if(_0x429de6[_0x482f('0x100')](_0x515389=>_0x515389['containsRange'](_0x2b2231,!0x0))){const _0x51dba8=this[_0x482f('0x66')][_0x482f('0x34')](_0x482f('0x3b'),_0x183a75,_0x482f('0x9d'));return this[_0x482f('0x126')](()=>_0x51dba8([_0x2b2231],null,_0x12989a)),null;}}else{const _0x1d2065=_0x2b2231[_0x482f('0xbc')](_0x33e12d['getFirstRange']());null!==_0x1d2065&&_0x33e12d[_0x482f('0xe7')]([_0x1d2065],null,_0x12989a);}}if(_0x2b2231[_0x482f('0xf2')](),_0x2b2231[_0x482f('0x5')]||'$graveyard'==_0x2b2231[_0x482f('0x90')]['rootName'])return null;let _0x372f06=null,_0x797c91=_0x2b2231['start'],_0x127014=_0x2b2231['end'];const _0x5a85ce=this[_0x482f('0x29')](_0x2b2231,'deletion');for(const {suggestion:_0x5244e7,meta:_0x554b28}of _0x5a85ce){const _0x203492=this[_0x482f('0x70')][_0x482f('0x77')](_0x797c91,_0x127014);if(_0x554b28[_0x482f('0xf8')]&&(this[_0x482f('0x59')]||!_0x554b28['containsRangeInObject']&&!_0x554b28[_0x482f('0x40')])){if(_0x5244e7[_0x482f('0xcc')]){if(!Ot(_0x5244e7,_0x12989a))continue;let _0x3b80c7=!0x0;for(const _0x18b8ba of _0x5244e7['getRanges']()){if(_0x18b8ba['containsRange'](_0x203492,!0x0))return _0x5244e7;_0x203492[_0x482f('0xf1')](_0x18b8ba)||(_0x3b80c7=!0x1);}_0x3b80c7&&_0x5244e7[_0x482f('0xa6')]();}else{const _0x487c0b=_0x5244e7[_0x482f('0x1d')]();if(_0x487c0b[_0x482f('0xf1')](_0x203492,!0x0))return _0x5244e7;if(!Ot(_0x5244e7,_0x12989a)){_0x203492[_0x482f('0xf1')](_0x487c0b)?_0x5244e7[_0x482f('0xb2')]():_0x487c0b[_0x482f('0x134')](_0x797c91)?_0x797c91=_0x487c0b['end']:_0x487c0b[_0x482f('0x134')](_0x127014)&&(_0x127014=_0x487c0b[_0x482f('0x15')]);continue;}_0x797c91=_0x797c91[_0x482f('0x52')](_0x487c0b[_0x482f('0x15')])?_0x797c91:_0x487c0b[_0x482f('0x15')],_0x127014=_0x127014[_0x482f('0x97')](_0x487c0b[_0x482f('0xe4')])?_0x127014:_0x487c0b['end'],_0x12989a=Object[_0x482f('0x30')]({},_0x5244e7['attributes']),_0x372f06?_0x487c0b[_0x482f('0x15')][_0x482f('0x52')](_0x372f06[_0x482f('0x1d')]()[_0x482f('0x15')])?(_0x372f06[_0x482f('0xb2')](),_0x372f06=_0x5244e7):_0x5244e7['removeMarkers']():_0x372f06=_0x5244e7;}}}if(_0x372f06)return this[_0x482f('0x1c')](_0x372f06,this[_0x482f('0x70')][_0x482f('0x77')](_0x797c91,_0x127014)),_0x372f06;{const _0xa8659f=_0x57ce2b(),_0x117c48=this[_0x482f('0x70')][_0x482f('0x77')](_0x797c91,_0x127014),_0x2a8486=_0x3d32f5['id'],_0x226edf=_0x183a75?_0x482f('0x17')+_0x183a75:'deletion',_0x336ffc=this[_0x482f('0x113')]({'id':_0xa8659f,'type':_0x226edf,'createdAt':new Date(),'authorId':_0x2a8486,'attributes':_0x12989a});return this[_0x482f('0x121')](_0x226edf,_0xa8659f,_0x2a8486,_0x117c48),_0x336ffc;}}[_0x482f('0x6e')](_0x157878,_0x248794=_0x482f('0xb8'),_0x54eea8={}){const _0x59e068=this['editor'][_0x482f('0xa1')][_0x482f('0x105')](_0x482f('0x4f'))['me'],_0x59ae1a=_0x157878['map'](_0x1b7d88=>new _0x2be343(_0x1b7d88[_0x482f('0x15')],_0x1b7d88[_0x482f('0xe4')])),_0x4bacfb=new Set();for(const {suggestion:_0x1f2ce1,meta:_0x36e316}of this[_0x482f('0x29')](_0x59ae1a,'insertion'))_0x36e316[_0x482f('0xf8')]&&!_0x36e316[_0x482f('0xdc')]&&_0x4bacfb[_0x482f('0x48')](_0x1f2ce1);for(const _0x2fe78b of _0x4bacfb)if(_0x2fe78b[_0x482f('0xcc')]){const _0xd7992a=_0x2fe78b['getRanges']();(!_0x2fe78b['attributes']||!_0x2fe78b['attributes'][_0x482f('0x4e')])&&(_0xd7992a[_0x482f('0x47')](_0x1d8276=>_0x59ae1a[_0x482f('0x100')](_0x331296=>_0x331296['containsRange'](_0x1d8276,!0x0)))&&_0x2fe78b[_0x482f('0xa6')]());if(_0x59ae1a[_0x482f('0x47')](_0x3e42d2=>_0xd7992a[_0x482f('0x100')](_0x4e8ffa=>_0x4e8ffa[_0x482f('0xf1')](_0x3e42d2,!0x0)))){const _0x572ad3=this['_suggestionFactory'][_0x482f('0x34')](_0x482f('0x3b'),_0x248794,_0x482f('0x9d'));return this['forceDefaultExecution'](()=>_0x572ad3(_0x157878,null,_0x54eea8)),null;}}else{const _0x4fb31b=_0x2fe78b[_0x482f('0x1d')]();_0x59ae1a[_0x482f('0x100')](_0x24289a=>_0x24289a[_0x482f('0xf1')](_0x4fb31b,!0x0))&&_0x2fe78b['discard']();if(_0x59ae1a['every'](_0x3ecba5=>_0x4fb31b[_0x482f('0xf1')](_0x3ecba5,!0x0))){const _0xa1b6e3=this[_0x482f('0x66')]['getSuggestionCallback']('deletion',_0x248794,_0x482f('0x9d'));return this[_0x482f('0x126')](()=>_0xa1b6e3(_0x59ae1a,null,_0x54eea8)),null;}}const _0x560230=this[_0x482f('0x66')][_0x482f('0x34')](_0x482f('0x3b'),_0x248794,_0x482f('0x91'));let _0x5808ec=null;for(const _0x15cc15 of this[_0x482f('0x78')]())if(_0x15cc15[_0x482f('0xd3')]['id']==_0x59e068['id']&&_0x15cc15[_0x482f('0xb7')]&&_0x482f('0x3b')==_0x15cc15[_0x482f('0x88')]&&_0x15cc15[_0x482f('0x86')]==_0x248794&&Ot(_0x15cc15,_0x54eea8)&&(_0x560230(_0x15cc15[_0x482f('0x44')](),_0x59ae1a)||_0x560230(_0x59ae1a,_0x15cc15[_0x482f('0x44')]()))){if(_0x5808ec){if(_0x15cc15['commentThread']&&_0x15cc15[_0x482f('0x110')][_0x482f('0x9f')])continue;for(const _0x26ba3e of _0x15cc15[_0x482f('0x44')]())_0x5808ec[_0x482f('0xcd')](_0x26ba3e)||_0x5808ec[_0x482f('0x11e')](_0x26ba3e);_0x15cc15[_0x482f('0xb2')]();}else{_0x5808ec=_0x15cc15;for(const _0x190402 of _0x59ae1a)_0x15cc15['isIntersectingWithRange'](_0x190402)||_0x15cc15[_0x482f('0x11e')](_0x190402);}}if(_0x5808ec)return _0x5808ec;_0x4bacfb[_0x482f('0xf')]();for(const {suggestion:_0x490e6e,meta:_0x4c0e83}of this[_0x482f('0x29')](_0x59ae1a,_0x482f('0x3b')))_0x4c0e83['isOwn']&&(this[_0x482f('0x59')]||!_0x4c0e83['containsRangeInObject']&&!_0x4c0e83[_0x482f('0x40')])&&Ot(_0x490e6e,_0x54eea8)&&_0x4bacfb[_0x482f('0x48')](_0x490e6e);for(const _0x2484fc of _0x4bacfb){const _0x584bcd=_0x2484fc[_0x482f('0x44')]();if(!_0x54eea8||!_0x54eea8['skipNestingCheck']){if(_0x59ae1a[_0x482f('0x47')](_0x39f35c=>_0x584bcd[_0x482f('0x100')](_0x57a781=>_0x57a781['containsRange'](_0x39f35c,!0x0))))return _0x2484fc;}(!_0x2484fc[_0x482f('0xb9')]||!_0x2484fc[_0x482f('0xb9')][_0x482f('0x4e')])&&(_0x584bcd[_0x482f('0x47')](_0x530ed9=>_0x59ae1a[_0x482f('0x100')](_0x437929=>_0x437929[_0x482f('0xf1')](_0x530ed9,!0x0)))&&_0x2484fc[_0x482f('0xa6')]());}const _0x277cef=_0x57ce2b(),_0xce8a41=_0x59e068['id'],_0x1dc934='deletion:'+_0x248794,_0x139c16=this['_setSuggestionData']({'id':_0x277cef,'type':_0x1dc934,'createdAt':new Date(),'authorId':_0xce8a41,'attributes':_0x54eea8});for(const _0x42ae6c of _0x59ae1a)_0x42ae6c[_0x482f('0xf2')](),_0x42ae6c['isCollapsed']||_0x482f('0x11c')==_0x42ae6c['root']['rootName']||this[_0x482f('0x121')](_0x1dc934,_0x277cef,_0xce8a41,_0x42ae6c,_0x2d8b06[_0x482f('0x12a')]());return _0x139c16;}[_0x482f('0x1c')](_0x3fe5c7,_0x2a8f23){const _0x5bedb=_0x3fe5c7[_0x482f('0x45')]();this[_0x482f('0x70')][_0x482f('0x20')](_0x5dc844=>{_0x5dc844[_0x482f('0x26')](_0x5bedb,{'range':_0x2a8f23});});}[_0x482f('0x102')](_0x471b74){const _0x5525cc=_0x471b74['id'],_0x260772=this[_0x482f('0x116')][_0x482f('0x1a')][_0x482f('0x105')](_0x482f('0x9b'));this[_0x482f('0xa7')][_0x482f('0xd7')](_0x5525cc)||this[_0x482f('0xa7')][_0x482f('0xb')]({'channelId':_0x260772,'threadId':_0x5525cc,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x4f0c34=this[_0x482f('0xa7')][_0x482f('0xe8')](_0x5525cc);_0x4f0c34['unbind']('isRemovable'),_0x4f0c34[_0x482f('0x11a')]=!0x1,_0x471b74['commentThread']=_0x4f0c34;}[_0x482f('0x4')](_0x26181f,_0x5a0caa,_0x24cd8c,_0x164f15){if(_0x26181f[_0x482f('0x88')]!=_0x5a0caa||_0x26181f[_0x482f('0x86')]!=_0x24cd8c||_0x26181f[_0x482f('0x49')]['id']!=_0x164f15)throw this[_0x482f('0x116')]['enableReadOnlyMode'](_0x482f('0x73')),new _0x392c05('track-changes-suggestion-data-mismatch',this);}[_0x482f('0x12d')](_0x25c9ef,_0x2d41e3){const _0x4d3283=_0x25c9ef[_0x482f('0x1d')]();if(_0x2d41e3[_0x482f('0x94')](_0x4d3283))_0x25c9ef[_0x482f('0xb2')]();else{if(_0x4d3283[_0x482f('0xf1')](_0x2d41e3)){const _0x33fd37=this['_model'][_0x482f('0x123')](_0x2d41e3[_0x482f('0x15')]['nodeBefore'],_0x482f('0xe4'));this[_0x482f('0x1c')](_0x25c9ef,this[_0x482f('0x70')][_0x482f('0x77')](_0x4d3283[_0x482f('0x15')],_0x33fd37));const _0x2761a6=_0x57ce2b(),_0x1a8744=_0x25c9ef['creator']['id'],_0x3500ab=_0x25c9ef['type']+':'+_0x25c9ef[_0x482f('0x86')];this['_setSuggestionData']({'id':_0x2761a6,'type':_0x3500ab,'createdAt':new Date(),'authorId':_0x1a8744,'data':_0x25c9ef[_0x482f('0x9')],'attributes':_0x25c9ef[_0x482f('0xb9')]});const _0x45731a=this[_0x482f('0x70')][_0x482f('0x123')](_0x2d41e3[_0x482f('0xe4')][_0x482f('0xae')],'after'),_0x36bd7b=this[_0x482f('0x70')]['createRange'](_0x45731a,_0x4d3283[_0x482f('0xe4')]);this[_0x482f('0x121')](_0x3500ab,_0x2761a6,_0x1a8744,_0x36bd7b);}else{if(_0x4d3283[_0x482f('0x134')](_0x2d41e3[_0x482f('0x15')])){const _0x130c44=this[_0x482f('0x70')]['createPositionAt'](_0x2d41e3[_0x482f('0x15')][_0x482f('0x3d')],_0x482f('0xe4'));this[_0x482f('0x1c')](_0x25c9ef,this[_0x482f('0x70')]['createRange'](_0x4d3283['start'],_0x130c44));}else{const _0x3ae968=this[_0x482f('0x70')]['createPositionAt'](_0x2d41e3[_0x482f('0xe4')]['parent'],_0x482f('0x138'));this[_0x482f('0x1c')](_0x25c9ef,this[_0x482f('0x70')]['createRange'](_0x3ae968,_0x4d3283[_0x482f('0xe4')]));}}}}[_0x482f('0x23')](_0x4c3858){for(const {suggestion:_0x324063,meta:_0x2e3846}of this[_0x482f('0x29')](_0x4c3858,_0x482f('0xee'))){if(!_0x2e3846[_0x482f('0xf8')])continue;const _0x3b1d1d=_0x324063['getRanges']();for(const _0x32c8ce of _0x3b1d1d)if(!_0x4c3858[_0x482f('0x6')](_0x32c8ce)[_0x482f('0x9f')])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x43155b){const _0x2d5db7=this[_0x482f('0x116')][_0x482f('0xa1')]['get'](_0x482f('0x4f'))[_0x482f('0x2c')](_0x43155b);if(!_0x2d5db7)throw new _0x392c05(_0x482f('0xfa'),this);return _0x2d5db7;}[_0x482f('0xd6')](_0x4a2392){const _0x537b1f=this[_0x482f('0x116')][_0x482f('0xa1')][_0x482f('0x105')]('Users'),_0xc9dc92=_0x34bb0e('external:'+_0x4a2392),_0x47e7b7=_0x537b1f[_0x482f('0x2c')](_0xc9dc92);return _0x47e7b7||_0x537b1f[_0x482f('0x137')]({'id':_0xc9dc92,'name':_0x4a2392});}['_createSuggestion'](_0x2d323c,_0x3db58d,_0x28bdcf,_0x45eaea,_0x31a0c4){const _0x27f266=this[_0x482f('0xeb')](_0x45eaea),_0x378bac=this[_0x482f('0x66')][_0x482f('0x144')](_0x2d323c,_0x3db58d,_0x28bdcf,_0x27f266,_0x31a0c4,_0x18e25b=>this[_0x482f('0xb6')](_0x28bdcf,{'attributes':_0x18e25b}));return this[_0x482f('0x24')](_0x378bac,'accept',()=>{this['_updateSuggestionData'](_0x28bdcf,{'state':_0x482f('0xd9')});},{'priority':_0x482f('0x5b')}),this[_0x482f('0x24')](_0x378bac,_0x482f('0xa6'),()=>{this['_updateSuggestionData'](_0x28bdcf,{'state':_0x482f('0x13a')});},{'priority':_0x482f('0x5b')}),this[_0x482f('0x125')][_0x482f('0x65')](_0x28bdcf,_0x378bac),this['_suggestionState'][_0x482f('0x65')](_0x378bac,_0x482f('0xf9')),_0x378bac;}[_0x482f('0x112')](_0x4e53c2){const _0x5b9d59=_0x4e53c2['split'](':');return{'group':_0x5b9d59[0x0],'type':_0x5b9d59[0x1],'subType':_0x5b9d59[_0x482f('0x9f')]>=0x5?_0x5b9d59[0x2]:null,'id':_0x5b9d59['length']<0x5?_0x5b9d59[0x2]:_0x5b9d59[0x3],'authorId':_0x5b9d59[_0x482f('0x9f')]<0x5?_0x5b9d59[0x3]:_0x5b9d59[0x4],'markerCount':0x6==_0x5b9d59['length']?_0x5b9d59[0x5]:null};}[_0x482f('0xff')](_0x5f3699,_0x44e27f,_0x2e29cf){const _0x13165b=_0x5f3699[_0x482f('0x1d')](),_0x40c5ac=_0x13165b['start'],_0x33159e=_0x13165b[_0x482f('0xe4')];this[_0x482f('0x1c')](_0x5f3699,this[_0x482f('0x70')]['createRange'](_0x40c5ac,_0x44e27f));const _0x16625c=_0x57ce2b(),_0x1decb8=_0x5f3699[_0x482f('0x49')]['id'],_0x2877a5=_0x5f3699[_0x482f('0x88')]+(_0x5f3699[_0x482f('0x86')]?':'+_0x5f3699[_0x482f('0x86')]:'');this[_0x482f('0x113')]({'id':_0x16625c,'type':_0x2877a5,'createdAt':new Date(),'authorId':_0x1decb8,'originalSuggestionId':_0x5f3699['id'],'attributes':_0x5f3699[_0x482f('0xb9')],'data':_0x5f3699[_0x482f('0x9')]}),'formatBlock'==_0x5f3699[_0x482f('0x88')]&&(_0x2e29cf=this['_model'][_0x482f('0xe1')](_0x2e29cf[_0x482f('0xae')])),this[_0x482f('0x121')](_0x2877a5,_0x16625c,_0x1decb8,this[_0x482f('0x70')][_0x482f('0x77')](_0x2e29cf,_0x33159e));}['_findSuggestions'](_0x3c35d3,_0x172b6c=null){const _0x139c34=[],_0x52d02e=this[_0x482f('0x116')][_0x482f('0xa1')][_0x482f('0x105')](_0x482f('0x4f'))['me'];Array['isArray'](_0x3c35d3)||(_0x3c35d3=[_0x3c35d3]);for(const _0x45735f of this['getSuggestions']()){if(!_0x45735f['isInContent'])continue;if(_0x172b6c&&_0x45735f['type']!=_0x172b6c)continue;let _0x151167=!0x1;for(const _0x159606 of _0x45735f[_0x482f('0x44')]()){for(const _0x4aee36 of _0x3c35d3){const _0x4d6288=_0x4aee36[_0x482f('0x15')][_0x482f('0x94')](_0x159606[_0x482f('0xe4')])||_0x4aee36[_0x482f('0xe4')]['isEqual'](_0x159606[_0x482f('0x15')]);if(_0x4d6288||_0x4aee36[_0x482f('0xbc')](_0x159606)){const _0x5a7519=_0x4aee36[_0x482f('0xf1')](_0x159606)&&_t(this[_0x482f('0x70')][_0x482f('0x11b')],_0x159606[_0x482f('0x15')],_0x4aee36),_0x247dd3=_0x159606[_0x482f('0xf1')](_0x4aee36)&&_t(this['_model'][_0x482f('0x11b')],_0x4aee36['start'],_0x159606);_0x139c34[_0x482f('0x8f')]({'suggestion':_0x45735f,'meta':{'isOwn':_0x52d02e==_0x45735f['author'],'isNextTo':_0x4d6288,'isInsideObject':_0x5a7519,'containsRangeInObject':_0x247dd3}}),_0x151167=!0x0;break;}}if(_0x151167)break;}}return _0x139c34;}[_0x482f('0x121')](_0x4d77c4,_0x552950,_0x578cb3,_0x587431,_0x1c57e8){this['_model'][_0x482f('0x20')](_0x164351=>{let _0x43abf4=_0x482f('0x43')+_0x4d77c4+':'+_0x552950+':'+_0x578cb3;_0x1c57e8&&(_0x43abf4=_0x43abf4+':'+_0x1c57e8),_0x164351['addMarker'](_0x43abf4,{'range':_0x587431,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x482f('0x135')](_0x2d904e){const _0x3f403e=_0x2d904e[_0x482f('0x3e')],_0x217a67=_0x2d904e[_0x482f('0x8')];_0x2d904e[_0x482f('0x3e')]=null,null!=_0x3f403e&&(_0x3f403e['next']=null),_0x2d904e[_0x482f('0x8')]=null,null!=_0x217a67&&(_0x217a67['previous']=null),_0x482f('0xdf')==this[_0x482f('0x92')][_0x482f('0x105')](_0x2d904e)&&(this[_0x482f('0x92')]['set'](_0x2d904e,_0x482f('0x6d')),this['fire']('suggestionUnloaded',_0x2d904e,_0x3f403e,_0x217a67));}['_setSuggestionData'](_0x50de74){const _0x4e5614=_0x50de74['id'],_0x977a1a=this[_0x482f('0x6b')](_0x50de74);if(this[_0x482f('0x128')]&&this['_adapter'][_0x482f('0x58')]){const _0x22afed=this[_0x482f('0x116')][_0x482f('0xa1')][_0x482f('0x105')]('PendingActions'),_0x3bd5bc=_0x977a1a[_0x482f('0xad')],_0x38e52d=_0x977a1a[_0x482f('0x86')]?_0x977a1a[_0x482f('0x88')]+':'+_0x977a1a[_0x482f('0x86')]:_0x977a1a[_0x482f('0x88')],_0xfab5ae=this[_0x482f('0x116')][_0x482f('0xd2')],_0x1fa33e=_0x22afed[_0x482f('0x48')](_0x4d639(_0xfab5ae,_0x482f('0x114'))),_0x1a41de={'id':_0x4e5614,'type':_0x38e52d,'hasComments':_0x3bd5bc,'data':_0x50de74['data']||null,'originalSuggestionId':_0x50de74[_0x482f('0x25')]||null,'attributes':_0x977a1a['attributes']};this[_0x482f('0x128')][_0x482f('0x58')](_0x1a41de)[_0x482f('0x6a')](_0x3a5bd2=>{_0x977a1a[_0x482f('0x85')]=!0x0,_0x22afed[_0x482f('0x37')](_0x1fa33e),_0x3a5bd2&&_0x3a5bd2[_0x482f('0xf3')]&&(this[_0x482f('0x125')]['get'](_0x4e5614)[_0x482f('0xf3')]=_0x3a5bd2[_0x482f('0xf3')]);})[_0x482f('0x109')](_0x1efb64=>{throw _0x1715ef(_0x482f('0x124')),this[_0x482f('0x116')][_0x482f('0x127')][_0x482f('0x11f')]({'isUndoable':!0x1},()=>{_0x977a1a[_0x482f('0xa6')]();}),_0x977a1a[_0x482f('0x6c')](),this[_0x482f('0x125')][_0x482f('0x64')](_0x977a1a['id']),this[_0x482f('0x92')][_0x482f('0x64')](_0x977a1a),_0x1efb64;});}return _0x977a1a;}[_0x482f('0xb6')](_0x147db6,_0x1ce036){const _0x3c4cf4=this[_0x482f('0x116')][_0x482f('0xa1')][_0x482f('0x105')](_0x482f('0x133')),_0x4c1428=this[_0x482f('0x122')](_0x147db6);if(this['_adapter']&&this[_0x482f('0x128')][_0x482f('0x38')]){if(_0x4c1428[_0x482f('0x85')]){const _0x584bad=_0x3c4cf4[_0x482f('0x48')](_0x4d639(this[_0x482f('0x116')][_0x482f('0xd2')],_0x482f('0x114')));this[_0x482f('0x128')]['updateSuggestion'](_0x147db6,_0x1ce036)['then'](()=>{_0x3c4cf4[_0x482f('0x37')](_0x584bad);});}else _0x4c1428['on'](_0x482f('0xc'),()=>{this['_updateSuggestionData'](_0x147db6,_0x1ce036);});}}['_getSuggestionData'](_0x4dc102){if(!this[_0x482f('0x128')]||!this[_0x482f('0x128')][_0x482f('0x122')])throw new _0x392c05(_0x482f('0x56'),this);return this[_0x482f('0x128')][_0x482f('0x122')](_0x4dc102);}['_handleNewSuggestionMarker'](_0x59d29e){const {id:_0x4293ec,type:_0x5bd20b,subType:_0x5b1370,authorId:_0x5b0b42}=this['_splitMarkerName'](_0x59d29e),_0xde2a=this[_0x482f('0x125')][_0x482f('0x105')](_0x4293ec)||this[_0x482f('0x141')](_0x5bd20b,_0x5b1370,_0x4293ec,_0x5b0b42,{});switch(this[_0x482f('0x4')](_0xde2a,_0x5bd20b,_0x5b1370,_0x5b0b42),this[_0x482f('0x92')][_0x482f('0x105')](_0xde2a)){case _0x482f('0xf9'):this[_0x482f('0x13d')](_0x4293ec)[_0x482f('0x6a')](_0x1421fa=>{let _0x313b87=Promise[_0x482f('0x117')]();_0x1421fa[_0x482f('0xad')]&&(_0x313b87=this[_0x482f('0xa7')][_0x482f('0x119')]({'channelId':this[_0x482f('0x116')][_0x482f('0x1a')][_0x482f('0x105')](_0x482f('0x9b')),'threadId':_0x4293ec})),_0x313b87[_0x482f('0x6a')](()=>{this[_0x482f('0x6b')](_0x1421fa)[_0x482f('0x85')]=!0x0;});}),this[_0x482f('0x92')]['set'](_0xde2a,_0x482f('0xfe'));break;case _0x482f('0x6d'):this[_0x482f('0xb6')](_0x4293ec,{'state':_0x482f('0xe3')});case _0x482f('0x13b'):this[_0x482f('0x92')][_0x482f('0x65')](_0xde2a,_0x482f('0xdf')),this[_0x482f('0x22')](_0x482f('0xc2'),_0xde2a);break;case _0x482f('0xdf'):this[_0x482f('0x22')](_0x482f('0x2a'),_0xde2a);}return _0xde2a['addMarkerName'](_0x59d29e),_0xde2a;}[_0x482f('0x11d')](_0x3b7cc5){const _0x5d9510=Array[_0x482f('0xc4')](_0x3b7cc5)[_0x482f('0x61')](_0x569b7e=>!_0x569b7e[_0x482f('0xcc')]),_0x36db50=this[_0x482f('0x78')]({'skipNotAttached':!0x0})[_0x482f('0x61')](_0x261ff2=>!_0x261ff2[_0x482f('0xcc')]),_0x335c79=_0x36db50['filter'](_0x5f3b6d=>!_0x3b7cc5[_0x482f('0xf6')](_0x5f3b6d)),_0x2be53e=new Map(_0x36db50[_0x482f('0xa2')](_0x4b6530=>[_0x4b6530,this[_0x482f('0x66')][_0x482f('0x34')](_0x4b6530[_0x482f('0x88')],_0x4b6530['subType'],_0x482f('0x2f'))])),_0xcb138=new Map(_0x36db50[_0x482f('0xa2')](_0x1496fb=>[_0x1496fb,_0x1496fb[_0x482f('0x1d')]()])),_0x1f129d=new Set(),_0x9616b3=new Set();for(let _0x45b250=0x0;_0x45b250<_0x5d9510[_0x482f('0x9f')];_0x45b250++)_0x5e505c(_0x5d9510[_0x45b250],_0x5d9510,_0x45b250+0x1);for(let _0x50a4ff=0x0;_0x50a4ff<_0x5d9510['length'];_0x50a4ff++)_0x5e505c(_0x5d9510[_0x50a4ff],_0x335c79,0x0);for(let _0x2307a1=0x0;_0x2307a1<_0x5d9510[_0x482f('0x9f')];_0x2307a1++){const _0x20d36a=_0x5d9510[_0x2307a1];!_0x9616b3[_0x482f('0xf6')](_0x20d36a)&&_0x20d36a[_0x482f('0x3e')]&&(_0x20d36a['previous'][_0x482f('0x8')]===_0x20d36a&&(_0x20d36a[_0x482f('0x3e')][_0x482f('0x8')]=null),_0x20d36a[_0x482f('0x3e')]=null),!_0x1f129d[_0x482f('0xf6')](_0x20d36a)&&_0x20d36a[_0x482f('0x8')]&&(_0x20d36a[_0x482f('0x8')][_0x482f('0x3e')]===_0x20d36a&&(_0x20d36a[_0x482f('0x8')][_0x482f('0x3e')]=null),_0x20d36a['next']=null);}function _0x5e505c(_0x3c5263,_0x26d06b,_0x3d934e){for(let _0x4b6503=_0x3d934e;_0x4b6503<_0x26d06b[_0x482f('0x9f')];_0x4b6503++){const _0x5be31c=_0x550824(_0x3c5263,_0x26d06b[_0x4b6503]);_0x5be31c&&(_0x5be31c[0x0][_0x482f('0x8')]=_0x5be31c[0x1],_0x5be31c[0x1][_0x482f('0x3e')]=_0x5be31c[0x0],_0x1f129d['add'](_0x5be31c[0x0]),_0x9616b3[_0x482f('0x48')](_0x5be31c[0x1]));}}function _0x550824(_0x538fef,_0x165d74){if(_0x538fef[_0x482f('0xd3')]['id']!==_0x165d74['author']['id'])return null;const _0x10d566=_0x2be53e[_0x482f('0x105')](_0x538fef)(_0x538fef,_0x165d74,_0xcb138['get'](_0x538fef),_0xcb138['get'](_0x165d74));if(!_0x10d566)return null;return _0x2be53e[_0x482f('0x105')](_0x165d74)(_0x538fef,_0x165d74,_0xcb138[_0x482f('0x105')](_0x538fef),_0xcb138[_0x482f('0x105')](_0x165d74))?_0x10d566[0x1][_0x482f('0x110')]&&_0x10d566[0x1]['commentThread'][_0x482f('0x9f')]?null:_0x10d566:null;}}[_0x482f('0x107')](_0x7ce95e){const _0x4ae72f=Array[_0x482f('0xc4')](_0x7ce95e),_0x572feb=this[_0x482f('0x78')]({'skipNotAttached':!0x0}),_0x5ed840=_0x572feb['filter'](_0x42f37d=>!_0x7ce95e['has'](_0x42f37d)),_0x1b2540=new Map(_0x4ae72f['map'](_0x4ceb58=>[_0x4ceb58,this[_0x482f('0x66')][_0x482f('0x34')](_0x4ceb58[_0x482f('0x88')],_0x4ceb58['subType'],'join')])),_0x44b2d7=new Map(_0x572feb[_0x482f('0xa2')](_0x30ecf4=>[_0x30ecf4,_0x30ecf4[_0x482f('0x44')]()]));for(let _0x45d471=0x0;_0x45d471<_0x4ae72f['length'];_0x45d471++){if(_0x20dfc4(this,_0x4ae72f[_0x45d471],_0x4ae72f,_0x45d471+0x1))return!0x0;}for(let _0x31e2a3=0x0;_0x31e2a3<_0x4ae72f[_0x482f('0x9f')];_0x31e2a3++){if(_0x20dfc4(this,_0x4ae72f[_0x31e2a3],_0x5ed840,0x0))return!0x0;}return!0x1;function _0x20dfc4(_0x520113,_0xaa7545,_0x16213f,_0x183092){for(let _0xdf287d=_0x183092;_0xdf287d<_0x16213f[_0x482f('0x9f')];_0xdf287d++){const _0x30a2d9=_0x16213f[_0xdf287d];if(_0x30a2d9['type']!==_0xaa7545['type']||_0x30a2d9['author']['id']!==_0xaa7545['author']['id']||_0x30a2d9[_0x482f('0x86')]!==_0xaa7545['subType'])continue;if(!Ut(_0xaa7545,_0x30a2d9))continue;const _0x2fce71=_0x1b2540['get'](_0xaa7545),_0x6974b8=_0x44b2d7[_0x482f('0x105')](_0xaa7545),_0x501b4f=_0x44b2d7[_0x482f('0x105')](_0x30a2d9),_0x247f0c=_0xaa7545[_0x482f('0x110')]&&_0xaa7545['commentThread'][_0x482f('0x9f')],_0x4e67cd=_0x30a2d9[_0x482f('0x110')]&&_0x30a2d9[_0x482f('0x110')][_0x482f('0x9f')];if(!_0x247f0c&&_0x2fce71(_0x501b4f,_0x6974b8))return _0x520113['_joinSuggestions'](_0x30a2d9,_0xaa7545),_0x44b2d7['delete'](_0xaa7545),!0x0;if(!_0x4e67cd&&_0x2fce71(_0x6974b8,_0x501b4f))return _0x520113[_0x482f('0x142')](_0xaa7545,_0x30a2d9),_0x44b2d7[_0x482f('0x64')](_0x30a2d9),!0x0;}return!0x1;}}[_0x482f('0x142')](_0x2686c9,_0x39f5fc){if(_0x2686c9['isMultiRange'])for(const _0x3e2cce of _0x39f5fc[_0x482f('0x44')]())_0x2686c9[_0x482f('0x11e')](_0x3e2cce);else{const _0x75e774=_0x39f5fc['getFirstRange']()[_0x482f('0xe4')];this[_0x482f('0x1c')](_0x2686c9,this[_0x482f('0x70')][_0x482f('0x77')](_0x2686c9['getFirstRange']()[_0x482f('0x15')],_0x75e774));}_0x39f5fc[_0x482f('0xb2')]();}}class Bt{constructor(_0x2036bb){this[_0x482f('0xab')]=_0x2036bb,this[_0x482f('0x70')]=_0x2036bb[_0x482f('0x127')],this[_0x482f('0x4b')]=new Map(),this['_defaultCallbacks']=new Map(),this[_0x482f('0xfb')]();}[_0x482f('0x144')](_0x2042c9,_0x1b916c,_0x2f5083,_0x3df4ea,_0x55b9b1,_0x232936){return new _0x2d8b06(this['_model'],{'type':_0x2042c9,'subType':_0x1b916c,'id':_0x2f5083,'author':_0x3df4ea,'creator':_0x3df4ea,'attributes':_0x55b9b1,'onAttributesChange':_0x232936,'onAccept':(..._0xf7e651)=>this[_0x482f('0x34')](_0x2042c9,_0x1b916c,'accept')(..._0xf7e651),'onDiscard':(..._0x3fc731)=>this['getSuggestionCallback'](_0x2042c9,_0x1b916c,'discard')(..._0x3fc731)});}['registerCustomCallback'](_0x6d71c4,_0x51e9bf,_0x46e492,_0x3b7836){const _0x3b14d0=_0x6d71c4+':'+_0x51e9bf+':'+_0x46e492;this[_0x482f('0x4b')][_0x482f('0x65')](_0x3b14d0,_0x3b7836);}['getSuggestionCallback'](_0x8e45e7,_0x59d22d,_0x518021){const _0x5520c5=_0x8e45e7+':'+_0x59d22d+':'+_0x518021;return this[_0x482f('0x4b')][_0x482f('0x105')](_0x5520c5)||this[_0x482f('0x8b')][_0x482f('0x105')](_0x8e45e7+':'+_0x518021);}[_0x482f('0xfb')](){const _0x2e4b80=()=>!0x1,_0x4dd649=_0x1a348c=>{_0x1a348c[_0x482f('0xdb')]((_0x4b8f7f,_0x137c58)=>_0x4b8f7f[_0x482f('0x15')][_0x482f('0x52')](_0x137c58[_0x482f('0x15')])?0x1:-0x1),this[_0x482f('0x70')]['change'](_0x30e16f=>{for(const _0x43c9e5 of _0x1a348c){let _0x2cd1a6;_0x2cd1a6=_0x43c9e5[_0x482f('0xe4')][_0x482f('0x13c')]&&_0x43c9e5[_0x482f('0xe4')][_0x482f('0xae')]==_0x43c9e5[_0x482f('0x15')]['nodeAfter']?_0x30e16f[_0x482f('0xc1')](_0x43c9e5[_0x482f('0x15')][_0x482f('0xda')],'on'):_0x30e16f[_0x482f('0xc1')](_0x43c9e5),this[_0x482f('0x70')][_0x482f('0xc9')](_0x2cd1a6,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x3d80fa=(_0x26bfba,_0x548e12)=>{this[_0x482f('0x70')][_0x482f('0x20')](_0x380d76=>{const {commandName:_0x12e301,commandParams:_0x58ede8=[]}=_0x548e12,_0xbffba4=_0x26bfba[_0x482f('0xa2')](_0x50207b=>(Mt(_0x50207b)&&(_0x50207b=this[_0x482f('0x70')][_0x482f('0x77')](_0x50207b[_0x482f('0xe4')])),_0x50207b))[_0x482f('0x61')](_0x391730=>_0x482f('0x11c')!==_0x391730[_0x482f('0x90')][_0x482f('0x54')]);if(_0xbffba4[_0x482f('0x9f')]<0x1)return;const _0xc9355c=Array[_0x482f('0xc4')](this[_0x482f('0x70')][_0x482f('0x140')][_0x482f('0x87')][_0x482f('0x44')]())[_0x482f('0xa2')](_0x531629=>_0x2be343['fromRange'](_0x531629));_0x380d76[_0x482f('0x3c')](_0xbffba4);for(const _0x175386 of this[_0x482f('0xab')][_0x482f('0x120')][_0x482f('0x120')]())_0x175386[_0x482f('0xc7')]();_0x58ede8[_0x482f('0x8f')]({'forceDefaultExecution':!0x0}),this[_0x482f('0xab')][_0x482f('0x27')](_0x12e301,..._0x58ede8);const _0x1b3f8f=_0xc9355c['filter'](_0x520473=>'$graveyard'!=_0x520473[_0x482f('0x90')][_0x482f('0x54')]);_0x1b3f8f['length']>0x0&&_0x380d76[_0x482f('0x3c')](_0x1b3f8f);for(const _0x480904 of _0xc9355c)_0x480904[_0x482f('0xf2')]();});},_0x16fdc6=(_0x6dbd51,_0x20d187)=>0x1==_0x6dbd51[_0x482f('0x9f')]&&0x1==_0x20d187[_0x482f('0x9f')]&&_0x6dbd51[0x0][_0x482f('0xe4')]['isEqual'](_0x20d187[0x0][_0x482f('0x15')]),_0x3bc6be=(_0xd037e3,_0x500852,_0x1f4a95,_0x37b625)=>xt(_0xd037e3,_0x500852,_0x1f4a95,_0x37b625,this[_0x482f('0x70')])?[_0xd037e3,_0x500852]:xt(_0x500852,_0xd037e3,_0x37b625,_0x1f4a95,this[_0x482f('0x70')])?[_0x500852,_0xd037e3]:null;this[_0x482f('0x8b')][_0x482f('0x65')](_0x482f('0x10a'),_0x2e4b80),this[_0x482f('0x8b')][_0x482f('0x65')](_0x482f('0xe0'),_0x4dd649),this['_defaultCallbacks'][_0x482f('0x65')](_0x482f('0x12b'),_0x16fdc6),this[_0x482f('0x8b')][_0x482f('0x65')](_0x482f('0xec'),_0x3bc6be),this['_defaultCallbacks'][_0x482f('0x65')]('deletion:accept',_0x4dd649),this[_0x482f('0x8b')][_0x482f('0x65')](_0x482f('0x93'),_0x2e4b80),this['_defaultCallbacks'][_0x482f('0x65')](_0x482f('0xa'),_0x16fdc6),this[_0x482f('0x8b')]['set'](_0x482f('0xa0'),_0x3bc6be),this[_0x482f('0x8b')][_0x482f('0x65')](_0x482f('0x83'),_0x3d80fa),this[_0x482f('0x8b')]['set']('formatInline:discard',_0x2e4b80),this[_0x482f('0x8b')][_0x482f('0x65')](_0x482f('0x108'),_0x16fdc6),this[_0x482f('0x8b')][_0x482f('0x65')](_0x482f('0xd4'),_0x2e4b80),this['_defaultCallbacks'][_0x482f('0x65')](_0x482f('0x55'),_0x3d80fa),this[_0x482f('0x8b')][_0x482f('0x65')](_0x482f('0xb1'),_0x2e4b80),this['_defaultCallbacks'][_0x482f('0x65')](_0x482f('0x9e'),_0x16fdc6),this[_0x482f('0x8b')][_0x482f('0x65')](_0x482f('0x10c'),_0x2e4b80);}}function _t(_0x1240f5,_0x4c6a12,_0x4b8e54){for(const _0x31afc3 of _0x4c6a12['parent'][_0x482f('0x129')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x31afc3[_0x482f('0x90')]==_0x31afc3)return!0x1;if(!_0x4b8e54[_0x482f('0x53')](_0x31afc3))return!0x1;if(_0x1240f5[_0x482f('0x143')](_0x31afc3)||_0x1240f5['isLimit'](_0x31afc3))return!0x0;}return!0x1;}function Mt(_0x3bcaa2){return _0x3bcaa2[_0x482f('0xe4')][_0x482f('0xae')]==_0x3bcaa2[_0x482f('0x15')][_0x482f('0xda')]&&_0x3bcaa2['end'][_0x482f('0x5f')];}function $t(_0x40afc2,_0x5474dd,_0x526049,_0x32691c){const _0x1e31d5=_0x262a43=>!_0x262a43[_0x482f('0x13e')]['is']('$textProxy')&&!_0x32691c[_0x482f('0x143')](_0x262a43[_0x482f('0x13e')]),_0x577b52=_0x40afc2[_0x482f('0x15')][_0x482f('0x10f')](_0x1e31d5),_0xeb4ab3=_0x40afc2[_0x482f('0xe4')][_0x482f('0x10f')](_0x1e31d5,{'direction':_0x482f('0x41')});return(!_0x40afc2[_0x482f('0x15')]['isEqual'](_0x577b52)||!_0x40afc2['end']['isEqual'](_0xeb4ab3))&&(_0x577b52[_0x482f('0x52')](_0xeb4ab3)?_0x526049[_0x482f('0x26')](_0x5474dd,{'range':_0x526049[_0x482f('0x77')](_0x577b52,_0xeb4ab3)}):_0x526049[_0x482f('0x60')](_0x5474dd),!0x0);}function Nt(_0x5e25a7){return _0x34bb0e(_0x5e25a7);}function Rt(_0x1353cd){const _0xe35f85=_0x1353cd['start'][_0x482f('0xda')];return _0xe35f85&&_0xe35f85['is'](_0x482f('0x3a'));}function jt(_0x19064d,_0x110a7b){const _0x56e311=_0x110a7b['schema']['isObject'](_0x19064d)||_0x110a7b[_0x482f('0x11b')][_0x482f('0x0')](_0x19064d);return _0x110a7b[_0x482f('0x77')](_0x110a7b[_0x482f('0x123')](_0x19064d,_0x482f('0x5c')),_0x56e311?_0x110a7b['createPositionAfter'](_0x19064d):_0x110a7b[_0x482f('0x123')](_0x19064d,_0x482f('0xe4')));}function xt(_0xbf1d5b,_0x3fa158,_0x4537a5,_0x19f079,_0x490717){if(!Ut(_0xbf1d5b,_0x3fa158))return!0x1;if(_0x4537a5[_0x482f('0xe4')][_0x482f('0x94')](_0x19f079['start']))return!0x0;if(_0xbf1d5b[_0x482f('0x88')]!=_0x3fa158[_0x482f('0x88')])return!0x1;if(!_0x4537a5['end'][_0x482f('0x95')](_0x19f079['start']))return!0x1;const _0x55c516=_0x490717['createRange'](_0x4537a5[_0x482f('0xe4')],_0x19f079['start'])[_0x482f('0x99')]();for(const _0x35e88a of _0x55c516)if([_0x482f('0xbf'),_0x482f('0xf0')][_0x482f('0x50')](_0x35e88a['type'])&&_0x490717[_0x482f('0x11b')][_0x482f('0xf5')](_0x35e88a[_0x482f('0x13e')]))return!0x1;return!0x0;}function Ut(_0x1182d5,_0x3c1c51){return!(!_0x1182d5[_0x482f('0x62')]||!_0x3c1c51[_0x482f('0x62')])&&_0x4f3464(_0x1182d5[_0x482f('0xb9')],_0x3c1c51[_0x482f('0xb9')]);}function Ot(_0x3c9f95,_0x4c2487){const _0x41ab17=Et(_0x3c9f95[_0x482f('0xb9')]),_0x443fb2=Et(_0x4c2487);if(!_0x3c9f95[_0x482f('0x62')])return!0x1;for(const _0x12d530 of Object['keys'](_0x443fb2))if(!_0x4f3464(_0x41ab17[_0x12d530],_0x443fb2[_0x12d530]))return!0x1;return!0x0;}function Et(_0x27379c){const _0x33d2c4=Object['assign']({},_0x27379c);return delete _0x33d2c4['skipNestingCheck'],delete _0x33d2c4['tablePasteChainId'],_0x33d2c4;}
23
+ const _0x2e2c=['plugins','isArray','_commentsRepository','range','removeMarkers','discardSelectedSuggestions','data','track-changes-suggestion-not-found','getSuggestion','_registerDefaultCallbacks','discard','some','_splitMarkerName','buildSuggestion','options','markers','getShiftedBy','delete','isInContent','markMultiRangeInsertion','insertContent','createdAt','getWalker','discardSuggestion','registerCustomCallback','isExternal','suggestion','assign','includes','head','updateSuggestion','_enabledCommands','createPositionBefore','insertion:accept','createElement','_updateSuggestionData','$graveyard','commandName','accept','$marker','ck-suggestion-marker','insert','getAttribute','unbind','rootName','stopListening','consume','_joinSuggestions','define','deleteContent','addMarker','getRange','elementEnd','split','conversion','move','every','formatBlock:chain','getSuggestions','addHighlight','removeMarker:suggestion:formatBlock','trackChanges.mergeNestedSuggestions','getAllAdjacentSuggestions','getLastMatchingPosition','getAncestors','dataToMarker','isAtEnd','formatBlock:','insertion:','fire','item','model','@external','hasCommentThread','getCustomProperty','open','then','toJSON','update:suggestion','authorName','removeClass','change:activeMarkers','document','multipleBlocks','getDifference','addCommentThread','createSelection','containsPosition','isCollapsed','getIntersection','markInsertion','_addSuggestionMarker','deletion:accept','writer','normal','originalSuggestionId','keys','data-suggestion','from','_cutOutSuggestionMarker','formatInline:discard','trackChangesCommand','set','removeMarker','rethrowUnexpectedError','isMultiRange','addMarker:suggestion:formatBlock','applyOperation','createRangeIn','fromCharCode','editor','default','stop','isOwn','containsRange','getRanges','_defaultCallbacks','_isDataLoaded','markMultiRangeDeletion','_createSuggestion','insertion:chain','reconvertMarker','group','locale','isRemovable','setTo','howMany','accepted','fromRange','never','_suggestionState','addRange','differ','toViewElement','dataDowncast','get','TrackChangesEditing','return','removed','suggestionChanged','insertion:join','formatInline:join','_rangeIsInLocalUserInsertion','isLocal','isUndo','enableCommand','_refreshSuggestionsChain','authoredAt','showSuggestionHighlights','elementStart','trackChanges','fetchCommentThread','PENDING_ACTION_SUGGESTION','_onDiscard','addMarker:suggestion','nodeBefore','acceptSelectedSuggestions','_getAuthorFromId','external:','commands','position','author','dataReady','insertion','ready','highest','getChanges','ck-suggestion-marker-','adapter','isDocumentOperation','addMarkerName','track-changes-adapter-missing-getsuggestion','subType','_setSuggestionRange','name','_model','multi','collaboration.channelId','marker-count','track-changes-user-not-found','clear','_removeSuggestion','getItems','_findSuggestions','addSuggestion','addComment','markerName','for','markMultiRangeBlockFormat','length','_handleNewSuggestionMarker','isAtStart','rejected','moveTargetPosition','_joinWithAdjacentSuggestions','notReady','addSuggestionData','schema','_trackFormatChanges','formatInline','_breakSuggestionMarker','suggestion:','add','_adapter','deletion:discard','high','markBlockFormat','markDeletion','trackChanges.trackFormatChanges','has','registerPostFixer','PendingActions','type','batch','ck-suggestion-marker--active','nodeAfter','element','previous','_suggestions','$textProxy','start','markerToHighlight','isInsideObject','root','_saved','insertion:discard','getFirstMarker','always','activeMarkers','getSuggestionCallback','splitPosition','suggestion-type','createRange','documentSelection','getNearestSelectionRange','values','next','editingDowncast','change','containsRangeInObject','markInlineFormat','sort','attributes','removeAttribute','skipNestingCheck','formatInline:','editing','getChangedMarkers','mapper','end','createPositionAfter','widget','formatBlock:discard','resolve','acceptSuggestion','track-changes-suggestion-data-mismatch','join','value','_mergeNestedSuggestions','creator','getUser','_setSuggestionData','updateMarker','push','low','listenTo','backward','map','CommentsRepository','newRange','_checkSuggestionCorrectness','_getSuggestionData','targetPosition','_getExternalAuthor','deletion','setSelection','unbindElementFromMarkerName','execute','catch','upcast','getMultiRangeId','change:data','consumable','detach','change:_saved','setAttribute','splice','getMarkers','chain','track-changes-adapter-already-set','addUser','parent','remove','config','Users','getFirstRange','markerReady','filter','clone','formatGroupId','forceDefaultExecution','formatBlock','createPositionAt','_descriptionFactory','isLimit','enableReadOnlyMode','isAfter','isObject','elementToElement','refresh','containerElement','addClass','suggestionUnloaded','deletion:chain','isEqual','isBefore','_suggestionFactory','_addThreadToSuggestion','_editor','oldRange','after','track-changes-command-not-found','_isForcedDefaultExecutionBlock','discardAllSuggestions','deletion:','hasComments','isBlock','getCommentThread','selection','isNextTo','commentThread','size'];(function(_0x2a8f6a,_0x2e2ce6){const _0xd7d5e8=function(_0xfdb2f6){while(--_0xfdb2f6){_0x2a8f6a['push'](_0x2a8f6a['shift']());}};_0xd7d5e8(++_0x2e2ce6);}(_0x2e2c,0x116));const _0xd7d5=function(_0x2a8f6a,_0x2e2ce6){_0x2a8f6a=_0x2a8f6a-0x0;let _0xd7d5e8=_0x2e2c[_0x2a8f6a];return _0xd7d5e8;};import{Plugin as _0x1eb152,PendingActions as _0x209ef7}from'ckeditor5/src/core';import{LiveRange as _0x4124e0}from'ckeditor5/src/engine';import{CKEditorError as _0x5f4b85,uid as _0x54a3ae,priorities as _0x44bf20,logWarning as _0x5bc8db}from'ckeditor5/src/utils';import{toWidget as _0x47eabb}from'ckeditor5/src/widget';import{Users as _0x440293,hashObject as _0x5f0bfa}from'ckeditor5-collaboration/src/collaboration-core';import _0x4991a5 from'./commands/trackchangescommand';import _0x1e97f5 from'./commands/acceptsuggestioncommand';import _0x3d70ca from'./commands/discardsuggestioncommand';import _0xc1bff from'./commands/executeonallsuggestionscommand';import _0x5dba22 from'./commands/executeonselectedsuggestionscommand';import _0x28f913 from'./suggestion';import _0x25ed08 from'./suggestiondescriptionfactory';import _0x2a06dd from'./integrations/aiassistant';import _0x334501 from'./integrations/alignment';import _0x47d74d from'./integrations/basicstyles';import _0x2069fb from'./integrations/blockquote';import _0x30d142 from'./integrations/ckbox';import _0x2bc8d9 from'./integrations/codeblock';import _0xc54738 from'./integrations/comments';import _0x34e739 from'./integrations/deletecommand';import _0x3f468e from'./integrations/documentlist';import _0x43617d from'./integrations/entercommand';import _0x4e32e6 from'./integrations/findandreplace';import _0x41de5a from'./integrations/font';import _0x587bb9 from'./integrations/formatpainter';import _0xdd1c53 from'./integrations/heading';import _0x29c16b from'./integrations/highlight';import _0x28a748 from'./integrations/horizontalline';import _0x231f89 from'./integrations/htmlembed';import _0x596956 from'./integrations/image';import _0x11e490 from'./integrations/imagereplace';import _0x42556f from'./integrations/importword';import _0x2084ad from'./integrations/indent';import _0xb6d4c1 from'./integrations/inputcommand';import _0x1fe9ea from'./integrations/link';import _0xe7b065 from'./integrations/list';import _0x35cc3b from'./integrations/listproperties';import _0x386b51 from'./integrations/mediaembed';import _0x189af9 from'./integrations/mention';import _0x466d4e from'./integrations/pagebreak';import _0x3557a4 from'./integrations/paragraph';import _0x5ea974 from'./integrations/removeformat';import _0x2b4018 from'./integrations/restrictededitingmode';import _0xfad2a7 from'./integrations/shiftentercommand';import _0x1479ad from'./integrations/standardeditingmode';import _0x373e7f from'./integrations/style';import _0x22020d from'./integrations/table';import _0x556f76 from'./integrations/tablemergesplit';import _0x317356 from'./integrations/tableheadings';import _0x5e86a9 from'./integrations/tableclipboard';import _0x4cba19 from'./integrations/tablecolumnresize';import _0x1ba043 from'./integrations/template';import _0x11d98d from'./integrations/tableofcontents';import _0x35d799 from'./integrations/title';import _0x5597b2 from'./integrations/undo';import{getTranslation as _0x767fc4}from'./utils/common-translations';import _0x5a5119 from'./integrations/tablecaption';import _0x12e613 from'./integrations/documentlistproperties';import _0x4d264a from'./integrations/tableproperties';import{isEqual as _0x4566a5}from'lodash-es';export default class p extends _0x1eb152{static get['requires'](){return['CommentsRepository',_0x440293,_0x209ef7,_0x2a06dd,_0x334501,_0x47d74d,_0x2069fb,_0x30d142,_0x2bc8d9,_0xc54738,_0x34e739,_0x3f468e,_0x12e613,_0x43617d,_0x4e32e6,_0x41de5a,_0x587bb9,_0xdd1c53,_0x29c16b,_0x28a748,_0x231f89,_0x596956,_0x11e490,_0x42556f,_0x2084ad,_0xb6d4c1,_0x1fe9ea,_0xe7b065,_0x35cc3b,_0x386b51,_0x189af9,_0x466d4e,_0x3557a4,_0x5ea974,_0x2b4018,_0xfad2a7,_0x1479ad,_0x373e7f,_0x22020d,_0x556f76,_0x317356,_0x5a5119,_0x5e86a9,_0x4cba19,_0x11d98d,_0x4d264a,_0x1ba043,_0x35d799,_0x5597b2];}static get['pluginName'](){return _0xd7d5('0xbe');}constructor(_0x19e4ec){function _0xf75006(_0x58c6d1){return _0x58c6d1[_0xd7d5('0x141')](_0x3453b3=>String[_0xd7d5('0xa3')](_0x3453b3))[_0xd7d5('0x136')]('');}super(_0x19e4ec),this[_0xd7d5('0x9c')]('activeMarkers',[]),this['on'](_0xd7d5('0x87'),(_0x1e1380,_0x64f2f3,_0x22ec04,_0x2d8c88)=>{this[_0xd7d5('0xe5')][_0xd7d5('0x124')](()=>{for(const _0x12f49c of[..._0x2d8c88,..._0x22ec04])this[_0xd7d5('0xe5')][_0xd7d5('0x45')][_0xd7d5('0x107')](_0x12f49c)&&_0x19e4ec[_0xd7d5('0x12c')][_0xd7d5('0xaf')](_0x12f49c);});}),this[_0xd7d5('0x19')]=new _0x25ed08(this[_0xd7d5('0xa4')][_0xd7d5('0x7d')][_0xd7d5('0xfb')],this[_0xd7d5('0xa4')]['locale']),this[_0xd7d5('0x101')]=null,this[_0xd7d5('0x26')]=new Bt(this[_0xd7d5('0xa4')]),this[_0xd7d5('0x110')]=new Map(),this[_0xd7d5('0x38')]=_0x19e4ec[_0xd7d5('0x36')][_0xd7d5('0xbd')](_0xd7d5('0x142')),this[_0xd7d5('0x55')]=new Set(),this[_0xd7d5('0xe5')]=this[_0xd7d5('0xa4')][_0xd7d5('0x7d')],this[_0xd7d5('0xb8')]=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,_0x19e4ec[_0xd7d5('0xf')][_0xd7d5('0x66')]('trackChanges.trackFormatChanges',_0xd7d5('0xa5')),this[_0xd7d5('0xfc')]=_0x19e4ec[_0xd7d5('0xf')][_0xd7d5('0xbd')](_0xd7d5('0x106')),_0x19e4ec[_0xd7d5('0xf')][_0xd7d5('0x66')]('trackChanges.mergeNestedSuggestions',!0x0),this[_0xd7d5('0x138')]=_0x19e4ec[_0xd7d5('0xf')]['get'](_0xd7d5('0x73')),this[_0xd7d5('0x9b')]=new _0x4991a5(_0x19e4ec,this[_0xd7d5('0x55')]),this[_0xf75006([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0xf75006([0x34,0x30,0x34,0x36,0x32,0x30,0x32,0x36]);}['init'](){const _0x3899f0=this[_0xd7d5('0xa4')];_0x3899f0['conversion'][_0xd7d5('0xf1')]('editingDowncast')['markerToHighlight']({'model':'suggestion','view':_0x164905=>{const {id:_0x48499b,type:_0x5b7a5d}=this['_splitMarkerName'](_0x164905[_0xd7d5('0xf0')]),_0x4369c8=[_0xd7d5('0x5e'),_0xd7d5('0xdd')+_0x5b7a5d];let _0x4b4daf=0xbb8;return this[_0xd7d5('0x11a')][_0xd7d5('0x52')](_0x164905[_0xd7d5('0xf0')])&&(_0x4369c8[_0xd7d5('0x13d')]('ck-suggestion-marker--active'),_0x4b4daf=0xbc2),_0xd7d5('0x148')==_0x5b7a5d&&(_0x4b4daf+=0x5),{'classes':_0x4369c8,'attributes':{'data-suggestion':_0x48499b},'priority':_0x4b4daf};}}),_0x3899f0['conversion'][_0xd7d5('0xf1')]('dataDowncast')[_0xd7d5('0x100')](_0x196f80=>{_0x196f80['on'](_0xd7d5('0xd0'),(_0x597ee7,_0x535c04,_0x3752ed)=>{if(!_0x3752ed[_0xd7d5('0x44')][_0xd7d5('0xca')])return;const _0x110305=_0x535c04['item'];if(!_0x110305)return;const _0x198777=_0x3752ed['mapper'][_0xd7d5('0xbb')](_0x110305);_0x3899f0[_0xd7d5('0x7d')]['schema'][_0xd7d5('0x1d')](_0x110305)&&_0x198777&&!_0x198777[_0xd7d5('0x80')](_0xd7d5('0x131'))&&_0x198777['is'](_0xd7d5('0x20'))&&_0x47eabb(_0x198777,_0x3752ed[_0xd7d5('0x93')]);},{'priority':'high'});}),_0x3899f0[_0xd7d5('0x6c')][_0xd7d5('0xf1')](_0xd7d5('0xbc'))[_0xd7d5('0x113')]({'model':'suggestion','view':(_0x209729,_0x45675a)=>{if(!_0x45675a[_0xd7d5('0x44')]['showSuggestionHighlights'])return null;const {type:_0x2fc1b2}=this['_splitMarkerName'](_0x209729[_0xd7d5('0xf0')]);return{'classes':[_0xd7d5('0x5e'),_0xd7d5('0xdd')+_0x2fc1b2],'priority':0xbb8};}});const _0x104239=({showActiveMarkers:_0x532fbb=!0x0}={})=>(_0x44f623,_0x37e3b4,_0x48375a)=>{if(!_0x37e3b4[_0xd7d5('0x7c')])return;if(_0x37e3b4[_0xd7d5('0x7c')]['is'](_0xd7d5('0x32')))return void _0x48375a[_0xd7d5('0x4')]['consume'](_0x37e3b4['item'],_0x44f623[_0xd7d5('0xe4')]);const _0x180414=_0x48375a[_0xd7d5('0x12e')]['toViewElement'](_0x37e3b4[_0xd7d5('0x7c')]);if(!(_0x37e3b4[_0xd7d5('0x7c')]['is'](_0xd7d5('0x10e'))&&_0x3899f0[_0xd7d5('0x7d')]['schema'][_0xd7d5('0x30')](_0x37e3b4[_0xd7d5('0x7c')])&&!_0x180414[_0xd7d5('0x80')](_0xd7d5('0x71'))))return;const {id:_0x51e142}=this[_0xd7d5('0x42')](_0x37e3b4['markerName']);_0x48375a[_0xd7d5('0x93')][_0xd7d5('0x21')]([_0xd7d5('0x5e'),'ck-suggestion-marker-formatBlock'],_0x180414),_0x48375a['writer'][_0xd7d5('0x7')](_0xd7d5('0x97'),_0x51e142,_0x180414),_0x48375a[_0xd7d5('0x12e')]['bindElementToMarker'](_0x180414,_0x37e3b4['markerName']),_0x532fbb&&(this[_0xd7d5('0x11a')][_0xd7d5('0x52')](_0x37e3b4[_0xd7d5('0xf0')])?_0x48375a[_0xd7d5('0x93')][_0xd7d5('0x21')](_0xd7d5('0x10c'),_0x180414):_0x48375a[_0xd7d5('0x93')]['removeClass'](_0xd7d5('0x10c'),_0x180414));for(const _0x3a4985 of _0x3899f0['model'][_0xd7d5('0xa2')](_0x37e3b4[_0xd7d5('0x7c')])[_0xd7d5('0xec')]())_0x48375a[_0xd7d5('0x4')][_0xd7d5('0x64')](_0x3a4985,_0x44f623[_0xd7d5('0xe4')]);_0x48375a[_0xd7d5('0x4')][_0xd7d5('0x64')](_0x37e3b4[_0xd7d5('0x7c')],_0x44f623['name']);};_0x3899f0[_0xd7d5('0x6c')]['for'](_0xd7d5('0xbc'))[_0xd7d5('0x100')](_0x1dff09=>{_0x1dff09['on'](_0xd7d5('0xa0'),(_0x1f4ae5,_0xea7636,_0x269e52)=>{_0x269e52['options'][_0xd7d5('0xca')]&&_0x104239({'showActiveMarkers':!0x1})(_0x1f4ae5,_0xea7636,_0x269e52);},{'priority':_0xd7d5('0xdb')});}),_0x3899f0['conversion'][_0xd7d5('0xf1')]('dataDowncast')['markerToData']({'model':_0xd7d5('0x50'),'view':(_0x9f7437,_0x3ff2b7)=>_0x3ff2b7[_0xd7d5('0x44')][_0xd7d5('0xca')]?null:{'group':_0xd7d5('0x50'),'name':_0x9f7437['substr'](0xb)}}),_0x3899f0[_0xd7d5('0x6c')][_0xd7d5('0xf1')](_0xd7d5('0x1'))[_0xd7d5('0x1e')]({'view':{'name':_0xd7d5('0x50'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x108979,{writer:_0x408484})=>{let _0xf8a66b=_0xd7d5('0xff')+_0x108979[_0xd7d5('0x60')](_0xd7d5('0x11d'))+':'+_0x108979['getAttribute']('id');return _0x108979[_0xd7d5('0x60')](_0xd7d5('0xe8'))&&(_0xf8a66b+=':'+_0x108979[_0xd7d5('0x60')](_0xd7d5('0xe8'))),_0x408484[_0xd7d5('0x58')](_0xd7d5('0x5d'),{'data-name':_0xf8a66b});}}),_0x3899f0['conversion']['for'](_0xd7d5('0x1'))[_0xd7d5('0x77')]({'view':'suggestion'}),_0x3899f0['conversion']['for']('editingDowncast')['add'](_0x55264=>{_0x55264['on'](_0xd7d5('0xa0'),_0x104239(),{'priority':_0xd7d5('0x103')});}),_0x3899f0[_0xd7d5('0x6c')][_0xd7d5('0xf1')](_0xd7d5('0x123'))['add'](_0x457873=>{_0x457873['on'](_0xd7d5('0x72'),(_0x40c390,_0x2122f3,_0x12c9e1)=>{const _0x21abc5=_0x12c9e1[_0xd7d5('0x12e')]['markerNameToElements'](_0x2122f3['markerName']);if(_0x21abc5)for(const _0x905b32 of _0x21abc5)_0x905b32['getCustomProperty'](_0xd7d5('0x71'))||(_0x12c9e1['writer'][_0xd7d5('0x86')]([_0xd7d5('0x5e'),'ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x905b32),_0x12c9e1[_0xd7d5('0x93')][_0xd7d5('0x129')](_0xd7d5('0x97'),_0x905b32),_0x12c9e1['mapper'][_0xd7d5('0x14a')](_0x905b32,_0x2122f3['markerName']));},{'priority':_0xd7d5('0x103')});}),_0x3899f0[_0xd7d5('0x7d')][_0xd7d5('0x88')][_0xd7d5('0x108')](_0x5359b0=>{let _0x30e053=!0x1;const _0x2551c5=Array[_0xd7d5('0x98')](_0x3899f0[_0xd7d5('0x7d')]['document'][_0xd7d5('0xba')][_0xd7d5('0x12d')]()),_0xa3b9ab=new Set();for(const {name:_0x1a07c5,data:_0x5bf057}of _0x2551c5){const {group:_0xce5dd8,type:_0x287f0f,id:_0x11e290}=this[_0xd7d5('0x42')](_0x1a07c5);if(_0xd7d5('0x50')!==_0xce5dd8)continue;const _0x40bc78=this[_0xd7d5('0x110')][_0xd7d5('0xbd')](_0x11e290);if(null!=_0x5bf057[_0xd7d5('0x143')]){_0xd7d5('0xfd')==_0x287f0f&&(_0x30e053=_0x30e053||$t(_0x5bf057[_0xd7d5('0x143')],_0x1a07c5,_0x5359b0,_0x3899f0[_0xd7d5('0x7d')][_0xd7d5('0xfb')]));if(_0x5bf057['newRange'][_0xd7d5('0x8e')]||_0xd7d5('0x5a')==_0x5bf057[_0xd7d5('0x143')][_0xd7d5('0x115')][_0xd7d5('0x62')]||_0xd7d5('0x17')==_0x287f0f&&!Rt(_0x5bf057[_0xd7d5('0x143')])||_0xd7d5('0x148')==_0x287f0f&&!(!Mt(_0x304195=_0x5bf057['newRange'])&&!function(_0x5370f9){return _0x5370f9[_0xd7d5('0x112')][_0xd7d5('0xd')]==_0x5370f9[_0xd7d5('0x12f')]['nodeBefore']&&_0x5370f9[_0xd7d5('0x112')][_0xd7d5('0x78')];}(_0x304195)))_0x5359b0[_0xd7d5('0x9d')](_0x1a07c5),_0x30e053=!0x0;else{if(!_0x40bc78||!_0x40bc78['isInContent'])continue;_0xa3b9ab[_0xd7d5('0x100')](_0x40bc78);}}}var _0x304195;return _0xa3b9ab[_0xd7d5('0x35')]>0x0&&(_0x30e053=!!this[_0xd7d5('0xf8')](_0xa3b9ab)||_0x30e053),_0x30e053;}),_0x3899f0[_0xd7d5('0x7d')][_0xd7d5('0x88')]['registerPostFixer'](_0x27d9f6=>{let _0x538845=!0x1;for(const _0x29e5ca of _0x3899f0[_0xd7d5('0x7d')]['document']['differ'][_0xd7d5('0xdc')]()){if(_0xd7d5('0x5f')!=_0x29e5ca[_0xd7d5('0x10a')])continue;const _0x18ae33=_0x29e5ca[_0xd7d5('0xd6')]['getShiftedBy'](_0x29e5ca[_0xd7d5('0xf3')]);if(_0x18ae33[_0xd7d5('0x78')])for(const _0x22b774 of this['_suggestions'][_0xd7d5('0x121')]()){if(_0x22b774['isMultiRange']||!_0x22b774[_0xd7d5('0x48')])continue;if(_0xd7d5('0x17')!=_0x22b774['type'])continue;const _0x11c703=_0x22b774[_0xd7d5('0x11')]();if(_0x11c703[_0xd7d5('0x112')]['parent']!=_0x11c703[_0xd7d5('0x12f')][_0xd7d5('0xd')]&&_0x11c703[_0xd7d5('0x12f')]['isEqual'](_0x29e5ca[_0xd7d5('0xd6')])){const _0x306937=_0x3899f0['model'][_0xd7d5('0x11e')](_0x11c703[_0xd7d5('0x112')],_0x18ae33);_0x27d9f6[_0xd7d5('0x13c')](_0x22b774[_0xd7d5('0x118')](),{'range':_0x306937}),_0x538845=!0x0;}}}return _0x538845;}),_0x3899f0[_0xd7d5('0x7d')]['markers']['on'](_0xd7d5('0x84'),(_0x4be1d6,_0x1d1b16,_0x3998fb)=>{if(null==_0x3998fb){const {id:_0x4f2d3c}=this['_splitMarkerName'](_0x1d1b16[_0xd7d5('0xe4')]),_0x24020b=this[_0xd7d5('0x110')][_0xd7d5('0xbd')](_0x4f2d3c);_0x24020b&&_0x24020b[_0xd7d5('0xe0')](_0x1d1b16['name']);}}),_0x3899f0['model'][_0xd7d5('0x88')]['on'](_0xd7d5('0x3'),()=>{const _0x1046c3=Array['from'](_0x3899f0['model'][_0xd7d5('0x88')][_0xd7d5('0xba')][_0xd7d5('0x12d')]())['filter'](_0x40a06e=>'suggestion'===this[_0xd7d5('0x42')](_0x40a06e['name'])[_0xd7d5('0xb0')]);if(0x0===_0x1046c3['length'])return;_0x1046c3['sort']((_0x147e3,_0x35596b)=>{const _0x1571c3=_0x147e3[_0xd7d5('0x3c')][_0xd7d5('0x29')],_0x5dadb2=_0x35596b[_0xd7d5('0x3c')][_0xd7d5('0x29')];return null===_0x1571c3&&null===_0x5dadb2?0x0:null===_0x1571c3&&null!==_0x5dadb2?-0x1:null!==_0x1571c3&&null===_0x5dadb2?0x1:_0x1571c3['start'][_0xd7d5('0x25')](_0x5dadb2['start'])?-0x1:0x1;});const _0xc612ed=new Set(),_0x53bb31=new Set();for(const {name:_0x9dfe22,data:_0x23b5cb}of _0x1046c3){const {id:_0x39935e}=this[_0xd7d5('0x42')](_0x9dfe22);if(null===_0x23b5cb['oldRange']){const _0x3558a8=this[_0xd7d5('0xf4')](_0x9dfe22);_0x53bb31['add'](_0x3558a8);}else{const _0x391895=this['_suggestions'][_0xd7d5('0xbd')](_0x39935e);null!==_0x23b5cb[_0xd7d5('0x143')]||_0x391895[_0xd7d5('0x48')]?(_0xc612ed[_0xd7d5('0x100')](_0x391895[_0xd7d5('0x53')]),_0x53bb31[_0xd7d5('0x100')](_0x391895)):this[_0xd7d5('0xeb')](_0x391895);}}_0x53bb31[_0xd7d5('0x35')]>0x0&&this['_refreshSuggestionsChain'](_0x53bb31);for(const _0x57c6b4 of _0xc612ed)this[_0xd7d5('0x7b')]('suggestionChanged',_0x57c6b4);}),_0x3899f0[_0xd7d5('0x7d')]['on'](_0xd7d5('0xa1'),(_0x48433a,_0x5c3a4b)=>{const _0x4ccf14=_0x5c3a4b[0x0];if(!this[_0xd7d5('0x110')][_0xd7d5('0x35')])return;if(!_0x4ccf14[_0xd7d5('0xdf')])return;if(_0x4ccf14[_0xd7d5('0x10b')][_0xd7d5('0xc6')]||!_0x4ccf14[_0xd7d5('0x10b')][_0xd7d5('0xc5')])return;let _0xdcf7c2,_0x127537;switch(_0x4ccf14[_0xd7d5('0x10a')]){case _0xd7d5('0x5f'):_0xdcf7c2=_0x3899f0[_0xd7d5('0x7d')]['createPositionAt'](_0x4ccf14[_0xd7d5('0xd6')]),_0x127537=_0xdcf7c2[_0xd7d5('0x46')](_0x4ccf14[_0xd7d5('0xb4')]);break;case'split':_0xdcf7c2=_0x3899f0[_0xd7d5('0x7d')][_0xd7d5('0x18')](_0x4ccf14[_0xd7d5('0x11c')]),_0x127537=_0x3899f0[_0xd7d5('0x7d')][_0xd7d5('0x18')](_0x4ccf14[_0xd7d5('0xf7')]);break;case _0xd7d5('0x6d'):_0xdcf7c2=_0x3899f0[_0xd7d5('0x7d')][_0xd7d5('0x18')](_0x4ccf14[_0xd7d5('0x146')]),_0x127537=_0xdcf7c2[_0xd7d5('0x46')](_0x4ccf14['howMany']);break;default:return;}const _0x4dc096=_0x3899f0[_0xd7d5('0x7d')][_0xd7d5('0x11e')](_0xdcf7c2,_0x127537);_0x3899f0[_0xd7d5('0x7d')][_0xd7d5('0x124')](()=>{for(const {suggestion:_0x1a5239,meta:_0x3a3262}of this[_0xd7d5('0xed')](_0x4dc096)){if(_0x1a5239[_0xd7d5('0x9f')])continue;if(_0xd7d5('0xfd')==_0x1a5239['type'])continue;const _0x4cf0c7=_0x1a5239[_0xd7d5('0x3c')]&&_0x1a5239['data'][_0xd7d5('0x89')];(_0xd7d5('0x17')!=_0x1a5239[_0xd7d5('0x10a')]||_0xd7d5('0x6b')==_0x4ccf14[_0xd7d5('0x10a')]&&!_0x4cf0c7)&&(_0x3a3262[_0xd7d5('0x125')]||'insertion'==_0x1a5239[_0xd7d5('0x10a')]&&_0x3a3262['isOwn']||_0x1a5239[_0xd7d5('0x11')]()['containsRange'](_0x4dc096)&&this[_0xd7d5('0xfe')](_0x1a5239,_0xdcf7c2,_0x127537));}});},{'priority':'lowest'}),_0x3899f0[_0xd7d5('0x7d')]['on'](_0xd7d5('0x67'),(_0x5724ca,_0x3cffda)=>{const _0x4e09ec=_0x3cffda[0x0],_0x242e00=_0x3cffda[0x1];if(_0x242e00&&_0x242e00[_0xd7d5('0x16')])return;if(this[_0xd7d5('0x2c')])return;if(!this[_0xd7d5('0x9b')][_0xd7d5('0x137')])return;if(_0x4e09ec['isCollapsed'])return;const _0x3db16a=_0x3899f0[_0xd7d5('0x7d')][_0xd7d5('0xfb')],{start:_0x332dca,end:_0x1733f6}=_0x4e09ec[_0xd7d5('0x11')](),_0x51b029=_0x332dca[_0xd7d5('0x10d')]&&_0x3db16a[_0xd7d5('0x1a')](_0x332dca['nodeAfter'])?null:_0x3db16a[_0xd7d5('0x120')](_0x332dca,'forward'),_0x1fbbd5=_0x1733f6['nodeBefore']&&_0x3db16a[_0xd7d5('0x1a')](_0x1733f6[_0xd7d5('0xd1')])?null:_0x3db16a['getNearestSelectionRange'](_0x1733f6,_0xd7d5('0x140')),_0xfcff65=_0x3899f0[_0xd7d5('0x7d')]['createRange'](_0x51b029?_0x51b029[_0xd7d5('0x112')]:_0x332dca,_0x1fbbd5?_0x1fbbd5[_0xd7d5('0x12f')]:_0x1733f6);_0x3899f0[_0xd7d5('0x7d')][_0xd7d5('0x124')](_0x4e2c3d=>{this[_0xd7d5('0x105')](_0xfcff65);const _0x483e66=_0x3899f0[_0xd7d5('0x7d')][_0xd7d5('0xfb')][_0xd7d5('0x120')](_0xfcff65[_0xd7d5('0x112')]);_0x4e09ec['is'](_0xd7d5('0x11f'))?_0x4e2c3d[_0xd7d5('0x149')](_0x483e66):_0x4e09ec[_0xd7d5('0xb3')](_0x483e66);}),_0x5724ca[_0xd7d5('0xa6')]();},{'priority':_0x44bf20[_0xd7d5('0x94')]+0xa}),_0x3899f0[_0xd7d5('0x7d')]['on'](_0xd7d5('0x4a'),(_0x569fa0,_0xd85f31)=>{const _0x159e1a=_0xd85f31[_0xd85f31[_0xd7d5('0xf3')]-0x1];_0x159e1a&&_0x159e1a[_0xd7d5('0x16')]||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand'][_0xd7d5('0x137')]&&(_0x3899f0[_0xd7d5('0x7d')][_0xd7d5('0x124')](()=>{let _0x52c3db=_0x3899f0[_0xd7d5('0x7d')]['insertContent'](_0xd85f31[0x0],_0xd85f31[0x1],_0xd85f31[0x2],{'forceDefaultExecution':!0x0});if(!_0x52c3db)return;_0x569fa0[_0xd7d5('0xbf')]=_0x52c3db[_0xd7d5('0x14')]();const _0x9ea6de=_0x52c3db[_0xd7d5('0x12f')][_0xd7d5('0xd1')],_0x1189ea=_0x3899f0['model']['schema'];_0x9ea6de&&_0x1189ea[_0xd7d5('0x30')](_0x9ea6de)&&!_0x1189ea[_0xd7d5('0x1d')](_0x9ea6de)&&(_0x52c3db=_0x3899f0['model']['createRange'](_0x52c3db[_0xd7d5('0x112')],_0x3899f0[_0xd7d5('0x7d')][_0xd7d5('0x18')](_0x9ea6de,_0xd7d5('0x12f')))),this[_0xd7d5('0x90')](_0x52c3db);}),_0x569fa0[_0xd7d5('0xa6')]());},{'priority':'high'}),this[_0xd7d5('0xa4')][_0xd7d5('0xd5')][_0xd7d5('0x100')](_0xd7d5('0xcc'),this[_0xd7d5('0x9b')]),this[_0xd7d5('0xc7')]('trackChanges');const _0xb155b5=new _0x1e97f5(_0x3899f0,this[_0xd7d5('0x110')]);_0x3899f0[_0xd7d5('0xd5')][_0xd7d5('0x100')](_0xd7d5('0x134'),_0xb155b5),this[_0xd7d5('0xc7')](_0xd7d5('0x134'));const _0xdae108=new _0x3d70ca(_0x3899f0,this[_0xd7d5('0x110')]);_0x3899f0['commands'][_0xd7d5('0x100')]('discardSuggestion',_0xdae108),this[_0xd7d5('0xc7')](_0xd7d5('0x4d')),_0x3899f0[_0xd7d5('0xd5')]['add']('acceptAllSuggestions',new _0xc1bff(_0x3899f0,_0xb155b5,this['_suggestions'])),this[_0xd7d5('0xc7')]('acceptAllSuggestions'),_0x3899f0[_0xd7d5('0xd5')][_0xd7d5('0x100')](_0xd7d5('0x2d'),new _0xc1bff(_0x3899f0,_0xdae108,this[_0xd7d5('0x110')])),this[_0xd7d5('0xc7')](_0xd7d5('0x2d')),_0x3899f0['commands']['add'](_0xd7d5('0xd2'),new _0x5dba22(_0x3899f0,_0xb155b5,this[_0xd7d5('0x110')])),this[_0xd7d5('0xc7')](_0xd7d5('0xd2')),_0x3899f0[_0xd7d5('0xd5')][_0xd7d5('0x100')](_0xd7d5('0x3b'),new _0x5dba22(_0x3899f0,_0xdae108,this[_0xd7d5('0x110')])),this[_0xd7d5('0xc7')]('discardSelectedSuggestions');const _0x404c1c=_0x3899f0[_0xd7d5('0x36')][_0xd7d5('0xbd')](_0xd7d5('0x142'));this[_0xd7d5('0x13f')](_0x404c1c,_0xd7d5('0xef'),(_0x545b3e,{threadId:_0x4779fb})=>{const _0x29f045=this[_0xd7d5('0x110')]['get'](_0x4779fb);_0x29f045&&_0x29f045['commentThread']&&0x1===_0x29f045[_0xd7d5('0x34')][_0xd7d5('0xf3')]&&this[_0xd7d5('0x59')](_0x4779fb,{'hasComments':!0x0});},{'priority':_0xd7d5('0x13e')}),this[_0xd7d5('0x13f')](_0x404c1c,'removeComment',(_0x1b0de8,{threadId:_0xb9665a})=>{const _0x3dc663=this[_0xd7d5('0x110')]['get'](_0xb9665a);_0x3dc663&&_0x3dc663[_0xd7d5('0x34')]&&!_0x3dc663['commentThread'][_0xd7d5('0xf3')]&&this['_updateSuggestionData'](_0xb9665a,{'hasComments':!0x1});},{'priority':'low'});}set[_0xd7d5('0xde')](_0x318370){if(this[_0xd7d5('0x101')])throw new _0x5f4b85(_0xd7d5('0xb'),this);this['_adapter']=_0x318370;}get[_0xd7d5('0xde')](){return this['_adapter'];}[_0xd7d5('0x70')]({skipNotAttached:_0x38ac2f=!0x1,toJSON:_0x59c663=!0x1}={}){const _0x482731=[];for(const _0x380232 of this[_0xd7d5('0x110')][_0xd7d5('0x121')]())_0x38ac2f&&!_0x380232['isInContent']||_0x482731[_0xd7d5('0x13d')](_0x380232);return _0x59c663?_0x482731[_0xd7d5('0x141')](_0x1c54df=>_0x1c54df[_0xd7d5('0x83')]()):_0x482731;}[_0xd7d5('0x3e')](_0x16e205){const _0x249e54=this[_0xd7d5('0x110')][_0xd7d5('0xbd')](_0x16e205);if(!_0x249e54)throw new _0x5f4b85(_0xd7d5('0x3d'),this);return _0x249e54;}['hasSuggestion'](_0x2e55d5){return this[_0xd7d5('0x110')][_0xd7d5('0x107')](_0x2e55d5);}[_0xd7d5('0xfa')](_0x523e18){const {authorId:_0x5256c8,id:_0x27a032,attributes:_0x390b06}=_0x523e18,[_0x3c0a8e,_0xb7880d]=_0x523e18[_0xd7d5('0x10a')][_0xd7d5('0x6b')](':'),_0x572f19=this[_0xd7d5('0x110')][_0xd7d5('0xbd')](_0x27a032)||this[_0xd7d5('0xad')](_0x3c0a8e,_0xb7880d,_0x27a032,_0x5256c8,_0x390b06);if(this['_addThreadToSuggestion'](_0x572f19),this['_checkSuggestionCorrectness'](_0x572f19,_0x3c0a8e,_0xb7880d||null,_0x5256c8),_0x572f19[_0xd7d5('0x4b')]=_0x523e18[_0xd7d5('0x4b')],_0x572f19[_0xd7d5('0xab')]=!0x0,_0x390b06&&_0x390b06[_0xd7d5('0x7e')]){const _0x58b958=_0x390b06['@external'],_0x1e6f71=this['_getExternalAuthor'](_0x58b958[_0xd7d5('0x85')]);_0x572f19[_0xd7d5('0xc9')]=_0x58b958[_0xd7d5('0x4b')],_0x572f19[_0xd7d5('0xd7')]=_0x1e6f71,_0x572f19[_0xd7d5('0x4f')]=!0x0;}else _0x572f19['authoredAt']=_0x523e18['createdAt'];switch(_0x523e18['data']&&(_0x572f19[_0xd7d5('0x3c')]=_0x523e18[_0xd7d5('0x3c')]),_0x523e18[_0xd7d5('0x128')]&&(_0x572f19[_0xd7d5('0x128')]=_0x523e18['attributes']),this['_adapter']&&this[_0xd7d5('0x101')][_0xd7d5('0xee')]||(_0x572f19['_saved']=!0x0),this[_0xd7d5('0xb8')][_0xd7d5('0xbd')](_0x572f19)){case _0xd7d5('0xf9'):this[_0xd7d5('0xb8')][_0xd7d5('0x9c')](_0x572f19,'dataReady');break;case _0xd7d5('0x12'):_0x572f19[_0xd7d5('0x48')]?(this['_refreshSuggestionsChain'](new Set([_0x572f19])),this[_0xd7d5('0xf8')](new Set([_0x572f19])),this['_suggestionState'][_0xd7d5('0x9c')](_0x572f19,_0xd7d5('0xda')),this[_0xd7d5('0x7b')]('suggestionLoaded',_0x572f19)):this[_0xd7d5('0xb8')][_0xd7d5('0x9c')](_0x572f19,'removed');}return _0x572f19;}[_0xd7d5('0x134')](_0x385d9b){this[_0xd7d5('0x16')](()=>{this[_0xd7d5('0xa4')][_0xd7d5('0x7d')][_0xd7d5('0x124')](()=>{for(const _0x5a0f5b of _0x385d9b[_0xd7d5('0x74')]())_0x5a0f5b[_0xd7d5('0x5c')]();});});}[_0xd7d5('0x4d')](_0x18ca70){this[_0xd7d5('0x16')](()=>{this[_0xd7d5('0xa4')][_0xd7d5('0x7d')]['change'](()=>{for(const _0x68b6a2 of _0x18ca70[_0xd7d5('0x74')]())_0x68b6a2[_0xd7d5('0x40')]();});});}['enableCommand'](_0x32a704,_0x106b58){const _0x5f06a7=this[_0xd7d5('0xa4')][_0xd7d5('0xd5')][_0xd7d5('0xbd')](_0x32a704);if(!_0x5f06a7)throw new _0x5f4b85(_0xd7d5('0x2b'),this,{'commandName':_0x32a704});this[_0xd7d5('0x55')][_0xd7d5('0x100')](_0x5f06a7),_0x106b58&&_0x5f06a7['on'](_0xd7d5('0x14b'),(_0x3ce8fb,_0x4d9509)=>{this[_0xd7d5('0x9b')][_0xd7d5('0x137')]&&(this[_0xd7d5('0x2c')]||_0x4d9509[_0xd7d5('0xf3')]>0x0&&_0x4d9509[_0x4d9509[_0xd7d5('0xf3')]-0x1]&&_0x4d9509[_0x4d9509['length']-0x1]['forceDefaultExecution']||(_0x106b58((..._0x524f0c)=>_0x5f06a7['execute'](..._0x524f0c,{'forceDefaultExecution':!0x0}),..._0x4d9509),_0x3ce8fb[_0xd7d5('0xa6')]()));},{'priority':_0xd7d5('0x103')});}[_0xd7d5('0x16')](_0x3837c2){let _0x22cccf,_0x1b5198;const _0x145351=this[_0xd7d5('0x2c')];this[_0xd7d5('0x2c')]=!0x0;try{_0x22cccf=_0x3837c2();}catch(_0x444c24){_0x1b5198=_0x444c24;}return _0x145351||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x1b5198&&_0x5f4b85[_0xd7d5('0x9e')](_0x1b5198,this),_0x22cccf;}[_0xd7d5('0x90')](_0x2cf9bc,_0x305239=null,_0x3e9c11={}){if(_0x2cf9bc['isCollapsed'])return null;const _0x1e2684=this[_0xd7d5('0xa4')]['plugins'][_0xd7d5('0xbd')]('Users')['me'];for(const {suggestion:_0x1249b1,meta:_0x2bc671}of this[_0xd7d5('0xed')](_0x2cf9bc,'insertion'))if(_0x2bc671[_0xd7d5('0xa7')]){if(!_0x2bc671['isNextTo']){if(_0x2bc671['containsRangeInObject']){if(!this[_0xd7d5('0x138')]||!Ot(_0x1249b1,_0x3e9c11))continue;return _0x1249b1;}if(Ot(_0x1249b1,_0x3e9c11))return _0x1249b1;this[_0xd7d5('0xfe')](_0x1249b1,_0x2cf9bc[_0xd7d5('0x112')],_0x2cf9bc[_0xd7d5('0x12f')]);break;}if(_0x305239==_0x1249b1[_0xd7d5('0xe2')]&&Ot(_0x1249b1,_0x3e9c11)){const _0x4f179f=_0x1249b1['getFirstRange']();return _0x4f179f[_0xd7d5('0x112')][_0xd7d5('0x24')](_0x2cf9bc['end'])?this[_0xd7d5('0xe3')](_0x1249b1,this['_model'][_0xd7d5('0x11e')](_0x2cf9bc['start'],_0x4f179f['end'])):this[_0xd7d5('0xe3')](_0x1249b1,this[_0xd7d5('0xe5')][_0xd7d5('0x11e')](_0x4f179f['start'],_0x2cf9bc[_0xd7d5('0x12f')])),_0x1249b1;}}const _0x841b35=_0x54a3ae(),_0x22263c=_0x1e2684['id'],_0x46af7d=_0x305239?_0xd7d5('0x7a')+_0x305239:_0xd7d5('0xd9'),_0x541468=this['_setSuggestionData']({'id':_0x841b35,'type':_0x46af7d,'createdAt':new Date(),'authorId':_0x22263c,'attributes':_0x3e9c11});return this[_0xd7d5('0x91')](_0x46af7d,_0x841b35,_0x22263c,_0x2cf9bc),_0x541468;}[_0xd7d5('0x49')](_0x3d534c,_0x2727c8=_0xd7d5('0xe6'),_0xbf40fd={}){const _0x4308cd=this[_0xd7d5('0xa4')][_0xd7d5('0x36')][_0xd7d5('0xbd')]('Users')['me'],_0x26518d=this[_0xd7d5('0x26')][_0xd7d5('0x11b')](_0xd7d5('0xd9'),_0x2727c8,_0xd7d5('0x136'));for(const _0x5b1efb of this[_0xd7d5('0x70')]())if(_0x5b1efb[_0xd7d5('0xd7')]['id']==_0x4308cd['id']&&_0xd7d5('0xd9')==_0x5b1efb[_0xd7d5('0x10a')]&&_0x5b1efb[_0xd7d5('0xe2')]==_0x2727c8&&Ot(_0x5b1efb,_0xbf40fd)&&(_0x26518d(_0x5b1efb[_0xd7d5('0xa9')](),_0x3d534c)||_0x26518d(_0x3d534c,_0x5b1efb[_0xd7d5('0xa9')]()))){for(const _0x50bceb of _0x3d534c)_0x5b1efb['addRange'](_0x50bceb);return _0x5b1efb;}for(const {suggestion:_0x4ff11e,meta:_0x36d955}of this['_findSuggestions'](_0x3d534c,_0xd7d5('0xd9'))){if(!_0x36d955[_0xd7d5('0xa7')])continue;if(!this['_mergeNestedSuggestions']&&_0x36d955['containsRangeInObject'])continue;if(!Ot(_0x4ff11e,_0xbf40fd))continue;let _0x3c8e5c=!0x0;for(const _0x442f8b of _0x4ff11e[_0xd7d5('0xa9')]())for(const _0xb50fab of _0x3d534c)if(!_0x442f8b[_0xd7d5('0xa8')](_0xb50fab)){_0x3c8e5c=!0x1;break;}if(_0x3c8e5c)return _0x4ff11e;}const _0x59e4da=_0x54a3ae(),_0x309543=_0x4308cd['id'],_0xd1145=_0xd7d5('0x7a')+_0x2727c8,_0x4c3f91=this[_0xd7d5('0x13b')]({'id':_0x59e4da,'type':_0xd1145,'createdAt':new Date(),'authorId':_0x309543,'attributes':_0xbf40fd});for(const _0x13eef7 of _0x3d534c)this[_0xd7d5('0x91')](_0xd1145,_0x59e4da,_0x309543,_0x13eef7,_0x28f913['getMultiRangeId']());return _0x4c3f91;}[_0xd7d5('0x126')](_0x57d5b4,_0x22757c,_0x51c182=null,_0x28b6e1={}){if(_0x51c182=_0x51c182||Nt(_0x22757c),_0x57d5b4[_0xd7d5('0x8e')])return null;if('never'===this[_0xd7d5('0xfc')]){const _0x378348=this[_0xd7d5('0x26')]['getSuggestionCallback']('formatInline',_0x51c182,_0xd7d5('0x5c'));return this[_0xd7d5('0x16')](()=>_0x378348([_0x57d5b4],_0x22757c,_0x28b6e1)),null;}const _0x4f818a=this['editor'][_0xd7d5('0x36')][_0xd7d5('0xbd')](_0xd7d5('0x10'))['me'],_0x15af73=[];if(_0xd7d5('0x119')!==this[_0xd7d5('0xfc')])for(const {suggestion:_0x23fd96,meta:_0x13b1af}of this[_0xd7d5('0xed')](_0x57d5b4,_0xd7d5('0xd9')))_0x13b1af[_0xd7d5('0xa7')]&&!_0x13b1af[_0xd7d5('0x114')]&&_0x15af73[_0xd7d5('0x13d')](..._0x23fd96[_0xd7d5('0xa9')]());const _0x5c2096=function(_0x3f6452,_0x583718){const _0x597ef8=[];for(const _0x5fc522 of _0x583718){const _0x1d8e39=_0x3f6452[_0xd7d5('0x8f')](_0x5fc522);_0x1d8e39&&_0x597ef8[_0xd7d5('0x13d')](_0x1d8e39);}return _0x597ef8;}(_0x57d5b4,_0x15af73),_0x5be3d3=function(_0x367266,_0x275502){const _0x4edce3=[_0x367266];for(const _0x20ebbf of _0x275502){let _0x4e1232=0x0;for(;_0x4e1232<_0x4edce3['length'];){const _0x18daea=_0x4edce3[_0x4e1232][_0xd7d5('0x8a')](_0x20ebbf);_0x4edce3[_0xd7d5('0x8')](_0x4e1232,0x1,..._0x18daea),_0x4e1232+=_0x18daea[_0xd7d5('0xf3')];}}return _0x4edce3;}(_0x57d5b4,_0x15af73);_0x5c2096[_0xd7d5('0xf3')]&&this['_model'][_0xd7d5('0x124')](()=>{for(const _0x336d1a of _0x5c2096){const _0x2855c9=this[_0xd7d5('0x26')][_0xd7d5('0x11b')]('formatInline',_0x51c182,'accept');this['forceDefaultExecution'](()=>_0x2855c9([_0x336d1a],_0x22757c,_0x28b6e1));}});for(const _0x4c4164 of _0x5be3d3){let _0x1d5487=null,_0x5f186e=_0x4c4164[_0xd7d5('0x112')],_0x561824=_0x4c4164[_0xd7d5('0x12f')];for(const {suggestion:_0x2daf68,meta:_0x21aa6d}of this[_0xd7d5('0xed')](_0x4c4164,_0xd7d5('0xfd'))){if(!_0x21aa6d[_0xd7d5('0xa7')])continue;if(_0x2daf68['subType']!=_0x51c182)continue;if(!Ot(_0x2daf68,_0x28b6e1))continue;const _0x2173b7=_0x2daf68[_0xd7d5('0x11')]();if(_0x2173b7['containsRange'](_0x4c4164,!0x0))return null;_0x5f186e=_0x5f186e[_0xd7d5('0x25')](_0x2173b7[_0xd7d5('0x112')])?_0x5f186e:_0x2173b7[_0xd7d5('0x112')],_0x561824=_0x561824['isAfter'](_0x2173b7[_0xd7d5('0x12f')])?_0x561824:_0x2173b7['end'],_0x1d5487?_0x2173b7[_0xd7d5('0x112')]['isBefore'](_0x1d5487['getFirstRange']()[_0xd7d5('0x112')])?(_0x1d5487['removeMarkers'](),_0x1d5487=_0x2daf68):_0x2daf68[_0xd7d5('0x3a')]():_0x1d5487=_0x2daf68;}const _0x4d46e6=this['_model'][_0xd7d5('0x11e')](_0x5f186e,_0x561824);if(_0x1d5487)this['_setSuggestionRange'](_0x1d5487,_0x4d46e6);else{const _0x1d8c53=_0x54a3ae(),_0x3aed22=_0x4f818a['id'];this[_0xd7d5('0x13b')]({'id':_0x1d8c53,'type':'formatInline:'+_0x51c182,'data':_0x22757c,'createdAt':new Date(),'authorId':_0x3aed22,'attributes':_0x28b6e1}),this['_addSuggestionMarker'](_0xd7d5('0x12b')+_0x51c182,_0x1d8c53,_0x3aed22,_0x4d46e6);}}return null;}[_0xd7d5('0x104')](_0x371e9e,_0x587308,_0x4eb25d=[],_0xad7383=null,_0x3e973d={}){_0x587308[_0xd7d5('0x15')]||(_0x587308[_0xd7d5('0x15')]=_0x587308[_0xd7d5('0x5b')]),_0x587308[_0xd7d5('0x89')]=_0x371e9e['is'](_0xd7d5('0x39')),_0xad7383=_0xad7383||Nt(_0x587308);const _0x15f8a5=_0x4eb25d[_0xd7d5('0x141')](_0x1a5d10=>jt(_0x1a5d10,this[_0xd7d5('0xe5')])),_0x20b371=_0x371e9e['is'](_0xd7d5('0x39'))?_0x371e9e:jt(_0x371e9e,this[_0xd7d5('0xe5')]);if(_0xd7d5('0xb7')===this[_0xd7d5('0xfc')]){const _0x5cea8d=this['_suggestionFactory'][_0xd7d5('0x11b')](_0xd7d5('0x17'),_0xad7383,_0xd7d5('0x5c'));return this['forceDefaultExecution'](()=>_0x5cea8d([_0x20b371],_0x587308,_0x3e973d)),null;}_0x15f8a5[_0xd7d5('0x13d')](_0x20b371);let _0x22b71e=!0x0;for(const _0xc57191 of _0x15f8a5)if(!this[_0xd7d5('0xc4')](_0xc57191)){_0x22b71e=!0x1;break;}if(_0x22b71e&&_0xd7d5('0x119')!==this[_0xd7d5('0xfc')]){const _0x18a76e=this[_0xd7d5('0x26')][_0xd7d5('0x11b')](_0xd7d5('0x17'),_0xad7383,_0xd7d5('0x5c'));return this[_0xd7d5('0x16')](()=>_0x18a76e([_0x20b371],_0x587308,_0x3e973d)),null;}let _0x4a49b4=null,_0x2557a3=_0x20b371['start'],_0x391a16=_0x20b371[_0xd7d5('0x12f')];for(const {suggestion:_0x4d5dc1,meta:_0x46cda5}of this['_findSuggestions'](_0x20b371,_0xd7d5('0x17'))){if(!_0x46cda5['isOwn'])continue;if(_0x46cda5[_0xd7d5('0x33')]||_0x46cda5[_0xd7d5('0x125')]||_0x46cda5[_0xd7d5('0x114')])continue;if(_0x4d5dc1['data'][_0xd7d5('0x15')]!=_0x587308['formatGroupId'])continue;if(!Ot(_0x4d5dc1,_0x3e973d))continue;const _0x12c961=_0x4d5dc1[_0xd7d5('0x11')]();if(_0x4d5dc1[_0xd7d5('0xe2')]==_0xad7383){if(_0x12c961[_0xd7d5('0xa8')](_0x20b371,!0x0))return null;_0x2557a3=_0x2557a3[_0xd7d5('0x25')](_0x12c961[_0xd7d5('0x112')])?_0x2557a3:_0x12c961['start'],_0x391a16=_0x391a16[_0xd7d5('0x1c')](_0x12c961[_0xd7d5('0x12f')])?_0x391a16:_0x12c961[_0xd7d5('0x12f')],_0x4a49b4?_0x12c961[_0xd7d5('0x112')][_0xd7d5('0x25')](_0x4a49b4['getFirstRange']()[_0xd7d5('0x112')])?(_0x4a49b4[_0xd7d5('0x3a')](),_0x4a49b4=_0x4d5dc1):_0x4d5dc1[_0xd7d5('0x3a')]():_0x4a49b4=_0x4d5dc1;}else{const _0x265241=_0x20b371['getIntersection'](_0x12c961);this['_cutOutSuggestionMarker'](_0x4d5dc1,_0x265241);}}const _0x1222b6=this[_0xd7d5('0xa4')][_0xd7d5('0x36')][_0xd7d5('0xbd')](_0xd7d5('0x10'))['me'],_0x4c6d90=_0x54a3ae(),_0x423863=_0x1222b6['id'];if(_0x4a49b4)return this[_0xd7d5('0xe3')](_0x4a49b4,this[_0xd7d5('0xe5')][_0xd7d5('0x11e')](_0x2557a3,_0x391a16)),_0x4a49b4;{const _0x59db4e=this['_setSuggestionData']({'id':_0x4c6d90,'type':_0xd7d5('0x79')+_0xad7383,'data':_0x587308,'createdAt':new Date(),'authorId':_0x423863,'attributes':_0x3e973d});return this['_addSuggestionMarker'](_0xd7d5('0x79')+_0xad7383,_0x4c6d90,_0x423863,this[_0xd7d5('0xe5')]['createRange'](_0x2557a3,_0x391a16)),_0x59db4e;}}[_0xd7d5('0xf2')](_0xd5cf0b,_0xd9c830,_0x52c40a=[],_0x3c51a6=null,_0x21bc00={}){_0xd9c830[_0xd7d5('0x15')]||(_0xd9c830['formatGroupId']=_0xd9c830[_0xd7d5('0x5b')]);const _0x4e31d7=_0xd5cf0b[0x0];_0xd9c830[_0xd7d5('0x89')]=_0x4e31d7['is'](_0xd7d5('0x39')),_0x3c51a6=_0x3c51a6||Nt(_0xd9c830);const _0x5068ea=_0x52c40a['map'](_0x48bc02=>jt(_0x48bc02,this[_0xd7d5('0xe5')])),_0x38b7b5=_0x4e31d7['is'](_0xd7d5('0x39'))?_0xd5cf0b:_0xd5cf0b[_0xd7d5('0x141')](_0x2d53db=>jt(_0x2d53db,this[_0xd7d5('0xe5')]));if('never'===this[_0xd7d5('0xfc')]){const _0x32d53d=this[_0xd7d5('0x26')]['getSuggestionCallback'](_0xd7d5('0x17'),_0x3c51a6,_0xd7d5('0x5c'));return this[_0xd7d5('0x16')](()=>_0x32d53d(_0x38b7b5,_0xd9c830,_0x21bc00)),null;}_0x5068ea[_0xd7d5('0x13d')](..._0x38b7b5);let _0x197c70=!0x0;for(const _0x578b43 of _0x5068ea)if(!this[_0xd7d5('0xc4')](_0x578b43)){_0x197c70=!0x1;break;}if(_0x197c70&&'always'!==this['_trackFormatChanges']){const _0x2deef3=this[_0xd7d5('0x26')]['getSuggestionCallback'](_0xd7d5('0x17'),_0x3c51a6,'accept');return this[_0xd7d5('0x16')](()=>_0x2deef3(_0x38b7b5,_0xd9c830,_0x21bc00)),null;}const _0x9f1ed9=this[_0xd7d5('0xa4')][_0xd7d5('0x36')][_0xd7d5('0xbd')]('Users')['me'];for(const _0x511bca of this[_0xd7d5('0x70')]()){if(_0x511bca[_0xd7d5('0xd7')]['id']!=_0x9f1ed9['id'])continue;if(_0xd7d5('0x17')!=_0x511bca['type']||_0x511bca['data'][_0xd7d5('0x15')]!=_0xd9c830[_0xd7d5('0x15')])continue;if(!Ot(_0x511bca,_0x21bc00))continue;const _0x10ee76=_0x511bca[_0xd7d5('0xe2')]==_0x3c51a6;for(let _0x40ac32=0x0;_0x40ac32<_0x38b7b5[_0xd7d5('0xf3')];_0x40ac32++){const _0x25013e=_0x38b7b5[_0x40ac32];for(const _0x131b1a of _0x511bca[_0xd7d5('0x9')]()){const _0x302e98=_0x131b1a[_0xd7d5('0x69')]();if(_0x25013e[_0xd7d5('0x24')](_0x302e98)){_0x10ee76?(_0x38b7b5['splice'](_0x40ac32,0x1),_0x40ac32--):_0x511bca[_0xd7d5('0x9d')](_0x131b1a[_0xd7d5('0xe4')]);break;}}}}if(0x0==_0x38b7b5[_0xd7d5('0xf3')])return null;const _0x550c91=this[_0xd7d5('0x26')]['getSuggestionCallback']('formatBlock',_0x3c51a6,_0xd7d5('0x136'));for(const _0x4428fb of this[_0xd7d5('0x70')]())if(_0x4428fb[_0xd7d5('0xd7')]['id']==_0x9f1ed9['id']&&_0xd7d5('0x17')==_0x4428fb['type']&&_0x4428fb[_0xd7d5('0x3c')][_0xd7d5('0x15')]==_0xd9c830[_0xd7d5('0x15')]&&_0x4428fb[_0xd7d5('0xe2')]==_0x3c51a6&&Ot(_0x4428fb,_0x21bc00)&&(_0x550c91(_0x4428fb[_0xd7d5('0xa9')](),_0x38b7b5)||_0x550c91(_0x38b7b5,_0x4428fb[_0xd7d5('0xa9')]()))){for(const _0x58188e of _0x38b7b5)_0x4428fb[_0xd7d5('0xb9')](_0x58188e);return _0x4428fb;}const _0x49a59f=_0x54a3ae(),_0x472953=_0x9f1ed9['id'],_0x3c8b5c=_0xd7d5('0x79')+_0x3c51a6,_0x5638e8=this[_0xd7d5('0x13b')]({'id':_0x49a59f,'type':_0x3c8b5c,'data':_0xd9c830,'createdAt':new Date(),'authorId':_0x472953,'attributes':_0x21bc00});for(const _0x1584b4 of _0x38b7b5)this['_addSuggestionMarker'](_0x3c8b5c,_0x49a59f,_0x472953,_0x1584b4,_0x28f913[_0xd7d5('0x2')]());return _0x5638e8;}[_0xd7d5('0x105')](_0x174ca3,_0x2d4973=null,_0xd2df55={}){if(_0x174ca3[_0xd7d5('0x8e')])return null;const _0x4d980f=this[_0xd7d5('0xa4')][_0xd7d5('0x36')][_0xd7d5('0xbd')]('Users')['me'],_0x50d151=new _0x4124e0(_0x174ca3[_0xd7d5('0x112')],_0x174ca3[_0xd7d5('0x12f')]);for(const {suggestion:_0x1b110b,meta:_0x212949}of this[_0xd7d5('0xed')](_0x50d151,_0xd7d5('0xd9')))if(_0x212949[_0xd7d5('0xa7')]&&!_0x212949[_0xd7d5('0x33')]){if(_0x1b110b[_0xd7d5('0x9f')]){const _0x3a32f2=_0x1b110b['getRanges']()[_0xd7d5('0x13')](_0x2548de=>'$graveyard'!=_0x2548de[_0xd7d5('0x115')][_0xd7d5('0x62')]);_0x3a32f2[_0xd7d5('0x6e')](_0x3b7a8b=>_0x50d151[_0xd7d5('0xa8')](_0x3b7a8b,!0x0))&&_0x1b110b['discard']();if(_0x3a32f2[_0xd7d5('0x41')](_0x2f8bed=>_0x2f8bed['containsRange'](_0x50d151,!0x0))){const _0x34bc58=this[_0xd7d5('0x26')][_0xd7d5('0x11b')]('deletion',_0x2d4973,'accept');return this[_0xd7d5('0x16')](()=>_0x34bc58([_0x50d151],null,_0xd2df55)),null;}}else{const _0x50ec3e=_0x50d151[_0xd7d5('0x8f')](_0x1b110b[_0xd7d5('0x11')]());null!==_0x50ec3e&&_0x1b110b[_0xd7d5('0xcf')]([_0x50ec3e],null,_0xd2df55);}}if(_0x50d151['detach'](),_0x50d151[_0xd7d5('0x8e')]||_0xd7d5('0x5a')==_0x50d151[_0xd7d5('0x115')]['rootName'])return null;let _0x35c58f=null,_0x54d130=_0x50d151['start'],_0x35919e=_0x50d151['end'];const _0x1ac40d=this['_findSuggestions'](_0x50d151,_0xd7d5('0x148'));for(const {suggestion:_0x3cd6b2,meta:_0x487e58}of _0x1ac40d){const _0x128f89=this['_model'][_0xd7d5('0x11e')](_0x54d130,_0x35919e);if(_0x487e58['isOwn']&&(this['_mergeNestedSuggestions']||!_0x487e58['containsRangeInObject']&&!_0x487e58[_0xd7d5('0x114')])){if(_0x3cd6b2[_0xd7d5('0x9f')]){if(!Ot(_0x3cd6b2,_0xd2df55))continue;let _0x3029e7=!0x0;for(const _0x451f54 of _0x3cd6b2[_0xd7d5('0xa9')]()){if(_0x451f54['containsRange'](_0x128f89,!0x0))return _0x3cd6b2;_0x128f89['containsRange'](_0x451f54)||(_0x3029e7=!0x1);}_0x3029e7&&_0x3cd6b2[_0xd7d5('0x40')]();}else{const _0x28244b=_0x3cd6b2[_0xd7d5('0x11')]();if(_0x28244b[_0xd7d5('0xa8')](_0x128f89,!0x0))return _0x3cd6b2;if(!Ot(_0x3cd6b2,_0xd2df55)){_0x128f89[_0xd7d5('0xa8')](_0x28244b)?_0x3cd6b2[_0xd7d5('0x3a')]():_0x28244b[_0xd7d5('0x8d')](_0x54d130)?_0x54d130=_0x28244b[_0xd7d5('0x12f')]:_0x28244b[_0xd7d5('0x8d')](_0x35919e)&&(_0x35919e=_0x28244b[_0xd7d5('0x112')]);continue;}_0x54d130=_0x54d130[_0xd7d5('0x25')](_0x28244b[_0xd7d5('0x112')])?_0x54d130:_0x28244b[_0xd7d5('0x112')],_0x35919e=_0x35919e[_0xd7d5('0x1c')](_0x28244b[_0xd7d5('0x12f')])?_0x35919e:_0x28244b['end'],_0xd2df55=Object[_0xd7d5('0x51')]({},_0x3cd6b2[_0xd7d5('0x128')]),_0x35c58f?_0x28244b[_0xd7d5('0x112')][_0xd7d5('0x25')](_0x35c58f['getFirstRange']()[_0xd7d5('0x112')])?(_0x35c58f[_0xd7d5('0x3a')](),_0x35c58f=_0x3cd6b2):_0x3cd6b2[_0xd7d5('0x3a')]():_0x35c58f=_0x3cd6b2;}}}if(_0x35c58f)return this['_setSuggestionRange'](_0x35c58f,this['_model'][_0xd7d5('0x11e')](_0x54d130,_0x35919e)),_0x35c58f;{const _0x2cca07=_0x54a3ae(),_0xa71479=this[_0xd7d5('0xe5')]['createRange'](_0x54d130,_0x35919e),_0x9bef52=_0x4d980f['id'],_0x19616d=_0x2d4973?_0xd7d5('0x2e')+_0x2d4973:_0xd7d5('0x148'),_0x4f5c05=this['_setSuggestionData']({'id':_0x2cca07,'type':_0x19616d,'createdAt':new Date(),'authorId':_0x9bef52,'attributes':_0xd2df55});return this[_0xd7d5('0x91')](_0x19616d,_0x2cca07,_0x9bef52,_0xa71479),_0x4f5c05;}}[_0xd7d5('0xac')](_0x480185,_0x4af8a6=_0xd7d5('0xe6'),_0x28697a={}){const _0x189253=this['editor']['plugins'][_0xd7d5('0xbd')](_0xd7d5('0x10'))['me'],_0x5db4c5=_0x480185[_0xd7d5('0x141')](_0x37523a=>new _0x4124e0(_0x37523a[_0xd7d5('0x112')],_0x37523a[_0xd7d5('0x12f')])),_0x1f8687=new Set();for(const {suggestion:_0x1d8c04,meta:_0x92b176}of this[_0xd7d5('0xed')](_0x5db4c5,_0xd7d5('0xd9')))_0x92b176[_0xd7d5('0xa7')]&&!_0x92b176[_0xd7d5('0x33')]&&_0x1f8687[_0xd7d5('0x100')](_0x1d8c04);for(const _0x4b4028 of _0x1f8687)if(_0x4b4028[_0xd7d5('0x9f')]){const _0x59eca7=_0x4b4028[_0xd7d5('0xa9')]();(!_0x4b4028['attributes']||!_0x4b4028[_0xd7d5('0x128')][_0xd7d5('0x12a')])&&(_0x59eca7[_0xd7d5('0x6e')](_0x4e0bf1=>_0x5db4c5['some'](_0x5881ab=>_0x5881ab['containsRange'](_0x4e0bf1,!0x0)))&&_0x4b4028[_0xd7d5('0x40')]());if(_0x5db4c5[_0xd7d5('0x6e')](_0x42f726=>_0x59eca7[_0xd7d5('0x41')](_0x59b159=>_0x59b159[_0xd7d5('0xa8')](_0x42f726,!0x0)))){const _0x52ba31=this[_0xd7d5('0x26')][_0xd7d5('0x11b')](_0xd7d5('0x148'),_0x4af8a6,_0xd7d5('0x5c'));return this['forceDefaultExecution'](()=>_0x52ba31(_0x480185,null,_0x28697a)),null;}}else{const _0x4182fa=_0x4b4028[_0xd7d5('0x11')]();_0x5db4c5[_0xd7d5('0x41')](_0x317c16=>_0x317c16[_0xd7d5('0xa8')](_0x4182fa,!0x0))&&_0x4b4028[_0xd7d5('0x40')]();if(_0x5db4c5[_0xd7d5('0x6e')](_0x401812=>_0x4182fa[_0xd7d5('0xa8')](_0x401812,!0x0))){const _0x1a585e=this[_0xd7d5('0x26')]['getSuggestionCallback'](_0xd7d5('0x148'),_0x4af8a6,_0xd7d5('0x5c'));return this[_0xd7d5('0x16')](()=>_0x1a585e(_0x5db4c5,null,_0x28697a)),null;}}const _0x1b5fbf=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x4af8a6,_0xd7d5('0x136'));let _0x1378c9=null;for(const _0x198c4e of this[_0xd7d5('0x70')]())if(_0x198c4e[_0xd7d5('0xd7')]['id']==_0x189253['id']&&_0x198c4e[_0xd7d5('0x48')]&&'deletion'==_0x198c4e['type']&&_0x198c4e[_0xd7d5('0xe2')]==_0x4af8a6&&Ot(_0x198c4e,_0x28697a)&&(_0x1b5fbf(_0x198c4e['getRanges'](),_0x5db4c5)||_0x1b5fbf(_0x5db4c5,_0x198c4e[_0xd7d5('0xa9')]()))){if(_0x1378c9){if(_0x198c4e[_0xd7d5('0x34')]&&_0x198c4e['commentThread'][_0xd7d5('0xf3')])continue;for(const _0x54a2bf of _0x198c4e['getRanges']())_0x1378c9['isIntersectingWithRange'](_0x54a2bf)||_0x1378c9[_0xd7d5('0xb9')](_0x54a2bf);_0x198c4e['removeMarkers']();}else{_0x1378c9=_0x198c4e;for(const _0x4a0555 of _0x5db4c5)_0x198c4e['isIntersectingWithRange'](_0x4a0555)||_0x198c4e[_0xd7d5('0xb9')](_0x4a0555);}}if(_0x1378c9)return _0x1378c9;_0x1f8687[_0xd7d5('0xea')]();for(const {suggestion:_0x2607cc,meta:_0x32b092}of this[_0xd7d5('0xed')](_0x5db4c5,_0xd7d5('0x148')))_0x32b092['isOwn']&&(this[_0xd7d5('0x138')]||!_0x32b092[_0xd7d5('0x125')]&&!_0x32b092[_0xd7d5('0x114')])&&Ot(_0x2607cc,_0x28697a)&&_0x1f8687[_0xd7d5('0x100')](_0x2607cc);for(const _0xcbe378 of _0x1f8687){const _0x3abda6=_0xcbe378[_0xd7d5('0xa9')]();if(!_0x28697a||!_0x28697a[_0xd7d5('0x12a')]){if(_0x5db4c5[_0xd7d5('0x6e')](_0x504db4=>_0x3abda6[_0xd7d5('0x41')](_0x1bcf42=>_0x1bcf42[_0xd7d5('0xa8')](_0x504db4,!0x0))))return _0xcbe378;}(!_0xcbe378[_0xd7d5('0x128')]||!_0xcbe378[_0xd7d5('0x128')][_0xd7d5('0x12a')])&&(_0x3abda6[_0xd7d5('0x6e')](_0x4e80b9=>_0x5db4c5[_0xd7d5('0x41')](_0x4c570f=>_0x4c570f[_0xd7d5('0xa8')](_0x4e80b9,!0x0)))&&_0xcbe378[_0xd7d5('0x40')]());}const _0x49b56b=_0x54a3ae(),_0x34edc8=_0x189253['id'],_0x21c078='deletion:'+_0x4af8a6,_0x578693=this['_setSuggestionData']({'id':_0x49b56b,'type':_0x21c078,'createdAt':new Date(),'authorId':_0x34edc8,'attributes':_0x28697a});for(const _0x2aeb14 of _0x5db4c5)_0x2aeb14[_0xd7d5('0x5')](),_0x2aeb14[_0xd7d5('0x8e')]||_0xd7d5('0x5a')==_0x2aeb14[_0xd7d5('0x115')][_0xd7d5('0x62')]||this[_0xd7d5('0x91')](_0x21c078,_0x49b56b,_0x34edc8,_0x2aeb14,_0x28f913['getMultiRangeId']());return _0x578693;}[_0xd7d5('0xe3')](_0x27e10f,_0x19b5cf){const _0x322a31=_0x27e10f[_0xd7d5('0x118')]();this['_model']['change'](_0x363022=>{_0x363022[_0xd7d5('0x13c')](_0x322a31,{'range':_0x19b5cf});});}[_0xd7d5('0x27')](_0x7d2a56){const _0x2fc090=_0x7d2a56['id'],_0x4354d4=this['editor'][_0xd7d5('0xf')][_0xd7d5('0xbd')](_0xd7d5('0xe7'));this[_0xd7d5('0x38')][_0xd7d5('0x7f')](_0x2fc090)||this[_0xd7d5('0x38')][_0xd7d5('0x8b')]({'channelId':_0x4354d4,'threadId':_0x2fc090,'isResolvable':!0x1,'isSubmitted':!0x0});const _0xfec5a9=this[_0xd7d5('0x38')][_0xd7d5('0x31')](_0x2fc090);_0xfec5a9[_0xd7d5('0x61')]('isRemovable'),_0xfec5a9[_0xd7d5('0xb2')]=!0x1,_0x7d2a56[_0xd7d5('0x34')]=_0xfec5a9;}[_0xd7d5('0x144')](_0x246198,_0x299b69,_0x5a2ec7,_0x1f70cc){if(_0x246198[_0xd7d5('0x10a')]!=_0x299b69||_0x246198[_0xd7d5('0xe2')]!=_0x5a2ec7||_0x246198[_0xd7d5('0x139')]['id']!=_0x1f70cc)throw this[_0xd7d5('0xa4')][_0xd7d5('0x1b')](_0xd7d5('0x135')),new _0x5f4b85(_0xd7d5('0x135'),this);}[_0xd7d5('0x99')](_0x2279c1,_0x589709){const _0x5dc186=_0x2279c1[_0xd7d5('0x11')]();if(_0x589709[_0xd7d5('0x24')](_0x5dc186))_0x2279c1[_0xd7d5('0x3a')]();else{if(_0x5dc186[_0xd7d5('0xa8')](_0x589709)){const _0x27d0cd=this['_model'][_0xd7d5('0x18')](_0x589709[_0xd7d5('0x112')][_0xd7d5('0xd1')],_0xd7d5('0x12f'));this[_0xd7d5('0xe3')](_0x2279c1,this[_0xd7d5('0xe5')][_0xd7d5('0x11e')](_0x5dc186[_0xd7d5('0x112')],_0x27d0cd));const _0x452812=_0x54a3ae(),_0x51d46a=_0x2279c1[_0xd7d5('0x139')]['id'],_0x42d0b0=_0x2279c1[_0xd7d5('0x10a')]+':'+_0x2279c1[_0xd7d5('0xe2')];this[_0xd7d5('0x13b')]({'id':_0x452812,'type':_0x42d0b0,'createdAt':new Date(),'authorId':_0x51d46a,'data':_0x2279c1[_0xd7d5('0x3c')],'attributes':_0x2279c1[_0xd7d5('0x128')]});const _0x290fc8=this[_0xd7d5('0xe5')]['createPositionAt'](_0x589709[_0xd7d5('0x12f')][_0xd7d5('0xd')],_0xd7d5('0x2a')),_0x269eae=this[_0xd7d5('0xe5')]['createRange'](_0x290fc8,_0x5dc186['end']);this[_0xd7d5('0x91')](_0x42d0b0,_0x452812,_0x51d46a,_0x269eae);}else{if(_0x5dc186[_0xd7d5('0x8d')](_0x589709[_0xd7d5('0x112')])){const _0x19be60=this['_model'][_0xd7d5('0x18')](_0x589709[_0xd7d5('0x112')][_0xd7d5('0xd1')],'end');this[_0xd7d5('0xe3')](_0x2279c1,this[_0xd7d5('0xe5')][_0xd7d5('0x11e')](_0x5dc186[_0xd7d5('0x112')],_0x19be60));}else{const _0x4a1779=this['_model'][_0xd7d5('0x18')](_0x589709[_0xd7d5('0x12f')]['parent'],_0xd7d5('0x2a'));this['_setSuggestionRange'](_0x2279c1,this[_0xd7d5('0xe5')]['createRange'](_0x4a1779,_0x5dc186[_0xd7d5('0x12f')]));}}}}[_0xd7d5('0xc4')](_0x580d56){for(const {suggestion:_0x2a450b,meta:_0xedb676}of this[_0xd7d5('0xed')](_0x580d56,_0xd7d5('0xd9'))){if(!_0xedb676[_0xd7d5('0xa7')])continue;const _0x23b282=_0x2a450b['getRanges']();for(const _0x30c74f of _0x23b282)if(!_0x580d56[_0xd7d5('0x8a')](_0x30c74f)[_0xd7d5('0xf3')])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x1b9e56){const _0x583c15=this[_0xd7d5('0xa4')][_0xd7d5('0x36')]['get'](_0xd7d5('0x10'))[_0xd7d5('0x13a')](_0x1b9e56);if(!_0x583c15)throw new _0x5f4b85(_0xd7d5('0xe9'),this);return _0x583c15;}[_0xd7d5('0x147')](_0x619f98){const _0x28db07=this[_0xd7d5('0xa4')]['plugins']['get'](_0xd7d5('0x10')),_0x4286e6=_0x5f0bfa(_0xd7d5('0xd4')+_0x619f98),_0x187e0b=_0x28db07[_0xd7d5('0x13a')](_0x4286e6);return _0x187e0b||_0x28db07[_0xd7d5('0xc')]({'id':_0x4286e6,'name':_0x619f98});}[_0xd7d5('0xad')](_0x262054,_0x913337,_0x1264c7,_0x47dbaf,_0x1111be){const _0x3f9440=this[_0xd7d5('0xd3')](_0x47dbaf),_0x7eebc8=this[_0xd7d5('0x26')]['buildSuggestion'](_0x262054,_0x913337,_0x1264c7,_0x3f9440,_0x1111be,_0x21df25=>this[_0xd7d5('0x59')](_0x1264c7,{'attributes':_0x21df25}));return this[_0xd7d5('0x13f')](_0x7eebc8,_0xd7d5('0x5c'),()=>{this[_0xd7d5('0x59')](_0x1264c7,{'state':_0xd7d5('0xb5')});},{'priority':_0xd7d5('0x103')}),this['listenTo'](_0x7eebc8,_0xd7d5('0x40'),()=>{this[_0xd7d5('0x59')](_0x1264c7,{'state':_0xd7d5('0xf6')});},{'priority':_0xd7d5('0x103')}),this[_0xd7d5('0x110')][_0xd7d5('0x9c')](_0x1264c7,_0x7eebc8),this[_0xd7d5('0xb8')][_0xd7d5('0x9c')](_0x7eebc8,_0xd7d5('0xf9')),_0x7eebc8;}['_splitMarkerName'](_0x3296e1){const _0x35bf2c=_0x3296e1[_0xd7d5('0x6b')](':');return{'group':_0x35bf2c[0x0],'type':_0x35bf2c[0x1],'subType':_0x35bf2c[_0xd7d5('0xf3')]>=0x5?_0x35bf2c[0x2]:null,'id':_0x35bf2c['length']<0x5?_0x35bf2c[0x2]:_0x35bf2c[0x3],'authorId':_0x35bf2c['length']<0x5?_0x35bf2c[0x3]:_0x35bf2c[0x4],'markerCount':0x6==_0x35bf2c[_0xd7d5('0xf3')]?_0x35bf2c[0x5]:null};}['_breakSuggestionMarker'](_0x215de4,_0x30855a,_0x23f242){const _0x2392db=_0x215de4[_0xd7d5('0x11')](),_0x5c787=_0x2392db['start'],_0x449f62=_0x2392db[_0xd7d5('0x12f')];this[_0xd7d5('0xe3')](_0x215de4,this['_model'][_0xd7d5('0x11e')](_0x5c787,_0x30855a));const _0x2be167=_0x54a3ae(),_0x37b1bf=_0x215de4[_0xd7d5('0x139')]['id'],_0x556c94=_0x215de4['type']+(_0x215de4[_0xd7d5('0xe2')]?':'+_0x215de4['subType']:'');this[_0xd7d5('0x13b')]({'id':_0x2be167,'type':_0x556c94,'createdAt':new Date(),'authorId':_0x37b1bf,'originalSuggestionId':_0x215de4['id'],'attributes':_0x215de4[_0xd7d5('0x128')],'data':_0x215de4[_0xd7d5('0x3c')]}),_0xd7d5('0x17')==_0x215de4[_0xd7d5('0x10a')]&&(_0x23f242=this[_0xd7d5('0xe5')][_0xd7d5('0x56')](_0x23f242['parent'])),this[_0xd7d5('0x91')](_0x556c94,_0x2be167,_0x37b1bf,this[_0xd7d5('0xe5')][_0xd7d5('0x11e')](_0x23f242,_0x449f62));}[_0xd7d5('0xed')](_0xdf6991,_0x6276f4=null){const _0x21b9b2=[],_0x328647=this[_0xd7d5('0xa4')][_0xd7d5('0x36')][_0xd7d5('0xbd')](_0xd7d5('0x10'))['me'];Array[_0xd7d5('0x37')](_0xdf6991)||(_0xdf6991=[_0xdf6991]);for(const _0x15d5f7 of this['getSuggestions']()){if(!_0x15d5f7[_0xd7d5('0x48')])continue;if(_0x6276f4&&_0x15d5f7[_0xd7d5('0x10a')]!=_0x6276f4)continue;let _0x13d0bd=!0x1;for(const _0xbc4dfc of _0x15d5f7[_0xd7d5('0xa9')]()){for(const _0x1a0539 of _0xdf6991){const _0x42588f=_0x1a0539[_0xd7d5('0x112')][_0xd7d5('0x24')](_0xbc4dfc['end'])||_0x1a0539[_0xd7d5('0x12f')][_0xd7d5('0x24')](_0xbc4dfc[_0xd7d5('0x112')]);if(_0x42588f||_0x1a0539[_0xd7d5('0x8f')](_0xbc4dfc)){const _0x2587cc=_0x1a0539[_0xd7d5('0xa8')](_0xbc4dfc)&&_t(this[_0xd7d5('0xe5')][_0xd7d5('0xfb')],_0xbc4dfc[_0xd7d5('0x112')],_0x1a0539),_0x473408=_0xbc4dfc['containsRange'](_0x1a0539)&&_t(this[_0xd7d5('0xe5')]['schema'],_0x1a0539['start'],_0xbc4dfc);_0x21b9b2[_0xd7d5('0x13d')]({'suggestion':_0x15d5f7,'meta':{'isOwn':_0x328647==_0x15d5f7['author'],'isNextTo':_0x42588f,'isInsideObject':_0x2587cc,'containsRangeInObject':_0x473408}}),_0x13d0bd=!0x0;break;}}if(_0x13d0bd)break;}}return _0x21b9b2;}[_0xd7d5('0x91')](_0x153d32,_0x23cd3c,_0x50a04a,_0x1b59ca,_0x1a8369){this['_model'][_0xd7d5('0x124')](_0x630c3e=>{let _0x3da6d1='suggestion:'+_0x153d32+':'+_0x23cd3c+':'+_0x50a04a;_0x1a8369&&(_0x3da6d1=_0x3da6d1+':'+_0x1a8369),_0x630c3e[_0xd7d5('0x68')](_0x3da6d1,{'range':_0x1b59ca,'usingOperation':!0x0,'affectsData':!0x0});});}[_0xd7d5('0xeb')](_0x17fc54){const _0x1bff8c=_0x17fc54[_0xd7d5('0x10f')],_0x13c4ec=_0x17fc54[_0xd7d5('0x122')];_0x17fc54[_0xd7d5('0x10f')]=null,null!=_0x1bff8c&&(_0x1bff8c[_0xd7d5('0x122')]=null),_0x17fc54[_0xd7d5('0x122')]=null,null!=_0x13c4ec&&(_0x13c4ec[_0xd7d5('0x10f')]=null),'ready'==this[_0xd7d5('0xb8')][_0xd7d5('0xbd')](_0x17fc54)&&(this[_0xd7d5('0xb8')][_0xd7d5('0x9c')](_0x17fc54,_0xd7d5('0xc0')),this[_0xd7d5('0x7b')](_0xd7d5('0x22'),_0x17fc54,_0x1bff8c,_0x13c4ec));}['_setSuggestionData'](_0x41846a){const _0x399640=_0x41846a['id'],_0x14d445=this['addSuggestionData'](_0x41846a);if(this[_0xd7d5('0x101')]&&this[_0xd7d5('0x101')][_0xd7d5('0xee')]){const _0x493d48=this[_0xd7d5('0xa4')][_0xd7d5('0x36')]['get']('PendingActions'),_0x4b0807=_0x14d445[_0xd7d5('0x2f')],_0x2317e8=_0x14d445[_0xd7d5('0xe2')]?_0x14d445[_0xd7d5('0x10a')]+':'+_0x14d445['subType']:_0x14d445[_0xd7d5('0x10a')],_0x18741b=this[_0xd7d5('0xa4')][_0xd7d5('0xb1')],_0x2bc081=_0x493d48[_0xd7d5('0x100')](_0x767fc4(_0x18741b,'PENDING_ACTION_SUGGESTION')),_0x188f73={'id':_0x399640,'type':_0x2317e8,'hasComments':_0x4b0807,'data':_0x41846a[_0xd7d5('0x3c')]||null,'originalSuggestionId':_0x41846a[_0xd7d5('0x95')]||null,'attributes':_0x14d445[_0xd7d5('0x128')]};this['_adapter'][_0xd7d5('0xee')](_0x188f73)[_0xd7d5('0x82')](_0x3bd638=>{_0x14d445[_0xd7d5('0x116')]=!0x0,_0x493d48[_0xd7d5('0xe')](_0x2bc081),_0x3bd638&&_0x3bd638[_0xd7d5('0x4b')]&&(this[_0xd7d5('0x110')]['get'](_0x399640)['createdAt']=_0x3bd638[_0xd7d5('0x4b')]);})[_0xd7d5('0x0')](_0xaa9cd0=>{throw _0x5bc8db('error-saving-suggestion-data-suggestion-discarded'),this[_0xd7d5('0xa4')][_0xd7d5('0x7d')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x14d445[_0xd7d5('0x40')]();}),_0x14d445[_0xd7d5('0x63')](),this[_0xd7d5('0x110')][_0xd7d5('0x47')](_0x14d445['id']),this[_0xd7d5('0xb8')][_0xd7d5('0x47')](_0x14d445),_0xaa9cd0;});}return _0x14d445;}[_0xd7d5('0x59')](_0x3b4ff2,_0xe85d6d){const _0x3c9e23=this[_0xd7d5('0xa4')][_0xd7d5('0x36')][_0xd7d5('0xbd')](_0xd7d5('0x109')),_0x26088d=this['getSuggestion'](_0x3b4ff2);if(this[_0xd7d5('0x101')]&&this[_0xd7d5('0x101')][_0xd7d5('0x54')]){if(_0x26088d[_0xd7d5('0x116')]){const _0x487c29=_0x3c9e23[_0xd7d5('0x100')](_0x767fc4(this[_0xd7d5('0xa4')][_0xd7d5('0xb1')],_0xd7d5('0xce')));this[_0xd7d5('0x101')][_0xd7d5('0x54')](_0x3b4ff2,_0xe85d6d)[_0xd7d5('0x82')](()=>{_0x3c9e23[_0xd7d5('0xe')](_0x487c29);});}else _0x26088d['on'](_0xd7d5('0x6'),()=>{this[_0xd7d5('0x59')](_0x3b4ff2,_0xe85d6d);});}}[_0xd7d5('0x145')](_0x1b763b){if(!this[_0xd7d5('0x101')]||!this['_adapter'][_0xd7d5('0x3e')])throw new _0x5f4b85(_0xd7d5('0xe1'),this);return this['_adapter'][_0xd7d5('0x3e')](_0x1b763b);}['_handleNewSuggestionMarker'](_0x44e9c6){const {id:_0x3bb4c3,type:_0x38957a,subType:_0x5eeb52,authorId:_0x3c636e}=this[_0xd7d5('0x42')](_0x44e9c6),_0x37da56=this[_0xd7d5('0x110')][_0xd7d5('0xbd')](_0x3bb4c3)||this[_0xd7d5('0xad')](_0x38957a,_0x5eeb52,_0x3bb4c3,_0x3c636e,{});switch(this[_0xd7d5('0x144')](_0x37da56,_0x38957a,_0x5eeb52,_0x3c636e),this['_suggestionState']['get'](_0x37da56)){case'notReady':this[_0xd7d5('0x145')](_0x3bb4c3)[_0xd7d5('0x82')](_0x5733e4=>{let _0x5e5f6d=Promise[_0xd7d5('0x133')]();_0x5733e4[_0xd7d5('0x2f')]&&(_0x5e5f6d=this[_0xd7d5('0x38')][_0xd7d5('0xcd')]({'channelId':this['editor']['config'][_0xd7d5('0xbd')](_0xd7d5('0xe7')),'threadId':_0x3bb4c3})),_0x5e5f6d[_0xd7d5('0x82')](()=>{this['addSuggestionData'](_0x5733e4)[_0xd7d5('0x116')]=!0x0;});}),this[_0xd7d5('0xb8')][_0xd7d5('0x9c')](_0x37da56,_0xd7d5('0x12'));break;case _0xd7d5('0xc0'):this[_0xd7d5('0x59')](_0x3bb4c3,{'state':_0xd7d5('0x81')});case _0xd7d5('0xd8'):this[_0xd7d5('0xb8')][_0xd7d5('0x9c')](_0x37da56,'ready'),this['fire']('suggestionLoaded',_0x37da56);break;case _0xd7d5('0xda'):this[_0xd7d5('0x7b')](_0xd7d5('0xc1'),_0x37da56);}return _0x37da56['addMarkerName'](_0x44e9c6),_0x37da56;}[_0xd7d5('0xc8')](_0x1591fb){const _0x2c5866=Array[_0xd7d5('0x98')](_0x1591fb)['filter'](_0x27f67e=>!_0x27f67e['isMultiRange']),_0x56aa3c=this['getSuggestions']({'skipNotAttached':!0x0})[_0xd7d5('0x13')](_0x8251b7=>!_0x8251b7[_0xd7d5('0x9f')]),_0x35796f=_0x56aa3c[_0xd7d5('0x13')](_0x2cb0e4=>!_0x1591fb[_0xd7d5('0x107')](_0x2cb0e4)),_0x58bb41=new Map(_0x56aa3c[_0xd7d5('0x141')](_0x2123c1=>[_0x2123c1,this[_0xd7d5('0x26')][_0xd7d5('0x11b')](_0x2123c1[_0xd7d5('0x10a')],_0x2123c1['subType'],_0xd7d5('0xa'))])),_0xa511d3=new Map(_0x56aa3c[_0xd7d5('0x141')](_0x1b2112=>[_0x1b2112,_0x1b2112[_0xd7d5('0x11')]()])),_0x3fcdf4=new Set(),_0x1c2d37=new Set();for(let _0x4a7c2d=0x0;_0x4a7c2d<_0x2c5866[_0xd7d5('0xf3')];_0x4a7c2d++)_0x1128f8(_0x2c5866[_0x4a7c2d],_0x2c5866,_0x4a7c2d+0x1);for(let _0x256c32=0x0;_0x256c32<_0x2c5866['length'];_0x256c32++)_0x1128f8(_0x2c5866[_0x256c32],_0x35796f,0x0);for(let _0x50c69e=0x0;_0x50c69e<_0x2c5866['length'];_0x50c69e++){const _0x52641b=_0x2c5866[_0x50c69e];!_0x1c2d37[_0xd7d5('0x107')](_0x52641b)&&_0x52641b[_0xd7d5('0x10f')]&&(_0x52641b[_0xd7d5('0x10f')]['next']===_0x52641b&&(_0x52641b[_0xd7d5('0x10f')][_0xd7d5('0x122')]=null),_0x52641b[_0xd7d5('0x10f')]=null),!_0x3fcdf4[_0xd7d5('0x107')](_0x52641b)&&_0x52641b[_0xd7d5('0x122')]&&(_0x52641b[_0xd7d5('0x122')]['previous']===_0x52641b&&(_0x52641b[_0xd7d5('0x122')]['previous']=null),_0x52641b[_0xd7d5('0x122')]=null);}function _0x1128f8(_0x381ca5,_0x182049,_0x350dc5){for(let _0x124ebb=_0x350dc5;_0x124ebb<_0x182049[_0xd7d5('0xf3')];_0x124ebb++){const _0x30e118=_0x214a37(_0x381ca5,_0x182049[_0x124ebb]);_0x30e118&&(_0x30e118[0x0][_0xd7d5('0x122')]=_0x30e118[0x1],_0x30e118[0x1]['previous']=_0x30e118[0x0],_0x3fcdf4['add'](_0x30e118[0x0]),_0x1c2d37['add'](_0x30e118[0x1]));}}function _0x214a37(_0x39ba69,_0x53b5c2){if(_0x39ba69[_0xd7d5('0xd7')]['id']!==_0x53b5c2[_0xd7d5('0xd7')]['id'])return null;const _0x15f778=_0x58bb41[_0xd7d5('0xbd')](_0x39ba69)(_0x39ba69,_0x53b5c2,_0xa511d3[_0xd7d5('0xbd')](_0x39ba69),_0xa511d3[_0xd7d5('0xbd')](_0x53b5c2));if(!_0x15f778)return null;return _0x58bb41['get'](_0x53b5c2)(_0x39ba69,_0x53b5c2,_0xa511d3[_0xd7d5('0xbd')](_0x39ba69),_0xa511d3[_0xd7d5('0xbd')](_0x53b5c2))?_0x15f778[0x1][_0xd7d5('0x34')]&&_0x15f778[0x1]['commentThread']['length']?null:_0x15f778:null;}}[_0xd7d5('0xf8')](_0x23c08d){const _0x436928=Array[_0xd7d5('0x98')](_0x23c08d),_0x87f929=this[_0xd7d5('0x70')]({'skipNotAttached':!0x0}),_0x2f0ede=_0x87f929['filter'](_0x3c3e7c=>!_0x23c08d['has'](_0x3c3e7c)),_0x50aaa9=new Map(_0x436928[_0xd7d5('0x141')](_0xa4a0e6=>[_0xa4a0e6,this[_0xd7d5('0x26')]['getSuggestionCallback'](_0xa4a0e6[_0xd7d5('0x10a')],_0xa4a0e6[_0xd7d5('0xe2')],_0xd7d5('0x136'))])),_0x186d06=new Map(_0x87f929[_0xd7d5('0x141')](_0x450f9f=>[_0x450f9f,_0x450f9f[_0xd7d5('0xa9')]()]));for(let _0x1b7fa1=0x0;_0x1b7fa1<_0x436928['length'];_0x1b7fa1++){if(_0x28661b(this,_0x436928[_0x1b7fa1],_0x436928,_0x1b7fa1+0x1))return!0x0;}for(let _0x39c579=0x0;_0x39c579<_0x436928['length'];_0x39c579++){if(_0x28661b(this,_0x436928[_0x39c579],_0x2f0ede,0x0))return!0x0;}return!0x1;function _0x28661b(_0x17ebee,_0x50b813,_0x261232,_0x5aec32){for(let _0x5ab546=_0x5aec32;_0x5ab546<_0x261232[_0xd7d5('0xf3')];_0x5ab546++){const _0x2b6120=_0x261232[_0x5ab546];if(_0x2b6120['type']!==_0x50b813[_0xd7d5('0x10a')]||_0x2b6120[_0xd7d5('0xd7')]['id']!==_0x50b813[_0xd7d5('0xd7')]['id']||_0x2b6120[_0xd7d5('0xe2')]!==_0x50b813[_0xd7d5('0xe2')])continue;if(!Ut(_0x50b813,_0x2b6120))continue;const _0xe33d37=_0x50aaa9[_0xd7d5('0xbd')](_0x50b813),_0x53ef91=_0x186d06[_0xd7d5('0xbd')](_0x50b813),_0x337a7d=_0x186d06[_0xd7d5('0xbd')](_0x2b6120),_0x39cd9d=_0x50b813['commentThread']&&_0x50b813[_0xd7d5('0x34')][_0xd7d5('0xf3')],_0x1dc0b4=_0x2b6120['commentThread']&&_0x2b6120[_0xd7d5('0x34')][_0xd7d5('0xf3')];if(!_0x39cd9d&&_0xe33d37(_0x337a7d,_0x53ef91))return _0x17ebee[_0xd7d5('0x65')](_0x2b6120,_0x50b813),_0x186d06[_0xd7d5('0x47')](_0x50b813),!0x0;if(!_0x1dc0b4&&_0xe33d37(_0x53ef91,_0x337a7d))return _0x17ebee[_0xd7d5('0x65')](_0x50b813,_0x2b6120),_0x186d06[_0xd7d5('0x47')](_0x2b6120),!0x0;}return!0x1;}}[_0xd7d5('0x65')](_0x201308,_0x562b8f){if(_0x201308[_0xd7d5('0x9f')])for(const _0x3a4149 of _0x562b8f['getRanges']())_0x201308[_0xd7d5('0xb9')](_0x3a4149);else{const _0x5ec70d=_0x562b8f['getFirstRange']()[_0xd7d5('0x12f')];this['_setSuggestionRange'](_0x201308,this[_0xd7d5('0xe5')][_0xd7d5('0x11e')](_0x201308[_0xd7d5('0x11')]()[_0xd7d5('0x112')],_0x5ec70d));}_0x562b8f[_0xd7d5('0x3a')]();}}class Bt{constructor(_0x2efa64){this[_0xd7d5('0x28')]=_0x2efa64,this['_model']=_0x2efa64[_0xd7d5('0x7d')],this['_customCallbacks']=new Map(),this[_0xd7d5('0xaa')]=new Map(),this[_0xd7d5('0x3f')]();}[_0xd7d5('0x43')](_0x2f4687,_0x128598,_0x382b94,_0x5d88e0,_0x5416e3,_0x46da15){return new _0x28f913(this[_0xd7d5('0xe5')],{'type':_0x2f4687,'subType':_0x128598,'id':_0x382b94,'author':_0x5d88e0,'creator':_0x5d88e0,'attributes':_0x5416e3,'onAttributesChange':_0x46da15,'onAccept':(..._0x3e77b3)=>this[_0xd7d5('0x11b')](_0x2f4687,_0x128598,_0xd7d5('0x5c'))(..._0x3e77b3),'onDiscard':(..._0x22cccc)=>this['getSuggestionCallback'](_0x2f4687,_0x128598,_0xd7d5('0x40'))(..._0x22cccc)});}[_0xd7d5('0x4e')](_0x11bf50,_0x3c88e0,_0x455281,_0x3ebebf){const _0x3079f7=_0x11bf50+':'+_0x3c88e0+':'+_0x455281;this['_customCallbacks'][_0xd7d5('0x9c')](_0x3079f7,_0x3ebebf);}[_0xd7d5('0x11b')](_0x3f7cad,_0x129b33,_0x2dcf0f){const _0x571aac=_0x3f7cad+':'+_0x129b33+':'+_0x2dcf0f;return this['_customCallbacks'][_0xd7d5('0xbd')](_0x571aac)||this['_defaultCallbacks'][_0xd7d5('0xbd')](_0x3f7cad+':'+_0x2dcf0f);}['_registerDefaultCallbacks'](){const _0x2db4d7=()=>!0x1,_0xa92b3c=_0xefd79d=>{_0xefd79d[_0xd7d5('0x127')]((_0x2449ab,_0x5ac5ba)=>_0x2449ab[_0xd7d5('0x112')]['isBefore'](_0x5ac5ba[_0xd7d5('0x112')])?0x1:-0x1),this['_model'][_0xd7d5('0x124')](_0x2e5ca1=>{for(const _0x3ddf3e of _0xefd79d){let _0x94e945;_0x94e945=_0x3ddf3e[_0xd7d5('0x12f')][_0xd7d5('0x78')]&&_0x3ddf3e[_0xd7d5('0x12f')][_0xd7d5('0xd')]==_0x3ddf3e['start'][_0xd7d5('0x10d')]?_0x2e5ca1[_0xd7d5('0x8c')](_0x3ddf3e[_0xd7d5('0x112')][_0xd7d5('0x10d')],'on'):_0x2e5ca1[_0xd7d5('0x8c')](_0x3ddf3e),this['_model']['deleteContent'](_0x94e945,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x226a73=(_0x4c252a,_0x2a2195)=>{this[_0xd7d5('0xe5')][_0xd7d5('0x124')](_0x1bd754=>{const {commandName:_0x41089e,commandParams:_0x452268=[]}=_0x2a2195,_0x1a3b2a=_0x4c252a[_0xd7d5('0x141')](_0xc71726=>(Mt(_0xc71726)&&(_0xc71726=this[_0xd7d5('0xe5')][_0xd7d5('0x11e')](_0xc71726[_0xd7d5('0x12f')])),_0xc71726))[_0xd7d5('0x13')](_0x32c4aa=>_0xd7d5('0x5a')!==_0x32c4aa[_0xd7d5('0x115')]['rootName']);if(_0x1a3b2a[_0xd7d5('0xf3')]<0x1)return;const _0x32f502=Array[_0xd7d5('0x98')](this['_model'][_0xd7d5('0x88')][_0xd7d5('0x32')]['getRanges']())[_0xd7d5('0x141')](_0x207fbc=>_0x4124e0[_0xd7d5('0xb6')](_0x207fbc));_0x1bd754[_0xd7d5('0x149')](_0x1a3b2a);for(const _0x29faf9 of this[_0xd7d5('0x28')]['commands'][_0xd7d5('0xd5')]())_0x29faf9[_0xd7d5('0x1f')]();_0x452268[_0xd7d5('0x13d')]({'forceDefaultExecution':!0x0}),this[_0xd7d5('0x28')][_0xd7d5('0x14b')](_0x41089e,..._0x452268);const _0x3c03df=_0x32f502[_0xd7d5('0x13')](_0x48f9b6=>_0xd7d5('0x5a')!=_0x48f9b6['root'][_0xd7d5('0x62')]);_0x3c03df[_0xd7d5('0xf3')]>0x0&&_0x1bd754['setSelection'](_0x3c03df);for(const _0x4a9af8 of _0x32f502)_0x4a9af8['detach']();});},_0x334064=(_0x4f25ee,_0x400a89)=>0x1==_0x4f25ee[_0xd7d5('0xf3')]&&0x1==_0x400a89[_0xd7d5('0xf3')]&&_0x4f25ee[0x0][_0xd7d5('0x12f')][_0xd7d5('0x24')](_0x400a89[0x0][_0xd7d5('0x112')]),_0x67a3d9=(_0x2bd81b,_0x4725ec,_0x213042,_0x20b30c)=>xt(_0x2bd81b,_0x4725ec,_0x213042,_0x20b30c,this[_0xd7d5('0xe5')])?[_0x2bd81b,_0x4725ec]:xt(_0x4725ec,_0x2bd81b,_0x20b30c,_0x213042,this[_0xd7d5('0xe5')])?[_0x4725ec,_0x2bd81b]:null;this[_0xd7d5('0xaa')]['set'](_0xd7d5('0x57'),_0x2db4d7),this[_0xd7d5('0xaa')]['set'](_0xd7d5('0x117'),_0xa92b3c),this[_0xd7d5('0xaa')][_0xd7d5('0x9c')](_0xd7d5('0xc2'),_0x334064),this[_0xd7d5('0xaa')][_0xd7d5('0x9c')](_0xd7d5('0xae'),_0x67a3d9),this['_defaultCallbacks'][_0xd7d5('0x9c')](_0xd7d5('0x92'),_0xa92b3c),this[_0xd7d5('0xaa')][_0xd7d5('0x9c')](_0xd7d5('0x102'),_0x2db4d7),this[_0xd7d5('0xaa')]['set']('deletion:join',_0x334064),this[_0xd7d5('0xaa')][_0xd7d5('0x9c')](_0xd7d5('0x23'),_0x67a3d9),this['_defaultCallbacks']['set']('formatInline:accept',_0x226a73),this[_0xd7d5('0xaa')][_0xd7d5('0x9c')](_0xd7d5('0x9a'),_0x2db4d7),this['_defaultCallbacks'][_0xd7d5('0x9c')](_0xd7d5('0xc3'),_0x334064),this['_defaultCallbacks'][_0xd7d5('0x9c')]('formatInline:chain',_0x2db4d7),this[_0xd7d5('0xaa')][_0xd7d5('0x9c')]('formatBlock:accept',_0x226a73),this['_defaultCallbacks']['set'](_0xd7d5('0x132'),_0x2db4d7),this[_0xd7d5('0xaa')][_0xd7d5('0x9c')]('formatBlock:join',_0x334064),this[_0xd7d5('0xaa')][_0xd7d5('0x9c')](_0xd7d5('0x6f'),_0x2db4d7);}}function _t(_0x416887,_0x13fa6b,_0x249544){for(const _0x4f1cae of _0x13fa6b[_0xd7d5('0xd')][_0xd7d5('0x76')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x4f1cae[_0xd7d5('0x115')]==_0x4f1cae)return!0x1;if(!_0x249544['containsItem'](_0x4f1cae))return!0x1;if(_0x416887[_0xd7d5('0x1d')](_0x4f1cae)||_0x416887[_0xd7d5('0x1a')](_0x4f1cae))return!0x0;}return!0x1;}function Mt(_0x153b19){return _0x153b19['end'][_0xd7d5('0xd')]==_0x153b19[_0xd7d5('0x112')][_0xd7d5('0x10d')]&&_0x153b19[_0xd7d5('0x12f')][_0xd7d5('0xf5')];}function $t(_0x58b255,_0x550e72,_0x1213c6,_0x3491a2){const _0x324dad=_0x14dfbb=>!_0x14dfbb['item']['is'](_0xd7d5('0x111'))&&!_0x3491a2['isObject'](_0x14dfbb['item']),_0x4c982d=_0x58b255[_0xd7d5('0x112')][_0xd7d5('0x75')](_0x324dad),_0x3ef3fb=_0x58b255[_0xd7d5('0x12f')]['getLastMatchingPosition'](_0x324dad,{'direction':'backward'});return(!_0x58b255['start'][_0xd7d5('0x24')](_0x4c982d)||!_0x58b255[_0xd7d5('0x12f')][_0xd7d5('0x24')](_0x3ef3fb))&&(_0x4c982d[_0xd7d5('0x25')](_0x3ef3fb)?_0x1213c6[_0xd7d5('0x13c')](_0x550e72,{'range':_0x1213c6[_0xd7d5('0x11e')](_0x4c982d,_0x3ef3fb)}):_0x1213c6['removeMarker'](_0x550e72),!0x0);}function Nt(_0x402562){return _0x5f0bfa(_0x402562);}function Rt(_0x4eb3a1){const _0x58ccc2=_0x4eb3a1[_0xd7d5('0x112')][_0xd7d5('0x10d')];return _0x58ccc2&&_0x58ccc2['is']('element');}function jt(_0x5859e4,_0x263af4){const _0x25e411=_0x263af4[_0xd7d5('0xfb')][_0xd7d5('0x1d')](_0x5859e4)||_0x263af4[_0xd7d5('0xfb')]['isSelectable'](_0x5859e4);return _0x263af4['createRange'](_0x263af4[_0xd7d5('0x18')](_0x5859e4,'before'),_0x25e411?_0x263af4[_0xd7d5('0x130')](_0x5859e4):_0x263af4[_0xd7d5('0x18')](_0x5859e4,_0xd7d5('0x12f')));}function xt(_0x53a0f3,_0x5c1128,_0x43962f,_0x342852,_0x1899e3){if(!Ut(_0x53a0f3,_0x5c1128))return!0x1;if(_0x43962f['end'][_0xd7d5('0x24')](_0x342852['start']))return!0x0;if(_0x53a0f3[_0xd7d5('0x10a')]!=_0x5c1128[_0xd7d5('0x10a')])return!0x1;if(!_0x43962f[_0xd7d5('0x12f')]['isTouching'](_0x342852['start']))return!0x1;const _0x39393a=_0x1899e3[_0xd7d5('0x11e')](_0x43962f[_0xd7d5('0x12f')],_0x342852[_0xd7d5('0x112')])[_0xd7d5('0x4c')]();for(const _0x1e0ff6 of _0x39393a)if([_0xd7d5('0xcb'),_0xd7d5('0x6a')][_0xd7d5('0x52')](_0x1e0ff6[_0xd7d5('0x10a')])&&_0x1899e3[_0xd7d5('0xfb')][_0xd7d5('0x1a')](_0x1e0ff6[_0xd7d5('0x7c')]))return!0x1;return!0x0;}function Ut(_0x1555a2,_0xc0c543){return!(!_0x1555a2[_0xd7d5('0xab')]||!_0xc0c543[_0xd7d5('0xab')])&&_0x4566a5(_0x1555a2[_0xd7d5('0x128')],_0xc0c543[_0xd7d5('0x128')]);}function Ot(_0x3d63fb,_0x1e7e4e){const _0x151c8f=Et(_0x3d63fb['attributes']),_0x5e7471=Et(_0x1e7e4e);if(!_0x3d63fb['_isDataLoaded'])return!0x1;for(const _0x3f5290 of Object[_0xd7d5('0x96')](_0x5e7471))if(!_0x4566a5(_0x151c8f[_0x3f5290],_0x5e7471[_0x3f5290]))return!0x1;return!0x0;}function Et(_0xed2c71){const _0x8ea73f=Object[_0xd7d5('0x51')]({},_0xed2c71);return delete _0x8ea73f[_0xd7d5('0x12a')],delete _0x8ea73f['tablePasteChainId'],_0x8ea73f;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b28=['_disableComments','_createUIButton','activeMarkers','getSuggestion','_annotationViews','clear','view','comments.maxCommentsWhenCollapsed','config','Discard\x20all\x20suggestions','discardSelectedSuggestions','acceptAllSuggestions','CommentsUI','head','size','Annotations','commentThread','refreshSelectedViews','CommentsRepository','actionView','model','remove','getAllAdjacentSuggestions','_destroyController','acceptButton','button','Accept\x20all\x20selected\x20suggestions','focus','_handleSuggestionControllerDelayed','TrackChangesEditing','discardAllSuggestions','destroy','SuggestionThreadView','mainView','some','_updateController','pluginName','commandName','separator','toMany','from','type','change:previous','execute','createAnnotationView','locale','getMarkers','comments.editorConfig','isDirty','plugins','comments.maxCommentCharsWhenCollapsed','delete','_viewToController','arrowView','trackChanges.disableComments','suggestionChanged','length','lowest','unbind','has','push','hasSuggestion','comments','define','getByInnerView','isOn','_refreshActiveMarkers','suggestion-','createCommentThreadController','trackChanges.SuggestionThreadView','getFirstRange','acceptSelectedSuggestions','trackChanges','source','createAnnotation','_unbindEditors','switchbutton','editor','map','_descriptionFactory','bind','get','registerAnnotation','isEnabled','activeAnnotations','keys','previous','editing','_bindAnnotationToEditors','reduce','innerView','_initializeController','componentFactory','_handleControllerBuffer','getRanges','filter','values','stopListening','buttonView','_suggestionToController','set','EditorAnnotations','addComment','add','getDescriptions','listenTo','TrackChangesUI','commands','isInContent','getJoined','addSourceCollector'];(function(_0x40d143,_0x1b283d){const _0x5e6ca2=function(_0xac99ba){while(--_0xac99ba){_0x40d143['push'](_0x40d143['shift']());}};_0x5e6ca2(++_0x1b283d);}(_0x1b28,0x174));const _0x5e6c=function(_0x40d143,_0x1b283d){_0x40d143=_0x40d143-0x0;let _0x5e6ca2=_0x1b28[_0x40d143];return _0x5e6ca2;};import{Plugin as _0x3c6877}from'ckeditor5/src/core';import{Collection as _0x4f084f}from'ckeditor5/src/utils';import{Model as _0x1d0907,SplitButtonView as _0x51d06a,createDropdown as _0x10293f,addListToDropdown as _0x304e59}from'ckeditor5/src/ui';import{Users as _0x226e04,getDateTimeFormatter as _0xdcd706,getAllMarkersDomElementsSorted as _0x51735e}from'ckeditor5-collaboration/src/collaboration-core';import _0x234137 from'./trackchangesediting';import _0x106532 from'./ui/suggestioncontroller';import _0x1cfb40 from'./ui/view/suggestionthreadview';import{getTranslation as _0x24530a}from'./utils/common-translations';import _0x4cf428 from'../theme/icons/track-changes.svg';export default class d extends _0x3c6877{static get['requires'](){return[_0x234137,_0x226e04,_0x5e6c('0x5a'),_0x5e6c('0x57'),_0x5e6c('0x3e')];}static get[_0x5e6c('0x6c')](){return _0x5e6c('0x43');}constructor(_0x2fd167){super(_0x2fd167),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this[_0x5e6c('0x4c')]=new Map(),this[_0x5e6c('0x36')]=new Map();const _0x190a1d=this[_0x5e6c('0x26')][_0x5e6c('0x50')];_0x190a1d[_0x5e6c('0x18')](_0x5e6c('0x1e'),_0x1cfb40),_0x190a1d[_0x5e6c('0x18')]('trackChanges.disableComments',!0x1),this[_0x5e6c('0x48')]=_0x190a1d[_0x5e6c('0x2a')](_0x5e6c('0xf'));}[_0x5e6c('0x64')](_0x467ace,_0x531b0e){0x0===this[_0x5e6c('0x36')][_0x5e6c('0x56')]&&setTimeout(()=>{for(const [_0xb9a700,_0x322569]of this[_0x5e6c('0x36')]){const _0x4fec1d=this[_0x5e6c('0x3c')][_0x5e6c('0x14')](_0xb9a700);_0x4fec1d||_0x322569?_0x4fec1d&&_0x322569&&this[_0x5e6c('0x5f')](_0xb9a700):this[_0x5e6c('0x34')](_0xb9a700);}this[_0x5e6c('0x26')][_0x5e6c('0xa')][_0x5e6c('0x2a')](_0x5e6c('0x3e'))[_0x5e6c('0x59')](),this[_0x5e6c('0x1b')](),this[_0x5e6c('0x36')][_0x5e6c('0x4d')]();},0xa),this[_0x5e6c('0x36')][_0x5e6c('0x3d')](_0x467ace,_0x531b0e);}['init'](){const _0x236be6=this['editor'],_0x2fde5=_0x236be6['plugins'][_0x5e6c('0x2a')](_0x5e6c('0x65')),_0x547b1b=_0x236be6['plugins'][_0x5e6c('0x2a')](_0x5e6c('0x57')),_0x386a45=_0x236be6['plugins'][_0x5e6c('0x2a')](_0x5e6c('0x3e')),_0xbd18b=_0x236be6[_0x5e6c('0xa')][_0x5e6c('0x2a')]('CommentsRepository');_0x236be6['ui'][_0x5e6c('0x35')][_0x5e6c('0x40')]('trackChanges',_0xf2cc97=>this[_0x5e6c('0x49')](_0xf2cc97)),_0x386a45[_0x5e6c('0x47')](()=>{const _0x237751=[];for(const [_0xcd1d3f,_0xec5648]of Array[_0x5e6c('0x1')](this['_suggestionToController'])){const _0x444ab3=_0xcd1d3f[_0x5e6c('0x5e')](),_0x1845da=[];for(const _0x2a7d31 of _0x444ab3){if(!_0x2a7d31[_0x5e6c('0x45')])continue;if(_0x2a7d31['isMultiRange']){_0x1845da[_0x5e6c('0x15')](..._0x2a7d31[_0x5e6c('0x37')]());continue;}const _0x969119=_0x2a7d31[_0x5e6c('0x1f')]();if(_0x1845da[_0x5e6c('0x11')]>0x0){const _0x5c69a3=_0x1845da[0x0][_0x5e6c('0x46')](_0x969119);if(_0x5c69a3){_0x1845da[0x0]=_0x5c69a3;continue;}}_0x1845da['push'](_0x969119);}_0x237751['push']([_0xec5648[_0x5e6c('0x4e')],_0x1845da]);}return _0x237751;}),this[_0x5e6c('0x42')](_0x2fde5,'suggestionLoaded',(_0x486bf1,_0x36a12e)=>{this['listenTo'](_0x36a12e,_0x5e6c('0x3'),(_0x514901,_0x3811fb,_0x26dc91,_0x20d908)=>{_0x36a12e['isInContent']&&(null==_0x26dc91?(this[_0x5e6c('0x6b')](_0x20d908['head']),this[_0x5e6c('0x64')](_0x36a12e,!0x1)):(this[_0x5e6c('0x6b')](_0x26dc91[_0x5e6c('0x55')]),this[_0x5e6c('0x64')](_0x36a12e,!0x0)));}),null===_0x36a12e[_0x5e6c('0x2f')]?this[_0x5e6c('0x64')](_0x36a12e,!0x1):this[_0x5e6c('0x6b')](_0x36a12e[_0x5e6c('0x55')]);}),this['listenTo'](_0x2fde5,'suggestionUnloaded',(_0x40569e,_0x4e2f5c,_0x35a110)=>{this[_0x5e6c('0x3a')](_0x4e2f5c,_0x5e6c('0x3')),this[_0x5e6c('0x36')]['delete'](_0x4e2f5c);const _0x5796cc=_0x35a110?_0x35a110[_0x5e6c('0x55')]:_0x4e2f5c,_0x9ef3da=this['_suggestionToController'][_0x5e6c('0x2a')](_0x5796cc);null!==_0x35a110&&this['_updateController'](_0x5796cc),null===_0x35a110&&_0x9ef3da&&this[_0x5e6c('0x5f')](_0x4e2f5c);}),this['listenTo'](_0x2fde5,_0x5e6c('0x10'),(_0x2fa4e3,_0x28290b)=>{this['_updateController'](_0x28290b);}),this[_0x5e6c('0x42')](_0x547b1b,'change:activeAnnotations',()=>{this[_0x5e6c('0x1b')]();}),this[_0x5e6c('0x42')](_0xbd18b,_0x5e6c('0x3f'),(_0x14a7a6,{threadId:_0x234d73,isFromAdapter:_0x375c3e})=>{if(_0x375c3e||!_0x2fde5[_0x5e6c('0x16')](_0x234d73))return;const _0x3180f9=_0x2fde5[_0x5e6c('0x4b')](_0x234d73);this[_0x5e6c('0x3c')][_0x5e6c('0x2a')](_0x3180f9)[_0x5e6c('0x4e')][_0x5e6c('0x63')]();},{'priority':_0x5e6c('0x12')});}[_0x5e6c('0x1b')](){const _0x20a9bb=this[_0x5e6c('0x26')]['plugins'][_0x5e6c('0x2a')]('Annotations'),_0x340709=this[_0x5e6c('0x26')]['plugins'][_0x5e6c('0x2a')](_0x5e6c('0x65')),_0x1c0838=Array[_0x5e6c('0x1')](_0x20a9bb[_0x5e6c('0x2d')],_0x112035=>_0x112035[_0x5e6c('0x33')])['filter'](_0x5ecb92=>this[_0x5e6c('0xd')][_0x5e6c('0x14')](_0x5ecb92)),_0x30bd43=[];for(const _0x53e556 of _0x1c0838){const _0x3e1f8a=this[_0x5e6c('0xd')][_0x5e6c('0x2a')](_0x53e556)[_0x5e6c('0x5c')]['getAllAdjacentSuggestions']();_0x30bd43[_0x5e6c('0x15')](..._0x3e1f8a[_0x5e6c('0x32')]((_0x1aa302,_0x1b8096)=>[..._0x1aa302,..._0x1b8096['getMarkerNames']()],[]));}_0x340709[_0x5e6c('0x4a')]=_0x30bd43;}['_createUIButton'](_0x50f1d9){const _0x16d7ac=_0x10293f(_0x50f1d9,_0x51d06a),_0x12c92d=this[_0x5e6c('0x26')][_0x5e6c('0x44')][_0x5e6c('0x2a')](_0x5e6c('0x21')),_0x170267=_0x24530a(_0x50f1d9,'Track\x20changes');_0x16d7ac[_0x5e6c('0x3b')][_0x5e6c('0x3d')]({'tooltip':_0x170267,'label':_0x170267,'icon':_0x4cf428}),_0x16d7ac[_0x5e6c('0x3b')][_0x5e6c('0x29')](_0x5e6c('0x1a'))['to'](_0x12c92d,'value'),_0x16d7ac[_0x5e6c('0x3b')]['on'](_0x5e6c('0x4'),()=>{_0x12c92d[_0x5e6c('0x4')](),this[_0x5e6c('0x26')][_0x5e6c('0x30')][_0x5e6c('0x4e')][_0x5e6c('0x63')]();});const _0x469529=new _0x4f084f(),_0x5b70bc=[{'type':_0x5e6c('0x25'),'model':{'withText':!0x0,'label':_0x170267,'commandName':_0x5e6c('0x21')}},{'type':_0x5e6c('0x6e')},{'type':'button','model':{'withText':!0x0,'label':_0x24530a(_0x50f1d9,'Accept\x20all\x20suggestions'),'commandName':_0x5e6c('0x53')}},{'type':_0x5e6c('0x61'),'model':{'withText':!0x0,'label':_0x24530a(_0x50f1d9,_0x5e6c('0x62')),'commandName':_0x5e6c('0x20')}},{'type':_0x5e6c('0x61'),'model':{'withText':!0x0,'label':_0x24530a(_0x50f1d9,_0x5e6c('0x51')),'commandName':_0x5e6c('0x66')}},{'type':'button','model':{'withText':!0x0,'label':_0x24530a(_0x50f1d9,'Discard\x20all\x20selected\x20suggestions'),'commandName':_0x5e6c('0x52')}}];for(const _0x440e4f of _0x5b70bc){let _0x242fb6={'type':'separator'};if(_0x440e4f[_0x5e6c('0x5c')]){const _0x40b579=new _0x1d0907(_0x440e4f[_0x5e6c('0x5c')]),_0x294307=this[_0x5e6c('0x26')][_0x5e6c('0x44')][_0x5e6c('0x2a')](_0x40b579['commandName']);_0x40b579[_0x5e6c('0x29')](_0x5e6c('0x1a'),'isEnabled')['to'](_0x294307,'value',_0x5e6c('0x2c')),_0x242fb6={'type':_0x440e4f[_0x5e6c('0x2')],'model':_0x40b579};}_0x469529[_0x5e6c('0x40')](_0x242fb6);}_0x304e59(_0x16d7ac,_0x469529);const _0x482355=_0x5b70bc['filter'](_0x478522=>null!=_0x478522[_0x5e6c('0x5c')])[_0x5e6c('0x27')](_0x57682a=>this[_0x5e6c('0x26')][_0x5e6c('0x44')]['get'](_0x57682a[_0x5e6c('0x5c')]['commandName'])),_0x4ed4da=_0x16d7ac[_0x5e6c('0x3b')];return _0x4ed4da[_0x5e6c('0x5b')][_0x5e6c('0x13')](_0x5e6c('0x2c')),_0x4ed4da['arrowView']['unbind']('isEnabled'),_0x4ed4da[_0x5e6c('0x5b')]['bind']('isEnabled')['to'](_0x12c92d,_0x5e6c('0x2c')),_0x4ed4da[_0x5e6c('0xe')][_0x5e6c('0x29')](_0x5e6c('0x2c'))[_0x5e6c('0x0')](_0x482355,_0x5e6c('0x2c'),(..._0x3f828a)=>_0x3f828a[_0x5e6c('0x6a')](_0x133b72=>_0x133b72)),_0x16d7ac['on'](_0x5e6c('0x4'),_0x496405=>{this[_0x5e6c('0x26')][_0x5e6c('0x4')](_0x496405[_0x5e6c('0x22')][_0x5e6c('0x6d')]),this[_0x5e6c('0x26')][_0x5e6c('0x30')]['view']['focus']();}),_0x16d7ac;}['_initializeController'](_0x33f9ae){const _0x119ea4=this[_0x5e6c('0x26')],_0x36445c=_0x119ea4[_0x5e6c('0x50')],_0x388749=_0x119ea4[_0x5e6c('0xa')]['get'](_0x5e6c('0x57')),_0x107065=_0x119ea4[_0x5e6c('0xa')][_0x5e6c('0x2a')]('CommentsRepository'),_0x194009=_0x119ea4[_0x5e6c('0xa')]['get'](_0x5e6c('0x3e')),_0x42b13e=_0x119ea4['plugins'][_0x5e6c('0x2a')](_0x226e04)['me'],_0x2ee1d3=_0x36445c[_0x5e6c('0x2a')](_0x5e6c('0x21'))[_0x5e6c('0x68')],{CommentsListView:_0x54e41e,CommentThreadInputView:_0x14daf}=_0x119ea4['plugins'][_0x5e6c('0x2a')](_0x5e6c('0x54'));let _0x5e24cc,_0x33e7f3;this[_0x5e6c('0x4c')][_0x5e6c('0x14')](_0x33f9ae['id'])?(_0x33e7f3=this['_annotationViews']['get'](_0x33f9ae['id']),_0x5e24cc=_0x33e7f3[_0x5e6c('0x69')]):(_0x5e24cc=new _0x2ee1d3(_0x119ea4[_0x5e6c('0x6')],_0x33f9ae,_0x42b13e,{'disableComments':this[_0x5e6c('0x48')],'editorConfig':_0x36445c[_0x5e6c('0x2a')](_0x5e6c('0x8')),'maxCommentsWhenCollapsed':_0x36445c[_0x5e6c('0x2a')](_0x5e6c('0x4f')),'maxThreadTotalWeight':_0x36445c[_0x5e6c('0x2a')]('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x36445c[_0x5e6c('0x2a')](_0x5e6c('0xb')),'formatDateTime':_0xdcd706(_0x36445c[_0x5e6c('0x2a')](_0x5e6c('0x6'))),'CommentView':_0x36445c[_0x5e6c('0x2a')](_0x5e6c('0x17'))['CommentView'],'CommentsListView':_0x54e41e,'CommentThreadInputView':_0x14daf}),_0x5e24cc[_0x5e6c('0x60')]['on'](_0x5e6c('0x4'),()=>{_0x119ea4[_0x5e6c('0x30')][_0x5e6c('0x4e')]['focus']();}),_0x5e24cc['discardButton']['on']('execute',()=>{_0x119ea4[_0x5e6c('0x30')][_0x5e6c('0x4e')]['focus']();}),_0x33e7f3=_0x388749[_0x5e6c('0x5')](this['editor'][_0x5e6c('0x6')],_0x5e24cc),_0x33e7f3[_0x5e6c('0x29')](_0x5e6c('0x9'))['to'](_0x5e24cc,_0x5e6c('0x9')),_0x33e7f3[_0x5e6c('0x29')](_0x5e6c('0x11'))['to'](_0x5e24cc),_0x33e7f3[_0x5e6c('0x29')](_0x5e6c('0x2'))['to'](_0x5e24cc,'type',_0x1ab6c1=>_0x5e6c('0x1c')+_0x1ab6c1),this[_0x5e6c('0x4c')][_0x5e6c('0x3d')](_0x33f9ae['id'],_0x33e7f3));const _0x1d221b=_0x107065[_0x5e6c('0x1d')](_0x33f9ae[_0x5e6c('0x58')],_0x5e24cc),_0x3efda9=new _0x106532(_0x119ea4,_0x33f9ae,_0x5e24cc,_0x1d221b),_0x1409cf=_0x33f9ae[_0x5e6c('0x5e')]()[_0x5e6c('0x38')](_0x42d982=>_0x42d982[_0x5e6c('0x45')]);_0x5e24cc['descriptionParts']=_0x119ea4['plugins']['get']('TrackChangesEditing')['_descriptionFactory'][_0x5e6c('0x41')](_0x1409cf),this[_0x5e6c('0x3c')][_0x5e6c('0x3d')](_0x33f9ae,_0x3efda9),this[_0x5e6c('0xd')]['set'](_0x5e24cc,_0x3efda9);const _0x171805=_0x388749[_0x5e6c('0x23')]({'view':_0x33e7f3,'target':()=>{const _0x2b8989=[],_0x4d03b2=_0x33f9ae[_0x5e6c('0x5e')]()[_0x5e6c('0x38')](_0x3dba3f=>_0x3dba3f[_0x5e6c('0x45')]);for(const _0x27e1f5 of _0x4d03b2)_0x2b8989[_0x5e6c('0x15')](..._0x27e1f5[_0x5e6c('0x7')]());return _0x51735e(_0x119ea4[_0x5e6c('0x30')],_0x2b8989);},'type':()=>_0x5e6c('0x1c')+_0x3efda9[_0x5e6c('0x4e')][_0x5e6c('0x2')]});_0x107065[_0x5e6c('0x31')](_0x5e24cc,_0x171805),_0x388749[_0x5e6c('0x40')](_0x171805),_0x194009[_0x5e6c('0x2b')](_0x171805);}[_0x5e6c('0x5f')](_0x40c42c){const _0x114b5e=this[_0x5e6c('0x26')][_0x5e6c('0xa')][_0x5e6c('0x2a')](_0x5e6c('0x5a')),_0x42288a=this[_0x5e6c('0x26')][_0x5e6c('0xa')]['get'](_0x5e6c('0x57')),_0x505a04=this[_0x5e6c('0x3c')][_0x5e6c('0x2a')](_0x40c42c),_0x44342e=_0x505a04[_0x5e6c('0x4e')],_0x31f5aa=_0x42288a[_0x5e6c('0x19')](_0x44342e);_0x114b5e[_0x5e6c('0x24')](_0x44342e),_0x31f5aa&&_0x42288a[_0x5e6c('0x5d')](_0x31f5aa),this[_0x5e6c('0x3c')][_0x5e6c('0xc')](_0x40c42c),this[_0x5e6c('0xd')][_0x5e6c('0xc')](_0x44342e),_0x505a04[_0x5e6c('0x67')]();}[_0x5e6c('0x6b')](_0x5f22eb){if(!_0x5f22eb[_0x5e6c('0x45')]||!this[_0x5e6c('0x3c')][_0x5e6c('0x14')](_0x5f22eb))return;const _0x273e24=this['editor'][_0x5e6c('0xa')][_0x5e6c('0x2a')](_0x5e6c('0x65')),_0x151c39=this['_suggestionToController'][_0x5e6c('0x2a')](_0x5f22eb),_0x199168=_0x5f22eb[_0x5e6c('0x5e')]();_0x151c39[_0x5e6c('0x4e')]['descriptionParts']=_0x273e24[_0x5e6c('0x28')][_0x5e6c('0x41')](_0x199168);}[_0x5e6c('0x67')](){for(const _0xb20893 of this[_0x5e6c('0x3c')][_0x5e6c('0x2e')]())this[_0x5e6c('0x5f')](_0xb20893);for(const _0x1cd982 of this[_0x5e6c('0x4c')][_0x5e6c('0x39')]())_0x1cd982['mainView']['destroy']();super[_0x5e6c('0x67')]();}}
23
+ const _0x5ac6=['filter','button','Annotations','from','comments','define','head','suggestion-','isDirty','values','createAnnotation','createCommentThreadController','discardSelectedSuggestions','registerAnnotation','discardButton','suggestionLoaded','focus','isEnabled','getAllAdjacentSuggestions','listenTo','comments.maxCommentCharsWhenCollapsed','_disableComments','TrackChangesUI','pluginName','value','some','Discard\x20all\x20selected\x20suggestions','getMarkerNames','actionView','commands','Accept\x20all\x20selected\x20suggestions','componentFactory','type','_unbindEditors','addComment','isInContent','getSuggestion','_destroyController','clear','_handleSuggestionControllerDelayed','destroy','descriptionParts','EditorAnnotations','_updateController','getDescriptions','length','view','buttonView','innerView','trackChanges','refreshSelectedViews','activeMarkers','discardAllSuggestions','comments.editorConfig','trackChanges.SuggestionThreadView','size','addSourceCollector','get','mainView','delete','_handleControllerBuffer','change:previous','separator','keys','previous','editor','acceptAllSuggestions','Discard\x20all\x20suggestions','_bindAnnotationToEditors','execute','bind','push','getFirstRange','getMarkers','init','_createUIButton','remove','_annotationViews','editing','switchbutton','acceptSelectedSuggestions','_initializeController','_suggestionToController','has','model','suggestionUnloaded','add','getByInnerView','_viewToController','map','Track\x20changes','CommentsRepository','isOn','CommentView','source','config','hasSuggestion','TrackChangesEditing','comments.maxThreadTotalWeight','requires','_refreshActiveMarkers','locale','set','plugins','arrowView','trackChanges.disableComments','commandName','_descriptionFactory','toMany','suggestionChanged'];(function(_0x46c8e8,_0x5ac661){const _0x1bc4ce=function(_0x316dbe){while(--_0x316dbe){_0x46c8e8['push'](_0x46c8e8['shift']());}};_0x1bc4ce(++_0x5ac661);}(_0x5ac6,0x18d));const _0x1bc4=function(_0x46c8e8,_0x5ac661){_0x46c8e8=_0x46c8e8-0x0;let _0x1bc4ce=_0x5ac6[_0x46c8e8];return _0x1bc4ce;};import{Plugin as _0x55723d}from'ckeditor5/src/core';import{Collection as _0xb05ed8}from'ckeditor5/src/utils';import{Model as _0x5f369f,SplitButtonView as _0x41efbf,createDropdown as _0x36b65a,addListToDropdown as _0x4154fe}from'ckeditor5/src/ui';import{Users as _0x2cee90,getDateTimeFormatter as _0x4c3bf2,getAllMarkersDomElementsSorted as _0x4c7f69}from'ckeditor5-collaboration/src/collaboration-core';import _0xf9b7ed from'./trackchangesediting';import _0x473578 from'./ui/suggestioncontroller';import _0x555bf1 from'./ui/view/suggestionthreadview';import{getTranslation as _0x120537}from'./utils/common-translations';import _0x14aca1 from'../theme/icons/track-changes.svg';export default class d extends _0x55723d{static get[_0x1bc4('0x20')](){return[_0xf9b7ed,_0x2cee90,_0x1bc4('0x18'),_0x1bc4('0x2d'),_0x1bc4('0x55')];}static get[_0x1bc4('0x42')](){return _0x1bc4('0x41');}constructor(_0x4b563a){super(_0x4b563a),this[_0x1bc4('0xf')]=new Map(),this[_0x1bc4('0x15')]=new Map(),this[_0x1bc4('0xa')]=new Map(),this['_handleControllerBuffer']=new Map();const _0x24d09d=this['editor'][_0x1bc4('0x1c')];_0x24d09d[_0x1bc4('0x30')](_0x1bc4('0x61'),_0x555bf1),_0x24d09d[_0x1bc4('0x30')](_0x1bc4('0x26'),!0x1),this[_0x1bc4('0x40')]=_0x24d09d[_0x1bc4('0x64')](_0x1bc4('0x26'));}[_0x1bc4('0x52')](_0x2c653c,_0x18b687){0x0===this['_handleControllerBuffer'][_0x1bc4('0x62')]&&setTimeout(()=>{for(const [_0x3d358f,_0x1bdc1d]of this['_handleControllerBuffer']){const _0x22e1ca=this[_0x1bc4('0xf')]['has'](_0x3d358f);_0x22e1ca||_0x1bdc1d?_0x22e1ca&&_0x1bdc1d&&this[_0x1bc4('0x50')](_0x3d358f):this[_0x1bc4('0xe')](_0x3d358f);}this[_0x1bc4('0x6c')]['plugins']['get'](_0x1bc4('0x55'))[_0x1bc4('0x5d')](),this[_0x1bc4('0x21')](),this[_0x1bc4('0x67')][_0x1bc4('0x51')]();},0xa),this[_0x1bc4('0x67')][_0x1bc4('0x23')](_0x2c653c,_0x18b687);}[_0x1bc4('0x7')](){const _0x21b749=this[_0x1bc4('0x6c')],_0xb128e9=_0x21b749['plugins'][_0x1bc4('0x64')]('TrackChangesEditing'),_0x15b53e=_0x21b749[_0x1bc4('0x24')][_0x1bc4('0x64')](_0x1bc4('0x2d')),_0x3f1b0d=_0x21b749[_0x1bc4('0x24')][_0x1bc4('0x64')]('EditorAnnotations'),_0x901883=_0x21b749['plugins'][_0x1bc4('0x64')](_0x1bc4('0x18'));_0x21b749['ui'][_0x1bc4('0x4a')][_0x1bc4('0x13')]('trackChanges',_0x115a55=>this[_0x1bc4('0x8')](_0x115a55)),_0x3f1b0d[_0x1bc4('0x63')](()=>{const _0x1c0cce=[];for(const [_0x19dc42,_0x15493c]of Array[_0x1bc4('0x2e')](this[_0x1bc4('0xf')])){const _0x3ade29=_0x19dc42[_0x1bc4('0x3d')](),_0x4a7fb0=[];for(const _0x82cd6f of _0x3ade29){if(!_0x82cd6f[_0x1bc4('0x4e')])continue;if(_0x82cd6f['isMultiRange']){_0x4a7fb0[_0x1bc4('0x4')](..._0x82cd6f['getRanges']());continue;}const _0x4a439d=_0x82cd6f[_0x1bc4('0x5')]();if(_0x4a7fb0[_0x1bc4('0x58')]>0x0){const _0x15c306=_0x4a7fb0[0x0]['getJoined'](_0x4a439d);if(_0x15c306){_0x4a7fb0[0x0]=_0x15c306;continue;}}_0x4a7fb0[_0x1bc4('0x4')](_0x4a439d);}_0x1c0cce[_0x1bc4('0x4')]([_0x15493c[_0x1bc4('0x59')],_0x4a7fb0]);}return _0x1c0cce;}),this[_0x1bc4('0x3e')](_0xb128e9,_0x1bc4('0x3a'),(_0x5b51b2,_0x3d3488)=>{this[_0x1bc4('0x3e')](_0x3d3488,_0x1bc4('0x68'),(_0x52b9c7,_0x2c341d,_0x9a1385,_0x59829f)=>{_0x3d3488[_0x1bc4('0x4e')]&&(null==_0x9a1385?(this['_updateController'](_0x59829f[_0x1bc4('0x31')]),this[_0x1bc4('0x52')](_0x3d3488,!0x1)):(this[_0x1bc4('0x56')](_0x9a1385[_0x1bc4('0x31')]),this[_0x1bc4('0x52')](_0x3d3488,!0x0)));}),null===_0x3d3488[_0x1bc4('0x6b')]?this[_0x1bc4('0x52')](_0x3d3488,!0x1):this[_0x1bc4('0x56')](_0x3d3488['head']);}),this[_0x1bc4('0x3e')](_0xb128e9,_0x1bc4('0x12'),(_0x412851,_0x1d83af,_0xa1691c)=>{this['stopListening'](_0x1d83af,_0x1bc4('0x68')),this['_handleControllerBuffer'][_0x1bc4('0x66')](_0x1d83af);const _0x1c4651=_0xa1691c?_0xa1691c[_0x1bc4('0x31')]:_0x1d83af,_0x4bc572=this[_0x1bc4('0xf')][_0x1bc4('0x64')](_0x1c4651);null!==_0xa1691c&&this['_updateController'](_0x1c4651),null===_0xa1691c&&_0x4bc572&&this[_0x1bc4('0x50')](_0x1d83af);}),this[_0x1bc4('0x3e')](_0xb128e9,_0x1bc4('0x2a'),(_0x2d3e7b,_0x2f0304)=>{this[_0x1bc4('0x56')](_0x2f0304);}),this['listenTo'](_0x15b53e,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this[_0x1bc4('0x3e')](_0x901883,_0x1bc4('0x4d'),(_0x314858,{threadId:_0xc0141e,isFromAdapter:_0x5f43f2})=>{if(_0x5f43f2||!_0xb128e9[_0x1bc4('0x1d')](_0xc0141e))return;const _0x5ab405=_0xb128e9[_0x1bc4('0x4f')](_0xc0141e);this[_0x1bc4('0xf')][_0x1bc4('0x64')](_0x5ab405)['view'][_0x1bc4('0x3b')]();},{'priority':'lowest'});}[_0x1bc4('0x21')](){const _0x26b0c3=this[_0x1bc4('0x6c')][_0x1bc4('0x24')][_0x1bc4('0x64')](_0x1bc4('0x2d')),_0x55bae4=this[_0x1bc4('0x6c')][_0x1bc4('0x24')][_0x1bc4('0x64')](_0x1bc4('0x1e')),_0x18fbbc=Array[_0x1bc4('0x2e')](_0x26b0c3['activeAnnotations'],_0x342cd9=>_0x342cd9[_0x1bc4('0x5b')])[_0x1bc4('0x2b')](_0x3d3143=>this[_0x1bc4('0x15')][_0x1bc4('0x10')](_0x3d3143)),_0x2996e7=[];for(const _0x5901fa of _0x18fbbc){const _0x501dde=this[_0x1bc4('0x15')]['get'](_0x5901fa)[_0x1bc4('0x11')][_0x1bc4('0x3d')]();_0x2996e7[_0x1bc4('0x4')](..._0x501dde['reduce']((_0x598080,_0x1c100c)=>[..._0x598080,..._0x1c100c[_0x1bc4('0x46')]()],[]));}_0x55bae4[_0x1bc4('0x5e')]=_0x2996e7;}['_createUIButton'](_0x200bf2){const _0x6cadb5=_0x36b65a(_0x200bf2,_0x41efbf),_0x5bb2df=this[_0x1bc4('0x6c')][_0x1bc4('0x48')][_0x1bc4('0x64')](_0x1bc4('0x5c')),_0x27b175=_0x120537(_0x200bf2,_0x1bc4('0x17'));_0x6cadb5[_0x1bc4('0x5a')][_0x1bc4('0x23')]({'tooltip':_0x27b175,'label':_0x27b175,'icon':_0x14aca1}),_0x6cadb5['buttonView'][_0x1bc4('0x3')]('isOn')['to'](_0x5bb2df,_0x1bc4('0x43')),_0x6cadb5[_0x1bc4('0x5a')]['on'](_0x1bc4('0x2'),()=>{_0x5bb2df[_0x1bc4('0x2')](),this['editor'][_0x1bc4('0xb')][_0x1bc4('0x59')][_0x1bc4('0x3b')]();});const _0x2b41e6=new _0xb05ed8(),_0x1f2142=[{'type':_0x1bc4('0xc'),'model':{'withText':!0x0,'label':_0x27b175,'commandName':_0x1bc4('0x5c')}},{'type':_0x1bc4('0x69')},{'type':'button','model':{'withText':!0x0,'label':_0x120537(_0x200bf2,'Accept\x20all\x20suggestions'),'commandName':_0x1bc4('0x6d')}},{'type':'button','model':{'withText':!0x0,'label':_0x120537(_0x200bf2,_0x1bc4('0x49')),'commandName':_0x1bc4('0xd')}},{'type':_0x1bc4('0x2c'),'model':{'withText':!0x0,'label':_0x120537(_0x200bf2,_0x1bc4('0x0')),'commandName':_0x1bc4('0x5f')}},{'type':_0x1bc4('0x2c'),'model':{'withText':!0x0,'label':_0x120537(_0x200bf2,_0x1bc4('0x45')),'commandName':_0x1bc4('0x37')}}];for(const _0xe5be10 of _0x1f2142){let _0x2573c6={'type':_0x1bc4('0x69')};if(_0xe5be10[_0x1bc4('0x11')]){const _0x44ba31=new _0x5f369f(_0xe5be10['model']),_0x3e2c61=this['editor'][_0x1bc4('0x48')]['get'](_0x44ba31['commandName']);_0x44ba31[_0x1bc4('0x3')](_0x1bc4('0x19'),_0x1bc4('0x3c'))['to'](_0x3e2c61,'value',_0x1bc4('0x3c')),_0x2573c6={'type':_0xe5be10[_0x1bc4('0x4b')],'model':_0x44ba31};}_0x2b41e6[_0x1bc4('0x13')](_0x2573c6);}_0x4154fe(_0x6cadb5,_0x2b41e6);const _0x2f022c=_0x1f2142['filter'](_0x257e89=>null!=_0x257e89[_0x1bc4('0x11')])[_0x1bc4('0x16')](_0x2a3358=>this[_0x1bc4('0x6c')][_0x1bc4('0x48')][_0x1bc4('0x64')](_0x2a3358['model'][_0x1bc4('0x27')])),_0x52c2fc=_0x6cadb5['buttonView'];return _0x52c2fc[_0x1bc4('0x47')]['unbind'](_0x1bc4('0x3c')),_0x52c2fc[_0x1bc4('0x25')]['unbind'](_0x1bc4('0x3c')),_0x52c2fc['actionView'][_0x1bc4('0x3')](_0x1bc4('0x3c'))['to'](_0x5bb2df,'isEnabled'),_0x52c2fc[_0x1bc4('0x25')][_0x1bc4('0x3')](_0x1bc4('0x3c'))[_0x1bc4('0x29')](_0x2f022c,_0x1bc4('0x3c'),(..._0x5ae8bc)=>_0x5ae8bc[_0x1bc4('0x44')](_0x1ce205=>_0x1ce205)),_0x6cadb5['on']('execute',_0x3dffce=>{this[_0x1bc4('0x6c')][_0x1bc4('0x2')](_0x3dffce[_0x1bc4('0x1b')]['commandName']),this[_0x1bc4('0x6c')][_0x1bc4('0xb')][_0x1bc4('0x59')][_0x1bc4('0x3b')]();}),_0x6cadb5;}[_0x1bc4('0xe')](_0x4bc602){const _0x3bc8f9=this['editor'],_0x577c0d=_0x3bc8f9[_0x1bc4('0x1c')],_0x340368=_0x3bc8f9[_0x1bc4('0x24')][_0x1bc4('0x64')](_0x1bc4('0x2d')),_0xe9a09c=_0x3bc8f9[_0x1bc4('0x24')][_0x1bc4('0x64')](_0x1bc4('0x18')),_0x361d41=_0x3bc8f9[_0x1bc4('0x24')][_0x1bc4('0x64')](_0x1bc4('0x55')),_0x11d48b=_0x3bc8f9[_0x1bc4('0x24')][_0x1bc4('0x64')](_0x2cee90)['me'],_0x2a145b=_0x577c0d[_0x1bc4('0x64')]('trackChanges')['SuggestionThreadView'],{CommentsListView:_0x3bc531,CommentThreadInputView:_0x2f62c3}=_0x3bc8f9[_0x1bc4('0x24')][_0x1bc4('0x64')]('CommentsUI');let _0x64d93b,_0x12e2ba;this[_0x1bc4('0xa')][_0x1bc4('0x10')](_0x4bc602['id'])?(_0x12e2ba=this[_0x1bc4('0xa')]['get'](_0x4bc602['id']),_0x64d93b=_0x12e2ba['mainView']):(_0x64d93b=new _0x2a145b(_0x3bc8f9[_0x1bc4('0x22')],_0x4bc602,_0x11d48b,{'disableComments':this['_disableComments'],'editorConfig':_0x577c0d[_0x1bc4('0x64')](_0x1bc4('0x60')),'maxCommentsWhenCollapsed':_0x577c0d[_0x1bc4('0x64')]('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x577c0d['get'](_0x1bc4('0x1f')),'maxCommentCharsWhenCollapsed':_0x577c0d[_0x1bc4('0x64')](_0x1bc4('0x3f')),'formatDateTime':_0x4c3bf2(_0x577c0d[_0x1bc4('0x64')]('locale')),'CommentView':_0x577c0d[_0x1bc4('0x64')](_0x1bc4('0x2f'))[_0x1bc4('0x1a')],'CommentsListView':_0x3bc531,'CommentThreadInputView':_0x2f62c3}),_0x64d93b['acceptButton']['on'](_0x1bc4('0x2'),()=>{_0x3bc8f9[_0x1bc4('0xb')][_0x1bc4('0x59')]['focus']();}),_0x64d93b[_0x1bc4('0x39')]['on'](_0x1bc4('0x2'),()=>{_0x3bc8f9[_0x1bc4('0xb')][_0x1bc4('0x59')][_0x1bc4('0x3b')]();}),_0x12e2ba=_0x340368['createAnnotationView'](this[_0x1bc4('0x6c')][_0x1bc4('0x22')],_0x64d93b),_0x12e2ba[_0x1bc4('0x3')](_0x1bc4('0x33'))['to'](_0x64d93b,_0x1bc4('0x33')),_0x12e2ba[_0x1bc4('0x3')](_0x1bc4('0x58'))['to'](_0x64d93b),_0x12e2ba[_0x1bc4('0x3')](_0x1bc4('0x4b'))['to'](_0x64d93b,_0x1bc4('0x4b'),_0x30a599=>_0x1bc4('0x32')+_0x30a599),this['_annotationViews']['set'](_0x4bc602['id'],_0x12e2ba));const _0xb8e803=_0xe9a09c[_0x1bc4('0x36')](_0x4bc602['commentThread'],_0x64d93b),_0x464bfe=new _0x473578(_0x3bc8f9,_0x4bc602,_0x64d93b,_0xb8e803),_0x2d7c59=_0x4bc602[_0x1bc4('0x3d')]()['filter'](_0xa40bd3=>_0xa40bd3[_0x1bc4('0x4e')]);_0x64d93b[_0x1bc4('0x54')]=_0x3bc8f9[_0x1bc4('0x24')][_0x1bc4('0x64')](_0x1bc4('0x1e'))[_0x1bc4('0x28')]['getDescriptions'](_0x2d7c59),this['_suggestionToController'][_0x1bc4('0x23')](_0x4bc602,_0x464bfe),this['_viewToController'][_0x1bc4('0x23')](_0x64d93b,_0x464bfe);const _0xfd1f87=_0x340368[_0x1bc4('0x35')]({'view':_0x12e2ba,'target':()=>{const _0x31c655=[],_0x7e6737=_0x4bc602[_0x1bc4('0x3d')]()['filter'](_0x19a0cb=>_0x19a0cb[_0x1bc4('0x4e')]);for(const _0x3f7f50 of _0x7e6737)_0x31c655[_0x1bc4('0x4')](..._0x3f7f50[_0x1bc4('0x6')]());return _0x4c7f69(_0x3bc8f9[_0x1bc4('0xb')],_0x31c655);},'type':()=>_0x1bc4('0x32')+_0x464bfe[_0x1bc4('0x59')][_0x1bc4('0x4b')]});_0xe9a09c[_0x1bc4('0x1')](_0x64d93b,_0xfd1f87),_0x340368['add'](_0xfd1f87),_0x361d41[_0x1bc4('0x38')](_0xfd1f87);}[_0x1bc4('0x50')](_0x5541cf){const _0x4838aa=this[_0x1bc4('0x6c')][_0x1bc4('0x24')]['get'](_0x1bc4('0x18')),_0x48a8c9=this[_0x1bc4('0x6c')][_0x1bc4('0x24')][_0x1bc4('0x64')]('Annotations'),_0xdc694a=this[_0x1bc4('0xf')]['get'](_0x5541cf),_0x1dfaa7=_0xdc694a[_0x1bc4('0x59')],_0xfab1fe=_0x48a8c9[_0x1bc4('0x14')](_0x1dfaa7);_0x4838aa[_0x1bc4('0x4c')](_0x1dfaa7),_0xfab1fe&&_0x48a8c9[_0x1bc4('0x9')](_0xfab1fe),this[_0x1bc4('0xf')][_0x1bc4('0x66')](_0x5541cf),this[_0x1bc4('0x15')][_0x1bc4('0x66')](_0x1dfaa7),_0xdc694a['destroy']();}[_0x1bc4('0x56')](_0x3beba6){if(!_0x3beba6['isInContent']||!this[_0x1bc4('0xf')]['has'](_0x3beba6))return;const _0x189857=this['editor']['plugins'][_0x1bc4('0x64')](_0x1bc4('0x1e')),_0x582ba1=this[_0x1bc4('0xf')]['get'](_0x3beba6),_0x306b38=_0x3beba6[_0x1bc4('0x3d')]();_0x582ba1['view'][_0x1bc4('0x54')]=_0x189857[_0x1bc4('0x28')][_0x1bc4('0x57')](_0x306b38);}[_0x1bc4('0x53')](){for(const _0x5cd9c7 of this[_0x1bc4('0xf')][_0x1bc4('0x6a')]())this[_0x1bc4('0x50')](_0x5cd9c7);for(const _0x5a758a of this[_0x1bc4('0xa')][_0x1bc4('0x34')]())_0x5a758a[_0x1bc4('0x65')][_0x1bc4('0x53')]();super[_0x1bc4('0x53')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3fc2=['_editor','view','_setPendingAction','_acceptCommand','canDiscard','add','bind','getRanges','change:isDirty','canEditAt','acceptSuggestion','stopListening','listenTo','PENDING_ACTION_SUGGESTION','canAccept','_removePendingAction','commands','isDirty','PendingActions','model','_pendingAction','remove','destroy','get','plugins','execute','unbind','_discardCommand','commentThreadController','discardSuggestion','isEnabled'];(function(_0xb147ea,_0x3fc2fe){const _0x28c413=function(_0xa69620){while(--_0xa69620){_0xb147ea['push'](_0xb147ea['shift']());}};_0x28c413(++_0x3fc2fe);}(_0x3fc2,0x92));const _0x28c4=function(_0xb147ea,_0x3fc2fe){_0xb147ea=_0xb147ea-0x0;let _0x28c413=_0x3fc2[_0xb147ea];return _0x28c413;};import{ObservableMixin as _0x38e716}from'ckeditor5/src/utils';import{getTranslation as _0x2d66ed}from'../utils/common-translations';export default class Gt extends _0x38e716(){constructor(_0x76d3e3,_0x24b125,_0x1584ab,_0x341707){super(),this[_0x28c4('0x1c')]=_0x24b125,this['view']=_0x1584ab,this['commentThreadController']=_0x341707,this[_0x28c4('0x9')]=_0x76d3e3,this[_0x28c4('0xc')]=_0x76d3e3[_0x28c4('0x19')][_0x28c4('0x1')](_0x28c4('0x13')),this['_discardCommand']=_0x76d3e3['commands']['get'](_0x28c4('0x7')),this['view'][_0x28c4('0xf')](_0x28c4('0x8'))['to'](this[_0x28c4('0xc')],this[_0x28c4('0x5')],(_0x1424f7,_0xf512ed)=>_0x1424f7||_0xf512ed),this[_0x28c4('0xa')]['bind'](_0x28c4('0x17'))['to'](this['_acceptCommand'],_0x28c4('0x8'),_0x2127ef=>_0x2127ef&&this[_0x28c4('0x9')][_0x28c4('0x1c')][_0x28c4('0x12')](_0x24b125[_0x28c4('0x10')]())),this[_0x28c4('0xa')]['bind'](_0x28c4('0xd'))['to'](this[_0x28c4('0x5')],_0x28c4('0x8'),_0x2f847c=>_0x2f847c&&this[_0x28c4('0x9')][_0x28c4('0x1c')]['canEditAt'](_0x24b125[_0x28c4('0x10')]())),this[_0x28c4('0x1d')]=null,_0x1584ab[_0x28c4('0x1a')]&&this[_0x28c4('0xb')](),this['listenTo'](_0x1584ab,'acceptSuggestion',()=>this[_0x28c4('0x13')]()),this[_0x28c4('0x15')](_0x1584ab,'discardSuggestion',()=>this[_0x28c4('0x7')]()),this['listenTo'](_0x1584ab,_0x28c4('0x11'),()=>{_0x1584ab[_0x28c4('0x1a')]?this[_0x28c4('0xb')]():this[_0x28c4('0x18')]();});}[_0x28c4('0x13')](){this[_0x28c4('0xc')]['execute'](this[_0x28c4('0x1c')]['id']);}[_0x28c4('0x7')](){this[_0x28c4('0x5')][_0x28c4('0x3')](this['model']['id']);}[_0x28c4('0x0')](){this[_0x28c4('0xa')][_0x28c4('0x4')]('isEnabled'),this['view']['unbind'](_0x28c4('0x17')),this[_0x28c4('0xa')][_0x28c4('0x4')](_0x28c4('0xd')),this[_0x28c4('0x14')](),this[_0x28c4('0x6')]['destroy'](),this[_0x28c4('0x1d')]&&this[_0x28c4('0x18')]();}[_0x28c4('0xb')](){const _0x4c6257=_0x2d66ed(this[_0x28c4('0x9')]['locale'],_0x28c4('0x16'));this[_0x28c4('0x1d')]=this[_0x28c4('0x9')][_0x28c4('0x2')]['get']('PendingActions')[_0x28c4('0xe')](_0x4c6257);}[_0x28c4('0x18')](){null!==this['_pendingAction']&&this['_editor'][_0x28c4('0x2')][_0x28c4('0x1')](_0x28c4('0x1b'))[_0x28c4('0x1e')](this[_0x28c4('0x1d')]),this[_0x28c4('0x1d')]=null;}}
23
+ const _0x48d1=['_editor','isEnabled','acceptSuggestion','remove','commands','getRanges','canDiscard','_removePendingAction','locale','destroy','model','get','_discardCommand','isDirty','plugins','canAccept','listenTo','change:isDirty','unbind','PendingActions','PENDING_ACTION_SUGGESTION','discardSuggestion','bind','canEditAt','_acceptCommand','add','_setPendingAction','view','_pendingAction'];(function(_0x33c27e,_0x48d164){const _0x2d758b=function(_0x8894aa){while(--_0x8894aa){_0x33c27e['push'](_0x33c27e['shift']());}};_0x2d758b(++_0x48d164);}(_0x48d1,0x13d));const _0x2d75=function(_0x33c27e,_0x48d164){_0x33c27e=_0x33c27e-0x0;let _0x2d758b=_0x48d1[_0x33c27e];return _0x2d758b;};import{ObservableMixin as _0x366b94}from'ckeditor5/src/utils';import{getTranslation as _0x5f00d7}from'../utils/common-translations';export default class Gt extends _0x366b94(){constructor(_0x3c1a2c,_0x1ec086,_0x13b6ee,_0x3b1d34){super(),this[_0x2d75('0xc')]=_0x1ec086,this[_0x2d75('0x0')]=_0x13b6ee,this['commentThreadController']=_0x3b1d34,this['_editor']=_0x3c1a2c,this[_0x2d75('0x1a')]=_0x3c1a2c[_0x2d75('0x6')][_0x2d75('0xd')](_0x2d75('0x4')),this[_0x2d75('0xe')]=_0x3c1a2c['commands'][_0x2d75('0xd')]('discardSuggestion'),this[_0x2d75('0x0')][_0x2d75('0x18')](_0x2d75('0x3'))['to'](this[_0x2d75('0x1a')],this[_0x2d75('0xe')],(_0x10f508,_0x33cc51)=>_0x10f508||_0x33cc51),this[_0x2d75('0x0')][_0x2d75('0x18')](_0x2d75('0x11'))['to'](this['_acceptCommand'],'isEnabled',_0xa5a714=>_0xa5a714&&this[_0x2d75('0x2')][_0x2d75('0xc')][_0x2d75('0x19')](_0x1ec086[_0x2d75('0x7')]())),this[_0x2d75('0x0')][_0x2d75('0x18')](_0x2d75('0x8'))['to'](this[_0x2d75('0xe')],_0x2d75('0x3'),_0x241951=>_0x241951&&this[_0x2d75('0x2')][_0x2d75('0xc')]['canEditAt'](_0x1ec086[_0x2d75('0x7')]())),this[_0x2d75('0x1')]=null,_0x13b6ee[_0x2d75('0xf')]&&this[_0x2d75('0x1c')](),this[_0x2d75('0x12')](_0x13b6ee,'acceptSuggestion',()=>this['acceptSuggestion']()),this[_0x2d75('0x12')](_0x13b6ee,_0x2d75('0x17'),()=>this[_0x2d75('0x17')]()),this['listenTo'](_0x13b6ee,_0x2d75('0x13'),()=>{_0x13b6ee['isDirty']?this[_0x2d75('0x1c')]():this[_0x2d75('0x9')]();});}[_0x2d75('0x4')](){this['_acceptCommand']['execute'](this[_0x2d75('0xc')]['id']);}['discardSuggestion'](){this['_discardCommand']['execute'](this[_0x2d75('0xc')]['id']);}[_0x2d75('0xb')](){this[_0x2d75('0x0')]['unbind'](_0x2d75('0x3')),this['view'][_0x2d75('0x14')](_0x2d75('0x11')),this[_0x2d75('0x0')][_0x2d75('0x14')](_0x2d75('0x8')),this['stopListening'](),this['commentThreadController']['destroy'](),this['_pendingAction']&&this['_removePendingAction']();}[_0x2d75('0x1c')](){const _0x4d1170=_0x5f00d7(this[_0x2d75('0x2')][_0x2d75('0xa')],_0x2d75('0x16'));this[_0x2d75('0x1')]=this[_0x2d75('0x2')][_0x2d75('0x10')][_0x2d75('0xd')](_0x2d75('0x15'))[_0x2d75('0x1b')](_0x4d1170);}[_0x2d75('0x9')](){null!==this['_pendingAction']&&this[_0x2d75('0x2')]['plugins'][_0x2d75('0xd')](_0x2d75('0x15'))[_0x2d75('0x5')](this[_0x2d75('0x1')]),this[_0x2d75('0x1')]=null;}}