@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240128.0 → 0.0.0-nightly-20240130.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 (67) 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/casechange.js +1 -1
  13. package/src/integrations/ckbox.js +1 -1
  14. package/src/integrations/codeblock.js +1 -1
  15. package/src/integrations/comments.js +1 -1
  16. package/src/integrations/deletecommand.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/imagestyle.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/legacylist.js +1 -1
  32. package/src/integrations/legacylistproperties.js +1 -1
  33. package/src/integrations/link.js +1 -1
  34. package/src/integrations/list.js +1 -1
  35. package/src/integrations/listproperties.js +1 -1
  36. package/src/integrations/mediaembed.js +1 -1
  37. package/src/integrations/mention.js +1 -1
  38. package/src/integrations/pagebreak.js +1 -1
  39. package/src/integrations/paragraph.js +1 -1
  40. package/src/integrations/removeformat.js +1 -1
  41. package/src/integrations/restrictededitingmode.js +1 -1
  42. package/src/integrations/shiftentercommand.js +1 -1
  43. package/src/integrations/standardeditingmode.js +1 -1
  44. package/src/integrations/style.js +1 -1
  45. package/src/integrations/table.js +1 -1
  46. package/src/integrations/tablecaption.js +1 -1
  47. package/src/integrations/tableclipboard.js +1 -1
  48. package/src/integrations/tablecolumnresize.js +1 -1
  49. package/src/integrations/tableheadings.js +1 -1
  50. package/src/integrations/tablemergesplit.js +1 -1
  51. package/src/integrations/tableofcontents.js +1 -1
  52. package/src/integrations/tableproperties.js +1 -1
  53. package/src/integrations/template.js +1 -1
  54. package/src/integrations/title.js +1 -1
  55. package/src/integrations/undo.js +1 -1
  56. package/src/integrations/utils.js +1 -1
  57. package/src/suggestion.js +1 -1
  58. package/src/suggestiondescriptionfactory.js +1 -1
  59. package/src/trackchanges.js +1 -1
  60. package/src/trackchangesdata.js +1 -1
  61. package/src/trackchangesediting.js +1 -1
  62. package/src/trackchangesui.js +1 -1
  63. package/src/ui/suggestioncontroller.js +1 -1
  64. package/src/ui/view/basesuggestionthreadview.js +1 -1
  65. package/src/ui/view/suggestionthreadview.js +1 -1
  66. package/src/utils/common-translations.js +1 -1
  67. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9674=['CommentsRepository','getNearestSelectionRange','deletion:','_reduceExistingSuggestions','model','high','_isForcedDefaultExecutionBlock','unshift','rename','formatInline:','_trackFormatChanges','splice','every','isRemovable','comments','addComment','_createSuggestion','ck-suggestion-marker-','root','$text','_removeSuggestion','forceDefaultExecution','_isDataLoaded','nodeBefore','_getSuggestionData','clear','addMarkerName','removeMarker:suggestion:formatBlock','howMany','ariaLiveAnnouncer','isOwn','for','length','getMultiRangeId','_reduceSuggestionAttributeRange','insertion:discard','createPositionBefore','_splitMarkerName','isArray','removeMarker:suggestion:attribute','accepted','formatBlock:discard','insertion:join','suggestionUnloaded','_registerDefaultCallbacks','_getAuthorFromId','value','track-changes-adapter-already-set','name','announce','_commentsRepository','documentSelection','getCommentThread','reconvertMarker','hasCommentThread','getCustomProperty','enableReadOnlyMode','registerPostFixer','end','group','set','insertContent','suggestionChanged','ck-suggestion-marker-formatBlock','substring','getAttribute','createPositionAfter','addRange','_setSuggestionData','isBlock','push','elementStart','getSuggestionCallback','trackChanges','isInsideObject','track-changes-suggestion-not-found','editingDowncast','attributeKey','track-changes-suggestion-data-mismatch','_addThreadToSuggestion','format','containsPosition','config','consumable','PendingActions','isUndo','editor','addMarker','$graveyard','insertion:','discard','setSelection','listenTo','always','toViewElement','keys','getItems','showSuggestionHighlights','Users','enableCommand','markInlineFormat','_saved','_getExternalAuthor','containerElement','isSelectable','track-changes-user-not-found','trackChanges.mergeNestedSuggestions','notReady','_breakSuggestionMarker','highest','fire','rejected','containsRange','_getAttributeKey','editing','suggestion:','isMultiRange','_editor','_isBlockAttribute','deletion','subType','_rangeIsInLocalUserInsertion','isCollapsed','unbindElementFromMarkerName','trackChangesCommand','_recordAttributeSuggestions','removeClass','pop','_initAriaMarkerChangeAnnouncements','addMarker:suggestion:attribute','low','item','default','_cutOutSuggestionMarker','isExternal','position','execute','getMarkers','data','pluginName','multi','formatGroupId','_joinSuggestions','marker-count','type','start','commands','removed','find','createdAt','discardSuggestion','discardSelectedSuggestions','attributes','deletion:join','_adapter','move','isInContent','getFirstRange','ck-suggestion-marker-formatInline','detach','fromCharCode','from','schema','isTouching','removeMarker','deletion:discard','split','chain','parent','previous','markInsertion','getWalker','hasComments','attribute:join','trackChanges.trackFormatChanges','attribute:discard','consume','deletion:accept','newValue','suggestion','addMarker:suggestion','LEAVE','track-changes-enable-command-twice','isObject','getRanges','_suggestions','$elementName','requires','document','rootName','isBefore','locale','containsRangeInObject','has','authoredAt','oldRange','setAttribute','setTo','markerReady','addSuggestionData','newRange','_isRegisteredAttribute','_refreshAttributeSuggestionsChain','_recordAttributeChanges','forward','update:suggestion','concat','commentThread','_registerBlockAttribute','author','updateSuggestion','elementToElement','attribute:accept','_inlineAttributeKeys','filter','remove','markAttributeChange','_SUGGESTION_ANNOUNCEMENT','_blockAttributeKeys','_setSuggestionRange','change:data','next','isEqual','some','insertion:accept','_findSuggestions','upcast','backward','getUser','options','PENDING_ACTION_SUGGESTION','markerToHighlight','attribute','getChanges','return','discardAllSuggestions','open','_element','clone','markMultiRangeDeletion','isAtEnd','updateMarker','attributeOldValue','key','_onDiscard','ck-suggestion-marker','differ','applyOperation','isIntersectingWithRange','element','ENTER','change:activeMarkers','meta','isIntersecting','getRange','values','isAtStart','after','before','activeMarkers','lowest','define','acceptAllSuggestions','moveTargetPosition','join','assign','warn','includes','getAllAdjacentSuggestions','removeMarkers','_addSuggestionMarker','suggestion-type','attribute:','data-suggestion','init','getSuggestion','addUser','markerNameToElements','track-changes-command-not-found','isLocal','_getMarkerAnnouncementText','get','refresh','formatBlock','_defaultCallbacks','authorName','_model','change','startsWith','_suggestionFactory','_updateSuggestionData','add','nodeAfter','hasSuggestion','formatBlock:join','widget','addMarker:suggestion:formatBlock','oldValue','addClass','isLimit','_processAttributeChanges','ck-suggestion-marker--active','getChangedMarkers','addSuggestion','batch','createRange','size','_enabledCommands','toJSON','formatInline:chain','insertion:chain','getIntersection','buildSuggestion','acceptSuggestion','formatInline','_mergeNestedSuggestions','elementEnd','getAncestors','head','suggestionLoaded','createSelection','getLastMatchingPosition','isAfter','formatBlock:','createRangeOn','markers','never','getSuggestions','commandName','containsItem','attributeNewValue','getFirstMarker','insertion','_customCallbacks','creator','accept','stop','catch','createPositionAt','getShiftedBy','enqueueChange','writer','isNextTo','range','markerName','registerCustomCallback','collaboration.channelId','ready','insert','mapper','_checkSuggestionCorrectness','getDifference','addCommentThread','delete','multipleBlocks','_processAttributeSuggestions','addHighlight','then','conversion','map','_descriptionFactory','$marker','plugins','_suggestionState','sort','_refreshSuggestionsChain','splitPosition','dataReady','unbind','adapter','stopListening','markMultiRangeInsertion','_joinWithAdjacentSuggestions','dataDowncast','groupId','acceptSelectedSuggestions','skipNestingCheck','removeAttribute'];(function(_0x51fccd,_0x9674ab){const _0x19cd14=function(_0x3ec782){while(--_0x3ec782){_0x51fccd['push'](_0x51fccd['shift']());}};_0x19cd14(++_0x9674ab);}(_0x9674,0x1bc));const _0x19cd=function(_0x51fccd,_0x9674ab){_0x51fccd=_0x51fccd-0x0;let _0x19cd14=_0x9674[_0x51fccd];return _0x19cd14;};import{Plugin as _0x55104c,PendingActions as _0x591f53}from'ckeditor5/src/core.js';import{LiveRange as _0xb00d8d}from'ckeditor5/src/engine.js';import{CKEditorError as _0x26400e,uid as _0x53da6a,priorities as _0x482df7,logWarning as _0x51132c}from'ckeditor5/src/utils.js';import{toWidget as _0x590b33}from'ckeditor5/src/widget.js';import{Users as _0x2e2901,hashObject as _0x120711,surroundingMarkersDetector as _0x526c68}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x24fc8e from'./commands/trackchangescommand.js';import _0x383892 from'./commands/acceptsuggestioncommand.js';import _0x55d849 from'./commands/discardsuggestioncommand.js';import _0x4e0ac6 from'./commands/executeonallsuggestionscommand.js';import _0x1b069a from'./commands/executeonselectedsuggestionscommand.js';import _0xf9ee21 from'./suggestion.js';import _0x32c005 from'./suggestiondescriptionfactory.js';import _0x114ccf from'./integrations/aiassistant.js';import _0x250ab4 from'./integrations/alignment.js';import _0x2125c9 from'./integrations/basicstyles.js';import _0x2fdbcf from'./integrations/blockquote.js';import _0x521820 from'./integrations/casechange.js';import _0x2b06b5 from'./integrations/ckbox.js';import _0x202b66 from'./integrations/codeblock.js';import _0x3330df from'./integrations/comments.js';import _0x2ebf47 from'./integrations/deletecommand.js';import _0x37fdb4 from'./integrations/list.js';import _0x2c1659 from'./integrations/listproperties.js';import _0x54fd9c from'./integrations/entercommand.js';import _0x52519a from'./integrations/findandreplace.js';import _0x3608d4 from'./integrations/font.js';import _0x4bae4c from'./integrations/formatpainter.js';import _0x5cc4c3 from'./integrations/heading.js';import _0x399bbf from'./integrations/highlight.js';import _0x46cd1e from'./integrations/horizontalline.js';import _0x4e50d4 from'./integrations/htmlembed.js';import _0x4e57cf from'./integrations/image.js';import _0x4a2f88 from'./integrations/imagereplace.js';import _0x1245ff from'./integrations/imagestyle.js';import _0x5bce54 from'./integrations/importword.js';import _0x3e5f3e from'./integrations/indent.js';import _0x38016a from'./integrations/inputcommand.js';import _0x5b2057 from'./integrations/link.js';import _0x29aac3 from'./integrations/legacylist.js';import _0x377603 from'./integrations/legacylistproperties.js';import _0x4e3638 from'./integrations/mediaembed.js';import _0x97c4a9 from'./integrations/mention.js';import _0x21c4d6 from'./integrations/pagebreak.js';import _0x5a2208 from'./integrations/paragraph.js';import _0x1af964 from'./integrations/removeformat.js';import _0x1f9395 from'./integrations/restrictededitingmode.js';import _0x4b25d4 from'./integrations/shiftentercommand.js';import _0x4d03f2 from'./integrations/standardeditingmode.js';import _0x24486c from'./integrations/style.js';import _0x3d8133 from'./integrations/table.js';import _0x192348 from'./integrations/tablemergesplit.js';import _0x5dca0a from'./integrations/tableheadings.js';import _0x264ee7 from'./integrations/tableclipboard.js';import _0x555714 from'./integrations/tablecolumnresize.js';import _0x20d342 from'./integrations/template.js';import _0x2b25a8 from'./integrations/tableofcontents.js';import _0x576310 from'./integrations/title.js';import _0x17d10c from'./integrations/undo.js';import _0x4613a3 from'./integrations/tablecaption.js';import _0x3037cd from'./integrations/tableproperties.js';import{getTranslation as _0x4e3a96}from'./utils/common-translations.js';import{isEqual as _0x5acd85,omit as _0x39f2a8}from'lodash-es';export const renameAttributeKey='$elementName';export default class p extends _0x55104c{static get[_0x19cd('0x79')](){return['CommentsRepository',_0x2e2901,_0x591f53,_0x114ccf,_0x250ab4,_0x2125c9,_0x2fdbcf,_0x2b06b5,_0x521820,_0x202b66,_0x3330df,_0x2ebf47,_0x54fd9c,_0x52519a,_0x3608d4,_0x4bae4c,_0x5cc4c3,_0x399bbf,_0x46cd1e,_0x4e50d4,_0x4e57cf,_0x1245ff,_0x4a2f88,_0x5bce54,_0x3e5f3e,_0x38016a,_0x29aac3,_0x377603,_0x5b2057,_0x37fdb4,_0x2c1659,_0x4e3638,_0x97c4a9,_0x21c4d6,_0x5a2208,_0x1af964,_0x1f9395,_0x4b25d4,_0x4d03f2,_0x24486c,_0x3d8133,_0x192348,_0x5dca0a,_0x4613a3,_0x264ee7,_0x555714,_0x2b25a8,_0x3037cd,_0x20d342,_0x576310,_0x17d10c];}static get[_0x19cd('0x49')](){return'TrackChangesEditing';}constructor(_0x306c01){function _0x15c5b1(_0x2b358d){return _0x2b358d[_0x19cd('0x125')](_0x16f827=>String[_0x19cd('0x5e')](_0x16f827))[_0x19cd('0xc6')]('');}super(_0x306c01),this['_recordAttributeSuggestions']=!0x1,this['set'](_0x19cd('0xc1'),[]),this['on'](_0x19cd('0xb9'),(_0x2e9dbf,_0x56026c,_0x72fe17,_0x51bfdd)=>{this[_0x19cd('0xdc')]['change'](()=>{for(const _0x523255 of[..._0x51bfdd,..._0x72fe17])this['_model'][_0x19cd('0x103')]['has'](_0x523255)&&_0x306c01[_0x19cd('0x30')][_0x19cd('0x16d')](_0x523255);});}),this[_0x19cd('0x126')]=new _0x32c005(this['editor']['model'][_0x19cd('0x60')],this[_0x19cd('0x14')][_0x19cd('0x7d')]),this[_0x19cd('0x58')]=null,this[_0x19cd('0xdf')]=new Bt(this[_0x19cd('0x14')]),this[_0x19cd('0x77')]=new Map(),this['_commentsRepository']=_0x306c01['plugins']['get'](_0x19cd('0x138')),this[_0x19cd('0xf1')]=new Set(),this[_0x19cd('0xdc')]=this[_0x19cd('0x14')][_0x19cd('0x13c')],this['_suggestionState']=new WeakMap(),this[_0x19cd('0x13e')]=!0x1,this[_0x19cd('0x98')]=new Set(['$elementName']),this[_0x19cd('0x93')]=new Set(),_0x306c01[_0x19cd('0x10')][_0x19cd('0xc3')](_0x19cd('0x6c'),_0x19cd('0x42')),this[_0x19cd('0x142')]=_0x306c01[_0x19cd('0x10')]['get'](_0x19cd('0x6c')),_0x306c01[_0x19cd('0x10')][_0x19cd('0xc3')](_0x19cd('0x28'),!0x0),this[_0x19cd('0xf9')]=_0x306c01[_0x19cd('0x10')][_0x19cd('0xd7')](_0x19cd('0x28')),this[_0x19cd('0x3a')]=new _0x24fc8e(_0x306c01,this[_0x19cd('0xf1')]),this[_0x19cd('0x3e')](),this[_0x15c5b1([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x15c5b1([0x34,0x30,0x34,0x38,0x30,0x32,0x35,0x36]);}[_0x19cd('0xd0')](){const _0x20b514=this[_0x19cd('0x14')],_0x2123b8=(_0x39210d,_0x94a40e)=>{if(_0x19cd('0xa6')!=_0x39210d)return _0x19cd('0x149')+_0x39210d;const _0x9bdf9a=_0x94a40e[_0x19cd('0x64')]('|')[0x0];return this[_0x19cd('0x34')](_0x9bdf9a)?_0x19cd('0x177'):_0x19cd('0x5c');};_0x20b514[_0x19cd('0x124')]['for'](_0x19cd('0xa'))[_0x19cd('0xa5')]({'model':_0x19cd('0x71'),'view':_0x4b9f2d=>{const {id:_0x55153e,type:_0x598916,subType:_0x3a80aa}=this[_0x19cd('0x15d')](_0x4b9f2d[_0x19cd('0x116')]),_0x3f7709=[_0x19cd('0xb3'),_0x2123b8(_0x598916,_0x3a80aa)];let _0x3fa16d=0xbb8;return this[_0x19cd('0xc1')][_0x19cd('0xc9')](_0x4b9f2d[_0x19cd('0x116')])&&(_0x3f7709['push'](_0x19cd('0xeb')),_0x3fa16d=0xbc2),_0x19cd('0x35')==_0x598916&&(_0x3fa16d+=0x5),{'classes':_0x3f7709,'attributes':{'data-suggestion':_0x55153e},'priority':_0x3fa16d};}}),_0x20b514['conversion']['for'](_0x19cd('0x133'))[_0x19cd('0xe1')](_0x42afa9=>{_0x42afa9['on'](_0x19cd('0x72'),(_0x3c4ed7,_0x4fde1a,_0x2e3147)=>{if(!_0x2e3147['options'][_0x19cd('0x1f')])return;const _0x83671d=_0x4fde1a[_0x19cd('0x41')];if(!_0x83671d)return;const _0x48c62e=_0x2e3147['mapper'][_0x19cd('0x1c')](_0x83671d);_0x20b514[_0x19cd('0x13c')]['schema'][_0x19cd('0x75')](_0x83671d)&&_0x48c62e&&!_0x48c62e[_0x19cd('0x16f')](_0x19cd('0xe5'))&&_0x48c62e['is'](_0x19cd('0x25'))&&_0x590b33(_0x48c62e,_0x2e3147[_0x19cd('0x113')]);},{'priority':_0x19cd('0x13d')});}),_0x20b514['conversion']['for']('dataDowncast')[_0x19cd('0xa5')]({'model':_0x19cd('0x71'),'view':(_0x205fce,_0x3f6b4a)=>{if(!_0x3f6b4a[_0x19cd('0xa3')][_0x19cd('0x1f')])return null;const {type:_0x208a3b,subType:_0x461386}=this['_splitMarkerName'](_0x205fce[_0x19cd('0x116')]);return{'classes':[_0x19cd('0xb3'),_0x2123b8(_0x208a3b,_0x461386)],'priority':0xbb8};}});const _0x20a25a=({showActiveMarkers:_0x5d2bc9=!0x0,isAttributeSuggestion:_0x1b3eb0=!0x1}={})=>(_0xd1c77,_0x4f0aa9,_0x2b8b53)=>{if(!_0x4f0aa9[_0x19cd('0x41')])return;const {id:_0x51cd72}=this[_0x19cd('0x15d')](_0x4f0aa9[_0x19cd('0x116')]);if(_0x1b3eb0){const _0x4b2330=this[_0x19cd('0x77')][_0x19cd('0xd7')](_0x51cd72),_0x22e1de=this[_0x19cd('0x2f')](_0x4b2330);if(!this[_0x19cd('0x34')](_0x22e1de))return;}if(_0x4f0aa9[_0x19cd('0x41')]['is']('selection'))return void _0x2b8b53[_0x19cd('0x11')][_0x19cd('0x6e')](_0x4f0aa9['item'],_0xd1c77[_0x19cd('0x168')]);const _0x54921f=_0x2b8b53[_0x19cd('0x11b')][_0x19cd('0x1c')](_0x4f0aa9[_0x19cd('0x41')]);if(_0x4f0aa9[_0x19cd('0x41')]['is']('element')&&_0x20b514['model'][_0x19cd('0x60')][_0x19cd('0x3')](_0x4f0aa9['item'])&&!_0x54921f[_0x19cd('0x16f')](_0x19cd('0x122'))){_0x2b8b53[_0x19cd('0x113')][_0x19cd('0xe8')]([_0x19cd('0xb3'),'ck-suggestion-marker-formatBlock'],_0x54921f),_0x2b8b53[_0x19cd('0x113')]['setAttribute']('data-suggestion',_0x51cd72,_0x54921f),_0x2b8b53[_0x19cd('0x11b')]['bindElementToMarker'](_0x54921f,_0x4f0aa9['markerName']),_0x5d2bc9&&(this['activeMarkers'][_0x19cd('0xc9')](_0x4f0aa9[_0x19cd('0x116')])?_0x2b8b53[_0x19cd('0x113')][_0x19cd('0xe8')](_0x19cd('0xeb'),_0x54921f):_0x2b8b53[_0x19cd('0x113')][_0x19cd('0x3c')]('ck-suggestion-marker--active',_0x54921f));for(const _0x21d4a4 of _0x20b514[_0x19cd('0x13c')]['createRangeIn'](_0x4f0aa9[_0x19cd('0x41')])[_0x19cd('0x1e')]())_0x2b8b53[_0x19cd('0x11')]['consume'](_0x21d4a4,_0xd1c77['name']);_0x2b8b53[_0x19cd('0x11')][_0x19cd('0x6e')](_0x4f0aa9['item'],_0xd1c77[_0x19cd('0x168')]);}};_0x20b514[_0x19cd('0x124')]['for'](_0x19cd('0x133'))[_0x19cd('0xe1')](_0x5ac0c6=>{_0x5ac0c6['on'](_0x19cd('0xe6'),(_0x49e921,_0x59e6a6,_0x2d1f9e)=>{_0x2d1f9e[_0x19cd('0xa3')][_0x19cd('0x1f')]&&_0x20a25a({'showActiveMarkers':!0x1})(_0x49e921,_0x59e6a6,_0x2d1f9e);},{'priority':_0x19cd('0x2b')});}),_0x20b514[_0x19cd('0x124')][_0x19cd('0x157')](_0x19cd('0x133'))[_0x19cd('0xe1')](_0x579fa5=>{_0x579fa5['on'](_0x19cd('0x3f'),(_0x100a00,_0x298099,_0x2fb2d5)=>{_0x2fb2d5[_0x19cd('0xa3')][_0x19cd('0x1f')]&&_0x20a25a({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x100a00,_0x298099,_0x2fb2d5);},{'priority':_0x19cd('0x2b')});}),_0x20b514[_0x19cd('0x124')][_0x19cd('0x157')](_0x19cd('0x133'))['markerToData']({'model':_0x19cd('0x71'),'view':(_0x1d6d30,_0x2ac2c0)=>_0x2ac2c0['options'][_0x19cd('0x1f')]?null:{'group':_0x19cd('0x71'),'name':_0x1d6d30['substr'](0xb)}}),_0x20b514[_0x19cd('0x124')][_0x19cd('0x157')]('upcast')[_0x19cd('0x91')]({'view':{'name':_0x19cd('0x71'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x436921,{writer:_0x5df9a4})=>{let _0x3b3bf5=_0x19cd('0x31')+_0x436921[_0x19cd('0x179')](_0x19cd('0xcd'))+':'+_0x436921[_0x19cd('0x179')]('id');return _0x436921[_0x19cd('0x179')](_0x19cd('0x4d'))&&(_0x3b3bf5+=':'+_0x436921['getAttribute'](_0x19cd('0x4d'))),_0x5df9a4['createElement'](_0x19cd('0x127'),{'data-name':_0x3b3bf5});}}),_0x20b514['conversion']['for'](_0x19cd('0xa0'))['dataToMarker']({'view':'suggestion'}),_0x20b514[_0x19cd('0x124')][_0x19cd('0x157')](_0x19cd('0xa'))[_0x19cd('0xe1')](_0x1faea2=>{_0x1faea2['on']('addMarker:suggestion:formatBlock',_0x20a25a(),{'priority':'high'});}),_0x20b514[_0x19cd('0x124')][_0x19cd('0x157')](_0x19cd('0xa'))[_0x19cd('0xe1')](_0x18425a=>{_0x18425a['on']('addMarker:suggestion:attribute',_0x20a25a({'isAttributeSuggestion':!0x0}),{'priority':_0x19cd('0x13d')});}),_0x20b514[_0x19cd('0x124')]['for'](_0x19cd('0xa'))[_0x19cd('0xe1')](_0x328e5f=>{_0x328e5f['on'](_0x19cd('0x153'),(_0x55ff34,_0x285030,_0x2be560)=>{const _0x10c74f=_0x2be560[_0x19cd('0x11b')][_0x19cd('0xd3')](_0x285030['markerName']);if(_0x10c74f)for(const _0x3e5e77 of _0x10c74f)_0x3e5e77['getCustomProperty'](_0x19cd('0x122'))||(_0x2be560['writer'][_0x19cd('0x3c')]([_0x19cd('0xb3'),'ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x3e5e77),_0x2be560[_0x19cd('0x113')][_0x19cd('0x137')](_0x19cd('0xcf'),_0x3e5e77),_0x2be560[_0x19cd('0x11b')]['unbindElementFromMarkerName'](_0x3e5e77,_0x285030[_0x19cd('0x116')]));},{'priority':_0x19cd('0x13d')});}),_0x20b514['conversion'][_0x19cd('0x157')](_0x19cd('0xa'))[_0x19cd('0xe1')](_0x1b36d2=>{_0x1b36d2['on'](_0x19cd('0x15f'),(_0x29fb27,_0x5724f2,_0x47c4fb)=>{const _0x174c94=_0x47c4fb[_0x19cd('0x11b')]['markerNameToElements'](_0x5724f2[_0x19cd('0x116')]);if(!_0x174c94)return;const {id:_0x5c4953}=this[_0x19cd('0x15d')](_0x5724f2[_0x19cd('0x116')]),_0xf6d737=this[_0x19cd('0x77')]['get'](_0x5c4953),_0x4dd02c=this[_0x19cd('0x2f')](_0xf6d737);if(this['_isBlockAttribute'](_0x4dd02c))for(const _0x698c1a of _0x174c94)_0x698c1a['getCustomProperty']('addHighlight')||(_0x47c4fb[_0x19cd('0x113')][_0x19cd('0x3c')]([_0x19cd('0xb3'),_0x19cd('0x177'),'ck-suggestion-marker--active'],_0x698c1a),_0x47c4fb[_0x19cd('0x113')][_0x19cd('0x137')](_0x19cd('0xcf'),_0x698c1a),_0x47c4fb[_0x19cd('0x11b')][_0x19cd('0x39')](_0x698c1a,_0x5724f2[_0x19cd('0x116')]));},{'priority':_0x19cd('0x13d')});}),_0x20b514[_0x19cd('0x13c')][_0x19cd('0x7a')][_0x19cd('0x171')](_0xec08d0=>{let _0x4e5595=!0x1;const _0x2fd7b2=Array['from'](_0x20b514[_0x19cd('0x13c')][_0x19cd('0x7a')][_0x19cd('0xb4')]['getChangedMarkers']()),_0x533d65=new Set();for(const {name:_0x121453,data:_0x4f4b77}of _0x2fd7b2){const {group:_0x3315ee,type:_0x2e00dc,subType:_0x19d1e0,id:_0x3386d4}=this[_0x19cd('0x15d')](_0x121453);if(_0x19cd('0x71')!==_0x3315ee)continue;const _0x8cba78=this[_0x19cd('0x77')][_0x19cd('0xd7')](_0x3386d4);if(null!=_0x4f4b77['newRange']){_0x19cd('0xf8')==_0x2e00dc&&(_0x4e5595=_0x4e5595||Tt(_0x4f4b77[_0x19cd('0x86')],_0x121453,_0xec08d0,_0x20b514[_0x19cd('0x13c')]['schema']));const _0x39eaac=_0x19cd('0xa6')==_0x2e00dc&&this[_0x19cd('0x34')](_0x19d1e0[_0x19cd('0x64')]('|')[0x0]);if(_0x4f4b77[_0x19cd('0x86')][_0x19cd('0x38')]||_0x19cd('0x16')==_0x4f4b77['newRange'][_0x19cd('0x14a')][_0x19cd('0x7b')]||_0x19cd('0xd9')==_0x2e00dc&&!Vt(_0x4f4b77['newRange'])||_0x39eaac&&!Vt(_0x4f4b77[_0x19cd('0x86')])||_0x19cd('0x35')==_0x2e00dc&&!(!Rt(_0x1d570a=_0x4f4b77[_0x19cd('0x86')])&&!function(_0x5e1a0d){return _0x5e1a0d['start'][_0x19cd('0x66')]==_0x5e1a0d[_0x19cd('0x172')][_0x19cd('0x14f')]&&_0x5e1a0d[_0x19cd('0x4f')][_0x19cd('0xae')];}(_0x1d570a)))_0xec08d0[_0x19cd('0x62')](_0x121453),_0x4e5595=!0x0;else{if(!_0x8cba78||!_0x8cba78['isInContent'])continue;_0x533d65[_0x19cd('0xe1')](_0x8cba78);}}}var _0x1d570a;return _0x533d65[_0x19cd('0xf0')]>0x0&&(_0x4e5595=!!this['_joinWithAdjacentSuggestions'](_0x533d65)||_0x4e5595),_0x4e5595;}),_0x20b514[_0x19cd('0x13c')][_0x19cd('0x7a')][_0x19cd('0x171')](_0xb62737=>{let _0x42ae09=!0x1;for(const _0x322fb8 of _0x20b514['model'][_0x19cd('0x7a')][_0x19cd('0xb4')][_0x19cd('0xa7')]())if(_0x19cd('0x11a')==_0x322fb8[_0x19cd('0x4e')])for(const _0x237af5 of this[_0x19cd('0x77')][_0x19cd('0xbd')]()){if(_0x237af5[_0x19cd('0x32')]||!_0x237af5[_0x19cd('0x5a')])continue;const _0x336629=_0x19cd('0xd9')==_0x237af5[_0x19cd('0x4e')],_0x1a89da=this['_getAttributeKey'](_0x237af5),_0x1debba=_0x1a89da&&this['_isBlockAttribute'](_0x1a89da);if(!_0x336629&&!_0x1debba)continue;const _0x3219da=_0x237af5[_0x19cd('0x5b')]();if(_0x3219da[_0x19cd('0x4f')][_0x19cd('0x66')]!=_0x3219da[_0x19cd('0x172')][_0x19cd('0x66')]&&!_0x3219da[_0x19cd('0x172')]['isAtEnd']){const _0x55b143=_0x20b514[_0x19cd('0x13c')][_0x19cd('0x110')](_0x3219da[_0x19cd('0x4f')][_0x19cd('0xe2')],_0x19cd('0x172')),_0x1a011d=_0x20b514[_0x19cd('0x13c')][_0x19cd('0xef')](_0x3219da[_0x19cd('0x4f')],_0x55b143);_0xb62737[_0x19cd('0xaf')](_0x237af5[_0x19cd('0x109')](),{'range':_0x1a011d}),_0x42ae09=!0x0;}}return _0x42ae09;}),_0x20b514[_0x19cd('0x13c')][_0x19cd('0x7a')][_0x19cd('0x171')](_0x8ea2c3=>this[_0x19cd('0xea')](_0x8ea2c3)),_0x20b514['model'][_0x19cd('0x7a')]['registerPostFixer'](_0x154cc8=>!_0x154cc8[_0x19cd('0xee')][_0x19cd('0xd5')]&&this[_0x19cd('0x121')](_0x154cc8)),_0x20b514[_0x19cd('0x13c')]['on']('_afterChanges',()=>{this[_0x19cd('0x3b')]=!0x1;}),_0x20b514[_0x19cd('0x13c')][_0x19cd('0x7a')]['on'](_0x19cd('0x9a'),(_0x4c1e29,_0x52d287)=>{if(!_0x52d287[_0x19cd('0xd5')]||_0x52d287[_0x19cd('0x13')])return;if(!this[_0x19cd('0x3b')])return;const _0x2242d0=_0x20b514['model'][_0x19cd('0x7a')][_0x19cd('0xb4')][_0x19cd('0xa7')]();if(0x0==_0x2242d0[_0x19cd('0x158')])return;const _0xc5b432=[],_0x7fb8e4=_0x2242d0['filter'](_0x636486=>_0x19cd('0xa6')==_0x636486['type']),_0x599e4f=_0x2242d0['filter'](_0x98d996=>'insert'==_0x98d996[_0x19cd('0x4e')]&&_0x19cd('0x14b')!=_0x98d996['name']),_0x4b0224=_0x2242d0[_0x19cd('0x94')](_0x324430=>'remove'==_0x324430[_0x19cd('0x4e')]&&'$text'!=_0x324430['name']);for(const _0x2b4b43 of _0x7fb8e4)this['_isRegisteredAttribute'](_0x2b4b43[_0x19cd('0xb')])&&_0xc5b432[_0x19cd('0x4')]({'key':_0x2b4b43[_0x19cd('0xb')],'newValue':_0x2b4b43[_0x19cd('0x108')],'oldValue':_0x2b4b43[_0x19cd('0xb0')],'range':Ut(_0x2b4b43[_0x19cd('0x115')],_0x20b514['model'])});for(const _0x3c8aad of _0x599e4f){const _0x12dc17=_0x4b0224[_0x19cd('0x52')](_0xcf9c2a=>_0xcf9c2a[_0x19cd('0xab')]===_0x3c8aad[_0x19cd('0xab')]);if(_0x12dc17){const _0x30529c=Ot(_0x3c8aad['position'][_0x19cd('0xe2')],_0x20b514[_0x19cd('0x13c')]);_0x12dc17[_0x19cd('0x168')]!==_0x3c8aad[_0x19cd('0x168')]&&_0xc5b432[_0x19cd('0x4')]({'key':'$elementName','newValue':_0x3c8aad['name'],'oldValue':_0x12dc17[_0x19cd('0x168')],'range':_0x30529c});for(const [_0x37338f,_0x11de42]of _0x12dc17[_0x19cd('0x56')]){if(!this[_0x19cd('0x87')](_0x37338f))continue;const _0x47a4f8=_0x3c8aad[_0x19cd('0x56')][_0x19cd('0xd7')](_0x37338f);_0x11de42!==_0x47a4f8&&_0xc5b432[_0x19cd('0x4')]({'key':_0x37338f,'newValue':_0x47a4f8,'oldValue':_0x11de42,'range':_0x30529c});}for(const [_0x55e5e4,_0x572845]of _0x3c8aad['attributes'])this[_0x19cd('0x87')](_0x55e5e4)&&(_0x12dc17['attributes'][_0x19cd('0x7f')](_0x55e5e4)||_0xc5b432[_0x19cd('0x4')]({'key':_0x55e5e4,'newValue':_0x572845,'oldValue':null,'range':_0x30529c}));}}0x0!=_0xc5b432[_0x19cd('0x158')]&&_0x20b514[_0x19cd('0x13c')][_0x19cd('0x112')](_0x52d287,_0x1d1e1f=>{const _0x4b816f=_0x53da6a();for(const {range:_0x56ddda,key:_0x53de52,oldValue:_0x38b8cf,newValue:_0x3ee898}of _0xc5b432)this[_0x19cd('0x96')](_0x56ddda,_0x53de52,_0x38b8cf,_0x3ee898,{'groupId':_0x4b816f});this[_0x19cd('0x13b')](_0x1d1e1f,_0xc5b432);});},{'priority':_0x19cd('0xc2')}),_0x20b514[_0x19cd('0x13c')][_0x19cd('0x103')]['on'](_0x19cd('0x8b'),(_0x164e58,_0x17284c,_0x51a046)=>{if(null==_0x51a046){const {id:_0x54fe34}=this[_0x19cd('0x15d')](_0x17284c[_0x19cd('0x168')]),_0x11089d=this['_suggestions'][_0x19cd('0xd7')](_0x54fe34);_0x11089d&&_0x11089d[_0x19cd('0x152')](_0x17284c[_0x19cd('0x168')]);}}),_0x20b514['model'][_0x19cd('0x7a')]['on']('change:data',()=>{const _0x460b2c=Array[_0x19cd('0x5f')](_0x20b514[_0x19cd('0x13c')][_0x19cd('0x7a')][_0x19cd('0xb4')][_0x19cd('0xec')]())[_0x19cd('0x94')](_0x4872e0=>_0x19cd('0x71')===this[_0x19cd('0x15d')](_0x4872e0['name'])[_0x19cd('0x173')]);if(0x0===_0x460b2c['length'])return;_0x460b2c['sort']((_0x40860f,_0x290441)=>{const _0x1bbd69=_0x40860f[_0x19cd('0x48')][_0x19cd('0x81')],_0x2c4af5=_0x290441[_0x19cd('0x48')][_0x19cd('0x81')];return null===_0x1bbd69&&null===_0x2c4af5?0x0:null===_0x1bbd69&&null!==_0x2c4af5?-0x1:null!==_0x1bbd69&&null===_0x2c4af5?0x1:_0x1bbd69['start'][_0x19cd('0x7c')](_0x2c4af5[_0x19cd('0x4f')])?-0x1:0x1;});const _0x31afcd=new Set(),_0xeec367=new Set();for(const {name:_0xc7970,data:_0x3f1938}of _0x460b2c){const {id:_0x2615e1}=this[_0x19cd('0x15d')](_0xc7970);if(null===_0x3f1938['oldRange']){const _0x5a3d9b=this['_handleNewSuggestionMarker'](_0xc7970);_0xeec367[_0x19cd('0xe1')](_0x5a3d9b);}else{const _0x1cea78=this[_0x19cd('0x77')][_0x19cd('0xd7')](_0x2615e1);null!==_0x3f1938[_0x19cd('0x86')]||_0x1cea78[_0x19cd('0x5a')]?(_0x31afcd[_0x19cd('0xe1')](_0x1cea78[_0x19cd('0xfc')]),_0xeec367['add'](_0x1cea78)):this[_0x19cd('0x14c')](_0x1cea78);}}_0xeec367['size']>0x0&&this[_0x19cd('0x12b')](_0xeec367);for(const _0x2ccdbe of _0x31afcd)this[_0x19cd('0x2c')](_0x19cd('0x176'),_0x2ccdbe);}),_0x20b514['model']['on'](_0x19cd('0xb5'),(_0x360c7e,_0x5c4d3b)=>{const _0x2f15f0=_0x5c4d3b[0x0];if(!this['_suggestions'][_0x19cd('0xf0')])return;if(!_0x2f15f0['isDocumentOperation'])return;if(_0x2f15f0[_0x19cd('0xee')][_0x19cd('0x13')]||!_0x2f15f0[_0x19cd('0xee')]['isLocal'])return;let _0x3f7206,_0xe50545;switch(_0x2f15f0[_0x19cd('0x4e')]){case _0x19cd('0x11a'):_0x3f7206=_0x20b514[_0x19cd('0x13c')][_0x19cd('0x110')](_0x2f15f0[_0x19cd('0x45')]),_0xe50545=_0x3f7206[_0x19cd('0x111')](_0x2f15f0[_0x19cd('0x154')]);break;case'split':_0x3f7206=_0x20b514[_0x19cd('0x13c')]['createPositionAt'](_0x2f15f0[_0x19cd('0x12c')]),_0xe50545=_0x20b514[_0x19cd('0x13c')][_0x19cd('0x110')](_0x2f15f0[_0x19cd('0xc5')]);break;case _0x19cd('0x59'):_0x3f7206=_0x20b514[_0x19cd('0x13c')][_0x19cd('0x110')](_0x2f15f0['targetPosition']),_0xe50545=_0x3f7206[_0x19cd('0x111')](_0x2f15f0[_0x19cd('0x154')]);break;default:return;}const _0x10bcb5=_0x20b514[_0x19cd('0x13c')]['createRange'](_0x3f7206,_0xe50545);_0x20b514[_0x19cd('0x13c')][_0x19cd('0xdd')](()=>{for(const {suggestion:_0x188ae7,meta:_0x17b647}of this[_0x19cd('0x9f')](_0x10bcb5)){if(_0x188ae7[_0x19cd('0x32')])continue;if('formatInline'==_0x188ae7[_0x19cd('0x4e')])continue;const _0xbe2ff4=this[_0x19cd('0x2f')](_0x188ae7);if(_0xbe2ff4&&this[_0x19cd('0x34')](_0xbe2ff4)&&_0x19cd('0x64')!=_0x2f15f0[_0x19cd('0x4e')])continue;const _0x4693d1=_0x188ae7[_0x19cd('0x48')]&&_0x188ae7[_0x19cd('0x48')][_0x19cd('0x120')];('formatBlock'!=_0x188ae7[_0x19cd('0x4e')]||_0x19cd('0x64')==_0x2f15f0['type']&&!_0x4693d1)&&(_0x17b647['containsRangeInObject']||_0x19cd('0x10a')==_0x188ae7[_0x19cd('0x4e')]&&_0x17b647[_0x19cd('0x156')]||_0x188ae7['getFirstRange']()[_0x19cd('0x2e')](_0x10bcb5)&&this[_0x19cd('0x2a')](_0x188ae7,_0x3f7206,_0xe50545));}});},{'priority':_0x19cd('0xc2')}),_0x20b514[_0x19cd('0x13c')]['on']('deleteContent',(_0x5d38df,_0x42ad4e)=>{const _0x36ba55=_0x42ad4e[0x0],_0x462388=_0x42ad4e[0x1];if(_0x462388&&_0x462388[_0x19cd('0x14d')])return;if(this[_0x19cd('0x13e')])return;if(!this[_0x19cd('0x3a')]['value'])return;if(_0x36ba55[_0x19cd('0x38')])return;const _0x5dd004=_0x20b514[_0x19cd('0x13c')][_0x19cd('0x60')],{start:_0x1aa130,end:_0x2b2b84}=_0x36ba55[_0x19cd('0x5b')](),_0x3b8396=_0x1aa130[_0x19cd('0xe2')]&&_0x5dd004[_0x19cd('0xe9')](_0x1aa130['nodeAfter'])?null:_0x5dd004['getNearestSelectionRange'](_0x1aa130,_0x19cd('0x8a')),_0x51558c=_0x2b2b84[_0x19cd('0x14f')]&&_0x5dd004[_0x19cd('0xe9')](_0x2b2b84[_0x19cd('0x14f')])?null:_0x5dd004[_0x19cd('0x139')](_0x2b2b84,_0x19cd('0xa1')),_0x1b3412=_0x20b514[_0x19cd('0x13c')]['createRange'](_0x3b8396?_0x3b8396[_0x19cd('0x4f')]:_0x1aa130,_0x51558c?_0x51558c['end']:_0x2b2b84);_0x20b514['model']['change'](_0x3165a2=>{this['markDeletion'](_0x1b3412);const _0x274285=_0x20b514['model'][_0x19cd('0x60')][_0x19cd('0x139')](_0x1b3412[_0x19cd('0x4f')]);_0x36ba55['is'](_0x19cd('0x16b'))?_0x3165a2[_0x19cd('0x19')](_0x274285):_0x36ba55[_0x19cd('0x83')](_0x274285);}),_0x5d38df['stop']();},{'priority':_0x482df7['normal']+0xa}),_0x20b514['model']['on']('insertContent',(_0x4740b2,_0x1c301b)=>{const _0x35881b=_0x1c301b[_0x1c301b[_0x19cd('0x158')]-0x1];_0x35881b&&_0x35881b[_0x19cd('0x14d')]||this[_0x19cd('0x13e')]||this[_0x19cd('0x3a')][_0x19cd('0x166')]&&(_0x20b514[_0x19cd('0x13c')][_0x19cd('0xdd')](()=>{let _0x5c79d2=_0x20b514['model'][_0x19cd('0x175')](_0x1c301b[0x0],_0x1c301b[0x1],_0x1c301b[0x2],{'forceDefaultExecution':!0x0});if(!_0x5c79d2)return;_0x4740b2[_0x19cd('0xa8')]=_0x5c79d2[_0x19cd('0xac')]();const _0x414227=_0x5c79d2[_0x19cd('0x172')][_0x19cd('0x14f')],_0x2b9727=_0x20b514[_0x19cd('0x13c')][_0x19cd('0x60')];_0x414227&&_0x2b9727[_0x19cd('0x3')](_0x414227)&&!_0x2b9727[_0x19cd('0x75')](_0x414227)&&(_0x5c79d2=_0x20b514[_0x19cd('0x13c')][_0x19cd('0xef')](_0x5c79d2['start'],_0x20b514['model'][_0x19cd('0x110')](_0x414227,_0x19cd('0x172')))),this[_0x19cd('0x68')](_0x5c79d2);}),_0x4740b2[_0x19cd('0x10e')]());},{'priority':_0x19cd('0x13d')}),this[_0x19cd('0x14')]['commands']['add'](_0x19cd('0x7'),this[_0x19cd('0x3a')]),this['enableCommand'](_0x19cd('0x7'));const _0x3bf689=new _0x383892(_0x20b514,this[_0x19cd('0x77')]);_0x20b514['commands'][_0x19cd('0xe1')](_0x19cd('0xf7'),_0x3bf689),this['enableCommand'](_0x19cd('0xf7'));const _0x3ef672=new _0x55d849(_0x20b514,this[_0x19cd('0x77')]);_0x20b514[_0x19cd('0x50')]['add'](_0x19cd('0x54'),_0x3ef672),this[_0x19cd('0x21')](_0x19cd('0x54')),_0x20b514[_0x19cd('0x50')][_0x19cd('0xe1')](_0x19cd('0xc4'),new _0x4e0ac6(_0x20b514,_0x3bf689,this['_suggestions'])),this['enableCommand'](_0x19cd('0xc4')),_0x20b514['commands'][_0x19cd('0xe1')]('discardAllSuggestions',new _0x4e0ac6(_0x20b514,_0x3ef672,this['_suggestions'])),this[_0x19cd('0x21')](_0x19cd('0xa9')),_0x20b514[_0x19cd('0x50')][_0x19cd('0xe1')](_0x19cd('0x135'),new _0x1b069a(_0x20b514,_0x3bf689,this[_0x19cd('0x77')])),this['enableCommand'](_0x19cd('0x135')),_0x20b514['commands'][_0x19cd('0xe1')]('discardSelectedSuggestions',new _0x1b069a(_0x20b514,_0x3ef672,this[_0x19cd('0x77')])),this['enableCommand'](_0x19cd('0x55'));const _0x2ba0c1=_0x20b514[_0x19cd('0x128')][_0x19cd('0xd7')](_0x19cd('0x138'));this[_0x19cd('0x1a')](_0x2ba0c1,_0x19cd('0x147'),(_0x538210,{threadId:_0x2a9a4d})=>{const _0x2e51b8=this[_0x19cd('0x77')]['get'](_0x2a9a4d);_0x2e51b8&&_0x2e51b8[_0x19cd('0x8d')]&&0x1===_0x2e51b8['commentThread'][_0x19cd('0x158')]&&this['_updateSuggestionData'](_0x2a9a4d,{'hasComments':!0x0});},{'priority':_0x19cd('0x40')}),this[_0x19cd('0x1a')](_0x2ba0c1,'removeComment',(_0xa89dfe,{threadId:_0x6fa844})=>{const _0x690d95=this[_0x19cd('0x77')][_0x19cd('0xd7')](_0x6fa844);_0x690d95&&_0x690d95[_0x19cd('0x8d')]&&!_0x690d95['commentThread']['length']&&this['_updateSuggestionData'](_0x6fa844,{'hasComments':!0x1});},{'priority':_0x19cd('0x40')});}set['adapter'](_0x414f24){if(this[_0x19cd('0x58')])throw new _0x26400e(_0x19cd('0x167'),this);this[_0x19cd('0x58')]=_0x414f24;}get[_0x19cd('0x12f')](){return this[_0x19cd('0x58')];}[_0x19cd('0x105')]({skipNotAttached:_0x355542=!0x1,toJSON:_0x4153c4=!0x1}={}){const _0x2f100f=[];for(const _0x55c1d1 of this[_0x19cd('0x77')][_0x19cd('0xbd')]())_0x355542&&!_0x55c1d1[_0x19cd('0x5a')]||_0x2f100f[_0x19cd('0x4')](_0x55c1d1);return _0x4153c4?_0x2f100f[_0x19cd('0x125')](_0x4aad1a=>_0x4aad1a[_0x19cd('0xf2')]()):_0x2f100f;}[_0x19cd('0xd1')](_0xd659ee){const _0xad9016=this[_0x19cd('0x77')]['get'](_0xd659ee);if(!_0xad9016)throw new _0x26400e(_0x19cd('0x9'),this);return _0xad9016;}[_0x19cd('0xe3')](_0xa82545){return this[_0x19cd('0x77')][_0x19cd('0x7f')](_0xa82545);}[_0x19cd('0x85')](_0x1073c6){const {authorId:_0x3d4c47,id:_0x27de6d,attributes:_0x4415ff}=_0x1073c6,[_0x209b49,_0x146de0]=_0x1073c6['type']['split'](':'),_0x6472bd=this['_suggestions']['get'](_0x27de6d)||this[_0x19cd('0x148')](_0x209b49,_0x146de0,_0x27de6d,_0x3d4c47,_0x4415ff);if(this['_addThreadToSuggestion'](_0x6472bd),this[_0x19cd('0x11c')](_0x6472bd,_0x209b49,_0x146de0||null,_0x3d4c47),_0x6472bd[_0x19cd('0x53')]=_0x1073c6['createdAt'],_0x6472bd[_0x19cd('0x14e')]=!0x0,_0x4415ff&&_0x4415ff['@external']){const _0x183744=_0x4415ff['@external'],_0x77a5da=this[_0x19cd('0x24')](_0x183744[_0x19cd('0xdb')]);_0x6472bd[_0x19cd('0x80')]=_0x183744[_0x19cd('0x53')],_0x6472bd[_0x19cd('0x8f')]=_0x77a5da,_0x6472bd[_0x19cd('0x44')]=!0x0;}else _0x6472bd[_0x19cd('0x80')]=_0x1073c6[_0x19cd('0x53')];switch(_0x1073c6['data']&&(_0x6472bd[_0x19cd('0x48')]=_0x1073c6['data']),_0x1073c6[_0x19cd('0x56')]&&(_0x6472bd[_0x19cd('0x56')]=_0x1073c6['attributes']),this[_0x19cd('0x58')]&&this[_0x19cd('0x58')]['addSuggestion']||(_0x6472bd[_0x19cd('0x23')]=!0x0),this[_0x19cd('0x129')][_0x19cd('0xd7')](_0x6472bd)){case _0x19cd('0x29'):this[_0x19cd('0x129')]['set'](_0x6472bd,_0x19cd('0x12d'));break;case _0x19cd('0x84'):_0x6472bd[_0x19cd('0x5a')]?(this[_0x19cd('0x132')](new Set([_0x6472bd])),this['_refreshSuggestionsChain'](new Set([_0x6472bd])),this[_0x19cd('0x129')]['set'](_0x6472bd,'ready'),this['fire'](_0x19cd('0xfd'),_0x6472bd)):this[_0x19cd('0x129')]['set'](_0x6472bd,_0x19cd('0x51'));}return _0x6472bd;}[_0x19cd('0xf7')](_0x3fb757){this[_0x19cd('0x14d')](()=>{this[_0x19cd('0x14')]['model'][_0x19cd('0xdd')](()=>{for(const _0x263ca0 of _0x3fb757[_0x19cd('0xca')]())_0x263ca0[_0x19cd('0x10d')]();});});}[_0x19cd('0x54')](_0x2e6011){this['forceDefaultExecution'](()=>{this[_0x19cd('0x14')][_0x19cd('0x13c')]['change'](()=>{for(const _0x289373 of _0x2e6011[_0x19cd('0xca')]())_0x289373[_0x19cd('0x18')]();});});}[_0x19cd('0x21')](_0x39385e,_0x3b8f4b){const _0x4a3721=this[_0x19cd('0x14')][_0x19cd('0x50')][_0x19cd('0xd7')](_0x39385e);if(!_0x4a3721)throw new _0x26400e(_0x19cd('0xd4'),this,{'commandName':_0x39385e});if(this[_0x19cd('0xf1')]['has'](_0x4a3721))throw new _0x26400e(_0x19cd('0x74'),this,{'commandName':_0x39385e});this['_enabledCommands'][_0x19cd('0xe1')](_0x4a3721),_0x3b8f4b&&_0x4a3721['on']('execute',(_0x324920,_0x41c88f)=>{this[_0x19cd('0x3a')][_0x19cd('0x166')]&&(this[_0x19cd('0x13e')]||(_0x41c88f['length']>0x0&&_0x41c88f[_0x41c88f['length']-0x1]&&_0x41c88f[_0x41c88f['length']-0x1][_0x19cd('0x14d')]?_0x41c88f[_0x19cd('0x3d')]():(_0x324920['return']=_0x3b8f4b((..._0x179042)=>_0x4a3721[_0x19cd('0x46')](..._0x179042,{'forceDefaultExecution':!0x0}),..._0x41c88f),_0x324920[_0x19cd('0x10e')]())));},{'priority':'high'});}[_0x19cd('0x14d')](_0x3d69b2){let _0x474966,_0x1234c4;const _0x2117fe=this[_0x19cd('0x13e')];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x474966=_0x3d69b2();}catch(_0x3e917e){_0x1234c4=_0x3e917e;}return _0x2117fe||(this[_0x19cd('0x13e')]=!0x1),_0x1234c4&&_0x26400e['rethrowUnexpectedError'](_0x1234c4,this),_0x474966;}['markInsertion'](_0x226555,_0x1acd0a=null,_0x36835a={}){if(_0x226555[_0x19cd('0x38')])return null;const _0x342a73=this[_0x19cd('0x14')][_0x19cd('0x128')][_0x19cd('0xd7')](_0x19cd('0x20'))['me'];for(const {suggestion:_0x1f22f9,meta:_0x56e7ee}of this[_0x19cd('0x9f')](_0x226555,'insertion'))if(_0x56e7ee[_0x19cd('0x156')]){if(!_0x56e7ee[_0x19cd('0x114')]){if(_0x56e7ee[_0x19cd('0x7e')]){if(!this[_0x19cd('0xf9')]||!Pt(_0x1f22f9,_0x36835a))continue;return _0x1f22f9;}if(Pt(_0x1f22f9,_0x36835a))return _0x1f22f9;this['_breakSuggestionMarker'](_0x1f22f9,_0x226555[_0x19cd('0x4f')],_0x226555[_0x19cd('0x172')]);break;}if(_0x1acd0a==_0x1f22f9['subType']&&Pt(_0x1f22f9,_0x36835a)){const _0x29fcc8=_0x1f22f9['getFirstRange']();return _0x29fcc8[_0x19cd('0x4f')][_0x19cd('0x9c')](_0x226555[_0x19cd('0x172')])?this[_0x19cd('0x99')](_0x1f22f9,this[_0x19cd('0xdc')][_0x19cd('0xef')](_0x226555[_0x19cd('0x4f')],_0x29fcc8[_0x19cd('0x172')])):this[_0x19cd('0x99')](_0x1f22f9,this['_model']['createRange'](_0x29fcc8[_0x19cd('0x4f')],_0x226555['end'])),_0x1f22f9;}}const _0x54ab09=_0x53da6a(),_0x564c4c=_0x342a73['id'],_0x5f2602=_0x1acd0a?_0x19cd('0x17')+_0x1acd0a:_0x19cd('0x10a'),_0x784ca5=this[_0x19cd('0x2')]({'id':_0x54ab09,'type':_0x5f2602,'createdAt':new Date(),'authorId':_0x564c4c,'attributes':_0x36835a});return this['_addSuggestionMarker'](_0x5f2602,_0x54ab09,_0x564c4c,_0x226555),_0x784ca5;}[_0x19cd('0x131')](_0x22ac2a,_0x4d7c75=_0x19cd('0x4a'),_0x47ce2d={}){const _0x29d8d5=this[_0x19cd('0x14')][_0x19cd('0x128')][_0x19cd('0xd7')]('Users')['me'],_0x138fe7=this[_0x19cd('0xdf')][_0x19cd('0x6')](_0x19cd('0x10a'),_0x4d7c75,'join');for(const _0x356133 of this[_0x19cd('0x105')]())if(_0x356133['author']['id']==_0x29d8d5['id']&&_0x19cd('0x10a')==_0x356133[_0x19cd('0x4e')]&&_0x356133[_0x19cd('0x36')]==_0x4d7c75&&Pt(_0x356133,_0x47ce2d)&&(_0x138fe7(_0x356133[_0x19cd('0x76')](),_0x22ac2a)||_0x138fe7(_0x22ac2a,_0x356133[_0x19cd('0x76')]()))){for(const _0x5acd16 of _0x22ac2a)_0x356133[_0x19cd('0x1')](_0x5acd16);return _0x356133;}for(const {suggestion:_0x34e26f,meta:_0x1197fb}of this['_findSuggestions'](_0x22ac2a,_0x19cd('0x10a'))){if(!_0x1197fb['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x1197fb[_0x19cd('0x7e')])continue;if(!Pt(_0x34e26f,_0x47ce2d))continue;let _0x153b5a=!0x0;for(const _0x25f912 of _0x34e26f['getRanges']())for(const _0x4c17a9 of _0x22ac2a)if(!_0x25f912[_0x19cd('0x2e')](_0x4c17a9)){_0x153b5a=!0x1;break;}if(_0x153b5a)return _0x34e26f;}const _0x163dae=_0x53da6a(),_0x340ace=_0x29d8d5['id'],_0x4fb55f=_0x19cd('0x17')+_0x4d7c75,_0x254352=this[_0x19cd('0x2')]({'id':_0x163dae,'type':_0x4fb55f,'createdAt':new Date(),'authorId':_0x340ace,'attributes':_0x47ce2d});for(const _0x271881 of _0x22ac2a)this[_0x19cd('0xcc')](_0x4fb55f,_0x163dae,_0x340ace,_0x271881,_0xf9ee21['getMultiRangeId']());return _0x254352;}[_0x19cd('0x22')](_0x93d0a7,_0x1806a9,_0x4727a7=null,_0x442764={}){if(_0x4727a7=_0x4727a7||Et(_0x1806a9),_0x93d0a7[_0x19cd('0x38')])return null;if('never'===this['_trackFormatChanges']){const _0xf4202d=this[_0x19cd('0xdf')][_0x19cd('0x6')](_0x19cd('0xf8'),_0x4727a7,_0x19cd('0x10d'));return this[_0x19cd('0x14d')](()=>_0xf4202d([_0x93d0a7],_0x1806a9,_0x442764)),null;}const _0x104ef9=this['editor'][_0x19cd('0x128')][_0x19cd('0xd7')](_0x19cd('0x20'))['me'],_0x20b867=[];if('always'!==this[_0x19cd('0x142')])for(const {suggestion:_0x16aa7c,meta:_0x4257e1}of this[_0x19cd('0x9f')](_0x93d0a7,_0x19cd('0x10a')))_0x4257e1['isOwn']&&!_0x4257e1[_0x19cd('0x8')]&&_0x20b867['push'](..._0x16aa7c[_0x19cd('0x76')]());const _0xfd729=function(_0x1549af,_0x4d0b2c){const _0x549e48=[];for(const _0x3b9a59 of _0x4d0b2c){const _0x2840d5=_0x1549af[_0x19cd('0xf5')](_0x3b9a59);_0x2840d5&&_0x549e48['push'](_0x2840d5);}return _0x549e48;}(_0x93d0a7,_0x20b867),_0x28fdee=function(_0x25fd57,_0x5cbf75){const _0xfa2984=[_0x25fd57];for(const _0x5e94ba of _0x5cbf75){let _0x198c1b=0x0;for(;_0x198c1b<_0xfa2984[_0x19cd('0x158')];){const _0x41e3de=_0xfa2984[_0x198c1b]['getDifference'](_0x5e94ba);_0xfa2984[_0x19cd('0x143')](_0x198c1b,0x1,..._0x41e3de),_0x198c1b+=_0x41e3de[_0x19cd('0x158')];}}return _0xfa2984;}(_0x93d0a7,_0x20b867);_0xfd729[_0x19cd('0x158')]&&this[_0x19cd('0xdc')][_0x19cd('0xdd')](()=>{for(const _0x40224f of _0xfd729){const _0x6ce771=this[_0x19cd('0xdf')][_0x19cd('0x6')](_0x19cd('0xf8'),_0x4727a7,'accept');this['forceDefaultExecution'](()=>_0x6ce771([_0x40224f],_0x1806a9,_0x442764));}});for(const _0x475bc7 of _0x28fdee){let _0x5ef8c0=null,_0x545ce4=_0x475bc7[_0x19cd('0x4f')],_0x988ede=_0x475bc7[_0x19cd('0x172')];for(const {suggestion:_0x5e4c42,meta:_0x587248}of this[_0x19cd('0x9f')](_0x475bc7,'formatInline')){if(!_0x587248[_0x19cd('0x156')])continue;if(_0x5e4c42[_0x19cd('0x36')]!=_0x4727a7)continue;if(!Pt(_0x5e4c42,_0x442764))continue;const _0x4be06f=_0x5e4c42[_0x19cd('0x5b')]();if(_0x4be06f[_0x19cd('0x2e')](_0x475bc7,!0x0))return null;_0x545ce4=_0x545ce4[_0x19cd('0x7c')](_0x4be06f[_0x19cd('0x4f')])?_0x545ce4:_0x4be06f[_0x19cd('0x4f')],_0x988ede=_0x988ede[_0x19cd('0x100')](_0x4be06f[_0x19cd('0x172')])?_0x988ede:_0x4be06f['end'],_0x5ef8c0?_0x4be06f[_0x19cd('0x4f')][_0x19cd('0x7c')](_0x5ef8c0[_0x19cd('0x5b')]()[_0x19cd('0x4f')])?(_0x5ef8c0[_0x19cd('0xcb')](),_0x5ef8c0=_0x5e4c42):_0x5e4c42[_0x19cd('0xcb')]():_0x5ef8c0=_0x5e4c42;}const _0x47068a=this[_0x19cd('0xdc')][_0x19cd('0xef')](_0x545ce4,_0x988ede);if(_0x5ef8c0)this['_setSuggestionRange'](_0x5ef8c0,_0x47068a);else{const _0x14f6e9=_0x53da6a(),_0x34f41a=_0x104ef9['id'];this[_0x19cd('0x2')]({'id':_0x14f6e9,'type':_0x19cd('0x141')+_0x4727a7,'data':_0x1806a9,'createdAt':new Date(),'authorId':_0x34f41a,'attributes':_0x442764}),this[_0x19cd('0xcc')](_0x19cd('0x141')+_0x4727a7,_0x14f6e9,_0x34f41a,_0x47068a);}}return null;}['markBlockFormat'](_0x26ed17,_0x571ca8,_0x275a03=[],_0xda4569=null,_0xc44a12={}){_0x571ca8[_0x19cd('0x4b')]||(_0x571ca8[_0x19cd('0x4b')]=_0x571ca8[_0x19cd('0x106')]),_0x571ca8[_0x19cd('0x120')]=_0x26ed17['is'](_0x19cd('0x115')),_0xda4569=_0xda4569||Et(_0x571ca8);const _0x59d282=_0x275a03[_0x19cd('0x125')](_0x444821=>Ot(_0x444821,this[_0x19cd('0xdc')])),_0x3893c4=_0x26ed17['is']('range')?_0x26ed17:Ot(_0x26ed17,this[_0x19cd('0xdc')]);if(_0x19cd('0x104')===this[_0x19cd('0x142')]){const _0x302656=this['_suggestionFactory']['getSuggestionCallback'](_0x19cd('0xd9'),_0xda4569,_0x19cd('0x10d'));return this[_0x19cd('0x14d')](()=>_0x302656([_0x3893c4],_0x571ca8,_0xc44a12)),null;}_0x59d282[_0x19cd('0x4')](_0x3893c4);let _0x341bef=!0x0;for(const _0x14e608 of _0x59d282)if(!this[_0x19cd('0x37')](_0x14e608)){_0x341bef=!0x1;break;}if(_0x341bef&&_0x19cd('0x1b')!==this['_trackFormatChanges']){const _0x44c9b7=this['_suggestionFactory'][_0x19cd('0x6')](_0x19cd('0xd9'),_0xda4569,'accept');return this['forceDefaultExecution'](()=>_0x44c9b7([_0x3893c4],_0x571ca8,_0xc44a12)),null;}let _0x5987e5=null,_0x473341=_0x3893c4[_0x19cd('0x4f')],_0x32ee80=_0x3893c4[_0x19cd('0x172')];for(const {suggestion:_0xfc0848,meta:_0xd6ce2f}of this[_0x19cd('0x9f')](_0x3893c4,_0x19cd('0xd9'))){if(!_0xd6ce2f['isOwn'])continue;if(_0xd6ce2f[_0x19cd('0x114')]||_0xd6ce2f[_0x19cd('0x7e')]||_0xd6ce2f['isInsideObject'])continue;if(_0xfc0848['data'][_0x19cd('0x4b')]!=_0x571ca8[_0x19cd('0x4b')])continue;if(!Pt(_0xfc0848,_0xc44a12))continue;const _0x5d3208=_0xfc0848['getFirstRange']();if(_0xfc0848[_0x19cd('0x36')]==_0xda4569){if(_0x5d3208[_0x19cd('0x2e')](_0x3893c4,!0x0))return null;_0x473341=_0x473341[_0x19cd('0x7c')](_0x5d3208[_0x19cd('0x4f')])?_0x473341:_0x5d3208['start'],_0x32ee80=_0x32ee80[_0x19cd('0x100')](_0x5d3208['end'])?_0x32ee80:_0x5d3208[_0x19cd('0x172')],_0x5987e5?_0x5d3208[_0x19cd('0x4f')][_0x19cd('0x7c')](_0x5987e5['getFirstRange']()[_0x19cd('0x4f')])?(_0x5987e5[_0x19cd('0xcb')](),_0x5987e5=_0xfc0848):_0xfc0848[_0x19cd('0xcb')]():_0x5987e5=_0xfc0848;}else{const _0x40ba88=_0x3893c4[_0x19cd('0xf5')](_0x5d3208);this[_0x19cd('0x43')](_0xfc0848,_0x40ba88);}}const _0x2c0735=this['editor']['plugins'][_0x19cd('0xd7')](_0x19cd('0x20'))['me'],_0x147ca5=_0x53da6a(),_0x584f21=_0x2c0735['id'];if(_0x5987e5)return this['_setSuggestionRange'](_0x5987e5,this['_model'][_0x19cd('0xef')](_0x473341,_0x32ee80)),_0x5987e5;{const _0x9e9f73=this[_0x19cd('0x2')]({'id':_0x147ca5,'type':_0x19cd('0x101')+_0xda4569,'data':_0x571ca8,'createdAt':new Date(),'authorId':_0x584f21,'attributes':_0xc44a12});return this[_0x19cd('0xcc')](_0x19cd('0x101')+_0xda4569,_0x147ca5,_0x584f21,this[_0x19cd('0xdc')][_0x19cd('0xef')](_0x473341,_0x32ee80)),_0x9e9f73;}}['markMultiRangeBlockFormat'](_0x8e1590,_0x1f8366,_0x56e184=[],_0x13836c=null,_0x41d22b={}){_0x1f8366[_0x19cd('0x4b')]||(_0x1f8366['formatGroupId']=_0x1f8366[_0x19cd('0x106')]);const _0x5b7d05=_0x8e1590[0x0];_0x1f8366[_0x19cd('0x120')]=_0x5b7d05['is'](_0x19cd('0x115')),_0x13836c=_0x13836c||Et(_0x1f8366);const _0x16931f=_0x56e184['map'](_0xc23beb=>Ot(_0xc23beb,this['_model'])),_0x180cb2=_0x5b7d05['is'](_0x19cd('0x115'))?_0x8e1590:_0x8e1590[_0x19cd('0x125')](_0x2ff8c4=>Ot(_0x2ff8c4,this[_0x19cd('0xdc')]));if(_0x19cd('0x104')===this['_trackFormatChanges']){const _0x47b06=this['_suggestionFactory']['getSuggestionCallback'](_0x19cd('0xd9'),_0x13836c,'accept');return this[_0x19cd('0x14d')](()=>_0x47b06(_0x180cb2,_0x1f8366,_0x41d22b)),null;}_0x16931f[_0x19cd('0x4')](..._0x180cb2);let _0x62b969=!0x0;for(const _0x561e8a of _0x16931f)if(!this[_0x19cd('0x37')](_0x561e8a)){_0x62b969=!0x1;break;}if(_0x62b969&&_0x19cd('0x1b')!==this['_trackFormatChanges']){const _0x4dee22=this[_0x19cd('0xdf')][_0x19cd('0x6')](_0x19cd('0xd9'),_0x13836c,_0x19cd('0x10d'));return this['forceDefaultExecution'](()=>_0x4dee22(_0x180cb2,_0x1f8366,_0x41d22b)),null;}const _0x3a0ef9=this[_0x19cd('0x14')][_0x19cd('0x128')][_0x19cd('0xd7')]('Users')['me'];for(const _0xb30c7a of this[_0x19cd('0x105')]()){if(_0xb30c7a[_0x19cd('0x8f')]['id']!=_0x3a0ef9['id'])continue;if('formatBlock'!=_0xb30c7a[_0x19cd('0x4e')]||_0xb30c7a['data'][_0x19cd('0x4b')]!=_0x1f8366[_0x19cd('0x4b')])continue;if(!Pt(_0xb30c7a,_0x41d22b))continue;const _0x3d253a=_0xb30c7a['subType']==_0x13836c;for(let _0x12a028=0x0;_0x12a028<_0x180cb2['length'];_0x12a028++){const _0x386ceb=_0x180cb2[_0x12a028];for(const _0x5e771f of _0xb30c7a[_0x19cd('0x47')]()){const _0x383ce0=_0x5e771f[_0x19cd('0xbc')]();if(_0x386ceb[_0x19cd('0x9c')](_0x383ce0)){_0x3d253a?(_0x180cb2['splice'](_0x12a028,0x1),_0x12a028--):_0xb30c7a['removeMarker'](_0x5e771f[_0x19cd('0x168')]);break;}}}}if(0x0==_0x180cb2[_0x19cd('0x158')])return null;const _0x13f213=this[_0x19cd('0xdf')][_0x19cd('0x6')]('formatBlock',_0x13836c,'join');for(const _0x5d5907 of this['getSuggestions']())if(_0x5d5907[_0x19cd('0x8f')]['id']==_0x3a0ef9['id']&&_0x19cd('0xd9')==_0x5d5907[_0x19cd('0x4e')]&&_0x5d5907[_0x19cd('0x48')]['formatGroupId']==_0x1f8366[_0x19cd('0x4b')]&&_0x5d5907[_0x19cd('0x36')]==_0x13836c&&Pt(_0x5d5907,_0x41d22b)&&(_0x13f213(_0x5d5907['getRanges'](),_0x180cb2)||_0x13f213(_0x180cb2,_0x5d5907[_0x19cd('0x76')]()))){for(const _0x1392f3 of _0x180cb2)_0x5d5907[_0x19cd('0x1')](_0x1392f3);return _0x5d5907;}const _0x5046c3=_0x53da6a(),_0x4bb0b9=_0x3a0ef9['id'],_0x21c062=_0x19cd('0x101')+_0x13836c,_0x1369ff=this[_0x19cd('0x2')]({'id':_0x5046c3,'type':_0x21c062,'data':_0x1f8366,'createdAt':new Date(),'authorId':_0x4bb0b9,'attributes':_0x41d22b});for(const _0xf6eedd of _0x180cb2)this[_0x19cd('0xcc')](_0x21c062,_0x5046c3,_0x4bb0b9,_0xf6eedd,_0xf9ee21[_0x19cd('0x159')]());return _0x1369ff;}['markDeletion'](_0x207f23,_0x287810=null,_0x20a415={}){if(_0x207f23[_0x19cd('0x38')])return null;const _0x53709b=this['editor'][_0x19cd('0x128')][_0x19cd('0xd7')](_0x19cd('0x20'))['me'],_0x22b996=new _0xb00d8d(_0x207f23[_0x19cd('0x4f')],_0x207f23[_0x19cd('0x172')]);for(const {suggestion:_0x2c8510,meta:_0x116a98}of this['_findSuggestions'](_0x22b996,_0x19cd('0x10a')))if(_0x116a98[_0x19cd('0x156')]&&!_0x116a98[_0x19cd('0x114')]){if(_0x2c8510[_0x19cd('0x32')]){const _0xa5dd33=_0x2c8510[_0x19cd('0x76')]()[_0x19cd('0x94')](_0x2e84c6=>_0x19cd('0x16')!=_0x2e84c6[_0x19cd('0x14a')]['rootName']);_0xa5dd33['every'](_0x1276a0=>_0x22b996['containsRange'](_0x1276a0,!0x0))&&_0x2c8510['discard']();if(_0xa5dd33[_0x19cd('0x9d')](_0x5947ac=>_0x5947ac[_0x19cd('0x2e')](_0x22b996,!0x0))){const _0x472869=this[_0x19cd('0xdf')][_0x19cd('0x6')](_0x19cd('0x35'),_0x287810,_0x19cd('0x10d'));return this[_0x19cd('0x14d')](()=>_0x472869([_0x22b996],null,_0x20a415)),null;}}else{const _0x409ed1=_0x22b996[_0x19cd('0xf5')](_0x2c8510[_0x19cd('0x5b')]());null!==_0x409ed1&&_0x2c8510[_0x19cd('0xb2')]([_0x409ed1],null,_0x20a415);}}if(_0x22b996[_0x19cd('0x5d')](),_0x22b996[_0x19cd('0x38')]||_0x19cd('0x16')==_0x22b996[_0x19cd('0x14a')][_0x19cd('0x7b')])return null;let _0x455f1d=null,_0x337575=_0x22b996[_0x19cd('0x4f')],_0x46975b=_0x22b996[_0x19cd('0x172')];const _0x285219=this[_0x19cd('0x9f')](_0x22b996,_0x19cd('0x35'));for(const {suggestion:_0x44e3f3,meta:_0x31d179}of _0x285219){const _0x4c5029=this[_0x19cd('0xdc')][_0x19cd('0xef')](_0x337575,_0x46975b);if(_0x31d179['isOwn']&&(this['_mergeNestedSuggestions']||!_0x31d179[_0x19cd('0x7e')]&&!_0x31d179['isInsideObject'])){if(_0x44e3f3[_0x19cd('0x32')]){if(!Pt(_0x44e3f3,_0x20a415))continue;let _0xb63ea0=!0x0;for(const _0x3e0da5 of _0x44e3f3[_0x19cd('0x76')]()){if(_0x3e0da5[_0x19cd('0x2e')](_0x4c5029,!0x0))return _0x44e3f3;_0x4c5029[_0x19cd('0x2e')](_0x3e0da5)||(_0xb63ea0=!0x1);}_0xb63ea0&&_0x44e3f3[_0x19cd('0x18')]();}else{const _0x8ed449=_0x44e3f3[_0x19cd('0x5b')]();if(_0x8ed449['containsRange'](_0x4c5029,!0x0))return _0x44e3f3;if(!Pt(_0x44e3f3,_0x20a415)){_0x4c5029[_0x19cd('0x2e')](_0x8ed449)?_0x44e3f3[_0x19cd('0xcb')]():_0x8ed449[_0x19cd('0xf')](_0x337575)?_0x337575=_0x8ed449['end']:_0x8ed449[_0x19cd('0xf')](_0x46975b)&&(_0x46975b=_0x8ed449[_0x19cd('0x4f')]);continue;}_0x337575=_0x337575['isBefore'](_0x8ed449[_0x19cd('0x4f')])?_0x337575:_0x8ed449[_0x19cd('0x4f')],_0x46975b=_0x46975b[_0x19cd('0x100')](_0x8ed449[_0x19cd('0x172')])?_0x46975b:_0x8ed449[_0x19cd('0x172')],_0x20a415=Object[_0x19cd('0xc7')]({},_0x44e3f3[_0x19cd('0x56')]),_0x455f1d?_0x8ed449[_0x19cd('0x4f')][_0x19cd('0x7c')](_0x455f1d[_0x19cd('0x5b')]()['start'])?(_0x455f1d[_0x19cd('0xcb')](),_0x455f1d=_0x44e3f3):_0x44e3f3[_0x19cd('0xcb')]():_0x455f1d=_0x44e3f3;}}}if(_0x455f1d)return this['_setSuggestionRange'](_0x455f1d,this[_0x19cd('0xdc')][_0x19cd('0xef')](_0x337575,_0x46975b)),_0x455f1d;{const _0x3e95ed=_0x53da6a(),_0x216ec8=this['_model'][_0x19cd('0xef')](_0x337575,_0x46975b),_0x4b53c2=_0x53709b['id'],_0x3df46b=_0x287810?_0x19cd('0x13a')+_0x287810:_0x19cd('0x35'),_0x1ab5b7=this[_0x19cd('0x2')]({'id':_0x3e95ed,'type':_0x3df46b,'createdAt':new Date(),'authorId':_0x4b53c2,'attributes':_0x20a415});return this[_0x19cd('0xcc')](_0x3df46b,_0x3e95ed,_0x4b53c2,_0x216ec8),_0x1ab5b7;}}[_0x19cd('0xad')](_0x2f1c80,_0x26fea3=_0x19cd('0x4a'),_0x4a33b5={}){const _0x4c1dab=this[_0x19cd('0x14')]['plugins'][_0x19cd('0xd7')](_0x19cd('0x20'))['me'],_0xade5a1=_0x2f1c80[_0x19cd('0x125')](_0x5b29bb=>new _0xb00d8d(_0x5b29bb[_0x19cd('0x4f')],_0x5b29bb[_0x19cd('0x172')])),_0x168551=new Set();for(const {suggestion:_0x273e55,meta:_0x506ee1}of this[_0x19cd('0x9f')](_0xade5a1,'insertion'))_0x506ee1[_0x19cd('0x156')]&&!_0x506ee1[_0x19cd('0x114')]&&_0x168551[_0x19cd('0xe1')](_0x273e55);for(const _0xac06f1 of _0x168551)if(_0xac06f1['isMultiRange']){const _0x3d19a5=_0xac06f1[_0x19cd('0x76')]();(!_0xac06f1[_0x19cd('0x56')]||!_0xac06f1[_0x19cd('0x56')]['skipNestingCheck'])&&(_0x3d19a5['every'](_0x86ac0e=>_0xade5a1[_0x19cd('0x9d')](_0x515953=>_0x515953[_0x19cd('0x2e')](_0x86ac0e,!0x0)))&&_0xac06f1[_0x19cd('0x18')]());if(_0xade5a1[_0x19cd('0x144')](_0x225921=>_0x3d19a5['some'](_0x60279c=>_0x60279c[_0x19cd('0x2e')](_0x225921,!0x0)))){const _0x3be9d3=this[_0x19cd('0xdf')][_0x19cd('0x6')]('deletion',_0x26fea3,_0x19cd('0x10d'));return this['forceDefaultExecution'](()=>_0x3be9d3(_0x2f1c80,null,_0x4a33b5)),null;}}else{const _0x332fb5=_0xac06f1[_0x19cd('0x5b')]();_0xade5a1[_0x19cd('0x9d')](_0x69380e=>_0x69380e['containsRange'](_0x332fb5,!0x0))&&_0xac06f1['discard']();if(_0xade5a1['every'](_0x1759c1=>_0x332fb5[_0x19cd('0x2e')](_0x1759c1,!0x0))){const _0x5e582a=this[_0x19cd('0xdf')][_0x19cd('0x6')](_0x19cd('0x35'),_0x26fea3,'accept');return this[_0x19cd('0x14d')](()=>_0x5e582a(_0xade5a1,null,_0x4a33b5)),null;}}const _0x114055=this[_0x19cd('0xdf')][_0x19cd('0x6')]('deletion',_0x26fea3,_0x19cd('0xc6'));let _0x5031ee=null;for(const _0x1237eb of this[_0x19cd('0x105')]())if(_0x1237eb[_0x19cd('0x8f')]['id']==_0x4c1dab['id']&&_0x1237eb[_0x19cd('0x5a')]&&_0x19cd('0x35')==_0x1237eb[_0x19cd('0x4e')]&&_0x1237eb[_0x19cd('0x36')]==_0x26fea3&&Pt(_0x1237eb,_0x4a33b5)&&(_0x114055(_0x1237eb[_0x19cd('0x76')](),_0xade5a1)||_0x114055(_0xade5a1,_0x1237eb['getRanges']()))){if(_0x5031ee){if(_0x1237eb[_0x19cd('0x8d')]&&_0x1237eb[_0x19cd('0x8d')][_0x19cd('0x158')])continue;for(const _0x529aa0 of _0x1237eb[_0x19cd('0x76')]())_0x5031ee[_0x19cd('0xb6')](_0x529aa0)||_0x5031ee[_0x19cd('0x1')](_0x529aa0);_0x1237eb['removeMarkers']();}else{_0x5031ee=_0x1237eb;for(const _0x206ea0 of _0xade5a1)_0x1237eb[_0x19cd('0xb6')](_0x206ea0)||_0x1237eb[_0x19cd('0x1')](_0x206ea0);}}if(_0x5031ee)return _0x5031ee;_0x168551[_0x19cd('0x151')]();for(const {suggestion:_0x52c946,meta:_0x2b1fee}of this[_0x19cd('0x9f')](_0xade5a1,_0x19cd('0x35')))_0x2b1fee[_0x19cd('0x156')]&&(this[_0x19cd('0xf9')]||!_0x2b1fee[_0x19cd('0x7e')]&&!_0x2b1fee[_0x19cd('0x8')])&&Pt(_0x52c946,_0x4a33b5)&&_0x168551[_0x19cd('0xe1')](_0x52c946);for(const _0x3fd578 of _0x168551){const _0x35af90=_0x3fd578[_0x19cd('0x76')]();if(!_0x4a33b5||!_0x4a33b5['skipNestingCheck']){if(_0xade5a1[_0x19cd('0x144')](_0x3a8c59=>_0x35af90[_0x19cd('0x9d')](_0x20d84d=>_0x20d84d['containsRange'](_0x3a8c59,!0x0))))return _0x3fd578;}(!_0x3fd578[_0x19cd('0x56')]||!_0x3fd578['attributes'][_0x19cd('0x136')])&&(_0x35af90['every'](_0x2d449d=>_0xade5a1[_0x19cd('0x9d')](_0x3025ce=>_0x3025ce[_0x19cd('0x2e')](_0x2d449d,!0x0)))&&_0x3fd578[_0x19cd('0x18')]());}const _0x4d52cf=_0x53da6a(),_0x14d282=_0x4c1dab['id'],_0x21663f='deletion:'+_0x26fea3,_0x464675=this['_setSuggestionData']({'id':_0x4d52cf,'type':_0x21663f,'createdAt':new Date(),'authorId':_0x14d282,'attributes':_0x4a33b5});for(const _0x43be1f of _0xade5a1)_0x43be1f['detach'](),_0x43be1f['isCollapsed']||_0x19cd('0x16')==_0x43be1f[_0x19cd('0x14a')][_0x19cd('0x7b')]||this['_addSuggestionMarker'](_0x21663f,_0x4d52cf,_0x14d282,_0x43be1f,_0xf9ee21[_0x19cd('0x159')]());return _0x464675;}[_0x19cd('0x96')](_0x50acc7,_0x1f75af,_0x44ac92,_0x518fa8,_0x2cc851){if(_0x50acc7['isCollapsed'])return[];if(_0x19cd('0x104')===this[_0x19cd('0x142')])return[];const _0x1f3cc8=this[_0x19cd('0x14')][_0x19cd('0x128')]['get'](_0x19cd('0x20'))['me']['id'],_0x59db7d=Array[_0x19cd('0x5f')](this[_0x19cd('0x77')][_0x19cd('0xbd')]())[_0x19cd('0x94')](_0x7d2d5a=>_0x19cd('0xa6')==_0x7d2d5a['type']&&_0x7d2d5a['data'][_0x19cd('0xb1')]==_0x1f75af&&_0x7d2d5a[_0x19cd('0xb6')](_0x50acc7));if(_0x19cd('0x42')===this[_0x19cd('0x142')]){const _0x88c508=this[_0x19cd('0x9f')](_0x50acc7,_0x19cd('0x10a'))['filter'](({meta:_0xa697b1})=>_0xa697b1['isOwn']&&!_0xa697b1['isInsideObject']&&!_0xa697b1[_0x19cd('0x114')])[_0x19cd('0x125')](({suggestion:_0xb74088})=>_0xb74088);_0x59db7d[_0x19cd('0x13f')](..._0x88c508);}const _0x4fb221=new Map([[_0x50acc7,_0x44ac92]]);for(const _0x4b8865 of _0x59db7d){const _0x3ff99d=_0x19cd('0xa6')==_0x4b8865[_0x19cd('0x4e')]?_0x4b8865[_0x19cd('0x48')][_0x19cd('0xe7')]:void 0x0,_0x18114f=_0x4b8865[_0x19cd('0x5b')](),_0x34f406=Array[_0x19cd('0x5f')](_0x4fb221[_0x19cd('0x1d')]())[_0x19cd('0x52')](_0x1bfdd1=>_0x1bfdd1[_0x19cd('0xbb')](_0x18114f));if(!_0x34f406)continue;const _0x17ace8=_0x34f406['getDifference'](_0x18114f);this[_0x19cd('0x34')](_0x1f75af)&&_0x19cd('0x10a')==_0x4b8865['type']&&0x0!=_0x17ace8['length']||(_0x4fb221['delete'](_0x34f406),_0x17ace8['forEach'](_0x153536=>{_0x4fb221[_0x19cd('0x174')](_0x153536,_0x44ac92);}),'insertion'!=_0x4b8865[_0x19cd('0x4e')]&&_0x3ff99d!=_0x518fa8&&_0x4fb221['set'](_0x34f406[_0x19cd('0xf5')](_0x18114f),_0x3ff99d));}const _0xf97380=[];for(const [_0x1e3220,_0x431698]of _0x4fb221){const _0x88da59=_0x53da6a(),_0x1ffc42={'key':_0x1f75af,'oldValue':_0x431698,'newValue':_0x518fa8};_0x1f75af['length']>0x25&&console[_0x19cd('0xc8')]('Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.',{'key':_0x1f75af});const _0x3ccdb0=(_0x19cd('0xce')+(_0x1f75af+'|'+Et({'newValue':_0x518fa8})))[_0x19cd('0x178')](0x0,0x3c),_0x55d04c=this[_0x19cd('0x2')]({'id':_0x88da59,'type':_0x3ccdb0,'data':_0x1ffc42,'createdAt':new Date(),'authorId':_0x1f3cc8,'attributes':_0x2cc851});_0xf97380['push'](_0x55d04c),this[_0x19cd('0xcc')](_0x3ccdb0,_0x88da59,_0x1f3cc8,_0x1e3220);}return _0xf97380;}['_registerBlockAttribute'](_0x509df3){this[_0x19cd('0x98')]['add'](_0x509df3);}['_registerInlineAttribute'](_0x39815e){this[_0x19cd('0x93')][_0x19cd('0xe1')](_0x39815e);}['_enableDefaultAttributesIntegration'](_0x56524d,_0x187449=[],_0x163685=[]){this[_0x19cd('0x21')](_0x56524d,(_0x2a2d14,..._0x3ae37e)=>{this[_0x19cd('0x89')](()=>{_0x2a2d14(..._0x3ae37e);});});for(const _0x347dcd of _0x187449)this['_registerInlineAttribute'](_0x347dcd);for(const _0x5646be of _0x163685)this[_0x19cd('0x8e')](_0x5646be);}['_getAttributeKey'](_0x17e7d8){return _0x19cd('0xa6')==_0x17e7d8['type']?_0x17e7d8[_0x19cd('0x36')][_0x19cd('0x64')]('|')[0x0]:null;}['_setSuggestionRange'](_0x3da442,_0x4c95f6){const _0x457f79=_0x3da442[_0x19cd('0x109')]();this[_0x19cd('0xdc')][_0x19cd('0xdd')](_0x234981=>{_0x234981[_0x19cd('0xaf')](_0x457f79,{'range':_0x4c95f6});});}[_0x19cd('0xd')](_0x2ce397){const _0x192ec9=_0x2ce397['id'],_0x13cbc2=this[_0x19cd('0x14')][_0x19cd('0x10')]['get'](_0x19cd('0x118'));this[_0x19cd('0x16a')][_0x19cd('0x16e')](_0x192ec9)||this[_0x19cd('0x16a')][_0x19cd('0x11e')]({'channelId':_0x13cbc2,'threadId':_0x192ec9,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x5d002a=this['_commentsRepository'][_0x19cd('0x16c')](_0x192ec9);_0x5d002a[_0x19cd('0x12e')](_0x19cd('0x145')),_0x5d002a[_0x19cd('0x145')]=!0x1,_0x2ce397[_0x19cd('0x8d')]=_0x5d002a;}[_0x19cd('0x11c')](_0xdb5117,_0x19a885,_0xc0813f,_0x4c5df2){if(_0xdb5117[_0x19cd('0x4e')]!=_0x19a885||_0xdb5117[_0x19cd('0x36')]!=_0xc0813f||_0xdb5117[_0x19cd('0x10c')]['id']!=_0x4c5df2)throw this[_0x19cd('0x14')][_0x19cd('0x170')](_0x19cd('0xc')),new _0x26400e(_0x19cd('0xc'),this);}[_0x19cd('0x43')](_0x22fd5b,_0x59dd05){const _0x56c8d4=_0x22fd5b[_0x19cd('0x5b')]();if(_0x59dd05['isEqual'](_0x56c8d4))_0x22fd5b['removeMarkers']();else{if(_0x56c8d4[_0x19cd('0x2e')](_0x59dd05)){const _0x1e769b=this[_0x19cd('0xdc')]['createPositionAt'](_0x59dd05[_0x19cd('0x4f')][_0x19cd('0x14f')],_0x19cd('0x172'));this[_0x19cd('0x99')](_0x22fd5b,this[_0x19cd('0xdc')][_0x19cd('0xef')](_0x56c8d4[_0x19cd('0x4f')],_0x1e769b));const _0x493bfe=_0x53da6a(),_0x33f739=_0x22fd5b[_0x19cd('0x10c')]['id'],_0x17403b=_0x22fd5b[_0x19cd('0x4e')]+':'+_0x22fd5b['subType'];this[_0x19cd('0x2')]({'id':_0x493bfe,'type':_0x17403b,'createdAt':new Date(),'authorId':_0x33f739,'data':_0x22fd5b[_0x19cd('0x48')],'attributes':_0x22fd5b[_0x19cd('0x56')]});const _0x3624ce=this['_model'][_0x19cd('0x110')](_0x59dd05['end'][_0x19cd('0x66')],_0x19cd('0xbf')),_0x5ab86b=this[_0x19cd('0xdc')]['createRange'](_0x3624ce,_0x56c8d4[_0x19cd('0x172')]);this['_addSuggestionMarker'](_0x17403b,_0x493bfe,_0x33f739,_0x5ab86b);}else{if(_0x56c8d4[_0x19cd('0xf')](_0x59dd05['start'])){const _0x4fb3fb=this['_model'][_0x19cd('0x110')](_0x59dd05['start'][_0x19cd('0x14f')],'end');this[_0x19cd('0x99')](_0x22fd5b,this[_0x19cd('0xdc')]['createRange'](_0x56c8d4[_0x19cd('0x4f')],_0x4fb3fb));}else{const _0x151f21=this[_0x19cd('0xdc')][_0x19cd('0x110')](_0x59dd05[_0x19cd('0x172')][_0x19cd('0x66')],'after');this[_0x19cd('0x99')](_0x22fd5b,this['_model'][_0x19cd('0xef')](_0x151f21,_0x56c8d4[_0x19cd('0x172')]));}}}}[_0x19cd('0x37')](_0x3962db){for(const {suggestion:_0x20a8c8,meta:_0x16b245}of this[_0x19cd('0x9f')](_0x3962db,_0x19cd('0x10a'))){if(!_0x16b245[_0x19cd('0x156')])continue;const _0x30765d=_0x20a8c8[_0x19cd('0x76')]();for(const _0x32cfa5 of _0x30765d)if(!_0x3962db[_0x19cd('0x11d')](_0x32cfa5)[_0x19cd('0x158')])return!0x0;}return!0x1;}[_0x19cd('0x165')](_0x3c76ea){const _0x2e4534=this[_0x19cd('0x14')][_0x19cd('0x128')][_0x19cd('0xd7')]('Users')[_0x19cd('0xa2')](_0x3c76ea);if(!_0x2e4534)throw new _0x26400e(_0x19cd('0x27'),this);return _0x2e4534;}[_0x19cd('0x24')](_0x358074){const _0x5918a6=this['editor'][_0x19cd('0x128')][_0x19cd('0xd7')](_0x19cd('0x20')),_0x6bf395=_0x120711('external:'+_0x358074),_0x3374b5=_0x5918a6['getUser'](_0x6bf395);return _0x3374b5||_0x5918a6[_0x19cd('0xd2')]({'id':_0x6bf395,'name':_0x358074});}[_0x19cd('0x148')](_0xc57f3d,_0x1548bc,_0x27021e,_0x4aba46,_0x245d1c){const _0x22e277=this[_0x19cd('0x165')](_0x4aba46),_0x1f4b9c=this[_0x19cd('0xdf')][_0x19cd('0xf6')](_0xc57f3d,_0x1548bc,_0x27021e,_0x22e277,_0x245d1c,_0x3b70ce=>{this['_updateSuggestionData'](_0x27021e,{'attributes':_0x3b70ce});const _0x2973c2=this['getSuggestion'](_0x27021e);this[_0x19cd('0x132')](new Set([_0x2973c2])),this[_0x19cd('0x12b')](new Set([_0x2973c2]));});return this[_0x19cd('0x1a')](_0x1f4b9c,_0x19cd('0x10d'),()=>{this['_updateSuggestionData'](_0x27021e,{'state':_0x19cd('0x160')});},{'priority':_0x19cd('0x13d')}),this['listenTo'](_0x1f4b9c,_0x19cd('0x18'),()=>{this['_updateSuggestionData'](_0x27021e,{'state':_0x19cd('0x2d')});},{'priority':'high'}),this[_0x19cd('0x77')]['set'](_0x27021e,_0x1f4b9c),this[_0x19cd('0x129')][_0x19cd('0x174')](_0x1f4b9c,_0x19cd('0x29')),_0x1f4b9c;}['_splitMarkerName'](_0x106ed7){const _0x3435c4=_0x106ed7[_0x19cd('0x64')](':');return{'group':_0x3435c4[0x0],'type':_0x3435c4[0x1],'subType':_0x3435c4[_0x19cd('0x158')]>=0x5?_0x3435c4[0x2]:null,'id':_0x3435c4[_0x19cd('0x158')]<0x5?_0x3435c4[0x2]:_0x3435c4[0x3],'authorId':_0x3435c4[_0x19cd('0x158')]<0x5?_0x3435c4[0x3]:_0x3435c4[0x4],'markerCount':0x6==_0x3435c4[_0x19cd('0x158')]?_0x3435c4[0x5]:null};}[_0x19cd('0x2a')](_0x5d70df,_0x2974f1,_0xfa364e){const _0x529a23=_0x5d70df[_0x19cd('0x5b')](),_0x5becb5=_0x529a23[_0x19cd('0x4f')],_0x453f0a=_0x529a23['end'];this['_setSuggestionRange'](_0x5d70df,this['_model']['createRange'](_0x5becb5,_0x2974f1));const _0xbfa543=_0x53da6a(),_0x1e7dbb=_0x5d70df[_0x19cd('0x10c')]['id'],_0x7e2166=_0x5d70df['type']+(_0x5d70df['subType']?':'+_0x5d70df['subType']:'');this[_0x19cd('0x2')]({'id':_0xbfa543,'type':_0x7e2166,'createdAt':new Date(),'authorId':_0x1e7dbb,'originalSuggestionId':_0x5d70df['id'],'attributes':_0x5d70df['attributes'],'data':_0x5d70df[_0x19cd('0x48')]});const _0x1478fb=this['_getAttributeKey'](_0x5d70df);(_0x19cd('0xd9')==_0x5d70df[_0x19cd('0x4e')]||_0x1478fb&&this[_0x19cd('0x34')](_0x1478fb))&&(_0xfa364e=this[_0x19cd('0xdc')][_0x19cd('0x15c')](_0xfa364e['parent'])),this[_0x19cd('0xcc')](_0x7e2166,_0xbfa543,_0x1e7dbb,this['_model'][_0x19cd('0xef')](_0xfa364e,_0x453f0a));}[_0x19cd('0x9f')](_0x46e343,_0x3d8cc2=null){const _0x42523b=[],_0x202e3f=this[_0x19cd('0x14')][_0x19cd('0x128')][_0x19cd('0xd7')](_0x19cd('0x20'))['me'];Array[_0x19cd('0x15e')](_0x46e343)||(_0x46e343=[_0x46e343]);for(const _0x2fccb3 of this['getSuggestions']()){if(!_0x2fccb3[_0x19cd('0x5a')])continue;if(_0x3d8cc2&&_0x2fccb3[_0x19cd('0x4e')]!=_0x3d8cc2)continue;let _0x45e75e=!0x1;for(const _0x3699d2 of _0x2fccb3[_0x19cd('0x76')]()){for(const _0xc6a67f of _0x46e343){const _0x51659b=_0xc6a67f['start'][_0x19cd('0x9c')](_0x3699d2[_0x19cd('0x172')])||_0xc6a67f[_0x19cd('0x172')][_0x19cd('0x9c')](_0x3699d2[_0x19cd('0x4f')]);if(_0x51659b||_0xc6a67f[_0x19cd('0xf5')](_0x3699d2)){const _0x37fdf1=_0xc6a67f[_0x19cd('0x2e')](_0x3699d2)&&xt(this[_0x19cd('0xdc')]['schema'],_0x3699d2[_0x19cd('0x4f')],_0xc6a67f),_0x27a197=_0x3699d2[_0x19cd('0x2e')](_0xc6a67f)&&xt(this[_0x19cd('0xdc')]['schema'],_0xc6a67f[_0x19cd('0x4f')],_0x3699d2);_0x42523b['push']({'suggestion':_0x2fccb3,'meta':{'isOwn':_0x202e3f==_0x2fccb3['author'],'isNextTo':_0x51659b,'isInsideObject':_0x37fdf1,'containsRangeInObject':_0x27a197}}),_0x45e75e=!0x0;break;}}if(_0x45e75e)break;}}return _0x42523b;}[_0x19cd('0xcc')](_0x4c8cd5,_0x5785aa,_0x2d4844,_0x2d7e52,_0x53841f){this[_0x19cd('0xdc')][_0x19cd('0xdd')](_0x26294d=>{let _0x84dfc8=_0x19cd('0x31')+_0x4c8cd5+':'+_0x5785aa+':'+_0x2d4844;_0x53841f&&(_0x84dfc8=_0x84dfc8+':'+_0x53841f),_0x26294d[_0x19cd('0x15')](_0x84dfc8,{'range':_0x2d7e52,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x19cd('0x14c')](_0x5d0612){const _0x480036=_0x5d0612[_0x19cd('0x67')],_0x3fef46=_0x5d0612[_0x19cd('0x9b')];_0x5d0612[_0x19cd('0x67')]=null,_0x5d0612[_0x19cd('0x9b')]=null,null!=_0x480036&&_0x480036['next']==_0x5d0612&&(_0x480036[_0x19cd('0x9b')]=_0x3fef46),null!=_0x3fef46&&_0x3fef46[_0x19cd('0x67')]==_0x5d0612&&(_0x3fef46[_0x19cd('0x67')]=_0x480036),'ready'==this[_0x19cd('0x129')]['get'](_0x5d0612)&&(this['_suggestionState']['set'](_0x5d0612,'removed'),this[_0x19cd('0x2c')](_0x19cd('0x163'),_0x5d0612,_0x480036,_0x3fef46));}[_0x19cd('0x2')](_0x9f872e){const _0x57d5a3=_0x9f872e['id'],_0x152150=this[_0x19cd('0x85')](_0x9f872e);if(this[_0x19cd('0x58')]&&this[_0x19cd('0x58')][_0x19cd('0xed')]){const _0x5217f1=this[_0x19cd('0x14')][_0x19cd('0x128')]['get'](_0x19cd('0x12')),_0x334a75=_0x152150[_0x19cd('0x6a')],_0x40404c=_0x152150[_0x19cd('0x36')]?_0x152150[_0x19cd('0x4e')]+':'+_0x152150[_0x19cd('0x36')]:_0x152150[_0x19cd('0x4e')],_0xa15e27=this[_0x19cd('0x14')][_0x19cd('0x7d')],_0x101ab4=_0x5217f1[_0x19cd('0xe1')](_0x4e3a96(_0xa15e27,_0x19cd('0xa4'))),_0x53b1e4={'id':_0x57d5a3,'type':_0x40404c,'hasComments':_0x334a75,'data':_0x9f872e[_0x19cd('0x48')]||null,'originalSuggestionId':_0x9f872e['originalSuggestionId']||null,'attributes':_0x152150[_0x19cd('0x56')]};this[_0x19cd('0x58')][_0x19cd('0xed')](_0x53b1e4)[_0x19cd('0x123')](_0x13105e=>{_0x152150['_saved']=!0x0,_0x5217f1[_0x19cd('0x95')](_0x101ab4),_0x13105e&&_0x13105e[_0x19cd('0x53')]&&(this['_suggestions']['get'](_0x57d5a3)[_0x19cd('0x53')]=_0x13105e[_0x19cd('0x53')]);})[_0x19cd('0x10f')](_0x333e3b=>{throw _0x51132c('error-saving-suggestion-data-suggestion-discarded'),this['editor'][_0x19cd('0x13c')][_0x19cd('0x112')]({'isUndoable':!0x1},()=>{_0x152150['discard']();}),_0x152150[_0x19cd('0x130')](),this['_suggestions'][_0x19cd('0x11f')](_0x152150['id']),this[_0x19cd('0x129')][_0x19cd('0x11f')](_0x152150),_0x333e3b;});}return _0x152150;}[_0x19cd('0x34')](_0x487be4){return this[_0x19cd('0x98')]['has'](_0x487be4);}[_0x19cd('0xe0')](_0x5ebefa,_0x26741e){const _0x415a4a=this[_0x19cd('0x14')][_0x19cd('0x128')][_0x19cd('0xd7')]('PendingActions'),_0x31a359=this[_0x19cd('0xd1')](_0x5ebefa);if(this['_adapter']&&this[_0x19cd('0x58')][_0x19cd('0x90')]){if(_0x31a359[_0x19cd('0x23')]){const _0x4d4c56=_0x415a4a[_0x19cd('0xe1')](_0x4e3a96(this[_0x19cd('0x14')][_0x19cd('0x7d')],_0x19cd('0xa4')));this[_0x19cd('0x58')]['updateSuggestion'](_0x5ebefa,_0x26741e)[_0x19cd('0x123')](()=>{_0x415a4a[_0x19cd('0x95')](_0x4d4c56);});}else _0x31a359['on']('change:_saved',()=>{this[_0x19cd('0xe0')](_0x5ebefa,_0x26741e);});}}[_0x19cd('0x150')](_0x431d85){if(!this[_0x19cd('0x58')]||!this[_0x19cd('0x58')][_0x19cd('0xd1')])throw new _0x26400e('track-changes-adapter-missing-getsuggestion',this);return this[_0x19cd('0x58')][_0x19cd('0xd1')](_0x431d85);}['_handleNewSuggestionMarker'](_0x3b2b28){const {id:_0x1e6927,type:_0x6c9e02,subType:_0x59e5ee,authorId:_0x27c765}=this[_0x19cd('0x15d')](_0x3b2b28),_0x20b97a=this[_0x19cd('0x77')][_0x19cd('0xd7')](_0x1e6927)||this['_createSuggestion'](_0x6c9e02,_0x59e5ee,_0x1e6927,_0x27c765,{});switch(this['_checkSuggestionCorrectness'](_0x20b97a,_0x6c9e02,_0x59e5ee,_0x27c765),this['_suggestionState'][_0x19cd('0xd7')](_0x20b97a)){case _0x19cd('0x29'):this[_0x19cd('0x150')](_0x1e6927)[_0x19cd('0x123')](_0x599bcc=>{let _0x5e1b75=Promise['resolve']();_0x599bcc['hasComments']&&(_0x5e1b75=this[_0x19cd('0x16a')]['fetchCommentThread']({'channelId':this['editor'][_0x19cd('0x10')][_0x19cd('0xd7')](_0x19cd('0x118')),'threadId':_0x1e6927})),_0x5e1b75[_0x19cd('0x123')](()=>{this[_0x19cd('0x85')](_0x599bcc)['_saved']=!0x0;});}),this[_0x19cd('0x129')][_0x19cd('0x174')](_0x20b97a,_0x19cd('0x84'));break;case _0x19cd('0x51'):this[_0x19cd('0xe0')](_0x1e6927,{'state':_0x19cd('0xaa')});case _0x19cd('0x12d'):this['_suggestionState'][_0x19cd('0x174')](_0x20b97a,'ready'),this[_0x19cd('0x2c')](_0x19cd('0xfd'),_0x20b97a);break;case _0x19cd('0x119'):this[_0x19cd('0x2c')](_0x19cd('0x176'),_0x20b97a);}return _0x20b97a[_0x19cd('0x152')](_0x3b2b28),_0x20b97a;}[_0x19cd('0x12b')](_0x45781d){const _0x3ff89b=Array[_0x19cd('0x5f')](_0x45781d),_0x4b8b2=_0x3ff89b[_0x19cd('0x94')](_0x5e3b69=>'attribute'==_0x5e3b69[_0x19cd('0x4e')]);this['_refreshAttributeSuggestionsChain'](_0x4b8b2);const _0x4810ca=_0x3ff89b[_0x19cd('0x94')](_0xc6faa9=>!_0xc6faa9['isMultiRange']&&'attribute'!=_0xc6faa9['type']),_0x633b1b=this[_0x19cd('0x105')]({'skipNotAttached':!0x0})[_0x19cd('0x94')](_0x283e97=>!_0x283e97[_0x19cd('0x32')]&&'attribute'!=_0x283e97[_0x19cd('0x4e')]),_0x1739eb=_0x633b1b['filter'](_0x355195=>!_0x45781d[_0x19cd('0x7f')](_0x355195)),_0x1246d5=new Map(_0x633b1b[_0x19cd('0x125')](_0x33656c=>[_0x33656c,this[_0x19cd('0xdf')][_0x19cd('0x6')](_0x33656c[_0x19cd('0x4e')],_0x33656c[_0x19cd('0x36')],_0x19cd('0x65'))])),_0x2de819=new Map(_0x633b1b['map'](_0x2412b1=>[_0x2412b1,_0x2412b1[_0x19cd('0x5b')]()])),_0x88dd64=new Set(),_0x2fa498=new Set();for(let _0x293064=0x0;_0x293064<_0x4810ca['length'];_0x293064++)_0x3317d0(_0x4810ca[_0x293064],_0x4810ca,_0x293064+0x1);for(let _0x597fe5=0x0;_0x597fe5<_0x4810ca[_0x19cd('0x158')];_0x597fe5++)_0x3317d0(_0x4810ca[_0x597fe5],_0x1739eb,0x0);const _0x10b2dd=new Set();for(let _0x9b6bdf=0x0;_0x9b6bdf<_0x4810ca['length'];_0x9b6bdf++){const _0x4e6a5b=_0x4810ca[_0x9b6bdf];!_0x2fa498[_0x19cd('0x7f')](_0x4e6a5b)&&_0x4e6a5b[_0x19cd('0x67')]&&(_0x10b2dd[_0x19cd('0xe1')](_0x4e6a5b[_0x19cd('0x67')]),_0x4e6a5b['previous'][_0x19cd('0x9b')]===_0x4e6a5b&&(_0x4e6a5b[_0x19cd('0x67')][_0x19cd('0x9b')]=null),_0x4e6a5b['previous']=null),!_0x88dd64[_0x19cd('0x7f')](_0x4e6a5b)&&_0x4e6a5b[_0x19cd('0x9b')]&&(_0x10b2dd[_0x19cd('0xe1')](_0x4e6a5b['next']),_0x4e6a5b[_0x19cd('0x9b')][_0x19cd('0x67')]===_0x4e6a5b&&(_0x4e6a5b[_0x19cd('0x9b')][_0x19cd('0x67')]=null),_0x4e6a5b[_0x19cd('0x9b')]=null);}function _0x3317d0(_0x361e38,_0x4e0ec5,_0x322385){for(let _0x485ec4=_0x322385;_0x485ec4<_0x4e0ec5[_0x19cd('0x158')];_0x485ec4++){const _0x18ffc0=_0x1f5a54(_0x361e38,_0x4e0ec5[_0x485ec4]);_0x18ffc0&&(_0x18ffc0[0x0]['next']=_0x18ffc0[0x1],_0x18ffc0[0x1][_0x19cd('0x67')]=_0x18ffc0[0x0],_0x88dd64[_0x19cd('0xe1')](_0x18ffc0[0x0]),_0x2fa498[_0x19cd('0xe1')](_0x18ffc0[0x1]));}}function _0x1f5a54(_0x367a8c,_0xe266ea){if(_0x367a8c[_0x19cd('0x8f')]['id']!==_0xe266ea[_0x19cd('0x8f')]['id'])return null;const _0x5f2b32=_0x1246d5[_0x19cd('0xd7')](_0x367a8c)(_0x367a8c,_0xe266ea,_0x2de819[_0x19cd('0xd7')](_0x367a8c),_0x2de819[_0x19cd('0xd7')](_0xe266ea));if(!_0x5f2b32)return null;return _0x1246d5[_0x19cd('0xd7')](_0xe266ea)(_0x367a8c,_0xe266ea,_0x2de819[_0x19cd('0xd7')](_0x367a8c),_0x2de819['get'](_0xe266ea))?_0x5f2b32[0x1][_0x19cd('0x8d')]&&_0x5f2b32[0x1]['commentThread'][_0x19cd('0x158')]?null:_0x5f2b32:null;}_0x10b2dd[_0x19cd('0xf0')]&&this[_0x19cd('0x12b')](_0x10b2dd);}[_0x19cd('0x88')](_0x5f3822){if(0x0==_0x5f3822[_0x19cd('0x158')])return;const _0x1c3b1c=this['getSuggestions']({'skipNotAttached':!0x0})[_0x19cd('0x94')](_0x57269=>_0x19cd('0xa6')==_0x57269['type']&&_0x57269[_0x19cd('0x14e')]),_0x23add3=[],_0x6d6c65=new Map();for(const _0x59ab73 of _0x1c3b1c){const _0x7bfcb=_0x120711(_0x59ab73['attributes']);_0x6d6c65[_0x19cd('0x7f')](_0x7bfcb)||(_0x6d6c65[_0x19cd('0x174')](_0x7bfcb,_0x23add3[_0x19cd('0x158')]),_0x23add3[_0x19cd('0x4')]([]));const _0x2c3d2d=_0x6d6c65[_0x19cd('0xd7')](_0x7bfcb);_0x23add3[_0x2c3d2d][_0x19cd('0x4')](_0x59ab73);}!function(){_0x23add3[_0x19cd('0x12a')]((_0x2d2c96,_0x57e1f6)=>{const _0x114b06=_0x2d2c96[0x0][_0x19cd('0x53')],_0x771b29=_0x57e1f6[0x0][_0x19cd('0x53')];return _0x114b06==_0x771b29?_0x2d2c96[0x0][_0x19cd('0x56')][_0x19cd('0x134')]<_0x57e1f6[0x0][_0x19cd('0x56')]['groupId']?-0x1:0x1:_0x114b06<_0x771b29?-0x1:0x1;});for(const _0x24be49 of _0x23add3)_0x24be49[_0x19cd('0x12a')]((_0x2c1a17,_0x2f43d5)=>_0x2c1a17['id']<_0x2f43d5['id']?-0x1:0x1);}();for(let _0x4189c4=0x0;_0x4189c4<_0x23add3[_0x19cd('0x158')];_0x4189c4++){if(0x0==_0x23add3[_0x4189c4][_0x19cd('0x158')])continue;const _0x298631=[];for(let _0x1d07be=_0x4189c4+0x1;_0x1d07be<_0x23add3[_0x19cd('0x158')];_0x1d07be++)0x0!=_0x23add3[_0x1d07be][_0x19cd('0x158')]&&_0x1f1410(_0x23add3[_0x4189c4],_0x23add3[_0x1d07be])&&_0x298631[_0x19cd('0x4')](_0x1d07be);for(const _0x6e56bc of _0x298631)_0x23add3[_0x4189c4]=_0x23add3[_0x4189c4][_0x19cd('0x8c')](_0x23add3[_0x6e56bc]),_0x23add3[_0x6e56bc]=[];}for(const _0x11775a of _0x23add3)for(let _0x3e640d=0x0;_0x3e640d<_0x11775a[_0x19cd('0x158')];_0x3e640d++)_0x11775a[_0x3e640d][_0x19cd('0x9b')]=_0x11775a[_0x3e640d+0x1]||null;for(const _0x141462 of _0x23add3)for(let _0x4cb5ea=0x0;_0x4cb5ea<_0x141462[_0x19cd('0x158')];_0x4cb5ea++)_0x141462[_0x4cb5ea][_0x19cd('0x67')]=_0x141462[_0x4cb5ea-0x1]||null;function _0x1f1410(_0x490176,_0x10e7f4){if(_0x490176[0x0][_0x19cd('0x56')]['groupId']!==_0x10e7f4[0x0]['attributes']['groupId']&&_0x490176[0x0][_0x19cd('0x8f')]!==_0x10e7f4[0x0][_0x19cd('0x8f')])return!0x1;if(!function(_0x575273,_0x680903){if(!_0x575273[_0x19cd('0x6a')]&&!_0x680903['hasComments'])return!0x0;if(_0x575273[_0x19cd('0x6a')]&&_0x680903[_0x19cd('0x6a')])return!0x1;if(_0x575273[_0x19cd('0x6a')]&&_0x680903['createdAt']<_0x575273[_0x19cd('0x8d')][_0x19cd('0x146')][_0x19cd('0xd7')](0x0)['createdAt'])return!0x0;if(_0x680903['hasComments']&&_0x575273[_0x19cd('0x53')]<_0x680903[_0x19cd('0x8d')]['comments'][_0x19cd('0xd7')](0x0)[_0x19cd('0x53')])return!0x0;return!0x1;}(_0x490176[0x0],_0x10e7f4[0x0]))return!0x1;const _0x1e20c5=_0x39f2a8(_0x490176[0x0]['attributes'],_0x19cd('0x134')),_0x23561a=_0x39f2a8(_0x10e7f4[0x0][_0x19cd('0x56')],'groupId');if(!_0x5acd85(_0x1e20c5,_0x23561a))return!0x1;return!!_0x490176[_0x19cd('0x144')](_0x56a9a4=>_0x10e7f4[_0x19cd('0x9d')](_0x19ad4d=>_0x56a9a4[_0x19cd('0x5b')]()[_0x19cd('0x9c')](_0x19ad4d[_0x19cd('0x5b')]())))&&_0x10e7f4[_0x19cd('0x144')](_0x11edd0=>_0x490176[_0x19cd('0x9d')](_0x123341=>_0x11edd0['getFirstRange']()[_0x19cd('0x9c')](_0x123341[_0x19cd('0x5b')]())));}}[_0x19cd('0x132')](_0x3c4651){const _0x554aad=Array[_0x19cd('0x5f')](_0x3c4651),_0x96cd05=this[_0x19cd('0x105')]({'skipNotAttached':!0x0}),_0x1406e9=_0x96cd05[_0x19cd('0x94')](_0x396e63=>!_0x3c4651[_0x19cd('0x7f')](_0x396e63)),_0x16a289=new Map(_0x554aad[_0x19cd('0x125')](_0x1a0780=>[_0x1a0780,this[_0x19cd('0xdf')][_0x19cd('0x6')](_0x1a0780[_0x19cd('0x4e')],_0x1a0780[_0x19cd('0x36')],'join')])),_0x41bdbb=new Map(_0x96cd05[_0x19cd('0x125')](_0x53b981=>[_0x53b981,_0x53b981['getRanges']()]));for(let _0x1be99b=0x0;_0x1be99b<_0x554aad[_0x19cd('0x158')];_0x1be99b++){if(_0x3a0532(this,_0x554aad[_0x1be99b],_0x554aad,_0x1be99b+0x1))return!0x0;}for(let _0x29beca=0x0;_0x29beca<_0x554aad['length'];_0x29beca++){if(_0x3a0532(this,_0x554aad[_0x29beca],_0x1406e9,0x0))return!0x0;}return!0x1;function _0x3a0532(_0x57b224,_0x35b41a,_0x103f4b,_0x36bdaf){for(let _0x89a3fb=_0x36bdaf;_0x89a3fb<_0x103f4b[_0x19cd('0x158')];_0x89a3fb++){const _0x49a99d=_0x103f4b[_0x89a3fb];if(_0x49a99d[_0x19cd('0x4e')]!==_0x35b41a[_0x19cd('0x4e')]||_0x49a99d[_0x19cd('0x8f')]['id']!==_0x35b41a[_0x19cd('0x8f')]['id']||_0x49a99d[_0x19cd('0x36')]!==_0x35b41a[_0x19cd('0x36')])continue;if(!Ft(_0x35b41a,_0x49a99d,[_0x19cd('0x134')]))continue;if(_0x19cd('0xa6')==_0x35b41a[_0x19cd('0x4e')]&&_0x35b41a[_0x19cd('0x48')]['oldValue']!=_0x49a99d['data'][_0x19cd('0xe7')])continue;if(_0x19cd('0xa6')==_0x35b41a[_0x19cd('0x4e')]&&_0x57b224[_0x19cd('0x34')](_0x35b41a[_0x19cd('0x48')][_0x19cd('0xb1')]))continue;if(_0x19cd('0xd9')==_0x35b41a[_0x19cd('0x4e')]){const _0x13e3cb=_0x57b224['editor'][_0x19cd('0x13c')],_0x3cbaa5=_0x35b41a['getContainedElement']();if(_0x3cbaa5&&(_0x13e3cb['schema'][_0x19cd('0x75')](_0x3cbaa5)||_0x13e3cb[_0x19cd('0x60')][_0x19cd('0xe9')](_0x3cbaa5)))continue;}const _0x5ecaaf=_0x16a289[_0x19cd('0xd7')](_0x35b41a),_0x51259f=_0x41bdbb['get'](_0x35b41a),_0xcdf0a6=_0x41bdbb[_0x19cd('0xd7')](_0x49a99d),_0x47438c=_0x35b41a['commentThread']&&_0x35b41a['commentThread'][_0x19cd('0x158')],_0x47aa1c=_0x49a99d[_0x19cd('0x8d')]&&_0x49a99d[_0x19cd('0x8d')][_0x19cd('0x158')];if(!_0x47438c&&_0x5ecaaf(_0xcdf0a6,_0x51259f))return _0x57b224[_0x19cd('0x4c')](_0x49a99d,_0x35b41a),_0x41bdbb[_0x19cd('0x11f')](_0x35b41a),!0x0;if(!_0x47aa1c&&_0x5ecaaf(_0x51259f,_0xcdf0a6))return _0x57b224[_0x19cd('0x4c')](_0x35b41a,_0x49a99d),_0x41bdbb[_0x19cd('0x11f')](_0x49a99d),!0x0;}return!0x1;}}[_0x19cd('0x4c')](_0x3c1cde,_0x6875d7){if(_0x3c1cde[_0x19cd('0x32')])for(const _0x263c5a of _0x6875d7[_0x19cd('0x76')]())_0x3c1cde[_0x19cd('0x1')](_0x263c5a);else{const _0x42ccaf=_0x6875d7[_0x19cd('0x5b')]()[_0x19cd('0x172')];this[_0x19cd('0x99')](_0x3c1cde,this['_model'][_0x19cd('0xef')](_0x3c1cde['getFirstRange']()[_0x19cd('0x4f')],_0x42ccaf));}_0x6875d7['removeMarkers']();}[_0x19cd('0xd6')](_0xaa4d27,_0x481fd0){const _0x8fdfbf=_0xaa4d27[_0x19cd('0xde')](_0x19cd('0xe'))||_0xaa4d27['startsWith']('attribute')?'FORMATTING':_0xaa4d27['toUpperCase']();return _0x4e3a96(this[_0x19cd('0x14')][_0x19cd('0x7d')],_0x481fd0+'_'+_0x8fdfbf+_0x19cd('0x97'));}[_0x19cd('0x3e')](){const _0x2b0bde=this[_0x19cd('0x14')];_0x526c68(this[_0x19cd('0xdc')],({left:_0x42331c,entered:_0x2418d4})=>{const _0x25c148=[];for(const _0x37eac7 of _0x42331c){const {group:_0x5f2a0d,type:_0x32ab27}=this['_splitMarkerName'](_0x37eac7[_0x19cd('0x168')]);if(_0x19cd('0x71')===_0x5f2a0d){_0x25c148[_0x19cd('0x4')](this['_getMarkerAnnouncementText'](_0x32ab27,_0x19cd('0x73')));break;}}for(const _0x2ee40e of _0x2418d4){const {group:_0x14db7d,type:_0x5c42af}=this[_0x19cd('0x15d')](_0x2ee40e[_0x19cd('0x168')]);if(_0x19cd('0x71')===_0x14db7d){_0x25c148[_0x19cd('0x4')](this['_getMarkerAnnouncementText'](_0x5c42af,_0x19cd('0xb8')));break;}}_0x25c148[_0x19cd('0x158')]&&_0x2b0bde['ui'][_0x19cd('0x155')][_0x19cd('0x169')](_0x19cd('0x7'),_0x25c148['join']('\x20'));});}[_0x19cd('0xea')](_0x2c51b9){if(this[_0x19cd('0x3b')])return!0x1;const _0x27868d=this[_0x19cd('0x14')],_0xa4c51c=_0x27868d[_0x19cd('0x13c')][_0x19cd('0x7a')]['differ'][_0x19cd('0xa7')]();if(0x0==_0xa4c51c[_0x19cd('0x158')])return!0x1;const _0x161d88=[],_0xb65ac8=_0xa4c51c[_0x19cd('0x94')](_0x19e384=>_0x19cd('0xa6')==_0x19e384[_0x19cd('0x4e')]),_0xbf4496=_0xa4c51c[_0x19cd('0x94')](_0x497769=>_0x19cd('0x11a')==_0x497769['type']&&_0x19cd('0x14b')!=_0x497769[_0x19cd('0x168')]),_0x3a24a6=_0xa4c51c['filter'](_0x51fbd3=>_0x19cd('0x95')==_0x51fbd3[_0x19cd('0x4e')]&&_0x19cd('0x14b')!=_0x51fbd3[_0x19cd('0x168')]);for(const _0xc22487 of _0xb65ac8)_0x161d88[_0x19cd('0x4')]({'key':_0xc22487['attributeKey'],'newValue':_0xc22487[_0x19cd('0x108')],'oldValue':_0xc22487[_0x19cd('0xb0')],'range':Ut(_0xc22487[_0x19cd('0x115')],_0x27868d[_0x19cd('0x13c')])});for(const _0x107516 of _0xbf4496){const _0x3e1a0b=_0x3a24a6[_0x19cd('0x52')](_0x5524c7=>_0x5524c7['position'][_0x19cd('0x9c')](_0x107516[_0x19cd('0x45')]));_0x3e1a0b&&_0x161d88[_0x19cd('0x4')]({'key':_0x19cd('0x78'),'newValue':_0x107516[_0x19cd('0x168')],'oldValue':_0x3e1a0b[_0x19cd('0x168')],'range':_0x27868d[_0x19cd('0x13c')][_0x19cd('0x102')](_0x107516[_0x19cd('0x45')][_0x19cd('0xe2')])});}return 0x0!=_0x161d88[_0x19cd('0x158')]&&this[_0x19cd('0x13b')](_0x2c51b9,_0x161d88);}[_0x19cd('0x121')](_0x520811){let _0x62d816=!0x1;const _0x412ff9=this[_0x19cd('0x14')][_0x19cd('0x13c')][_0x19cd('0x7a')]['differ'][_0x19cd('0xec')]()[_0x19cd('0x94')](_0x114e21=>_0x114e21[_0x19cd('0x48')][_0x19cd('0x86')]&&_0x114e21[_0x19cd('0x168')][_0x19cd('0xde')]('suggestion:attribute:'));for(const _0x702ed4 of _0x412ff9){const {subType:_0x257f47,id:_0x29c22b}=this[_0x19cd('0x15d')](_0x702ed4['name']),_0x4d3e8c=_0x257f47[_0x19cd('0x64')]('|')[0x0];for(const _0x264f7c of this[_0x19cd('0x105')]({'skipNotAttached':!0x0}))_0x264f7c['id']!=_0x29c22b&&'attribute'==_0x264f7c[_0x19cd('0x4e')]&&_0x264f7c[_0x19cd('0x48')]&&_0x264f7c[_0x19cd('0x48')]['key']==_0x4d3e8c&&_0x264f7c[_0x19cd('0x5b')]()[_0x19cd('0xbb')](_0x702ed4[_0x19cd('0x48')]['newRange'])&&(this[_0x19cd('0x15a')](_0x264f7c,_0x702ed4[_0x19cd('0x48')][_0x19cd('0x86')],_0x520811),_0x62d816=!0x0);}return _0x62d816;}[_0x19cd('0x89')](_0x123f56){this[_0x19cd('0x14')],(this[_0x19cd('0x3b')]=!0x0,_0x123f56());}[_0x19cd('0x87')](_0x2c4a8d){const _0x4cf6f8=this[_0x19cd('0x34')](_0x2c4a8d),_0x207dd0=this[_0x19cd('0x93')][_0x19cd('0x7f')](_0x2c4a8d);return _0x4cf6f8||_0x207dd0;}[_0x19cd('0x13b')](_0x1ae7af,_0x112c83){if(0x0==_0x112c83[_0x19cd('0x158')])return!0x1;let _0x2d3d01=!0x1;for(const _0x20a4cd of _0x112c83){const _0x12e347=this[_0x19cd('0x9f')](_0x20a4cd[_0x19cd('0x115')],_0x19cd('0xa6'))['filter'](_0x326cec=>!_0x326cec[_0x19cd('0xba')]['isNextTo'])[_0x19cd('0x125')](_0x52777d=>_0x52777d['suggestion']),_0x99026b=_0x120711({'newValue':_0x20a4cd[_0x19cd('0x70')]});_0x12e347[_0x19cd('0x94')](_0x3efb8d=>{const [_0x678687,_0x7a1d34]=_0x3efb8d['subType'][_0x19cd('0x64')]('|');return _0x678687==_0x20a4cd[_0x19cd('0xb1')]&&_0x7a1d34!=_0x99026b;})['forEach'](_0x2d0798=>{this[_0x19cd('0x15a')](_0x2d0798,_0x20a4cd[_0x19cd('0x115')],_0x1ae7af),_0x2d3d01=!0x0;});}return _0x2d3d01;}[_0x19cd('0x15a')](_0x1005cd,_0x3c762c,_0x432a09){const _0x4f10dd=_0x1005cd[_0x19cd('0x5b')]()[_0x19cd('0x11d')](_0x3c762c);0x0!==_0x4f10dd[_0x19cd('0x158')]?0x1!==_0x4f10dd[_0x19cd('0x158')]?this[_0x19cd('0x2a')](_0x1005cd,_0x3c762c[_0x19cd('0x4f')],_0x3c762c['end']):this[_0x19cd('0x99')](_0x1005cd,_0x4f10dd[0x0]):_0x432a09[_0x19cd('0x62')](_0x1005cd[_0x19cd('0x109')]());}}class Bt{constructor(_0x4f4b40){this[_0x19cd('0x33')]=_0x4f4b40,this['_model']=_0x4f4b40[_0x19cd('0x13c')],this[_0x19cd('0x10b')]=new Map(),this['_defaultCallbacks']=new Map(),this[_0x19cd('0x164')]();}[_0x19cd('0xf6')](_0x31b595,_0x17b937,_0x5ed320,_0x42532a,_0x182e74,_0x2efe86){return new _0xf9ee21(this[_0x19cd('0xdc')],{'type':_0x31b595,'subType':_0x17b937,'id':_0x5ed320,'author':_0x42532a,'creator':_0x42532a,'attributes':_0x182e74,'onAttributesChange':_0x2efe86,'onAccept':(..._0x56eb62)=>this[_0x19cd('0x6')](_0x31b595,_0x17b937,_0x19cd('0x10d'))(..._0x56eb62),'onDiscard':(..._0x4618ff)=>this[_0x19cd('0x6')](_0x31b595,_0x17b937,_0x19cd('0x18'))(..._0x4618ff)});}[_0x19cd('0x117')](_0x371589,_0x2f6306,_0x2f5e6a,_0x29003a){const _0x13b4d5=_0x371589+':'+_0x2f6306+':'+_0x2f5e6a;this[_0x19cd('0x10b')][_0x19cd('0x174')](_0x13b4d5,_0x29003a);}['getSuggestionCallback'](_0x58d307,_0xc1ab6a,_0x49582d){const _0x134ab5=_0x58d307+':'+_0xc1ab6a+':'+_0x49582d;return this[_0x19cd('0x10b')][_0x19cd('0xd7')](_0x134ab5)||this[_0x19cd('0xda')][_0x19cd('0xd7')](_0x58d307+':'+_0x49582d);}['_registerDefaultCallbacks'](){const _0x273d75=()=>!0x1,_0x53ed8f=_0x500d36=>{_0x500d36[_0x19cd('0x12a')]((_0x4ca1cc,_0x1bb3bc)=>_0x4ca1cc[_0x19cd('0x4f')][_0x19cd('0x7c')](_0x1bb3bc[_0x19cd('0x4f')])?0x1:-0x1),this[_0x19cd('0xdc')][_0x19cd('0xdd')](_0x5e75d5=>{for(const _0x4ecc31 of _0x500d36){let _0x2b17cd;_0x2b17cd=_0x4ecc31['end'][_0x19cd('0xae')]&&_0x4ecc31['end'][_0x19cd('0x66')]==_0x4ecc31['start'][_0x19cd('0xe2')]?_0x5e75d5[_0x19cd('0xfe')](_0x4ecc31['start']['nodeAfter'],'on'):_0x5e75d5[_0x19cd('0xfe')](_0x4ecc31),this['_model']['deleteContent'](_0x2b17cd,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x365f10=(_0x13ff93,_0x5ac283)=>{_0x5ac283&&this[_0x19cd('0xdc')]['change'](_0x407f25=>{const {commandName:_0x294085,commandParams:_0x338cf1=[]}=_0x5ac283,_0x51d396=_0x13ff93['map'](_0x47181f=>(Rt(_0x47181f)&&(_0x47181f=this[_0x19cd('0xdc')][_0x19cd('0xef')](_0x47181f[_0x19cd('0x172')])),_0x47181f))[_0x19cd('0x94')](_0x3b7ee3=>'$graveyard'!==_0x3b7ee3['root']['rootName']);if(_0x51d396[_0x19cd('0x158')]<0x1)return;const _0x5f3684=Array['from'](this[_0x19cd('0xdc')][_0x19cd('0x7a')]['selection'][_0x19cd('0x76')]())[_0x19cd('0x125')](_0x2f17ac=>_0xb00d8d['fromRange'](_0x2f17ac));_0x407f25[_0x19cd('0x19')](_0x51d396);for(const _0x415a6b of this[_0x19cd('0x33')][_0x19cd('0x50')][_0x19cd('0x50')]())_0x415a6b[_0x19cd('0xd8')]();_0x338cf1[_0x19cd('0x4')]({'forceDefaultExecution':!0x0}),this[_0x19cd('0x33')][_0x19cd('0x46')](_0x294085,..._0x338cf1);const _0x2c0695=_0x5f3684[_0x19cd('0x94')](_0x3db4ca=>_0x19cd('0x16')!=_0x3db4ca[_0x19cd('0x14a')][_0x19cd('0x7b')]);_0x2c0695[_0x19cd('0x158')]>0x0&&_0x407f25['setSelection'](_0x2c0695);for(const _0xd0c57b of _0x5f3684)_0xd0c57b[_0x19cd('0x5d')]();});},_0x54e600=(_0x15c336,_0x26de6f)=>0x1==_0x15c336[_0x19cd('0x158')]&&0x1==_0x26de6f[_0x19cd('0x158')]&&_0x15c336[0x0][_0x19cd('0x172')][_0x19cd('0x9c')](_0x26de6f[0x0]['start']),_0x195d86=(_0x267510,_0x24cae1,_0x3d9e2f,_0x11e00c)=>Gt(_0x267510,_0x24cae1,_0x3d9e2f,_0x11e00c,this[_0x19cd('0xdc')])?[_0x267510,_0x24cae1]:Gt(_0x24cae1,_0x267510,_0x11e00c,_0x3d9e2f,this[_0x19cd('0xdc')])?[_0x24cae1,_0x267510]:null;this[_0x19cd('0xda')][_0x19cd('0x174')](_0x19cd('0x9e'),_0x273d75),this[_0x19cd('0xda')]['set'](_0x19cd('0x15b'),_0x53ed8f),this[_0x19cd('0xda')][_0x19cd('0x174')](_0x19cd('0x162'),_0x54e600),this['_defaultCallbacks'][_0x19cd('0x174')](_0x19cd('0xf4'),_0x195d86),this[_0x19cd('0xda')][_0x19cd('0x174')](_0x19cd('0x6f'),_0x53ed8f),this[_0x19cd('0xda')][_0x19cd('0x174')](_0x19cd('0x63'),_0x273d75),this[_0x19cd('0xda')][_0x19cd('0x174')](_0x19cd('0x57'),_0x54e600),this[_0x19cd('0xda')][_0x19cd('0x174')]('deletion:chain',_0x195d86),this[_0x19cd('0xda')]['set']('formatInline:accept',_0x365f10),this[_0x19cd('0xda')][_0x19cd('0x174')]('formatInline:discard',_0x273d75),this[_0x19cd('0xda')]['set']('formatInline:join',_0x54e600),this[_0x19cd('0xda')][_0x19cd('0x174')](_0x19cd('0xf3'),_0x273d75),this[_0x19cd('0xda')][_0x19cd('0x174')]('formatBlock:accept',_0x365f10),this[_0x19cd('0xda')][_0x19cd('0x174')](_0x19cd('0x161'),_0x273d75),this[_0x19cd('0xda')][_0x19cd('0x174')](_0x19cd('0xe4'),_0x54e600),this[_0x19cd('0xda')][_0x19cd('0x174')]('formatBlock:chain',_0x273d75),this['_defaultCallbacks'][_0x19cd('0x174')](_0x19cd('0x92'),_0x273d75),this[_0x19cd('0xda')][_0x19cd('0x174')](_0x19cd('0x6d'),(_0x1a5174,_0x3c3cdf)=>{if(!_0x3c3cdf)return;const _0x3be5c1=this[_0x19cd('0x33')][_0x19cd('0x128')][_0x19cd('0xd7')](p);this[_0x19cd('0xdc')]['change'](_0x3604e0=>{if(_0x19cd('0x78')==_0x3c3cdf[_0x19cd('0xb1')])for(const _0xe0010c of _0x1a5174){const _0x6be9ab=_0xe0010c[_0x19cd('0x4f')]['nodeAfter'],_0x5c87b9=_0x3c3cdf[_0x19cd('0xe7')];_0x3604e0[_0x19cd('0x140')](_0x6be9ab,_0x5c87b9);}else{if(_0x3be5c1[_0x19cd('0x34')](_0x3c3cdf[_0x19cd('0xb1')]))for(const _0x6b9b86 of _0x1a5174)void 0x0!==_0x3c3cdf[_0x19cd('0xe7')]?_0x3604e0[_0x19cd('0x82')](_0x3c3cdf[_0x19cd('0xb1')],_0x3c3cdf['oldValue'],_0x6b9b86['start'][_0x19cd('0xe2')]):_0x3604e0['removeAttribute'](_0x3c3cdf['key'],_0x6b9b86[_0x19cd('0x4f')]['nodeAfter']);else for(const _0x1fc6c1 of _0x1a5174)_0x3c3cdf[_0x19cd('0xe7')]?_0x3604e0['setAttribute'](_0x3c3cdf[_0x19cd('0xb1')],_0x3c3cdf['oldValue'],_0x1fc6c1):_0x3604e0[_0x19cd('0x137')](_0x3c3cdf['key'],_0x1fc6c1);}});}),this['_defaultCallbacks'][_0x19cd('0x174')](_0x19cd('0x6b'),_0x54e600);}}function xt(_0x5a407b,_0x43ce6c,_0x36361b){for(const _0x59070a of _0x43ce6c[_0x19cd('0x66')][_0x19cd('0xfb')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x59070a['root']==_0x59070a)return!0x1;if(!_0x36361b[_0x19cd('0x107')](_0x59070a))return!0x1;if(_0x5a407b[_0x19cd('0x75')](_0x59070a)||_0x5a407b[_0x19cd('0xe9')](_0x59070a))return!0x0;}return!0x1;}function Rt(_0x4ec49a){return _0x4ec49a[_0x19cd('0x172')][_0x19cd('0x66')]==_0x4ec49a[_0x19cd('0x4f')][_0x19cd('0xe2')]&&_0x4ec49a['end'][_0x19cd('0xbe')];}function Tt(_0x55e66d,_0xc3bcb,_0x1bf88,_0x2d8f41){const _0x1bd6ce=_0x201101=>!_0x201101[_0x19cd('0x41')]['is']('$textProxy')&&!_0x2d8f41[_0x19cd('0x75')](_0x201101[_0x19cd('0x41')]),_0x4a324f=_0x55e66d[_0x19cd('0x4f')][_0x19cd('0xff')](_0x1bd6ce),_0x27e580=_0x55e66d[_0x19cd('0x172')][_0x19cd('0xff')](_0x1bd6ce,{'direction':_0x19cd('0xa1')});return(!_0x55e66d[_0x19cd('0x4f')][_0x19cd('0x9c')](_0x4a324f)||!_0x55e66d['end']['isEqual'](_0x27e580))&&(_0x4a324f[_0x19cd('0x7c')](_0x27e580)?_0x1bf88['updateMarker'](_0xc3bcb,{'range':_0x1bf88[_0x19cd('0xef')](_0x4a324f,_0x27e580)}):_0x1bf88[_0x19cd('0x62')](_0xc3bcb),!0x0);}function Et(_0x3c9237){return _0x120711(_0x3c9237);}function Vt(_0x2651f0){const _0x466654=_0x2651f0[_0x19cd('0x4f')][_0x19cd('0xe2')];return _0x466654&&_0x466654['is'](_0x19cd('0xb7'));}function Ut(_0xccd826,_0x387208){return null==_0xccd826[_0x19cd('0x172')]['nodeBefore']&&_0xccd826['end'][_0x19cd('0x66')]==_0xccd826['start'][_0x19cd('0xe2')]?Ot(_0xccd826[_0x19cd('0x4f')]['nodeAfter'],_0x387208):_0xccd826;}function Ot(_0xc48831,_0x1000b7){const _0x5b88ac=_0x1000b7['schema'][_0x19cd('0x75')](_0xc48831)||_0x1000b7[_0x19cd('0x60')][_0x19cd('0x26')](_0xc48831);return _0x1000b7[_0x19cd('0xef')](_0x1000b7[_0x19cd('0x110')](_0xc48831,_0x19cd('0xc0')),_0x5b88ac?_0x1000b7[_0x19cd('0x0')](_0xc48831):_0x1000b7[_0x19cd('0x110')](_0xc48831,_0x19cd('0x172')));}function Gt(_0xadf958,_0x2200d7,_0x1719fd,_0x25f5c5,_0x106ff1){if(!Ft(_0xadf958,_0x2200d7))return!0x1;if(_0x1719fd[_0x19cd('0x172')][_0x19cd('0x9c')](_0x25f5c5[_0x19cd('0x4f')]))return!0x0;if(_0xadf958[_0x19cd('0x4e')]!=_0x2200d7[_0x19cd('0x4e')])return!0x1;if(!_0x1719fd['end'][_0x19cd('0x61')](_0x25f5c5[_0x19cd('0x4f')]))return!0x1;const _0x503aa1=_0x106ff1[_0x19cd('0xef')](_0x1719fd[_0x19cd('0x172')],_0x25f5c5[_0x19cd('0x4f')])[_0x19cd('0x69')]();for(const _0x1dec1c of _0x503aa1)if([_0x19cd('0x5'),_0x19cd('0xfa')][_0x19cd('0xc9')](_0x1dec1c[_0x19cd('0x4e')])&&_0x106ff1[_0x19cd('0x60')][_0x19cd('0xe9')](_0x1dec1c[_0x19cd('0x41')]))return!0x1;return!0x0;}function Ft(_0x187078,_0xc7a29f,_0x1c2247=[]){return!(!_0x187078[_0x19cd('0x14e')]||!_0xc7a29f[_0x19cd('0x14e')])&&_0x5acd85(_0x39f2a8(_0x187078[_0x19cd('0x56')],_0x1c2247),_0x39f2a8(_0xc7a29f['attributes'],_0x1c2247));}function Pt(_0x22d1f0,_0x502212){const _0x32934a=Lt(_0x22d1f0[_0x19cd('0x56')]),_0x346aee=Lt(_0x502212);if(!_0x22d1f0['_isDataLoaded'])return!0x1;for(const _0x4ec701 of Object[_0x19cd('0x1d')](_0x346aee))if(!_0x5acd85(_0x32934a[_0x4ec701],_0x346aee[_0x4ec701]))return!0x1;return!0x0;}function Lt(_0x5b981a){const _0x2f130c=Object['assign']({},_0x5b981a);return delete _0x2f130c[_0x19cd('0x136')],delete _0x2f130c['tablePasteChainId'],_0x2f130c;}
23
+ const _0x31f0=['insertion:chain','elementToElement','registerPostFixer','getAttribute','enqueueChange','change:data','registerCustomCallback','keys','editing','announce','elementStart','_addSuggestionMarker','createPositionAfter','clone','isIntersectingWithRange','ck-suggestion-marker','track-changes-suggestion-not-found','markInlineFormat','open','markerName','accepted','error-saving-suggestion-data-suggestion-discarded','filter','value','ariaLiveAnnouncer','formatGroupId','documentSelection','groupId','removeAttribute','external:','isMultiRange','dataReady','_processAttributeChanges','backward','change','setAttribute','define','_rangeIsInLocalUserInsertion','markers','_recordAttributeChanges','getChangedMarkers','size','forceDefaultExecution','end','markerReady','_refreshSuggestionsChain','toUpperCase','suggestion-type','addMarkerName','_reduceSuggestionAttributeRange','stop','plugins','isUndo','_model','_registerDefaultCallbacks','_SUGGESTION_ANNOUNCEMENT','ENTER','assign','notReady','_reduceExistingSuggestions','every','insertion','@external','_updateSuggestionData','_refreshAttributeSuggestionsChain','toViewElement','track-changes-enable-command-twice','getCustomProperty','author','normal','adapter','isBefore','ck-suggestion-marker--active','parent','push','formatBlock:','_defaultCallbacks','activeMarkers','addClass','hasSuggestion','previous','widget','_editor','_inlineAttributeKeys','sort','newValue','acceptSuggestion','_setSuggestionRange','formatInline:accept','length','_findSuggestions','consume','nodeBefore','PENDING_ACTION_SUGGESTION','formatInline:','_joinSuggestions','isObject','getUser','lowest','_createSuggestion','trackChanges.mergeNestedSuggestions','acceptAllSuggestions','selection','rename','editor','_registerInlineAttribute','nodeAfter','_isDataLoaded','attribute','discardSuggestion','formatBlock:chain','attribute:accept','createRange','attribute:discard','getSuggestion','addMarker:suggestion','find','removeMarker:suggestion:formatBlock','enableReadOnlyMode','low','isArray','item','includes','multipleBlocks','pluginName','attribute:join','addCommentThread','getNearestSelectionRange','element','pop','originalSuggestionId','suggestionLoaded','concat','_onDiscard','isLocal','editingDowncast','_element','formatInline','formatBlock','_getMarkerAnnouncementText','targetPosition','moveTargetPosition','commands','ready','startsWith','oldValue','isIntersecting','markerToHighlight','suggestion','ck-suggestion-marker-formatBlock','schema','forEach','type','comments','isOwn','differ','dataDowncast','track-changes-suggestion-data-mismatch','detach','createElement','hasCommentThread','authoredAt','high','requires','getFirstRange','_breakSuggestionMarker','hasComments','change:activeMarkers','start','fetchCommentThread','commandName','_isRegisteredAttribute','trackChanges.trackFormatChanges','getContainedElement','from','addSuggestionData','markDeletion','rootName','formatBlock:accept','insertion:join','remove','getRange','_afterChanges','marker-count','update:suggestion','addSuggestion','commentThread','createRangeOn','discardAllSuggestions','isNextTo','after','setSelection','attributeOldValue','newRange','trackChangesCommand','get','howMany','execute','warn','add','$text','_addThreadToSuggestion','toJSON','attributeKey','markMultiRangeInsertion','_isBlockAttribute','_descriptionFactory','splice','attribute:','then','_trackFormatChanges','addMarker','removeMarkers','isCollapsed','key','values','Users','_getAttributeKey','formatInline:chain','collaboration.channelId','accept','range','listenTo','markInsertion','substr','locale','_recordAttributeSuggestions','dataToMarker','$textProxy','getCommentThread','oldRange','_saved','init','discardSelectedSuggestions','acceptSelectedSuggestions','isEqual','name','showSuggestionHighlights','PendingActions','_setSuggestionData','document','skipNestingCheck','addHighlight','suggestion:','track-changes-adapter-already-set','unbind','insertion:','getSuggestions','writer','getMultiRangeId','_mergeNestedSuggestions','createSelection','enableCommand','_splitMarkerName','meta','chain','isLimit','authorName','updateMarker','stopListening','containsPosition','ck-suggestion-marker-','next','_suggestionState','addMarker:suggestion:formatBlock','createdAt','group','data-suggestion','discard','deletion:join','getDifference','getLastMatchingPosition','_checkSuggestionCorrectness','root','$elementName','rejected','unbindElementFromMarkerName','insert','batch','has','forward','setTo','_enabledCommands','map','suggestionChanged','position','fromCharCode','containsRangeInObject','getMarkers','isInContent','highest','formatBlock:join','getItems','deletion:discard','_adapter','TrackChangesEditing','CommentsRepository','split','$graveyard','track-changes-user-not-found','join','_getExternalAuthor','attributes','conversion','trackChanges','markerNameToElements','_getSuggestionData','containsRange','never','formatBlock:discard','_suggestions','set','isBlock','splitPosition','deletion','_blockAttributeKeys','LEAVE','isRemovable','refresh','addMarker:suggestion:attribute','_handleNewSuggestionMarker','upcast','attributeNewValue','unshift','isSelectable','_getAuthorFromId','deletion:chain','change:_saved','markAttributeChange','addRange','_commentsRepository','markerToData','config','consumable','multi','creator','formatInline:join','model','createRangeIn','options','createPositionAt','isAfter','insertContent','addComment','fire','markMultiRangeBlockFormat','data','_initAriaMarkerChangeAnnouncements','_processAttributeSuggestions','removed','getSuggestionCallback','suggestionUnloaded','_customCallbacks','removeMarker','isInsideObject','containsItem','catch','mapper','_cutOutSuggestionMarker','_isForcedDefaultExecutionBlock','subType','buildSuggestion','for','getIntersection','delete','insertion:accept','move','_suggestionFactory','markMultiRangeDeletion','_enableDefaultAttributesIntegration','isAtEnd','createPositionBefore','_joinWithAdjacentSuggestions','getRanges','getFirstMarker','some'];(function(_0x1a70fe,_0x31f05a){const _0xe890c8=function(_0x4a4c48){while(--_0x4a4c48){_0x1a70fe['push'](_0x1a70fe['shift']());}};_0xe890c8(++_0x31f05a);}(_0x31f0,0xd3));const _0xe890=function(_0x1a70fe,_0x31f05a){_0x1a70fe=_0x1a70fe-0x0;let _0xe890c8=_0x31f0[_0x1a70fe];return _0xe890c8;};import{Plugin as _0x3e2ad0,PendingActions as _0x12a87c}from'ckeditor5/src/core.js';import{LiveRange as _0x18b498}from'ckeditor5/src/engine.js';import{CKEditorError as _0xbc78f4,uid as _0x2b5717,priorities as _0x4f924a,logWarning as _0x574527}from'ckeditor5/src/utils.js';import{toWidget as _0xea1d20}from'ckeditor5/src/widget.js';import{Users as _0x5cf480,hashObject as _0x41b42f,surroundingMarkersDetector as _0x44a11e}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x7ef34d from'./commands/trackchangescommand.js';import _0x1d532c from'./commands/acceptsuggestioncommand.js';import _0x4e7149 from'./commands/discardsuggestioncommand.js';import _0x4db7ee from'./commands/executeonallsuggestionscommand.js';import _0x49525e from'./commands/executeonselectedsuggestionscommand.js';import _0x12f222 from'./suggestion.js';import _0x1548f1 from'./suggestiondescriptionfactory.js';import _0x5d560f from'./integrations/aiassistant.js';import _0x4d9a36 from'./integrations/alignment.js';import _0x3de25f from'./integrations/basicstyles.js';import _0x52a100 from'./integrations/blockquote.js';import _0x207d67 from'./integrations/casechange.js';import _0x5c79e6 from'./integrations/ckbox.js';import _0x333cfe from'./integrations/codeblock.js';import _0x448481 from'./integrations/comments.js';import _0x28cb64 from'./integrations/deletecommand.js';import _0x502175 from'./integrations/list.js';import _0x55fbb1 from'./integrations/listproperties.js';import _0x43b1e2 from'./integrations/entercommand.js';import _0x225daa from'./integrations/findandreplace.js';import _0x327f6b from'./integrations/font.js';import _0x3cd245 from'./integrations/formatpainter.js';import _0x40c147 from'./integrations/heading.js';import _0x4646d6 from'./integrations/highlight.js';import _0x184363 from'./integrations/horizontalline.js';import _0x12e705 from'./integrations/htmlembed.js';import _0x3a93c9 from'./integrations/image.js';import _0x167645 from'./integrations/imagereplace.js';import _0x2e5e26 from'./integrations/imagestyle.js';import _0x218d1b from'./integrations/importword.js';import _0x2e4c01 from'./integrations/indent.js';import _0x1a9660 from'./integrations/inputcommand.js';import _0xc3802d from'./integrations/link.js';import _0x23d10d from'./integrations/legacylist.js';import _0xefc9c0 from'./integrations/legacylistproperties.js';import _0x385819 from'./integrations/mediaembed.js';import _0x3064ab from'./integrations/mention.js';import _0x515d3f from'./integrations/pagebreak.js';import _0x571316 from'./integrations/paragraph.js';import _0x387596 from'./integrations/removeformat.js';import _0xcc47ad from'./integrations/restrictededitingmode.js';import _0x17a69b from'./integrations/shiftentercommand.js';import _0x3a49d5 from'./integrations/standardeditingmode.js';import _0x31a67a from'./integrations/style.js';import _0x5762d2 from'./integrations/table.js';import _0x54618a from'./integrations/tablemergesplit.js';import _0x1939f6 from'./integrations/tableheadings.js';import _0x3b9783 from'./integrations/tableclipboard.js';import _0xc4b6fe from'./integrations/tablecolumnresize.js';import _0x255328 from'./integrations/template.js';import _0x26e38e from'./integrations/tableofcontents.js';import _0x11a2d4 from'./integrations/title.js';import _0x3354cd from'./integrations/undo.js';import _0x32894c from'./integrations/tablecaption.js';import _0x410e5c from'./integrations/tableproperties.js';import{getTranslation as _0x4f156c}from'./utils/common-translations.js';import{isEqual as _0x2cbfc1,omit as _0x10c2db}from'lodash-es';export const renameAttributeKey=_0xe890('0x3f');export default class p extends _0x3e2ad0{static get[_0xe890('0x148')](){return['CommentsRepository',_0x5cf480,_0x12a87c,_0x5d560f,_0x4d9a36,_0x3de25f,_0x52a100,_0x5c79e6,_0x207d67,_0x333cfe,_0x448481,_0x28cb64,_0x43b1e2,_0x225daa,_0x327f6b,_0x3cd245,_0x40c147,_0x4646d6,_0x184363,_0x12e705,_0x3a93c9,_0x2e5e26,_0x167645,_0x218d1b,_0x2e4c01,_0x1a9660,_0x23d10d,_0xefc9c0,_0xc3802d,_0x502175,_0x55fbb1,_0x385819,_0x3064ab,_0x515d3f,_0x571316,_0x387596,_0xcc47ad,_0x17a69b,_0x3a49d5,_0x31a67a,_0x5762d2,_0x54618a,_0x1939f6,_0x32894c,_0x3b9783,_0xc4b6fe,_0x26e38e,_0x410e5c,_0x255328,_0x11a2d4,_0x3354cd];}static get[_0xe890('0x121')](){return _0xe890('0x54');}constructor(_0x354a67){function _0x4bbf9b(_0x4e8f21){return _0x4e8f21[_0xe890('0x48')](_0x5fdb56=>String[_0xe890('0x4b')](_0x5fdb56))[_0xe890('0x59')]('');}super(_0x354a67),this['_recordAttributeSuggestions']=!0x1,this['set']('activeMarkers',[]),this['on'](_0xe890('0x14c'),(_0x465f1f,_0x1c25ec,_0x3f022b,_0x321138)=>{this[_0xe890('0xda')][_0xe890('0xc7')](()=>{for(const _0x342da1 of[..._0x321138,..._0x3f022b])this['_model'][_0xe890('0xcb')]['has'](_0x342da1)&&_0x354a67[_0xe890('0xad')]['reconvertMarker'](_0x342da1);});}),this[_0xe890('0x173')]=new _0x1548f1(this[_0xe890('0x10d')][_0xe890('0x7e')][_0xe890('0x13b')],this[_0xe890('0x10d')][_0xe890('0xe')]),this[_0xe890('0x53')]=null,this[_0xe890('0x9c')]=new Bt(this[_0xe890('0x10d')]),this[_0xe890('0x63')]=new Map(),this[_0xe890('0x77')]=_0x354a67[_0xe890('0xd8')][_0xe890('0x168')](_0xe890('0x55')),this[_0xe890('0x47')]=new Set(),this['_model']=this[_0xe890('0x10d')]['model'],this[_0xe890('0x34')]=new WeakMap(),this[_0xe890('0x94')]=!0x1,this[_0xe890('0x68')]=new Set([_0xe890('0x3f')]),this[_0xe890('0xf8')]=new Set(),_0x354a67[_0xe890('0x79')][_0xe890('0xc9')](_0xe890('0x151'),'default'),this[_0xe890('0x177')]=_0x354a67['config'][_0xe890('0x168')](_0xe890('0x151')),_0x354a67['config'][_0xe890('0xc9')](_0xe890('0x109'),!0x0),this[_0xe890('0x27')]=_0x354a67[_0xe890('0x79')][_0xe890('0x168')](_0xe890('0x109')),this[_0xe890('0x167')]=new _0x7ef34d(_0x354a67,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements'](),this[_0x4bbf9b([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x4bbf9b([0x34,0x30,0x34,0x38,0x30,0x32,0x36,0x30]);}[_0xe890('0x15')](){const _0x3bffe9=this[_0xe890('0x10d')],_0x3152cb=(_0x2d17c7,_0x48e822)=>{if(_0xe890('0x111')!=_0x2d17c7)return _0xe890('0x32')+_0x2d17c7;const _0x447635=_0x48e822['split']('|')[0x0];return this[_0xe890('0x172')](_0x447635)?_0xe890('0x13a'):'ck-suggestion-marker-formatInline';};_0x3bffe9['conversion'][_0xe890('0x97')](_0xe890('0x12c'))[_0xe890('0x138')]({'model':_0xe890('0x139'),'view':_0x1a4b59=>{const {id:_0x428143,type:_0x37b0c2,subType:_0x54fe1b}=this[_0xe890('0x2a')](_0x1a4b59['markerName']),_0x183554=[_0xe890('0xb4'),_0x3152cb(_0x37b0c2,_0x54fe1b)];let _0x3cbeb4=0xbb8;return this[_0xe890('0xf2')][_0xe890('0x11f')](_0x1a4b59[_0xe890('0xb8')])&&(_0x183554[_0xe890('0xef')]('ck-suggestion-marker--active'),_0x3cbeb4=0xbc2),'deletion'==_0x37b0c2&&(_0x3cbeb4+=0x5),{'classes':_0x183554,'attributes':{'data-suggestion':_0x428143},'priority':_0x3cbeb4};}}),_0x3bffe9[_0xe890('0x5c')][_0xe890('0x97')](_0xe890('0x141'))[_0xe890('0x16c')](_0x3c3e4e=>{_0x3c3e4e['on'](_0xe890('0x118'),(_0x5ae2d7,_0x4c55cf,_0x336ee0)=>{if(!_0x336ee0['options']['showSuggestionHighlights'])return;const _0x1f2243=_0x4c55cf[_0xe890('0x11e')];if(!_0x1f2243)return;const _0x339dfa=_0x336ee0[_0xe890('0x92')][_0xe890('0xe6')](_0x1f2243);_0x3bffe9[_0xe890('0x7e')][_0xe890('0x13b')][_0xe890('0x105')](_0x1f2243)&&_0x339dfa&&!_0x339dfa[_0xe890('0xe8')](_0xe890('0xf6'))&&_0x339dfa['is']('containerElement')&&_0xea1d20(_0x339dfa,_0x336ee0[_0xe890('0x25')]);},{'priority':'high'});}),_0x3bffe9[_0xe890('0x5c')]['for'](_0xe890('0x141'))['markerToHighlight']({'model':_0xe890('0x139'),'view':(_0x34265b,_0x7b9d9f)=>{if(!_0x7b9d9f[_0xe890('0x80')]['showSuggestionHighlights'])return null;const {type:_0x57b34f,subType:_0xd68248}=this['_splitMarkerName'](_0x34265b[_0xe890('0xb8')]);return{'classes':[_0xe890('0xb4'),_0x3152cb(_0x57b34f,_0xd68248)],'priority':0xbb8};}});const _0x36e17b=({showActiveMarkers:_0x55f6e5=!0x0,isAttributeSuggestion:_0x2f359d=!0x1}={})=>(_0x3ab227,_0x47944e,_0x541e76)=>{if(!_0x47944e['item'])return;const {id:_0x73b83d}=this[_0xe890('0x2a')](_0x47944e[_0xe890('0xb8')]);if(_0x2f359d){const _0x25cb32=this[_0xe890('0x63')]['get'](_0x73b83d),_0x533910=this[_0xe890('0x6')](_0x25cb32);if(!this[_0xe890('0x172')](_0x533910))return;}if(_0x47944e['item']['is']('selection'))return void _0x541e76[_0xe890('0x7a')][_0xe890('0x100')](_0x47944e[_0xe890('0x11e')],_0x3ab227[_0xe890('0x19')]);const _0x238fb9=_0x541e76[_0xe890('0x92')]['toViewElement'](_0x47944e['item']);if(_0x47944e['item']['is']('element')&&_0x3bffe9[_0xe890('0x7e')][_0xe890('0x13b')][_0xe890('0x65')](_0x47944e[_0xe890('0x11e')])&&!_0x238fb9['getCustomProperty']('addHighlight')){_0x541e76[_0xe890('0x25')][_0xe890('0xf3')](['ck-suggestion-marker',_0xe890('0x13a')],_0x238fb9),_0x541e76['writer'][_0xe890('0xc8')](_0xe890('0x38'),_0x73b83d,_0x238fb9),_0x541e76[_0xe890('0x92')]['bindElementToMarker'](_0x238fb9,_0x47944e[_0xe890('0xb8')]),_0x55f6e5&&(this[_0xe890('0xf2')][_0xe890('0x11f')](_0x47944e['markerName'])?_0x541e76[_0xe890('0x25')]['addClass']('ck-suggestion-marker--active',_0x238fb9):_0x541e76[_0xe890('0x25')]['removeClass']('ck-suggestion-marker--active',_0x238fb9));for(const _0x11be17 of _0x3bffe9['model'][_0xe890('0x7f')](_0x47944e[_0xe890('0x11e')])[_0xe890('0x51')]())_0x541e76[_0xe890('0x7a')][_0xe890('0x100')](_0x11be17,_0x3ab227[_0xe890('0x19')]);_0x541e76[_0xe890('0x7a')][_0xe890('0x100')](_0x47944e['item'],_0x3ab227[_0xe890('0x19')]);}};_0x3bffe9[_0xe890('0x5c')][_0xe890('0x97')]('dataDowncast')[_0xe890('0x16c')](_0x156547=>{_0x156547['on']('addMarker:suggestion:formatBlock',(_0x373908,_0x23fc48,_0x39016e)=>{_0x39016e[_0xe890('0x80')]['showSuggestionHighlights']&&_0x36e17b({'showActiveMarkers':!0x1})(_0x373908,_0x23fc48,_0x39016e);},{'priority':_0xe890('0x4f')});}),_0x3bffe9[_0xe890('0x5c')][_0xe890('0x97')](_0xe890('0x141'))[_0xe890('0x16c')](_0x5b0dc0=>{_0x5b0dc0['on'](_0xe890('0x6c'),(_0x2d55c6,_0x564aa5,_0x817a79)=>{_0x817a79[_0xe890('0x80')][_0xe890('0x1a')]&&_0x36e17b({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x2d55c6,_0x564aa5,_0x817a79);},{'priority':_0xe890('0x4f')});}),_0x3bffe9[_0xe890('0x5c')]['for'](_0xe890('0x141'))[_0xe890('0x78')]({'model':_0xe890('0x139'),'view':(_0x3342c2,_0x4d9aa5)=>_0x4d9aa5[_0xe890('0x80')][_0xe890('0x1a')]?null:{'group':'suggestion','name':_0x3342c2[_0xe890('0xd')](0xb)}}),_0x3bffe9['conversion']['for'](_0xe890('0x6e'))[_0xe890('0xa6')]({'view':{'name':_0xe890('0x139'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x45beff,{writer:_0x594e9c})=>{let _0x1e208b=_0xe890('0x20')+_0x45beff[_0xe890('0xa8')](_0xe890('0xd4'))+':'+_0x45beff[_0xe890('0xa8')]('id');return _0x45beff['getAttribute'](_0xe890('0x15c'))&&(_0x1e208b+=':'+_0x45beff['getAttribute'](_0xe890('0x15c'))),_0x594e9c[_0xe890('0x144')]('$marker',{'data-name':_0x1e208b});}}),_0x3bffe9[_0xe890('0x5c')][_0xe890('0x97')](_0xe890('0x6e'))[_0xe890('0x10')]({'view':_0xe890('0x139')}),_0x3bffe9['conversion'][_0xe890('0x97')](_0xe890('0x12c'))['add'](_0x33dde4=>{_0x33dde4['on'](_0xe890('0x35'),_0x36e17b(),{'priority':_0xe890('0x147')});}),_0x3bffe9[_0xe890('0x5c')]['for']('editingDowncast')[_0xe890('0x16c')](_0x17aa8b=>{_0x17aa8b['on'](_0xe890('0x6c'),_0x36e17b({'isAttributeSuggestion':!0x0}),{'priority':'high'});}),_0x3bffe9[_0xe890('0x5c')][_0xe890('0x97')](_0xe890('0x12c'))[_0xe890('0x16c')](_0x264dba=>{_0x264dba['on'](_0xe890('0x11a'),(_0x4802c3,_0x4b9b9d,_0x3d9845)=>{const _0x5bb20c=_0x3d9845[_0xe890('0x92')][_0xe890('0x5e')](_0x4b9b9d['markerName']);if(_0x5bb20c)for(const _0x3ad20e of _0x5bb20c)_0x3ad20e[_0xe890('0xe8')](_0xe890('0x1f'))||(_0x3d9845[_0xe890('0x25')]['removeClass']([_0xe890('0xb4'),_0xe890('0x13a'),_0xe890('0xed')],_0x3ad20e),_0x3d9845['writer']['removeAttribute'](_0xe890('0x38'),_0x3ad20e),_0x3d9845[_0xe890('0x92')][_0xe890('0x41')](_0x3ad20e,_0x4b9b9d[_0xe890('0xb8')]));},{'priority':_0xe890('0x147')});}),_0x3bffe9[_0xe890('0x5c')][_0xe890('0x97')](_0xe890('0x12c'))[_0xe890('0x16c')](_0x5c4953=>{_0x5c4953['on']('removeMarker:suggestion:attribute',(_0x46ee9b,_0x458ea0,_0x2ce3b3)=>{const _0x517831=_0x2ce3b3[_0xe890('0x92')][_0xe890('0x5e')](_0x458ea0[_0xe890('0xb8')]);if(!_0x517831)return;const {id:_0x12c656}=this[_0xe890('0x2a')](_0x458ea0[_0xe890('0xb8')]),_0x4737c0=this['_suggestions'][_0xe890('0x168')](_0x12c656),_0x4a8dd0=this[_0xe890('0x6')](_0x4737c0);if(this[_0xe890('0x172')](_0x4a8dd0))for(const _0xb7e638 of _0x517831)_0xb7e638[_0xe890('0xe8')]('addHighlight')||(_0x2ce3b3['writer']['removeClass']([_0xe890('0xb4'),_0xe890('0x13a'),_0xe890('0xed')],_0xb7e638),_0x2ce3b3[_0xe890('0x25')]['removeAttribute'](_0xe890('0x38'),_0xb7e638),_0x2ce3b3[_0xe890('0x92')][_0xe890('0x41')](_0xb7e638,_0x458ea0[_0xe890('0xb8')]));},{'priority':_0xe890('0x147')});}),_0x3bffe9[_0xe890('0x7e')][_0xe890('0x1d')][_0xe890('0xa7')](_0x47d772=>{let _0x42140f=!0x1;const _0x23de4e=Array[_0xe890('0x153')](_0x3bffe9[_0xe890('0x7e')][_0xe890('0x1d')][_0xe890('0x140')][_0xe890('0xcd')]()),_0x552856=new Set();for(const {name:_0x3ea544,data:_0x1e4d2d}of _0x23de4e){const {group:_0x17f150,type:_0x2180da,subType:_0x417e5a,id:_0x7b996}=this[_0xe890('0x2a')](_0x3ea544);if(_0xe890('0x139')!==_0x17f150)continue;const _0x154713=this[_0xe890('0x63')][_0xe890('0x168')](_0x7b996);if(null!=_0x1e4d2d['newRange']){_0xe890('0x12e')==_0x2180da&&(_0x42140f=_0x42140f||Tt(_0x1e4d2d[_0xe890('0x166')],_0x3ea544,_0x47d772,_0x3bffe9[_0xe890('0x7e')][_0xe890('0x13b')]));const _0x151426=_0xe890('0x111')==_0x2180da&&this['_isBlockAttribute'](_0x417e5a[_0xe890('0x56')]('|')[0x0]);if(_0x1e4d2d[_0xe890('0x166')][_0xe890('0x2')]||_0xe890('0x57')==_0x1e4d2d['newRange'][_0xe890('0x3e')]['rootName']||_0xe890('0x12f')==_0x2180da&&!Vt(_0x1e4d2d[_0xe890('0x166')])||_0x151426&&!Vt(_0x1e4d2d[_0xe890('0x166')])||'deletion'==_0x2180da&&!(!Rt(_0x346688=_0x1e4d2d[_0xe890('0x166')])&&!function(_0x2aa595){return _0x2aa595['start'][_0xe890('0xee')]==_0x2aa595[_0xe890('0xd0')][_0xe890('0x101')]&&_0x2aa595[_0xe890('0x14d')][_0xe890('0x9f')];}(_0x346688)))_0x47d772[_0xe890('0x8e')](_0x3ea544),_0x42140f=!0x0;else{if(!_0x154713||!_0x154713[_0xe890('0x4e')])continue;_0x552856[_0xe890('0x16c')](_0x154713);}}}var _0x346688;return _0x552856['size']>0x0&&(_0x42140f=!!this[_0xe890('0xa1')](_0x552856)||_0x42140f),_0x42140f;}),_0x3bffe9[_0xe890('0x7e')][_0xe890('0x1d')][_0xe890('0xa7')](_0x545817=>{let _0x3dd201=!0x1;for(const _0x5f2fe1 of _0x3bffe9['model']['document'][_0xe890('0x140')]['getChanges']())if('insert'==_0x5f2fe1[_0xe890('0x13d')])for(const _0x58e3b1 of this['_suggestions'][_0xe890('0x4')]()){if(_0x58e3b1[_0xe890('0xc3')]||!_0x58e3b1[_0xe890('0x4e')])continue;const _0x8f8f23=_0xe890('0x12f')==_0x58e3b1[_0xe890('0x13d')],_0x32fc97=this[_0xe890('0x6')](_0x58e3b1),_0xf89a6d=_0x32fc97&&this[_0xe890('0x172')](_0x32fc97);if(!_0x8f8f23&&!_0xf89a6d)continue;const _0x40c579=_0x58e3b1[_0xe890('0x149')]();if(_0x40c579[_0xe890('0x14d')][_0xe890('0xee')]!=_0x40c579[_0xe890('0xd0')][_0xe890('0xee')]&&!_0x40c579[_0xe890('0xd0')]['isAtEnd']){const _0x1ba8ee=_0x3bffe9[_0xe890('0x7e')][_0xe890('0x81')](_0x40c579['start']['nodeAfter'],_0xe890('0xd0')),_0xe4292f=_0x3bffe9['model']['createRange'](_0x40c579['start'],_0x1ba8ee);_0x545817[_0xe890('0x2f')](_0x58e3b1[_0xe890('0xa3')](),{'range':_0xe4292f}),_0x3dd201=!0x0;}}return _0x3dd201;}),_0x3bffe9['model'][_0xe890('0x1d')]['registerPostFixer'](_0x527a9b=>this[_0xe890('0xc5')](_0x527a9b)),_0x3bffe9[_0xe890('0x7e')][_0xe890('0x1d')][_0xe890('0xa7')](_0x220c05=>!_0x220c05[_0xe890('0x43')][_0xe890('0x12b')]&&this['_processAttributeSuggestions'](_0x220c05)),_0x3bffe9[_0xe890('0x7e')]['on'](_0xe890('0x15b'),()=>{this[_0xe890('0xf')]=!0x1;}),_0x3bffe9[_0xe890('0x7e')]['document']['on'](_0xe890('0xaa'),(_0x25db0c,_0x321cf5)=>{if(!_0x321cf5[_0xe890('0x12b')]||_0x321cf5['isUndo'])return;if(!this[_0xe890('0xf')])return;const _0x2e6e71=_0x3bffe9['model']['document'][_0xe890('0x140')]['getChanges']();if(0x0==_0x2e6e71[_0xe890('0xfe')])return;const _0x53cd56=[],_0x1134fb=_0x2e6e71['filter'](_0x5b5a71=>'attribute'==_0x5b5a71[_0xe890('0x13d')]),_0x1feb89=_0x2e6e71[_0xe890('0xbb')](_0x28badc=>_0xe890('0x42')==_0x28badc[_0xe890('0x13d')]&&_0xe890('0x16d')!=_0x28badc[_0xe890('0x19')]),_0x26424b=_0x2e6e71[_0xe890('0xbb')](_0x1e8c32=>'remove'==_0x1e8c32[_0xe890('0x13d')]&&_0xe890('0x16d')!=_0x1e8c32['name']);for(const _0x3cc2f4 of _0x1134fb)this[_0xe890('0x150')](_0x3cc2f4[_0xe890('0x170')])&&_0x53cd56[_0xe890('0xef')]({'key':_0x3cc2f4['attributeKey'],'newValue':_0x3cc2f4[_0xe890('0x6f')],'oldValue':_0x3cc2f4[_0xe890('0x165')],'range':Ut(_0x3cc2f4[_0xe890('0xa')],_0x3bffe9[_0xe890('0x7e')])});for(const _0x3ef418 of _0x1feb89){const _0x272fd4=_0x26424b[_0xe890('0x119')](_0x248b5d=>_0x248b5d[_0xe890('0x12d')]===_0x3ef418[_0xe890('0x12d')]);if(_0x272fd4){const _0x212338=Ot(_0x3ef418[_0xe890('0x4a')][_0xe890('0x10f')],_0x3bffe9['model']);_0x272fd4[_0xe890('0x19')]!==_0x3ef418[_0xe890('0x19')]&&_0x53cd56[_0xe890('0xef')]({'key':'$elementName','newValue':_0x3ef418['name'],'oldValue':_0x272fd4['name'],'range':_0x212338});for(const [_0x32193b,_0x2d4436]of _0x272fd4[_0xe890('0x5b')]){if(!this[_0xe890('0x150')](_0x32193b))continue;const _0x91d296=_0x3ef418[_0xe890('0x5b')][_0xe890('0x168')](_0x32193b);_0x2d4436!==_0x91d296&&_0x53cd56['push']({'key':_0x32193b,'newValue':_0x91d296,'oldValue':_0x2d4436,'range':_0x212338});}for(const [_0x1db1b9,_0x54275f]of _0x3ef418['attributes'])this['_isRegisteredAttribute'](_0x1db1b9)&&(_0x272fd4[_0xe890('0x5b')]['has'](_0x1db1b9)||_0x53cd56[_0xe890('0xef')]({'key':_0x1db1b9,'newValue':_0x54275f,'oldValue':null,'range':_0x212338}));}}0x0!=_0x53cd56[_0xe890('0xfe')]&&_0x3bffe9[_0xe890('0x7e')][_0xe890('0xa9')](_0x321cf5,_0x1cb3bd=>{const _0x41681d=_0x2b5717();for(const {range:_0x52a676,key:_0x750990,oldValue:_0x1aca74,newValue:_0x96ac25}of _0x53cd56)this['markAttributeChange'](_0x52a676,_0x750990,_0x1aca74,_0x96ac25,{'groupId':_0x41681d});this[_0xe890('0xe0')](_0x1cb3bd,_0x53cd56);});},{'priority':'lowest'}),_0x3bffe9[_0xe890('0x7e')][_0xe890('0xcb')]['on'](_0xe890('0x15d'),(_0x2d749d,_0x5ad7fa,_0x9a9ae2)=>{if(null==_0x9a9ae2){const {id:_0x1a1890}=this[_0xe890('0x2a')](_0x5ad7fa[_0xe890('0x19')]),_0x30cd18=this[_0xe890('0x63')][_0xe890('0x168')](_0x1a1890);_0x30cd18&&_0x30cd18[_0xe890('0xd5')](_0x5ad7fa[_0xe890('0x19')]);}}),_0x3bffe9['model']['document']['on']('change:data',()=>{const _0x55cd82=Array[_0xe890('0x153')](_0x3bffe9[_0xe890('0x7e')][_0xe890('0x1d')][_0xe890('0x140')][_0xe890('0xcd')]())[_0xe890('0xbb')](_0x352a39=>'suggestion'===this['_splitMarkerName'](_0x352a39['name'])[_0xe890('0x37')]);if(0x0===_0x55cd82[_0xe890('0xfe')])return;_0x55cd82[_0xe890('0xf9')]((_0xcce850,_0x2a25d3)=>{const _0x438e4a=_0xcce850[_0xe890('0x87')][_0xe890('0x13')],_0x30139d=_0x2a25d3[_0xe890('0x87')]['oldRange'];return null===_0x438e4a&&null===_0x30139d?0x0:null===_0x438e4a&&null!==_0x30139d?-0x1:null!==_0x438e4a&&null===_0x30139d?0x1:_0x438e4a[_0xe890('0x14d')][_0xe890('0xec')](_0x30139d[_0xe890('0x14d')])?-0x1:0x1;});const _0x4ac0d1=new Set(),_0x2d2b5c=new Set();for(const {name:_0x24485e,data:_0x2483a0}of _0x55cd82){const {id:_0x2307f9}=this[_0xe890('0x2a')](_0x24485e);if(null===_0x2483a0[_0xe890('0x13')]){const _0x229272=this['_handleNewSuggestionMarker'](_0x24485e);_0x2d2b5c[_0xe890('0x16c')](_0x229272);}else{const _0x207ff8=this['_suggestions'][_0xe890('0x168')](_0x2307f9);null!==_0x2483a0[_0xe890('0x166')]||_0x207ff8[_0xe890('0x4e')]?(_0x4ac0d1[_0xe890('0x16c')](_0x207ff8['head']),_0x2d2b5c[_0xe890('0x16c')](_0x207ff8)):this['_removeSuggestion'](_0x207ff8);}}_0x2d2b5c[_0xe890('0xce')]>0x0&&this[_0xe890('0xd2')](_0x2d2b5c);for(const _0x6ed7e8 of _0x4ac0d1)this[_0xe890('0x85')](_0xe890('0x49'),_0x6ed7e8);}),_0x3bffe9[_0xe890('0x7e')]['on']('applyOperation',(_0x59efbe,_0x3bf47c)=>{const _0x38726e=_0x3bf47c[0x0];if(!this[_0xe890('0x63')][_0xe890('0xce')])return;if(!_0x38726e['isDocumentOperation'])return;if(_0x38726e['batch'][_0xe890('0xd9')]||!_0x38726e[_0xe890('0x43')][_0xe890('0x12b')])return;let _0x530e96,_0xc85a9a;switch(_0x38726e[_0xe890('0x13d')]){case _0xe890('0x42'):_0x530e96=_0x3bffe9[_0xe890('0x7e')]['createPositionAt'](_0x38726e['position']),_0xc85a9a=_0x530e96['getShiftedBy'](_0x38726e[_0xe890('0x169')]);break;case _0xe890('0x56'):_0x530e96=_0x3bffe9[_0xe890('0x7e')][_0xe890('0x81')](_0x38726e[_0xe890('0x66')]),_0xc85a9a=_0x3bffe9['model'][_0xe890('0x81')](_0x38726e[_0xe890('0x132')]);break;case _0xe890('0x9b'):_0x530e96=_0x3bffe9[_0xe890('0x7e')]['createPositionAt'](_0x38726e[_0xe890('0x131')]),_0xc85a9a=_0x530e96['getShiftedBy'](_0x38726e['howMany']);break;default:return;}const _0x3e6cba=_0x3bffe9[_0xe890('0x7e')][_0xe890('0x115')](_0x530e96,_0xc85a9a);_0x3bffe9[_0xe890('0x7e')][_0xe890('0xc7')](()=>{for(const {suggestion:_0x17bee4,meta:_0x538df3}of this['_findSuggestions'](_0x3e6cba)){if(_0x17bee4['isMultiRange'])continue;if(_0xe890('0x12e')==_0x17bee4['type'])continue;const _0x42e76f=this[_0xe890('0x6')](_0x17bee4);if(_0x42e76f&&this[_0xe890('0x172')](_0x42e76f)&&_0xe890('0x56')!=_0x38726e[_0xe890('0x13d')])continue;const _0x264973=_0x17bee4[_0xe890('0x87')]&&_0x17bee4[_0xe890('0x87')][_0xe890('0x120')];(_0xe890('0x12f')!=_0x17bee4[_0xe890('0x13d')]||_0xe890('0x56')==_0x38726e[_0xe890('0x13d')]&&!_0x264973)&&(_0x538df3['containsRangeInObject']||_0xe890('0xe2')==_0x17bee4['type']&&_0x538df3[_0xe890('0x13f')]||_0x17bee4['getFirstRange']()['containsRange'](_0x3e6cba)&&this['_breakSuggestionMarker'](_0x17bee4,_0x530e96,_0xc85a9a));}});},{'priority':_0xe890('0x107')}),_0x3bffe9[_0xe890('0x7e')]['on']('deleteContent',(_0x130918,_0x2004fc)=>{const _0x5dcaff=_0x2004fc[0x0],_0x1bd058=_0x2004fc[0x1];if(_0x1bd058&&_0x1bd058[_0xe890('0xcf')])return;if(this[_0xe890('0x94')])return;if(!this[_0xe890('0x167')][_0xe890('0xbc')])return;if(_0x5dcaff[_0xe890('0x2')])return;const _0x505e49=_0x3bffe9[_0xe890('0x7e')][_0xe890('0x13b')],{start:_0x14c259,end:_0x4ff98d}=_0x5dcaff[_0xe890('0x149')](),_0x14236f=_0x14c259[_0xe890('0x10f')]&&_0x505e49[_0xe890('0x2d')](_0x14c259['nodeAfter'])?null:_0x505e49[_0xe890('0x124')](_0x14c259,_0xe890('0x45')),_0x29b266=_0x4ff98d[_0xe890('0x101')]&&_0x505e49[_0xe890('0x2d')](_0x4ff98d[_0xe890('0x101')])?null:_0x505e49[_0xe890('0x124')](_0x4ff98d,_0xe890('0xc6')),_0x5c80a1=_0x3bffe9[_0xe890('0x7e')][_0xe890('0x115')](_0x14236f?_0x14236f[_0xe890('0x14d')]:_0x14c259,_0x29b266?_0x29b266[_0xe890('0xd0')]:_0x4ff98d);_0x3bffe9[_0xe890('0x7e')][_0xe890('0xc7')](_0x459cb1=>{this[_0xe890('0x155')](_0x5c80a1);const _0x214c7a=_0x3bffe9[_0xe890('0x7e')][_0xe890('0x13b')][_0xe890('0x124')](_0x5c80a1[_0xe890('0x14d')]);_0x5dcaff['is'](_0xe890('0xbf'))?_0x459cb1[_0xe890('0x164')](_0x214c7a):_0x5dcaff[_0xe890('0x46')](_0x214c7a);}),_0x130918[_0xe890('0xd7')]();},{'priority':_0x4f924a[_0xe890('0xea')]+0xa}),_0x3bffe9[_0xe890('0x7e')]['on'](_0xe890('0x83'),(_0x1044cf,_0x489332)=>{const _0x3f39f9=_0x489332[_0x489332[_0xe890('0xfe')]-0x1];_0x3f39f9&&_0x3f39f9[_0xe890('0xcf')]||this[_0xe890('0x94')]||this['trackChangesCommand'][_0xe890('0xbc')]&&(_0x3bffe9[_0xe890('0x7e')][_0xe890('0xc7')](()=>{let _0x1d0138=_0x3bffe9[_0xe890('0x7e')][_0xe890('0x83')](_0x489332[0x0],_0x489332[0x1],_0x489332[0x2],{'forceDefaultExecution':!0x0});if(!_0x1d0138)return;_0x1044cf['return']=_0x1d0138[_0xe890('0xb2')]();const _0x7010c6=_0x1d0138['end']['nodeBefore'],_0x31ee26=_0x3bffe9[_0xe890('0x7e')]['schema'];_0x7010c6&&_0x31ee26[_0xe890('0x65')](_0x7010c6)&&!_0x31ee26['isObject'](_0x7010c6)&&(_0x1d0138=_0x3bffe9[_0xe890('0x7e')][_0xe890('0x115')](_0x1d0138['start'],_0x3bffe9[_0xe890('0x7e')]['createPositionAt'](_0x7010c6,_0xe890('0xd0')))),this[_0xe890('0xc')](_0x1d0138);}),_0x1044cf[_0xe890('0xd7')]());},{'priority':_0xe890('0x147')}),this[_0xe890('0x10d')][_0xe890('0x133')]['add']('trackChanges',this['trackChangesCommand']),this[_0xe890('0x29')](_0xe890('0x5d'));const _0xba6d98=new _0x1d532c(_0x3bffe9,this['_suggestions']);_0x3bffe9[_0xe890('0x133')]['add'](_0xe890('0xfb'),_0xba6d98),this[_0xe890('0x29')](_0xe890('0xfb'));const _0x2553c0=new _0x4e7149(_0x3bffe9,this[_0xe890('0x63')]);_0x3bffe9['commands']['add'](_0xe890('0x112'),_0x2553c0),this['enableCommand'](_0xe890('0x112')),_0x3bffe9['commands']['add'](_0xe890('0x10a'),new _0x4db7ee(_0x3bffe9,_0xba6d98,this[_0xe890('0x63')])),this[_0xe890('0x29')](_0xe890('0x10a')),_0x3bffe9['commands'][_0xe890('0x16c')](_0xe890('0x161'),new _0x4db7ee(_0x3bffe9,_0x2553c0,this[_0xe890('0x63')])),this[_0xe890('0x29')](_0xe890('0x161')),_0x3bffe9[_0xe890('0x133')]['add'](_0xe890('0x17'),new _0x49525e(_0x3bffe9,_0xba6d98,this[_0xe890('0x63')])),this[_0xe890('0x29')]('acceptSelectedSuggestions'),_0x3bffe9[_0xe890('0x133')]['add'](_0xe890('0x16'),new _0x49525e(_0x3bffe9,_0x2553c0,this[_0xe890('0x63')])),this[_0xe890('0x29')]('discardSelectedSuggestions');const _0x5bdbf4=_0x3bffe9[_0xe890('0xd8')]['get']('CommentsRepository');this['listenTo'](_0x5bdbf4,_0xe890('0x84'),(_0x4af4b5,{threadId:_0x26adc3})=>{const _0x28bfd2=this[_0xe890('0x63')][_0xe890('0x168')](_0x26adc3);_0x28bfd2&&_0x28bfd2[_0xe890('0x15f')]&&0x1===_0x28bfd2[_0xe890('0x15f')][_0xe890('0xfe')]&&this[_0xe890('0xe4')](_0x26adc3,{'hasComments':!0x0});},{'priority':_0xe890('0x11c')}),this[_0xe890('0xb')](_0x5bdbf4,'removeComment',(_0x3d1b54,{threadId:_0x273b3})=>{const _0x498aaa=this[_0xe890('0x63')][_0xe890('0x168')](_0x273b3);_0x498aaa&&_0x498aaa['commentThread']&&!_0x498aaa[_0xe890('0x15f')][_0xe890('0xfe')]&&this[_0xe890('0xe4')](_0x273b3,{'hasComments':!0x1});},{'priority':_0xe890('0x11c')});}set[_0xe890('0xeb')](_0x2b23c1){if(this[_0xe890('0x53')])throw new _0xbc78f4(_0xe890('0x21'),this);this[_0xe890('0x53')]=_0x2b23c1;}get['adapter'](){return this[_0xe890('0x53')];}[_0xe890('0x24')]({skipNotAttached:_0x3b5ad7=!0x1,toJSON:_0x292256=!0x1}={}){const _0x17de56=[];for(const _0x359390 of this[_0xe890('0x63')]['values']())_0x3b5ad7&&!_0x359390[_0xe890('0x4e')]||_0x17de56[_0xe890('0xef')](_0x359390);return _0x292256?_0x17de56[_0xe890('0x48')](_0x55d04f=>_0x55d04f[_0xe890('0x16f')]()):_0x17de56;}[_0xe890('0x117')](_0x17de4c){const _0x1296fc=this[_0xe890('0x63')][_0xe890('0x168')](_0x17de4c);if(!_0x1296fc)throw new _0xbc78f4(_0xe890('0xb5'),this);return _0x1296fc;}[_0xe890('0xf4')](_0x3f8bc0){return this[_0xe890('0x63')][_0xe890('0x44')](_0x3f8bc0);}[_0xe890('0x154')](_0x5c9015){const {authorId:_0x437cfa,id:_0x63efc4,attributes:_0x22da02}=_0x5c9015,[_0x59a6b6,_0x39d8d1]=_0x5c9015[_0xe890('0x13d')]['split'](':'),_0x202f3c=this[_0xe890('0x63')]['get'](_0x63efc4)||this['_createSuggestion'](_0x59a6b6,_0x39d8d1,_0x63efc4,_0x437cfa,_0x22da02);if(this['_addThreadToSuggestion'](_0x202f3c),this['_checkSuggestionCorrectness'](_0x202f3c,_0x59a6b6,_0x39d8d1||null,_0x437cfa),_0x202f3c[_0xe890('0x36')]=_0x5c9015[_0xe890('0x36')],_0x202f3c['_isDataLoaded']=!0x0,_0x22da02&&_0x22da02[_0xe890('0xe3')]){const _0x4d952d=_0x22da02[_0xe890('0xe3')],_0xae2bac=this[_0xe890('0x5a')](_0x4d952d[_0xe890('0x2e')]);_0x202f3c[_0xe890('0x146')]=_0x4d952d[_0xe890('0x36')],_0x202f3c[_0xe890('0xe9')]=_0xae2bac,_0x202f3c['isExternal']=!0x0;}else _0x202f3c[_0xe890('0x146')]=_0x5c9015[_0xe890('0x36')];switch(_0x5c9015[_0xe890('0x87')]&&(_0x202f3c[_0xe890('0x87')]=_0x5c9015[_0xe890('0x87')]),_0x5c9015[_0xe890('0x5b')]&&(_0x202f3c[_0xe890('0x5b')]=_0x5c9015['attributes']),this[_0xe890('0x53')]&&this[_0xe890('0x53')][_0xe890('0x15e')]||(_0x202f3c[_0xe890('0x14')]=!0x0),this[_0xe890('0x34')][_0xe890('0x168')](_0x202f3c)){case _0xe890('0xdf'):this[_0xe890('0x34')][_0xe890('0x64')](_0x202f3c,_0xe890('0xc4'));break;case _0xe890('0xd1'):_0x202f3c[_0xe890('0x4e')]?(this[_0xe890('0xa1')](new Set([_0x202f3c])),this[_0xe890('0xd2')](new Set([_0x202f3c])),this[_0xe890('0x34')][_0xe890('0x64')](_0x202f3c,_0xe890('0x134')),this['fire'](_0xe890('0x128'),_0x202f3c)):this[_0xe890('0x34')][_0xe890('0x64')](_0x202f3c,'removed');}return _0x202f3c;}['acceptSuggestion'](_0x35b5b5){this[_0xe890('0xcf')](()=>{this[_0xe890('0x10d')][_0xe890('0x7e')][_0xe890('0xc7')](()=>{for(const _0x2fa41d of _0x35b5b5['getAllAdjacentSuggestions']())_0x2fa41d[_0xe890('0x9')]();});});}[_0xe890('0x112')](_0x5de56b){this[_0xe890('0xcf')](()=>{this['editor'][_0xe890('0x7e')]['change'](()=>{for(const _0x2a01c0 of _0x5de56b['getAllAdjacentSuggestions']())_0x2a01c0[_0xe890('0x39')]();});});}[_0xe890('0x29')](_0x1eb30b,_0x20a877){const _0x2a9e3f=this['editor'][_0xe890('0x133')][_0xe890('0x168')](_0x1eb30b);if(!_0x2a9e3f)throw new _0xbc78f4('track-changes-command-not-found',this,{'commandName':_0x1eb30b});if(this['_enabledCommands']['has'](_0x2a9e3f))throw new _0xbc78f4(_0xe890('0xe7'),this,{'commandName':_0x1eb30b});this[_0xe890('0x47')][_0xe890('0x16c')](_0x2a9e3f),_0x20a877&&_0x2a9e3f['on'](_0xe890('0x16a'),(_0x1f6edf,_0x6bd1b5)=>{this['trackChangesCommand'][_0xe890('0xbc')]&&(this[_0xe890('0x94')]||(_0x6bd1b5['length']>0x0&&_0x6bd1b5[_0x6bd1b5[_0xe890('0xfe')]-0x1]&&_0x6bd1b5[_0x6bd1b5[_0xe890('0xfe')]-0x1][_0xe890('0xcf')]?_0x6bd1b5[_0xe890('0x126')]():(_0x1f6edf['return']=_0x20a877((..._0x35802f)=>_0x2a9e3f[_0xe890('0x16a')](..._0x35802f,{'forceDefaultExecution':!0x0}),..._0x6bd1b5),_0x1f6edf[_0xe890('0xd7')]())));},{'priority':_0xe890('0x147')});}[_0xe890('0xcf')](_0x256da6){let _0x81aec6,_0x44db84;const _0x1dea78=this[_0xe890('0x94')];this[_0xe890('0x94')]=!0x0;try{_0x81aec6=_0x256da6();}catch(_0x3e4776){_0x44db84=_0x3e4776;}return _0x1dea78||(this[_0xe890('0x94')]=!0x1),_0x44db84&&_0xbc78f4['rethrowUnexpectedError'](_0x44db84,this),_0x81aec6;}[_0xe890('0xc')](_0x531d53,_0x28cd77=null,_0x36120d={}){if(_0x531d53[_0xe890('0x2')])return null;const _0x3da305=this[_0xe890('0x10d')]['plugins'][_0xe890('0x168')](_0xe890('0x5'))['me'];for(const {suggestion:_0x31aab4,meta:_0x10163d}of this['_findSuggestions'](_0x531d53,_0xe890('0xe2')))if(_0x10163d[_0xe890('0x13f')]){if(!_0x10163d['isNextTo']){if(_0x10163d[_0xe890('0x4c')]){if(!this['_mergeNestedSuggestions']||!Pt(_0x31aab4,_0x36120d))continue;return _0x31aab4;}if(Pt(_0x31aab4,_0x36120d))return _0x31aab4;this[_0xe890('0x14a')](_0x31aab4,_0x531d53[_0xe890('0x14d')],_0x531d53[_0xe890('0xd0')]);break;}if(_0x28cd77==_0x31aab4[_0xe890('0x95')]&&Pt(_0x31aab4,_0x36120d)){const _0x203bff=_0x31aab4[_0xe890('0x149')]();return _0x203bff[_0xe890('0x14d')][_0xe890('0x18')](_0x531d53['end'])?this[_0xe890('0xfc')](_0x31aab4,this['_model'][_0xe890('0x115')](_0x531d53[_0xe890('0x14d')],_0x203bff[_0xe890('0xd0')])):this['_setSuggestionRange'](_0x31aab4,this['_model'][_0xe890('0x115')](_0x203bff[_0xe890('0x14d')],_0x531d53['end'])),_0x31aab4;}}const _0x596410=_0x2b5717(),_0x192a8a=_0x3da305['id'],_0x545715=_0x28cd77?_0xe890('0x23')+_0x28cd77:_0xe890('0xe2'),_0x39c264=this['_setSuggestionData']({'id':_0x596410,'type':_0x545715,'createdAt':new Date(),'authorId':_0x192a8a,'attributes':_0x36120d});return this[_0xe890('0xb0')](_0x545715,_0x596410,_0x192a8a,_0x531d53),_0x39c264;}[_0xe890('0x171')](_0x5b1a81,_0x35fff9='multi',_0xd1a861={}){const _0x514d59=this[_0xe890('0x10d')][_0xe890('0xd8')][_0xe890('0x168')](_0xe890('0x5'))['me'],_0x4afec4=this['_suggestionFactory'][_0xe890('0x8b')](_0xe890('0xe2'),_0x35fff9,_0xe890('0x59'));for(const _0x394c51 of this[_0xe890('0x24')]())if(_0x394c51[_0xe890('0xe9')]['id']==_0x514d59['id']&&_0xe890('0xe2')==_0x394c51[_0xe890('0x13d')]&&_0x394c51[_0xe890('0x95')]==_0x35fff9&&Pt(_0x394c51,_0xd1a861)&&(_0x4afec4(_0x394c51[_0xe890('0xa2')](),_0x5b1a81)||_0x4afec4(_0x5b1a81,_0x394c51[_0xe890('0xa2')]()))){for(const _0x229d34 of _0x5b1a81)_0x394c51[_0xe890('0x76')](_0x229d34);return _0x394c51;}for(const {suggestion:_0x2a113b,meta:_0x2af073}of this[_0xe890('0xff')](_0x5b1a81,_0xe890('0xe2'))){if(!_0x2af073[_0xe890('0x13f')])continue;if(!this[_0xe890('0x27')]&&_0x2af073[_0xe890('0x4c')])continue;if(!Pt(_0x2a113b,_0xd1a861))continue;let _0x14f655=!0x0;for(const _0x25b47f of _0x2a113b[_0xe890('0xa2')]())for(const _0x162eb6 of _0x5b1a81)if(!_0x25b47f[_0xe890('0x60')](_0x162eb6)){_0x14f655=!0x1;break;}if(_0x14f655)return _0x2a113b;}const _0x1b93a8=_0x2b5717(),_0x2ea633=_0x514d59['id'],_0x193419=_0xe890('0x23')+_0x35fff9,_0x4c89cb=this['_setSuggestionData']({'id':_0x1b93a8,'type':_0x193419,'createdAt':new Date(),'authorId':_0x2ea633,'attributes':_0xd1a861});for(const _0x48f213 of _0x5b1a81)this['_addSuggestionMarker'](_0x193419,_0x1b93a8,_0x2ea633,_0x48f213,_0x12f222['getMultiRangeId']());return _0x4c89cb;}[_0xe890('0xb6')](_0x1f3798,_0x3f2f12,_0x376f5c=null,_0x2c41a3={}){if(_0x376f5c=_0x376f5c||Et(_0x3f2f12),_0x1f3798[_0xe890('0x2')])return null;if(_0xe890('0x61')===this[_0xe890('0x177')]){const _0x106c44=this[_0xe890('0x9c')][_0xe890('0x8b')](_0xe890('0x12e'),_0x376f5c,'accept');return this['forceDefaultExecution'](()=>_0x106c44([_0x1f3798],_0x3f2f12,_0x2c41a3)),null;}const _0x414858=this[_0xe890('0x10d')]['plugins'][_0xe890('0x168')](_0xe890('0x5'))['me'],_0x435bf3=[];if('always'!==this[_0xe890('0x177')])for(const {suggestion:_0x3fc011,meta:_0x5336a6}of this[_0xe890('0xff')](_0x1f3798,_0xe890('0xe2')))_0x5336a6[_0xe890('0x13f')]&&!_0x5336a6[_0xe890('0x8f')]&&_0x435bf3[_0xe890('0xef')](..._0x3fc011['getRanges']());const _0xd0caea=function(_0x2ac6aa,_0x3bfe88){const _0x59c46f=[];for(const _0x13bbc4 of _0x3bfe88){const _0x12dbb9=_0x2ac6aa[_0xe890('0x98')](_0x13bbc4);_0x12dbb9&&_0x59c46f[_0xe890('0xef')](_0x12dbb9);}return _0x59c46f;}(_0x1f3798,_0x435bf3),_0x2b1ffc=function(_0x1e26ce,_0x231656){const _0x9630b=[_0x1e26ce];for(const _0x343430 of _0x231656){let _0x304af5=0x0;for(;_0x304af5<_0x9630b[_0xe890('0xfe')];){const _0x1dce42=_0x9630b[_0x304af5]['getDifference'](_0x343430);_0x9630b[_0xe890('0x174')](_0x304af5,0x1,..._0x1dce42),_0x304af5+=_0x1dce42[_0xe890('0xfe')];}}return _0x9630b;}(_0x1f3798,_0x435bf3);_0xd0caea['length']&&this[_0xe890('0xda')][_0xe890('0xc7')](()=>{for(const _0x2214e2 of _0xd0caea){const _0x44df51=this[_0xe890('0x9c')][_0xe890('0x8b')](_0xe890('0x12e'),_0x376f5c,'accept');this['forceDefaultExecution'](()=>_0x44df51([_0x2214e2],_0x3f2f12,_0x2c41a3));}});for(const _0x41d71c of _0x2b1ffc){let _0x34ced2=null,_0x338d3d=_0x41d71c['start'],_0x2fd312=_0x41d71c[_0xe890('0xd0')];for(const {suggestion:_0xd4ff8c,meta:_0x3038ce}of this[_0xe890('0xff')](_0x41d71c,_0xe890('0x12e'))){if(!_0x3038ce[_0xe890('0x13f')])continue;if(_0xd4ff8c[_0xe890('0x95')]!=_0x376f5c)continue;if(!Pt(_0xd4ff8c,_0x2c41a3))continue;const _0x528856=_0xd4ff8c[_0xe890('0x149')]();if(_0x528856['containsRange'](_0x41d71c,!0x0))return null;_0x338d3d=_0x338d3d[_0xe890('0xec')](_0x528856[_0xe890('0x14d')])?_0x338d3d:_0x528856[_0xe890('0x14d')],_0x2fd312=_0x2fd312[_0xe890('0x82')](_0x528856[_0xe890('0xd0')])?_0x2fd312:_0x528856[_0xe890('0xd0')],_0x34ced2?_0x528856['start'][_0xe890('0xec')](_0x34ced2['getFirstRange']()[_0xe890('0x14d')])?(_0x34ced2[_0xe890('0x1')](),_0x34ced2=_0xd4ff8c):_0xd4ff8c[_0xe890('0x1')]():_0x34ced2=_0xd4ff8c;}const _0x316082=this[_0xe890('0xda')][_0xe890('0x115')](_0x338d3d,_0x2fd312);if(_0x34ced2)this['_setSuggestionRange'](_0x34ced2,_0x316082);else{const _0x103577=_0x2b5717(),_0x513551=_0x414858['id'];this[_0xe890('0x1c')]({'id':_0x103577,'type':_0xe890('0x103')+_0x376f5c,'data':_0x3f2f12,'createdAt':new Date(),'authorId':_0x513551,'attributes':_0x2c41a3}),this[_0xe890('0xb0')](_0xe890('0x103')+_0x376f5c,_0x103577,_0x513551,_0x316082);}}return null;}['markBlockFormat'](_0x358377,_0x1824ff,_0x38582c=[],_0x4eb866=null,_0x3195e4={}){_0x1824ff['formatGroupId']||(_0x1824ff[_0xe890('0xbe')]=_0x1824ff[_0xe890('0x14f')]),_0x1824ff[_0xe890('0x120')]=_0x358377['is'](_0xe890('0xa')),_0x4eb866=_0x4eb866||Et(_0x1824ff);const _0x5cba0e=_0x38582c[_0xe890('0x48')](_0xf7db33=>Ot(_0xf7db33,this['_model'])),_0x1a0a09=_0x358377['is'](_0xe890('0xa'))?_0x358377:Ot(_0x358377,this[_0xe890('0xda')]);if(_0xe890('0x61')===this['_trackFormatChanges']){const _0x1e0a8d=this['_suggestionFactory'][_0xe890('0x8b')](_0xe890('0x12f'),_0x4eb866,_0xe890('0x9'));return this[_0xe890('0xcf')](()=>_0x1e0a8d([_0x1a0a09],_0x1824ff,_0x3195e4)),null;}_0x5cba0e[_0xe890('0xef')](_0x1a0a09);let _0x5f2956=!0x0;for(const _0x55021b of _0x5cba0e)if(!this[_0xe890('0xca')](_0x55021b)){_0x5f2956=!0x1;break;}if(_0x5f2956&&'always'!==this[_0xe890('0x177')]){const _0x53b172=this[_0xe890('0x9c')][_0xe890('0x8b')]('formatBlock',_0x4eb866,_0xe890('0x9'));return this[_0xe890('0xcf')](()=>_0x53b172([_0x1a0a09],_0x1824ff,_0x3195e4)),null;}let _0x99abcc=null,_0x3c1506=_0x1a0a09[_0xe890('0x14d')],_0x420d9e=_0x1a0a09[_0xe890('0xd0')];for(const {suggestion:_0x1c1394,meta:_0x50ff6e}of this[_0xe890('0xff')](_0x1a0a09,_0xe890('0x12f'))){if(!_0x50ff6e['isOwn'])continue;if(_0x50ff6e[_0xe890('0x162')]||_0x50ff6e[_0xe890('0x4c')]||_0x50ff6e['isInsideObject'])continue;if(_0x1c1394['data'][_0xe890('0xbe')]!=_0x1824ff['formatGroupId'])continue;if(!Pt(_0x1c1394,_0x3195e4))continue;const _0x425155=_0x1c1394[_0xe890('0x149')]();if(_0x1c1394[_0xe890('0x95')]==_0x4eb866){if(_0x425155[_0xe890('0x60')](_0x1a0a09,!0x0))return null;_0x3c1506=_0x3c1506['isBefore'](_0x425155[_0xe890('0x14d')])?_0x3c1506:_0x425155[_0xe890('0x14d')],_0x420d9e=_0x420d9e['isAfter'](_0x425155[_0xe890('0xd0')])?_0x420d9e:_0x425155[_0xe890('0xd0')],_0x99abcc?_0x425155[_0xe890('0x14d')][_0xe890('0xec')](_0x99abcc[_0xe890('0x149')]()['start'])?(_0x99abcc[_0xe890('0x1')](),_0x99abcc=_0x1c1394):_0x1c1394[_0xe890('0x1')]():_0x99abcc=_0x1c1394;}else{const _0x478416=_0x1a0a09[_0xe890('0x98')](_0x425155);this[_0xe890('0x93')](_0x1c1394,_0x478416);}}const _0x3d02a3=this[_0xe890('0x10d')][_0xe890('0xd8')][_0xe890('0x168')]('Users')['me'],_0x2dc1e8=_0x2b5717(),_0x9bf83d=_0x3d02a3['id'];if(_0x99abcc)return this[_0xe890('0xfc')](_0x99abcc,this[_0xe890('0xda')][_0xe890('0x115')](_0x3c1506,_0x420d9e)),_0x99abcc;{const _0x47013a=this[_0xe890('0x1c')]({'id':_0x2dc1e8,'type':'formatBlock:'+_0x4eb866,'data':_0x1824ff,'createdAt':new Date(),'authorId':_0x9bf83d,'attributes':_0x3195e4});return this[_0xe890('0xb0')](_0xe890('0xf0')+_0x4eb866,_0x2dc1e8,_0x9bf83d,this['_model'][_0xe890('0x115')](_0x3c1506,_0x420d9e)),_0x47013a;}}[_0xe890('0x86')](_0x58e352,_0x327bff,_0x4c756e=[],_0x2cb456=null,_0x27d65f={}){_0x327bff[_0xe890('0xbe')]||(_0x327bff[_0xe890('0xbe')]=_0x327bff[_0xe890('0x14f')]);const _0x4fbbf0=_0x58e352[0x0];_0x327bff['multipleBlocks']=_0x4fbbf0['is']('range'),_0x2cb456=_0x2cb456||Et(_0x327bff);const _0x1e3e7c=_0x4c756e[_0xe890('0x48')](_0x49b7f1=>Ot(_0x49b7f1,this[_0xe890('0xda')])),_0x3f117d=_0x4fbbf0['is']('range')?_0x58e352:_0x58e352[_0xe890('0x48')](_0x5ab1af=>Ot(_0x5ab1af,this['_model']));if('never'===this[_0xe890('0x177')]){const _0xa7f370=this[_0xe890('0x9c')][_0xe890('0x8b')](_0xe890('0x12f'),_0x2cb456,_0xe890('0x9'));return this[_0xe890('0xcf')](()=>_0xa7f370(_0x3f117d,_0x327bff,_0x27d65f)),null;}_0x1e3e7c[_0xe890('0xef')](..._0x3f117d);let _0x190a6b=!0x0;for(const _0x1c3af3 of _0x1e3e7c)if(!this[_0xe890('0xca')](_0x1c3af3)){_0x190a6b=!0x1;break;}if(_0x190a6b&&'always'!==this[_0xe890('0x177')]){const _0x31a3ac=this['_suggestionFactory'][_0xe890('0x8b')]('formatBlock',_0x2cb456,_0xe890('0x9'));return this[_0xe890('0xcf')](()=>_0x31a3ac(_0x3f117d,_0x327bff,_0x27d65f)),null;}const _0x4b1b71=this[_0xe890('0x10d')][_0xe890('0xd8')][_0xe890('0x168')](_0xe890('0x5'))['me'];for(const _0x2da6ba of this[_0xe890('0x24')]()){if(_0x2da6ba['author']['id']!=_0x4b1b71['id'])continue;if('formatBlock'!=_0x2da6ba[_0xe890('0x13d')]||_0x2da6ba[_0xe890('0x87')][_0xe890('0xbe')]!=_0x327bff['formatGroupId'])continue;if(!Pt(_0x2da6ba,_0x27d65f))continue;const _0x38bcad=_0x2da6ba['subType']==_0x2cb456;for(let _0x23230f=0x0;_0x23230f<_0x3f117d[_0xe890('0xfe')];_0x23230f++){const _0x54cfff=_0x3f117d[_0x23230f];for(const _0x25bd51 of _0x2da6ba[_0xe890('0x4d')]()){const _0x446326=_0x25bd51[_0xe890('0x15a')]();if(_0x54cfff['isEqual'](_0x446326)){_0x38bcad?(_0x3f117d[_0xe890('0x174')](_0x23230f,0x1),_0x23230f--):_0x2da6ba[_0xe890('0x8e')](_0x25bd51[_0xe890('0x19')]);break;}}}}if(0x0==_0x3f117d[_0xe890('0xfe')])return null;const _0xc42d52=this[_0xe890('0x9c')][_0xe890('0x8b')](_0xe890('0x12f'),_0x2cb456,_0xe890('0x59'));for(const _0x1990bc of this[_0xe890('0x24')]())if(_0x1990bc['author']['id']==_0x4b1b71['id']&&_0xe890('0x12f')==_0x1990bc[_0xe890('0x13d')]&&_0x1990bc[_0xe890('0x87')][_0xe890('0xbe')]==_0x327bff[_0xe890('0xbe')]&&_0x1990bc[_0xe890('0x95')]==_0x2cb456&&Pt(_0x1990bc,_0x27d65f)&&(_0xc42d52(_0x1990bc[_0xe890('0xa2')](),_0x3f117d)||_0xc42d52(_0x3f117d,_0x1990bc[_0xe890('0xa2')]()))){for(const _0x43f25e of _0x3f117d)_0x1990bc[_0xe890('0x76')](_0x43f25e);return _0x1990bc;}const _0x3fcb33=_0x2b5717(),_0xdde960=_0x4b1b71['id'],_0x2fd736=_0xe890('0xf0')+_0x2cb456,_0x558ddf=this[_0xe890('0x1c')]({'id':_0x3fcb33,'type':_0x2fd736,'data':_0x327bff,'createdAt':new Date(),'authorId':_0xdde960,'attributes':_0x27d65f});for(const _0x4edaca of _0x3f117d)this[_0xe890('0xb0')](_0x2fd736,_0x3fcb33,_0xdde960,_0x4edaca,_0x12f222[_0xe890('0x26')]());return _0x558ddf;}['markDeletion'](_0x40bee8,_0x584995=null,_0x2872ca={}){if(_0x40bee8[_0xe890('0x2')])return null;const _0x352248=this['editor'][_0xe890('0xd8')][_0xe890('0x168')](_0xe890('0x5'))['me'],_0x1a7cc1=new _0x18b498(_0x40bee8[_0xe890('0x14d')],_0x40bee8[_0xe890('0xd0')]);for(const {suggestion:_0x3460a1,meta:_0x1e0bfd}of this[_0xe890('0xff')](_0x1a7cc1,_0xe890('0xe2')))if(_0x1e0bfd[_0xe890('0x13f')]&&!_0x1e0bfd[_0xe890('0x162')]){if(_0x3460a1[_0xe890('0xc3')]){const _0x4c56f3=_0x3460a1[_0xe890('0xa2')]()[_0xe890('0xbb')](_0x225192=>'$graveyard'!=_0x225192[_0xe890('0x3e')][_0xe890('0x156')]);_0x4c56f3['every'](_0x37ed8c=>_0x1a7cc1[_0xe890('0x60')](_0x37ed8c,!0x0))&&_0x3460a1[_0xe890('0x39')]();if(_0x4c56f3['some'](_0x5597a0=>_0x5597a0[_0xe890('0x60')](_0x1a7cc1,!0x0))){const _0x524db9=this[_0xe890('0x9c')][_0xe890('0x8b')](_0xe890('0x67'),_0x584995,_0xe890('0x9'));return this[_0xe890('0xcf')](()=>_0x524db9([_0x1a7cc1],null,_0x2872ca)),null;}}else{const _0x587a1e=_0x1a7cc1['getIntersection'](_0x3460a1[_0xe890('0x149')]());null!==_0x587a1e&&_0x3460a1[_0xe890('0x12a')]([_0x587a1e],null,_0x2872ca);}}if(_0x1a7cc1[_0xe890('0x143')](),_0x1a7cc1[_0xe890('0x2')]||_0xe890('0x57')==_0x1a7cc1[_0xe890('0x3e')]['rootName'])return null;let _0x347b92=null,_0x1e9c3b=_0x1a7cc1[_0xe890('0x14d')],_0x20042b=_0x1a7cc1[_0xe890('0xd0')];const _0x3d8cb3=this['_findSuggestions'](_0x1a7cc1,_0xe890('0x67'));for(const {suggestion:_0x50ffbc,meta:_0x3b4d67}of _0x3d8cb3){const _0x1dca84=this['_model']['createRange'](_0x1e9c3b,_0x20042b);if(_0x3b4d67[_0xe890('0x13f')]&&(this[_0xe890('0x27')]||!_0x3b4d67['containsRangeInObject']&&!_0x3b4d67[_0xe890('0x8f')])){if(_0x50ffbc['isMultiRange']){if(!Pt(_0x50ffbc,_0x2872ca))continue;let _0x2950bb=!0x0;for(const _0x1a1c76 of _0x50ffbc['getRanges']()){if(_0x1a1c76[_0xe890('0x60')](_0x1dca84,!0x0))return _0x50ffbc;_0x1dca84[_0xe890('0x60')](_0x1a1c76)||(_0x2950bb=!0x1);}_0x2950bb&&_0x50ffbc[_0xe890('0x39')]();}else{const _0x40b7e8=_0x50ffbc[_0xe890('0x149')]();if(_0x40b7e8[_0xe890('0x60')](_0x1dca84,!0x0))return _0x50ffbc;if(!Pt(_0x50ffbc,_0x2872ca)){_0x1dca84['containsRange'](_0x40b7e8)?_0x50ffbc[_0xe890('0x1')]():_0x40b7e8[_0xe890('0x31')](_0x1e9c3b)?_0x1e9c3b=_0x40b7e8[_0xe890('0xd0')]:_0x40b7e8[_0xe890('0x31')](_0x20042b)&&(_0x20042b=_0x40b7e8['start']);continue;}_0x1e9c3b=_0x1e9c3b[_0xe890('0xec')](_0x40b7e8['start'])?_0x1e9c3b:_0x40b7e8[_0xe890('0x14d')],_0x20042b=_0x20042b['isAfter'](_0x40b7e8['end'])?_0x20042b:_0x40b7e8[_0xe890('0xd0')],_0x2872ca=Object[_0xe890('0xde')]({},_0x50ffbc[_0xe890('0x5b')]),_0x347b92?_0x40b7e8[_0xe890('0x14d')]['isBefore'](_0x347b92[_0xe890('0x149')]()['start'])?(_0x347b92[_0xe890('0x1')](),_0x347b92=_0x50ffbc):_0x50ffbc[_0xe890('0x1')]():_0x347b92=_0x50ffbc;}}}if(_0x347b92)return this[_0xe890('0xfc')](_0x347b92,this[_0xe890('0xda')][_0xe890('0x115')](_0x1e9c3b,_0x20042b)),_0x347b92;{const _0x362831=_0x2b5717(),_0x3f61cb=this[_0xe890('0xda')][_0xe890('0x115')](_0x1e9c3b,_0x20042b),_0x3ed929=_0x352248['id'],_0x3037fd=_0x584995?'deletion:'+_0x584995:_0xe890('0x67'),_0x2fa412=this[_0xe890('0x1c')]({'id':_0x362831,'type':_0x3037fd,'createdAt':new Date(),'authorId':_0x3ed929,'attributes':_0x2872ca});return this[_0xe890('0xb0')](_0x3037fd,_0x362831,_0x3ed929,_0x3f61cb),_0x2fa412;}}[_0xe890('0x9d')](_0x56258c,_0x2699d3=_0xe890('0x7b'),_0x3cd016={}){const _0x40a434=this[_0xe890('0x10d')]['plugins'][_0xe890('0x168')]('Users')['me'],_0x52adc8=_0x56258c[_0xe890('0x48')](_0x4c1010=>new _0x18b498(_0x4c1010[_0xe890('0x14d')],_0x4c1010[_0xe890('0xd0')])),_0x1abb35=new Set();for(const {suggestion:_0x59965f,meta:_0x303c39}of this[_0xe890('0xff')](_0x52adc8,_0xe890('0xe2')))_0x303c39[_0xe890('0x13f')]&&!_0x303c39[_0xe890('0x162')]&&_0x1abb35[_0xe890('0x16c')](_0x59965f);for(const _0x37f2f4 of _0x1abb35)if(_0x37f2f4[_0xe890('0xc3')]){const _0x40a550=_0x37f2f4[_0xe890('0xa2')]();(!_0x37f2f4['attributes']||!_0x37f2f4[_0xe890('0x5b')][_0xe890('0x1e')])&&(_0x40a550['every'](_0x3003c5=>_0x52adc8[_0xe890('0xa4')](_0x36d1a8=>_0x36d1a8[_0xe890('0x60')](_0x3003c5,!0x0)))&&_0x37f2f4[_0xe890('0x39')]());if(_0x52adc8[_0xe890('0xe1')](_0x2b8c17=>_0x40a550['some'](_0x34c569=>_0x34c569[_0xe890('0x60')](_0x2b8c17,!0x0)))){const _0xa17920=this[_0xe890('0x9c')][_0xe890('0x8b')](_0xe890('0x67'),_0x2699d3,_0xe890('0x9'));return this[_0xe890('0xcf')](()=>_0xa17920(_0x56258c,null,_0x3cd016)),null;}}else{const _0x44f828=_0x37f2f4[_0xe890('0x149')]();_0x52adc8[_0xe890('0xa4')](_0x2265fb=>_0x2265fb['containsRange'](_0x44f828,!0x0))&&_0x37f2f4[_0xe890('0x39')]();if(_0x52adc8[_0xe890('0xe1')](_0x46e5b7=>_0x44f828[_0xe890('0x60')](_0x46e5b7,!0x0))){const _0x50b00c=this['_suggestionFactory'][_0xe890('0x8b')]('deletion',_0x2699d3,_0xe890('0x9'));return this[_0xe890('0xcf')](()=>_0x50b00c(_0x52adc8,null,_0x3cd016)),null;}}const _0x4c6632=this[_0xe890('0x9c')][_0xe890('0x8b')](_0xe890('0x67'),_0x2699d3,'join');let _0x327dc5=null;for(const _0x116a1d of this[_0xe890('0x24')]())if(_0x116a1d[_0xe890('0xe9')]['id']==_0x40a434['id']&&_0x116a1d[_0xe890('0x4e')]&&_0xe890('0x67')==_0x116a1d[_0xe890('0x13d')]&&_0x116a1d[_0xe890('0x95')]==_0x2699d3&&Pt(_0x116a1d,_0x3cd016)&&(_0x4c6632(_0x116a1d[_0xe890('0xa2')](),_0x52adc8)||_0x4c6632(_0x52adc8,_0x116a1d[_0xe890('0xa2')]()))){if(_0x327dc5){if(_0x116a1d[_0xe890('0x15f')]&&_0x116a1d[_0xe890('0x15f')][_0xe890('0xfe')])continue;for(const _0x4cb391 of _0x116a1d[_0xe890('0xa2')]())_0x327dc5['isIntersectingWithRange'](_0x4cb391)||_0x327dc5['addRange'](_0x4cb391);_0x116a1d['removeMarkers']();}else{_0x327dc5=_0x116a1d;for(const _0x423e77 of _0x52adc8)_0x116a1d[_0xe890('0xb3')](_0x423e77)||_0x116a1d[_0xe890('0x76')](_0x423e77);}}if(_0x327dc5)return _0x327dc5;_0x1abb35['clear']();for(const {suggestion:_0x32cbe4,meta:_0x40eb56}of this[_0xe890('0xff')](_0x52adc8,_0xe890('0x67')))_0x40eb56['isOwn']&&(this[_0xe890('0x27')]||!_0x40eb56[_0xe890('0x4c')]&&!_0x40eb56[_0xe890('0x8f')])&&Pt(_0x32cbe4,_0x3cd016)&&_0x1abb35[_0xe890('0x16c')](_0x32cbe4);for(const _0x67bf0c of _0x1abb35){const _0x5bb62c=_0x67bf0c[_0xe890('0xa2')]();if(!_0x3cd016||!_0x3cd016[_0xe890('0x1e')]){if(_0x52adc8['every'](_0x2c7a13=>_0x5bb62c[_0xe890('0xa4')](_0x11e7d4=>_0x11e7d4[_0xe890('0x60')](_0x2c7a13,!0x0))))return _0x67bf0c;}(!_0x67bf0c[_0xe890('0x5b')]||!_0x67bf0c[_0xe890('0x5b')][_0xe890('0x1e')])&&(_0x5bb62c[_0xe890('0xe1')](_0x52f7a7=>_0x52adc8[_0xe890('0xa4')](_0x546534=>_0x546534[_0xe890('0x60')](_0x52f7a7,!0x0)))&&_0x67bf0c[_0xe890('0x39')]());}const _0x5228b7=_0x2b5717(),_0x2f4bd5=_0x40a434['id'],_0x4adc6b='deletion:'+_0x2699d3,_0x3f5ff8=this[_0xe890('0x1c')]({'id':_0x5228b7,'type':_0x4adc6b,'createdAt':new Date(),'authorId':_0x2f4bd5,'attributes':_0x3cd016});for(const _0x5b5e84 of _0x52adc8)_0x5b5e84['detach'](),_0x5b5e84[_0xe890('0x2')]||_0xe890('0x57')==_0x5b5e84[_0xe890('0x3e')][_0xe890('0x156')]||this[_0xe890('0xb0')](_0x4adc6b,_0x5228b7,_0x2f4bd5,_0x5b5e84,_0x12f222[_0xe890('0x26')]());return _0x3f5ff8;}[_0xe890('0x75')](_0x4d8975,_0x36bd2f,_0x5aad71,_0x5aa858,_0x2ac548){if(_0x4d8975['isCollapsed'])return[];if(_0xe890('0x61')===this[_0xe890('0x177')])return[];const _0x44726f=this[_0xe890('0x10d')][_0xe890('0xd8')][_0xe890('0x168')]('Users')['me']['id'],_0x39b6fd=Array['from'](this[_0xe890('0x63')][_0xe890('0x4')]())[_0xe890('0xbb')](_0x39befe=>'attribute'==_0x39befe['type']&&_0x39befe[_0xe890('0x87')][_0xe890('0x3')]==_0x36bd2f&&_0x39befe[_0xe890('0xb3')](_0x4d8975));if('default'===this[_0xe890('0x177')]){const _0x61d7ae=this[_0xe890('0xff')](_0x4d8975,_0xe890('0xe2'))['filter'](({meta:_0x536781})=>_0x536781['isOwn']&&!_0x536781[_0xe890('0x8f')]&&!_0x536781[_0xe890('0x162')])[_0xe890('0x48')](({suggestion:_0x5203f7})=>_0x5203f7);_0x39b6fd[_0xe890('0x70')](..._0x61d7ae);}const _0x555c21=new Map([[_0x4d8975,_0x5aad71]]);for(const _0x4e7dde of _0x39b6fd){const _0x4a1cd0='attribute'==_0x4e7dde[_0xe890('0x13d')]?_0x4e7dde[_0xe890('0x87')][_0xe890('0x136')]:void 0x0,_0x2c3cc1=_0x4e7dde[_0xe890('0x149')](),_0x49f515=Array[_0xe890('0x153')](_0x555c21['keys']())[_0xe890('0x119')](_0x1b3683=>_0x1b3683[_0xe890('0x137')](_0x2c3cc1));if(!_0x49f515)continue;const _0x40d2d4=_0x49f515['getDifference'](_0x2c3cc1);this[_0xe890('0x172')](_0x36bd2f)&&_0xe890('0xe2')==_0x4e7dde[_0xe890('0x13d')]&&0x0!=_0x40d2d4[_0xe890('0xfe')]||(_0x555c21[_0xe890('0x99')](_0x49f515),_0x40d2d4[_0xe890('0x13c')](_0x129ed6=>{_0x555c21[_0xe890('0x64')](_0x129ed6,_0x5aad71);}),_0xe890('0xe2')!=_0x4e7dde[_0xe890('0x13d')]&&_0x4a1cd0!=_0x5aa858&&_0x555c21['set'](_0x49f515[_0xe890('0x98')](_0x2c3cc1),_0x4a1cd0));}const _0x1b2faf=[];for(const [_0x43825e,_0x50e1da]of _0x555c21){const _0x47bb07=_0x2b5717(),_0x28564d={'key':_0x36bd2f,'oldValue':_0x50e1da,'newValue':_0x5aa858};_0x36bd2f['length']>0x25&&console[_0xe890('0x16b')]('Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.',{'key':_0x36bd2f});const _0x93418=(_0xe890('0x175')+(_0x36bd2f+'|'+Et({'newValue':_0x5aa858})))['substring'](0x0,0x3c),_0x487ad5=this[_0xe890('0x1c')]({'id':_0x47bb07,'type':_0x93418,'data':_0x28564d,'createdAt':new Date(),'authorId':_0x44726f,'attributes':_0x2ac548});_0x1b2faf[_0xe890('0xef')](_0x487ad5),this['_addSuggestionMarker'](_0x93418,_0x47bb07,_0x44726f,_0x43825e);}return _0x1b2faf;}['_registerBlockAttribute'](_0x2ef40e){this[_0xe890('0x68')][_0xe890('0x16c')](_0x2ef40e);}[_0xe890('0x10e')](_0x55b957){this[_0xe890('0xf8')][_0xe890('0x16c')](_0x55b957);}[_0xe890('0x9e')](_0x3783ef,_0x309c97=[],_0x343f0c=[]){this['enableCommand'](_0x3783ef,(_0x3197e7,..._0x56288b)=>{this[_0xe890('0xcc')](()=>{_0x3197e7(..._0x56288b);});});for(const _0x10a519 of _0x309c97)this[_0xe890('0x10e')](_0x10a519);for(const _0x26d998 of _0x343f0c)this['_registerBlockAttribute'](_0x26d998);}[_0xe890('0x6')](_0x2d783b){return _0xe890('0x111')==_0x2d783b[_0xe890('0x13d')]?_0x2d783b[_0xe890('0x95')][_0xe890('0x56')]('|')[0x0]:null;}[_0xe890('0xfc')](_0x3ecd40,_0x317700){const _0x298ce1=_0x3ecd40[_0xe890('0xa3')]();this[_0xe890('0xda')][_0xe890('0xc7')](_0x30972=>{_0x30972[_0xe890('0x2f')](_0x298ce1,{'range':_0x317700});});}[_0xe890('0x16e')](_0x389311){const _0x2d6a39=_0x389311['id'],_0x467e45=this[_0xe890('0x10d')][_0xe890('0x79')]['get'](_0xe890('0x8'));this[_0xe890('0x77')][_0xe890('0x145')](_0x2d6a39)||this['_commentsRepository'][_0xe890('0x123')]({'channelId':_0x467e45,'threadId':_0x2d6a39,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x3f51a5=this['_commentsRepository'][_0xe890('0x12')](_0x2d6a39);_0x3f51a5[_0xe890('0x22')](_0xe890('0x6a')),_0x3f51a5[_0xe890('0x6a')]=!0x1,_0x389311[_0xe890('0x15f')]=_0x3f51a5;}['_checkSuggestionCorrectness'](_0x352ccc,_0x1e603e,_0x43ce76,_0x3c3365){if(_0x352ccc[_0xe890('0x13d')]!=_0x1e603e||_0x352ccc[_0xe890('0x95')]!=_0x43ce76||_0x352ccc[_0xe890('0x7c')]['id']!=_0x3c3365)throw this[_0xe890('0x10d')][_0xe890('0x11b')]('track-changes-suggestion-data-mismatch'),new _0xbc78f4(_0xe890('0x142'),this);}[_0xe890('0x93')](_0xf22413,_0x554094){const _0x3e0601=_0xf22413['getFirstRange']();if(_0x554094[_0xe890('0x18')](_0x3e0601))_0xf22413['removeMarkers']();else{if(_0x3e0601[_0xe890('0x60')](_0x554094)){const _0x3cf79d=this['_model'][_0xe890('0x81')](_0x554094[_0xe890('0x14d')]['nodeBefore'],_0xe890('0xd0'));this[_0xe890('0xfc')](_0xf22413,this[_0xe890('0xda')][_0xe890('0x115')](_0x3e0601['start'],_0x3cf79d));const _0x5b1e2c=_0x2b5717(),_0x3bc43f=_0xf22413['creator']['id'],_0x213c3=_0xf22413[_0xe890('0x13d')]+':'+_0xf22413[_0xe890('0x95')];this[_0xe890('0x1c')]({'id':_0x5b1e2c,'type':_0x213c3,'createdAt':new Date(),'authorId':_0x3bc43f,'data':_0xf22413[_0xe890('0x87')],'attributes':_0xf22413['attributes']});const _0x3a38c3=this[_0xe890('0xda')][_0xe890('0x81')](_0x554094[_0xe890('0xd0')]['parent'],_0xe890('0x163')),_0x5acfa1=this[_0xe890('0xda')][_0xe890('0x115')](_0x3a38c3,_0x3e0601[_0xe890('0xd0')]);this[_0xe890('0xb0')](_0x213c3,_0x5b1e2c,_0x3bc43f,_0x5acfa1);}else{if(_0x3e0601[_0xe890('0x31')](_0x554094[_0xe890('0x14d')])){const _0x543c1f=this[_0xe890('0xda')]['createPositionAt'](_0x554094['start']['nodeBefore'],_0xe890('0xd0'));this[_0xe890('0xfc')](_0xf22413,this[_0xe890('0xda')][_0xe890('0x115')](_0x3e0601[_0xe890('0x14d')],_0x543c1f));}else{const _0x31805a=this[_0xe890('0xda')][_0xe890('0x81')](_0x554094[_0xe890('0xd0')][_0xe890('0xee')],'after');this['_setSuggestionRange'](_0xf22413,this[_0xe890('0xda')][_0xe890('0x115')](_0x31805a,_0x3e0601[_0xe890('0xd0')]));}}}}[_0xe890('0xca')](_0x4db312){for(const {suggestion:_0x3008ee,meta:_0x40908d}of this[_0xe890('0xff')](_0x4db312,_0xe890('0xe2'))){if(!_0x40908d[_0xe890('0x13f')])continue;const _0x4633c2=_0x3008ee['getRanges']();for(const _0x105b51 of _0x4633c2)if(!_0x4db312['getDifference'](_0x105b51)[_0xe890('0xfe')])return!0x0;}return!0x1;}[_0xe890('0x72')](_0x126af5){const _0x18794f=this[_0xe890('0x10d')][_0xe890('0xd8')][_0xe890('0x168')](_0xe890('0x5'))[_0xe890('0x106')](_0x126af5);if(!_0x18794f)throw new _0xbc78f4(_0xe890('0x58'),this);return _0x18794f;}[_0xe890('0x5a')](_0x6060af){const _0x57a57c=this[_0xe890('0x10d')][_0xe890('0xd8')][_0xe890('0x168')](_0xe890('0x5')),_0x3f6260=_0x41b42f(_0xe890('0xc2')+_0x6060af),_0x3d525d=_0x57a57c[_0xe890('0x106')](_0x3f6260);return _0x3d525d||_0x57a57c['addUser']({'id':_0x3f6260,'name':_0x6060af});}['_createSuggestion'](_0x96f84e,_0x5d72e1,_0x18a3da,_0x501d61,_0x25c014){const _0x5f1f0b=this[_0xe890('0x72')](_0x501d61),_0x426197=this[_0xe890('0x9c')][_0xe890('0x96')](_0x96f84e,_0x5d72e1,_0x18a3da,_0x5f1f0b,_0x25c014,_0xce0350=>{this[_0xe890('0xe4')](_0x18a3da,{'attributes':_0xce0350});const _0x5d5cd2=this[_0xe890('0x117')](_0x18a3da);this[_0xe890('0xa1')](new Set([_0x5d5cd2])),this[_0xe890('0xd2')](new Set([_0x5d5cd2]));});return this[_0xe890('0xb')](_0x426197,_0xe890('0x9'),()=>{this[_0xe890('0xe4')](_0x18a3da,{'state':_0xe890('0xb9')});},{'priority':_0xe890('0x147')}),this[_0xe890('0xb')](_0x426197,_0xe890('0x39'),()=>{this['_updateSuggestionData'](_0x18a3da,{'state':_0xe890('0x40')});},{'priority':_0xe890('0x147')}),this[_0xe890('0x63')][_0xe890('0x64')](_0x18a3da,_0x426197),this[_0xe890('0x34')][_0xe890('0x64')](_0x426197,_0xe890('0xdf')),_0x426197;}[_0xe890('0x2a')](_0x26c034){const _0x2e7350=_0x26c034[_0xe890('0x56')](':');return{'group':_0x2e7350[0x0],'type':_0x2e7350[0x1],'subType':_0x2e7350[_0xe890('0xfe')]>=0x5?_0x2e7350[0x2]:null,'id':_0x2e7350['length']<0x5?_0x2e7350[0x2]:_0x2e7350[0x3],'authorId':_0x2e7350[_0xe890('0xfe')]<0x5?_0x2e7350[0x3]:_0x2e7350[0x4],'markerCount':0x6==_0x2e7350[_0xe890('0xfe')]?_0x2e7350[0x5]:null};}[_0xe890('0x14a')](_0x32655d,_0x42a1cb,_0x104bca){const _0x397ad8=_0x32655d[_0xe890('0x149')](),_0x32aa73=_0x397ad8[_0xe890('0x14d')],_0x56c1d5=_0x397ad8[_0xe890('0xd0')];this[_0xe890('0xfc')](_0x32655d,this[_0xe890('0xda')][_0xe890('0x115')](_0x32aa73,_0x42a1cb));const _0x44de00=_0x2b5717(),_0x2462c8=_0x32655d[_0xe890('0x7c')]['id'],_0x5f0053=_0x32655d[_0xe890('0x13d')]+(_0x32655d['subType']?':'+_0x32655d[_0xe890('0x95')]:'');this[_0xe890('0x1c')]({'id':_0x44de00,'type':_0x5f0053,'createdAt':new Date(),'authorId':_0x2462c8,'originalSuggestionId':_0x32655d['id'],'attributes':_0x32655d['attributes'],'data':_0x32655d[_0xe890('0x87')]});const _0x3091ae=this['_getAttributeKey'](_0x32655d);(_0xe890('0x12f')==_0x32655d['type']||_0x3091ae&&this[_0xe890('0x172')](_0x3091ae))&&(_0x104bca=this[_0xe890('0xda')][_0xe890('0xa0')](_0x104bca[_0xe890('0xee')])),this[_0xe890('0xb0')](_0x5f0053,_0x44de00,_0x2462c8,this[_0xe890('0xda')][_0xe890('0x115')](_0x104bca,_0x56c1d5));}[_0xe890('0xff')](_0x117a79,_0x432e4b=null){const _0x17c5f1=[],_0x5cf064=this[_0xe890('0x10d')][_0xe890('0xd8')]['get'](_0xe890('0x5'))['me'];Array[_0xe890('0x11d')](_0x117a79)||(_0x117a79=[_0x117a79]);for(const _0x104b22 of this['getSuggestions']()){if(!_0x104b22[_0xe890('0x4e')])continue;if(_0x432e4b&&_0x104b22[_0xe890('0x13d')]!=_0x432e4b)continue;let _0x4dbb7c=!0x1;for(const _0xa51670 of _0x104b22[_0xe890('0xa2')]()){for(const _0x722bd5 of _0x117a79){const _0x1cfbc9=_0x722bd5[_0xe890('0x14d')][_0xe890('0x18')](_0xa51670[_0xe890('0xd0')])||_0x722bd5['end'][_0xe890('0x18')](_0xa51670[_0xe890('0x14d')]);if(_0x1cfbc9||_0x722bd5[_0xe890('0x98')](_0xa51670)){const _0x51e761=_0x722bd5['containsRange'](_0xa51670)&&xt(this[_0xe890('0xda')]['schema'],_0xa51670[_0xe890('0x14d')],_0x722bd5),_0x5903e7=_0xa51670['containsRange'](_0x722bd5)&&xt(this[_0xe890('0xda')]['schema'],_0x722bd5[_0xe890('0x14d')],_0xa51670);_0x17c5f1[_0xe890('0xef')]({'suggestion':_0x104b22,'meta':{'isOwn':_0x5cf064==_0x104b22[_0xe890('0xe9')],'isNextTo':_0x1cfbc9,'isInsideObject':_0x51e761,'containsRangeInObject':_0x5903e7}}),_0x4dbb7c=!0x0;break;}}if(_0x4dbb7c)break;}}return _0x17c5f1;}['_addSuggestionMarker'](_0x1ff2c6,_0x2657a1,_0x462482,_0x1f0187,_0x3084d7){this[_0xe890('0xda')][_0xe890('0xc7')](_0x39c09d=>{let _0x573749=_0xe890('0x20')+_0x1ff2c6+':'+_0x2657a1+':'+_0x462482;_0x3084d7&&(_0x573749=_0x573749+':'+_0x3084d7),_0x39c09d[_0xe890('0x0')](_0x573749,{'range':_0x1f0187,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x630229){const _0xc3d15c=_0x630229[_0xe890('0xf5')],_0x153b84=_0x630229[_0xe890('0x33')];_0x630229[_0xe890('0xf5')]=null,_0x630229[_0xe890('0x33')]=null,null!=_0xc3d15c&&_0xc3d15c['next']==_0x630229&&(_0xc3d15c[_0xe890('0x33')]=_0x153b84),null!=_0x153b84&&_0x153b84[_0xe890('0xf5')]==_0x630229&&(_0x153b84['previous']=_0xc3d15c),'ready'==this[_0xe890('0x34')][_0xe890('0x168')](_0x630229)&&(this[_0xe890('0x34')][_0xe890('0x64')](_0x630229,_0xe890('0x8a')),this[_0xe890('0x85')](_0xe890('0x8c'),_0x630229,_0xc3d15c,_0x153b84));}[_0xe890('0x1c')](_0x558226){const _0x483201=_0x558226['id'],_0xb17113=this['addSuggestionData'](_0x558226);if(this[_0xe890('0x53')]&&this[_0xe890('0x53')][_0xe890('0x15e')]){const _0x1802d1=this[_0xe890('0x10d')][_0xe890('0xd8')][_0xe890('0x168')](_0xe890('0x1b')),_0x65e4f8=_0xb17113[_0xe890('0x14b')],_0x4d66c2=_0xb17113[_0xe890('0x95')]?_0xb17113['type']+':'+_0xb17113[_0xe890('0x95')]:_0xb17113[_0xe890('0x13d')],_0x8658f9=this[_0xe890('0x10d')][_0xe890('0xe')],_0xbdc3ce=_0x1802d1[_0xe890('0x16c')](_0x4f156c(_0x8658f9,_0xe890('0x102'))),_0x1e931b={'id':_0x483201,'type':_0x4d66c2,'hasComments':_0x65e4f8,'data':_0x558226[_0xe890('0x87')]||null,'originalSuggestionId':_0x558226[_0xe890('0x127')]||null,'attributes':_0xb17113[_0xe890('0x5b')]};this['_adapter']['addSuggestion'](_0x1e931b)['then'](_0x26b5f6=>{_0xb17113[_0xe890('0x14')]=!0x0,_0x1802d1[_0xe890('0x159')](_0xbdc3ce),_0x26b5f6&&_0x26b5f6[_0xe890('0x36')]&&(this[_0xe890('0x63')][_0xe890('0x168')](_0x483201)[_0xe890('0x36')]=_0x26b5f6['createdAt']);})[_0xe890('0x91')](_0x32cdb8=>{throw _0x574527(_0xe890('0xba')),this['editor'][_0xe890('0x7e')][_0xe890('0xa9')]({'isUndoable':!0x1},()=>{_0xb17113[_0xe890('0x39')]();}),_0xb17113[_0xe890('0x30')](),this[_0xe890('0x63')][_0xe890('0x99')](_0xb17113['id']),this[_0xe890('0x34')]['delete'](_0xb17113),_0x32cdb8;});}return _0xb17113;}[_0xe890('0x172')](_0x1b4419){return this['_blockAttributeKeys'][_0xe890('0x44')](_0x1b4419);}[_0xe890('0xe4')](_0x49a27c,_0xed5ae5){const _0x1a3e55=this[_0xe890('0x10d')][_0xe890('0xd8')][_0xe890('0x168')]('PendingActions'),_0x36bf7e=this[_0xe890('0x117')](_0x49a27c);if(this[_0xe890('0x53')]&&this['_adapter']['updateSuggestion']){if(_0x36bf7e[_0xe890('0x14')]){const _0x52ecf8=_0x1a3e55[_0xe890('0x16c')](_0x4f156c(this[_0xe890('0x10d')][_0xe890('0xe')],_0xe890('0x102')));this['_adapter']['updateSuggestion'](_0x49a27c,_0xed5ae5)[_0xe890('0x176')](()=>{_0x1a3e55[_0xe890('0x159')](_0x52ecf8);});}else _0x36bf7e['on'](_0xe890('0x74'),()=>{this[_0xe890('0xe4')](_0x49a27c,_0xed5ae5);});}}[_0xe890('0x5f')](_0x1edae2){if(!this[_0xe890('0x53')]||!this['_adapter'][_0xe890('0x117')])throw new _0xbc78f4('track-changes-adapter-missing-getsuggestion',this);return this[_0xe890('0x53')][_0xe890('0x117')](_0x1edae2);}[_0xe890('0x6d')](_0x869a13){const {id:_0x11334b,type:_0x23964f,subType:_0x30cbe4,authorId:_0xa8a55b}=this[_0xe890('0x2a')](_0x869a13),_0x4596f7=this[_0xe890('0x63')]['get'](_0x11334b)||this[_0xe890('0x108')](_0x23964f,_0x30cbe4,_0x11334b,_0xa8a55b,{});switch(this[_0xe890('0x3d')](_0x4596f7,_0x23964f,_0x30cbe4,_0xa8a55b),this[_0xe890('0x34')]['get'](_0x4596f7)){case _0xe890('0xdf'):this[_0xe890('0x5f')](_0x11334b)['then'](_0x588fa5=>{let _0x59e78e=Promise['resolve']();_0x588fa5[_0xe890('0x14b')]&&(_0x59e78e=this[_0xe890('0x77')][_0xe890('0x14e')]({'channelId':this[_0xe890('0x10d')][_0xe890('0x79')]['get']('collaboration.channelId'),'threadId':_0x11334b})),_0x59e78e[_0xe890('0x176')](()=>{this[_0xe890('0x154')](_0x588fa5)[_0xe890('0x14')]=!0x0;});}),this['_suggestionState'][_0xe890('0x64')](_0x4596f7,_0xe890('0xd1'));break;case _0xe890('0x8a'):this[_0xe890('0xe4')](_0x11334b,{'state':_0xe890('0xb7')});case'dataReady':this[_0xe890('0x34')][_0xe890('0x64')](_0x4596f7,_0xe890('0x134')),this[_0xe890('0x85')](_0xe890('0x128'),_0x4596f7);break;case _0xe890('0x134'):this[_0xe890('0x85')]('suggestionChanged',_0x4596f7);}return _0x4596f7['addMarkerName'](_0x869a13),_0x4596f7;}[_0xe890('0xd2')](_0x5e2160){const _0x25af36=Array[_0xe890('0x153')](_0x5e2160),_0x480745=_0x25af36[_0xe890('0xbb')](_0xadb057=>'attribute'==_0xadb057[_0xe890('0x13d')]);this['_refreshAttributeSuggestionsChain'](_0x480745);const _0x15f311=_0x25af36[_0xe890('0xbb')](_0x2a3b37=>!_0x2a3b37[_0xe890('0xc3')]&&_0xe890('0x111')!=_0x2a3b37[_0xe890('0x13d')]),_0x46ca0b=this[_0xe890('0x24')]({'skipNotAttached':!0x0})['filter'](_0x27fa33=>!_0x27fa33[_0xe890('0xc3')]&&_0xe890('0x111')!=_0x27fa33[_0xe890('0x13d')]),_0x168fff=_0x46ca0b[_0xe890('0xbb')](_0x5d6481=>!_0x5e2160[_0xe890('0x44')](_0x5d6481)),_0x104f7d=new Map(_0x46ca0b[_0xe890('0x48')](_0x402944=>[_0x402944,this[_0xe890('0x9c')][_0xe890('0x8b')](_0x402944[_0xe890('0x13d')],_0x402944[_0xe890('0x95')],_0xe890('0x2c'))])),_0x5a23ff=new Map(_0x46ca0b['map'](_0x508a78=>[_0x508a78,_0x508a78[_0xe890('0x149')]()])),_0x55ce70=new Set(),_0xce8914=new Set();for(let _0x24d1e9=0x0;_0x24d1e9<_0x15f311[_0xe890('0xfe')];_0x24d1e9++)_0x1c51cb(_0x15f311[_0x24d1e9],_0x15f311,_0x24d1e9+0x1);for(let _0x2f3e09=0x0;_0x2f3e09<_0x15f311[_0xe890('0xfe')];_0x2f3e09++)_0x1c51cb(_0x15f311[_0x2f3e09],_0x168fff,0x0);const _0x32b2d6=new Set();for(let _0x544ca8=0x0;_0x544ca8<_0x15f311[_0xe890('0xfe')];_0x544ca8++){const _0x19e720=_0x15f311[_0x544ca8];!_0xce8914[_0xe890('0x44')](_0x19e720)&&_0x19e720[_0xe890('0xf5')]&&(_0x32b2d6[_0xe890('0x16c')](_0x19e720[_0xe890('0xf5')]),_0x19e720[_0xe890('0xf5')][_0xe890('0x33')]===_0x19e720&&(_0x19e720['previous'][_0xe890('0x33')]=null),_0x19e720['previous']=null),!_0x55ce70[_0xe890('0x44')](_0x19e720)&&_0x19e720[_0xe890('0x33')]&&(_0x32b2d6[_0xe890('0x16c')](_0x19e720[_0xe890('0x33')]),_0x19e720[_0xe890('0x33')][_0xe890('0xf5')]===_0x19e720&&(_0x19e720['next']['previous']=null),_0x19e720[_0xe890('0x33')]=null);}function _0x1c51cb(_0x27e794,_0x5e59ca,_0x50b48d){for(let _0x3c0312=_0x50b48d;_0x3c0312<_0x5e59ca[_0xe890('0xfe')];_0x3c0312++){const _0x180849=_0xbdd983(_0x27e794,_0x5e59ca[_0x3c0312]);_0x180849&&(_0x180849[0x0][_0xe890('0x33')]=_0x180849[0x1],_0x180849[0x1][_0xe890('0xf5')]=_0x180849[0x0],_0x55ce70[_0xe890('0x16c')](_0x180849[0x0]),_0xce8914[_0xe890('0x16c')](_0x180849[0x1]));}}function _0xbdd983(_0x28a2cd,_0x233798){if(_0x28a2cd[_0xe890('0xe9')]['id']!==_0x233798[_0xe890('0xe9')]['id'])return null;const _0x139d12=_0x104f7d[_0xe890('0x168')](_0x28a2cd)(_0x28a2cd,_0x233798,_0x5a23ff[_0xe890('0x168')](_0x28a2cd),_0x5a23ff[_0xe890('0x168')](_0x233798));if(!_0x139d12)return null;return _0x104f7d['get'](_0x233798)(_0x28a2cd,_0x233798,_0x5a23ff[_0xe890('0x168')](_0x28a2cd),_0x5a23ff[_0xe890('0x168')](_0x233798))?_0x139d12[0x1][_0xe890('0x15f')]&&_0x139d12[0x1][_0xe890('0x15f')][_0xe890('0xfe')]?null:_0x139d12:null;}_0x32b2d6[_0xe890('0xce')]&&this[_0xe890('0xd2')](_0x32b2d6);}[_0xe890('0xe5')](_0x40091b){if(0x0==_0x40091b[_0xe890('0xfe')])return;const _0xd10deb=this[_0xe890('0x24')]({'skipNotAttached':!0x0})[_0xe890('0xbb')](_0x304971=>_0xe890('0x111')==_0x304971['type']&&_0x304971[_0xe890('0x110')]),_0x29fb18=[],_0x114867=new Map();for(const _0x180516 of _0xd10deb){const _0x409a18=_0x41b42f(_0x180516[_0xe890('0x5b')]);_0x114867[_0xe890('0x44')](_0x409a18)||(_0x114867[_0xe890('0x64')](_0x409a18,_0x29fb18['length']),_0x29fb18['push']([]));const _0x47d8c1=_0x114867['get'](_0x409a18);_0x29fb18[_0x47d8c1][_0xe890('0xef')](_0x180516);}!function(){_0x29fb18[_0xe890('0xf9')]((_0x5d954b,_0x42064d)=>{const _0x506591=_0x5d954b[0x0][_0xe890('0x36')],_0x9182ce=_0x42064d[0x0]['createdAt'];return _0x506591==_0x9182ce?_0x5d954b[0x0][_0xe890('0x5b')][_0xe890('0xc0')]<_0x42064d[0x0][_0xe890('0x5b')][_0xe890('0xc0')]?-0x1:0x1:_0x506591<_0x9182ce?-0x1:0x1;});for(const _0x5957b7 of _0x29fb18)_0x5957b7['sort']((_0x248550,_0x56b3f8)=>_0x248550['id']<_0x56b3f8['id']?-0x1:0x1);}();for(let _0x3424f6=0x0;_0x3424f6<_0x29fb18[_0xe890('0xfe')];_0x3424f6++){if(0x0==_0x29fb18[_0x3424f6][_0xe890('0xfe')])continue;const _0x1381ac=[];for(let _0x4a8c73=_0x3424f6+0x1;_0x4a8c73<_0x29fb18[_0xe890('0xfe')];_0x4a8c73++)0x0!=_0x29fb18[_0x4a8c73]['length']&&_0x1d4c50(_0x29fb18[_0x3424f6],_0x29fb18[_0x4a8c73])&&_0x1381ac[_0xe890('0xef')](_0x4a8c73);for(const _0x34d354 of _0x1381ac)_0x29fb18[_0x3424f6]=_0x29fb18[_0x3424f6][_0xe890('0x129')](_0x29fb18[_0x34d354]),_0x29fb18[_0x34d354]=[];}for(const _0x198d1c of _0x29fb18)for(let _0x3615d1=0x0;_0x3615d1<_0x198d1c['length'];_0x3615d1++)_0x198d1c[_0x3615d1][_0xe890('0x33')]=_0x198d1c[_0x3615d1+0x1]||null;for(const _0x4cfa27 of _0x29fb18)for(let _0x26a42f=0x0;_0x26a42f<_0x4cfa27[_0xe890('0xfe')];_0x26a42f++)_0x4cfa27[_0x26a42f][_0xe890('0xf5')]=_0x4cfa27[_0x26a42f-0x1]||null;function _0x1d4c50(_0x4ecbad,_0xc89961){if(_0x4ecbad[0x0][_0xe890('0x5b')][_0xe890('0xc0')]!==_0xc89961[0x0]['attributes']['groupId']&&_0x4ecbad[0x0][_0xe890('0xe9')]!==_0xc89961[0x0]['author'])return!0x1;if(!function(_0x3f3c88,_0x257568){if(!_0x3f3c88[_0xe890('0x14b')]&&!_0x257568[_0xe890('0x14b')])return!0x0;if(_0x3f3c88[_0xe890('0x14b')]&&_0x257568['hasComments'])return!0x1;if(_0x3f3c88[_0xe890('0x14b')]&&_0x257568[_0xe890('0x36')]<_0x3f3c88[_0xe890('0x15f')][_0xe890('0x13e')][_0xe890('0x168')](0x0)[_0xe890('0x36')])return!0x0;if(_0x257568[_0xe890('0x14b')]&&_0x3f3c88['createdAt']<_0x257568[_0xe890('0x15f')][_0xe890('0x13e')][_0xe890('0x168')](0x0)[_0xe890('0x36')])return!0x0;return!0x1;}(_0x4ecbad[0x0],_0xc89961[0x0]))return!0x1;const _0x566962=_0x10c2db(_0x4ecbad[0x0][_0xe890('0x5b')],'groupId'),_0x5e0fd6=_0x10c2db(_0xc89961[0x0]['attributes'],'groupId');if(!_0x2cbfc1(_0x566962,_0x5e0fd6))return!0x1;return!!_0x4ecbad[_0xe890('0xe1')](_0x1fea72=>_0xc89961[_0xe890('0xa4')](_0x3792dd=>_0x1fea72['getFirstRange']()[_0xe890('0x18')](_0x3792dd['getFirstRange']())))&&_0xc89961[_0xe890('0xe1')](_0x52f3b2=>_0x4ecbad[_0xe890('0xa4')](_0x51f6fa=>_0x52f3b2['getFirstRange']()[_0xe890('0x18')](_0x51f6fa[_0xe890('0x149')]())));}}[_0xe890('0xa1')](_0x72400a){const _0x3a3046=Array[_0xe890('0x153')](_0x72400a),_0x32184c=this[_0xe890('0x24')]({'skipNotAttached':!0x0}),_0x2a14c3=_0x32184c[_0xe890('0xbb')](_0x266e91=>!_0x72400a[_0xe890('0x44')](_0x266e91)),_0x56cdbb=new Map(_0x3a3046[_0xe890('0x48')](_0x20d061=>[_0x20d061,this['_suggestionFactory'][_0xe890('0x8b')](_0x20d061[_0xe890('0x13d')],_0x20d061[_0xe890('0x95')],'join')])),_0xd204c2=new Map(_0x32184c[_0xe890('0x48')](_0x49f4f1=>[_0x49f4f1,_0x49f4f1[_0xe890('0xa2')]()]));for(let _0x3129ef=0x0;_0x3129ef<_0x3a3046['length'];_0x3129ef++){if(_0x4451e0(this,_0x3a3046[_0x3129ef],_0x3a3046,_0x3129ef+0x1))return!0x0;}for(let _0x3724a5=0x0;_0x3724a5<_0x3a3046[_0xe890('0xfe')];_0x3724a5++){if(_0x4451e0(this,_0x3a3046[_0x3724a5],_0x2a14c3,0x0))return!0x0;}return!0x1;function _0x4451e0(_0x39ad05,_0x4e343a,_0x2db963,_0x32eda3){for(let _0x47d4ff=_0x32eda3;_0x47d4ff<_0x2db963[_0xe890('0xfe')];_0x47d4ff++){const _0x31d239=_0x2db963[_0x47d4ff];if(_0x31d239[_0xe890('0x13d')]!==_0x4e343a[_0xe890('0x13d')]||_0x31d239[_0xe890('0xe9')]['id']!==_0x4e343a[_0xe890('0xe9')]['id']||_0x31d239[_0xe890('0x95')]!==_0x4e343a[_0xe890('0x95')])continue;if(!Ft(_0x4e343a,_0x31d239,[_0xe890('0xc0')]))continue;if(_0xe890('0x111')==_0x4e343a[_0xe890('0x13d')]&&_0x4e343a[_0xe890('0x87')][_0xe890('0x136')]!=_0x31d239['data'][_0xe890('0x136')])continue;if(_0xe890('0x111')==_0x4e343a['type']&&_0x39ad05['_isBlockAttribute'](_0x4e343a[_0xe890('0x87')][_0xe890('0x3')]))continue;if('formatBlock'==_0x4e343a[_0xe890('0x13d')]){const _0x1789a2=_0x39ad05['editor']['model'],_0x1476a6=_0x4e343a[_0xe890('0x152')]();if(_0x1476a6&&(_0x1789a2[_0xe890('0x13b')][_0xe890('0x105')](_0x1476a6)||_0x1789a2[_0xe890('0x13b')][_0xe890('0x2d')](_0x1476a6)))continue;}const _0x3dbc3e=_0x56cdbb[_0xe890('0x168')](_0x4e343a),_0x556f20=_0xd204c2['get'](_0x4e343a),_0x506696=_0xd204c2[_0xe890('0x168')](_0x31d239),_0x363a26=_0x4e343a['commentThread']&&_0x4e343a['commentThread'][_0xe890('0xfe')],_0x552e11=_0x31d239[_0xe890('0x15f')]&&_0x31d239[_0xe890('0x15f')][_0xe890('0xfe')];if(!_0x363a26&&_0x3dbc3e(_0x506696,_0x556f20))return _0x39ad05[_0xe890('0x104')](_0x31d239,_0x4e343a),_0xd204c2[_0xe890('0x99')](_0x4e343a),!0x0;if(!_0x552e11&&_0x3dbc3e(_0x556f20,_0x506696))return _0x39ad05[_0xe890('0x104')](_0x4e343a,_0x31d239),_0xd204c2['delete'](_0x31d239),!0x0;}return!0x1;}}[_0xe890('0x104')](_0x130fa0,_0x1df4ea){if(_0x130fa0['isMultiRange'])for(const _0x445d52 of _0x1df4ea[_0xe890('0xa2')]())_0x130fa0[_0xe890('0x76')](_0x445d52);else{const _0x241b47=_0x1df4ea[_0xe890('0x149')]()['end'];this[_0xe890('0xfc')](_0x130fa0,this[_0xe890('0xda')]['createRange'](_0x130fa0[_0xe890('0x149')]()[_0xe890('0x14d')],_0x241b47));}_0x1df4ea['removeMarkers']();}[_0xe890('0x130')](_0xd7fb26,_0x30f0b6){const _0x2c30f5=_0xd7fb26[_0xe890('0x135')]('format')||_0xd7fb26[_0xe890('0x135')](_0xe890('0x111'))?'FORMATTING':_0xd7fb26[_0xe890('0xd3')]();return _0x4f156c(this[_0xe890('0x10d')][_0xe890('0xe')],_0x30f0b6+'_'+_0x2c30f5+_0xe890('0xdc'));}[_0xe890('0x88')](){const _0xe0de20=this[_0xe890('0x10d')];_0x44a11e(this[_0xe890('0xda')],({left:_0x574608,entered:_0x3a0999})=>{const _0x2df0d5=[];for(const _0x454e0b of _0x574608){const {group:_0xf2478,type:_0x25272e}=this[_0xe890('0x2a')](_0x454e0b['name']);if('suggestion'===_0xf2478){_0x2df0d5[_0xe890('0xef')](this['_getMarkerAnnouncementText'](_0x25272e,_0xe890('0x69')));break;}}for(const _0x4fd15e of _0x3a0999){const {group:_0x338daa,type:_0x421d1a}=this['_splitMarkerName'](_0x4fd15e[_0xe890('0x19')]);if(_0xe890('0x139')===_0x338daa){_0x2df0d5[_0xe890('0xef')](this[_0xe890('0x130')](_0x421d1a,_0xe890('0xdd')));break;}}_0x2df0d5['length']&&_0xe0de20['ui'][_0xe890('0xbd')][_0xe890('0xae')](_0xe890('0x5d'),_0x2df0d5['join']('\x20'));});}[_0xe890('0xc5')](_0x553776){if(this[_0xe890('0xf')])return!0x1;const _0x81dacc=this[_0xe890('0x10d')],_0x2c150a=_0x81dacc[_0xe890('0x7e')][_0xe890('0x1d')][_0xe890('0x140')]['getChanges']();if(0x0==_0x2c150a[_0xe890('0xfe')])return!0x1;const _0x488984=[],_0x376c2e=_0x2c150a[_0xe890('0xbb')](_0x13f8f8=>_0xe890('0x111')==_0x13f8f8[_0xe890('0x13d')]),_0x21db60=_0x2c150a[_0xe890('0xbb')](_0x1f2300=>_0xe890('0x42')==_0x1f2300[_0xe890('0x13d')]&&'$text'!=_0x1f2300[_0xe890('0x19')]),_0xa00d1b=_0x2c150a['filter'](_0x1f5ff0=>_0xe890('0x159')==_0x1f5ff0['type']&&'$text'!=_0x1f5ff0[_0xe890('0x19')]);for(const _0x3b6079 of _0x376c2e)_0x488984['push']({'key':_0x3b6079['attributeKey'],'newValue':_0x3b6079[_0xe890('0x6f')],'oldValue':_0x3b6079['attributeOldValue'],'range':Ut(_0x3b6079[_0xe890('0xa')],_0x81dacc['model'])});for(const _0x186ce3 of _0x21db60){const _0x4e6fb4=_0xa00d1b['find'](_0x4ab85a=>_0x4ab85a[_0xe890('0x4a')][_0xe890('0x18')](_0x186ce3['position']));_0x4e6fb4&&_0x488984[_0xe890('0xef')]({'key':_0xe890('0x3f'),'newValue':_0x186ce3[_0xe890('0x19')],'oldValue':_0x4e6fb4['name'],'range':_0x81dacc['model'][_0xe890('0x160')](_0x186ce3['position']['nodeAfter'])});}return 0x0!=_0x488984[_0xe890('0xfe')]&&this[_0xe890('0xe0')](_0x553776,_0x488984);}[_0xe890('0x89')](_0x4edf8d){let _0x180276=!0x1;const _0x285998=this[_0xe890('0x10d')]['model']['document'][_0xe890('0x140')]['getChangedMarkers']()[_0xe890('0xbb')](_0x4d3762=>_0x4d3762[_0xe890('0x87')][_0xe890('0x166')]&&_0x4d3762['name']['startsWith']('suggestion:attribute:'));for(const _0x5c4975 of _0x285998){const {subType:_0x4ed6b2,id:_0x2bb8ff}=this[_0xe890('0x2a')](_0x5c4975[_0xe890('0x19')]),_0x309b3f=_0x4ed6b2[_0xe890('0x56')]('|')[0x0];for(const _0x589d1f of this[_0xe890('0x24')]({'skipNotAttached':!0x0}))_0x589d1f['id']!=_0x2bb8ff&&_0xe890('0x111')==_0x589d1f[_0xe890('0x13d')]&&_0x589d1f['data']&&_0x589d1f[_0xe890('0x87')]['key']==_0x309b3f&&_0x589d1f[_0xe890('0x149')]()[_0xe890('0x137')](_0x5c4975[_0xe890('0x87')][_0xe890('0x166')])&&(this[_0xe890('0xd6')](_0x589d1f,_0x5c4975['data']['newRange'],_0x4edf8d),_0x180276=!0x0);}return _0x180276;}[_0xe890('0xcc')](_0x2bf239){this[_0xe890('0x10d')],(this[_0xe890('0xf')]=!0x0,_0x2bf239());}[_0xe890('0x150')](_0x430e31){const _0x12613a=this[_0xe890('0x172')](_0x430e31),_0x502c8c=this[_0xe890('0xf8')][_0xe890('0x44')](_0x430e31);return _0x12613a||_0x502c8c;}[_0xe890('0xe0')](_0x37bd40,_0x54c223){if(0x0==_0x54c223[_0xe890('0xfe')])return!0x1;let _0x5b504d=!0x1;for(const _0x5972ee of _0x54c223){const _0x34ab06=this['_findSuggestions'](_0x5972ee[_0xe890('0xa')],_0xe890('0x111'))[_0xe890('0xbb')](_0x28f2ac=>!_0x28f2ac[_0xe890('0x2b')][_0xe890('0x162')])[_0xe890('0x48')](_0x1f2f94=>_0x1f2f94[_0xe890('0x139')]),_0x112277=_0x41b42f({'newValue':_0x5972ee[_0xe890('0xfa')]});_0x34ab06['filter'](_0x4e53b2=>{const [_0x599eda,_0x1f45db]=_0x4e53b2['subType']['split']('|');return _0x599eda==_0x5972ee[_0xe890('0x3')]&&_0x1f45db!=_0x112277;})['forEach'](_0x547472=>{this[_0xe890('0xd6')](_0x547472,_0x5972ee[_0xe890('0xa')],_0x37bd40),_0x5b504d=!0x0;});}return _0x5b504d;}['_reduceSuggestionAttributeRange'](_0x57dcea,_0x5ea51e,_0x26adda){const _0x1a346f=_0x57dcea[_0xe890('0x149')]()[_0xe890('0x3b')](_0x5ea51e);0x0!==_0x1a346f['length']?0x1!==_0x1a346f[_0xe890('0xfe')]?this[_0xe890('0x14a')](_0x57dcea,_0x5ea51e[_0xe890('0x14d')],_0x5ea51e['end']):this[_0xe890('0xfc')](_0x57dcea,_0x1a346f[0x0]):_0x26adda[_0xe890('0x8e')](_0x57dcea['getFirstMarker']());}}class Bt{constructor(_0x339dab){this['_editor']=_0x339dab,this[_0xe890('0xda')]=_0x339dab['model'],this[_0xe890('0x8d')]=new Map(),this['_defaultCallbacks']=new Map(),this[_0xe890('0xdb')]();}[_0xe890('0x96')](_0x424acc,_0xc07145,_0x3ef760,_0x6ac988,_0xd9d99b,_0x320596){return new _0x12f222(this[_0xe890('0xda')],{'type':_0x424acc,'subType':_0xc07145,'id':_0x3ef760,'author':_0x6ac988,'creator':_0x6ac988,'attributes':_0xd9d99b,'onAttributesChange':_0x320596,'onAccept':(..._0x5803f7)=>this[_0xe890('0x8b')](_0x424acc,_0xc07145,_0xe890('0x9'))(..._0x5803f7),'onDiscard':(..._0x1825a3)=>this[_0xe890('0x8b')](_0x424acc,_0xc07145,_0xe890('0x39'))(..._0x1825a3)});}[_0xe890('0xab')](_0x229008,_0x215448,_0x4b83e2,_0x4d2318){const _0x342de4=_0x229008+':'+_0x215448+':'+_0x4b83e2;this[_0xe890('0x8d')][_0xe890('0x64')](_0x342de4,_0x4d2318);}['getSuggestionCallback'](_0x95b3bd,_0x305200,_0x40f466){const _0x447c48=_0x95b3bd+':'+_0x305200+':'+_0x40f466;return this[_0xe890('0x8d')][_0xe890('0x168')](_0x447c48)||this[_0xe890('0xf1')][_0xe890('0x168')](_0x95b3bd+':'+_0x40f466);}['_registerDefaultCallbacks'](){const _0x371180=()=>!0x1,_0x269146=_0x31a8b6=>{_0x31a8b6[_0xe890('0xf9')]((_0x2d6d1c,_0x2c2ce7)=>_0x2d6d1c[_0xe890('0x14d')]['isBefore'](_0x2c2ce7[_0xe890('0x14d')])?0x1:-0x1),this[_0xe890('0xda')][_0xe890('0xc7')](_0x123563=>{for(const _0x313394 of _0x31a8b6){let _0x2db5aa;_0x2db5aa=_0x313394[_0xe890('0xd0')][_0xe890('0x9f')]&&_0x313394[_0xe890('0xd0')][_0xe890('0xee')]==_0x313394['start'][_0xe890('0x10f')]?_0x123563['createSelection'](_0x313394[_0xe890('0x14d')]['nodeAfter'],'on'):_0x123563[_0xe890('0x28')](_0x313394),this[_0xe890('0xda')]['deleteContent'](_0x2db5aa,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x3c7d89=(_0x3e8268,_0x5f24e1)=>{_0x5f24e1&&this[_0xe890('0xda')]['change'](_0x1f594b=>{const {commandName:_0x3fe2be,commandParams:_0x142c0f=[]}=_0x5f24e1,_0x2de371=_0x3e8268[_0xe890('0x48')](_0x2bda44=>(Rt(_0x2bda44)&&(_0x2bda44=this['_model'][_0xe890('0x115')](_0x2bda44['end'])),_0x2bda44))[_0xe890('0xbb')](_0x1c71da=>_0xe890('0x57')!==_0x1c71da[_0xe890('0x3e')][_0xe890('0x156')]);if(_0x2de371[_0xe890('0xfe')]<0x1)return;const _0x1ec691=Array[_0xe890('0x153')](this[_0xe890('0xda')]['document'][_0xe890('0x10b')]['getRanges']())[_0xe890('0x48')](_0x2f5223=>_0x18b498['fromRange'](_0x2f5223));_0x1f594b[_0xe890('0x164')](_0x2de371);for(const _0x1ab066 of this[_0xe890('0xf7')][_0xe890('0x133')][_0xe890('0x133')]())_0x1ab066[_0xe890('0x6b')]();_0x142c0f[_0xe890('0xef')]({'forceDefaultExecution':!0x0}),this['_editor'][_0xe890('0x16a')](_0x3fe2be,..._0x142c0f);const _0x297fe0=_0x1ec691[_0xe890('0xbb')](_0x1da6ed=>_0xe890('0x57')!=_0x1da6ed[_0xe890('0x3e')][_0xe890('0x156')]);_0x297fe0['length']>0x0&&_0x1f594b[_0xe890('0x164')](_0x297fe0);for(const _0x66885b of _0x1ec691)_0x66885b[_0xe890('0x143')]();});},_0x1956b3=(_0x396042,_0x285d38)=>0x1==_0x396042['length']&&0x1==_0x285d38[_0xe890('0xfe')]&&_0x396042[0x0][_0xe890('0xd0')][_0xe890('0x18')](_0x285d38[0x0][_0xe890('0x14d')]),_0x1faf2b=(_0x235299,_0x1dcebf,_0x120bc3,_0x33c889)=>Gt(_0x235299,_0x1dcebf,_0x120bc3,_0x33c889,this[_0xe890('0xda')])?[_0x235299,_0x1dcebf]:Gt(_0x1dcebf,_0x235299,_0x33c889,_0x120bc3,this[_0xe890('0xda')])?[_0x1dcebf,_0x235299]:null;this[_0xe890('0xf1')][_0xe890('0x64')](_0xe890('0x9a'),_0x371180),this[_0xe890('0xf1')][_0xe890('0x64')]('insertion:discard',_0x269146),this['_defaultCallbacks'][_0xe890('0x64')](_0xe890('0x158'),_0x1956b3),this['_defaultCallbacks'][_0xe890('0x64')](_0xe890('0xa5'),_0x1faf2b),this[_0xe890('0xf1')]['set']('deletion:accept',_0x269146),this['_defaultCallbacks']['set'](_0xe890('0x52'),_0x371180),this['_defaultCallbacks'][_0xe890('0x64')](_0xe890('0x3a'),_0x1956b3),this['_defaultCallbacks'][_0xe890('0x64')](_0xe890('0x73'),_0x1faf2b),this[_0xe890('0xf1')]['set'](_0xe890('0xfd'),_0x3c7d89),this[_0xe890('0xf1')][_0xe890('0x64')]('formatInline:discard',_0x371180),this[_0xe890('0xf1')][_0xe890('0x64')](_0xe890('0x7d'),_0x1956b3),this[_0xe890('0xf1')][_0xe890('0x64')](_0xe890('0x7'),_0x371180),this[_0xe890('0xf1')][_0xe890('0x64')](_0xe890('0x157'),_0x3c7d89),this[_0xe890('0xf1')]['set'](_0xe890('0x62'),_0x371180),this['_defaultCallbacks'][_0xe890('0x64')](_0xe890('0x50'),_0x1956b3),this['_defaultCallbacks'][_0xe890('0x64')](_0xe890('0x113'),_0x371180),this['_defaultCallbacks'][_0xe890('0x64')](_0xe890('0x114'),_0x371180),this[_0xe890('0xf1')]['set'](_0xe890('0x116'),(_0x2bc004,_0xe77051)=>{if(!_0xe77051)return;const _0x201b8d=this['_editor'][_0xe890('0xd8')][_0xe890('0x168')](p);this[_0xe890('0xda')][_0xe890('0xc7')](_0x439ad7=>{if('$elementName'==_0xe77051['key'])for(const _0x130f46 of _0x2bc004){const _0x5295f0=_0x130f46[_0xe890('0x14d')][_0xe890('0x10f')],_0x32e8dd=_0xe77051[_0xe890('0x136')];_0x439ad7[_0xe890('0x10c')](_0x5295f0,_0x32e8dd);}else{if(_0x201b8d['_isBlockAttribute'](_0xe77051['key']))for(const _0x296520 of _0x2bc004)void 0x0!==_0xe77051['oldValue']?_0x439ad7[_0xe890('0xc8')](_0xe77051[_0xe890('0x3')],_0xe77051['oldValue'],_0x296520[_0xe890('0x14d')][_0xe890('0x10f')]):_0x439ad7[_0xe890('0xc1')](_0xe77051[_0xe890('0x3')],_0x296520['start']['nodeAfter']);else for(const _0x5eadd7 of _0x2bc004)_0xe77051['oldValue']?_0x439ad7['setAttribute'](_0xe77051[_0xe890('0x3')],_0xe77051['oldValue'],_0x5eadd7):_0x439ad7[_0xe890('0xc1')](_0xe77051['key'],_0x5eadd7);}});}),this[_0xe890('0xf1')][_0xe890('0x64')](_0xe890('0x122'),_0x1956b3);}}function xt(_0x1546e6,_0x3aa08a,_0x3b2b95){for(const _0x2c1175 of _0x3aa08a[_0xe890('0xee')]['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x2c1175[_0xe890('0x3e')]==_0x2c1175)return!0x1;if(!_0x3b2b95[_0xe890('0x90')](_0x2c1175))return!0x1;if(_0x1546e6[_0xe890('0x105')](_0x2c1175)||_0x1546e6[_0xe890('0x2d')](_0x2c1175))return!0x0;}return!0x1;}function Rt(_0x35d5e8){return _0x35d5e8[_0xe890('0xd0')][_0xe890('0xee')]==_0x35d5e8['start'][_0xe890('0x10f')]&&_0x35d5e8[_0xe890('0xd0')]['isAtStart'];}function Tt(_0x6f69e1,_0x462d3e,_0x5258ff,_0x5add4e){const _0x20cb47=_0x3f4cc9=>!_0x3f4cc9['item']['is'](_0xe890('0x11'))&&!_0x5add4e[_0xe890('0x105')](_0x3f4cc9[_0xe890('0x11e')]),_0x1ed0fb=_0x6f69e1['start'][_0xe890('0x3c')](_0x20cb47),_0x465d07=_0x6f69e1[_0xe890('0xd0')]['getLastMatchingPosition'](_0x20cb47,{'direction':'backward'});return(!_0x6f69e1[_0xe890('0x14d')][_0xe890('0x18')](_0x1ed0fb)||!_0x6f69e1[_0xe890('0xd0')][_0xe890('0x18')](_0x465d07))&&(_0x1ed0fb[_0xe890('0xec')](_0x465d07)?_0x5258ff[_0xe890('0x2f')](_0x462d3e,{'range':_0x5258ff[_0xe890('0x115')](_0x1ed0fb,_0x465d07)}):_0x5258ff[_0xe890('0x8e')](_0x462d3e),!0x0);}function Et(_0x8cf46f){return _0x41b42f(_0x8cf46f);}function Vt(_0x148cdb){const _0x6817f3=_0x148cdb['start']['nodeAfter'];return _0x6817f3&&_0x6817f3['is'](_0xe890('0x125'));}function Ut(_0x120286,_0x1af9a8){return null==_0x120286[_0xe890('0xd0')][_0xe890('0x101')]&&_0x120286[_0xe890('0xd0')]['parent']==_0x120286[_0xe890('0x14d')]['nodeAfter']?Ot(_0x120286[_0xe890('0x14d')][_0xe890('0x10f')],_0x1af9a8):_0x120286;}function Ot(_0x3437a4,_0x474efc){const _0x8335ad=_0x474efc[_0xe890('0x13b')][_0xe890('0x105')](_0x3437a4)||_0x474efc[_0xe890('0x13b')][_0xe890('0x71')](_0x3437a4);return _0x474efc['createRange'](_0x474efc['createPositionAt'](_0x3437a4,'before'),_0x8335ad?_0x474efc[_0xe890('0xb1')](_0x3437a4):_0x474efc[_0xe890('0x81')](_0x3437a4,_0xe890('0xd0')));}function Gt(_0x1386e4,_0x189f47,_0x77d8d0,_0x54124e,_0xb71e6a){if(!Ft(_0x1386e4,_0x189f47))return!0x1;if(_0x77d8d0['end'][_0xe890('0x18')](_0x54124e[_0xe890('0x14d')]))return!0x0;if(_0x1386e4[_0xe890('0x13d')]!=_0x189f47[_0xe890('0x13d')])return!0x1;if(!_0x77d8d0[_0xe890('0xd0')]['isTouching'](_0x54124e['start']))return!0x1;const _0x9ad754=_0xb71e6a['createRange'](_0x77d8d0[_0xe890('0xd0')],_0x54124e['start'])['getWalker']();for(const _0x108a8a of _0x9ad754)if([_0xe890('0xaf'),'elementEnd']['includes'](_0x108a8a[_0xe890('0x13d')])&&_0xb71e6a[_0xe890('0x13b')]['isLimit'](_0x108a8a['item']))return!0x1;return!0x0;}function Ft(_0x1635c5,_0x57cc96,_0x2f076b=[]){return!(!_0x1635c5[_0xe890('0x110')]||!_0x57cc96[_0xe890('0x110')])&&_0x2cbfc1(_0x10c2db(_0x1635c5['attributes'],_0x2f076b),_0x10c2db(_0x57cc96[_0xe890('0x5b')],_0x2f076b));}function Pt(_0x1415a1,_0x1c6bb7){const _0x304ad0=Lt(_0x1415a1[_0xe890('0x5b')]),_0x439f2c=Lt(_0x1c6bb7);if(!_0x1415a1['_isDataLoaded'])return!0x1;for(const _0x3708af of Object[_0xe890('0xac')](_0x439f2c))if(!_0x2cbfc1(_0x304ad0[_0x3708af],_0x439f2c[_0x3708af]))return!0x1;return!0x0;}function Lt(_0x27b428){const _0x247883=Object[_0xe890('0xde')]({},_0x27b428);return delete _0x247883[_0xe890('0x1e')],delete _0x247883['tablePasteChainId'],_0x247883;}